From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20500 invoked by alias); 6 Aug 2008 13:06:26 -0000 Received: (qmail 20491 invoked by uid 22791); 6 Aug 2008 13:06:26 -0000 X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Aug 2008 13:05:46 +0000 Received: by yw-out-1718.google.com with SMTP id 9so1855684ywk.48 for ; Wed, 06 Aug 2008 06:05:43 -0700 (PDT) Received: by 10.151.40.3 with SMTP id s3mr3372836ybj.66.1218027943629; Wed, 06 Aug 2008 06:05:43 -0700 (PDT) Received: by 10.151.50.6 with HTTP; Wed, 6 Aug 2008 06:05:43 -0700 (PDT) Message-ID: <1e3eba760808060605u63f6d2d0pe9b5fdc44f2bbfe4@mail.gmail.com> Date: Wed, 06 Aug 2008 13:06:00 -0000 From: "Randolph Chung" To: "John David Anglin" Subject: Re: [patch] Fixed shared library handling in solib-pa64.c Cc: gdb-patches@sourceware.org In-Reply-To: <20080805221125.A7C2F4E4A@hiauly1.hia.nrc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080805221125.A7C2F4E4A@hiauly1.hia.nrc.ca> 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: 2008-08/txt/msg00112.txt.bz2 On Tue, Aug 5, 2008 at 3:11 PM, John David Anglin wrote: > The change below fixes the problem referred to in the NEWS file regarding > the hppa64-hp-hpux11* target. The problem was a NULL load map pointer was > being passed in the dlgetmodinfo and dlgetname calls. This was causing > pa64_target_read_memory() to return 0, and as a result the dlgetmodinfo > call was failing. > > It's not entirely clear why the code to find the load map was failing > but I believe it is because the dynamic loader had not initialized the > map at the time the call to find the map was made. I'm sure this worked at one point, but if we can rely on the OS libraries to do the read it does seem like the right thing to do. Please commit. randolph