From: Nick Roberts Date: Wed, 30 Aug 2006 02:11:12 +0000 (+0000) Subject: (captured_main): Condition --async option on ASYNC. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8e5e1cceb156ec43873e9aa51a2c34ec405cadd;p=thirdparty%2Fbinutils-gdb.git (captured_main): Condition --async option on ASYNC. --- diff --git a/gdb/main.c b/gdb/main.c index 294caaa6f9b..eccc155b5f8 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -263,8 +263,10 @@ captured_main (void *data) }; static struct option long_options[] = { +#ifdef ASYNC {"async", no_argument, &event_loop_p, 1}, {"noasync", no_argument, &event_loop_p, 0}, +#endif #if defined(TUI) {"tui", no_argument, 0, OPT_TUI}, #endif