[Lldb-commits] [lldb] [lldb][docs] add command to save core file in gdb to lldb command map. (PR #140771)
via lldb-commits
lldb-commits at lists.llvm.org
Tue May 20 10:47:08 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Ebuka Ezike (da-viper)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/140771.diff
1 Files Affected:
- (modified) lldb/docs/use/map.rst (+11)
``````````diff
diff --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index c648b212006e0..7bc878bf149a7 100644
--- a/lldb/docs/use/map.rst
+++ b/lldb/docs/use/map.rst
@@ -1350,6 +1350,17 @@ Dump all symbols in ``a.out`` and ``liba.so``
(lldb) image dump symtab a.out liba.so
+Save current process as a core file
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. code-block:: shell
+
+ (gdb) gcore filename
+
+.. code-block:: shell
+
+ (lldb) process save-core filename
+
Miscellaneous
-------------
``````````
</details>
https://github.com/llvm/llvm-project/pull/140771
More information about the lldb-commits
mailing list