From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2C37385E000; Thu, 9 Nov 2023 13:19:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2C37385E000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699535977; bh=p+CjtjWvaHqRVrW4Prm+qaRqd+WgTPxsPpAhIRcLO2c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Geuh5NTgO5LM5ccucnA2JGg39RXi0+jxImgsniiJVHMKqVmlrVncMWTiRrthlSQW7 uguHczqbtj+QVHf6TNso2U90U69o9xFa5HOj2I2HqWKD75Vs72cG9lAodrnO6t4G7S CrfN5S7Dw8V3mw9cR4FvWsuyger58oIgsajSKd7g= 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: Thu, 09 Nov 2023 13:19:37 +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 #1 from Aditya Garg --- Regarding this:=20 ``` Interesting fact: When i execute ptype . It takes 1 minute to run when current frame selected (lets say frame 5) is from file1.so. And if i g= o to frame 10 which belongs to file2.so, then same ptype command executes in 5 seconds. All the changes i have made are for file2.so and no change has been made to file1.so implementation. ``` Did some more investigation and found out that frame 5 and 10 belong to the same so file. My bad. --=20 You are receiving this mail because: You are on the CC list for the bug.=