OSDN Git Service

2003-01-13 Andrew Cagney <ac131313@redhat.com>
authorcagney <cagney>
Mon, 13 Jan 2003 21:10:27 +0000 (21:10 +0000)
committercagney <cagney>
Mon, 13 Jan 2003 21:10:27 +0000 (21:10 +0000)
commitbc84b5036ac75dc7075dd39cecb2011fb2673acb
treef5cd5cb5f08a6b0965144c7568955d412e5589e7
parent5471f2a5353699903a34a7a8dfef5a76d9486bbd
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