This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] archer-jankratochvil-pie: Test for no "can't compute CFA for this frame".
- From: jkratoch at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 6 Dec 2009 21:11:56 -0000
- Subject: [SCM] archer-jankratochvil-pie: Test for no "can't compute CFA for this frame".
The branch, archer-jankratochvil-pie has been updated
via b0f958c664501c66124036c3d38bc0e40b581f82 (commit)
from be834dc52c7cfa900521b4057a7fb0bb41dbec14 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit b0f958c664501c66124036c3d38bc0e40b581f82
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date: Sun Dec 6 22:09:51 2009 +0100
Test for no "can't compute CFA for this frame".
gdb/testsuite/
* gdb.base/break-interp.exp (test_core, test_attach, test_ld): Test
also main's argc.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/gdb.base/break-interp.exp | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
First 500 lines of diff:
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index 907db65..52f460c 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -255,7 +255,8 @@ proc test_core {file} {
# Do not check the binary filename as it may be truncated.
gdb_test "core-file $corefile" "Core was generated by .*\r\n#0 .*" "core loaded"
- gdb_test "bt" "#\[0-9\]+ +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#\[0-9\]+ +\[^\r\n\]*\\mmain\\M.*" "core main bt"
+ # Check there is no "argc=can't compute CFA for this frame".
+ gdb_test "bt" "#\[0-9\]+ +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#\[0-9\]+ +\[^\r\n\]*\\mmain \\((argc=2,.*)?\\).*" "core main bt"
}
proc test_attach {file} {
@@ -290,7 +291,8 @@ proc test_attach {file} {
gdb_exit
gdb_start
gdb_test "attach $pid" "Attaching to process $pid\r\n.*" "attach"
- gdb_test "bt" "#\[0-9\]+ +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#\[0-9\]+ +\[^\r\n\]*\\mmain\\M.*" "attach main bt"
+ # Check there is no "argc=can't compute CFA for this frame".
+ gdb_test "bt" "#\[0-9\]+ +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#\[0-9\]+ +\[^\r\n\]*\\mmain \\((argc=2,.*)?\\).*" "attach main bt"
gdb_exit
remote_exec host "kill -9 $pid"
@@ -317,7 +319,8 @@ proc test_ld {file ifmain trynosym} {
reach "libfunc" continue
- gdb_test "bt" "#0 +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#1 +\[^\r\n\]*\\mmain\\M.*" "main bt"
+ # Check there is no "argc=can't compute CFA for this frame".
+ gdb_test "bt" "#0 +\[^\r\n\]*\\mlibfunc\\M\[^\r\n\]*\r\n#1 +\[^\r\n\]*\\mmain \\((argc=2,.*)?\\).*" "main bt"
test_core $file
hooks/post-receive
--
Repository for Project Archer.