From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59741 invoked by alias); 7 May 2015 09:23:08 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 59687 invoked by uid 48); 7 May 2015 09:23:07 -0000 From: "gbenson at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/18368] gdb with nsenter attaches to wrong process Date: Thu, 07 May 2015 09:23:00 -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: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gbenson at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00238.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18368 Gary Benson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Gary Benson --- (In reply to Raghavendra from comment #4) > So, I did try with namespaces branch and it works great. [snip] Great! > a) I also verified this from inside container by installing gdb there. > (You need a privileged container for that which is strange). What error do you get if the container isn't privileged? > b) It still shows the warning - "warning: Target and debugger are in > different PID namespaces; thread lists and other data are likely > unreliable", is it still required? I'm not sure. The way libthread_db works I think everything should be consistent, but I'm still experimenting. > c) Also, -Werror build fails for that branch: > https://github.com/gbenson/binutils-gdb/issues/1 I'll look into it. I'm closing this bug now (the original issue isn't a GDB bug) but we can carry on discussing things here. -- You are receiving this mail because: You are on the CC list for the bug.