Add shared library support for FR-V FDPIC ABI.
[deliverable/binutils-gdb.git] / gdb / config / frv / tm-frv.h
CommitLineData
456f8b9d
DB
1/* Target definitions for the Fujitsu FR-V, for GDB, the GNU Debugger.
2 Copyright 2000 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21/* This target uses an architecture vector for most architecture methods. */
22
456f8b9d
DB
23#define TARGET_HW_BREAK_LIMIT 4
24#define TARGET_HW_WATCH_LIMIT 4
25
26#define TARGET_HAS_HARDWARE_WATCHPOINTS
27
28#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
29 frv_check_watch_resources (type, cnt, ot)
30extern int frv_check_watch_resources (int type, int cnt, int ot);
31
32/* When a hardware watchpoint fires off the PC will be left at the
33 instruction which caused the watchpoint. It will be necessary for
34 GDB to step over the watchpoint. */
35
36/*#define HAVE_STEPPABLE_WATCHPOINT 1*/
37
38#define STOPPED_BY_WATCHPOINT(W) \
39 ((W).kind == TARGET_WAITKIND_STOPPED \
40 && (W).value.sig == TARGET_SIGNAL_TRAP \
41 && (frv_stopped_data_address() != ((CORE_ADDR)0)))
42extern CORE_ADDR frv_stopped_data_address(void);
43
44/* Use these macros for watchpoint insertion/deletion. */
456f8b9d 45#define target_stopped_data_address() frv_stopped_data_address()
c4d10515
KB
46
47#include "solib.h" /* Include support for shared libraries. */
This page took 0.162386 seconds and 4 git commands to generate.