From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21833 invoked by alias); 12 Sep 2012 11:34:31 -0000 Received: (qmail 21763 invoked by uid 22791); 12 Sep 2012 11:34:30 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Sep 2012 11:34:17 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TBlCx-0002U5-HW from Yao_Qi@mentor.com ; Wed, 12 Sep 2012 04:34:15 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 Sep 2012 04:34:15 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 12 Sep 2012 04:34:14 -0700 Message-ID: <5050730E.3000207@codesourcery.com> Date: Wed, 12 Sep 2012 11:34:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Jan Kratochvil CC: Subject: Re: Symbol can't be found unless type 'tab' References: <504DE251.1020702@codesourcery.com> <20120910131828.GA13062@host2.jankratochvil.net> <50503D6C.6070704@codesourcery.com> <20120912080639.GA16010@host2.jankratochvil.net> In-Reply-To: <20120912080639.GA16010@host2.jankratochvil.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-09/txt/msg00027.txt.bz2 On 09/12/2012 04:06 PM, Jan Kratochvil wrote: > Why didn't use just normal DWARF block, instead of the location list? > This part does not matter for your testcase and it will work with GDB. No special reason really. Are you suggesting create dwarf like this? <1><33>: Abbrev Number: 3 (DW_TAG_variable) <34> DW_AT_name : i <36> DW_AT_type : <0x2a> <3a> DW_AT_external : 1 <3b> DW_AT_location : 6 byte block: 52 93 4 53 93 4 (DW_OP_reg2 (edx); DW_OP_piece: 4; DW_OP_reg3 (ebx); DW_OP_piece: 4) -- Yao