summaryrefslogtreecommitdiff
path: root/gdb/printcmd.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/printcmd.c
parent0653f01479ecbcbf3c4dfa6083187a5b2c2258c2 (diff)
downloadbinutils-gdb-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.tar.gz
Remove dbx mode
This patch removes gdb's dbx mode. Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 3930d089836..3c78edf7cce 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -3298,18 +3298,6 @@ Use \"set variable\" for variables with names identical to set subcommands.\n\
With a subcommand, this command modifies parts of the gdb environment.\n\
You can see these environment settings with the \"show\" command."),
&setlist, 1, &cmdlist);
- if (dbx_commands)
- add_com ("assign", class_vars, set_command, _("\
-Evaluate expression EXP and assign result to variable VAR.\n\
-Usage: assign VAR = EXP\n\
-This uses assignment syntax appropriate for the current language\n\
-(VAR = EXP or VAR := EXP for example).\n\
-VAR may be a debugger \"convenience\" variable (names starting\n\
-with $), a register (a few standard names starting with $), or an actual\n\
-variable in the program being debugged. EXP is any valid expression.\n\
-Use \"set variable\" for variables with names identical to set subcommands.\n\
-\nWith a subcommand, this command modifies parts of the gdb environment.\n\
-You can see these environment settings with the \"show\" command."));
/* "call" is the same as "set", but handy for dbx users to call fns. */
c = add_com ("call", class_vars, call_command, _("\