From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
To: axp-list@redhat.com
Subject: Re: Debugging X server
Date: Mon, 20 Apr 1998 09:24:23 +0200 [thread overview]
Message-ID: <19980420092423.36450@tat.physik.uni-tuebingen.de> (raw)
In-Reply-To: <19980420010615.33924@mtu.edu>; from adisaacs@trurl.resnet.mtu.edu on Mon, Apr 20, 1998 at 01:06:15AM -0400
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 ^^^^^ ^^^^^
next prev parent reply other threads:[~1998-04-20 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-20 2:12 Debugging X server Uncle George
1998-04-20 3:35 ` Christopher Curtis
1998-04-20 5:06 ` adisaacs
1998-04-20 7:24 ` Harald Koenig [this message]
[not found] ` <199804200244.WAA15361@lacrosse.redhat.com>
1998-04-21 12:08 ` X server bug on DIGITAL alpha Uncle George
1998-04-21 15:19 ` Harald Koenig
1998-04-21 18:59 ` Michal Jaegermann
[not found] <m0yRCNo-000aNhC@the-village.bc.nu>
1998-04-20 11:29 ` Debugging X server Uncle George
1998-04-21 7:33 ` Wes Bauske
1998-04-21 11:12 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox