From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29968 invoked by alias); 10 Feb 2003 22:42:05 -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 29958 invoked from network); 10 Feb 2003 22:42:03 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by 172.16.49.205 with SMTP; 10 Feb 2003 22:42:03 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6/8.12.5) with ESMTP id h1AMftk4000238; Mon, 10 Feb 2003 23:41:55 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id h1AMfsFp000275; Mon, 10 Feb 2003 23:41:54 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id h1AMfs0m000272; Mon, 10 Feb 2003 23:41:54 +0100 (CET) Date: Mon, 10 Feb 2003 22:42:00 -0000 Message-Id: <200302102241.h1AMfs0m000272@elgar.kettenis.dyndns.org> From: Mark Kettenis To: mludvig@suse.cz CC: ac131313@redhat.com, gdb@sources.redhat.com In-reply-to: <3E48190A.1090500@suse.cz> (message from Michal Ludvig on Mon, 10 Feb 2003 22:26:34 +0100) 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> X-SW-Source: 2003-02/txt/msg00185.txt.bz2 Date: Mon, 10 Feb 2003 22:26:34 +0100 From: Michal Ludvig OK, here is the first attempt to use regcache on x86-64 target. As I run the testsuite on gdb-5.3 it made no difference on the results and I hope it will improve the mainline a little bit. Is the patch OK to commit? 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, Mark