diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-01 14:11:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-01 14:11:24 +0000 |
commit | 86b17b608f08cee1e23221f28d79f9dc47352976 (patch) | |
tree | 9517e16a3b4e9cb3bba100478438d52b888864ba /gdb/NEWS | |
parent | a6163c10cd09dc4065caa0fa27c01e6d50d6a549 (diff) | |
download | gdb-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/NEWS')
-rw-r--r-- | gdb/NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -17,8 +17,11 @@ register EAX or 64-bit register RAX. * The `commands' command now accepts a range of breakpoints to modify. - A plain `commands' following an `rbreak' will affect all the - breakpoints set by `rbreak'. + A plain `commands' following a command that creates multiple + breakpoints affects all the breakpoints set by that command. This + applies to breakpoints set by `rbreak', and also applies when a + single `break' command creates multiple breakpoints (e.g., + breakpoints on overloaded c++ functions). * Python scripting |