From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17601 invoked by alias); 12 May 2003 18:57:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18207 invoked from network); 12 May 2003 18:38:42 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 12 May 2003 18:38:42 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AE4262B2F; Mon, 12 May 2003 14:38:40 -0400 (EDT) Message-ID: <3EBFEA30.3040108@redhat.com> Date: Mon, 12 May 2003 18:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: "Gdb-Patches@Sources.Redhat.Com" Subject: Re: [patch] remove pointless call. References: <16b401c318b2$c4ced340$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00186.txt.bz2 > Okay to apply? The TARGET_FIND_AND_OPEN_SOLIB removes the need for this > call. Yes (obvious?). > Changelog: > > * nto-tdep.c (fetch_core_registers): Remove redundant call to > nto_init_solib_absolute_prefix. > > RCS file: /cvs/src/src/gdb/nto-tdep.c,v > retrieving revision 1.3 > diff -c -r1.3 nto-tdep.c > *** nto-tdep.c 6 May 2003 17:13:40 -0000 1.3 > --- nto-tdep.c 12 May 2003 17:43:10 -0000 > *************** > *** 270,277 **** > { > nto_regset_t regset; > > - nto_init_solib_absolute_prefix (); > - > if (which == NTO_REG_GENERAL) > { > memcpy ((char *) ®set, core_reg_sect, > --- 270,275 ---- > >