[Lldb-commits] [PATCH] D63813: Adjust variable formatting table

Lukas Böger via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 02:54:13 PDT 2019


lubgr updated this revision to Diff 210278.
lubgr added a comment.

I updated the description of the `address` format, is it appropriate? And I can't commit that myself, so thanks in advance for doing so when it's ready.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D63813

Files:
  docs/use/variable.rst


Index: docs/use/variable.rst
===================================================================
--- docs/use/variable.rst
+++ docs/use/variable.rst
@@ -197,7 +197,7 @@
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 | ``c-string``                                  | s                | show this as a 0-terminated C string                                     |
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
-| ``decimal``                                   | i                | show this as a signed integer number (this does not perform a cast, it   |
+| ``decimal``                                   | d                | show this as a signed integer number (this does not perform a cast, it   |
 |                                               |                  | simply shows the bytes as  an integer with sign)                         |
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 | ``enumeration``                               | E                | show this as an enumeration, printing the                                |
@@ -239,6 +239,15 @@
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 | ``character array``                           | a                | show this as a character array                                           |
 +-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``address``                                   | A                | show this as an address target (symbol/file/line + offset), possibly     |
+|                                               |                  | also the string this address is pointing to                              |
++-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``hex float``                                 |                  | show this as hexadecimal floating point                                  |
++-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``instruction``                               | i                | show this as an disassembled opcode                                      |
++-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``void``                                      | v                | don't show anything                                                      |
++-----------------------------------------------+------------------+--------------------------------------------------------------------------+
 
 Type Summary
 ------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63813.210278.patch
Type: text/x-patch
Size: 3120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190717/0228822c/attachment.bin>


More information about the lldb-commits mailing list