public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Enable the user to dump all memory regions
@ 2017-11-29 10:55 Sergio Lopez
  2017-11-29 10:55 ` [PATCH v2 2/4] Document new {set,show} dump-excluded-mappings commands Sergio Lopez
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sergio Lopez @ 2017-11-29 10:55 UTC (permalink / raw)
  To: gdb-patches; +Cc: Sergio Lopez

Thanks for all the feedback received for this patchset. This second
version should address all the issues found in v1. Please let me know if
you still find something that can be improved.

=============

GDB versions prior to df8411da087dc05481926f4c4a82deabc5bc3859
unconditionally included all memory regions in the core dump.

After that change, while is still possible to ask GDB to ignore
/proc/PID/coredump_filter using the 'set use-coredump-filter' command,
there's no way to request it to dump regions marked with the VM_DONTDUMP
flag ("dd" in /proc/PID/smaps").

This patch series implement the new 'set honor-dontdump-flag' command
for GDB, and the "-a" argument for gcore, allowing the user to mimic the
behavior of previous GDB versions.

Sergio Lopez (4):
  Implement 'set dump-excluded-mappings' command
  Document new {set,show} dump-excluded-mappings commands.
  Implement "-a" command line option for gcore
  Document the new "-a" command line option for gcore

 gdb/NEWS            | 10 ++++++++++
 gdb/doc/gdb.texinfo | 21 +++++++++++++++++++--
 gdb/gcore.in        | 47 ++++++++++++++++++++++++++++++-----------------
 gdb/linux-tdep.c    | 31 ++++++++++++++++++++++++++++++-
 4 files changed, 89 insertions(+), 20 deletions(-)

-- 
2.14.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-29 17:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29 10:55 [PATCH v2 0/4] Enable the user to dump all memory regions Sergio Lopez
2017-11-29 10:55 ` [PATCH v2 2/4] Document new {set,show} dump-excluded-mappings commands Sergio Lopez
2017-11-29 17:40   ` Eli Zaretskii
2017-11-29 10:56 ` [PATCH v2 1/4] Implement 'set dump-excluded-mappings' command Sergio Lopez
2017-11-29 10:56 ` [PATCH v2 4/4] Document the new "-a" command line option for gcore Sergio Lopez
2017-11-29 17:41   ` Eli Zaretskii
2017-11-29 10:56 ` [PATCH v2 3/4] Implement " Sergio Lopez

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).