* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-embed.h
CommitLineData
916b904d
ILT
1/* Copyright (C) 1993 Free Software Foundation, Inc.
2
3This file is part of GDB.
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
6c9638b4 17Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
916b904d 18
97d3151a
ILT
19#define TARGET_BYTE_ORDER_SELECTABLE
20
916b904d 21#include "mips/tm-bigmips.h"
9f9f94aa
SS
22
23#undef DEFAULT_MIPS_TYPE
24#define DEFAULT_MIPS_TYPE "r3051"
188c635f
SG
25
26/* start-sanitize-gm */
27#ifdef GENERAL_MAGIC
28
29#include "tm-magic.h" /* Include generic stuff */
30
31/* For some reason GM can't hack this... */
32
33#undef GET_LONGJMP_TARGET
34
35/* Watchpoint support */
36
37#define TARGET_HAS_HARDWARE_WATCHPOINTS
38
39#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
40 (1 == 1) /* We allow all types of hardware watchpoints */
41
42/* Use these macros for watchpoint insertion/deletion. */
43/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */
44
45#define target_insert_watchpoint(addr, len, type) \
46 remote_mips_set_watchpoint (addr, len, type)
47
48#define target_remove_watchpoint(addr, len, type) \
49 remote_mips_remove_watchpoint (addr, len, type)
50
51/* We need to remove watchpoints when stepping, else we hit them again! */
52
53#define HAVE_NONSTEPPABLE_WATCHPOINT
54
55#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint ()
56
57#define FLUSH_CACHED_MEMORY() flush_cached_memory()
58
59#endif /* GENERAL_MAGIC */
60/* end-sanitize-gm */
This page took 0.10908 seconds and 4 git commands to generate.