From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3857 invoked by alias); 11 Apr 2002 23:48:28 -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 3847 invoked from network); 11 Apr 2002 23:48:26 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 11 Apr 2002 23:48:26 -0000 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id QAA19130; Thu, 11 Apr 2002 16:48:24 -0700 (PDT) Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g3BNmAa04423; Thu, 11 Apr 2002 16:48:10 -0700 Date: Thu, 11 Apr 2002 16:48:00 -0000 From: Kevin Buettner Message-Id: <1020411234810.ZM4422@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [rfc] ``pc'' -> resume_addr?" (Apr 11, 7:35pm) References: <3CB5F437.30607@cygnus.com> <1020411205831.ZM3555@localhost.localdomain> <3CB60B21.10407@cygnus.com> <3CB61DCD.90603@cygnus.com> To: Andrew Cagney Subject: Re: [rfc] ``pc'' -> resume_addr? Cc: Kevin Buettner , gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00192.txt.bz2 On Apr 11, 7:35pm, Andrew Cagney wrote: > Subject: Re: [rfc] ``pc'' -> resume_addr? > > frame->pc ==> frame->resume_addr > > > > This, I think, should change. I'm 99% sure that this isn't the > > hardware PC but rather the continue address for the frame (but > > notice I'm not 100% sure thanks to its poor definition). > > Hmm, there is another approach here. As with frame_base() from my > previous post, a more dynamic: > > frame_resume_addr (frame) > > that would let the ISA code compute it on demand using the frame's > register information - in theory frame->pc could be removed. Sure. But what are the advantages of doing it this way? Is there a reason it needs to be this dynamic? Kevin