Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is there a way to debug /sbin/init process?
Date: Fri, 25 Aug 2006 07:15:07
Message-Id: 5cd9791d0608250010i1aeb97dy75b9085487dc8104@mail.gmail.com
In Reply to: Re: [gentoo-user] Is there a way to debug /sbin/init process? by Dirk Heinrichs
1 On 8/25/06, Dirk Heinrichs <ext-dirk.heinrichs@×××××.com> wrote:
2 >
3 > Am Donnerstag, 24. August 2006 17:22 schrieb ext fei huang:
4 > > I'm running a user mode linux on my Gentoo box, and trying to debug the
5 > > /sbin/init process, but seems no way to emerge the sysvinit with debug
6 > > flag on, perhaps not all packages support the use flag..
7 >
8 > Don't forget to emerge it with FEATURES="nostrip". Otherwise your debug
9 > symbols will be stripped out again.
10
11
12 tks, but the sysvinit package does not have a debug use flag (through equery
13 uses syvinit), added the line "sys-apps/sysvinit debug" to
14 /etc/portage/package.use, no use at all, gdb complains no debug symbol
15 found..... mm, I ever emerged firefox with debug flag on, that worked coz
16 mozilla-firefox does have a debug use flag!..
17
18 no idea how to do it under Gentoo...
19
20 daniel
21
22 HTH...
23 >
24 > Dirk
25 > --
26 > Dirk Heinrichs | Tel: +49 (0)162 234 3408
27 > Configuration Manager | Fax: +49 (0)211 47068 111
28 > Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
29 > Hambornerstraße 55 | Web: http://www.capgemini.com
30 > D-40472 Düsseldorf | ICQ#: 110037733
31 > GPG Public Key C2E467BB | Keyserver: www.keyserver.net
32 >
33 >
34 >

Replies

Subject Author
Re: [gentoo-user] Is there a way to debug /sbin/init process? Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
Re: [gentoo-user] Is there a way to debug /sbin/init process? Etaoin Shrdlu <shrdlu@×××××××××××××.org>