diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-03-23 12:03:37 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-03-23 12:03:37 -0400 |
commit | 66848ebca8da38ce395d74d25d604646738514a7 (patch) | |
tree | 2464df10de4e4a202987d682bf82ce13531fb408 | |
parent | c8fbd44a018a9923f906bfd2be5489caa87b602a (diff) | |
download | gdb-66848ebca8da38ce395d74d25d604646738514a7.zip gdb-66848ebca8da38ce395d74d25d604646738514a7.tar.gz gdb-66848ebca8da38ce395d74d25d604646738514a7.tar.bz2 |
gdb: remote target_longname
I noticed it was unused.
gdb/ChangeLog:
* target.h (target_longname): Remove.
Change-Id: Id4f514ea038a6d8d40e11179db587b11793cbbd8
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/target.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6639ee..904886a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> + * target.h (target_longname): Remove. + +2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> + * target.h (target_is_pushed): Remove, update callers to use inferior::target_is_pushed instead. * target.c (target_is_pushed): Remove. diff --git a/gdb/target.h b/gdb/target.h index 6b71e74..8c11fb7 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -1364,7 +1364,6 @@ extern target_ops *get_dummy_target (); /* Define easy words for doing these operations on our current target. */ #define target_shortname (current_top_target ()->shortname ()) -#define target_longname (current_top_target ()->longname ()) /* Does whatever cleanup is required for a target that we are no longer going to be calling. This routine is automatically always |