* i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char
authorKevin Buettner <kevinb@redhat.com>
Thu, 13 Dec 2001 17:34:52 +0000 (17:34 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 13 Dec 2001 17:34:52 +0000 (17:34 +0000)
commit5d003c95923bce6c630e7c37873d667d0c273d0f
treee222c9df7c6a57ffa8793b22de6f0c59200587ff
parent105ba819229cbdaf720200da3138847f57e70167
* 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.
gdb/ChangeLog
gdb/i387-nat.c