summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-29 16:39:56 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-29 16:39:56 +0000
commit0b6a2b5d50aa52f9df12fa1392134dd22f1eaaf1 (patch)
treedfe1593100e7d7ba62dd47535d454fab7c3617d0 /gdb/gdbarch.sh
parent969d24233c8d0ae64d221ae235ed1b8cb0aef4a8 (diff)
downloadgdb-0b6a2b5d50aa52f9df12fa1392134dd22f1eaaf1.tar.gz
* 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.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index ac42d29a50b..2d749561e3c 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -759,7 +759,6 @@ cat <<EOF
/* Pull in function declarations refered to, indirectly, via macros. */
#include "value.h" /* For default_coerce_float_to_double which is referenced by a macro. */
#include "inferior.h" /* For unsigned_address_to_pointer(). */
-#include "sim-regno.h" /* For legacy_register_sim_regno(). */
#endif
struct frame_info;
@@ -1221,7 +1220,6 @@ cat <<EOF
#if GDB_MULTI_ARCH
#include "gdbcmd.h"
#include "inferior.h" /* enum CALL_DUMMY_LOCATION et.al. */
-#include "sim-regno.h" /* For legacy_register_sim_regno(). */
#else
/* Just include everything in sight so that the every old definition
of macro is visible. */