This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 6/9] Code cleanup: compile: func_addr -> func_sym
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Cc: Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 29 Apr 2015 16:47:57 +0100
- Subject: Re: [PATCH v3 6/9] Code cleanup: compile: func_addr -> func_sym
- Authentication-results: sourceware.org; auth=none
- References: <20150411194322 dot 29128 dot 52477 dot stgit at host1 dot jankratochvil dot net> <20150411194410 dot 29128 dot 31912 dot stgit at host1 dot jankratochvil dot net>
On 04/11/2015 08:44 PM, Jan Kratochvil wrote:
> Hi,
>
> currently the code fetches _gdb_expr address/types at multiple places, guessing
> its parameters at multiple places etc.
>
> Fetch it once, verify it has expected type and then rely on it.
>
OK.
Thanks,
Pedro Alves