This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Fwd: Question regarding core dump debugging using gdb on armv4
- From: Abhijit Ray Chaudhury <abhijit dot ray dot chaudhury at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 4 Apr 2013 09:00:30 +0530
- Subject: Fwd: Question regarding core dump debugging using gdb on armv4
- References: <CAACKNgWzC9t=OeO1N=EpoDGHtb5L6HssehYmEBJEuLC71O9hmQ at mail dot gmail dot com> <CAACKNgVpk_JE_vOnB+3D3XVh=mE7Gww8nKpWQ3JOYwzmnXsApQ at mail dot gmail dot com>
Hi ,
I am trying to reduce core dump size on target running linux . The
processor is armv4 family. I tweak elf_core_dump function of linux
kernel 2.6.23.
I tweaked the kernel to dump only elf note, registers and stack
segments of the running process.
But gdb fails to load required shared object files and fails to give
the backtraces of the running process.
Could you please help me ascertain how gdb loads the required
libraries from the core dump. Which ELF section of the core contains
the information ?
Thanks in Advance,
-Abhijit