From: Gary Benson <gbenson@redhat.com>
To: gdb-patches@sourceware.org
Cc: Eli Zaretskii <eliz@gnu.org>, Pedro Alves <palves@redhat.com>,
Doug Evans <dje@google.com>
Subject: Re: [PATCH 6/9 v2] Implement mount namespace support for native Linux targets
Date: Tue, 09 Jun 2015 13:20:00 -0000 [thread overview]
Message-ID: <1433856036-28789-1-git-send-email-gbenson@redhat.com> (raw)
In-Reply-To: <001a11356bf44269fc0516ee4bd0@google.com>
Doug Evans wrote:
> Gary Benson writes:
> > This commit allows GDB to access executables and shared libraries
> > on native Linux targets where GDB and the inferior have different
> > mount namespaces.
> >
> > gdb/ChangeLog:
> >
> > * linux-nat.c (nat/linux-namespaces.h): New include.
> > (fileio.h): Likewise.
> > (linux_nat_filesystem_is_local): New function.
> > (linux_nat_fileio_pid_of): Likewise.
> > (linux_nat_fileio_open): Likewise.
> > (linux_nat_fileio_readlink): Likewise.
> > (linux_nat_fileio_unlink): Likewise.
> > (linux_nat_add_target): Initialize to_filesystem_is_local,
> > to_fileio_open, to_fileio_readlink and to_fileio_unlink.
> > (_initialize_linux_nat): New "set/show debug lin-ns" commands.
> > * NEWS: Mention new "set/show debug lin-ns" commands.
>
> Nit: "set debug" options need a doc entry.
> [I didn't see it in another patch.
Eli, is this ok? (Not as a standalone patch, I'll merge it...)
Thanks,
Gary
--
gdb/doc/ChangeLog:
* gdb.texinfo (Debugging Output): Document the "set/show debug
linux-namespaces" command.
---
gdb/doc/ChangeLog | 5 +++++
gdb/doc/gdb.texinfo | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9ea846a..e1f2e58 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -23484,6 +23484,11 @@ Displays the current state of @value{GDBN} JIT debugging.
Turns on or off debugging messages from the Linux LWP debug support.
@item show debug lin-lwp
Show the current state of Linux LWP debugging messages.
+@item set debug linux-namespaces
+@cindex @sc{gnu}/Linux namespaces debug messages
+Turns on or off debugging messages from the Linux namespaces debug support.
+@item show debug linux-namespaces
+Show the current state of Linux namespaces debugging messages.
@item set debug mach-o
@cindex Mach-O symbols processing
Control display of debugging messages related to Mach-O symbols
--
1.7.1
next prev parent reply other threads:[~2015-06-09 13:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 21:00 Doug Evans
2015-05-27 10:18 ` Gary Benson
2015-06-09 13:20 ` Gary Benson [this message]
2015-06-09 14:32 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2015-04-16 12:19 [PATCH 0/7] GNU/Linux mount namespace support Gary Benson
2015-04-30 12:06 ` [PATCH 6/9 v2] Implement mount namespace support for native Linux targets Gary Benson
2015-04-30 16:24 ` Eli Zaretskii
2015-04-30 18:05 ` Gary Benson
2015-05-21 14:59 ` Pedro Alves
2015-05-27 10:16 ` Gary Benson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1433856036-28789-1-git-send-email-gbenson@redhat.com \
--to=gbenson@redhat.com \
--cc=dje@google.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox