From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2805 invoked by alias); 9 May 2006 14:30:46 -0000 Received: (qmail 2796 invoked by uid 22791); 9 May 2006 14:30:45 -0000 X-Spam-Check-By: sourceware.org Received: from whirlwind.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 14:30:43 +0000 Received: from [192.168.0.10] (220-253-62-212.VIC.netspace.net.au [220.253.62.212]) by mail.netspace.net.au (Postfix) with ESMTP id 35B2E131117 for ; Wed, 10 May 2006 00:30:39 +1000 (EST) Message-ID: <4460A792.30106@netspace.net.au> Date: Tue, 09 May 2006 21:45:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 MIME-Version: 1.0 Cc: gdb@sources.redhat.com Subject: Re: Unknown files References: <446088E5.3070204@netspace.net.au> <20060509123912.GC2147@nevyn.them.org> <44609E48.3060001@netspace.net.au> <20060509141335.GA4585@nevyn.them.org> <4460A544.8060808@netspace.net.au> <20060509142302.GA5139@nevyn.them.org> In-Reply-To: <20060509142302.GA5139@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00095.txt.bz2 Daniel Jacobowitz wrote: > On Wed, May 10, 2006 at 12:20:52AM +1000, Russell Shaw wrote: > >>Hi, >>I'm using GNU gdb 6.4-debian on a debian-sid pc. >> >>I debug using: ddd ./myprog > > Try using GDB by hand. DDD may be invoking it incorrectly. > >>I assume it's stripped libraries that's causing this? > > Unlikely, since "info shared" says there are no libraries at all. It worked ok in gdb. I started it in ddd again and now it works there too. I think i should've restarted ddd/gdb after changing ld.so.conf ;) (gdb) bt #0 my_realloc_hook (ptr=0x8093cbc, size=8, caller=0xb7f618ca) at main.c:341 #1 0xb7e0733c in realloc () from /lib/tls/libc.so.6 #2 0xb7f618ca in add_codeset (gen=0x808d270) at ../../../src/xlibi18n/lcGeneric.c:191 #3 0xb7f629a5 in initialize (lcd=0x808ceac) at ../../../src/xlibi18n/lcGeneric.c:755 #4 0xb7f646e8 in _XlcCreateLC (name=0xb7ebcf7a "C", methods=0xb7fd8ac0) at ../../../src/xlibi18n/lcPubWrap.c:92 #5 0xb7fe73cb in _XlcDefaultLoader (name=0x8
) at ../../../../modules/lc/def/lcDefConv.c:766 #6 0xb7f56b6b in _XlcDynamicLoad (lc_name=0xb7ebcf7a "C") at ../../../src/xlibi18n/XlcDL.c:429 #7 0xb7f6b109 in _XOpenLC (name=) at ../../../src/xlibi18n/lcWrap.c:296 #8 0xb7f6b2d3 in _XlcCurrentLC () at ../../../src/xlibi18n/lcWrap.c:357 #9 0xb7f6b317 in XSupportsLocale () at ../../../src/xlibi18n/lcWrap.c:101 #10 0x0804c466 in main (argc=4, argv=0xbffffae4) at main.c:483 (gdb)