aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-04-01 14:11:24 +0000
committerPedro Alves <palves@redhat.com>2010-04-01 14:11:24 +0000
commit86b17b608f08cee1e23221f28d79f9dc47352976 (patch)
tree9517e16a3b4e9cb3bba100478438d52b888864ba /gdb/doc
parenta6163c10cd09dc4065caa0fa27c01e6d50d6a549 (diff)
downloadgdb-86b17b608f08cee1e23221f28d79f9dc47352976.zip
gdb-86b17b608f08cee1e23221f28d79f9dc47352976.tar.gz
gdb-86b17b608f08cee1e23221f28d79f9dc47352976.tar.bz2
gdb/
* breakpoint.c (multi_start, multi_end, last_was_multi): Delete. (prev_breakpoint_count): New. (set_breakpoint_count): Adjust. (rbreak_start_breakpoint_count): New. (start_rbreak_breakpoints): Adjust. (end_rbreak_breakpoints): Adjust. (struct commands_info) <arg>: New field. (do_map_commands_command): Tweak output to include breakpoint spec range. (commands_command_1): Adjust. Avoid setting an xfree cleanup if ARG was empty on entry. Set INFO's arg. (create_breakpoint): Adjust. * NEWS: Clarify `commands' changes. gdb/doc/ * gdb.texinfo (Break Commands): Clarify `commands' changes, and add cross reference. gdb/testsuite/ * gdb.base/commands.exp: Adjust. * gdb.cp/extern-c.exp: Adjust.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5cbd9c5..a792152 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-01 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.texinfo (Break Commands): Clarify `commands' changes, and
+ add cross reference.
+
2010-03-31 Pedro Alves <pedro@codesourcery.com>
* gdb.texinfo (TUI Commands): Mention that in some cases, these
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index c9b1d08..5e02172 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -4343,8 +4343,9 @@ watchpoint, or catchpoint set (not to the breakpoint most recently
encountered). If the most recent breakpoints were set with a single
command, then the @code{commands} will apply to all the breakpoints
set by that command. This applies to breakpoints set by
-@code{rbreak}, and also breakpoints set with @code{break} that have
-multiple locations.
+@code{rbreak}, and also applies when a single @code{break} command
+creates multiple breakpoints (@pxref{Ambiguous Expressions,,Ambiguous
+Expressions}).
@end table
Pressing @key{RET} as a means of repeating the last @value{GDBN} command is