aboutsummaryrefslogtreecommitdiff
path: root/gdb/shnbsd-tdep.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-05-17 06:55:49 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-05-17 06:55:49 +0000
commitab3b81262e3164b572fc8eada737809cc09c92f8 (patch)
treebcbf9e97456e4a2027abc994d084308a8e0d19a4 /gdb/shnbsd-tdep.c
parentfae1e84fb6a12166f777eb05bb599acbfefc23cc (diff)
downloadgdb-ab3b81262e3164b572fc8eada737809cc09c92f8.zip
gdb-ab3b81262e3164b572fc8eada737809cc09c92f8.tar.gz
gdb-ab3b81262e3164b572fc8eada737809cc09c92f8.tar.bz2
* 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.
Diffstat (limited to 'gdb/shnbsd-tdep.c')
-rw-r--r--gdb/shnbsd-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/shnbsd-tdep.c b/gdb/shnbsd-tdep.c
index 5f9903d..7ac0489 100644
--- a/gdb/shnbsd-tdep.c
+++ b/gdb/shnbsd-tdep.c
@@ -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