From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20501 invoked by alias); 5 Mar 2003 05:15:56 -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 20494 invoked from network); 5 Mar 2003 05:15:55 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 5 Mar 2003 05:15:55 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B82262A9C; Wed, 5 Mar 2003 00:15:52 -0500 (EST) Message-ID: <3E658808.2010201@redhat.com> Date: Wed, 05 Mar 2003 05:15: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 , Mark Kettenis Cc: gdb@sources.redhat.com Subject: Re: HEADS UP: converting the i386 to the new frame unwinding stuff References: <200303021731.h22HVsEl019548@elgar.kettenis.dyndns.org> <3E63A2D5.8010007@redhat.com> <200303032130.h23LUm3g002018@elgar.kettenis.dyndns.org> <3E64B7EF.50803@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00092.txt.bz2 >> The current state of affairs seems to work quite well for the i386. >> The only thing that puzzles me is that apparently my >> i386_frame_register_unwind gets called without an initialized cache. >> I was under the impression that we'd always unwind the pc first, and >> since my i386_frame_pc_unwind initialized the cache, I'd always have >> an initialized cache with the other unwind functions. > > I think you just hit my off-by-one bug. Mark, FYI. I've committed an 80% finished fix to the problem to the cagney_offbyone-20030303-branch (80% to go). You could always commit your changes to that branch (but don't expect them to work). Andrew