aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-24 22:54:02 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-24 22:54:02 +0000
commitb4dc5ffa12224cf5f0e6a7a602b200771aca62e8 (patch)
treee3c16612a7a2c4b5e4c7482c071fcfbcc754837a /gdb/target.h
parent3d171c85e745078ae90f558ff156122855f458c1 (diff)
downloadgdb-b4dc5ffa12224cf5f0e6a7a602b200771aca62e8.zip
gdb-b4dc5ffa12224cf5f0e6a7a602b200771aca62e8.tar.gz
gdb-b4dc5ffa12224cf5f0e6a7a602b200771aca62e8.tar.bz2
* target.h (TARGET_DISABLE_HW_WATCHPOINTS)
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros. * infrun.c (struct execution_control_state): Remove enable_hw_watchpoints_after_wait member. (number_of_threads_in_syscalls): Remove variable. (init_wait_for_inferior): Don't initialize number_of_threads_in_syscalls. (init_execution_control_state): Don't initialize ECS->enable_hw_watchpoints_after_wait. (handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS or TARGET_DISABLE_HW_WATCHPOINTS.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 84c284b..a7016bd 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1017,18 +1017,6 @@ extern void (*deprecated_target_new_objfile_hook) (struct objfile *);
(current_target.to_have_continuable_watchpoint)
#endif
-/* HP-UX supplies these operations, which respectively disable and enable
- the memory page-protections that are used to implement hardware watchpoints
- on that platform. See wait_for_inferior's use of these. */
-
-#if !defined(TARGET_DISABLE_HW_WATCHPOINTS)
-#define TARGET_DISABLE_HW_WATCHPOINTS(pid)
-#endif
-
-#if !defined(TARGET_ENABLE_HW_WATCHPOINTS)
-#define TARGET_ENABLE_HW_WATCHPOINTS(pid)
-#endif
-
/* Provide defaults for hardware watchpoint functions. */
/* If the *_hw_beakpoint functions have not been defined