On Thu, Jun 5, 2008 at 1:37 PM, Daniel Jacobowitz wrote: > This is an unsafe use of send_gdb, because the gdb_expect might match > only the first of three expected prompts depending when there is a > pause in the output. Thanks, I believe to have fixed all the problems. New patch attached. -- Paul Pluzhnikov ChangeLog: 2008-06-05 Paul Pluzhnikov PR gdb/1147 * gdb/valopts.c (find_overload_match): Handle references to pointers. testsuite/ChangeLog: 2008-06-05 Paul Pluzhnikov * gdb.cp/call-c.exp: Test for incorrect handling of reference to pointer. * gdb.cp/call-c.cc: Likewise.