From a47fe057fde56bf075e64a39de3db587277119bd Mon Sep 17 00:00:00 2001 From: John Metzler Date: Tue, 14 Apr 1998 23:09:06 +0000 Subject: [PATCH] Tue Apr 14 15:43:49 1998 John Metzler * configure.tgt: Switch over to use tm-4320.h. Since I switched to MIPS EABI the fixes are no longer backward compatible with 4300. * tm-vr4320.h: Added * vr4320.mt: Added --- gdb/ChangeLog | 7 +++++++ gdb/config/mips/tm-vr4320.h | 24 ++++++++++++++++++++++++ gdb/config/mips/vr4320.mt | 5 +++++ gdb/configure.tgt | 2 +- 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 gdb/config/mips/tm-vr4320.h create mode 100644 gdb/config/mips/vr4320.mt diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 599c5b31b1..c9980936e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Tue Apr 14 15:43:49 1998 John Metzler + + * configure.tgt: Switch over to use tm-4320.h. Since I switched to + MIPS EABI the fixes are no longer backward compatible with 4300. + * tm-vr4320.h: Added + * vr4320.mt: Added + Mon Apr 13 16:28:07 1998 Elena Zannoni * utils.c: (warning) added call to warning_hook diff --git a/gdb/config/mips/tm-vr4320.h b/gdb/config/mips/tm-vr4320.h new file mode 100644 index 0000000000..a985f9a938 --- /dev/null +++ b/gdb/config/mips/tm-vr4320.h @@ -0,0 +1,24 @@ +/* Copyright (C) 1993, 1996 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#define TARGET_BYTE_ORDER_SELECTABLE +#define TARGET_MONITOR_PROMPT " " +#define TARGET_PTR_BIT 64 +#define MIPS_EABI 1 + +#include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/vr4320.mt b/gdb/config/mips/vr4320.mt new file mode 100644 index 0000000000..c7cc5ee68c --- /dev/null +++ b/gdb/config/mips/vr4320.mt @@ -0,0 +1,5 @@ +# Target: Big-endian SIM monitor board. +TDEPFILES= mips-tdep.o remote-mips.o +TM_FILE= tm-vr4320.h +SIM_OBS = remote-sim.o +SIM = ../sim/mips/libsim.a diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 147d793843..3021f134f1 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -169,7 +169,7 @@ mips64*el-*-ecoff*) gdb_target=embedl64 ;; mips64*-*-ecoff*) gdb_target=embed64 ;; # start-sanitize-vr4320 mips64*vr4320*el-*-elf*)gdb_target=vr4300el ;; -mips64*vr4320*-*-elf*) gdb_target=vr4300 ;; +mips64*vr4320*-*-elf*) gdb_target=vr4320 ;; # end-sanitize-vr4320 mips64*vr4300*el-*-elf*) gdb_target=vr4300el ;; mips64*vr4300*-*-elf*) gdb_target=vr4300 ;;