OSDN Git Service

* gdb.cp/cplusfuncs.cc (class foo): Add operators
authorkseitz <kseitz>
Thu, 12 Nov 2009 01:45:16 +0000 (01:45 +0000)
committerkseitz <kseitz>
Thu, 12 Nov 2009 01:45:16 +0000 (01:45 +0000)
commit1827ed07a20a122507ac1c6a13e090f463ff877d
treec31cfead570926fc4fcc11ecfa8a632996526f45
parentb672fcc59a988ecb1ffd1ceb4fcbf9aabf976895
* 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/gdb.cp/cplusfuncs.cc