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 1/29/2012 11:53 AM, Jan Kratochvil wrote:
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.

It sure would be a disastrous mistake to make in any architectural design. the x86 of course has a one byte interrupt instruction precisely for this purpose.


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