That one surprised me, when doing tab for auto complete for a breakpoint it appeared two options to the same method.
test::TestFoo::SendFoo(short)
test::TestFoo::SendFoo(short)::fooID
On cpp:
bool TestFoo::SendFoo( short x )
{
...
static unsigned int fooID = 0;
Why gdb differs? what's the benefit of using one or another?
Question tagged as C++ to avoid any missunderstanding from C static.
gdb --version
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)
...