[Lldb-commits] [PATCH] D148790: [LLDB] Don't print register fields when asked for a specific format

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 20 03:43:19 PDT 2023


DavidSpickett added a comment.

One alternative was to come up with a list of formats where printing fields afterwards makes sense. Hex makes sense, instruction does not. However it would be hard to judge and it doesn't solve the main issue where you want to see what you asked for without extras.

This does mean that you will only be able to get the default format if you want fields, but I think that will cover the majority of use cases for now. If it doesn't we could add an option that enables fields which defaults to on when no format is set, and off when one is.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148790



More information about the lldb-commits mailing list