|
From: <sv...@va...> - 2014-08-28 22:51:47
|
Author: mjw
Date: Thu Aug 28 22:51:38 2014
New Revision: 14381
Log:
gdbserver_tests filter out and don't expect empty lines.
Some filters might have left some empty lines in the output. Filter them
out explicitly and don't expect any empty lines in any of the .exp files.
Modified:
trunk/gdbserver_tests/filter_helgrind_monitor
trunk/gdbserver_tests/filter_vgdb
trunk/gdbserver_tests/mcclean_after_fork.stderr.exp
trunk/gdbserver_tests/mchelp.stdoutB.exp
trunk/gdbserver_tests/mcleak.stderr.exp
trunk/gdbserver_tests/mcleak.stderrB.exp
trunk/gdbserver_tests/mcmain_pic.stderr.exp
trunk/gdbserver_tests/mcsignopass.stderr.exp
trunk/gdbserver_tests/mcsigpass.stderr.exp
trunk/gdbserver_tests/mcwatchpoints.stderr.exp
trunk/gdbserver_tests/mssnapshot.stderrB.exp
Modified: trunk/gdbserver_tests/filter_helgrind_monitor
==============================================================================
--- trunk/gdbserver_tests/filter_helgrind_monitor (original)
+++ trunk/gdbserver_tests/filter_helgrind_monitor Thu Aug 28 22:51:38 2014
@@ -7,4 +7,7 @@
$dir/../helgrind/tests/filter_stderr "$@" |
# filter vgdb messages
-$dir/filter_vgdb
+$dir/filter_vgdb |
+
+# and remove any remaining empty lines
+sed -e '/^$/d'
Modified: trunk/gdbserver_tests/filter_vgdb
==============================================================================
--- trunk/gdbserver_tests/filter_vgdb (original)
+++ trunk/gdbserver_tests/filter_vgdb Thu Aug 28 22:51:38 2014
@@ -17,4 +17,7 @@
-e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' |
# filter some debuginfo problems with ld.so and SLES11
-sed -e '/^1 rtld.c: No such file or directory\./d'
+sed -e '/^1 rtld.c: No such file or directory\./d' |
+
+# and filter out any remaining empty lines
+sed -e '/^$/d'
Modified: trunk/gdbserver_tests/mcclean_after_fork.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcclean_after_fork.stderr.exp (original)
+++ trunk/gdbserver_tests/mcclean_after_fork.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,16 +1,8 @@
-
(action at startup) vgdb me ...
-
-
-
-
-
HEAP SUMMARY:
in use at exit: 0 bytes in 0 blocks
total heap usage: 0 allocs, 0 frees, 0 bytes allocated
-
For a detailed leak analysis, rerun with: --leak-check=full
-
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Reset valgrind output to log (orderly_finish)
Modified: trunk/gdbserver_tests/mchelp.stdoutB.exp
==============================================================================
--- trunk/gdbserver_tests/mchelp.stdoutB.exp (original)
+++ trunk/gdbserver_tests/mchelp.stdoutB.exp Thu Aug 28 22:51:38 2014
@@ -12,7 +12,6 @@
v.set mixed_output : set valgrind output to log, interactive output to gdb
v.set merge-recursive-frames <num> : merge recursive calls in max <num> frames
v.set vgdb-error <errornr> : debug me at error >= <errornr>
-
memcheck monitor commands:
get_vbits <addr> [<len>]
returns validity bits for <len> (or 1) bytes at <addr>
@@ -43,7 +42,6 @@
shows places pointing inside <len> (default 1) bytes at <addr>
(with len 1, only shows "start pointers" pointing exactly to <addr>,
with len > 1, will also show "interior pointers")
-
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
@@ -72,7 +70,6 @@
v.translate <addr> [<traceflags>] : debug translation of <addr> with <traceflags>
(default traceflags 0b00100000 : show after instrumentation)
An additional flag 0b100000000 allows to show gdbserver instrumentation
-
memcheck monitor commands:
get_vbits <addr> [<len>]
returns validity bits for <len> (or 1) bytes at <addr>
@@ -103,5 +100,4 @@
shows places pointing inside <len> (default 1) bytes at <addr>
(with len 1, only shows "start pointers" pointing exactly to <addr>,
with len > 1, will also show "interior pointers")
-
monitor command request to kill this process
Modified: trunk/gdbserver_tests/mcleak.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcleak.stderr.exp (original)
+++ trunk/gdbserver_tests/mcleak.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,12 +1,9 @@
(action at startup) vgdb me ...
-
-
expecting details 10 bytes reachable
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
expecting to have NO details
expecting details +10 bytes lost, +21 bytes reachable
expecting details +65 bytes reachable
@@ -24,19 +21,15 @@
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
21 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:23)
by 0x........: main (leak-delta.c:60)
-
32 bytes in 1 blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
33 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
Modified: trunk/gdbserver_tests/mcleak.stderrB.exp
==============================================================================
--- trunk/gdbserver_tests/mcleak.stderrB.exp (original)
+++ trunk/gdbserver_tests/mcleak.stderrB.exp Thu Aug 28 22:51:38 2014
@@ -4,94 +4,75 @@
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
21 (+21) bytes in 1 (+1) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:23)
by 0x........: main (leak-delta.c:60)
-
65 (+65) bytes in 2 (+2) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
0 (-10) bytes in 0 (-1) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
0 (-10) bytes in 0 (-1) blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
32 (+32) bytes in 1 (+1) blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
33 (-32) bytes in 1 (-1) blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
by 0x........: main (leak-delta.c:60)
-
21 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:23)
by 0x........: main (leak-delta.c:60)
-
32 bytes in 1 blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
33 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
32 bytes in 1 blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
33 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
33 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
32 bytes in 1 blocks are definitely lost in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:28)
by 0x........: main (leak-delta.c:60)
-
Modified: trunk/gdbserver_tests/mcmain_pic.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcmain_pic.stderr.exp (original)
+++ trunk/gdbserver_tests/mcmain_pic.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,13 +1,7 @@
-
(action at startup) vgdb me ...
-
-
-
HEAP SUMMARY:
in use at exit: 16 bytes in 1 blocks
total heap usage: 1 allocs, 0 frees, 16 bytes allocated
-
For a detailed leak analysis, rerun with: --leak-check=full
-
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Modified: trunk/gdbserver_tests/mcsignopass.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcsignopass.stderr.exp (original)
+++ trunk/gdbserver_tests/mcsignopass.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,22 +1,15 @@
-
(action at startup) vgdb me ...
-
-
Test 1: Invalid write of size 4
at 0x........: test1 (faultstatus.c:105)
by 0x........: main (faultstatus.c:168)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
PASS
Test 2: PASS
Test 3: PASS
Test 4: PASS
-
HEAP SUMMARY:
in use at exit: 0 bytes in 0 blocks
total heap usage: 0 allocs, 0 frees, 0 bytes allocated
-
For a detailed leak analysis, rerun with: --leak-check=full
-
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 11 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/gdbserver_tests/mcsigpass.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcsigpass.stderr.exp (original)
+++ trunk/gdbserver_tests/mcsigpass.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,22 +1,15 @@
-
(action at startup) vgdb me ...
-
-
Test 1: Invalid write of size 4
at 0x........: test1 (faultstatus.c:105)
by 0x........: main (faultstatus.c:168)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
PASS
Test 2: PASS
Test 3: PASS
Test 4: PASS
-
HEAP SUMMARY:
in use at exit: 0 bytes in 0 blocks
total heap usage: 0 allocs, 0 frees, 0 bytes allocated
-
For a detailed leak analysis, rerun with: --leak-check=full
-
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/gdbserver_tests/mcwatchpoints.stderr.exp
==============================================================================
--- trunk/gdbserver_tests/mcwatchpoints.stderr.exp (original)
+++ trunk/gdbserver_tests/mcwatchpoints.stderr.exp Thu Aug 28 22:51:38 2014
@@ -1,7 +1,4 @@
-
(action at startup) vgdb me ...
-
-
breakme function called from line 19
before reading 0/4/8
u: Expected value at 0
@@ -17,12 +14,9 @@
before rewriting 8
value 0nde4ine8
value of k50[1000] p
-
HEAP SUMMARY:
in use at exit: 0 bytes in 0 blocks
total heap usage: 1 allocs, 1 frees, 50,000 bytes allocated
-
For a detailed leak analysis, rerun with: --leak-check=full
-
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Modified: trunk/gdbserver_tests/mssnapshot.stderrB.exp
==============================================================================
--- trunk/gdbserver_tests/mssnapshot.stderrB.exp (original)
+++ trunk/gdbserver_tests/mssnapshot.stderrB.exp Thu Aug 28 22:51:38 2014
@@ -14,13 +14,11 @@
v.set mixed_output : set valgrind output to log, interactive output to gdb
v.set merge-recursive-frames <num> : merge recursive calls in max <num> frames
v.set vgdb-error <errornr> : debug me at error >= <errornr>
-
massif monitor commands:
snapshot [<filename>]
detailed_snapshot [<filename>]
takes a snapshot (or a detailed snapshot)
and saves it in <filename>
default <filename> is massif.vgdb.out
-
monitor command request to kill this process
Remote connection closed
|