* gdb8.2 works very slow when running gcc11.2 binaries
@ 2024-05-22 6:12 Bar, Yaniv
0 siblings, 0 replies; only message in thread
From: Bar, Yaniv @ 2024-05-22 6:12 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
Hi,
I recently upgrade my gcc-tool-set from gcc-8 (8.5) to gcc-11 (11.2) on my Centos8 stream VM.
I noticed that GDB (8.2) works very slowly during load the binary and setting a breakpoint.
I see 1 or 2 cpu cores in 100% utilization and RAM jump by 2GB and rising slowly without stopping.
Other notes
- Code: C and C++ 17.
- Makefile is the same for GCC 8 and 11. Same flags, same Optimization...nothing was changed.
- dwarf: 2 (using dwarf 5 didn't help)
- Upgrade to GDB 10.2 didn't help.
- Beside install toolset-11, nothing was changed in environment.
- I noticed that the gcc11 binary and debug_info is smaller than gcc8
Are you familiar with such issues,
Can you assist?
Regards,
Yaniv Bar
Internal Use - Confidential
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-22 6:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 6:12 gdb8.2 works very slow when running gcc11.2 binaries Bar, Yaniv
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).