This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[FYI] 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.
---
 gdb/ChangeLog | 5 +++++
 gdb/target.c  | 7 -------
 gdb/target.h  | 3 ---
 3 files changed, 5 insertions(+), 10 deletions(-)

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))
-- 
1.8.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]