This is the mail archive of the gdb@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: Stop reply packet behaviour


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


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