[Lldb-commits] [lldb] 1b6b036 - [lldb][docs] add command to save core file in gdb to lldb command map. (#140771)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 20 12:57:53 PDT 2025


Author: Ebuka Ezike
Date: 2025-05-20T20:57:51+01:00
New Revision: 1b6b036c0220c095c2917308775aa2ddcba506ad

URL: https://github.com/llvm/llvm-project/commit/1b6b036c0220c095c2917308775aa2ddcba506ad
DIFF: https://github.com/llvm/llvm-project/commit/1b6b036c0220c095c2917308775aa2ddcba506ad.diff

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

Added: 
    

Modified: 
    lldb/docs/use/map.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index c648b212006e0..ea166bf8f1e9a 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
 -------------
 


        


More information about the lldb-commits mailing list