diff options
author | Tom Tromey <tromey@redhat.com> | 2014-02-24 14:57:14 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-25 11:17:35 -0700 |
commit | b9e795ee5549c36dedd086c202f8aa3534c4b770 (patch) | |
tree | 74e52b92a36b460c41f30ab9c0e7395072a28fcd | |
parent | PR gdb/16626 (diff) | |
download | binutils-gdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.tar.gz binutils-gdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.tar.bz2 binutils-gdb-b9e795ee5549c36dedd086c202f8aa3534c4b770.zip |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 7 | ||||
-rw-r--r-- | 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 <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 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 *); @@ -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 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)) |