diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-01-09 20:19:15 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-01-09 20:19:15 +0000 |
commit | 5efde11249adf7e041cbbce5e089ac956f9b834b (patch) | |
tree | f629bdca5d73fc8b3d9b85cba293751b858d6e3e /gdb/m32c-tdep.c | |
parent | 6aba47ca06d9150c6196a374b745c2711b46e045 (diff) | |
download | gdb-5efde11249adf7e041cbbce5e089ac956f9b834b.zip gdb-5efde11249adf7e041cbbce5e089ac956f9b834b.tar.gz gdb-5efde11249adf7e041cbbce5e089ac956f9b834b.tar.bz2 |
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
frame_unwind_register to recurse.
* alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
(alpha_heuristic_frame_prev_register): Likewise.
* h8300-tdep.c (h8300_frame_prev_register): Likewise.
* m32c-tdep.c (m32c_prev_register): Likewise.
* frame.c (frame_register_unwind_location): Remove FIXME.
Diffstat (limited to 'gdb/m32c-tdep.c')
-rw-r--r-- | gdb/m32c-tdep.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index 12e0ec2..3aeeedf 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -1919,8 +1919,14 @@ m32c_prev_register (struct frame_info *next_frame, /* Otherwise, presume we haven't changed the value of this register, and get it from the next frame. */ else - frame_register_unwind (next_frame, regnum, - optimizedp, lvalp, addrp, realnump, bufferp); + { + *optimizedp = 0; + *lvalp = lval_register; + *addrp = 0; + *realnump = regnum; + if (bufferp) + frame_unwind_register (next_frame, *realnump, bufferp); + } } |