aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/cplusfuncs.cc
AgeCommit message (Collapse)AuthorFilesLines
2003-08-232003-08-22 Michael Chastain <mec@shout.net>Michael Chastain1-196/+0
* gdb.cp: New directory. * gdb.cp/*: Copy from gdb.c++/*. * gdb.c++/*: Remove. * Makefile.in: Change gdb.c++ to gdb.cp. * configure.in: Ditto. * configure: Regnerate.
2001-05-312001-05-31 Michael Chastain <chastain@redhat.com>Michael Chastain1-4/+4
* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast. (dm_type_int_star): Likewise. (dm_type_long_star): Likewise. (dm_type_void_star): Likewise.
2001-02-142001-02-11 Michael Chastain <chastain@redhat.com>Michael Chastain1-0/+11
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function. Helps the test script figure out which demangler is in use. (dm_type_foo_ref): Ditto. (dm_type_int_star): Ditto. (dm_type_long_star): Ditto. (dm_type_unsigned_int): Ditto. (dm_type_void): Ditto. (dm_type_void_star): Ditto. * gdb.base/cplusfuncs.exp (probe_demangler): New function. Probe the gdb demangler and set variables to accommodate formatting differences. (info_func_regexp): New function. Same as info_func, but matches against a regexp. (info_func): Match against a literal string. (print_addr_2): New function. Match against a literal string, which can be different from the input to gdb. (print_addr): Simply call print_addr_2 with the same argument twice. (test_lookup_operator_functions): Use demangler formatting variables. Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort the tests in the same order as the C++ class declaration. (test_paddr_operator_functions): Ditto. (test_paddr_overloaded_functions): Ditto. (test_paddr_hairy_functions): Use demangler formatting variables. Add reference to gdb/19 for related tests. (do_tests): Call probe_demangler.
1999-08-02import gdb-1999-08-02 snapshotJason Molenda1-3/+3
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-2/+2
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+185