Skip to content

[lldb][docs] add command to save core file in gdb to lldb command map. #140771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 20, 2025

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 <jonas@devlieghere.com>
@da-viper da-viper merged commit 1b6b036 into llvm:main May 20, 2025
10 checks passed
kostasalv pushed a commit to kostasalv/llvm-project that referenced this pull request May 21, 2025
@da-viper da-viper deleted the docs-load-core branch May 30, 2025 13:16
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
ajaden-codes pushed a commit to Jaddyen/llvm-project that referenced this pull request Jun 6, 2025
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