diff options
author | Pedro Alves <palves@redhat.com> | 2011-08-04 20:09:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-08-04 20:09:46 +0000 |
commit | e0dd0826e246e3d39081881db7bcc69ca5ec77a2 (patch) | |
tree | 6b3c3ee78337912f4a3becc0ee70162a6d21386b /gdb/top.c | |
parent | 79a45e254f090b628473614054ed318d70409239 (diff) | |
download | gdb-e0dd0826e246e3d39081881db7bcc69ca5ec77a2.zip gdb-e0dd0826e246e3d39081881db7bcc69ca5ec77a2.tar.gz gdb-e0dd0826e246e3d39081881db7bcc69ca5ec77a2.tar.bz2 |
2011-08-04 Pedro Alves <pedro@codesourcery.com>
* event-loop.c (gdb_do_one_event): Remove `data' parameter.
(start_event_loop): Use TRY_CATCH instead of catch_errors.
* event-loop.h (gdb_do_one_event): Remove `data' parameter.
* top.c (gdb_readline_wrapper): Adjust.
* tui/tui-interp.c (tui_command_loop):
(_initialize_tui_interp): Don't install it.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -797,8 +797,7 @@ gdb_readline_wrapper (char *prompt) (*after_char_processing_hook) (); gdb_assert (after_char_processing_hook == NULL); - /* gdb_do_one_event argument is unused. */ - while (gdb_do_one_event (NULL) >= 0) + while (gdb_do_one_event () >= 0) if (gdb_readline_wrapper_done) break; |