public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: ringlej <ringlej@ringle.org>
Cc: Jon Ringle <jon@ringle.org>,  Jon Ringle <JRingle@vertical.com>,
		  gdb@sourceware.org
Subject: Re: No line number info debugging kernel modules with gdb 6.6.90.20070926-cvs (gdb 6.7 branch)
Date: Sat, 29 Sep 2007 00:27:00 -0000	[thread overview]
Message-ID: <m3ejgie4fc.fsf@codesourcery.com> (raw)
In-Reply-To: <46FD72CE.9080603@ringle.org> (ringlej@ringle.org's message of "Fri, 28 Sep 2007 17:31:58 -0400")


ringlej <ringlej at ringle.org> writes:
> Jim Blandy wrote:
>> Jon Ringle <jon_at_ringle_dot_org> writes:
>>   
> Can you configure your email client to not insert email addresses in
> the clear in the body of your message? Email addresses in the headers
> get automatically obfuscated by the mailing list, but if the body of
> your message has email addresses they are left as is and are readily
> available for harvesting by spam bots (mine in this case). Thanks.

Sorry --- I've done that.  Thanks for pointing it out to me.

>>> Jim Blandy wrote:
>>>     
>>>> Hum.  What do 'maint info psymtabs' and 'maint info symtabs' say after
>>>> you've set the breakpoint?
>>>>         
>>> Trying to send the attachment again...
>>>     
>>
>> Okay, I got a copy of that attachment; thanks.
>>
>> Could you start GDB, set the breakpoint and try listing the function
>> again, then do 'maint print symbols SOME-FILE dstchar.c' (or
>> perhaps use the full pathname for dstchar.c), and then post the
>> contents of SOME-FILE?
>>
>> If GDB has line number information for that compilation unit, then
>> find_pc_sect_line ought to be able to find the source line for your
>> function's PC.  I'd like to see whether it does have that information.
>>   
> Attached.

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?

  reply	other threads:[~2007-09-28 23:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 20:11 Jon Ringle
2007-09-28  0:25 ` Jim Blandy
2007-09-28  3:47   ` Jon Ringle
2007-09-28 13:47   ` Jon Ringle
2007-09-28 16:01     ` Jon Ringle
2007-09-28 21:32     ` Jim Blandy
2007-09-28 22:06       ` ringlej
2007-09-29  0:27         ` Jim Blandy [this message]
2007-09-29  0:27           ` Daniel Jacobowitz
2007-09-29  2:06             ` Jon Ringle
2007-09-29  2:27               ` Daniel Jacobowitz
2007-09-29  7:38                 ` Jon Ringle
2007-10-02 21:38                   ` Jim Blandy
2007-10-02 22:54                     ` Jon Ringle
2007-10-02 20:26             ` Jim Blandy
2007-10-02 20:43               ` Daniel Jacobowitz
2007-09-29  1:28           ` Jon Ringle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ejgie4fc.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=JRingle@vertical.com \
    --cc=gdb@sourceware.org \
    --cc=jon@ringle.org \
    --cc=ringlej@ringle.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).