<div dir="ltr">Thx<br><br>But maybe static func can't be step run? I will try it.<br>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?<br>
<br><br><div class="gmail_quote">2008/9/17 Daniel Stone <span dir="ltr"><<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Sep 17, 2008 at 09:18:06AM +0800, lu zhihe wrote:<br>
> What I mean is: when you catch some SEGV bug, if the func. is static, and<br>
> was in module .so file, how can you catch it now? In older version we had<br>
> LoaderPrintSymbol() to find the SEGV caused func.<br>
<br>
</div>Just build with -O0 -g3 -ggdb, and don't strip them. gdb/bfd does a<br>
much better job of symbol resolution than the old loader.<br>
<br>
Cheers,<br>
<font color="#888888">Daniel<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkjQtTcACgkQUVYB1rKAgJRuZgCeLd/wRjXYfFNbrvhwCojYyoHA<br>
rEEAnjJgqFO3o3OlhOn1b97CRFSzFeZn<br>
=oMwQ<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br></div>