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

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