This is the mail archive of the gdb-patches@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: [RFA/7.8] user breakpoint not inserted if software-single-step at same location


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


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