2003-06-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 9 Jun 2003 01:02:07 +0000 (01:02 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 9 Jun 2003 01:02:07 +0000 (01:02 +0000)
commita9e5fdc21938b3d8733bdfc5931088319c921f78
treeb4bc9eaae69953942219023cc1089cbdd9f20a48
parent5cf72d3591cee5531e4e07df09f0b063f80bd9fa
2003-06-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (UNWIND_SP): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (frame_sp_unwind): New function.
(get_frame_sp): New function.
* frame.h (get_frame_sp, frame_sp_unwind): Declare.
* regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP,
gdbarch_unwind_sp and SP_REGNUM when looking for the SP register
value.
* d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp.
(d10v_gdbarch_init): Set unwind_sp instead of read_sp.

2003-06-08  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
"unwind_sp".  Cross reference "unwind_sp" and TARGET_READ_SP.
gdb/ChangeLog
gdb/d10v-tdep.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/frame.c
gdb/frame.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/regcache.c