Skip to content

Conversation

@da-viper
Copy link
Contributor

No description provided.

@da-viper da-viper requested a review from JDevlieghere as a code owner May 20, 2025 17:46
@llvmbot llvmbot added the lldb label May 20, 2025
@llvmbot
Copy link
Member

llvmbot commented May 20, 2025

@llvm/pr-subscribers-lldb

Author: Ebuka Ezike (da-viper)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/140771.diff

1 Files Affected:

  • (modified) lldb/docs/use/map.rst (+11)
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
 -------------
 

Co-authored-by: Jonas Devlieghere <[email protected]>
@da-viper da-viper merged commit 1b6b036 into llvm:main May 20, 2025
10 checks passed
@da-viper da-viper deleted the docs-load-core branch May 30, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants