From owner-freebsd-gnome Tue Jul 9 12: 3:19 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 965F137B400 for ; Tue, 9 Jul 2002 12:03:17 -0700 (PDT) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04BFA43E42 for ; Tue, 9 Jul 2002 12:03:17 -0700 (PDT) (envelope-from joek@mail.flyingcroc.net) Received: from flyingcroc.net (unx48.staff.flyingcroc.net [207.246.150.48]) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) with ESMTP id MAA92971 for ; Tue, 9 Jul 2002 12:03:16 -0700 (PDT) Message-ID: <3D2B3374.5040704@flyingcroc.net> Date: Tue, 09 Jul 2002 12:03:16 -0700 From: Joe Kelsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-gnome Subject: Debugging gdm2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 I tried to start debugging gdm2 today but got basically nowhere. I compiled and installed gdm2 with env CFLAGS='-O -g -pipe' make install 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! 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