From 26c87277f4f9cdf4d69b3c9367502321ddc2576e Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Mon, 28 Oct 1996 04:24:30 +0000 Subject: [PATCH] * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}: New files. * configure.tgt: Modify cases for vr5000 to use new files. --- gdb/config/mips/tm-vr5000.h | 23 +++++++++++++++++++++++ gdb/config/mips/tm-vr5000el.h | 23 +++++++++++++++++++++++ gdb/config/mips/vr5000.mt | 5 +++++ gdb/config/mips/vr5000el.mt | 5 +++++ gdb/configure.tgt | 4 ++-- 5 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 gdb/config/mips/tm-vr5000.h create mode 100644 gdb/config/mips/tm-vr5000el.h create mode 100644 gdb/config/mips/vr5000.mt create mode 100644 gdb/config/mips/vr5000el.mt diff --git a/gdb/config/mips/tm-vr5000.h b/gdb/config/mips/tm-vr5000.h new file mode 100644 index 00000000000..23bff57da0a --- /dev/null +++ b/gdb/config/mips/tm-vr5000.h @@ -0,0 +1,23 @@ +/* Copyright (C) 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 MIPS_EABI 1 + +#include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr5000el.h b/gdb/config/mips/tm-vr5000el.h new file mode 100644 index 00000000000..5de282c33ea --- /dev/null +++ b/gdb/config/mips/tm-vr5000el.h @@ -0,0 +1,23 @@ +/* Copyright (C) 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 MIPS_EABI 1 + +#include "mips/tm-mips64.h" diff --git a/gdb/config/mips/vr5000.mt b/gdb/config/mips/vr5000.mt new file mode 100644 index 00000000000..2d439ee4c74 --- /dev/null +++ b/gdb/config/mips/vr5000.mt @@ -0,0 +1,5 @@ +# Target: Big-endian SIM monitor board. +TDEPFILES= mips-tdep.o remote-mips.o +TM_FILE= tm-vr5000.h +SIM_OBS = remote-sim.o +SIM = ../sim/mips/libsim.a -lm diff --git a/gdb/config/mips/vr5000el.mt b/gdb/config/mips/vr5000el.mt new file mode 100644 index 00000000000..479679b900d --- /dev/null +++ b/gdb/config/mips/vr5000el.mt @@ -0,0 +1,5 @@ +# Target: Little-endian SIM monitor board. +TDEPFILES= mips-tdep.o remote-mips.o +TM_FILE= tm-vr5000el.h +SIM_OBS = remote-sim.o +SIM = ../sim/mips/libsim.a -lm diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 1d36ed89767..e2f83f76f7b 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -158,8 +158,8 @@ mips64*vr4300*el-*-elf*) gdb_target=vr4300el ;; mips64*vr4300*-*-elf*) gdb_target=vr4300 ;; mips64*vr4100*el-*-elf*) gdb_target=vr4300el ;; mips64*vr4100*-*-elf*) gdb_target=vr4300 ;; -mips64*vr5000*el-*-elf*) gdb_target=vr4300el ;; -mips64*vr5000*-*-elf*) gdb_target=vr4300 ;; +mips64*vr5000*el-*-elf*) gdb_target=vr5000el ;; +mips64*vr5000*-*-elf*) gdb_target=vr5000 ;; mips64*el-*-elf*) gdb_target=embedl64 ;; mips64*-*-elf*) gdb_target=embed64 ;; mips*el-*-ecoff*) gdb_target=embedl ;; -- 2.30.2