From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25683 invoked by alias); 27 Jul 2005 22:01:59 -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 25662 invoked by uid 22791); 27 Jul 2005 22:01:51 -0000 Received: from mail-out3.apple.com (HELO mail-out3.apple.com) (17.254.13.22) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 27 Jul 2005 22:01:51 +0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out3.apple.com (8.12.11/8.12.11) with ESMTP id j6RM1noE004981 for ; Wed, 27 Jul 2005 15:01:49 -0700 (PDT) Received: from relay1.apple.com (relay1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.17) with ESMTP id ; Wed, 27 Jul 2005 15:01:49 -0700 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by relay1.apple.com (8.12.11/8.12.11) with ESMTP id j6RM1kT6007114; Wed, 27 Jul 2005 15:01:47 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: gdb@sources.redhat.com Content-Transfer-Encoding: 7bit From: Jason Molenda Subject: Re: Linetable Date: Wed, 27 Jul 2005 22:01:00 -0000 To: Sp3cial K X-SW-Source: 2005-07/txt/msg00255.txt.bz2 On Jul 27, 2005, at 2:54 PM, Sp3cial K wrote: > Hi, can someone please explain how symtab->linetable is constructed? You're probably best off starting by looking at the readelf -wl output of your executable. > For each of the functions, the linetable contains two entries with > same line number and slightly different pc, but these entries are > not in NAS.map! I have no idea what NAS.map is. Before you assume that gdb has incorrectly read the line table, you should start by looking at the line table information in the executable. Jason