aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.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/thread.c
parent1ce4cec447b83c0519170e19b069aa73d29c768b (diff)
downloadgdb-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.zip
gdb-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.tar.gz
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/thread.c')
-rw-r--r--gdb/thread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index 0767aa0..f90606c 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -1243,25 +1243,21 @@ _initialize_thread (void)
c = add_info ("threads", info_threads_command,
_("IDs of currently known threads."));
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
c = add_prefix_cmd ("thread", class_run, thread_command, _("\
Use this command to switch between threads.\n\
The new thread ID must be currently known."),
&thread_cmd_list, "thread ", 1, &cmdlist);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
c = add_prefix_cmd ("apply", class_run, thread_apply_command,
_("Apply a command to a list of threads."),
&thread_apply_list, "thread apply ", 1, &thread_cmd_list);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
c = add_cmd ("all", class_run, thread_apply_all_command,
_("Apply a command to all threads."), &thread_apply_list);
- set_cmd_async_ok (c);
set_cmd_no_selected_thread_ok (c);
if (!xdb_commands)