From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23620 invoked by alias); 3 Jul 2003 14:52:41 -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 23613 invoked from network); 3 Jul 2003 14:52:40 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 3 Jul 2003 14:52:40 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A9A352B5F; Thu, 3 Jul 2003 10:52:38 -0400 (EDT) Message-ID: <3F044336.4010805@redhat.com> Date: Thu, 03 Jul 2003 14:52:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch,rfc,6] Revert to legacy when REGISTER_BYTE References: <3EFF4F7C.9060104@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00072.txt.bz2 > Sigh, > > This patch changes the regcache so that, when REGISTER_BYTE or REGISTER_RAW_SIZE are present, the old style legacy regcache layout is used. > > This will stop those regcache assertion failures. Fixing the problem (especially for MIPS) will just get too messy for the branch :-( > > My thought is to commit this to 6.0 branch, while on the mainline delete REGISTER_BYTE and REGISTER_RAW_SIZE and just wear the consequences ... > > comments and/or suggestions? (none against) > 2003-06-29 Andrew Cagney > > * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add > predicate. > * gdbarch.h, gdbarch.c: Re-generate. > * regcache.c (init_regcache_descr): Use legacy code when either > REGISTER_BYTE or REGISTER_RAW_SIZE is set. I've checked this in to the 6.0 branch (and for the sake of consistency, the trunk). Andrew