GDB Adds Multi-Threaded Symbol Loading For Faster Debugging Performance

Written by Michael Larabel in GNU on 1 December 2019 at 08:52 AM EST. 4 Comments
GNU
It's not often there are features to report on with regard to GNU Debugger (GDB) performance, but a new feature in place is multi-threaded symbol loading.

GDB can now handle multi-threaded symbol loading to yield better performance on today's multi-core systems. This feature is still in development/testing so for now is disabled by default but can be done by setting worker-threads to "unlimited" rather than the default value of 0. The worker-threads tunable controls the number of worker threads that can be used by GDB and is currently used for demangling the names of linker symbols.

This change is in place for Git and will be part of the eventual next release, presumably GDB 8.4.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week