From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29890 invoked by alias); 11 Jun 2004 15:12:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29735 invoked from network); 11 Jun 2004 15:11:59 -0000 Received: from unknown (HELO dyn.fergaldaly.com) (212.13.198.240) by sourceware.org with SMTP; 11 Jun 2004 15:11:59 -0000 Received: from fergal by dyn.fergaldaly.com with local (Exim 3.35 #1 (Debian)) id 1BYnhE-0004VR-00; Fri, 11 Jun 2004 16:11:56 +0100 Date: Fri, 11 Jun 2004 15:12:00 -0000 From: Fergal Daly To: binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH] prevent core dump for multiple def symbols Message-ID: <20040611151156.GG16613@dyn.fergaldaly.com> References: <20040611144526.GF16613@dyn.fergaldaly.com> <20040611145341.GA24143@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040611145341.GA24143@nevyn.them.org> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-06/txt/msg00260.txt.bz2 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