This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb / glibc querry


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]