This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Stop reply packet behaviour
- From: Daniel Jacobowitz <drow at false dot org>
- To: Guillaume MENANT <guillaume dot menant at geensys dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 25 Jan 2008 09:22:04 -0500
- Subject: Re: Stop reply packet behaviour
- References: <15088448.post@talk.nabble.com>
On Fri, Jan 25, 2008 at 06:10:02AM -0800, Guillaume MENANT wrote:
>
> Hello,
>
> I'm wondering what should be the stop reply packet content when my software
> breaks on a software breakpoint.
>
> Does the stop reply reason has to be "watch" followed by the current PC or
> something else ?
A breakpoint isn't a watchpoint; just report SIGTRAP.
I suggest you run gdbserver on a Windows or Linux system to see a
valid log of the remote protocol conversation.
--
Daniel Jacobowitz
CodeSourcery