Remove dbx mode

This patch removes gdb's dbx mode.  Regression tested on x86-64 Fedora
34.
This commit is contained in:
Tom Tromey
2022-03-04 11:29:27 -07:00
parent 0653f01479
commit 49a82d50c0
13 changed files with 24 additions and 503 deletions

View File

@ -2903,24 +2903,6 @@ find_frame_for_function (const char *function_name)
return frame;
}
/* Implements the dbx 'func' command. */
static void
func_command (const char *arg, int from_tty)
{
if (arg == NULL)
return;
struct frame_info *frame = find_frame_for_function (arg);
if (frame == NULL)
error (_("'%s' not within current stack frame."), arg);
if (frame != get_selected_frame (NULL))
{
select_frame (frame);
print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC, 1);
}
}
/* The qcs command line flags for the "frame apply" commands. Keep
this in sync with the "thread apply" commands. */
@ -3560,11 +3542,6 @@ Prints the argument variables of the current stack frame.\n"),
false));
set_cmd_completer_handle_brkchars (cmd, info_print_command_completer);
if (dbx_commands)
add_com ("func", class_stack, func_command, _("\
Select the stack frame that contains NAME.\n\
Usage: func NAME"));
/* Install "set print raw frame-arguments", a deprecated spelling of
"set print raw-frame-arguments". */
set_show_commands set_show_frame_args