remove target_ignore
authorTom Tromey <tromey@redhat.com>
Mon, 24 Feb 2014 21:57:14 +0000 (14:57 -0700)
committerTom Tromey <tromey@redhat.com>
Tue, 25 Feb 2014 18:17:35 +0000 (11:17 -0700)
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.

gdb/ChangeLog
gdb/target.c
gdb/target.h

index cb6b0fa..b7c5c8a 100644 (file)
@@ -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
index e4bf2e9..3e54d85 100644 (file)
@@ -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)
index 7ce66c1..4b735dd 100644 (file)
@@ -2187,9 +2187,6 @@ extern void update_target_permissions (void);
 \f
 /* 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))