Re: parallel loading of debug info in gdb
Yubin via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAJYFCiOV1POiKnomUZOw7-SX6RqMvVeJ2f7A-L=R5EmKEukOPg@mail.gmail.com> |
On Tue, Jan 7, 2025 at 7:08 PM Luis Machado <[email protected]> wrote: > On 1/7/25 02:14, Yubin via Gdb wrote: > > Hi, > > > > Does gdb supports parallel loading of debug symbols? I am debugging some > > binary which is 3~4GB itself, and loading and parsing its debug info > takes > > minutes. > > Since a few years, gdb has had worker threads, potentially as many as cores > (physical or virtual) on the system. > > So it does support trying to read things in parallel. Unfortunately the > nature of the data limits things somewhat, as you have dependencies and > have > to look those up before proceeding further. > Yes dependency is a problem, but some dependent libs are naturally independent to be read by parallel. If there could be some way to specify this, it would be great. > I've cc-ed Tromey, which worked in this area before. > Thanks. Yubin