public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Philippe Waroquiers <philippe@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] remove the declared but undefined/unused method find_partial_die
Date: Sat, 26 Nov 2022 12:23:18 +0000 (GMT)	[thread overview]
Message-ID: <20221126122318.4C9743858296@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ea118ff5b18763c3f9b3033e2c74b0d3eac4245b

commit ea118ff5b18763c3f9b3033e2c74b0d3eac4245b
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date:   Sat Nov 26 12:42:41 2022 +0100

    remove the declared but undefined/unused method find_partial_die
    
    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.

Diff:
---
 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 @@ public:
      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 ();
 };

                 reply	other threads:[~2022-11-26 12:23 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=20221126122318.4C9743858296@sourceware.org \
    --to=philippe@sourceware.org \
    --cc=gdb-cvs@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).