gdb.trace/testsuite: Bump stack collection fudge factor.

These two tests collect 64 words from $sp onwards, hoping that's enough
to capture a few whole stack frames.  Unfortunately, that's not enough
for s390, which tends to have large frame sizes - minimum 24 words on
s390, 20 on s390x (which just barely passes).  Bump it to 128 words,
let's hope no machine needs more.

Tested on x86_64, s390, s390x.

gdb/testsuite/ChangeLog:

	* gdb.trace/backtrace.exp: Bump stack collection fudge factor.
	* gdb.trace/entry-values.exp: Bump stack collection fudge factor.
This commit is contained in:
Marcin Kościelnicki 2016-01-23 15:42:11 +01:00
parent c244074cb6
commit 45f3854667
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
* gdb.trace/backtrace.exp: Bump stack collection fudge factor.
* gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
* gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big

View File

@ -142,7 +142,7 @@ gdb_trace_setactions "8.6: setup TP to collect regs, args, and locals" \
gdb_trace_setactions "8.6: setup TP to collect stack mem cast expr" \
"$tdp6" \
"collect \$$fpreg, \(\*\(void \*\*\) \(\$$spreg\)\) @ 64" "^$"
"collect \$$fpreg, \(\*\(void \*\*\) \(\$$spreg\)\) @ 128" "^$"
gdb_test_no_output "tstart" ""

View File

@ -219,7 +219,7 @@ gdb_test "trace foo" "Tracepoint $decimal at .*"
# argument j.
gdb_trace_setactions "set action for tracepoint 1" "" \
"collect i, j, global1, \(\*\(void \*\*\) \(\$$spreg\)\) @ 64" "^$"
"collect i, j, global1, \(\*\(void \*\*\) \(\$$spreg\)\) @ 128" "^$"
gdb_test_no_output "tstart"