From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CFCC53858C78; Fri, 9 Jun 2023 21:52:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFCC53858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686347562; bh=3SExhvRRMtxoOySH6OxoRU/yN65wQc6sbk0O/HmepA8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kJ0Ju5pwZnKlhsDmfeBr4lzDiBYC6JW/f6QtcbLSOPpaJ7R4GbJwTQKKy45uaL1yZ L3WM66vkQ0JR29LYB5rvIowSPu/FIoe9zw+yzgyWRixeVG4qCx7hl39bUR3JIWiJ5+ A5ETGTDxuolLyjf1X1MNO4w3EQaXC1ll3pl34FoE= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30511] feature: set sysroot and file by default for attached containerized processes Date: Fri, 09 Jun 2023 21:52:42 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 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=3D30511 --- Comment #6 from Tom Tromey --- BTW which version of gdb are you using? I'm not sure how to set up to try this out, but the code seems to be there. e.g., linux_proc_pid_to_exec_file does: xsnprintf (name, PATH_MAX, "/proc/%d/exe", pid); len =3D readlink (name, buf, PATH_MAX - 1); --=20 You are receiving this mail because: You are on the CC list for the bug.=