* gdb and c++ method names
@ 2005-12-12 3:15 Randolph Chung
2005-12-12 4:30 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Randolph Chung @ 2005-12-12 3:15 UTC (permalink / raw)
To: gdb
Is this expected behavior?
GNU gdb 6.4.50.20051209-cvs
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
(gdb) b StringTest<wchar_t>::testFunction
Breakpoint 1 at 0x3644: file
../../../gdb/gdb/testsuite/gdb.cp/bs15503.cc, line 39.
(gdb) b main
Breakpoint 2 at 0x398c: file
../../../gdb/gdb/testsuite/gdb.cp/bs15503.cc, line 62.
(gdb) run
Starting program: /home/tausq/src/build/gdb/testsuite/gdb.cp/bs15503
Error in re-setting breakpoint 1:
the class StringTest<wchar_t> does not have any method named testFunction
Hint: try 'StringTest<wchar_t>::testFunction<TAB> or
'StringTest<wchar_t>::testFunction<ESC-?>
(Note leading single quote.)
Breakpoint 2, main () at ../../../gdb/gdb/testsuite/gdb.cp/bs15503.cc:62
62 StringTest<wchar_t> ts;
(gdb) b 'StringTest<wchar_t>::
StringTest<wchar_t>::StringTest() StringTest<wchar_t>::testFunction()
StringTest<wchar_t>::runTest()
(gdb) b 'StringTest<wchar_t>::testFunction()'
Note: breakpoint 1 (disabled) also set at pc 0x3644.
Breakpoint 3 at 0x3644: file
../../../gdb/gdb/testsuite/gdb.cp/bs15503.cc, line 39.
(gdb) b StringTest<wchar_t>::testFunction()
Note: breakpoints 1 (disabled) and 3 also set at pc 0x3644.
Breakpoint 4 at 0x3644: file
../../../gdb/gdb/testsuite/gdb.cp/bs15503.cc, line 39.
(gdb) b StringTest<wchar_t>::testFunction
the class StringTest<wchar_t> does not have any method named testFunction
Hint: try 'StringTest<wchar_t>::testFunction<TAB> or
'StringTest<wchar_t>::testFunction<ESC-?>
(Note leading single quote.)
(gdb)
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-12 4:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12 3:15 gdb and c++ method names Randolph Chung
2005-12-12 4:30 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox