This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] signal trampoline frame cache corruption
On Mon, Nov 13, 2006 at 09:35:27AM -0800, PAUL GILLIAM wrote:
> Thanks Mark and Daniel.
>
> I have committed the attached patch
> + if (ppc_floating_point_unit_p (gdbarch)) {
> + /* Floating point registers. */
> + for (i = 0; i < 32; i++)
> + {
> + int regnum = i + FP0_REGNUM;
> + trad_frame_set_reg_addr (this_cache, regnum, fpregs + i * tdep->wordsize);
> + }
> + trad_frame_set_reg_addr (this_cache, tdep->ppc_fpscr_regnum,
> + fpregs + 32 * tdep->wordsize);
> + }
You had your indentation and braces right the last time you posted
this; what's happened to them? The version you've committed looks
like it's been reindented mostly to the Linux kernel style.
--
Daniel Jacobowitz
CodeSourcery