diff options
author | Michael Snyder <msnyder@vmware.com> | 1997-06-13 20:53:34 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 1997-06-13 20:53:34 +0000 |
commit | 00e40d11f4eca7468ca7cfe1eab84715544da482 (patch) | |
tree | ef936d2da3c04405cf0f54838ddbec8d3c67ad48 /gdb/config | |
parent | dd1c7d5f5e92e401eb72333709a0af7d71ffe7bd (diff) | |
download | gdb-00e40d11f4eca7468ca7cfe1eab84715544da482.zip gdb-00e40d11f4eca7468ca7cfe1eab84715544da482.tar.gz gdb-00e40d11f4eca7468ca7cfe1eab84715544da482.tar.bz2 |
Fri Jun 13 13:44:47 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/mips/tm-tx39[l].h, tx39[l].mt: change r3900 target to tx39.
[also clean up sanitization]
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/.Sanitize | 8 | ||||
-rw-r--r-- | gdb/config/mips/tm-tx39.h | 67 | ||||
-rw-r--r-- | gdb/config/mips/tm-tx39l.h | 25 | ||||
-rw-r--r-- | gdb/config/mips/tx39.mt | 5 | ||||
-rw-r--r-- | gdb/config/mips/tx39l.mt | 5 |
5 files changed, 106 insertions, 4 deletions
diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize index 0d5fb0c..b390ceb 100644 --- a/gdb/config/mips/.Sanitize +++ b/gdb/config/mips/.Sanitize @@ -63,15 +63,15 @@ tm-mips.h tm-mips64.h tm-mipsm3.h tm-mipsv4.h -tm-r3900.h -tm-r3900l.h +tm-tx39.h +tm-tx39l.h tm-vr4300.h tm-vr4300el.h tm-vr5000.h tm-vr5000el.h tm-vxmips.h -r3900.mh -r3900l.mh +tx39.mh +tx39l.mh vr4300.mt vr4300el.mt vr5000.mt diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h new file mode 100644 index 0000000..ce387d8 --- /dev/null +++ b/gdb/config/mips/tm-tx39.h @@ -0,0 +1,67 @@ +/* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#define TARGET_BYTE_ORDER_SELECTABLE +#define MIPS_EABI 1 + +#include "mips/tm-bigmips.h" + +#undef DEFAULT_MIPS_TYPE +#define DEFAULT_MIPS_TYPE "r3051" + +<<<<<<< tm-tx39.h +/* start-sanitize-gm */ +#ifdef GENERAL_MAGIC + +#include "tm-magic.h" /* Include generic stuff */ + +/* For some reason GM can't hack this... */ + +#undef GET_LONGJMP_TARGET + +/* Watchpoint support */ + +#define TARGET_HAS_HARDWARE_WATCHPOINTS + +#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \ + (1 == 1) /* We allow all types of hardware watchpoints */ + +/* Use these macros for watchpoint insertion/deletion. */ +/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */ + +#define target_insert_watchpoint(addr, len, type) \ + remote_mips_set_watchpoint (addr, len, type) + +#define target_remove_watchpoint(addr, len, type) \ + remote_mips_remove_watchpoint (addr, len, type) + +/* We need to remove watchpoints when stepping, else we hit them again! */ + +#define HAVE_NONSTEPPABLE_WATCHPOINT + +#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint () + +#define FLUSH_CACHED_MEMORY() flush_cached_memory() + +#endif /* GENERAL_MAGIC */ +/* end-sanitize-gm */ + +#undef USE_STRUCT_CONVENTION +#define USE_STRUCT_CONVENTION(gcc_p, type) (TYPE_LENGTH (type) > 8) +======= +>>>>>>> 1.1.2.2 diff --git a/gdb/config/mips/tm-tx39l.h b/gdb/config/mips/tm-tx39l.h new file mode 100644 index 0000000..e60c938 --- /dev/null +++ b/gdb/config/mips/tm-tx39l.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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#define TARGET_BYTE_ORDER_SELECTABLE +#define MIPS_EABI 1 + +#include "mips/tm-mips.h" + +#undef USE_STRUCT_CONVENTION +#define USE_STRUCT_CONVENTION(gcc_p, type) (TYPE_LENGTH (type) > 8) diff --git a/gdb/config/mips/tx39.mt b/gdb/config/mips/tx39.mt new file mode 100644 index 0000000..6ae1dad --- /dev/null +++ b/gdb/config/mips/tx39.mt @@ -0,0 +1,5 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-tx39.h +SIM_OBS = remote-sim.o +SIM = ../sim/mips/libsim.a diff --git a/gdb/config/mips/tx39l.mt b/gdb/config/mips/tx39l.mt new file mode 100644 index 0000000..fe339d6 --- /dev/null +++ b/gdb/config/mips/tx39l.mt @@ -0,0 +1,5 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-tx39l.h +SIM_OBS = remote-sim.o +SIM = ../sim/mips/libsim.a |