[Lldb-commits] [PATCH] D62732: [RISCV] Add SystemV ABI

zhongchengyong via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 31 19:53:16 PDT 2021


sven added a comment.

In D62732#2790087 <https://reviews.llvm.org/D62732#2790087>, @luismarques wrote:

> In D62732#2790028 <https://reviews.llvm.org/D62732#2790028>, @luismarques wrote:
>
>> That's surprising. I'll see if I can figure out what the issue might be. Thanks.
>
> Confirmed. Something must have broken since the last patch revision. I'll see if I can figure out / fix this soon.

Hi @luismarques, @jade  I have fixed the issue by install **libxml2-dev**, then recompile lldb and it works.
The cause of this issue is that LLDB doesn't send qXfer command for register info which defined in qemu-gdb-stub xml if libxml2 is not installed.
See ProcessGDBRemote.cpp::GetGDBServerRegisterInfo().
Thank you for your help.

  // query the target of gdb-remote for extended target information returns
  // true on success (got register definitions), false on failure (did not).
  bool ProcessGDBRemote::GetGDBServerRegisterInfo(ArchSpec &arch_to_use) {
    // Make sure LLDB has an XML parser it can use first
    if (!XMLDocument::XMLEnabled())
      return false;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62732/new/

https://reviews.llvm.org/D62732



More information about the lldb-commits mailing list