No LoaderPrintSymbol in newer version Xorg-Server?

lu zhihe tombowfly at gmail.com
Wed Sep 17 22:18:20 PDT 2008


Thx

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.
>
> Cheers,
> Daniel
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkjQtTcACgkQUVYB1rKAgJRuZgCeLd/wRjXYfFNbrvhwCojYyoHA
> rEEAnjJgqFO3o3OlhOn1b97CRFSzFeZn
> =oMwQ
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080918/55f1d08a/attachment.html>


More information about the xorg mailing list