gdb.trace/testsuite: Bump stack collection fudge factor.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 23 Jan 2016 14:42:11 +0000 (15:42 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Mon, 25 Jan 2016 12:19:22 +0000 (13:19 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/backtrace.exp
gdb/testsuite/gdb.trace/entry-values.exp

index 8ee2efa8054deb8a4ac7013ac811f159c8417886..8b6246995dab93594902ce37e6e690e66c90d889 100644 (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
index ad18f15682b59cbdd89b3c325b6ecf5d6503c8b4..881a79864818e71a9e1affe11ea45666d02e73fd 100644 (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" ""
 
index 7f60b8cad26a1d55825c3c83a037e14ca08dc5ca..825928d85dd8066caa762985aa9cad1a7418fb39 100644 (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"
 
This page took 0.033331 seconds and 4 git commands to generate.