aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.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-decode.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/cli/cli-decode.c')
-rw-r--r--gdb/cli/cli-decode.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 07bb587..6908314 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -106,18 +106,6 @@ get_cmd_context (struct cmd_list_element *cmd)
}
void
-set_cmd_async_ok (struct cmd_list_element *cmd)
-{
- cmd->flags |= CMD_ASYNC_OK;
-}
-
-int
-get_cmd_async_ok (struct cmd_list_element *cmd)
-{
- return cmd->flags & CMD_ASYNC_OK;
-}
-
-void
set_cmd_no_selected_thread_ok (struct cmd_list_element *cmd)
{
cmd->flags |= CMD_NO_SELECTED_THREAD_OK;