aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/pa
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-01 14:37:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-01 14:37:02 +0000
commit22d41b37e06cdc8ea4ed2f62c72f1a3dd5edb82c (patch)
treebb551939ff238a2b55e544b3a401b32e663556d0 /gdb/config/pa
parente66299b3ddd428d2b611c51326140234a72be604 (diff)
downloadgdb-22d41b37e06cdc8ea4ed2f62c72f1a3dd5edb82c.zip
gdb-22d41b37e06cdc8ea4ed2f62c72f1a3dd5edb82c.tar.gz
gdb-22d41b37e06cdc8ea4ed2f62c72f1a3dd5edb82c.tar.bz2
2004-08-01 Andrew Cagney <cagney@gnu.org>
* config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete. * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete. * config/nm-gnu.h (NO_CORE_OPS): Delete. * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete. * config/i386/nm-i386v4.h (LOSING_POLL): Delete. * config/alpha/nm-osf2.h (LOSING_POLL): Delete. * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete. * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete. * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete. * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete. * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete. (TARGET_SIGNAL_RAW_VALUES): Delete. * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete. * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT) (TARGET_HW_WATCH_LIMIT): Delete. * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h. * minimon.h: Delete file.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r--gdb/config/pa/nm-hppah.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h
index 3b0b30d..91a71a4 100644
--- a/gdb/config/pa/nm-hppah.h
+++ b/gdb/config/pa/nm-hppah.h
@@ -117,31 +117,6 @@ extern int hppa_can_use_hw_watchpoint (int type, int cnt, int ot);
#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(byte_count) \
(1)
-/* However, some addresses may not be profitable to use hardware to watch,
- or may be difficult to understand when the addressed object is out of
- scope, and hence should be unwatched. On some targets, this may have
- severe performance penalties, such that we might as well use regular
- watchpoints, and save (possibly precious) hardware watchpoints for other
- locations.
-
- On HP-UX, we choose not to watch stack-based addresses, because
-
- [1] Our implementation relies on page protection traps. The granularity
- of these is large and so can generate many false hits, which are expensive
- to respond to.
-
- [2] Watches of "*p" where we may not know the symbol that p points to,
- make it difficult to know when the addressed object is out of scope, and
- hence shouldn't be watched. Page protection that isn't removed when the
- addressed object is out of scope will either degrade execution speed
- (false hits) or give false triggers (when the address is recycled by
- other calls).
-
- Since either of these points results in a slow-running inferior, we might
- as well use normal watchpoints, aka single-step & test. */
-#define TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT(pid,start,len) \
- hppa_range_profitable_for_hw_watchpoint(pid, start, (LONGEST)(len))
-
/* On HP-UX, we're using page-protection to implement hardware watchpoints.
When an instruction attempts to write to a write-protected memory page,
a SIGBUS is raised. At that point, the write has not actually occurred.
@@ -249,10 +224,6 @@ extern int hppa_resume_execd_vforking_child_to_get_parent_vfork (void);
#define HPUXHPPA
-#define MAY_SWITCH_FROM_INFERIOR_PID (1)
-
#define MAY_FOLLOW_EXEC (1)
-#define USE_THREAD_STEP_NEEDED (1)
-
#include "infttrace.h" /* For parent_attach_all. */