gdb / glibc querry
Daniel Jacobowitz
drow@mvista.com
Fri Sep 28 16:24:00 GMT 2001
On Thu, Sep 27, 2001 at 05:17:58AM -0700, Ranjan Parthasarathy wrote:
> I am working on a pthreads aware gdbserver with an implementation as done in
> gdb.
>
> I have a working release however occasionally my gdbserver causes a thread to
> die reporting a SIGSEGV in __DTOR_END__ . This is somewhat random and I do
> not get such an error in many programs but only in certain cases but
> reproducable in all such cases.
>
> Also I found that the __DTOR_END__ is declared in some file in glibc. What is
> the purpose of that and how is it used.
__DTOR_END__ describes the end of the static destructors section. It's
unlikely that you're really crashing there; more likely, it's the last
symbol before the address where you are really crashing.
Are you planning on posting this code soon (I hope so!)? Do you have a
copyright assignment in place?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list