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: patch: signal trampoline frame cache corruption (repost?)


> 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


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