aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/extern-c.exp
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/testsuite/gdb.cp/extern-c.exp
parenta6163c10cd09dc4065caa0fa27c01e6d50d6a549 (diff)
downloadfsf-binutils-gdb-86b17b608f08cee1e23221f28d79f9dc47352976.zip
fsf-binutils-gdb-86b17b608f08cee1e23221f28d79f9dc47352976.tar.gz
fsf-binutils-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/testsuite/gdb.cp/extern-c.exp')
-rw-r--r--gdb/testsuite/gdb.cp/extern-c.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/extern-c.exp b/gdb/testsuite/gdb.cp/extern-c.exp
index 5ad4e9c..275ef2d 100644
--- a/gdb/testsuite/gdb.cp/extern-c.exp
+++ b/gdb/testsuite/gdb.cp/extern-c.exp
@@ -48,7 +48,7 @@ gdb_test "rbreak c_funcs" \
# Test that "commands" without an argument puts commands on both
# breakpoints.
gdb_test_multiple "commands" "set commands on multiple breakpoints" {
- -re "Type commands for all specified breakpoints\r\nEnd with a line saying just \"end\".\r\n>$" {
+ -re "Type commands for breakpoint\\(s\\) 3-4, one per line\.\r\nEnd with a line saying just \"end\".\r\n>$" {
gdb_test_multiple "set \$counter = \$counter + 1\nend" \
"command details for multiple breakpoints" {
-re "$gdb_prompt $" {