From owner-freebsd-gnome Tue Jul 9 13:21: 6 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B833437B401 for ; Tue, 9 Jul 2002 13:21:03 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BFC43E52 for ; Tue, 9 Jul 2002 13:21:02 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.200] (vpn-client.marcuscom.com [10.2.1.200]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g69KJup4072529; Tue, 9 Jul 2002 16:19:57 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: Debugging gdm2 From: Joe Marcus Clarke To: Joe Kelsey Cc: freebsd-gnome In-Reply-To: <3D2B3374.5040704@flyingcroc.net> References: <3D2B3374.5040704@flyingcroc.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 09 Jul 2002 16:20:29 -0400 Message-Id: <1026246030.17789.7.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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