This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Adding a missing NT_FILES note to a core file so gdb can load solibs for it
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Bogdan Harjoc <harjoc at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 25 Jan 2016 17:01:06 +0100
- Subject: Re: Adding a missing NT_FILES note to a core file so gdb can load solibs for it
- Authentication-results: sourceware.org; auth=none
- References: <CAF4+tmrNC8WbrECU8jqx8cS3k_BE9kbvphc=4LYWs6WX5m_PUg at mail dot gmail dot com> <20160125142226 dot GA5665 at host1 dot jankratochvil dot net> <CAF4+tmoJO=YT8Bq_j465SpgF2oA3fFv8inEr=OhXF=q++hN0Tw at mail dot gmail dot com>
On Mon, 25 Jan 2016 16:56:53 +0100, Bogdan Harjoc wrote:
> because read_memory...() reads 0x0 from info->debug_base + lmo->r_map_offset.
>
> What I can't figure out is where the rld map should be in the core file.
This is usually because I said that most commonly the executable does not
match the one from the core file. And therefore that computed address is
bogus and statistically memory contains most probably zeroes which is what you
see, the zero.
Jan