2002-11-05 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 5 Nov 2002 21:44:05 +0000 (21:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 5 Nov 2002 21:44:05 +0000 (21:44 +0000)
commita216a322341d49ebb6eff80fe9a49542b545c7d0
treeb6ff99a9842f2118fd12ead71c31c9a421086205
parentb7c642601c187ba8e89c4084d0880649ede3aea1
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.
gdb/ChangeLog
gdb/frame.c
gdb/frame.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh