Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed] Remove obsolete comment from elfread.c
@ 2026-11-23 19:26 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-11-23 19:26 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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


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

only message in thread, other threads:[~2026-11-23 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 19:26 [pushed] Remove obsolete comment from elfread.c Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox