summaryrefslogtreecommitdiff
path: root/gdb/config/s390
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2005-09-11 21:54:59 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2005-09-11 21:54:59 +0000
commit8c504096dee5747f74a6d34246b186b701a39a8b (patch)
tree61b19880926aa678bb1de6d0f61ad508e3b401ac /gdb/config/s390
parentb496de2c0218ee2b946acdd7d153334bf9a53022 (diff)
downloadgdb-8c504096dee5747f74a6d34246b186b701a39a8b.tar.gz
* config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise. (s390_stopped_by_watchpoint, s390_insert_watchpoint, s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT, TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Likewise. * s390-nat.c: Remove include of <sys/user.h>. (kernel_u_size): Remove. (s390_stopped_by_watchpoint): Make static. (s390_insert_watchpoint, s390_remove_watchpoint): Likewise. (s390_can_use_hw_breakpoint): New function. (s390_region_size_ok_for_hw_watchpoint): Likewise. (_initialize_s390_nat): Add watchpoint methods to target.
Diffstat (limited to 'gdb/config/s390')
-rw-r--r--gdb/config/s390/nm-linux.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/config/s390/nm-linux.h b/gdb/config/s390/nm-linux.h
index bf283cea80b..8f9b6a84a26 100644
--- a/gdb/config/s390/nm-linux.h
+++ b/gdb/config/s390/nm-linux.h
@@ -30,33 +30,7 @@
/* ptrace access. */
-#define PTRACE_ARG3_TYPE long
-#define PTRACE_XFER_TYPE long
-
#define FETCH_INFERIOR_REGISTERS
-#define KERNEL_U_SIZE kernel_u_size()
-extern int kernel_u_size (void);
-
-
-/* Hardware watchpoints. */
-
-extern int s390_stopped_by_watchpoint (void);
-extern int s390_insert_watchpoint (CORE_ADDR addr, int len);
-extern int s390_remove_watchpoint (CORE_ADDR addr, int len);
-
-#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
-#define TARGET_REGION_OK_FOR_HW_WATCHPOINT(addr, len) 1
-#define HAVE_CONTINUABLE_WATCHPOINT 1
-
-#define STOPPED_BY_WATCHPOINT(w) \
- s390_stopped_by_watchpoint ()
-
-#define target_insert_watchpoint(addr, len, type) \
- s390_insert_watchpoint (addr, len)
-
-#define target_remove_watchpoint(addr, len, type) \
- s390_remove_watchpoint (addr, len)
-
#endif /* nm_linux.h */