* config/i386/nm-i386.h: Fix formatting and change reference to
i386-tdep.c to i386-nat.c.
This commit is contained in:
parent
6c5cfe5b67
commit
207e433e1d
|
@ -1,3 +1,8 @@
|
|||
2001-03-23 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* config/i386/nm-i386.h: Fix formatting and change reference to
|
||||
i386-tdep.c to i386-nat.c.
|
||||
|
||||
2001-03-23 David Smith <dsmith@redhat.com>
|
||||
|
||||
* configure.in: Corrected spelling errors.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Native macro definitions for GDB on an Intel i[3456]86.
|
||||
Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
Copyright 2001 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
|
@ -21,13 +21,11 @@
|
|||
#ifndef NM_I386_H
|
||||
#define NM_I386_H 1
|
||||
|
||||
|
||||
/* Hardware-assisted breakpoints and watchpoints. */
|
||||
|
||||
/* Targets should define this to use the generic x86 watchpoint support. */
|
||||
#ifdef I386_USE_GENERIC_WATCHPOINTS
|
||||
|
||||
|
||||
#ifndef TARGET_HAS_HARDWARE_WATCHPOINTS
|
||||
#define TARGET_HAS_HARDWARE_WATCHPOINTS
|
||||
#endif
|
||||
|
@ -77,16 +75,16 @@ extern int i386_remove_hw_breakpoint (CORE_ADDR addr, void *shadow);
|
|||
currently enabled.
|
||||
|
||||
We always return 1 here because we don't have enough information
|
||||
about possible overlap of addresses that they want to watch. As
|
||||
an extreme example, consider the case where all the watchpoints
|
||||
watch the same address and the same region length: then we can
|
||||
handle a virtually unlimited number of watchpoints, due to debug
|
||||
register sharing implemented via reference counts in i386-tdep.c. */
|
||||
about possible overlap of addresses that they want to watch. As an
|
||||
extreme example, consider the case where all the watchpoints watch
|
||||
the same address and the same region length: then we can handle a
|
||||
virtually unlimited number of watchpoints, due to debug register
|
||||
sharing implemented via reference counts in i386-nat.c. */
|
||||
|
||||
#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
|
||||
|
||||
/* Returns non-zero if we can use hardware watchpoints to watch a region
|
||||
whose address is ADDR and whose length is LEN. */
|
||||
/* Returns non-zero if we can use hardware watchpoints to watch a
|
||||
region whose address is ADDR and whose length is LEN. */
|
||||
|
||||
#define TARGET_REGION_OK_FOR_HW_WATCHPOINT(addr, len) \
|
||||
i386_region_ok_for_watchpoint (addr, len)
|
||||
|
|
Loading…
Reference in New Issue