Pulling changes over from tx39 branch

This commit is contained in:
Michael Snyder
1997-07-22 21:00:21 +00:00
parent 9ffd1eabd3
commit 6886574678
2 changed files with 3 additions and 42 deletions

View File

@@ -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"

View File

@@ -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"