aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-07 04:38:02 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-07 04:38:02 +0000
commitb4a20239906ec8ba36a98e03d56d91603ce3ebb7 (patch)
tree2e3c96c35ae9a0e63a5ef69a743399d9c1c5656d /gdb/sh-tdep.c
parent17c579bd622026e9c05a0b8893e10a26470c3569 (diff)
downloadgdb-b4a20239906ec8ba36a98e03d56d91603ce3ebb7.zip
gdb-b4a20239906ec8ba36a98e03d56d91603ce3ebb7.tar.gz
gdb-b4a20239906ec8ba36a98e03d56d91603ce3ebb7.tar.bz2
The attatched moves the remaining guff from gdbarch.{h,c,sh} to
arch-utils.{h,c}. The ``set architecutre'' and ``set endian'' commands (part of the move) were implemented to use add_set_enum_cmd() so that ``set architecture <tab>'' works.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 941e13f..d677725 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -1,5 +1,6 @@
/* Target-dependent code for Hitachi Super-H, for GDB.
- Copyright 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 2000 Free Software
+ Foundation, Inc.
This file is part of GDB.
@@ -35,6 +36,7 @@
#include "dis-asm.h"
#include "inferior.h" /* for BEFORE_TEXT_END etc. */
#include "gdb_string.h"
+#include "arch-utils.h"
/* A set of original names, to be used when restoring back to generic
registers from a specific set. */