[9/9,v2] Announce new container-awareness features for GNU/Linux systems

Message ID 1430395542-16017-10-git-send-email-gbenson@redhat.com
State New, archived
Headers

Commit Message

Gary Benson April 30, 2015, 12:05 p.m. UTC
  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(-)
  

Comments

Eli Zaretskii April 30, 2015, 2:12 p.m. UTC | #1
> From: Gary Benson <gbenson@redhat.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, Pedro Alves <palves@redhat.com>,
>         Doug Evans <dje@google.com>,
>         Iago López Galeiras <iago@endocode.com>
> Date: Thu, 30 Apr 2015 13:05:42 +0100
> 
> 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.
> +

OK.
  

Patch

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",