[commit] frame ID cleanup

Andrew Cagney ac131313@redhat.com
Thu Apr 10 03:29:00 GMT 2003


Hello,

Attached is a cleanup to the frame ID related code.  It:

- renames "pc" -> "code_addr"; "base" -> "stack_addr"
Names like "pc" and "base" come with heaps of baggage; the rename gets 
way from that, putting some needed distance between them and a frame ID.

- reworks frame_id_eq(), frame_id_p() and frame_id_inner()
The new code better handles edge cases such as frame_id_eq() being 
called with an invalid ID.  It also makes the way for a follow-on patch 
that will significantly increase the output from `set debug frame 1'.

committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030410/9ceecfb4/attachment.ksh>


More information about the Gdb-patches mailing list