]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bypass GDB bug which asks to read packet slightly too big
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 25 Jul 2013 22:37:02 +0000 (22:37 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 25 Jul 2013 22:37:02 +0000 (22:37 +0000)
commitf9f48cb80fb1bff457d62147559510c36a0279b9
treee6e9df4f4c1af3c21cbc92357580d6c7ffe00fdc
parent0591189dd61e63e0dba6fdca54174774d6bcab80
Bypass GDB bug which asks to read packet slightly too big
GDB sometimes asks slightly too big read packets
(no taking into account the packet overhead).
Bypass the problem by allocating slightly more than needed
if GDB would only ask the correct maximum size.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13472
coregrind/m_gdbserver/remote-utils.c
coregrind/m_gdbserver/server.c