aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-02-24 14:57:14 -0700
committerTom Tromey <tromey@redhat.com>2014-02-25 11:17:35 -0700
commitb9e795ee5549c36dedd086c202f8aa3534c4b770 (patch)
tree74e52b92a36b460c41f30ab9c0e7395072a28fcd /gdb
parent849c862eb2637990692ffe31d16dc779f9bf30c5 (diff)
downloadgdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.zip
gdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.tar.gz
gdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.tar.bz2
remove target_ignore
This removes target_ignore, which isn't used any more. 2014-02-25 Tom Tromey <tromey@redhat.com> * target.h (target_ignore): Don't declare. * target.c (target_ignore): Remove.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.c7
-rw-r--r--gdb/target.h3
3 files changed, 5 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cb6b0fa..b7c5c8a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-25 Tom Tromey <tromey@redhat.com>
+
+ * target.h (target_ignore): Don't declare.
+ * target.c (target_ignore): Remove.
+
2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/16626
diff --git a/gdb/target.c b/gdb/target.c
index e4bf2e9..3e54d85 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -81,8 +81,6 @@ static int return_zero (struct target_ops *);
static int return_zero_has_execution (struct target_ops *, ptid_t);
-void target_ignore (void);
-
static void target_command (char *, int);
static struct target_ops *find_default_run_target (char *);
@@ -465,11 +463,6 @@ add_deprecated_target_alias (struct target_ops *t, char *alias)
/* Stub functions */
void
-target_ignore (void)
-{
-}
-
-void
target_kill (void)
{
if (targetdebug)
diff --git a/gdb/target.h b/gdb/target.h
index 7ce66c1..4b735dd 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -2187,9 +2187,6 @@ extern void update_target_permissions (void);
/* Imported from machine dependent code. */
-/* Blank target vector entries are initialized to target_ignore. */
-void target_ignore (void);
-
/* See to_supports_btrace in struct target_ops. */
#define target_supports_btrace() \
(current_target.to_supports_btrace (&current_target))