From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3094 invoked by alias); 31 Oct 2006 23:28:50 -0000 Received: (qmail 3083 invoked by uid 22791); 31 Oct 2006 23:28:49 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Oct 2006 23:28:44 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id k9VNSevf000979; Wed, 1 Nov 2006 00:28:40 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id k9VNSd8R006191; Wed, 1 Nov 2006 00:28:39 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id k9VNScRC012608; Wed, 1 Nov 2006 00:28:38 +0100 (CET) Date: Tue, 31 Oct 2006 23:28:00 -0000 Message-Id: <200610312328.k9VNScRC012608@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: pgilliam@us.ibm.com CC: gdb-patches@sourceware.org In-reply-to: <1162323227.3428.9.camel@dufur.beaverton.ibm.com> (message from PAUL GILLIAM on Tue, 31 Oct 2006 11:33:47 -0800) Subject: Re: patch: signal trampoline frame cache corruption (repost?) References: <1162323227.3428.9.camel@dufur.beaverton.ibm.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00326.txt.bz2 > From: PAUL GILLIAM > 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