From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20240 invoked by alias); 11 Feb 2003 16:31:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20232 invoked from network); 11 Feb 2003 16:31:19 -0000 Received: from unknown (HELO localhost.redhat.com) (212.112.189.80) by 172.16.49.205 with SMTP; 11 Feb 2003 16:31:19 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0F0803CE5; Tue, 11 Feb 2003 17:31:15 +0100 (CET) Message-ID: <3E492552.4090001@redhat.com> Date: Tue, 11 Feb 2003 16:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis , mludvig@suse.cz Cc: gdb@sources.redhat.com Subject: Re: regcache (Re: GDB respin) References: <200302031615.h13GFVP26477@duracef.shout.net> <3E3EA35D.3080300@redhat.com> <3E427169.5010702@suse.cz> <3E42A5F8.9080708@redhat.com> <3E48190A.1090500@suse.cz> <200302102241.h1AMfs0m000272@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00188.txt.bz2 > If I understood Andrew correctly you should only use the cooked > functions here, so the line > > regcache_raw_read (regcache, RAX_REGNUM, &addr); > > should read > > regcahce_cooked_read (regcache, RAX_REGNUM, &addr); > > With that change, this is OK. > > Thanks, Ditto from me, Michael, thanks for cleaning this up. Andrew