From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18707 invoked by alias); 9 Apr 2014 02:26:26 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 18691 invoked by uid 89); 9 Apr 2014 02:26:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ve0-f169.google.com Received: from mail-ve0-f169.google.com (HELO mail-ve0-f169.google.com) (209.85.128.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 09 Apr 2014 02:26:22 +0000 Received: by mail-ve0-f169.google.com with SMTP id pa12so1607584veb.0 for ; Tue, 08 Apr 2014 19:26:20 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.58.74.38 with SMTP id q6mr6027257vev.7.1397010380409; Tue, 08 Apr 2014 19:26:20 -0700 (PDT) Received: by 10.221.50.202 with HTTP; Tue, 8 Apr 2014 19:26:20 -0700 (PDT) Date: Wed, 09 Apr 2014 02:26:00 -0000 Message-ID: Subject: How to locate the DIE from Dwarf Error message? From: Terry Guo To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2014-04/txt/msg00024.txt.bz2 Hi there, I am using gdb to debug my ELF file and getting below message: Dwarf Error: Cannot find DIE at 0x0 referenced from DIE at 0x1d1b8 [in module /Users/darius/work/micro/ussio/ussio-dbg-bug/main.elf] After dump the dwarf information from main.elf with command "arm-none-eabi-readelf -w main.elf", I can not find anything related to address 0x1d1b8. So what does the 0x1d1b8 stand for? How can I figure out which DIE at this address? Please help. Thanks. BR, Terry