This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: patch: signal trampoline frame cache corruption (repost?)
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: pgilliam at us dot ibm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 1 Nov 2006 00:28:38 +0100 (CET)
- Subject: Re: patch: signal trampoline frame cache corruption (repost?)
- References: <1162323227.3428.9.camel@dufur.beaverton.ibm.com>
> From: PAUL GILLIAM <pgilliam@us.ibm.com>
> Date: Tue, 31 Oct 2006 11:33:47 -0800
>
> This might be a repost.
>
> Attached is a patch to fix some signal trampoline frame cache corruption
> that occurs on machines that have no FPU registers. The corruption was
> reported when running gdb 6.4 on a PowerPC 440. If a backtrace command
> was run after hitting a signal trampoline frame, the frame cache would
> become corrupted and GDB would SIGSEGV.
>
> I have checked the cvs head sources, and the code has moved, but has not
> been fixed. So I updated the patch to apply to cvs head.
>
> Ok to commit? (This is almost an obvious fix, isn't it?)
Not as you've posted it, since it doesn't adhere to the GNU coding
style. But the idea seems alright to me.
Mark