2003-04-09 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 9 Apr 2003 20:49:22 +0000 (20:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 9 Apr 2003 20:49:22 +0000 (20:49 +0000)
commitd134026405b1149334d41bdbe81f96910843d4f6
treeaba2e0fffd0f1ff04fbbbfd9cc296570d3f46d1c
parentec1659c846e09371b2de488becf1f8042d10cc5b
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_info): Delete field "pc".  Replace
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
structure.
* frame.c (frame_pc_unwind): Update.
(create_sentinel_frame): Do not set "pc".
(get_prev_frame): Do not set "pc".  Use frame_pc_unwind.
(get_frame_pc): Call frame_pc_unwind.
(deprecated_update_frame_pc_hack): Update.
(create_new_frame): Use "pc" not "->pc".
gdb/ChangeLog
gdb/frame.c
gdb/frame.h