This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix Solaris gcore / shared libraries interaction


On Sun, 22 Nov 2009, Jan Kratochvil wrote:

> * core dumping in Linux kernel could be fixed but a patch containing similar
>   deep understanding of link_map was already rejected before so I doubt this
>   one would get accepted.
> 
> 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

On older GDB sources, I observed more warnings than those I quoted:

warning: Can't read pathname for load map: I/O error.
Reading symbols from /lib/64/libc.so.1...done.
Loaded symbols for /lib/64/libc.so.1

warning: Can't read pathname for load map: I/O error.

warning: Unable to find dynamic linker.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

and "info shared" repeated the warning and did not show the dynamic 
linker, which suggested that things needed to be fixed so it could find 
this path, rather than just suppressing a warning.

For some reason, current FSF GDB sources do not produce all these extra 
warnings.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]