aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-07-26 10:23:56 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-07-26 10:23:56 +0000
commitd72314c67b7cc65ae935ad3dd80a6b1840b57d1a (patch)
tree6f6840897f0e48ea17d0eb334cbf711e2f076ca3 /gdb/cli/cli-cmds.c
parent1ce4cec447b83c0519170e19b069aa73d29c768b (diff)
downloadfsf-binutils-gdb-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.zip
fsf-binutils-gdb-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.tar.gz
fsf-binutils-gdb-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.tar.bz2
Kill cmd_async_ok.
* cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok) (get_cmd_async_ok): Remove. * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove. * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok. * infcmd.c (_initialize_infcmd): Likewise. * thread.c (_initialize_thread): Likewise.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r--gdb/cli/cli-cmds.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index efd3137..8dc178e 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -1244,7 +1244,6 @@ The commands below can be used to select other frames by number or address."),
c = add_com ("pwd", class_files, pwd_command, _("\
Print working directory. This is used for your program as well."));
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
c = add_cmd ("cd", class_files, cd_command, _("\
@@ -1286,7 +1285,6 @@ when GDB is started."), gdbinit);
c = add_com ("help", class_support, help_command,
_("Print list of commands."));
set_cmd_completer (c, command_completer);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
add_com_alias ("q", "quit", class_support, 1);
add_com_alias ("h", "help", class_support, 1);
@@ -1316,7 +1314,6 @@ Without an argument, history expansion is enabled."),
c = add_prefix_cmd ("info", class_info, info_command, _("\
Generic command for showing things about the program being debugged."),
&infolist, "info ", 0, &cmdlist);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
add_com_alias ("i", "info", class_info, 1);
@@ -1326,7 +1323,6 @@ Generic command for showing things about the program being debugged."),
c = add_prefix_cmd ("show", class_info, show_command, _("\
Generic command for showing things about the debugger."),
&showlist, "show ", 0, &cmdlist);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
/* Another way to get at the same thing. */
add_info ("set", show_command, _("Show all GDB settings."));