diff options
author | Pedro Alves <pedro@codesourcery.com> | 2010-04-01 14:11:18 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2010-04-01 14:11:18 +0000 |
commit | 3d30645a80848e4a3bdccfd36baccf78b9657f64 (patch) | |
tree | 8b49037270a895eeb3d42ed70c474e9f0aeb122b /gdb/NEWS | |
parent | ed9f1947e9fb57950d2eeec6f0b86fb8b1753f2b (diff) | |
download | gdb-3d30645a80848e4a3bdccfd36baccf78b9657f64.tar.gz |
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 |