Unknown files
Russell Shaw
rjshaw@netspace.net.au
Tue May 9 21:45:00 GMT 2006
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 <Address 0x8 out of bounds>) 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=<value optimized out>) 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)
More information about the Gdb
mailing list