]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Test ability to access unwritten-to mmap data in core file
authorKevin Buettner <kevinb@redhat.com>
Thu, 5 Mar 2020 00:42:43 +0000 (17:42 -0700)
committerKevin Buettner <kevinb@redhat.com>
Wed, 22 Jul 2020 19:40:42 +0000 (12:40 -0700)
commit94c265d790b88e691b9ea0173b7000a54a3eb0a0
tree7b2f89ac2df9e5b3550e0d9720a2080876b2ea86
parent2735d4218ea81ea83458007a80e4132fa6e73668
Test ability to access unwritten-to mmap data in core file

gdb/testsuite/ChangeLog:

PR corefiles/25631
* gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
New test.
* gdb.base/coremaker.c (buf3): New global.
(mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
flags.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/corefile.exp
gdb/testsuite/gdb.base/coremaker.c