software breakpoint in gdb

Robert Dewar dewar@adacore.com
Mon Jan 30 00:54:00 GMT 2012


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.



More information about the Gdb mailing list