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.
This commit is contained in:
Tom Tromey 2022-03-03 09:47:00 -07:00
parent 3db1354160
commit cfeab26e4d
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@
*** Changes since GDB 11
* DBX mode is deprecated, and will be removed in GDB 13
* Improved C++ template support
GDB now treats functions/types involving C++ templates like it does function

View File

@ -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. */