]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix expected output of coredump generating test cases
authorIvo Raisr <ivosh@ivosh.net>
Wed, 24 Feb 2016 03:20:17 +0000 (03:20 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Wed, 24 Feb 2016 03:20:17 +0000 (03:20 +0000)
after SVN r15810.

Now that we have AT_ENTRY in the client auxv, mdb does not
print binary name before function designation.
n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15811

none/tests/amd64-solaris/coredump_single_thread.post.exp
none/tests/solaris/coredump_many_threads.post.exp
none/tests/solaris/filter_coredump_many_threads_post
none/tests/x86-solaris/coredump_single_thread.post.exp

index 10f46dfeb22dac80b79028222ab695042f4620c4..34bd669066c7b5984616dc813b627b79dae126d6 100644 (file)
@@ -14,7 +14,7 @@ status: process terminated by SIGSEGV (Segmentation Fault), addr=........
                                 %r15 = 0x000000000000010e
 
 
-%rip = 0x........  coredump_single_thread`inner+0x........
+%rip = 0x........  inner+0x........
 %rsp = 0x000000000000010f
 
 
@@ -22,7 +22,7 @@ status: process terminated by SIGSEGV (Segmentation Fault), addr=........
    %err = 0x0
 
 ---Stack trace---
-coredump_single_thread`inner
-coredump_single_thread`outer
-coredump_single_thread`main
-coredump_single_thread`_start
+inner
+outer
+main
+_start
index 9a1e6997ffa8e1883fc7f4221987aac62c561bfd..a595635de01bc1db5df28ea278853b6e7b9fca30 100644 (file)
@@ -11,48 +11,48 @@ libc.so.1`_lwp_start
 
 1 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`main
-coredump_many_threads`_start
+main
+_start
 
 2 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func2
+thread_func2
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 3 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func3
+thread_func3
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 4 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func4
+thread_func4
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 6 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func6
+thread_func6
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 7 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func7
+thread_func7
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 8 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func8
+thread_func8
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
 9 UNPARKED <NONE> 1
 libc.so.1`sleep
-coredump_many_threads`thread_func9
+thread_func9
 libc.so.1`_thrp_setup
 libc.so.1`_lwp_start
 
index 28e1c996b799f336c6990760b796e937094548e1..2d033700ef6d3df3bddaa4a86046408afa6ab770 100755 (executable)
@@ -15,5 +15,5 @@ echo "::stacks ! perl -p -e 's/^(\S+)\+.*/\$1/g'" | /usr/bin/mdb vgcore.* | \
 perl -p -e 's/^(THREAD)\s+(STATE)\s+(SOBJ)\s+(COUNT)\s*$/$1 $2 $3 $4\n/' | \
 perl -p -e 's/^(\d+)\s+(UNPARKED)\s+(\S+)\s+(\d+)/$1 $2 $3 $4/g' | \
 perl -p -e 's/^\s*libc.*.so.1/libc.so.1/g' | \
-perl -p -e 's/^\s*(coredump_many_threads)/$1/g' | \
-perl -p -e 's/\+0x[0-9A-Fa-f]+//g'
+perl -p -e 's/\+0x[0-9A-Fa-f]+//g' |
+sed 's/^ *//g'
index 34d45fa548ad00c857824bc31b1f9481bbc17e0b..446a0290f08841350e82bc5d5787a4a29e793d43 100644 (file)
@@ -11,7 +11,7 @@ status: process terminated by SIGSEGV (Segmentation Fault), addr=........
 %fs = 0x........            %esi = 0x00000105 
 %gs = 0x........            %edi = 0x00000106 
 
- %eip = 0x........  coredump_single_thread`inner+0x........
+ %eip = 0x........  inner+0x........
 %kesp = 0x00000000
 
 
@@ -20,7 +20,7 @@ status: process terminated by SIGSEGV (Segmentation Fault), addr=........
    %err = 0x0
 
 ---Stack trace---
-coredump_single_thread`inner
-coredump_single_thread`outer
-coredump_single_thread`main
-coredump_single_thread`_start
+inner
+outer
+main
+_start