public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] gdb: remote target_longname
@ 2021-03-23 16:05 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2021-03-23 16:05 UTC (permalink / raw)
  To: gdb-patches

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(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b6639ee77ada..904886adc16b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
 
 	* target.h (target_is_pushed): Remove, update callers to use
diff --git a/gdb/target.h b/gdb/target.h
index 6b71e741f6d7..8c11fb76d4cb 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
-- 
2.30.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-23 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 16:05 [pushed] gdb: remote target_longname Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).