2003-06-16 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 16 Jun 2003 20:05:56 +0000 (20:05 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 16 Jun 2003 20:05:56 +0000 (20:05 +0000)
commit870b3035a486dab29b2169733cb56f40c82a8c43
tree6804be7af0afb4bb5098f354e7cbd3679931ee2e
parent63d47a7dccd1967c17ed12a2d585e48ca26d16bc
2003-06-16  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_get_next_frame_hack): Declare.
* frame.c (legacy_saved_regs_prev_register): Only require
DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed.  Assert that
there are always saved regs.
(deprecated_generic_get_saved_register): Do not require
DEPRECATED_FRAME_INIT_SAVED_REGS.
(legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN,
use frame ID unwind instead.
(deprecated_get_next_frame_hack): New function.
gdb/ChangeLog
gdb/frame.c
gdb/frame.h