2003-01-29 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 29 Jan 2003 18:07:07 +0000 (18:07 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 29 Jan 2003 18:07:07 +0000 (18:07 +0000)
commitd62d1979c455befe90f07993d51a279cc0043f5b
tree14aea024165995c8108171095ebcd5cbab780901
parent617073a91ffd58111d51e65983f5d442cf933e51
2003-01-29  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
(legacy_get_prev_frame): Assert FRAME_CHAIN_P.
(get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
(frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
* gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
(FRAME_SAVED_PC): Change to a function with predicate.
* gdbarch.h, gdbarch.c: Re-generate.
gdb/ChangeLog
gdb/frame.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh