This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Announce new container-awareness features for GNU/Linux systems
- From: Gary Benson <gary at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 10 Jun 2015 13:36:23 -0000
- Subject: [binutils-gdb] Announce new container-awareness features for GNU/Linux systems
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=51aad7cc44161ebbd2eea80647391c692ae330ac
commit 51aad7cc44161ebbd2eea80647391c692ae330ac
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Jun 10 14:28:44 2015 +0100
Announce new container-awareness features for GNU/Linux systems
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.
Diff:
---
gdb/ChangeLog | 6 ++++++
gdb/NEWS | 7 +++++++
2 files changed, 13 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8598352..55b7d4f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2015-06-10 Gary Benson <gbenson@redhat.com>
+ * NEWS: Announce support for direct access of executable and
+ shared library files when attaching to inferiors in containers
+ on GNU/Linux systems.
+
+2015-06-10 Gary Benson <gbenson@redhat.com>
+
* remote.c (struct remote_state) <fs_pid>: New field.
(new_remote_state): Initialize the above.
(PACKET_vFile_setfs): New enum value.
diff --git a/gdb/NEWS b/gdb/NEWS
index 23f20a7..132d444 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -52,6 +52,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.
+
* Guile Scripting
** Memory ports can now be unbuffered.