From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D04B3858032; Mon, 24 Oct 2022 19:27:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D04B3858032 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666639651; bh=myo6ybL1q/apg4/f/+QpbOzI0jiN+rzoBdyhJjkWF+o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FyC35Gb4nOScN2W8+8LvLNIZh9rvw4PT9rU2fFbgYBo2lOkUWKWKhFqexlA5owxov mCsSksfkat7DjkKa4AGRRzGcB+unBtsHpaDOKIABvpayau323/ipaFmn0eRXR8hjbN nBhIpHyyh9E/FAtbPS6apAQ6EtcHnOoybcWHYSR8= From: "simon.marchi at polymtl dot ca" To: gdb-prs@sourceware.org Subject: [Bug symtab/29105] new DWARF reader still slow Date: Mon, 24 Oct 2022 19:27:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at polymtl dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29105 --- Comment #14 from Simon Marchi --- I was looking at another timeout failure that happens randomly on my system= , it points to this. It's from test gdb.mi/mi-var-cmd.exp: The test tries to create a varobj with expression "int". It expects GDB to error out with "Attempt to use a type name as an expression." ^error,msg=3D"-var-create: unable to create variable object" I can replicate this with: $ ./gdb -nx -q --data-directory=3Ddata-directory testsuite/outputs/gdb.mi/mi-var-cmd/mi-var-cmd -ex start (gdb) set debug dwarf-read 1 (gdb) print int ... [dwarf-read] process_queue: Expanding one or more symtabs of objfile /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug ... [dwarf-read] process_queue: Expanding symtab of CU at offset 0x480bd4=20=20= =20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding CU at offset 0x480bd4=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding symtabs of /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug.= =20=20=20=20=20=20=20 [dwarf-read] process_queue: Expanding one or more symtabs of objfile /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug ... [dwarf-read] process_queue: Expanding symtab of CU at offset 0x48cd5e=20=20= =20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding CU at offset 0x48cd5e=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding symtabs of /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug.= =20=20=20 [dwarf-read] process_queue: Expanding one or more symtabs of objfile /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug ... [dwarf-read] process_queue: Expanding symtab of CU at offset 0x498c49=20=20= =20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding CU at offset 0x498c49=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 [dwarf-read] process_queue: Done expanding symtabs of /usr/lib/debug/.build-id/69/389d485a9793dbe873f0ea2c93e02efaa9aa3d.debug. ... Attempt to use a type name as an expression The post-indexer-changes version takes a long time, expanding pretty much a= ll CUs, while the pre-indexer-changes version finishes almost instantly. --=20 You are receiving this mail because: You are on the CC list for the bug.=