This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] [i386] Put hlt at the ON_STACK breakpoint [Re: GDB 7.4.91 available for testing]


On Wed, 25 Jul 2012 22:04:01 +0200, Philippe Waroquiers wrote:
> IIUC, Jan's patch was to have GDB storing a hlt after the place
> where GDBSERVER will put 0xCC.

Not after, all the storage happens for the same byte.

hlt is stored there by memory write, int3 is stored there by Z0.


> What Valgrind needs is to have GDB storing the 0xCC
> (the hlt will then have no positive nor negative impact on Valgrind).

I will put 0xcc == int3 there although I believe valgrind could decode hlt (or
even nop) the same way.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]