From: Keith Seitz Date: Tue, 1 Oct 2002 16:21:53 +0000 (+0000) Subject: * interps.c (list_interpreter_cmd): Removed. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b7a0dbe29b9fce1e96b9c2b0485aa1f02d25cec;p=thirdparty%2Fbinutils-gdb.git * interps.c (list_interpreter_cmd): Removed. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7eede2c4084..6e1fe6ed0ae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -2,6 +2,7 @@ * interps.c (interpreter_exec_cmd): Remove mention of "mi" in error message. + (list_interpreter_cmd): Removed. * cli/cli-interp.c (do_captured_execute_command): New function. (safe_execute_command): New function. diff --git a/gdb/interps.c b/gdb/interps.c index 0b33e710c7c..cbbcdeb5de2 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -513,24 +513,6 @@ set_interpreter_cmd (char *args, int from_tty, struct cmd_list_element *c) } } -/* list_interpreter_cmd - This implements "info interpreters". */ - -void -list_interpreter_cmd (char *args, int from_tty) -{ - struct gdb_interpreter *interp_ptr; - - ui_out_list_begin (uiout, "interpreters"); - for (interp_ptr = interp_list; interp_ptr != NULL; - interp_ptr = interp_ptr->next) - { - ui_out_text (uiout, " * "); - ui_out_field_string (uiout, "interpreter", interp_ptr->name); - ui_out_text (uiout, "\n"); - } - ui_out_list_end (uiout); -} - void interpreter_exec_cmd (char *args, int from_tty) {