From d7df19a6c341aa5fb29f8d9454bd2774b5b6971f Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 1 Jun 1993 05:22:50 +0000 Subject: [PATCH] These got lost somehow. --- gdb/config/m68k/monitor.mt | 8 ++++++++ gdb/config/m68k/tm-monitor.h | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 gdb/config/m68k/monitor.mt create mode 100644 gdb/config/m68k/tm-monitor.h diff --git a/gdb/config/m68k/monitor.mt b/gdb/config/m68k/monitor.mt new file mode 100644 index 00000000000..cfd483d21dc --- /dev/null +++ b/gdb/config/m68k/monitor.mt @@ -0,0 +1,8 @@ +# Target: Motorola rom68k boot monitor (from Integrated Systems) +# Target: Motorola bug monitor. +# These defines should give you a gdb running on anything that will be able to +# communicate with a m68k based debug monitor. Communications +# is facilitated via either a serial line, or a TCP or TELNET connection to +# a serial line on a terminal multiplexor. +TDEPFILES= exec.o m68k-pinsn.o m68k-tdep.o remote-monitor.o +TM_FILE= tm-monitor.h diff --git a/gdb/config/m68k/tm-monitor.h b/gdb/config/m68k/tm-monitor.h new file mode 100644 index 00000000000..9669f53e9e6 --- /dev/null +++ b/gdb/config/m68k/tm-monitor.h @@ -0,0 +1,35 @@ +/* Parameters for the Integrated Systems Rom68k boot monitor + Copyright (C) 1986, 1987, 1989, 199 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. */ + +#undef HAVE_68881 /* GDB won't compile without this */ + +#define GDBINIT_FILENAME ".monitor-gdbinit" + +#define DEFAULT_PROMPT "(remote-gdb) " + +#include "m68k/tm-m68k.h" + +#undef REGISTER_NAMES +#define REGISTER_NAMES \ + {"d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", \ + "a0", "a1", "a2", "a3", "a4", "a5", "a6", "usp", \ + "sr", "pc", \ + "fp0", "fp1", "fp2", "fp3", "fp4", "fp5", "fp6", "fp7", \ + "fpcontrol", "fpstatus", "fpiaddr", "fpcode", "fpflags" } + -- 2.30.2