aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2020-06-16 11:39:22 -0700
committerKevin Buettner <kevinb@redhat.com>2020-07-22 12:47:30 -0700
commitf9e233c9c465dd4fdbfda4839c45fb624723b604 (patch)
treece95570278281575074683e5df03a8e05a01818c /gdb/linux-tdep.c
parentdb082f5979ff95409b7de7a2a96d083f2642c8c3 (diff)
downloadgdb-f9e233c9c465dd4fdbfda4839c45fb624723b604.zip
gdb-f9e233c9c465dd4fdbfda4839c45fb624723b604.tar.gz
gdb-f9e233c9c465dd4fdbfda4839c45fb624723b604.tar.bz2
Add test for accessing read-only mmapped data in a core file
This test passes when run using a GDB with my corefile patches. When run against a GDB without my patches, I see the following failures, the first of which is due to the test added by this commit: FAIL: gdb.base/corefile.exp: accessing read-only mmapped data in core file (mapping address not found in core file) FAIL: gdb.base/corefile.exp: accessing anonymous, unwritten-to mmap data gdb/testsuite/ChangeLog: * gdb.base/corefile.exp: Add test "accessing read-only mmapped data in core file". * gdb.base/coremaker.c (buf2ro): New global. (mmapdata): Add a read-only mmap mapping.
Diffstat (limited to 'gdb/linux-tdep.c')
0 files changed, 0 insertions, 0 deletions