From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29009 invoked by alias); 13 Dec 2001 17:38:49 -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 27602 invoked from network); 13 Dec 2001 17:37:28 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 13 Dec 2001 17:37:28 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id JAA05197; Thu, 13 Dec 2001 09:37:24 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.9.3/8.9.3) id KAA07970; Thu, 13 Dec 2001 10:37:04 -0700 Date: Thu, 13 Dec 2001 09:38:00 -0000 From: Kevin Buettner Message-Id: <1011213173704.ZM7969@ocotillo.lan> In-Reply-To: Mark Kettenis "Re: [PATCH RFA] Fix x86 floating point vs. thread problem" (Dec 12, 9:22pm) References: <1011206234806.ZM8667@ocotillo.lan> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Mark Kettenis Subject: Re: [PATCH RFA] Fix x86 floating point vs. thread problem Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-12/txt/msg00348.txt.bz2 On Dec 12, 9:22pm, Mark Kettenis wrote: > 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! Committed. I think this one should go on the 5.1 branch too. Any objections? Kevin