PARAMS removal.
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-embed.h
CommitLineData
c906108c
SS
1/* Copyright (C) 1993 Free Software Foundation, Inc.
2
c5aa993b 3 This file is part of GDB.
c906108c 4
c5aa993b
JM
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.
c906108c 9
c5aa993b
JM
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.
c906108c 14
c5aa993b
JM
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,
18 Boston, MA 02111-1307, USA. */
c906108c
SS
19
20#define TARGET_BYTE_ORDER_SELECTABLE_P 1
21
22#include "mips/tm-bigmips.h"
23
24#undef DEFAULT_MIPS_TYPE
25#define DEFAULT_MIPS_TYPE "r3051"
26
27/* Watchpoint support */
28
29#define TARGET_HAS_HARDWARE_WATCHPOINTS
30
31/* Use these macros for watchpoint insertion/deletion. */
32/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */
33
34#define target_insert_watchpoint(addr, len, type) \
35 remote_mips_set_watchpoint (addr, len, type)
a14ed312 36int remote_mips_set_watchpoint (CORE_ADDR addr, int len, int type);
c906108c
SS
37
38#define target_remove_watchpoint(addr, len, type) \
39 remote_mips_remove_watchpoint (addr, len, type)
a14ed312 40int remote_mips_remove_watchpoint (CORE_ADDR addr, int len, int type);
c906108c
SS
41
42/* We need to remove watchpoints when stepping, else we hit them again! */
43
44#define HAVE_NONSTEPPABLE_WATCHPOINT
45
d4f3574e 46int remote_mips_stopped_by_watchpoint (void);
c906108c
SS
47#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint ()
48
49#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
50 remote_mips_can_use_hardware_watchpoint(cnt)
a14ed312 51int remote_mips_can_use_hardware_watchpoint (int cnt);
This page took 0.053682 seconds and 4 git commands to generate.