gdb-7.2 c++ break points

2010-09-29 Thread Harald Koenig
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

Re: gdb-7.2 c++ break points

2011-01-05 Thread kousiknandy
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