OSDN Git Service

* Makefile.in (utils.o): Update.
authordrow <drow>
Wed, 29 Mar 2006 22:53:33 +0000 (22:53 +0000)
committerdrow <drow>
Wed, 29 Mar 2006 22:53:33 +0000 (22:53 +0000)
commitec844348ea7854b11899ac54c30aaf9f9516883f
treeff46f06b5ec7761f5faa88906ef71aa9cee996a7
parent2f4c21519192bd908fef5e57d3d4f59de260d448
* Makefile.in (utils.o): Update.
* top.c (in_user_command): New.
(command_line_input): Use input_from_terminal_p.
(input_from_terminal_p): Don't check caution.  Handle
stdin == NULL for Insight.
* top.h (in_user_command, caution): New declarations.
* utils.c: Include "top.h".
(query, defaulted_query): Check caution here.  Move the call
to input_from_terminal_p higher.
* cli/cli-script.c (do_restore_user_call_depth): Only decrement
the depth.  Update in_user_command if necessary.
(execute_user_command): Don't clobber old_chain.  Set
in_user_command.  Let do_restore_user_call_depth handle
user_call_depth.
(read_command_lines): Check whether to prompt before calling
Insight hooks.
* tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
input_from_terminal_p check.
gdb/ChangeLog
gdb/Makefile.in
gdb/cli/cli-script.c
gdb/top.c
gdb/top.h
gdb/tui/tui-hooks.c
gdb/utils.c