This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] prevent core dump for multiple def symbols
- From: Fergal Daly <fergal at esatclear dot ie>
- To: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Fri, 11 Jun 2004 16:11:56 +0100
- Subject: Re: [PATCH] prevent core dump for multiple def symbols
- References: <20040611144526.GF16613@dyn.fergaldaly.com> <20040611145341.GA24143@nevyn.them.org>
On Fri, Jun 11, 2004 at 10:53:41AM -0400, Daniel Jacobowitz wrote:
> The files in bfd/ are maintained as part of GNU Binutils, so you need
> to ask on the binutils list about this patch.
Thanks.
> It seems obvious and correct to me. Is multiple_definition a recent
> callback or did I just miss it when I wrote simple.c? [I won't even
> ask how you have a shared library with multiple definitions of a
> dynamic symbol.]
I'll tell you anyway :-) It's a .so produced by Borland's Kylix Object
Pascal compiler. Unfortunately their debugger is incapable of debugging it
(although the same app on windows has no problem). Earlier versions of gdb
seemed to handle it ok.
Is it totally bizarre to have this situation? I know very little about this
sort of stuff. Perhaps there's something wacky in the Pascal source code
that's causing this. If you can think of anything that might cause this,
please let me know. Is it likely to be the linker?
Thanks,
F