aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-03-03 09:47:00 -0700
committerTom Tromey <tromey@adacore.com>2022-03-07 10:43:42 -0700
commitcfeab26e4d42fb6f1bde429ab53a885a9d106a69 (patch)
treeda049caf29046c7fcee5a1861db7823ac0bd3036 /gdb/main.c
parent3db1354160aa48995ff37f032310213f0b1cf768 (diff)
downloadbinutils-cfeab26e4d42fb6f1bde429ab53a885a9d106a69.zip
binutils-cfeab26e4d42fb6f1bde429ab53a885a9d106a69.tar.gz
binutils-cfeab26e4d42fb6f1bde429ab53a885a9d106a69.tar.bz2
Deprecate dbx mode
GDB has a dbx emulation mode that adds a few aliases and helper commands. This mode is barely documented and is very superficial besides. I suspect it is rarely used, and I would like to propose deprecating it for GDB 12, and then removing it in GDB 13.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 8f944d8..73fdff2 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1028,6 +1028,9 @@ captured_main_1 (struct captured_main_args *context)
}
}
+ if (dbx_commands)
+ warning (_("--dbx mode is deprecated and will be removed"));
+
save_original_signals_state (quiet);
/* Try to set up an alternate signal stack for SIGSEGV handlers. */