From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E44853858C54; Wed, 6 Apr 2022 17:01:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E44853858C54 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/23764] Python Objfile.filename documentation does not match behavior (symlinks) Date: Wed, 06 Apr 2022 17:01:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on everconfirmed bug_status 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: Wed, 06 Apr 2022 17:01:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23764 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-04-06 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Tom Tromey --- I think what happened here is that bug #15415 changed gdb to only partly resolve the objfile's names. And in bug #24143, I'm considering extending this a bit more. We could make '.filename' do the resolution itself. But it may be better to just leave it and update the docs, on the theory that access to gdb's idea of what is going on may be valuable, and Python code can easily call realpath on its own. --=20 You are receiving this mail because: You are on the CC list for the bug.=