From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15843 invoked by alias); 12 May 2003 18:19:38 -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 4570 invoked from network); 12 May 2003 18:17:39 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 12 May 2003 18:17:39 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3p2/8.9.3) with ESMTP id OAA11213 for ; Mon, 12 May 2003 14:14:22 -0400 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id OAA08692 for ; Mon, 12 May 2003 14:17:38 -0400 Message-ID: <16b401c318b2$c4ced340$0202040a@catdog> From: "Kris Warkentin" To: "Gdb-Patches@Sources.Redhat.Com" Subject: [patch] remove pointless call. Date: Mon, 12 May 2003 18:19:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-05/txt/msg00184.txt.bz2 Okay to apply? The TARGET_FIND_AND_OPEN_SOLIB removes the need for this call. cheers, Kris 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 ----