This is the mail archive of the gdb-patches@sourceware.org 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: [PING][PATCH] Improve prologue skipping on PPC32 for variadic functions


Kwok Cheung Yeung <kcy@codesourcery.com> writes:

> @@ -1210,45 +1214,45 @@ store_param_on_stack_p (unsigned long op, int
> framep, int *r0_contains_arg)
>      }
>
>    /* Save a General Purpose Register on stack.  */
> +  if ((op & 0xfc1f0003) == 0xf8010000 ||                /* std Rx,NUM(r1) */
> +      (framep && (op & 0xfc1f0000) == 0x901f0000) ||    /* stw Rx,NUM(r31) */
> +      (framep && (op & 0xfc1f0000) == 0x981f0000))      /* stb Rx,NUM(r31) */

Please also fix the formatting (break before the operator, not after).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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