This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] Fix x86 floating point vs. thread problem
- From: Mark Kettenis <kettenis at science dot uva dot nl>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 12 Dec 2001 21:22:44 +0100
- Subject: Re: [PATCH RFA] Fix x86 floating point vs. thread problem
- References: <1011206234806.ZM8667@ocotillo.lan>
Kevin Buettner <kevinb@redhat.com> 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