gdb8.2 works very slow when running gcc11.2 binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux