Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [pushed] Remove obsolete comment from elfread.c
Date: Mon, 23 Nov 2026 12:26:06 -0700	[thread overview]
Message-ID: <20261123192606.2030352-1-tom@tromey.com> (raw)

I stumbled over a comment in elfread.c that refers to mdebug
installing minsyms.  This no longer happens, so this patch removes the
obsolete comment.
---
 gdb/elfread.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gdb/elfread.c b/gdb/elfread.c
index 0e810da65ba..0a738aa6335 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -1181,10 +1181,7 @@ elf_read_minimal_symbols (struct objfile *objfile, int symfile_flags,
     }
 
   /* Install any minimal symbols that have been collected as the current
-     minimal symbols for this objfile.  The debug readers below this point
-     should not generate new minimal symbols; if they do it's their
-     responsibility to install them.  "mdebug" appears to be the only one
-     which will do this.  */
+     minimal symbols for this objfile.  */
 
   reader.install ();
 
-- 
2.49.0


                 reply	other threads:[~2026-11-23 19:27 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=20261123192606.2030352-1-tom@tromey.com \
    --to=tom@tromey.com \
    --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