This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING][PATCH] Improve prologue skipping on PPC32 for variadic functions
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Kwok Cheung Yeung <kcy at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sat, 06 Jun 2015 09:37:03 +0200
- Subject: Re: [PING][PATCH] Improve prologue skipping on PPC32 for variadic functions
- Authentication-results: sourceware.org; auth=none
- References: <55722498 dot 3050208 at codesourcery dot com>
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."