aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi2-watch.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-04-24 08:46:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-04-24 08:46:19 +0000
commitd24317b4805503c9a018e77ee4683c87678f11ff (patch)
tree981f80990040cea599ebdfba3192cbe7637677aa /gdb/testsuite/gdb.mi/mi2-watch.exp
parent879d3736b8868261db20ec0720af378e8a37365a (diff)
downloadgdb-d24317b4805503c9a018e77ee4683c87678f11ff.zip
gdb-d24317b4805503c9a018e77ee4683c87678f11ff.tar.gz
gdb-d24317b4805503c9a018e77ee4683c87678f11ff.tar.bz2
* breakpoint.c (print_one_breakpoint_location): In MI
mode, report the location string the breakpoint was originally created with.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-watch.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi2-watch.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-watch.exp b/gdb/testsuite/gdb.mi/mi2-watch.exp
index 6e3fce9..f3e4e00 100644
--- a/gdb/testsuite/gdb.mi/mi2-watch.exp
+++ b/gdb/testsuite/gdb.mi/mi2-watch.exp
@@ -59,7 +59,7 @@ proc test_watchpoint_creation_and_listing {type} {
"break-watch operation"
mi_gdb_test "222-break-list" \
- "222\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[bkpt=\{number=\"2\",type=\".*watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"C\",times=\"0\"\}\\\]\}" \
+ "222\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[bkpt=\{number=\"2\",type=\".*watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"C\",times=\"0\",original-location=\"C\"\}\\\]\}" \
"list of watchpoints"
}