This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/19271] New: mmap support for gdb
- From: "smallayy at in dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 20 Nov 2015 10:19:37 +0000
- Subject: [Bug gdb/19271] New: mmap support for gdb
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19271
Bug ID: 19271
Summary: mmap support for gdb
Product: gdb
Version: 7.10
Status: NEW
Severity: enhancement
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: smallayy at in dot ibm.com
Target Milestone: ---
Created attachment 8798
--> https://sourceware.org/bugzilla/attachment.cgi?id=8798&action=edit
patch for mmap in gdb
When accessing the memory region set up by the mmap() call in the process that
crashed will result in an out-of-bounds error inside a gdb.
The actual contiguous memory contents are located within the core file in a
different segment.
Use of this new 'mmapfile' command to re-map the memory contents to the
specific address in memory where they were located when the process was
running.
This ensures that dereferencing pointers while examining the core file returns
the correct memory contents.
Attached document covers the testing with new mmap command and the patch for
mmap implementation.
I have tested this implementation in AIX for xcoff object & in X86 for
elf64-x86-64.
--
You are receiving this mail because:
You are on the CC list for the bug.