aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.hp')
-rw-r--r--gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp4
-rw-r--r--gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp4
-rw-r--r--gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp4
3 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp b/gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp
index 497f7de..6be6d44 100644
--- a/gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp
+++ b/gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp
@@ -132,7 +132,7 @@ gdb_expect {
-re ".*solib-d1.*$gdb_prompt $" {
pass "Catch implicit load at startup"
}
- -re "Program exited.*$gdb_prompt $" {
+ -re "Inferior \[0-9\]+ exited.*$gdb_prompt $" {
fail "CLLbs14756 || CLLbs16090 came back ???"
}
timeout { fail "(timeout) implicit library load" }
@@ -228,7 +228,7 @@ gdb_expect {
-re "Stopped due to shared library event.*$gdb_prompt $" {
pass "stop for shlib event"
}
- -re "Program exited.*$gdb_prompt $" {
+ -re "Inferior \[0-9\]+ exited.*$gdb_prompt $" {
fail "Bug CLLbs16090 came back ?"
}
timeout { fail "(timeout) stop for shlib event " }
diff --git a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
index f743825..b4e33d1 100644
--- a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
+++ b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
@@ -130,10 +130,10 @@ for {set filenum 0} {$filenum < 2} {incr filenum 1} {
gdb_test "s 1" ".*25.*"
if [istarget "hppa64-*-*"] {
gdb_test "s 1" "0x\[0-9a-f\]+ in .*"
- gdb_test "c" ".*Program exited normally.*"
+ gdb_continue_to_end
} else {
gdb_test "s 1" "0x\[0-9a-f\]+ in _start .*"
- gdb_test "s 1" ".*Program exited normally.*"
+ gdb_continue_to_end "" "s 1"
}
}
diff --git a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp
index c336498..027c77e 100644
--- a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp
+++ b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp
@@ -78,9 +78,9 @@ gdb_test "s 1" "main .*/x1.cc:15.*"
gdb_test "s 1" ".*16.*"
if [istarget "hppa64-*-*"] {
gdb_test "s 1" "0x\[0-9a-f\]+ in .*START.*"
- gdb_test "c" ".*Program exited normally.*"
+ gdb_continue_to_end
} else {
gdb_test "s 1" "0x\[0-9a-f\]+ in _start .*"
- gdb_test "s 1" ".*Program exited normally.*"
+ gdb_continue_to_end "" "s 1"
}