From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10981 invoked by alias); 28 Sep 2007 00:07:04 -0000 Received: (qmail 10931 invoked by uid 22791); 28 Sep 2007 00:07:03 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Sep 2007 00:07:02 +0000 Received: (qmail 3244 invoked from network); 28 Sep 2007 00:07:00 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Sep 2007 00:07:00 -0000 To: "Jon Ringle" Cc: Subject: Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch) References: <4DD3AF7ECBBC43409BA36508938D01851B00AE@CVAEX1.VERTICAL.COM> From: Jim Blandy Date: Fri, 28 Sep 2007 00:25:00 -0000 In-Reply-To: <4DD3AF7ECBBC43409BA36508938D01851B00AE@CVAEX1.VERTICAL.COM> (Jon Ringle's message of "Thu, 27 Sep 2007 11:34:30 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00236.txt.bz2 "Jon Ringle" writes: > (gdb) b vert_dst_nopage_mmap > Breakpoint 1 at 0xbf1342b4 > (gdb) list vert_dst_nopage_mmap > No line number known for vert_dst_nopage_mmap. > > GDB has enough information to set the breakpoint correctly, but can't > seem to find line info for the kernel module. Hum. What do 'maint info psymtabs' and 'maint info symtabs' say after you've set the breakpoint?