This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [i386] Put hlt at the ON_STACK breakpoint [Re: GDB 7.4.91 available for testing]
On Wed, 2012-07-25 at 07:48 -0700, Joel Brobecker wrote:
> > If there will be a clean solution in GDB (7.5 or 7.6), then I will not
> > commit the kludge in Valgrind.
>
> I also think that it would be friendlier to all valgrind users if
> we tried to fix the problem on the GDB side before 7.5 gets out.
> It seems like it would be easy enough, or is something else other
> than Jan's patch necessary?
IIUC, Jan's patch was to have GDB storing a hlt after the place
where GDBSERVER will put 0xCC.
What Valgrind needs is to have GDB storing the 0xCC
(the hlt will then have no positive nor negative impact on Valgrind).
Philippe