aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++
AgeCommit message (Collapse)AuthorFilesLines
2003-03-042003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton1-4/+26
* gdb.c++/templates.exp (do_tests): Accept valid const in "print Garply<Garply<char> >:: garply". (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i" with respect to PR c++/1111; note also PR c++/1113. (test_template_breakpoints): KFAIL "constructor breakpoint" with respect to PR c++/1062. KFAIL "destructor breakpoint" with respect to PR c++/1112.
2003-03-032003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton1-4/+26
* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum" with respect to PR c++/57. KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR c++/826. Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with respect to PR c++/57.
2003-03-032003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton1-2/+8
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with respect to PR c++/33 into FAILs.
2003-02-28Fix minor slip in previous patch.David Carlton1-1/+1
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton1-30/+20
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we print class instead of struct and/or superfluous protection specifiers, as long as the resulting output is equivalent to the source code. Delete FIXME from end of messages on tests that don't need fixing.
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton1-2/+2
* gdb.c++/templates.exp (do_tests): Allow const in the two Foo<volatile char *>::foo tests.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton1-3/+17
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile char *>::foo" test with respect to PR c++/33. Create a new test which is identical to that one except that it doesn't put the space between the "char" and the "*"; KFAIL it, too.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton1-32/+62
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing template types into either PASSes or KFAILs (corresponding to PR c++/57). Tweak indentation. Update copyright.
2003-02-152003-02-14 David Carlton <carlton@math.stanford.edu>David Carlton1-3/+2
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print pEe->D::vg()" from XFAIL to KFAIL.
2003-02-132003-02-13 Michael Chastain <mec@shout.net>Michael Chastain1-2/+0
* gdb.c++/inherit.exp: Remove call to get_debug_format.
2003-02-132003-02-12 Michael Chastain <mec@shout.net>Michael Chastain5-122/+6
* gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1. * gdb.c++/inherit.exp: Likewise. * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1. * gdb.c++/templates.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2003-02-062003-02-05 Michael Chastain <mec@shout.net>Michael Chastain1-1/+1
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept output for configurations with gcc 2.95.3.
2003-02-052003-02-04 Michael Chastain <mec@shout.net>Michael Chastain1-2/+3
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file. Call perror and then continue.
2003-02-052003-02-03 Michael Chastain <mec@shout.net>Michael Chastain2-0/+99
* gdb.c++/pr-1023.cc: New file. * gdb.c++/pr-1023.exp: New file.
2003-02-05* gdb.c++/local.exp: Don't expect Local to be in scope in main;Jim Blandy2-4/+38
it's local to foobar. Check for it there, and check that it's not present in main. * gdb.c++/local.cc (marker2): New function. (foobar): Call marker1. (main): Call marker2 instead of marker1.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+9
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874. 2003-02-04 David Carlton <carlton@math.stanford.edu> * gdb.c++/overload.exp: Test intToChar(1). * gdb.c++/overload.cc (intToChar): New. (main): Call intToChar.
2003-02-042003-02-03 David Carlton <carlton@math.stanford.edu>David Carlton1-13/+24
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add 'might_kfail' arg. KFAIL some of the continue_to_bp_overloaded calls, according to PR c++/1025.
2003-01-202003-01-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-2/+1
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to allow for different test tree configurations. Update some tescases accordingly. * gdb.arch/altivec-regs.exp: Ditto. * gdb.asm/asm-source.exp: Ditto. * gdb.base/advance.exp: Ditto. * gdb.base/display.exp: Ditto. * gdb.base/long_long.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/overlays.exp: Ditto. * gdb.base/relocate.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/step-line.exp: Ditto. * gdb.base/step-test.exp: Ditto. * gdb.base/until.exp: Ditto. * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton1-2/+5
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test corresponding to PR c++/945. Update copyright.
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton1-13/+9
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests corresponding to PR c++/68. (and fix date of previous ChangeLog entry; oops.)
2003-01-172003-01-16 David Carlton <carlton@math.stanford.edu>David Carlton1-5/+38
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure. (test_paddr_hairy_functions): Call print_addr_2_kfail for hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2003-01-14Update copyright date.Daniel Jacobowitz1-1/+1
2003-01-14 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.Daniel Jacobowitz1-6/+0
2003-01-14 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".Daniel Jacobowitz1-2/+2
2003-01-14 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538Daniel Jacobowitz1-3/+3
(ptype &*"foo"). * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-13Update copyright years.Daniel Jacobowitz1-1/+1
2003-01-13 * gdb.c++/overload.exp: Remove some fixed XFAILs.Daniel Jacobowitz1-13/+0
2003-01-09 * Makefile.in (ALL_SUBDIRS): New variable.Daniel Jacobowitz1-13/+2
(subdirs, clean, distclean): Use it. * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for regenerating Makefile, since it is generated from the top level. * gdb.asm/Makefile.in: Likewise. * gdb.base/Makefile.in: Likewise. * gdb.c++/Makefile.in: Likewise. * gdb.disasm/Makefile.in: Likewise. * gdb.java/Makefile.in: Likewise. * gdb.mi/Makefile.in: Likewise. * gdb.threads/Makefile.in: Likewise. * gdb.trace/Makefile.in: Likewise.
2003-01-092003-01-09 David Carlton <carlton@math.stanford.edu>David Carlton1-1/+3
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x". Add copyright year 2003.
2003-01-04 * gdb.c++/casts.exp: Correct regexp.Daniel Jacobowitz1-2/+2
2003-01-04* configure.in: Call AC_CONFIG_HEADER. Don't callMark Kettenis2-914/+0
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java, gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call AC_CHECK_HEADERS on pthread.h. Put Makefiles in the aforementioned directories in the AC_OUPUT call. * config.hin: New file. * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp, gdb.threads/killed.exp, gdb.threads/print-threads.exp, gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we pass -I$objdir instead of -I$objdir/$subdir in compilation. * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in, gdb.asm/configure, gdb.base/configure.in, gdb.base/configure, gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in, gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure, gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in, gdb.threads/configure.in, gdb.threads/configure, gdb.threads/config.in, gdb.trace/configure.in, gdb.trace/configure: Removed.
2002-12-22* gdb.c++/psmang.exp: Doc fix.Jim Blandy1-0/+10
2002-12-21* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: NewJim Blandy3-0/+527
test.
2002-12-202002-12-20 David Carlton <carlton@math.stanford.edu>David Carlton1-0/+1
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-192002-12-18 Michael Chastain <mec@shout.net>Michael Chastain1-1/+1
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-172002-12-17 David Carlton <carlton@math.stanford.edu>David Carlton5-151/+131
* gdb.c++/try_catch.cc: Add marker comments. * gdb.c++/try_catch.exp: Get line numbers from marker comments. * gdb.c++/m-data.cc: Delete namespace __gnu_test. * gdb.c++/m-static.cc: Ditto. * gdb.c++/m-static1.cc: Ditto. * gdb.c++/try_catch.cc: Ditto.
2002-12-112002-12-11 David Carlton <carlton@math.stanford.edu>David Carlton2-7/+29
* gdb.c++/m-data.exp: Add test for members that shadow global variables: see PR gdb/804. * gdb.c++/m-data.cc: Ditto.
2002-10-02* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.Jim Blandy2-0/+100
2002-09-182002-09-18 David Carlton <carlton@math.stanford.edu>David Carlton8-8/+226
* gdb.c++/m-static.exp: Remove breakpoints depending on line numbers, and replace them by a single breakpoint after the constructors are all finished. Add test 4. * gdb.c++/m-static.cc: Add test 4. * gdb.c++/m-static.h: New file. * gdb.c++/m-static1.cc: New file. * gdb.c++/printmethod.exp: New file. * gdb.c++/printmethod.cc: New file. * gdb.c++/pr-574.exp: New file. * gdb.c++/pr-574.cc: New file.
2002-05-302002-05-30 Michael Chastain <mec@shout.net>Michael Chastain2-0/+184
From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-static.cc: New file. * gdb.c++/m-static.exp: New file.
2002-05-272002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2-0/+165
From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-data.cc: New file. * gdb.c++/m-data.exp: New file.
2002-05-272002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2-0/+210
From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/try_catch.cc: New file. * gdb.c++/try_catch.exp: New file.
2002-05-272002-05-27 Michael Chastain <mec@shout.net>Michael Chastain1-5/+5
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-202002-05-19 Michael Chastain <mec@shout.net>Michael Chastain1-1/+1
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-132002-05-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+2
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-09* gdb.c++/method.exp: Fix typo.Mark Kettenis1-1/+1
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-3/+12
Enable the "needs_status_wrapper" testsuite feature. * lib/gdb.exp (gdb_wrapper_init): New procedure. (gdb_compile): Conditionally call gdb_wrapper_init. * gdb.base/a2-run.exp: Recognize output from status wrapper. * gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-04* gdb.c++/hang.exp: Check for corruption of the cv_type chain.Jim Blandy2-4/+23
* gdb.c++/hang3.C: New file.
2002-05-04* gdb.base/default.exp: Remove obsolete code.Andrew Cagney2-10/+3
* gdb.c++/misc.exp: Ditto. Update copyright. * gdb.c++/cplusfuncs.exp: Ditto. Update copyright. * gdb.base/whatis.exp: Ditto. Update copyright. * gdb.base/scope.exp: Ditto. Update copyright. * gdb.base/ptype.exp: Ditto. Update copyright. * gdb.base/printcmds.exp: Ditto. Update copyright. * gdb.base/opaque.exp: Ditto. Update copyright. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. Update copyright. * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete. * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete. * gdb.hp/gdb.threads-hp/usrthcore.c: Delete. * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete. * gdb.hp/gdb.threads-hp/usrthfork.c: Delete. * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-02* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,Jim Blandy4-0/+136
gdb.c++/hang.exp: New test.