This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 7.4.91 available for testing
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb at sourceware dot org
- Date: Fri, 20 Jul 2012 09:11:58 +0200
- Subject: Re: GDB 7.4.91 available for testing
- References: <20120718163413.GA17548@adacore.com> <1342739016.2220.32.camel@soleil>
On Fri, 20 Jul 2012 01:03:36 +0200, Philippe Waroquiers wrote:
> The Valgrind gdbserver is handling Z0 and Z1 packets to insert
> breakpoints. So, GDB inserts a breakpoint on the stack using
> a Z0 packet. However, from what I can see, no 0xcc instruction
> has been written on the stack by GDB.
The Z0 packet instructs gdbserver to put 0xcc there,
linux-x86-low.c:x86_breakpoint. gdbserver does it.
Thanks,
Jan