aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-08-04 20:09:46 +0000
committerPedro Alves <palves@redhat.com>2011-08-04 20:09:46 +0000
commite0dd0826e246e3d39081881db7bcc69ca5ec77a2 (patch)
tree6b3c3ee78337912f4a3becc0ee70162a6d21386b /gdb/event-loop.h
parent79a45e254f090b628473614054ed318d70409239 (diff)
downloadgdb-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/event-loop.h')
-rw-r--r--gdb/event-loop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-loop.h b/gdb/event-loop.h
index 54d83c4..e519852 100644
--- a/gdb/event-loop.h
+++ b/gdb/event-loop.h
@@ -91,7 +91,7 @@ queue_position;
/* Exported functions from event-loop.c */
extern void start_event_loop (void);
-extern int gdb_do_one_event (void *data);
+extern int gdb_do_one_event (void);
extern void delete_file_handler (int fd);
extern void add_file_handler (int fd, handler_func *proc,
gdb_client_data client_data);