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: software breakpoint in gdb


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


Regards,
Jan


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