[RFA/7.8] user breakpoint not inserted if software-single-step at same location

Pedro Alves palves@redhat.com
Tue Jun 3 12:00:00 GMT 2014


On 06/03/2014 12:53 PM, Yao Qi wrote:
> On 05/30/2014 11:57 PM, Pedro Alves wrote:
>> +int
>> +main (void)
>> +{
>> +  /* Assume writes to integers compile to a single instruction.  */
> 
> This assumption is wrong on arm at least.

Ah, thanks.  We need to replace then with asm("nop") then.

-- 
Pedro Alves



More information about the Gdb-patches mailing list