This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [00/16] Get rid of current gdbarch
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Markus Deuling <deuling at de dot ibm dot com>, GDB Patches <gdb-patches at sourceware dot org>, Eli Zaretskii <eliz at gnu dot org>, Joel Brobecker <brobecker at adacore dot com>, Jim Blandy <jimb at codesourcery dot com>, rearnsha at arm dot com, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Tue, 9 Oct 2007 16:03:21 -0400
- Subject: Re: [rfc] [00/16] Get rid of current gdbarch
- References: <20071008141039.GA12235@caradoc.them.org> <200710091959.l99Jxdqp015297@d12av02.megacenter.de.ibm.com>
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