From 6eca4f46912a8318d7a5888506c3f26c20bdc012 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 31 Oct 2019 17:04:35 +0100 Subject: [lldb] [Process/NetBSD] Add register info for missing register sets Add info for all register sets supported in NetBSD, particularly for all registers 'expected' by LLDB. This is necessary in order to fix python_api/lldbutil/iter/TestRegistersIterator.py test that currently fails due to missing names of register sets (None). This copies fpreg descriptions from Linux, and combines Linux' AVX and MPX registers into a single XState group, to fit NetBSD register group design. Technically, we do not support MPX registers at the moment but gdb-remote insists on passing their errors anyway, and if we do not include it in any group, they end up in a separate anonymous group that breaks the test. While at it, swap the enums for XState and DBRegs to match register set ordering. This also adds a few consts to the lldb-x86-register-enums.h to provide more consistency between user registers and debug registers. Differential Revision: https://reviews.llvm.org/D69667 --- .../test/commands/register/register/register_command/TestRegisters.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite') diff --git a/lldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py b/lldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py index f9b187bc2b4..01d2367c855 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py +++ b/lldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py @@ -59,7 +59,6 @@ class RegisterCommandsTestCase(TestBase): @skipIfTargetAndroid(archs=["i386"]) @skipIf(archs=no_match(['amd64', 'arm', 'i386', 'x86_64'])) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37995") - @expectedFailureNetBSD def test_fp_register_write(self): """Test commands that write to registers, in particular floating-point registers.""" self.build() -- cgit v1.2.3