From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20255 invoked by alias); 12 Dec 2001 20:25:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20137 invoked from network); 12 Dec 2001 20:24:42 -0000 Received: from unknown (HELO mail.science.uva.nl) (146.50.4.51) by sources.redhat.com with SMTP; 12 Dec 2001 20:24:42 -0000 Received: from soliton.wins.uva.nl [146.50.20.20] by mail.science.uva.nl with ESMTP (sendmail 8.11.6/config 11.21). id fBCKMiH11847; Wed, 12 Dec 2001 21:22:44 +0100 (MET) Received: from localhost by soliton.wins.uva.nl (sendmail 8.11.6/config 11.15). id fBCKMiD13281; Wed, 12 Dec 2001 21:22:44 +0100 (MET) X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH RFA] Fix x86 floating point vs. thread problem References: <1011206234806.ZM8667@ocotillo.lan> From: Mark Kettenis Date: Wed, 12 Dec 2001 12:25:00 -0000 In-Reply-To: Kevin Buettner's message of Thu, 6 Dec 2001 16:48:07 -0700 Message-ID: X-Mailer: Gnus v5.5/Emacs 20.2 X-SW-Source: 2001-12/txt/msg00327.txt.bz2 Kevin Buettner writes: > * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char > to short so that we don't memcpy() beyond the end of this buffer. > Also, change shift value used in computing val to account for the > fact that only eight bits are used. Looks good. I'm not surprised there was a bug lurking here. Please check this in. Thanks! Mark