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