From: Sergio Durigan Junior <sergiodj@redhat.com>
To: GDB Patches <gdb-patches@sourceware.org>
Cc: Pedro Alves <palves@redhat.com>,
Sergio Durigan Junior <sergiodj@redhat.com>
Subject: [PATCH v4 0/2] Improve corefile generation by using /proc/PID/coredump_filter (PR corefile/16902)
Date: Thu, 19 Mar 2015 23:22:00 -0000 [thread overview]
Message-ID: <1426807358-18295-1-git-send-email-sergiodj@redhat.com> (raw)
This version of the patches incorporates changes suggested by Pedro.
I simplified the patch a lot, and withdrawed some parts of it. For
example, I am not including a new 'enum memory_mapping_state', nor am I
changing the current behavior/implementation of gcore_create_callback.
IOW, I focused my changes on the Linux portion of the patch, and on the
problem that I am trying to solve: make GDB take the value of
/proc/PID/coredump_filter into consideration when dumping a corefile.
As I explained in
<https://sourceware.org/ml/gdb-patches/2015-03/msg00607.html>, I still
think gcore_create_callback and its callers should be updated, but I
am not proposing this here anymore. Hopefully, this will make the patch
easier to be approved.
Comments?
Sergio Durigan Junior (2):
Implement support for checking /proc/PID/coredump_filter
Documentation and testcase
gdb/doc/gdb.texinfo | 33 +++
gdb/linux-tdep.c | 408 +++++++++++++++++++++++++++--
gdb/testsuite/gdb.base/coredump-filter.c | 61 +++++
gdb/testsuite/gdb.base/coredump-filter.exp | 128 +++++++++
4 files changed, 602 insertions(+), 28 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/coredump-filter.c
create mode 100644 gdb/testsuite/gdb.base/coredump-filter.exp
--
1.9.3
next reply other threads:[~2015-03-19 23:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 23:22 Sergio Durigan Junior [this message]
2015-03-19 23:22 ` [PATCH 2/2] Documentation and testcase Sergio Durigan Junior
2015-03-20 19:46 ` Pedro Alves
2015-03-20 21:03 ` Sergio Durigan Junior
2015-03-20 22:09 ` Pedro Alves
2015-03-22 20:46 ` Sergio Durigan Junior
2015-03-23 20:27 ` Pedro Alves
2015-03-23 21:08 ` Sergio Durigan Junior
2015-03-23 23:06 ` Pedro Alves
2015-03-24 6:37 ` Sergio Durigan Junior
2015-03-24 10:12 ` Pedro Alves
2015-03-24 23:15 ` Sergio Durigan Junior
2015-03-24 23:48 ` Pedro Alves
2015-03-19 23:22 ` [PATCH 1/2] Implement support for checking /proc/PID/coredump_filter Sergio Durigan Junior
2015-03-20 19:12 ` Pedro Alves
2015-03-20 20:02 ` Sergio Durigan Junior
2015-03-20 22:02 ` Pedro Alves
2015-03-23 18:40 ` Sergio Durigan Junior
2015-03-23 20:36 ` Pedro Alves
2015-03-24 23:57 [PATCH v4 0/2] Improve corefile generation by using /proc/PID/coredump_filter (PR corefile/16902) Sergio Durigan Junior
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=1426807358-18295-1-git-send-email-sergiodj@redhat.com \
--to=sergiodj@redhat.com \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).