57b29be766
* defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
/* Target definitions for the Fujitsu FR-V, for GDB, the GNU Debugger.
|
|
Copyright 2000 Free Software Foundation, Inc.
|
|
|
|
This file is part of GDB.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
/* This target uses an architecture vector for most architecture methods. */
|
|
|
|
#define TARGET_HW_BREAK_LIMIT 4
|
|
#define TARGET_HW_WATCH_LIMIT 4
|
|
|
|
#define TARGET_HAS_HARDWARE_WATCHPOINTS
|
|
|
|
#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
|
|
frv_check_watch_resources (type, cnt, ot)
|
|
extern int frv_check_watch_resources (int type, int cnt, int ot);
|
|
|
|
/* When a hardware watchpoint fires off the PC will be left at the
|
|
instruction which caused the watchpoint. It will be necessary for
|
|
GDB to step over the watchpoint. */
|
|
|
|
/*#define HAVE_STEPPABLE_WATCHPOINT 1*/
|
|
|
|
#define STOPPED_BY_WATCHPOINT(W) \
|
|
((W).kind == TARGET_WAITKIND_STOPPED \
|
|
&& (W).value.sig == TARGET_SIGNAL_TRAP \
|
|
&& (frv_stopped_data_address() != ((CORE_ADDR)0)))
|
|
extern CORE_ADDR frv_stopped_data_address(void);
|
|
|
|
/* Use these macros for watchpoint insertion/deletion. */
|
|
#define target_stopped_data_address() frv_stopped_data_address()
|