[patch/5,3/rfc] $pc fix?

Andrew Cagney ac131313@ges.redhat.com
Tue Sep 3 13:47:00 GMT 2002


Hello,

This is a work-in-progress patch to fix CGF's $pc problem.  It adds a 
builtin-regnum -> builtin-regname method and a pair of frame based 
regnum<->name methods.  I've also added more things to include in my 
work-in-progress registers doco.

I need to come up with a test case before I'm convinced it works.

I've also come up with a think-o bug.  Say an architecture (e.g., i386) 
doesn't have a $pc (so $pc == frame->pc), what should:
	info registers pc
print? Assuming selected_frame->pc, then who should print it?

I'll see that this gets onto the branch,

enjoy,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020903/850e6e02/attachment.ksh>


More information about the Gdb-patches mailing list