aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
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.c
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.c')
-rw-r--r--gdb/target.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/target.c b/gdb/target.c
index a289e89..d788c26 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1353,21 +1353,6 @@ target_flash_done (void)
tcomplain ();
}
-#ifndef target_stopped_data_address_p
-int
-target_stopped_data_address_p (struct target_ops *target)
-{
- if (target->to_stopped_data_address
- == (int (*) (struct target_ops *, CORE_ADDR *)) return_zero)
- return 0;
- if (target->to_stopped_data_address == debug_to_stopped_data_address
- && (debug_target.to_stopped_data_address
- == (int (*) (struct target_ops *, CORE_ADDR *)) return_zero))
- return 0;
- return 1;
-}
-#endif
-
static void
show_trust_readonly (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)