From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3959 invoked by alias); 28 Mar 2002 20:41:50 -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 3945 invoked from network); 28 Mar 2002 20:41:48 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 28 Mar 2002 20:41:48 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA26481; Thu, 28 Mar 2002 12:41:45 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.11.6/8.11.6) id g2SKfMx27827; Thu, 28 Mar 2002 13:41:22 -0700 Date: Thu, 28 Mar 2002 12:41:00 -0000 From: Kevin Buettner Message-Id: <1020328204122.ZM27826@localhost.localdomain> In-Reply-To: Michael Snyder "Re: [patch/rfc] Delete write_fp() and friends" (Mar 28, 12:10pm) References: <3CA28E57.9080108@cygnus.com> <3CA360CB.D9D579AA@redhat.com> <1020328185523.ZM27447@localhost.localdomain> <3CA3768C.3020906@cygnus.com> <3CA378BC.A127FBDB@redhat.com> To: Michael Snyder , Andrew Cagney Subject: Re: [patch/rfc] Delete write_fp() and friends Cc: Kevin Buettner , gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00586.txt.bz2 On Mar 28, 12:10pm, Michael Snyder wrote: > > >> So what should calls to write_fp be replaced with? > > > > > > It looks to me like there was only one call to write_fp() and that > > > occurred in sparc-tdep.c. Andrew replaced that call with a call to > > > write_register(). > > > > I need to examine that a bit more carefully though. > > If no one but Sparc is using it, I'm not very worried > (as long as you take care of sparc). Well, for the sparc, it appears that it's only the sim which cares about it. From sparc_push_dummy_frame(): if (strcmp (target_shortname, "sim") != 0) { write_fp (old_sp); /* Set return address register for the call dummy to the current PC. */ write_register (I7_REGNUM, read_pc () - 8); } else ... I wonder why the sim was being special cased in the first place? Kevin