summaryrefslogtreecommitdiffstats
path: root/lldb/docs/use
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-07-17 19:49:01 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-07-17 19:49:01 +0000
commitc2cd84bcfbd68e1368874a373744e4c978f2a762 (patch)
tree830430d39609e25c19a98355082a4d0efde8fbe6 /lldb/docs/use
parente37750b93440de1d4b42cb731b0f20c981e6f74d (diff)
downloadbcm5719-llvm-c2cd84bcfbd68e1368874a373744e4c978f2a762.tar.gz
bcm5719-llvm-c2cd84bcfbd68e1368874a373744e4c978f2a762.zip
[docs] Adjust variable formatting table
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'. Patch by: Lukas Böger Differential revision: https://reviews.llvm.org/D63813 llvm-svn: 366364
Diffstat (limited to 'lldb/docs/use')
-rw-r--r--lldb/docs/use/variable.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/lldb/docs/use/variable.rst b/lldb/docs/use/variable.rst
index 0e65f42be45..f3bde2de414 100644
--- a/lldb/docs/use/variable.rst
+++ b/lldb/docs/use/variable.rst
@@ -197,7 +197,7 @@ pick:
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``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 @@ pick:
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``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
------------
OpenPOWER on IntegriCloud