From 362646f51708657cb5bc8886426a881f2fb56191 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 13 Sep 2004 18:26:31 +0000 Subject: 2004-09-13 Andrew Cagney Eliminate event_loop_p, always has the value 1. * defs.h (event_loop_p): Delete macro. * breakpoint.c (until_break_command): Simplify. * utils.c (prompt_for_continue): Simplify. * tracepoint.c (read_actions): Simplify. * top.c (throw_exception, execute_command, gdb_readline_wrapper) (gdb_rl_operate_and_get_next, command_line_input, get_prompt) (set_prompt, init_main): Simplify. (init_signals, disconnect): Delete, unused. * remote.c (remote_async_resume) (extended_remote_async_create_inferior): Simplify. * mi/mi-interp.c (mi_input): Delete, unused. (mi_interpreter_resume, mi_command_loop): Simplify. * interps.c (current_interp_command_loop): Simplify. * infrun.c (proceed): Simplify. * infcmd.c (run_command, continue_command, step_1, jump_command) (until_command, advance_command, finish_command) (interrupt_target_command): Simplify. * event-top.c (gdb_setup_readline, gdb_disable_readline): Simplify. --- gdb/defs.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index f7ffc97..63477de 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1173,13 +1173,6 @@ extern char *interpreter_p; struct target_waitstatus; struct cmd_list_element; -/* Should the asynchronous variant of the interpreter (using the - event-loop) be enabled? */ -/* NOTE: cagney/2004-06-10: GDB changed to always uses the event-loop. - A follow-on cleanup is to eliminate references to - "event_loop_p". */ -#define event_loop_p 1 - extern void (*deprecated_pre_add_symbol_hook) (const char *); extern void (*deprecated_post_add_symbol_hook) (void); extern void (*selected_frame_level_changed_hook) (int); -- cgit v1.1