diff options
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 7 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 9 |
2 files changed, 2 insertions, 14 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index e46f036..2ec2dd3 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1846,10 +1846,7 @@ Lines can be specified in these ways:\n\ With two args if one is empty it stands for ten lines away from \ the other arg.")); - if (!xdb_commands) - add_com_alias ("l", "list", class_files, 1); - else - add_com_alias ("v", "list", class_files, 1); + add_com_alias ("l", "list", class_files, 1); if (dbx_commands) add_com_alias ("file", "list", class_files, 1); @@ -1868,8 +1865,6 @@ like in the \"break\" command.\n\ So, for example, if you want to disassemble function bar in file foo.c\n\ you must type \"disassemble 'foo.c'::bar\" and not \"disassemble foo.c:bar\".")); set_cmd_completer (c, location_completer); - if (xdb_commands) - add_com_alias ("va", "disassemble", class_xdb, 0); add_com_alias ("!", "shell", class_support, 0); diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 2ee2ae0..4d0d5a9 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1248,11 +1248,6 @@ find_command_name_length (const char *text) /* Some characters are only used for TUI specific commands. However, they are always allowed for the sake of consistency. - The XDB compatibility characters are only allowed when using the - right mode because they clash with other GDB commands - - specifically '/' is used as a suffix for print, examine and - display. - Note that this is larger than the character set allowed when creating user-defined commands. */ @@ -1263,9 +1258,7 @@ find_command_name_length (const char *text) while (isalnum (*p) || *p == '-' || *p == '_' /* Characters used by TUI specific commands. */ - || *p == '+' || *p == '<' || *p == '>' || *p == '$' - /* Characters used for XDB compatibility. */ - || (xdb_commands && (*p == '/' || *p == '?'))) + || *p == '+' || *p == '<' || *p == '>' || *p == '$') p++; return p - text; |