diff options
author | David Carlton <carlton@bactrian.org> | 2002-10-11 22:23:08 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2002-10-11 22:23:08 +0000 |
commit | 25c7cec908f444fb80ac6b5ea3594de13c0a8657 (patch) | |
tree | f4d9a6c280f498da2187f04b8dadc392f67e7f5c /gdb/event-loop.c | |
parent | 763914f14ca1b05fe07c4160232bee3917f8d506 (diff) | |
download | gdb-25c7cec908f444fb80ac6b5ea3594de13c0a8657.zip gdb-25c7cec908f444fb80ac6b5ea3594de13c0a8657.tar.gz gdb-25c7cec908f444fb80ac6b5ea3594de13c0a8657.tar.bz2 |
Merge with mainline; merge tag carlton_dictionary-20021011-merge.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r-- | gdb/event-loop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c index 03eb41c..0fa37c1 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -392,10 +392,12 @@ start_event_loop (void) longer any event sources registered. */ while (1) { - int result = catch_errors (gdb_do_one_event, 0, "", RETURN_MASK_ALL); - if (result < 0) + int gdb_result; + + gdb_result = catch_errors (gdb_do_one_event, 0, "", RETURN_MASK_ALL); + if (gdb_result < 0) break; - if (result == 0) + if (gdb_result == 0) { /* FIXME: this should really be a call to a hook that is interface specific, because interfaces can display the |