[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objdump 2.11
From: |
Giles Thompson |
Subject: |
Re: objdump 2.11 |
Date: |
Thu, 06 Dec 2001 18:17:22 -0000 |
--On 06 December 2001 17:39 +0000 Nick Clifton <address@hidden>
wrote:
Hi Giles,
objdump (version 2.11) seems to get stuck printing debug info.
/usr/local/bin/objdump -g /usr/local/bin/objdump for example.
Is this version 2.11 or 2.11.2 ? The latter version appears to work
fine for me. (On an x86 host). What host/target combination were you
using ? How does the program fail ?
2.11.2 on i686-pc-linux-gnu (host & target)
It gets as far as printing
/usr/include/libio.h:
typedef void _IO_lock_t;
struct _IO_marker { /* size 12 id 57 */
struct _IO_marker /* id 57 */ *_next; /* bitsize 32, bitpos 0 */
struct _IO_FILE /* id 18 */ *_sbuf; /* bitsize 32, bitpos 32 */
int _pos; /* bitsize 32, bitpos 64 */
};
And then hangs:
Program received signal SIGINT, Interrupt.
0x8052ac9 in debug_get_real_type (handle=0x80f6148, type=0x8131c28,
list=0x0) at ../../binutils-2.11.2/binutils/debug.c:2194
2194 if (l->t == type)
(gdb) bt
#0 0x8052ac9 in debug_get_real_type (handle=0x80f6148, type=0x8131c28,
list=0x0)
at ../../binutils-2.11.2/binutils/debug.c:2194
#1 0x8054550 in debug_class_type_samep (info=0x80f6148, t1=0x8113818,
t2=0x8133980)
at ../../binutils-2.11.2/binutils/debug.c:3474
#2 0x80540b5 in debug_type_samep (info=0x80f6148, t1=0x8113818,
t2=0x8133980) at ../../binutils-2.11.2/binutils/debug.c:3282
#3 0x8053ecf in debug_set_class_id (info=0x80f6148, tag=0x8130030
"_IO_FILE", type=0x8133980)
at ../../binutils-2.11.2/binutils/debug.c:3162
#4 0x80532a5 in debug_write_type (info=0x80f6148, fns=0x80afba0,
fhandle=0xbffff878, type=0x81339b8, name=0x81339e0)
at ../../binutils-2.11.2/binutils/debug.c:2685
#5 0x8052f65 in debug_write_name (info=0x80f6148, fns=0x80afba0,
fhandle=0xbffff878, n=0x81339e0)
at ../../binutils-2.11.2/binutils/debug.c:2556
#6 0x8052eaa in debug_write (handle=0x80f6148, fns=0x80afba0,
fhandle=0xbffff878)
at ../../binutils-2.11.2/binutils/debug.c:2524
#7 0x804e346 in print_debugging_info (f=0x40108980, dhandle=0x80f6148) at
../../binutils-2.11.2/binutils/prdbg.c:194
#8 0x804cb66 in dump_bfd (abfd=0x80d3e50) at
../../binutils-2.11.2/binutils/objdump.c:2155
#9 0x804cc93 in display_bfd (abfd=0x80d3e50) at
../../binutils-2.11.2/binutils/objdump.c:2203
#10 0x804cddb in display_file (filename=0xbffffafd
"/usr/local/bin/objdump", target=0x0)
at ../../binutils-2.11.2/binutils/objdump.c:2258
#11 0x804e2f0 in main (argc=3, argv=0xbffff9a4) at
../../binutils-2.11.2/binutils/objdump.c:3000
(gdb) p l
$1 = (struct debug_type_real_list *) 0xbffff6ec
(gdb) p *l
$2 = {next = 0xbffff6ec, t = 0x8131190}
(gdb) p type
$3 = 0x8130bb0
Do you want a core dump?
Giles