software breakpoint in gdb

Jan Kratochvil
Sun Jan 29 16:53:00 GMT 2012

On Sun, 29 Jan 2012 17:48:30 +0100, Xin Tong wrote:
> What if the interrupt instruction is bigger than breakpointed
> instruction ?

I do not know about such architecture, it probably does not exist.

> Where is the breakpointed instruction kept after it is
> overwritten by an interrupt instruction in gdb ?

struct breakpoint->loc->target_info->shadow_contents


More information about the Gdb mailing list