This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb / glibc querry
- To: Ranjan Parthasarathy <Ranjan dot Parthasarathy at efi dot com>
- Subject: Re: gdb / glibc querry
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Fri, 28 Sep 2001 19:25:04 -0400
- Cc: gdb at sources dot redhat dot com
- References: <E15n6tZ-000761-00@crack.them.org>
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