[lldb-dev] [Bug 37683] New: Register commands fail to retrieve all registers on Windows

via lldb-dev lldb-dev at lists.llvm.org
Mon Jun 4 14:36:20 PDT 2018


            Bug ID: 37683
           Summary: Register commands fail to retrieve all registers on
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: stilis at microsoft.com
                CC: llvm-bugs at lists.llvm.org

This is true even for frame 0. The tests covered by TestRegisters.py all fail
except for test_register_commands which only tests very basic register

Any of the commands that try to retrieve eax, for example, fail to do so.

For example, register read -a should retrieve registers such as eax, but this
is what we get during test execution:

AssertionError: False is not True : 'register read -a' returns expected result,
got 'General Purpose Registers:
       rax = 0x0000018E33F86E60
       rbx = 0x00007FF66B5E9974
       rcx = 0x0000000000000001
       rdx = 0x0000018E33F83370
       rdi = 0x0000018E33F83370
       rsi = 0x0000000000000000
       rbp = 0x0000000000000000
       rsp = 0x000000297830FDF0
        r8 = 0x0000018E33F86E60
        r9 = 0x000000297830FE08
       r10 = 0x0000000000004CC4
       r11 = 0x0000000000000246
       r12 = 0x0000000000000000
       r13 = 0x0000000000000000
       r14 = 0x0000000000000000
       r15 = 0x0000000000000000
       rip = 0x00007FF66B541023  a.out`main + 35 at main.cpp:20
    eflags =

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180604/d214dfed/attachment.html>

More information about the lldb-dev mailing list