This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix Solaris gcore / shared libraries interaction
On Sun, Nov 22, 2009 at 03:34:21PM +0100, Jan Kratochvil wrote:
> Isn't suitable the GDB change for the core file loading never replied here?
> [patch] Fix GNU/Linux core open: Can't read pathname for load map: Input/output error.
> http://sourceware.org/ml/gdb-patches/2009-10/msg00142.html
No. In that patch, the name of one DSO (the vDSO) is in another DSO
(ld.so). In the Solaris case, the name of ld.so is in its own
read-only segment. So if you don't dump that page into the core file,
no matter how you iterate you will never find the path to ld.so.
--
Daniel Jacobowitz
CodeSourcery