From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22021 invoked by alias); 22 Nov 2009 14:35:21 -0000 Received: (qmail 22013 invoked by uid 22791); 22 Nov 2009 14:35:20 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Nov 2009 14:34:31 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAMEYNFq002896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Nov 2009 09:34:23 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAMEYLu3027496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Nov 2009 09:34:23 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nAMEYLqT018989; Sun, 22 Nov 2009 15:34:21 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nAMEYLRh018988; Sun, 22 Nov 2009 15:34:21 +0100 Date: Sun, 22 Nov 2009 14:35:00 -0000 From: Jan Kratochvil To: "Joseph S. Myers" Cc: gdb-patches@sourceware.org Subject: Re: Fix Solaris gcore / shared libraries interaction Message-ID: <20091122143421.GA18630@host0.dyn.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes 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/msg00473.txt.bz2 Hi Joseph, On Sat, 21 Nov 2009 01:10:27 +0100, Joseph S. Myers wrote: > With some versions of the Solaris 10 dynamic linker, if you create a > core file with GDB's gcore command and then load that core file into > GDB, you get warnings of the form > > warning: Can't read pathname for load map: I/O error. The exactly the same problem+reasons affects not only GNU/Linux gcore but also native kernel core dumps: * glibc insists its behavior is correct http://sourceware.org/ml/libc-alpha/2009-10/msg00001.html * 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 Thanks, Jan