https://github.com/da-viper created 
https://github.com/llvm/llvm-project/pull/140771

None

>From 9e29cc1dd3a7a80fe2935b373b28ba998d2d053b Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <yerimy...@gmail.com>
Date: Tue, 20 May 2025 18:41:29 +0100
Subject: [PATCH] [lldb][docs] add command to save core file in gdb to lldb
 command map.

---
 lldb/docs/use/map.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

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
 -------------
 

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to