* Makefile.in (sh_tdep_h): Define and use.

* config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep,
register enum): Move to...
* * sh-tdep.h: ...here.
* sh-tdep.c: Include sh-tdep.h.
* sh3-rom.c: Likewise.
* shnbsd-tdep.c: Likewise.
This commit is contained in:
Jason Thorpe
2002-05-17 06:55:49 +00:00
parent fae1e84fb6
commit ab3b81262e
7 changed files with 139 additions and 96 deletions

View File

@@ -25,6 +25,7 @@
#include "value.h"
#include "nbsd-tdep.h"
#include "sh-tdep.h"
#include "shnbsd-tdep.h"
/* Convert an r0-r15 register number into an offset into a ptrace