This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix ptype problem printing typedefs defined differently in different compilation units
On 1/4/06, Fred Fish <fnf@specifix.com> wrote:
> 2006-01-04 Fred Fish <fnf@fishfood.ninemoons.com>
>
> * parse.c (source.h): Include.
> (parse_exp_in_context): Use static source context if no
> other context found.
Thanks for revising this!
Would it be hard to find the innermost block that contains the current
line? Say, a sal->pc->block mapping? We could fall back to the
static block if some step failed.