mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* 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.
This commit is contained in:
@@ -864,8 +864,12 @@ alpha_sigtramp_frame_prev_register (struct frame_info *next_frame,
|
||||
current description of it in alpha_sigtramp_frame_unwind_cache
|
||||
doesn't include it. Too bad. Fall back on whatever's in the
|
||||
outer frame. */
|
||||
frame_register (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);
|
||||
}
|
||||
|
||||
static const struct frame_unwind alpha_sigtramp_frame_unwind = {
|
||||
@@ -1218,8 +1222,12 @@ alpha_heuristic_frame_prev_register (struct frame_info *next_frame,
|
||||
}
|
||||
|
||||
/* Otherwise assume the next frame has the same register value. */
|
||||
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);
|
||||
}
|
||||
|
||||
static const struct frame_unwind alpha_heuristic_frame_unwind = {
|
||||
|
||||
Reference in New Issue
Block a user