This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
mips64 gdb problem
- From: Maxim Osipov <maxim dot osipov at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 24 Jun 2005 17:42:25 +0400
- Subject: mips64 gdb problem
- Reply-to: maxim at mox dot ru
Hello,
I have a problem trying to debug 64-bit mips binary with gdb-6.3. It
fails with the following message:
/home # gdb 64test
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-linux-gnu"...
../../gdb-6.3/gdb/dwarf2-frame.c:1411: internal-error:
decode_frame_entry_1: Assertion `fde->cie != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
Sections of this binary looks like the following:
osipov_m@ngcp0:/tftpboot/maxim/mipsroot.64/home>
mips64-linux-gnu-objdump -h 64test
64test: file format elf64-tradbigmips
Sections:
Idx Name Size VMA LMA File off Algn
0 .note.ABI-tag 00000020 00000001200000e8 00000001200000e8 000000e8 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .MIPS.options 00003278 0000000120000108 0000000120000108 00000108 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .init 00000080 0000000120003380 0000000120003380 00003380 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .text 000699d0 0000000120003400 0000000120003400 00003400 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 __libc_freeres_fn 00000cb8 000000012006cdd0 000000012006cdd0
0006cdd0 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
5 .fini 0000004c 000000012006da88 000000012006da88 0006da88 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
6 .rodata 00015560 000000012006dae0 000000012006dae0 0006dae0 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 .eh_frame 000014d4 0000000120184000 0000000120184000 00084000 2**3
CONTENTS, ALLOC, LOAD, DATA
8 .ctors 00000010 00000001201854d8 00000001201854d8 000854d8 2**3
CONTENTS, ALLOC, LOAD, DATA
9 .dtors 00000018 00000001201854e8 00000001201854e8 000854e8 2**3
CONTENTS, ALLOC, LOAD, DATA
10 .jcr 00000008 0000000120185500 0000000120185500 00085500 2**3
CONTENTS, ALLOC, LOAD, DATA
11 .data.rel.ro 000045d0 0000000120185508 0000000120185508 00085508 2**3
CONTENTS, ALLOC, LOAD, DATA
12 .data 000014d0 0000000120189ae0 0000000120189ae0 00089ae0 2**4
CONTENTS, ALLOC, LOAD, DATA
13 __libc_subfreeres 00000048 000000012018afb0 000000012018afb0
0008afb0 2**3
CONTENTS, ALLOC, LOAD, DATA
14 __libc_atexit 00000008 000000012018aff8 000000012018aff8 0008aff8 2**3
CONTENTS, ALLOC, LOAD, DATA
15 .got 00001688 000000012018b000 000000012018b000 0008b000 2**4
CONTENTS, ALLOC, LOAD, DATA
16 .sbss 00000128 000000012018c688 000000012018c688 0008c688 2**3
ALLOC
17 .bss 00001638 000000012018c7b0 000000012018c7b0 0008c688 2**4
ALLOC
18 __libc_freeres_ptrs 00000030 000000012018dde8 000000012018dde8
0008c688 2**3
ALLOC
19 .comment 000013f8 0000000000000000 0000000000000000 0008c688 2**0
CONTENTS, READONLY
20 .debug_aranges 00000190 0000000000000000 0000000000000000 0008da80 2**4
CONTENTS, READONLY, DEBUGGING
21 .debug_pubnames 000000e0 0000000000000000 0000000000000000 0008dc10 2**0
CONTENTS, READONLY, DEBUGGING
22 .debug_info 00000e9d 0000000000000000 0000000000000000 0008dcf0 2**0
CONTENTS, READONLY, DEBUGGING
23 .debug_abbrev 0000043a 0000000000000000 0000000000000000 0008eb8d 2**0
CONTENTS, READONLY, DEBUGGING
24 .debug_line 00000390 0000000000000000 0000000000000000 0008efc7 2**0
CONTENTS, READONLY, DEBUGGING
25 .debug_frame 00000130 0000000000000000 0000000000000000 0008f358 2**3
CONTENTS, READONLY, DEBUGGING
26 .debug_str 00000169 0000000000000000 0000000000000000 0008f488 2**0
CONTENTS, READONLY, DEBUGGING
27 .pdr 000055c0 0000000000000000 0000000000000000 0008f5f4 2**2
CONTENTS, READONLY
28 .mdebug.abi64 00000000 0000000000000000 0000000000000000 00094bb4 2**0
CONTENTS, READONLY
Best regards,
Maxim