Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [rfc] ``pc'' -> resume_addr?
@ 2002-04-11 13:38 Andrew Cagney
  2002-04-11 13:58 ` Kevin Buettner
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andrew Cagney @ 2002-04-11 13:38 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-04-26 15:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-11 13:38 [rfc] ``pc'' -> resume_addr? Andrew Cagney
2002-04-11 13:58 ` Kevin Buettner
2002-04-11 15:15   ` Andrew Cagney
2002-04-11 16:35     ` Andrew Cagney
2002-04-11 16:48       ` Kevin Buettner
2002-04-11 17:08         ` Andrew Cagney
2002-04-11 17:37       ` Michael Snyder
2002-04-11 16:42     ` Kevin Buettner
2002-04-11 17:39       ` Michael Snyder
2002-04-11 17:34     ` Michael Snyder
2002-04-12  8:59       ` Andrew Cagney
2002-04-13 20:21         ` Andrew Cagney
2002-04-11 17:25 ` Michael Snyder
2002-04-26  8:09 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox