OSDN Git Service

* 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)
commit3b70af3a63cd1d7393ef2c1406bd9524190041a9
tree37dd55b565c3b2499823101e215e3d8f68a6abbe
parent9931502ec5ac709a0203568815a613af22745a8a
* 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