tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Debugging X server components in the new world order



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 22, 2008, at 05:37, Martin Husemann wrote:

On Fri, Jul 11, 2008 at 02:19:47AM +0200, Martin Husemann wrote:
This might be a stupid question, but how do people debug parts of the X server
in the brave new modular xorg world?

It indeed was kindof a stupid question - thanks to Matthieu Herrb for clueing
me in.

The crucial bit is: the module loader is now dlopen() based, so gdb will
just work.

Hmm, that's what XFree86 does on sgimips, with all sorts of funky side effects like module dependencies not working properly. I'm not sure what's more annoying - fixing out Xserver or making Xorg work before the next release.

Getting the debug info into the binary etc. is standard autoconf stuff. Maybe we should add support for the global "debug" option to the modular- xorg
packages?

Yes please :)

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSIXlyspnzkX8Yg2nAQIywAf/UWwaq2P8cUWtijRtBiQBlDHLSWJVdCga
55qlLwU/US1du2CHlJHR4nsbaQN+MzLE2pp8XGylrCw/pSVAkknfNOSm7OpafnSp
6NX0+E+/mn+PoxuHeTLRmcqyZWSLkfFGxLelxka75T97uDP0HmG8rzMyflcHadzZ
TE7l9HYR7tfm2S43rXpOEgU0qIt8UgzanK0SQxk9kN2Zn93cRXCZKOcZjH/TMJJs
SfsLwDkI8nlLowsUnjHgruzuKlkpqvTwZYangopi2C+haR7/BBDU33RpnbE00IDF
OYzNhQCB6GEC9yN2V5JJuNfK0/9FgIvmHtVNkizluHyguiPFNvKV9Q==
=/e7L
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index