From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17165 invoked by alias); 29 Sep 2007 00:27:14 -0000 Received: (qmail 17157 invoked by uid 22791); 29 Sep 2007 00:27:13 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Sep 2007 00:27:11 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3FE669832A; Sat, 29 Sep 2007 00:27:09 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id EF7289831F; Sat, 29 Sep 2007 00:27:08 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IbQAl-0001fo-QE; Fri, 28 Sep 2007 20:27:07 -0400 Date: Sat, 29 Sep 2007 00:27:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: ringlej , Jon Ringle , Jon Ringle , gdb@sourceware.org Subject: Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch) Message-ID: <20070929002707.GA6310@caradoc.them.org> Mail-Followup-To: Jim Blandy , ringlej , Jon Ringle , Jon Ringle , gdb@sourceware.org References: <4DD3AF7ECBBC43409BA36508938D01851B00AE@CVAEX1.VERTICAL.COM> <46FC7961.2080706@ringle.org> <46FD72CE.9080603@ringle.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00259.txt.bz2 On Fri, Sep 28, 2007 at 04:49:43PM -0700, Jim Blandy wrote: > Okay. Some of the line table entries have been relocated into the > module's actual range (0xbf13100 on up), but others still look to me > like offsets within the .ko. Can you post the output from running > 'readelf -wil' on your .ko file? add-symbol-file doesn't relocate everything. You have to give it a separate value for every section. -- Daniel Jacobowitz CodeSourcery