[Lldb-commits] [lldb] e1a7d04 - Add parray example for lldb, vrs. *ptr at count gdb cmd.
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 4 15:44:22 PST 2019
Author: Jason Molenda
Date: 2019-12-04T15:44:15-08:00
New Revision: e1a7d042c36509a385668ee04ddb3dad3241f503
URL: https://github.com/llvm/llvm-project/commit/e1a7d042c36509a385668ee04ddb3dad3241f503
DIFF: https://github.com/llvm/llvm-project/commit/e1a7d042c36509a385668ee04ddb3dad3241f503.diff
LOG: Add parray example for lldb, vrs. *ptr at count gdb cmd.
Added:
Modified:
lldb/docs/use/map.rst
Removed:
################################################################################
diff --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index d878b5633e83..3c6c6e6ffc62 100644
--- a/lldb/docs/use/map.rst
+++ b/lldb/docs/use/map.rst
@@ -880,6 +880,20 @@ Examining Variables
</td>
</tr>
+ <tr>
+ <td class="header" colspan="2">Print an array of integers in memory, assuming we have a pointer like "int *ptr".</td>
+ </tr>
+ <tr>
+ <td class="content">
+ <b>(gdb)</b> p *ptr at 10
+ <br>
+ </td>
+ <td class="content">
+ <b>(lldb)</b> parray 10 ptr
+ <br>
+ </td>
+ </tr>
+
</tbody>
</table>
More information about the lldb-commits
mailing list