From 6886574678c6af180a6c75932a08c53a1fc4cc02 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 22 Jul 1997 21:00:21 +0000 Subject: [PATCH] Pulling changes over from tx39 branch --- gdb/config/mips/tm-tx39.h | 41 +------------------------------------- gdb/config/mips/tm-tx39l.h | 4 ++-- 2 files changed, 3 insertions(+), 42 deletions(-) diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h index 998470fcbf3..f46ee21bb6f 100644 --- a/gdb/config/mips/tm-tx39.h +++ b/gdb/config/mips/tm-tx39.h @@ -22,43 +22,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "mips/tm-bigmips.h" #undef DEFAULT_MIPS_TYPE -#define DEFAULT_MIPS_TYPE "r3051" - -/* 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) +#define DEFAULT_MIPS_TYPE "r3900" diff --git a/gdb/config/mips/tm-tx39l.h b/gdb/config/mips/tm-tx39l.h index e60c938fa27..7da13207099 100644 --- a/gdb/config/mips/tm-tx39l.h +++ b/gdb/config/mips/tm-tx39l.h @@ -21,5 +21,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "mips/tm-mips.h" -#undef USE_STRUCT_CONVENTION -#define USE_STRUCT_CONVENTION(gcc_p, type) (TYPE_LENGTH (type) > 8) +#undef DEFAULT_MIPS_TYPE +#define DEFAULT_MIPS_TYPE "r3900" -- 2.30.2