aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-02-28 16:24:25 +0000
committerDaniel Jacobowitz <drow@false.org>2008-02-28 16:24:25 +0000
commit0d6ba1b16e08532da8a7fa2de4d867927cf3f9f6 (patch)
treedf36d4a5b5266d725954219becaf8ada4b151bfa /gdb/testsuite/gdb.cp
parente691325a9c31d84e1980c30cedaac4a3b15a7a84 (diff)
downloadgdb-0d6ba1b16e08532da8a7fa2de4d867927cf3f9f6.zip
gdb-0d6ba1b16e08532da8a7fa2de4d867927cf3f9f6.tar.gz
gdb-0d6ba1b16e08532da8a7fa2de4d867927cf3f9f6.tar.bz2
* frame.c (reinit_frame_cache): Only annotate if frames were
previously valid. * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer frames-invalid annotations.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/annota2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/annota2.exp b/gdb/testsuite/gdb.cp/annota2.exp
index 467a1c5..4cf6b71 100644
--- a/gdb/testsuite/gdb.cp/annota2.exp
+++ b/gdb/testsuite/gdb.cp/annota2.exp
@@ -122,7 +122,7 @@ gdb_expect {
#
send_gdb "continue\n"
gdb_expect {
- -re "\r\n\032\032post-prompt\r\nContinuing.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\na.x is 1\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032exited 0\r\n\r\nProgram exited normally.\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
+ -re "\r\n\032\032post-prompt\r\nContinuing.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\na.x is 1\r\n\r\n\032\032exited 0\r\n\r\nProgram exited normally.\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
{ pass "continue until exit" }
-re ".*$gdb_prompt$" { fail "continue to exit" }
timeout { fail "continue to exit (timeout)" }