summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2006-07-17 07:29:47 +0000
committerNick Roberts <nickrob@snap.net.nz>2006-07-17 07:29:47 +0000
commit616f635db8e531a2a7c6713a5f17a1bdb1817315 (patch)
treeab25b891108b1d66f632f464769c657c3eb26e8a /gdb
parent85d2fec4c80a16639384879d4b9fd03c632c9f58 (diff)
downloadppe42-binutils-616f635db8e531a2a7c6713a5f17a1bdb1817315.tar.gz
ppe42-binutils-616f635db8e531a2a7c6713a5f17a1bdb1817315.zip
Expect frame-begin annotation.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/annota3.exp14
-rw-r--r--gdb/testsuite/gdb.cp/annota3.exp8
2 files changed, 17 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp
index 51543904e9..2bdf88cdfc 100644
--- a/gdb/testsuite/gdb.base/annota3.exp
+++ b/gdb/testsuite/gdb.base/annota3.exp
@@ -121,7 +121,9 @@ gdb_expect_list "run until main breakpoint" "$gdb_prompt$" {
"\r\n\032\032starting\r\n"
"\r\n\032\032breakpoint 1\r\n"
"\r\n"
- "Breakpoint 1, main \\(\\) at .*annota3.c:32\r\n"
+ "Breakpoint 1, "
+ "\r\n\032\032frame-begin 0 0x\[0-9a-z\]+\r\n"
+ "main \\(\\) at .*annota3.c:32\r\n"
"\r\n\032\032source.*annota3.c:32:.*:beg:0x\[0-9a-z\]+\r\n"
"\r\n\032\032stopped\r\n"
}
@@ -222,7 +224,10 @@ if [target_info exists gdb,nosignals] {
"Continuing with signal SIGUSR1.\r\n"
"\r\n\032\032starting\r\n"
"\r\n\032\032breakpoint 2\r\n"
- "Breakpoint 2, handle_USR1 \\(sig=\[0-9\]+\\) at .*annota3.c:\[0-9\]+\r\n"
+ "\r\n"
+ "Breakpoint 2, "
+ "\r\n\032\032frame-begin 0 0x\[0-9a-z\]+\r\n"
+ "handle_USR1 \\(sig=\[0-9\]+\\) at .*annota3.c:\[0-9\]+\r\n"
"\r\n\032\032source .*annota3.c:\[0-9\]+:\[0-9\]+:beg:0x\[0-9a-z\]+\r\n"
"\r\n\032\032stopped\r\n"
}
@@ -324,7 +329,10 @@ send_gdb "continue\n"
gdb_expect_list "annotate ignore count change" "$gdb_prompt$" {
"\r\n\032\032post-prompt\r\n"
"\r\n\032\032breakpoint 5\r\n"
- "Breakpoint 5, main \\(\\) at .*annota3.c:46\r\n"
+ "\r\n"
+ "Breakpoint 5, "
+ "\r\n\032\032frame-begin 0 0x\[0-9a-z\]+\r\n"
+ "main \\(\\) at .*annota3.c:46\r\n"
"\r\n\032\032source .*annota3.c:46:\[0-9\]+:beg:0x\[0-9a-z\]+\r\n"
"1: value = 11\r\n"
"\r\n\032\032stopped\r\n"
diff --git a/gdb/testsuite/gdb.cp/annota3.exp b/gdb/testsuite/gdb.cp/annota3.exp
index 63f68daf9d..87db9e3a73 100644
--- a/gdb/testsuite/gdb.cp/annota3.exp
+++ b/gdb/testsuite/gdb.cp/annota3.exp
@@ -96,7 +96,9 @@ gdb_expect_list "first run until main breakpoint" "$gdb_prompt$" {
"\r\n\032\032starting\r\n"
"\r\n\032\032breakpoint 1\r\n"
"\r\n"
- "Breakpoint 1, main \\(\\) at .*annota3.cc:25\r\n"
+ "Breakpoint 1, "
+ "\r\n\032\032frame-begin 0 0x\[0-9a-z\]+\r\n"
+ "main \\(\\) at .*annota3.cc:25\r\n"
"\r\n\032\032source.*annota3.cc:25:.*:beg:0x\[0-9a-z\]+\r\n"
"\r\n\032\032stopped\r\n"
}
@@ -164,7 +166,9 @@ gdb_expect_list "second run until main breakpoint" "$gdb_prompt$" {
"\r\n\032\032starting\r\n"
"\r\n\032\032breakpoint 2\r\n"
"\r\n"
- "Breakpoint 2, main \\(\\) at .*annota3.cc:22\r\n"
+ "Breakpoint 2, "
+ "\r\n\032\032frame-begin 0 0x\[0-9a-z\]+\r\n"
+ "main \\(\\) at .*annota3.cc:22\r\n"
"\r\n\032\032source.*annota3.cc:22:.*:beg:0x\[0-9a-z\]+\r\n"
"\r\n\032\032stopped\r\n"
}
OpenPOWER on IntegriCloud