2003-01-13 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 13 Jan 2003 21:10:30 +0000 (21:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 13 Jan 2003 21:10:30 +0000 (21:10 +0000)
commit8f87102502242e23f901af040c8eb904de162f87
tree5e2f7ee452611b31cf43b0732fc1e03619f319fd
parent3f565f1eb5001c29a32b383d8b7fe05f73557db8
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* stack.c (frame_info): Only initialize the saved registers when
FRAME_INIT_SAVED_REGS_P.
* frame.c (frame_saved_regs_register_unwind): Assert
FRAME_INIT_SAVED_REGS_P.
(deprecated_generic_get_saved_register): Ditto.
gdb/ChangeLog
gdb/frame.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/stack.c