gdb: remote target_longname

I noticed it was unused.

gdb/ChangeLog:

	* target.h (target_longname): Remove.

Change-Id: Id4f514ea038a6d8d40e11179db587b11793cbbd8
This commit is contained in:
Simon Marchi 2021-03-23 12:03:37 -04:00
parent c8fbd44a01
commit 66848ebca8
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-03-23 Simon Marchi <simon.marchi@polymtl.ca>
* target.h (target_longname): Remove.
2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca>
* target.h (target_is_pushed): Remove, update callers to use * target.h (target_is_pushed): Remove, update callers to use

View File

@ -1364,7 +1364,6 @@ extern target_ops *get_dummy_target ();
/* Define easy words for doing these operations on our current target. */ /* Define easy words for doing these operations on our current target. */
#define target_shortname (current_top_target ()->shortname ()) #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 /* Does whatever cleanup is required for a target that we are no
longer going to be calling. This routine is automatically always longer going to be calling. This routine is automatically always