[Lldb-commits] [PATCH] D152916: [lldb] Add "register info" command

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 14 06:59:54 PDT 2023


DavidSpickett added a comment.

I think "info" is a fairly safe name for this command. I thought about "register help" but then you could do "help register help" and while that's amusing it's also pretty silly.

You might think at a glance "info" does something like check the register's value for symbols, but we have other things in lldb to do that so I don't think it's confusing once you look at the help or see the command output.

It could do multiple registers but my use case is one off cases where you are sanity checking an assumption, perhaps learning a new extension or architecture. Not throwing a list of registers at it like you might "register read".  Easy to add later if needed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152916



More information about the lldb-commits mailing list