From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20025 invoked by alias); 27 Jul 2005 21:54:56 -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 20008 invoked by uid 22791); 27 Jul 2005 21:54:50 -0000 Received: from bay105-f30.bay105.hotmail.com (HELO hotmail.com) (65.54.224.40) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 27 Jul 2005 21:54:50 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Jul 2005 14:54:48 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Wed, 27 Jul 2005 21:54:48 GMT X-Originating-Email: [ikiwibebe@hotmail.com] X-Sender: ikiwibebe@hotmail.com From: "Sp3cial K" To: gdb@sources.redhat.com Bcc: Subject: Linetable Date: Wed, 27 Jul 2005 21:54:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-SW-Source: 2005-07/txt/msg00254.txt.bz2 Hi, can someone please explain how symtab->linetable is constructed? The linetable sometimes contain consecutive entry of the same line number but a different pc (only a few bits different). I originally went into a problem when setting a breakpoint to an overloaded function. 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 just debugged one of my images and here’s what the linetable for the symtab containing the overloaded function “Interface::get” looks like: index line pc in dex pc in hex 28 251 8775424 85e700 29 251 8775427 85e703 30 0 8775434 85e70a 31 255 8775434 85e70a 32 255 8775437 85e70d 33 0 8775444 85e714 34 259 8775444 85e714 35 259 8775447 85e717 36 0 8775454 85e71e 37 261 8775454 85e71e 38 261 8775457 85e721 39 0 8775464 85e728 40 264 8775464 85e728 Etc… >From symbol table: 0085e700 W Interface::get(unsigned&, unsigned&, unsigned&, unsigned&, unsigned&) No entry for 0085e703 0085e70a W Interface::get(unsigned char*&) No entry for 0085e70d 0085e714 W Interface::interfaceUp() No entry for 0085e717 0085e71e W Interface::interfaceDown() No entry for 0085e721 0085e728 W Interface::getType() Etc… Thanks in advance! ~K