[lldb] [gdb-remote] Fix displaying i387_ext & vec regs with gdbserver
authorMichał Górny <mgorny@moritz.systems>
Fri, 20 Aug 2021 10:11:45 +0000 (12:11 +0200)
committerMichał Górny <mgorny@moritz.systems>
Tue, 12 Oct 2021 13:16:06 +0000 (15:16 +0200)
commitbda5fe8f0c049f8c805572ba9eb92ce6044e7999
tree63cfbf9d36fc5dab98c3f1bc74f71c210d978ba6
parentc74ab84ea23f497ac83501473220cd9cfefe81e8
[lldb] [gdb-remote] Fix displaying i387_ext & vec regs with gdbserver

Adjust the encoding and format applied to i387_ext and vec* type
registers from gdbserver to match lldb-server.  Both types are now
displayed as vector of uint8 instead of float and integer formats used
before.  Additionally, this fixes display of STi registers when they do
not carry floating-point data (they are also used to hold MMX vectors).

Differential Revision: https://reviews.llvm.org/D108468
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py