[Converted from Gnats 2408] Posted to <bug-gdb@gnu.org> since Fri, 31 Mar 2006 22:12:41 +0400 (<66bqvm8ova.fsf@mo.msk.ru>). In C `(void(**)())EXPR' type cast expression means the same as `(void(*(*))())EXPR'. (gdb) sho lang The current source language is "auto; currently c". With this setting, expecting that `gdb' also processes both of these expressions the same way. Instead: (gdb) p*(void(**)())$addr A syntax error in expression, near `*)())$addr'. Release: 6.3, 6.4, 6.6, 6.7.1 Environment: Hardly relevant. Observed in x86_64-unknown-linux-gnu, i686-pc-linux-gnu. How-To-Repeat: p*(void(**)())$addr
*** This bug has been marked as a duplicate of 9514 ***