public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: gdb-patches@sourceware.org
Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Subject: [PUSHED 1/2] remove the declared but undefined/unused method find_partial_die
Date: Sat, 26 Nov 2022 13:23:57 +0100	[thread overview]
Message-ID: <20221126122358.1168620-1-philippe.waroquiers@skynet.be> (raw)

The method
       struct partial_die_info *find_partial_die (sect_offset sect_off);
in cu.h is defined, but is used nowhere and not implemented.
---
 gdb/dwarf2/cu.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h
index 51638e71b19..52975095871 100644
--- a/gdb/dwarf2/cu.h
+++ b/gdb/dwarf2/cu.h
@@ -278,8 +278,6 @@ struct dwarf2_cu
      hash table and don't find it.  */
   bool load_all_dies : 1;
 
-  struct partial_die_info *find_partial_die (sect_offset sect_off);
-
   /* Get the buildsym_compunit for this CU.  */
   buildsym_compunit *get_builder ();
 };
-- 
2.30.2


             reply	other threads:[~2022-11-26 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 12:23 Philippe Waroquiers [this message]
2022-11-26 12:23 ` [PUSHED 2/2] Fix jump on uninit producer_is_clang bit of cu.h dwarf2_cu struct Philippe Waroquiers

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=20221126122358.1168620-1-philippe.waroquiers@skynet.be \
    --to=philippe.waroquiers@skynet.be \
    --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).