From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1703 invoked by alias); 11 Apr 2002 20:38:11 -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 1696 invoked from network); 11 Apr 2002 20:38:11 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 11 Apr 2002 20:38:11 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E59AF3CD1 for ; Thu, 11 Apr 2002 16:38:15 -0400 (EDT) Message-ID: <3CB5F437.30607@cygnus.com> Date: Thu, 11 Apr 2002 13:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: [rfc] ``pc'' -> resume_addr? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00172.txt.bz2 Hello, GDB, in a number of places, refers to the ``pc'' - PC_REGNUM, frame->pc, read_pc(), write_pc(), ... I think this name choice was unfortunate. It is too easy for a developer to confuse ``pc'' with the hardware ``pc''. With this in mind, I'd like to propose a GDBspeak ``resume_addr''. It is the address of the first instruction that will be executed when the target resumes. thoughts? better names? Andrew