diff options
author | Tom Tromey <tromey@adacore.com> | 2022-03-04 11:29:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-03-31 13:48:07 -0600 |
commit | 49a82d50c0ee41bf51db6899291a8beaea4e7e2a (patch) | |
tree | cf079ae28dd9a264a8d7d091899735d51676c941 /gdb/main.c | |
parent | 0653f01479ecbcbf3c4dfa6083187a5b2c2258c2 (diff) | |
download | binutils-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.zip binutils-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.tar.gz binutils-49a82d50c0ee41bf51db6899291a8beaea4e7e2a.tar.bz2 |
Remove dbx mode
This patch removes gdb's dbx mode. Regression tested on x86-64 Fedora
34.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -61,9 +61,6 @@ do_setshow_command will free it. */ char *interpreter_p; -/* Whether dbx commands will be handled. */ -int dbx_commands = 0; - /* System root path, used to find libraries etc. */ std::string gdb_sysroot; @@ -766,7 +763,6 @@ captured_main_1 (struct captured_main_args *context) static struct option long_options[] = { {"tui", no_argument, 0, OPT_TUI}, - {"dbx", no_argument, &dbx_commands, 1}, {"readnow", no_argument, NULL, OPT_READNOW}, {"readnever", no_argument, NULL, OPT_READNEVER}, {"r", no_argument, NULL, OPT_READNOW}, @@ -1028,9 +1024,6 @@ 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. */ @@ -1437,7 +1430,6 @@ Output and user interface control:\n\n\ "), stream); #endif gdb_puts (_("\ - --dbx DBX compatibility mode.\n\ -q, --quiet, --silent\n\ Do not print version number on startup.\n\n\ "), stream); |