diff options
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/i387-fp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/i387-fp.cc b/gdbserver/i387-fp.cc index 12cb614..49795ac 100644 --- a/gdbserver/i387-fp.cc +++ b/gdbserver/i387-fp.cc @@ -322,7 +322,7 @@ i387_cache_to_xsave (struct regcache *regcache, void *buf) if ((clear_bv & X86_XSTATE_ZMM)) { for (i = 0; i < num_avx512_zmmh_high_registers; i++) - memset (((char *) &fp->zmmh_low_space[0]) + 32 + i * 64, 0, 32); + memset (((char *) &fp->zmmh_high_space[0]) + 32 + i * 64, 0, 32); for (i = 0; i < num_avx512_xmm_registers; i++) memset (((char *) &fp->zmmh_high_space[0]) + i * 64, 0, 16); for (i = 0; i < num_avx512_ymmh_registers; i++) |