Skip to content

Commit 1b6b036

Browse files
authored
[lldb][docs] add command to save core file in gdb to lldb command map. (#140771)
1 parent be5b4fa commit 1b6b036

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lldb/docs/use/map.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,17 @@ Dump all symbols in ``a.out`` and ``liba.so``
13501350
13511351
(lldb) image dump symtab a.out liba.so
13521352
1353+
Save current process as a core file
1354+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1355+
1356+
.. code-block:: shell
1357+
1358+
(gdb) gcore filename
1359+
1360+
.. code-block:: shell
1361+
1362+
(lldb) process save-core filename
1363+
13531364
Miscellaneous
13541365
-------------
13551366

0 commit comments

Comments
 (0)