[BUG] Parser error for "pointer to a function pointer"

Jan Kratochvil jan.kratochvil@redhat.com
Sun Sep 4 14:52:00 GMT 2011


On Sun, 04 Sep 2011 12:47:13 +0200, Abhijit Halder wrote:
> The regression happened for (gdb)ptype int (*(*(*)(char))(short int))(long int)
> But once again the following still throws error (gdb)ptype int
> (*(**(*)(char))(short int))(long int)

There are some known Bugs in it, Keith Seitz had some fixes but IMO never
prepared to be posted.

Definitely there should be testcases, both for the cases you have fixed and
for the cases you found to be regressing (as they probably weren't caught by
the testsuite I guess).


Thanks,
Jan



More information about the Gdb-patches mailing list