Versions: 6.3, 6.4, 6.4.50.20060307-cvs

When current expression language is c, gdb considers the following
type cast an error

(gdb) p*(void(**)())$addr
A syntax error in expression, near `*)())$addr'.

Version 5.1 would process it the same way standard c implementations,
that is, as `(void(*(*))())' cast.


_______________________________________________
Bug-gdb mailing list
Bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to