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