[systemd-devel] Tips for using GDB to analyze systemd init process (`/sbin/init`)

Paul Menzel paulepanter at users.sourceforge.net
Sat Mar 14 01:14:33 PDT 2015


Dear systemd folks,


using Debian Sid/unstable with systemd 215-12, I attached to it with GDB
to analyze some things. Attached with `gdb --pid 1` worked.

But continuing the execution and then hitting Ctrl + c to stop and
analyze it again, systemd caught that command and shut the system down.

How do you accomplish the goal to analyze systemd with GDB?


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150314/c21124c9/attachment-0001.sig>


More information about the systemd-devel mailing list