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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions lldb/docs/use/map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------

Expand Down
Loading