This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] mips gdbarch-ify REGISTER_NAMES, SKIP_TRAMPOLINE_CODE...
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com, cagney at redhat dot com
- Date: Tue, 20 Aug 2002 20:27:56 -0400
- Subject: Re: [PATCH] mips gdbarch-ify REGISTER_NAMES, SKIP_TRAMPOLINE_CODE...
- References: <200208202229.g7KMTNS00534@reddwarf.sfbay.redhat.com>
Only tm-mips.h seems to define REGISTER_NAME, so this should be safe.
2002-08-20 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_skip_stub, mips_in_call_stub): Make static.
(mips_gdbarch_init): Set skip_trampoline_code,
in_solib_call_trampoline.
* config/mips/tm-mips.h (REGISTER_NAME): Delete.
(IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Delete.
Just add a comment pointing out that most embedded mips targets don't
use this, instead they override it using the REGISTER_NAMES macro.
I would also steer well clear of REGISTER_VIRTUAL_TYPE,
REGISTER_RAW_SIZE and REGISTER_VIRTUAL_SIZE and anything else related to
register numbers.
Andrew