aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2007-01-27 12:30:46 +0000
committerEli Zaretskii <eliz@gnu.org>2007-01-27 12:30:46 +0000
commit40c03ae8b35379347d3afea7bd4ddcb6cc7425c7 (patch)
tree91fffe4e6addc2906fb9ef9c921df0e089f4dbbf /gdb/defs.h
parent474d0ad39b9380f2ce83648a145e6ad77cf2520f (diff)
downloadfsf-binutils-gdb-40c03ae8b35379347d3afea7bd4ddcb6cc7425c7.zip
fsf-binutils-gdb-40c03ae8b35379347d3afea7bd4ddcb6cc7425c7.tar.gz
fsf-binutils-gdb-40c03ae8b35379347d3afea7bd4ddcb6cc7425c7.tar.bz2
* cli/cli-script.c: Include breakpoint.h.
(build_command_line): Require arguments only for if and while commands. (get_command_line, execute_user_command, execute_control_command): Fix wording of warning messages. (print_command_lines): Print breakpoint commands. (execute_control_command): Call commands_from_control_command to handle the `commands' command inside a body of a flow-control command. (read_next_line): Recognize the `commands' command and build a command line structure for it. (recurse_read_control_structure, read_command_lines): Handle `commands' similarly to `if' and `while'. * breakpoint.c (get_number_trailer): Document the special meaning of NULL as the first argument PP. (commands_from_control_command): New function. * breakpoint.h (commands_from_control_command): Add prototype. * defs.h (commands_control): New enumerated value for enum command_control_type.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index c7e6d3a..beb1a3b 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -691,6 +691,7 @@ enum command_control_type
continue_control,
while_control,
if_control,
+ commands_control,
invalid_control
};