From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15918 invoked from network); 20 Apr 1998 10:00:40 -0000 Received: from mx01.uni-tuebingen.de (root@134.2.3.11) by mail2.redhat.com with SMTP; 20 Apr 1998 10:00:40 -0000 Received: from ceres.tat.physik.uni-tuebingen.de (ceres.tat.physik.uni-tuebingen.de [134.2.170.12]) by mx01.uni-tuebingen.de (8.8.8/8.8.8) with ESMTP id MAA11486 for ; Mon, 20 Apr 1998 12:00:28 +0200 Received: (from koenig@localhost) by ceres.tat.physik.uni-tuebingen.de (8.8.8/8.8.8) id MAA03319 for axp-list@redhat.com; Mon, 20 Apr 1998 12:00:28 +0200 (MES) Received: (from root@localhost) by turtle.tat.physik.uni-tuebingen.de (8.8.8/8.8.5) id JAA09561; Mon, 20 Apr 1998 09:24:23 +0200 Message-ID: <19980420092423.36450@tat.physik.uni-tuebingen.de> Date: Mon, 20 Apr 1998 09:24:23 +0200 From: Harald Koenig To: axp-list@redhat.com Subject: Re: Debugging X server References: <353AAEFB.A74F560A@voicenet.com> <19980420010615.33924@mtu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980420010615.33924@mtu.edu>; from adisaacs@trurl.resnet.mtu.edu on Mon, Apr 20, 1998 at 01:06:15AM -0400 X-fingerprint: 3B CD 5A A9 73 44 DD 04 A0 4E A0 34 20 7B 1E 38 On Apr 20, adisaacs@trurl.resnet.mtu.edu wrote: > On Sun, Apr 19, 1998 at 10:12:12PM -0400, Uncle George wrote: > > my X setver XF86_SVGA for the alpha port gets sig 11 when i run 2 java > > applications. I'm fed up. > > > > HOW DOES ONE DEBUG THE X SERVER???? > > The best way is either over a network, or via a serial terminal. Grab an > XFree86 source tree from ftp.xfree86.org, compile it (with debugging > symbols, preferably), and gdb away. Don't try this on console, though. compiling the whole X server with `-g' isn't necessary nor usefull, this will only create _huge_ binaries and quires even more memory in gdb. first check the trace back of a core dump or run the normal X server once in gdb from remote login or similar. then just compile the last few routines in the traceback with `-g' (or the directories including them, e.g. ..../xfree86/vga256/drivers/s3v for SVGA/s3_virge) and link a new server binary. usual commands are: cd ..../xfree86/vga256/drivers/s3v rm *.o make "CDEBUGFLAGS=-O2 -g" # check original settings in Makefile!! make -C .. SUBDIRS=s3v cd ..../xc/programs/Xserver make loadXF86_SVGA Harald -- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^