[Lldb-commits] [PATCH] D63813: Adjust variable formatting table
Lukas Böger via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 26 04:00:45 PDT 2019
lubgr created this revision.
lubgr added a reviewer: jingham.
lubgr added a project: LLDB.
Herald added subscribers: lldb-commits, abidh.
While the in-place hints on valid formats are up to date (e.g. when choosing an invalid format `expr -f nonExisting -- 42`), the corresponding online docs table is not. The formats "address", "hex float", "instruction" and "void" are missing, and "decimal" refers to an outdated abbreviation 'i' instead of 'd'.
Repository:
rLLDB LLDB
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,14 @@
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``character array`` | a | show this as a character array |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``address`` | A | show this as an address target (symbol/file/line + offset) |
++-----------------------------------------------+------------------+--------------------------------------------------------------------------+
+| ``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.206625.patch
Type: text/x-patch
Size: 2975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190626/b9e55e45/attachment.bin>
More information about the lldb-commits
mailing list