OSDN Git Service

* gdb.cp/cplusfuncs.cc (class foo): Add operators
authorKeith Seitz <keiths@redhat.com>
Wed, 11 Nov 2009 16:44:15 +0000 (16:44 +0000)
committerMasaki Muranaka <monaka at monami-software.com>
Fri, 20 Nov 2009 00:47:30 +0000 (09:47 +0900)
commitbb27c7ac3a28ced441f69ccdd4c78a81a9b22f69
treed8906aa44c01373687b2eaf90aac4ca6366328e2
parentb56ac1dd11cd57c9d0cdb2e7964b34acf0937a67
* gdb.cp/cplusfuncs.cc (class foo): Add operators
new[] and delete[].
* gdb.cp/cplusfuncs.exp (dm_type_void): Change to
"void".
(probe_demangler): Remove all single-quoting of
method and variable names.
(info_func_regexp): Remove the word "void" from any
occurrence of "(void)".
(print_addr_2): Remove all single-quoting of
method names.
(print_addr_2_kfail): Likewise.
(print_addr): Single-quote C function names before
passing to print_addr_2.
(test_paddr_operator_functions): Remove single-quoting
for method names.
Add tests for operator new[] and operator delete[].
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/cplusfuncs.cc
gdb/testsuite/gdb.cp/cplusfuncs.exp