This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, doc RFA]: New python function lookup_global_symbol
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 22 Feb 2011 14:56:16 -0700
- Subject: Re: [patch, doc RFA]: New python function lookup_global_symbol
- References: <20110218235945.997602461AA@ruffy.mtv.corp.google.com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> I couldn't figure out how to lookup up a global symbol without
Doug> having a running program and without knowing the block it is in.
Doug> Plus lookup_symbol already has a specified behaviour when the
Doug> `block' argument is elided: use the current frame.
Doug> So it seemed best to add a new function.
FWIW, it seems fine to me.
Tom