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.
This commit is contained in:
Pedro Alves
2011-08-04 20:09:46 +00:00
parent 79a45e254f
commit e0dd0826e2
5 changed files with 31 additions and 101 deletions

View File

@ -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);