List Info

Thread: Breakpoint Handling in GDB




Breakpoint Handling in GDB
user name
2006-08-30 13:43:43
On Wed, Aug 30, 2006 at 03:40:21PM +0200, Veenu Verma
(AS/EAB) wrote:
> Hello
> I was going through the gdb internals on software
breakpoint handling
> and have a question regarding that.
> Gdb replaces the program instruction with a trap which
means target does
> not have any control over setting a bp.
> What happens if the connection with the gdb breaks down
? 
> Does it mean that the illegal instruction won't be
restored and the
> application will crash ?
> If that's the case, then how can it be handled ? 

Implement the z0/Z0 packets in your stub instead, and then
GDB will use
them.

-- 
Daniel Jacobowitz
CodeSourcery
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )