[Lldb-commits] [lldb] [lldb][docs] add command to save core file in gdb to lldb command map. (PR #140771)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Tue May 20 10:46:30 PDT 2025
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 <yerimyah1 at 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
-------------
More information about the lldb-commits
mailing list