[Converted from Gnats 1244] Setting a breakpoint on a C++ class member function while the current language is C doesn't work. You get the error message about the class not having the member. Once the current language is changed to C++ it works as expected. <TAB> completion does work in the case that the current lanugage is C. Release: 5.3 and HEAD Environment: Red Hat 7.2 i386
This seems to work fine with cvs head gdb: (gdb) set language c (gdb) b K::foo Breakpoint 1 at 0x8048801: file leak.cc, line 4.