public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Fix BZ 25631 - core file memory access problem
@ 2020-06-18  4:08 Kevin Buettner
  2020-06-18  4:08 ` [PATCH v3 1/9] Remove hack for GDB which sets the section size to 0 Kevin Buettner
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Kevin Buettner @ 2020-06-18  4:08 UTC (permalink / raw)
  To: gdb-patches

Nick Clifton has approved patch #1.  It hasn't changed since approval.

I think that Pedro is okay with patch #2, #4, and #5.  They haven't
changed for this v3 series.

I made the updates that Pedro requested for patch #3, but it should
probably be reviewed again just to make sure that I didn't mess
anything up.

Patch #6 is new, but it will need approval from a binutils maintainer. 
I'll attempt to CC it to that list.

Patch #7 is new and will definitely require careful review.

Patches #8 and #9 are also new.  They add new tests for the cases
which #7 now handles.

So, in summary, patches #3, #7, #8, and #9 should be reviewed by a GDB
maintainer.  Patch #6 requires approval by a binutils maintainer.

Kevin Buettner (9):
  1) Remove hack for GDB which sets the section size to 0
  2) Adjust corefile.exp test to show regression after bfd hack removal
  3) section_table_xfer_memory: Replace section name with callback
     predicate
  4) Provide access to non SEC_HAS_CONTENTS core file sections
  5) Test ability to access unwritten-to mmap data in core file
  6) Update binary_get_section_contents to seek using section's file
     position
  7) Use NT_FILE note section for reading core target memory
  8) Add test for accessing read-only mmapped data in a core file
  9) New core file tests with mappings over existing program memory

 bfd/binary.c                         |   12 +-
 bfd/elf.c                            |    8 -
 gdb/bfd-target.c                     |    3 +-
 gdb/corelow.c                        |  239 ++-
 gdb/exec.c                           |    8 +-
 gdb/exec.h                           |   13 +-
 gdb/target.c                         |   18 +-
 gdb/testsuite/gdb.base/corefile.exp  |   24 +-
 gdb/testsuite/gdb.base/corefile2.exp |  115 ++
 gdb/testsuite/gdb.base/coremaker.c   |   30 +-
 gdb/testsuite/gdb.base/coremaker2.c  | 2178 ++++++++++++++++++++++++++
 11 files changed, 2610 insertions(+), 38 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/corefile2.exp
 create mode 100644 gdb/testsuite/gdb.base/coremaker2.c

-- 
2.26.2


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

end of thread, other threads:[~2020-06-25 14:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18  4:08 [PATCH v3 0/9] Fix BZ 25631 - core file memory access problem Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 1/9] Remove hack for GDB which sets the section size to 0 Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 2/9] Adjust corefile.exp test to show regression after bfd hack removal Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 3/9] section_table_xfer_memory: Replace section name with callback predicate Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 4/9] Provide access to non SEC_HAS_CONTENTS core file sections Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 5/9] Test ability to access unwritten-to mmap data in core file Kevin Buettner
2020-06-25 14:32   ` Pedro Alves
2020-06-18  4:08 ` [PATCH v3 6/9] Update binary_get_section_contents to seek using section's file position Kevin Buettner
2020-06-18 10:25   ` Nick Clifton
2020-06-18  4:08 ` [PATCH v3 7/9] Use NT_FILE note section for reading core target memory Kevin Buettner
2020-06-25 14:11   ` Pedro Alves
2020-06-18  4:08 ` [PATCH v3 8/9] Add test for accessing read-only mmapped data in a core file Kevin Buettner
2020-06-18  4:08 ` [PATCH v3 9/9] New core file tests with mappings over existing program memory Kevin Buettner
2020-06-24  2:44   ` Kevin Buettner
2020-06-25 14:12     ` Pedro Alves
2020-06-25 14:15 ` [PATCH v3 0/9] Fix BZ 25631 - core file memory access problem Pedro Alves

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