Hi,
gdb-7.2 seems to have some trouble with c++ symbol completion for setting break
points
which did not show up in gdb-7.1 and earlier (built myself with gcc-4.3.2 on
opensuse 11.1 64bit):
a) for the small hello-world program below, when I try to set a bp to "h1" by
typing
b 'h1
someti
Noticing the same problem, is there any workaround? The one noted in OP doesn't
work for me.
$ cat 5.cpp
namespace foo {
int bar (void) {return __LINE__;}
int bar (int n) { return n;}
} ;
int main (int ac, char **av)
{
return foo::bar(__LINE__) - foo::bar();
}
$ g++4 -g -o 5 5.cpp