[Lldb-commits] [PATCH] D116896: [lldb] [gdb-remote] Support client fallback for servers without reg defs (WIP)

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 10 02:33:49 PST 2022


labath added a reviewer: jasonmolenda.
labath added a comment.

This looks pretty okay I'd say. I might consider putting the actual definitions into a separate cpp file, simply because it's easy, and ProcessGDBRemote.cpp is already too big.



================
Comment at: lldb/test/API/functionalities/gdb_remote_client/amd64-fallback-regs.FileCheck:1
+CHECK-DAG: rax = 0x0807060504030201
+CHECK-DAG: rbx = 0x1817161514131211
----------------
I actually think it would be better if this was defined inline in the python file, as then you could intersperse these lines with the definitions (which you have already formatted in a way that makes this easy), and it would be immediately obvious that the two lines describe the same data (modulo endianness).


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

https://reviews.llvm.org/D116896



More information about the lldb-commits mailing list