Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Tom Tromey <tromey@redhat.com>
Cc: Caz Yokoyama <cazyokoyama@gmail.com>, gdb-patches@sourceware.org
Subject: Re: patch to eliminate ADDR on loading symbols of Linux module
Date: Thu, 24 Sep 2009 20:32:00 -0000	[thread overview]
Message-ID: <20090924203223.GA32360@caradoc.them.org> (raw)
In-Reply-To: <m3d45gccuy.fsf@fleche.redhat.com>

On Thu, Sep 24, 2009 at 02:21:57PM -0600, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
> 
> Daniel> ... Except you'd need gdb.parse_and_eval, wouldn't you.  Tom, that
> Daniel> missed 7.0, I guess?
> 
> Yes, I never got around to rewriting the documentation.
> Sorry about that.
> 
> Does this need parse_and_eval, or just gdb.execute?  parse_and_eval is
> for expressions, execute invokes gdb commands.  The latter is in CVS.

I think you'd need parse_and_eval to search the kernel's module list.
At least, besides gdb.Frame.read_var, I can't find any other way to
look up a symbol in the target...

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2009-09-24 20:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-24 20:10 Caz Yokoyama
2009-09-24 20:16 ` Daniel Jacobowitz
2009-09-24 20:22   ` Tom Tromey
2009-09-24 20:32     ` Daniel Jacobowitz [this message]

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=20090924203223.GA32360@caradoc.them.org \
    --to=drow@false.org \
    --cc=cazyokoyama@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /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