diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-08-16 20:36:30 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-08-16 20:36:30 +0000 |
commit | 311a4e6b7b004617841f2a6c657e76dddd7d2249 (patch) | |
tree | add8ea8a0e51cfd11e91242ee3f46fa02b3931c1 /gdb/breakpoint.c | |
parent | 24209737f058af510525de950de9620b3c5ecd90 (diff) | |
download | gdb-311a4e6b7b004617841f2a6c657e76dddd7d2249.zip gdb-311a4e6b7b004617841f2a6c657e76dddd7d2249.tar.gz gdb-311a4e6b7b004617841f2a6c657e76dddd7d2249.tar.bz2 |
gdb/
2008-08-16 Vladimir Prus <vladimir@codesourcery.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* cli-script.c (read_next_line): Add parse_commands argument.
(recurse_read_control_structure): Adapt to new read_next_line
signature.
(read_command_lines): Add parse_commands argument.
(define_command): Adapt to new read_command_lines signature.
(document_command): Likewise.
* breakpoint.c (commands_command): Likewise.
* defs.h (read_command_lines): Adjust function prototype.
testsuite/
2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/define.exp: Test indented command documentation.
* gdb.python/python.exp: Test indented multi-line command.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 9bd8c6d..2ed2703 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -675,7 +675,7 @@ commands_command (char *arg, int from_tty) char *tmpbuf = xstrprintf ("Type commands for when breakpoint %d is hit, one per line.", bnum); struct cleanup *cleanups = make_cleanup (xfree, tmpbuf); - l = read_command_lines (tmpbuf, from_tty); + l = read_command_lines (tmpbuf, from_tty, 1); do_cleanups (cleanups); free_command_lines (&b->commands); b->commands = l; |