Fix use of wrong struct i387_xsave field in i387_cache_to_xsave
authorJoel Brobecker <brobecker@adacore.com>
Sat, 10 Jan 2015 05:50:44 +0000 (09:50 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Sat, 10 Jan 2015 05:57:23 +0000 (09:57 +0400)
commit3368c1e5ce12ea262ab3ff7a9154472503aadedb
treecdc0ee8e237662562b104189df93db6bd367e692
parent491793b5cbcc9f42662a2da8427c0022d7b03f9c
Fix use of wrong struct i387_xsave field in i387_cache_to_xsave

gdb/gdbserver/ChangeLog:

        * i387-fp.c (i387_cache_to_xsave): In look over
        num_avx512_zmmh_high_registers, replace use of struct i387_xsave
        zmmh_low_space field by use of zmmh_high_space.

Tested on x86_64-linux, using boards/native-gdbserver.exp.
gdb/gdbserver/ChangeLog
gdb/gdbserver/i387-fp.c