From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B97233857C66; Sun, 4 Jun 2023 22:48:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B97233857C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685918912; bh=jBWDUyFXpqymecwjM2DCziGYyasQQAtcnSVNbytPqio=; h=From:To:Subject:Date:From; b=e2vW4MQzliadxYybAU10eTNKn4B+Ak9hnDNGzajwTqMEx5gVGXmp5g2TlfkFSgHmr h2mR/MxN9LJ1zyJX8BMhUCOR87m8KwxIkfjD7PFWMcHRRzZdpVwdMyk+oEK7F8K/KS yEirlLYmYtZ2UXI2xR4g8QIii95hAak/TT+psVqg= From: "two at envs dot net" To: gdb-prs@sourceware.org Subject: [Bug symtab/30511] New: feature: set sysroot and file by default for attached containerized processes Date: Sun, 04 Jun 2023 22:48:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: two at envs dot net 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 30511 Summary: feature: set sysroot and file by default for attached containerized processes Product: gdb Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: two at envs dot net Target Milestone: --- after starting gdb with `gdb --attach PID` for a process running in a diffe= rent root (such as a flatpak), it's necessary to do `set sysroot /proc/PID/root`= and `set file /proc/PID/exe` to get debug symbols. can this be done by default? --=20 You are receiving this mail because: You are on the CC list for the bug.=