This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Merge of ARM Linux port with existing ARM code...
- To: Scott Bambrough <scottb at netwinder dot org>
- Subject: Re: Merge of ARM Linux port with existing ARM code...
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Wed, 15 Dec 1999 18:30:43 +0000
- cc: Stan Shebs <shebs at cygnus dot com>, jingham at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- References: <199912110049.QAA11719@andros.cygnus.com> <3857DC13.438069C4@netwinder.org>
>> 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.