diff options
author | Ryan Gonzalez <kirbyfan64@users.noreply.github.com> | 2018-04-18 21:32:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-04-18 21:32:17 +0200 |
commit | c5896b6a8cfcfd1b94f25450a96a1411384f1108 (patch) | |
tree | 14a1b6e1f03dc5fa6dd9525a47863377be94fc93 /man/coredumpctl.xml | |
parent | man: don't place nginx socket in /tmp (#8757) (diff) | |
download | systemd-c5896b6a8cfcfd1b94f25450a96a1411384f1108.tar.xz systemd-c5896b6a8cfcfd1b94f25450a96a1411384f1108.zip |
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.xml | 23 |
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> |