From b9e795ee5549c36dedd086c202f8aa3534c4b770 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 24 Feb 2014 14:57:14 -0700 Subject: [PATCH] remove target_ignore This removes target_ignore, which isn't used any more. 2014-02-25 Tom Tromey * 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/ChangeLog b/gdb/ChangeLog index cb6b0fa9cec..b7c5c8a342e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-02-25 Tom Tromey + + * target.h (target_ignore): Don't declare. + * target.c (target_ignore): Remove. + 2014-02-25 Jan Kratochvil PR gdb/16626 diff --git a/gdb/target.c b/gdb/target.c index e4bf2e9051e..3e54d85b486 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 *); @@ -464,11 +462,6 @@ add_deprecated_target_alias (struct target_ops *t, char *alias) /* Stub functions */ -void -target_ignore (void) -{ -} - void target_kill (void) { diff --git a/gdb/target.h b/gdb/target.h index 7ce66c10555..4b735ddd2e2 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 (¤t_target)) -- 2.30.2