From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25206 invoked by alias); 12 Apr 2002 00:37:14 -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 25189 invoked from network); 12 Apr 2002 00:37:13 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 12 Apr 2002 00:37:13 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA22868; Thu, 11 Apr 2002 17:36:59 -0700 (PDT) Message-ID: <3CB6295F.6A051CE7@redhat.com> Date: Thu, 11 Apr 2002 17:37:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Andrew Cagney CC: Kevin Buettner , gdb@sources.redhat.com Subject: Re: [rfc] ``pc'' -> resume_addr? References: <3CB5F437.30607@cygnus.com> <1020411205831.ZM3555@localhost.localdomain> <3CB60B21.10407@cygnus.com> <3CB61DCD.90603@cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00197.txt.bz2 Andrew Cagney wrote: > > > 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 I think that already exists, in the form of frame_saved_pc().