From 916b904d7eab256668f9f0b7b140f2244513d848 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 8 Dec 1993 05:06:48 +0000 Subject: [PATCH] * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h. * config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h. * config/mipos/tm-idt.h, config/mips/tm-idtl.h: New files; use different BREAKPOINT value for IDT. --- gdb/ChangeLog | 5 +++++ gdb/config/mips/.Sanitize | 2 ++ gdb/config/mips/idt.mt | 2 +- gdb/config/mips/idtl.mt | 2 +- gdb/config/mips/tm-idt.h | 25 +++++++++++++++++++++++++ gdb/config/mips/tm-idtl.h | 25 +++++++++++++++++++++++++ 6 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 gdb/config/mips/tm-idt.h create mode 100644 gdb/config/mips/tm-idtl.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7b6e9c0212a..5290c9a6373 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Tue Dec 7 15:41:32 1993 Ian Lance Taylor (ian@cygnus.com) + * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h. + * config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h. + * config/mipos/tm-idt.h, config/mips/tm-idtl.h: New files; use + different BREAKPOINT value for IDT. + * mipsread.c: Include bfd.h and coff/sym.h. Mon Dec 6 16:34:10 1993 K. Richard Pixley (rich@cygnus.com) diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize index 01db164bbb2..9ea009309fc 100644 --- a/gdb/config/mips/.Sanitize +++ b/gdb/config/mips/.Sanitize @@ -44,6 +44,8 @@ nm-news-mips.h nm-riscos.h riscos.mh tm-bigmips.h +tm-idt.h +tm-idtl.h tm-irix3.h tm-irix5.h tm-mips.h diff --git a/gdb/config/mips/idt.mt b/gdb/config/mips/idt.mt index d7fcecb8fe1..70a16f46ec1 100644 --- a/gdb/config/mips/idt.mt +++ b/gdb/config/mips/idt.mt @@ -1,3 +1,3 @@ # Target: Big-endian IDT board. TDEPFILES= mips-pinsn.o mips-tdep.o exec.o remote-mips.o -TM_FILE= tm-bigmips.h +TM_FILE= tm-idt.h diff --git a/gdb/config/mips/idtl.mt b/gdb/config/mips/idtl.mt index e712ad292f1..0c940a28c4b 100644 --- a/gdb/config/mips/idtl.mt +++ b/gdb/config/mips/idtl.mt @@ -1,3 +1,3 @@ # Target: Big-endian IDT board. TDEPFILES= mips-pinsn.o mips-tdep.o exec.o remote-mips.o -TM_FILE= tm-mips.h +TM_FILE= tm-idtl.h diff --git a/gdb/config/mips/tm-idt.h b/gdb/config/mips/tm-idt.h new file mode 100644 index 00000000000..1a5a4152362 --- /dev/null +++ b/gdb/config/mips/tm-idt.h @@ -0,0 +1,25 @@ +/* Copyright (C) 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "mips/tm-bigmips.h" + +/* The IDT board uses an unusual breakpoint value, and sometimes gets + confused when it sees the usual MIPS breakpoint instruction. */ + +#undef BREAKPOINT +#define BREAKPOINT {0, 0, 0x0a, 0x0d} diff --git a/gdb/config/mips/tm-idtl.h b/gdb/config/mips/tm-idtl.h new file mode 100644 index 00000000000..632495d191f --- /dev/null +++ b/gdb/config/mips/tm-idtl.h @@ -0,0 +1,25 @@ +/* Copyright (C) 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "mips/tm-mips.h" + +/* The IDT board uses an unusual breakpoint value, and sometimes gets + confused when it sees the usual MIPS breakpoint instruction. */ + +#undef BREAKPOINT +#define BREAKPOINT {0x0d, 0x0a, 0, 0} -- 2.30.2