From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18430 invoked by alias); 22 Nov 2009 15:12:55 -0000 Received: (qmail 18412 invoked by uid 22791); 22 Nov 2009 15:12:53 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Nov 2009 15:11:59 +0000 Received: (qmail 18116 invoked from network); 22 Nov 2009 15:11:58 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Nov 2009 15:11:58 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1NCE6W-0007Fx-Ni; Sun, 22 Nov 2009 15:11:56 +0000 Date: Sun, 22 Nov 2009 15:12:00 -0000 From: "Joseph S. Myers" To: Jan Kratochvil cc: gdb-patches@sourceware.org Subject: Re: Fix Solaris gcore / shared libraries interaction In-Reply-To: <20091122143421.GA18630@host0.dyn.jankratochvil.net> Message-ID: References: <20091122143421.GA18630@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00474.txt.bz2 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