This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]