This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Fix BZ 25631 - core file memory access problem
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Kevin Buettner <kevinb at redhat dot com>
- Date: Wed, 4 Mar 2020 17:42:39 -0700
- Subject: [PATCH 0/4] Fix BZ 25631 - core file memory access problem
This series fixes a bug with accessing memory from (described by) core
files.
The bug can be viewed here...
https://sourceware.org/bugzilla/show_bug.cgi?id=25631
...though I also provide similar details in part 3 of this series.
Kevin Buettner (4):
Remove hack for GDB which sets the section size to 0
Add function for partitioning/splitting a section table
Provide access to non SEC_HAS_CONTENTS core file sections
Test ability to access unwritten-to mmap data in core file
bfd/elf.c | 8 ---
gdb/corelow.c | 80 ++++++++++++++++++++++++++---
gdb/exec.c | 55 ++++++++++++++++++++
gdb/exec.h | 13 +++++
gdb/testsuite/gdb.base/corefile.exp | 6 +++
gdb/testsuite/gdb.base/coremaker.c | 10 ++++
6 files changed, 157 insertions(+), 15 deletions(-)
--
2.24.1