X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmain.c;h=feefaa5428fdb56a9ce6e28b89b9e1c9b8ed9280;hb=6426a772a2645ef6afa596319dba0ff966bff050;hp=7ca3ecc7387ca60432384a1300ce9ab79b0fad9e;hpb=f4bda9848fb4c4ae3e4cccba77d5ef26099e451e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/main.c b/gdb/main.c index 7ca3ecc738..feefaa5428 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -46,7 +46,7 @@ int display_space; invoked on the command line with the -nw --async options. In this version, the usual command_loop is substituted by and event loop which processes UI events asynchronously. */ -int async_p = 1; +int event_loop_p = 1; /* Whether this is the command line version or not */ int tui_version = 0; @@ -177,8 +177,8 @@ main (argc, argv) with no equivalent). */ static struct option long_options[] = { - {"async", no_argument, &async_p, 1}, - {"noasync", no_argument, &async_p, 0}, + {"async", no_argument, &event_loop_p, 1}, + {"noasync", no_argument, &event_loop_p, 0}, #if defined(TUI) {"tui", no_argument, &tui_version, 1}, #endif