[lldb] [Process/FreeBSDRemote] Fix regset names and related tests
authorMichał Górny <mgorny@moritz.systems>
Sat, 21 Nov 2020 21:15:34 +0000 (22:15 +0100)
committerMichał Górny <mgorny@moritz.systems>
Mon, 23 Nov 2020 08:28:20 +0000 (09:28 +0100)
commit8018e7b447dacb37a520fe989ab42c0586730961
tree17fcd4c85ea99d286cac8bb45631a4deb39eae94
parent9367b57dadb7a8515fa454cb4bb8e4cc45bf57d2
[lldb] [Process/FreeBSDRemote] Fix regset names and related tests

Restore Linux-alike regset names for AVX/MPX registers
as TestLldbGdbServer seems to depend on them.  At the same time, fix
TestRegisters to be aware that they are not available on FreeBSD
and NetBSD, at least until we figure out a better way of reporting
unsupported register sets.

Differential Revision: https://reviews.llvm.org/D91923
lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
lldb/test/API/commands/register/register/register_command/TestRegisters.py
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py