[patch/rfa/hppa] Use frame pointer for unwinding
Mark Kettenis
kettenis@chello.nl
Sun May 16 10:36:00 GMT 2004
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
More information about the Gdb-patches
mailing list