OSDN Git Service

* 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)
commit7a3f9a155bbfb9f4fe8c01ee6ee2018cde7add9b
tree1a32731c546ca999905f5042f0ac50c9f1045694
parent57b7b803568d1a98fb579617fd2ba2f97490d732
* 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