This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to eliminate ADDR on loading symbols of Linux module


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]