ver_test_8_2.so

Maciej W. Rozycki macro@linux-mips.org
Tue May 20 22:16:00 GMT 2008


On Tue, 20 May 2008, David Miller wrote:

> For example, if I wanted to set a breakpoint on:
> 
> 	Target_sparc<32, true>::Scan::local()
> 
> how might I specify that to gdb?

 Hmm, how about:

(gdb) break Target_sparc<32, true>::Scan::local

GDB is supposed to be able to place breakpoints on templated functions and
there are some cases in the test suite to cover it.  Perhaps you have
found a bug in GDB or elsewhere (DWARF-2?)...

  Maciej



More information about the Binutils mailing list