Re: [rfc] [00/16] Get rid of current gdbarch

Daniel Jacobowitz
2007-10-09T20:03:32Z

On Tue, Oct 09, 2007 at 09:59:39PM +0200, Ulrich Weigand wrote:
> I agree that everything would be much easier if the register numbers
> were constants. But note that rs6000 is not the only platform where
> this is not the case, I see the same (or even worse) also in mips,
> m32c, xtensa, ... (The mep usage also seems suspicious.)

Yes. For some platforms (xtensa, mep) there may not be much we can
do... and MIPS presents its own unique problems because of the use
of pseudo registers for everything. Hmm, this makes me wonder how
deep the broken goes. Maybe we shouldn't translate from DWARF numbers
to internal ones until later.

--
Daniel Jacobowitz
CodeSourcery