From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BCB5D384145E; Fri, 3 Jun 2022 20:31:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCB5D384145E From: "rajpal.gusain at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29188] gdb too slow and hogs memory for debug binary generated with gcc 11.2 Date: Fri, 03 Jun 2022 20:31:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: rajpal.gusain at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2022 20:31:16 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29188 --- Comment #9 from gusain --- (In reply to gusain from comment #8) > (In reply to Simon Marchi from comment #5) > > Well, your backtraces do show GDB reading macro information, so there's > > gotta be some somewhere. > >=20 > > Actually, you can turn on: > >=20 > > (gdb) set debug dwarf-read 1 > >=20 > > prior to running your experiment. You should get some messages like th= is, > > that will help you know which CU in which file GDB is slow at reading: > >=20 > > [dwarf-read] process_queue: Expanding one or more symtabs of objfile > > /home/simark/build/binutils-gdb-one-target/gdb/gdb ... > > [dwarf-read] process_queue: Expanding symtab of CU at offset 0x1054 >=20 >=20 > Thanks, and yes now it prints and appears to be stuck when I try breakpoi= nt > completion by hitting tab after name hint >=20 > [dwarf-read] process_queue: Expanding symtab of CU at offset 0x5d2cd20 > [dwarf-read] process_queue: Done expanding CU at offset 0x5d2cd20 > [dwarf-read] process_queue: Done expanding symtabs of . > [dwarf-read] process_queue: Expanding one or more symtabs of objfile > ... > [dwarf-read] process_queue: Expanding symtab of CU at offset 0x3644296 > [dwarf-read] process_queue: Done expanding CU at offset 0x3644296 > [dwarf-read] process_queue: Done expanding symtabs of . > [dwarf-read] process_queue: Expanding one or more symtabs of objfile > ... > [dwarf-read] process_queue: Expanding symtab of CU at offset 0x2cc08bb > [dwarf-read] process_queue: Done expanding CU at offset 0x2cc08bb > [dwarf-read] process_queue: Done expanding symtabs of . > [dwarf-read] process_queue: Expanding one or more symtabs of objfile > ... > [dwarf-read] process_queue: Expanding symtab of CU at offset 0x18f13e > [dwarf-read] process_queue: Done expanding CU at offset 0x18f13e > [dwarf-read] process_queue: Done expanding symtabs of . Is there any other information I can get to confirm it's same as other issue you mentioned ? --=20 You are receiving this mail because: You are on the CC list for the bug.=