Re: Two observations using GDB 13 snapshot

Eli Zaretskii via Gdb-patches
2022-12-19T12:48:32Z

> Date: Mon, 19 Dec 2022 10:07:27 +0000
> From: Luis Machado <luis.machado@arm.com>
>
> On 12/17/22 17:42, Eli Zaretskii via Gdb-patches wrote:
> > Using the latest snapshot of GDB 13 (MinGW build on native Windows), I
> > see some strange behavior I've not seen with previous versions:
> >
> > . Very long time to read symbols. E.g., reading symbols of its own
> > binary takes a whopping 2 minutes. GDB 12.1 does the same in
> > under 10 seconds.
>
> There used to be a dwarf performance regression, but from looking at the bug (https://sourceware.org/bugzilla/show_bug.cgi?id=29105), it seems to be fixed.
>
> I'm not sure if it manifests differently on MinGW.

This build is without std::thread. Maybe it's related?

Does GDB 13 read DWARF debug info significantly differently than
previous versions?

Do you see this on GNU/Linux, when debugging GDB with itself, if you
disable multithreaded DWARF reading?

Thanks.