summaryrefslogtreecommitdiff
path: root/man/coredumpctl.xml
diff options
context:
space:
mode:
authorRyan Gonzalez <kirbyfan64@users.noreply.github.com>2018-04-18 14:32:17 -0500
committerLennart Poettering <lennart@poettering.net>2018-04-18 21:32:17 +0200
commitc5896b6a8cfcfd1b94f25450a96a1411384f1108 (patch)
tree14a1b6e1f03dc5fa6dd9525a47863377be94fc93 /man/coredumpctl.xml
parentedd1dcd091bf7df555f099d68033a4405b804070 (diff)
downloadsystemd-c5896b6a8cfcfd1b94f25450a96a1411384f1108.tar.gz
coredumpctl: Add debug as a gdb alias, and add lldb support (closes #8722) (#8744)
Diffstat (limited to 'man/coredumpctl.xml')
-rw-r--r--man/coredumpctl.xml23
1 files changed, 18 insertions, 5 deletions
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index 16bacb84c9..c6b0f142bc 100644
--- a/man/coredumpctl.xml
+++ b/man/coredumpctl.xml
@@ -120,6 +120,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--debugger=</option><replaceable>DEBUGGER</replaceable></term>
+
+ <listitem><para>Use the given debugger for the <command>debug</command>
+ command. If not given and <varname>$SYSTEMD_DEBUGGER</varname> is unset, then
+ <citerefentry><refentrytitle>gdb</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ will be used. </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-D</option> <replaceable>DIR</replaceable></term>
<term><option>--directory=</option><replaceable>DIR</replaceable></term>
@@ -228,10 +237,14 @@
</varlistentry>
<varlistentry>
- <term><command>gdb</command></term>
-
- <listitem><para>Invoke the GNU debugger on the last core dump
- matching specified characteristics. </para></listitem>
+ <term><command>debug</command></term>
+
+ <listitem><para>Invoke a debugger on the last core dump
+ matching specified characteristics. By default,
+ <citerefentry><refentrytitle>gdb</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ will be used. This may be changed using the <option>--debugger=</option>
+ option or the <varname>$SYSTEMD_DEBUGGER</varname> environment
+ variable.</para></listitem>
</varlistentry>
</variablelist>
@@ -298,7 +311,7 @@
<example>
<title>Invoke gdb on the last core dump</title>
- <programlisting># coredumpctl gdb</programlisting>
+ <programlisting># coredumpctl debug</programlisting>
</example>
<example>