This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Re: Merge of ARM Linux port with existing ARM code...


>> The usual approach to solving this kind of problem is to copy the
>> instructions somewhere else and execute them there.  It's really hairy
>> to make work, usually implementors try to avoid the situation.  But in
>> the ARM case, you would break the instruction into a multi-instruction
>> sequence consisting of simpler instructions, then put the breakpoint
>> at the simpler instruction that best corresponds to the source location.
>> There would be some guessing as to which instruction was meant...
>
>This sounds like a horrible hack.  I'll think about it.

For the benefit of those of us who didn't see your original message (I guess 
it wasn't posted to the list), could you explain what the problem in question 
actually is?

Thanks

p.



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