Re: [patch/rfa/hppa] Use frame pointer for unwinding

Mark Kettenis
2004-05-16T10:36:00Z

Date: Sat, 15 May 2004 19:07:03 -0700
From: Randolph Chung <randolph@tausq.org>

- if (frame_pc_unwind (next_frame) >= prologue_end)
+ if (get_frame_type (next_frame) == NORMAL_FRAME
+ && u->Save_SP
+ && (fp = frame_unwind_register_unsigned (next_frame, HPPA_FP_REGNUM)))
+ {
+ cache->base = fp;

Randolph, this patch has a major style problem: assignments within an
if-statement are frowned upon. Can you fix that?

Thanks,

Mark