From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE6DC3858CDB; Fri, 10 Nov 2023 15:09:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE6DC3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699628996; bh=oWvG9d8wfOTFlph0GKaQoMXUBhmCY+H2AiG2W+aGlT4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HzSI4C2L6NF0xxLjY4+xXXYMUiRF8dZli42ZwKRGWYZesi4ZWoGnOr07yoE4N1yan aEWmM+PKc3JUpisI0/phO4pkwjO49qj49jFZ7c9jGBNAw7stAefaajNYfdiYzU8QJn sDYxydcpkNNdQF0J1Cz9TKJ5eiqFWc9W3ybcV+8g= From: "aditya24.garg at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31048] GDB commands very slow due to too many lseek calls Date: Fri, 10 Nov 2023 15:09:55 +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: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aditya24.garg 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31048 --- Comment #2 from Aditya Garg --- I had BOOST_FORCEINLINE around 90% of the functions which were all member functions to some template class. Once i removed BOOST_FORCEINLINE keyword,= gdb ptype/print issue got resolved. Size of the so files is still the same as before. I can't understand why force inlining might cause gdb slowness. Any thoughts? --=20 You are receiving this mail because: You are on the CC list for the bug.=