From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28026 invoked by alias); 11 Feb 2003 16:48:24 -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 28017 invoked from network); 11 Feb 2003 16:48:24 -0000 Received: from unknown (HELO localhost.redhat.com) (212.112.189.80) by 172.16.49.205 with SMTP; 11 Feb 2003 16:48:24 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B096A3CE5; Tue, 11 Feb 2003 17:48:19 +0100 (CET) Message-ID: <3E492953.8010001@redhat.com> Date: Tue, 11 Feb 2003 16:48: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: Michal Ludvig Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Add a sentinel frame References: <3E305670.3020700@redhat.com> <3E48378E.6090007@suse.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00272.txt.bz2 > 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? Can you please post a stack backtrace and a transcript illustrating the problem? The above assertion is correct - for some reason GDB is trying to pop the wrong frame :-( Andrew