* cli/cli-decode.h (CMD_ASYNC_OK): New define.
authorTom Tromey <tromey@redhat.com>
Thu, 17 Apr 2008 00:25:01 +0000 (00:25 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 17 Apr 2008 00:25:01 +0000 (00:25 +0000)
commit700b53b17a52448cb49f04a4e27d5f0130537924
treec6c9be0bfe988471b3e3c8c23096b7669d8c202d
parentf3c69fcab18257246fa945f4a85388b54a34e512
* cli/cli-decode.h (CMD_ASYNC_OK): New define.
(set_cmd_async_ok, get_cmd_async_ok): Declare.
* cli/cli-decode.c (set_cmd_async_ok): New function.
(get_cmd_async_ok): New function.
* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
"show" as async-ok.
* top.c (execute_command): Use get_cmd_async_ok.
* infcmd.c: Include cli/cli-decode.h.
(_initialize_infcmd): Mark "interrupt" as async-ok.
* Makefile.in (infcmd.o): Depend on cli_decode_h.
gdb/ChangeLog
gdb/Makefile.in
gdb/cli/cli-cmds.c
gdb/cli/cli-decode.c
gdb/cli/cli-decode.h
gdb/infcmd.c
gdb/top.c