Discussion:
Valgrind: r16303 - /trunk/gdbserver_tests/mcmain_pic.stdinB.gdb
(too old to reply)
s***@valgrind.org
2017-04-13 16:11:55 UTC
Permalink
Raw Message
Author: petarj
Date: Thu Apr 13 17:11:54 2017
New Revision: 16303

Log:
increase heuristic-fence-post limit for gdbserver_tests/mcmain_pic

GDB reports to be "unable to find the start of the function" and suggests
increasing the range of the search using the 'set heuristic-fence-post'
command. So we did.
It fixes gdbserver_tests/mcmain_pic on some platforms.

Modified:
trunk/gdbserver_tests/mcmain_pic.stdinB.gdb

Modified: trunk/gdbserver_tests/mcmain_pic.stdinB.gdb
==============================================================================
--- trunk/gdbserver_tests/mcmain_pic.stdinB.gdb (original)
+++ trunk/gdbserver_tests/mcmain_pic.stdinB.gdb Thu Apr 13 17:11:54 2017
@@ -1,6 +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
monitor v.set vgdb-error 999999
#
# break
Ivo Raisr
2017-04-14 05:27:24 UTC
Permalink
Raw Message
This revision seems to have caused regression on some of the supported
architectures.
I've seen it in all nightly test results so far.
+No symbol "heuristic" in current context.

Please could you investigate and fix?
Thank you,
I.

-----------------------------------------------
New Revision: 16303

Log:
increase heuristic-fence-post limit for gdbserver_tests/mcmain_pic

GDB reports to be "unable to find the start of the function" and suggests
increasing the range of the search using the 'set heuristic-fence-post'
command. So we did.
It fixes gdbserver_tests/mcmain_pic on some platforms.

Modified:
trunk/gdbserver_tests/mcmain_pic.stdinB.gdb

Modified: trunk/gdbserver_tests/mcmain_pic.stdinB.gdb
===========================================================================
--- trunk/gdbserver_tests/mcmain_pic.stdinB.gdb (original)
+++ trunk/gdbserver_tests/mcmain_pic.stdinB.gdb Thu Apr 13 17:11:54 2017
@@ -1,6 +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
monitor v.set vgdb-error 999999
#
# break
Philippe Waroquiers
2017-04-16 08:38:34 UTC
Permalink
Raw Message
Post by Ivo Raisr
This revision seems to have caused regression on some of the supported
architectures.
I've seen it in all nightly test results so far.
+No symbol "heuristic" in current context.
Should be fixed with revision Committed revision 16305
(but only tested on amd64. It should still work on mips platforms)

Philippe
Petar Jovanovic
2017-04-18 15:52:59 UTC
Permalink
Raw Message
On Sun, Apr 16, 2017 at 10:38 AM, Philippe Waroquiers
Post by Philippe Waroquiers
Post by Ivo Raisr
This revision seems to have caused regression on some of the supported
architectures.
I've seen it in all nightly test results so far.
+No symbol "heuristic" in current context.
Should be fixed with revision Committed revision 16305
(but only tested on amd64. It should still work on mips platforms)
I was under (obviously very wrong) impression this GDB command is common
for all targets. Thanks for the fix.

Petar

Loading...