* gdb.cp/cplusfuncs.cc (class foo): Add operators
authorKeith Seitz <keiths@redhat.com>
Wed, 11 Nov 2009 16:45:16 +0000 (16:45 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 11 Nov 2009 16:45:16 +0000 (16:45 +0000)
commita4216f37f01bff1fbed08d32ab6bf1f34d2ea3d2
tree171459e87e9ff7de6ea3064bf48f6c560dc10957
parenta5832c8fbd24da54ac7f53ed7a3aeed4569922fb
* 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