From 66848ebca8da38ce395d74d25d604646738514a7 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 23 Mar 2021 12:03:37 -0400 Subject: gdb: remote target_longname I noticed it was unused. gdb/ChangeLog: * target.h (target_longname): Remove. Change-Id: Id4f514ea038a6d8d40e11179db587b11793cbbd8 --- gdb/ChangeLog | 4 ++++ gdb/target.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + * target.h (target_longname): Remove. + +2021-03-23 Simon Marchi + * 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 -- cgit v1.1