We are using a private module to dump a corefile which uses the kernel utility elf_core_dump
in source/fs/binfmt_elf.c
file in kernel source 4.4.52.
Using this module we are getting a core of unlimited size. We use ARM gdb version "GNU gdb (Marvell GCC development 20170123-) 7.10.0.20150918-cvs" to debug a core file.
Using this tool, while opening core file we get the following error:
BFD: Warning: /tmp/filewXU3ip is truncated: expected core file size >= 1684632832, found: 102373296.
warning: Couldn't find general-purpose registers in core file.
warning: Couldn't find general-purpose registers in core file.
PC not available
Could someone please help us to get through this error? Do we need to do some other implementation for this in kernel apart from exporting necessary symbols?
df -h
?