From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5245 invoked by alias); 10 Feb 2003 23:36:49 -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 5233 invoked from network); 10 Feb 2003 23:36:48 -0000 Received: from unknown (HELO kerberos.suse.cz) (195.47.106.10) by 172.16.49.205 with SMTP; 10 Feb 2003 23:36:48 -0000 Received: from chimera.suse.cz (chimera.suse.cz [10.20.0.2]) by kerberos.suse.cz (SuSE SMTP server) with ESMTP id AFF4259D37B; Tue, 11 Feb 2003 00:36:47 +0100 (CET) Received: from suse.cz (naga.suse.cz [10.20.1.16]) by chimera.suse.cz (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id h1ANal428553; Tue, 11 Feb 2003 00:36:47 +0100 X-Authentication-Warning: chimera.suse.cz: Host naga.suse.cz [10.20.1.16] claimed to be suse.cz Message-ID: <3E48378E.6090007@suse.cz> Date: Mon, 10 Feb 2003 23:36:00 -0000 From: Michal Ludvig Organization: SuSE CR User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: cs, cz, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Add a sentinel frame References: <3E305670.3020700@redhat.com> In-Reply-To: <3E305670.3020700@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00268.txt.bz2 Andrew Cagney wrote: > Hello, > > This patch modifies^D^D^D^Dsimplifies the frame code so that there is an > extra frame below the innermost frame. That extra frame maps any > request for a register onto the regcache. > > The thing to notice with this patch is how it eliminates the need to > special case a level zero frame when fetching a frame's register. > Instead, a register can be fetched using the recursive frame_register() > method. > > I'll look to commit this in a few days. > > Follow on patches include: > - convert d10v to the current frame unwind mechanims > - deprecate methods such as POP_FRAME. > > Andrew Hi Andrew, I'm getting lots of internal errors due to the fact that this function is called while running x86-64 testsuite on mainline. > +static void > +sentinel_frame_pop (struct frame_info *frame, > + void **cache, > + struct regcache *regcache) > +{ > + internal_error (__FILE__, __LINE__, "Function sentinal_frame_pop called"); > +} How can I avoid these errors? Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * (+420) 296.545.373 * http://www.suse.cz