Implement support for checking /proc/PID/coredump_filter
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 51135cf0b6a7eac1129ded7784abc29f83f9346e..0416305f40ab148e9adc377c1816d7cce3021f66 100644 (file)
@@ -1,3 +1,27 @@
+2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Oleg Nesterov  <oleg@redhat.com>
+
+       PR corefiles/16092
+       * linux-tdep.c: Include 'gdbcmd.h' and 'gdb_regex.h'.
+       New enum identifying the various options of the coredump_filter
+       file.
+       (struct smaps_vmflags): New struct.
+       (use_coredump_filter): New variable.
+       (decode_vmflags): New function.
+       (mapping_is_anonymous_p): Likewise.
+       (dump_mapping_p): Likewise.
+       (linux_find_memory_regions_full): New variables
+       'coredumpfilter_name', 'coredumpfilterdata', 'pid', 'filterflags'.
+       Removed variable 'modified'.  Read /proc/<PID>/smaps file; improve
+       parsing of its information.  Implement memory mapping filtering
+       based on its contents.
+       (show_use_coredump_filter): New function.
+       (_initialize_linux_tdep): New command 'set use-coredump-filter'.
+       * NEWS: Mention the possibility of using the
+       '/proc/PID/coredump_filter' file when generating a corefile.
+       Mention new command 'set use-coredump-filter'.
+
 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * solib-svr4.c (solib_svr4_r_ldsomap): Catch possible exception by
This page took 0.026312 seconds and 4 git commands to generate.