include/gdb:
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 17 Jul 2002 18:43:28 +0000 (18:43 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 17 Jul 2002 18:43:28 +0000 (18:43 +0000)
commit2f14585c74601e3da1764d753455e894455b063c
tree4e2106eaef4371546ef88731ea7f0ec974a57959
parent58378160bbc352fd1f0319d00563210ec321599e
include/gdb:
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.
gdb/ChangeLog
gdb/sh-tdep.c
include/gdb/ChangeLog
include/gdb/sim-sh.h
sim/sh/ChangeLog
sim/sh/Makefile.in
sim/sh/interp.c