single-stepping remote target fails

Daniel Jacobowitz drow@false.org
Thu Jun 23 19:13:00 GMT 2005


On Thu, Jun 23, 2005 at 01:06:42PM -0400, Chad Phillips wrote:
> Sending packet: $s#73...Ack
> Packet received: S00
> Sending packet: $p40#d4...Ack
> Packet received: 0000438E
> 
> Program received signal 0, Signal 0.

You should be returning S05, SIGTRAP.

> GDB never sends a 'Z1' packet to set a hardware breakpoint as part of 
> the step.

Why should it?  Your stub claims to support hardware single step which
does not require a breakpoint.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb mailing list