public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: gdb-patches@sourceware.org
Subject: [pushed] gdb: remote target_longname
Date: Tue, 23 Mar 2021 12:05:44 -0400	[thread overview]
Message-ID: <20210323160544.3768090-1-simon.marchi@polymtl.ca> (raw)

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


                 reply	other threads:[~2021-03-23 16:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210323160544.3768090-1-simon.marchi@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).