[systemd-devel] Systemd Debugging with GDB
Lennart Poettering
lennart at poettering.net
Fri Sep 14 00:44:48 PDT 2012
On Fri, 14.09.12 13:03, eleven (elevenyang at linpus.com) wrote:
>
> It's my pleasure to receive your reply and get your advice.
>
> Actually I really want to debug source codes from the OS boot(from
> systemd first starts) with virtual machines just like debug kernel
> sources or in some other ways I don't know .
>
> And I also do some works but failed, so I ask for your help.
This document includes some help.
http://freedesktop.org/wiki/Software/systemd/Debugging
Other than that you can attach gdb to systemd easily if you run systemd
in a containe such as nspawn. But that requires you to set it up in
subtree you can boot.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list