aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/anon-union.exp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2006-06-13 08:46:17 +0000
committerNathan Sidwell <nathan@codesourcery.com>2006-06-13 08:46:17 +0000
commite1c2defab5219dd0aa2a64d865e78d9ac736d0ac (patch)
treeb7c8bda5a45e5d7abd710ebfe6e7f1524afec688 /gdb/testsuite/gdb.cp/anon-union.exp
parente85e320515fac27bd252403b0e899f72d0c52103 (diff)
downloadgdb-e1c2defab5219dd0aa2a64d865e78d9ac736d0ac.zip
gdb-e1c2defab5219dd0aa2a64d865e78d9ac736d0ac.tar.gz
gdb-e1c2defab5219dd0aa2a64d865e78d9ac736d0ac.tar.bz2
* gdb.base/break.c: Add 10a breakpoint at }
* gdb.base/break.exp: Add test for breakpoint at } * gdb.cp/anon-union.cc: Add code at end of function. * gdb.cp/anon-union.exp: Adjust end of function breakpoint. * gdb.mi/var-cmd.c: Add code at end of function. * gdb.mi/mi-var-display.exp: Adjust end of next. * gdb.mi/mi2-var-display.exp: Likewise. * gdb.base/fileio.c: Add stop function and insert calls at stopping places. * gdb.base/fileio.exp: Breakpoint stop function and remove explicit line number references.
Diffstat (limited to 'gdb/testsuite/gdb.cp/anon-union.exp')
-rw-r--r--gdb/testsuite/gdb.cp/anon-union.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/anon-union.exp b/gdb/testsuite/gdb.cp/anon-union.exp
index 4c34dcf..c63cfaf 100644
--- a/gdb/testsuite/gdb.cp/anon-union.exp
+++ b/gdb/testsuite/gdb.cp/anon-union.exp
@@ -288,7 +288,7 @@ gdb_expect {
# Step over next assignment to w
send_gdb "next\n"
gdb_expect {
- -re "55\[ \t\]*\}\r\n$gdb_prompt $" {
+ -re "55\[ \t\]*int j = 0;\r\n$gdb_prompt $" {
pass "next 4"
}
-re ".*$gdb_prompt $" { fail "next 4" }