From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8354 invoked by alias); 8 Aug 2004 14:32:30 -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 8346 invoked from network); 8 Aug 2004 14:32:30 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Aug 2004 14:32:30 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i78EWTe3009132 for ; Sun, 8 Aug 2004 10:32:30 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i78EWOa04029; Sun, 8 Aug 2004 10:32:24 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CD3142B9D; Sun, 8 Aug 2004 10:32:17 -0400 (EDT) Message-ID: <41163971.4070203@gnu.org> Date: Sun, 08 Aug 2004 14:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Undeprecate GNU/Hurd References: <200408081417.i78EHf2r022405@elgar.kettenis.dyndns.org> In-Reply-To: <200408081417.i78EHf2r022405@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00255.txt.bz2 > @@ -268,15 +266,15 @@ gnu_store_registers (int regno) > proc_debug (thread, "storing all registers"); > > for (i = 0; i < I386_NUM_GREGS; i++) > - if (deprecated_register_valid[i]) > - fill (state, i); > + if (regcache_valid_p (regcache, i)) > + regcache_raw_supply (regcache, i, REG_ADDR (state, i)); > } > else Should this, and a few others, be ``collect''? Supplying an already valid register doesn't seem logical :-) Andrew