Greetings, Attached patch fixes incorrect handling of "this" when reference to pointer is used: http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view&database=gdb&pr=1147 and adds a test case for it. Thanks, -- Paul Pluzhnikov ChangeLog: 2008-05-08 Paul Pluzhnikov * gdb/valopts.c (find_overload_match): Handle references to pointers. testsuite/ChangeLog: 2008-05-08 Paul Pluzhnikov * gdb.cp/call-c.exp: Test for incorrect handling of reference to pointer. * gdb.cp/call-c.cc: Likewise.