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 <[EMAIL PROTECTED]> > 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----- > >
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
