ver_test_8_2.so

Ian Lance Taylor iant@google.com
Tue May 20 22:55:00 GMT 2008


David Miller <davem@davemloft.net> writes:

> Is the anonymous namespace really worth all of this pain? :-)

No, probably not.  In i386.cc and x86_64.cc it's not an issue since I
just set breakpoints by line number.  That doesn't work well for
template functions in the version of gdb I have installed--it sets a
breakpoint on a randomly chosen function.  However, this was
reportedly recently fixed in gdb 6.8, so this will be much easier to
work with reasonably soon.

    *** Changes in GDB 6.8

    ...

    * GDB now supports breakpoints with multiple locations,
    including breakpoints on C++ constructors, inside C++ templates,
    and in inlined functions.

Ian



More information about the Binutils mailing list