This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR python/13351
- From: Tom Tromey <tromey at redhat dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org
- Date: Wed, 01 Feb 2012 09:02:46 -0700
- Subject: Re: RFA: fix PR python/13351
- References: <m339avednx.fsf@fleche.redhat.com> <CADPb22T79CrHOqFG2RJMf6DBg93Jytd8hr8NJxdW=U71AH3cEA@mail.gmail.com> <4F29275E.2070403@redhat.com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> I agree that two APIs for the same functionality are a pain. However
Phil> we have to keep them for backwards compatibility.
Phil> However, can we not deprecated and even gut lookup_global_symbol to
Phil> call lookup_symbol with a frame?
I think the two aren't really equivalent; lookup_symbol_in_language
calls demangle_for_lookup, but lookup_symbol_global does not.
Tom