diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-17 19:49:01 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-17 19:49:01 +0000 |
commit | fd34564289b6b9f4d3c6a0338d6501aa1431ecff (patch) | |
tree | 9e7ff31c7007d6b83144e10c06559aebb18edbdf | |
parent | b0f9107c1ed96c3714a3c0723e4621d1f492d55f (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@366364 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/use/variable.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/use/variable.rst b/docs/use/variable.rst index 0e65f42be..f3bde2de4 100644 --- a/docs/use/variable.rst +++ b/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 ------------ |