From patchwork Thu Apr 30 12:05:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 6507 Received: (qmail 66807 invoked by alias); 30 Apr 2015 12:45:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 66786 invoked by uid 89); 30 Apr 2015 12:45:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 30 Apr 2015 12:45:18 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3UC5oYM017374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Apr 2015 08:05:51 -0400 Received: from blade.nx (ovpn-116-76.ams2.redhat.com [10.36.116.76]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3UC5nll016477; Thu, 30 Apr 2015 08:05:50 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id 4DB63263E99; Thu, 30 Apr 2015 13:05:48 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Cc: Eli Zaretskii , Pedro Alves , Doug Evans , =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= Subject: [PATCH 9/9 v2] Announce new container-awareness features for GNU/Linux systems Date: Thu, 30 Apr 2015 13:05:42 +0100 Message-Id: <1430395542-16017-10-git-send-email-gbenson@redhat.com> In-Reply-To: <1429186791-6867-1-git-send-email-gbenson@redhat.com> References: <1429186791-6867-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes This commit announces the newly added ability to directly access executable and shared library files when attaching to processes running in containers on GNU/Linux systems. gdb/ChangeLog: * NEWS: Announce support for direct access of executable and shared library files when attaching to inferiors in containers on GNU/Linux systems. --- gdb/ChangeLog | 6 ++++++ gdb/NEWS | 7 +++++++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index b4ce282..ba4fcf3 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -46,6 +46,13 @@ * GDB now supports the vector ABI on S/390 GNU/Linux targets. +* On GNU/Linux, GDB and gdbserver are now able to access executable + and shared library files without a "set sysroot" command when + attaching to processes running in different mount namespaces from + the debugger. This makes it possible to attach to processes in + containers as simply as "gdb -p PID" or "gdbserver --attach PID". + See "New remote packets" below. + * Python Scripting ** gdb.Objfile objects have a new attribute "username",