From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9922 invoked by alias); 24 Jun 2005 13:42:33 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9896 invoked by uid 22791); 24 Jun 2005 13:42:26 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.194) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 24 Jun 2005 13:42:26 +0000 Received: by zproxy.gmail.com with SMTP id 13so1409853nzn for ; Fri, 24 Jun 2005 06:42:25 -0700 (PDT) Received: by 10.36.56.16 with SMTP id e16mr2327787nza; Fri, 24 Jun 2005 06:42:25 -0700 (PDT) Received: by 10.36.68.6 with HTTP; Fri, 24 Jun 2005 06:42:25 -0700 (PDT) Message-ID: <6097c490506240642317a9836@mail.gmail.com> Date: Fri, 24 Jun 2005 13:42:00 -0000 From: Maxim Osipov Reply-To: maxim@mox.ru To: gdb@sources.redhat.com Subject: mips64 gdb problem Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-06/txt/msg00228.txt.bz2 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 condition= s. 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 !=3D 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 A= lgn 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=20 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=20 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=20 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