public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/100446] New: GDB has problems reading GCC's debugging info level -g3
@ 2021-05-06 10:33 rdiezmail-gcc at yahoo dot de
  2021-05-06 11:14 ` [Bug debug/100446] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rdiezmail-gcc at yahoo dot de @ 2021-05-06 10:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100446

            Bug ID: 100446
           Summary: GDB has problems reading GCC's debugging info level
                    -g3
           Product: gcc
           Version: 10.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rdiezmail-gcc at yahoo dot de
  Target Milestone: ---

GDB has excessive CPU load and memory usage with -g3 debug info. Sometimes it
makes GDB unusable.

There are problems with debug (non LTO) builds, but most issues come with when
building with LTO, like for example missing or weird C++ symbols. The release
ELF seems to have lost most C++ symbols, and there are many entries like this:

00010d6b l       .debug_info    00000000 
00010d6b l       .debug_info    00000000 
00010d6b l       .debug_info    00000000 
00010d6b l       .debug_info    00000000 

More details about this problem are here:

https://sourceware.org/bugzilla/show_bug.cgi?id=27754

It looks like a GCC issue, and not a GDB issue.

I asked in the mailing list but got no answer at all:

https://gcc.gnu.org/pipermail/gcc-help/2021-April/140221.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-04-19 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 10:33 [Bug other/100446] New: GDB has problems reading GCC's debugging info level -g3 rdiezmail-gcc at yahoo dot de
2021-05-06 11:14 ` [Bug debug/100446] " rguenth at gcc dot gnu.org
2021-05-06 11:33 ` rguenth at gcc dot gnu.org
2021-05-06 11:43 ` rdiezmail-gcc at yahoo dot de
2021-05-06 11:51 ` rguenth at gcc dot gnu.org
2021-05-06 12:31 ` rdiezmail-gcc at yahoo dot de
2021-05-10 20:33 ` tromey at gcc dot gnu.org
2021-05-12 20:49 ` simon.marchi at polymtl dot ca
2022-04-19 20:55 ` tromey at gcc dot gnu.org

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).