No LoaderPrintSymbol in newer version Xorg-Server?
tombowfly at gmail.com
Wed Sep 17 22:18:20 PDT 2008
But maybe static func can't be step run? I will try it.
And I found Loader in new XServer use list instead of hashtable to store the
X module symbol, maybe that will make it easy to debug too?
2008/9/17 Daniel Stone <daniel at fooishbar.org>
> On Wed, Sep 17, 2008 at 09:18:06AM +0800, lu zhihe wrote:
> > What I mean is: when you catch some SEGV bug, if the func. is static, and
> > was in module .so file, how can you catch it now? In older version we had
> > LoaderPrintSymbol() to find the SEGV caused func.
> Just build with -O0 -g3 -ggdb, and don't strip them. gdb/bfd does a
> much better job of symbol resolution than the old loader.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg