Date: 09 Jul 2002 16:20:29 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Joe Kelsey <joek@mail.flyingcroc.net> Cc: freebsd-gnome <freebsd-gnome@FreeBSD.ORG> Subject: Re: Debugging gdm2 Message-ID: <1026246030.17789.7.camel@gyros.marcuscom.com> In-Reply-To: <3D2B3374.5040704@flyingcroc.net> References: <3D2B3374.5040704@flyingcroc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-07-09 at 15:03, Joe Kelsey wrote: > I tried to start debugging gdm2 today but got basically nowhere. > > I compiled and installed gdm2 with > > env CFLAGS='-O -g -pipe' make install First, you'll need to add a STRIP= to gdm2's Makefile or to the make line. If you don't, all the binaries will be stripped of debugging symbols at install time. > > Then I did > > gdb /usr/X11R6/bin/gdm > gdb> run --nodaemon > > When I typed my username at the gdm prompt, it exited! This was no > help, as it was a subprocess of the gdm I was debugging, so it didn't > help at all! Find the process that's spinning after you enter your username, then attach gdb to it. You should then be able to get a backtrace. Joe > > Any suggestions? Even if I attach to the gdm subprocess, what am I > looking for? Any ideas about where to set breakpoints? > > /Joe > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message > -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026246030.17789.7.camel>