On 13 Apr 2002, Michel Dänzer wrote: >Date: 13 Apr 2002 16:36:27 +0200 >From: Michel Dänzer <[EMAIL PROTECTED]> >To: K. Petersen <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED] >Content-Type: text/plain; charset=ISO-8859-1 >List-Id: <dri-devel.lists.sourceforge.net> >Subject: Re: DRM causes video lock on virtual console switching > >On Sat, 2002-04-13 at 03:58, K. Petersen wrote: > >> #1 0xfffffc02 in ?? () >> #2 0x0832575e in ?? () >> #3 0x086da341 in ?? () >> #4 0x0876ced1 in ?? () >> #5 0x0816be18 in miSpritePaintWindowBackground (pWin=0x878c118, >> pRegion=0x875cd10, what=0) at misprite.c:844 >> #6 0x0815f580 in miWindowExposures (pWin=0x878c118, prgn=0x875cd10, >> other_exposed=0x0) at miexpose.c:536 >> #7 0x080a6a8a in xf86XVWindowExposures (pWin=0x878c118, reg1=0x875cd10, >> reg2=0x0) at xf86xv.c:1027 >> #8 0x0832134a in ?? () > >Either call LoaderPrintSymbol for the address of each '??', use a gdb >with support for XFree86 modules or a static server.
I've got gdb compiled with X module debugging support available on ftp://people.redhat.com/mharris/gdb-xfree86 It allows one to debug a normal modular X server. Red Hat Linux users can rebuild the XFree86 src.rpm with full debugging enabled by doing: rpm -ivh XFree86-4.2.0-*.src.rpm cd /usr/src/redhat/SPECS edit the XFree86.spec file, look for the line "Release:" and add "dbg" to the end of the release number. Then look for "DebuggableBuild" option, and change it from 0 to 1, then save and exit. Then rebuild new XFree86 rpms with debug support by doing: rpm -bb XFree86.spec It requires about a gigabyte of free disk space, and likely several hours depending on how fast your system is. The resulting XFree86 rpm packages are HUGE. ;o) Hope this helps anyone who might be debugging in an rpm environement. The patched gdb should be rebuildable under any other OS/distribution as well. Hope this helps. -- Mike A. Harris Shipping/mailing address: OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, XFree86 maintainer Ontario, Canada, P6C 5B3 Red Hat Inc. http://www.redhat.com ftp://people.redhat.com/mharris _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel