From b4a20239906ec8ba36a98e03d56d91603ce3ebb7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 7 Jun 2000 04:38:02 +0000 Subject: 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 '' works. --- gdb/sh-tdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/sh-tdep.c') 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. */ -- cgit v1.1