aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-05 23:30:33 +0000
committerPedro Alves <palves@redhat.com>2009-02-05 23:30:33 +0000
commit611041afff08723894c70dddaf8a316904daa723 (patch)
tree515a80594cf1f6b27e42026c21b4dab0023e8b95 /gdb/target.h
parent95027438a77ca4693cad270396c8ab30fccb5e52 (diff)
downloadgdb-611041afff08723894c70dddaf8a316904daa723.zip
gdb-611041afff08723894c70dddaf8a316904daa723.tar.gz
gdb-611041afff08723894c70dddaf8a316904daa723.tar.bz2
* target.h (target_stopped_data_address_p): Delete declaration,
and don't define as macro. * target.c (target_stopped_data_address_p): Delete.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 5b5fa5e..8e0f6c5 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1129,14 +1129,9 @@ extern char *normal_pid_to_str (ptid_t ptid);
(*current_target.to_remove_hw_breakpoint) (bp_tgt)
#endif
-extern int target_stopped_data_address_p (struct target_ops *);
-
#ifndef target_stopped_data_address
#define target_stopped_data_address(target, x) \
(*target.to_stopped_data_address) (target, x)
-#else
-/* Horrible hack to get around existing macros :-(. */
-#define target_stopped_data_address_p(CURRENT_TARGET) (1)
#endif
#define target_watchpoint_addr_within_range(target, addr, start, length) \