This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] PR symtab/13277: Resolving opaque structures in ICC generated binaries.
On 20/05/12 22:47, Jan Kratochvil wrote:
> [ Cc to gdb-patches has been lost. ]
> On Sun, 20 May 2012 15:09:19 +0200, Jan Kratochvil wrote:
> Hi John,
>
> On Sun, 20 May 2012 14:34:05 +0200, John Steele Scott wrote:
>> basic_lookup_transparent_type will only do one psymbol->symbol expansion per
>> call. For a frequently referenced opaque type in a non-trivial program,
>> initially "ptype" will show it as "no data fields". But if I repeatedly
>> invoke ptype, eventually it resolves the type correctly.
> sorry I did not write a proper reproducer + testcase for it but I believe the
> attached patch should fix it. It is probably a regression since introduction
> of quick_symbol_functions.
>
Yes, this looks to have fixed it.
Cheers,
John