aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-03-04 11:29:27 -0700
committerTom Tromey <tromey@adacore.com>2022-03-31 13:48:07 -0600
commit49a82d50c0ee41bf51db6899291a8beaea4e7e2a (patch)
treecf079ae28dd9a264a8d7d091899735d51676c941 /gdb/exec.c
parent0653f01479ecbcbf3c4dfa6083187a5b2c2258c2 (diff)
downloadgdb-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.zip
gdb-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.tar.gz
gdb-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.tar.bz2
Remove dbx mode
This patch removes gdb's dbx mode. Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 0ac4940..84c3647 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -1060,17 +1060,14 @@ _initialize_exec ()
{
struct cmd_list_element *c;
- if (!dbx_commands)
- {
- c = add_cmd ("file", class_files, file_command, _("\
+ c = add_cmd ("file", class_files, file_command, _("\
Use FILE as program to be debugged.\n\
It is read for its symbols, for getting the contents of pure memory,\n\
and it is the program executed when you use the `run' command.\n\
If FILE cannot be found as specified, your execution directory path\n\
($PATH) is searched for a command of that name.\n\
No arg means to have no executable file and no symbols."), &cmdlist);
- set_cmd_completer (c, filename_completer);
- }
+ set_cmd_completer (c, filename_completer);
c = add_cmd ("exec-file", class_files, exec_file_command, _("\
Use FILE as program for getting contents of pure memory.\n\