summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.exelib/ustack.tcl
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-08-07 00:01:04 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-07 00:04:09 +0200
commit1eed9afca1a408fb35e39b9e935011b7b8d3c7ba (patch)
tree9698e2ba42b634f7edc5f8b21239a9589b9b703b /testsuite/systemtap.exelib/ustack.tcl
parent696ec1549fcd846f9736a9c96e25f6ba555cd3e4 (diff)
downloadsystemtap-steved-1eed9afca1a408fb35e39b9e935011b7b8d3c7ba.tar.gz
systemtap-steved-1eed9afca1a408fb35e39b9e935011b7b8d3c7ba.tar.xz
systemtap-steved-1eed9afca1a408fb35e39b9e935011b7b8d3c7ba.zip
PR10486 Raise default MAXSTRINGLEN.
* translate.cxx (translate_pass): Raise MAXSTRINGLEN to 256 for 32bit arches and to 512 for 64bit arches. * testsuite/systemtap.context/backtrace.tcl: Don't set MAXSTRINGLEN. * testsuite/systemtap.exelib/ustack.tcl: Likewise. * testsuite/systemtap.string/str_replace.exp: Explicitly set MAXSTRINGLEN.
Diffstat (limited to 'testsuite/systemtap.exelib/ustack.tcl')
-rw-r--r--testsuite/systemtap.exelib/ustack.tcl7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuite/systemtap.exelib/ustack.tcl b/testsuite/systemtap.exelib/ustack.tcl
index a670213a..257d0b9f 100644
--- a/testsuite/systemtap.exelib/ustack.tcl
+++ b/testsuite/systemtap.exelib/ustack.tcl
@@ -31,11 +31,8 @@ set main 0
set main_func 0
set lib_main 0
set lib_func 0
-# Needs extra space since on 64bit the last ubacktrace string is
-# 7 entries * (16 hex + 2 for 0x + 1 space) = 133 chars.
-# Default MAXSTRINGLEN is 128 chars.
-send_log "Running: stap -DMAXSTRINGLEN=133 $srcdir/$subdir/ustack.stp $testexe $testlib -c $testexe\n"
-spawn stap -DMAXSTRINGLEN=133 $srcdir/$subdir/ustack.stp $testexe $testlib -c $testexe
+send_log "Running: stap $srcdir/$subdir/ustack.stp $testexe $testlib -c $testexe\n"
+spawn stap $srcdir/$subdir/ustack.stp $testexe $testlib -c $testexe
wait
expect {