diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-26 10:23:56 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-26 10:23:56 +0000 |
commit | d72314c67b7cc65ae935ad3dd80a6b1840b57d1a (patch) | |
tree | 6f6840897f0e48ea17d0eb334cbf711e2f076ca3 /gdb/cli/cli-decode.h | |
parent | 1ce4cec447b83c0519170e19b069aa73d29c768b (diff) | |
download | binutils-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.zip binutils-d72314c67b7cc65ae935ad3dd80a6b1840b57d1a.tar.gz binutils-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.h')
-rw-r--r-- | gdb/cli/cli-decode.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h index c790398..4e2dbc1 100644 --- a/gdb/cli/cli-decode.h +++ b/gdb/cli/cli-decode.h @@ -48,9 +48,6 @@ cmd_types; #define DEPRECATED_WARN_USER 0x2 #define MALLOCED_REPLACEMENT 0x4 -/* This flag is set if the command is allowed during async execution. */ -#define CMD_ASYNC_OK 0x8 - /* This flag is set if the command is allowed to run when the target has execution, but there's no selected thread. */ #define CMD_NO_SELECTED_THREAD_OK 0x10 @@ -250,13 +247,6 @@ extern int cmd_cfunc_eq (struct cmd_list_element *cmd, extern void set_cmd_context (struct cmd_list_element *cmd, void *context); extern void *get_cmd_context (struct cmd_list_element *cmd); -/* Mark command as async-ready; there is no way to disable this once - set. */ -extern void set_cmd_async_ok (struct cmd_list_element *); - -/* Return true if command is async-ok. */ -extern int get_cmd_async_ok (struct cmd_list_element *); - /* Mark command as ok to call when there is no selected thread. There is no way to disable this once set. */ extern void set_cmd_no_selected_thread_ok (struct cmd_list_element *); |