* Makefile.in (arch-utils.o): Add $(sim_regno_h).

* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.
This commit is contained in:
Andrew Cagney
2002-05-29 16:39:56 +00:00
parent 8afb0e028c
commit 4182591fce
8 changed files with 37 additions and 25 deletions

View File

@ -38,11 +38,6 @@ enum sim_regno {
LEGACY_SIM_REGNO_IGNORE = -2
};
/* For compatibility with older architectures, returns
(LEGACY_SIM_REGNO_IGNORE) when a register doesn't have. */
extern int legacy_register_sim_regno (int regnum);
/* Treat all raw registers as valid. */
extern int one2one_register_sim_regno (int regnum);