Discussion:
Valgrind: r16305 - in /trunk/gdbserver_tests: mcmain_pic.stdinB.gdb mcmain_pic.vgtest
(too old to reply)
s***@valgrind.org
2017-04-16 08:36:45 UTC
Permalink
Raw Message
Author: philippe
Date: Sun Apr 16 09:36:43 2017
New Revision: 16305

Log:
Fix regression following r16303
Use 'set heuristic-fence-post 999999' only on mips platforms


Modified:
trunk/gdbserver_tests/mcmain_pic.stdinB.gdb
trunk/gdbserver_tests/mcmain_pic.vgtest

Modified: trunk/gdbserver_tests/mcmain_pic.stdinB.gdb
==============================================================================
--- trunk/gdbserver_tests/mcmain_pic.stdinB.gdb (original)
+++ trunk/gdbserver_tests/mcmain_pic.stdinB.gdb Sun Apr 16 09:36:43 2017
@@ -1,7 +1,7 @@
# connect gdb to Valgrind gdbserver:
target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcmain_pic
echo vgdb launched process attached\n
-set heuristic-fence-post 999999
+source mcmain_pic.heur
monitor v.set vgdb-error 999999
#
# break

Modified: trunk/gdbserver_tests/mcmain_pic.vgtest
==============================================================================
--- trunk/gdbserver_tests/mcmain_pic.vgtest (original)
+++ trunk/gdbserver_tests/mcmain_pic.vgtest Sun Apr 16 09:36:43 2017
@@ -3,7 +3,7 @@
# information via the gdbserver protocol packet qXfer:auxv:read:
# The content of the auxv data can be shown by gdb using
# gdb command 'info auxv'
-prereq: test -e gdb.pic
+prereq: test -e gdb.pic && if ../tests/arch_test mips32 || ../tests/arch_test mips64 ; then echo "set heuristic-fence-post 999999" ; else echo '' ; fi > mcmain_pic.heur
prog: main_pic
vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcmain_pic
stdout_filter: filter_gdb

Loading...