Corinna Vinschen
6eac95e375
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2003-03-27 14:09:52 +00:00
David Carlton
5330f2dba0
2003-03-04 David Carlton <carlton@math.stanford.edu>
...
* 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-04 17:02:20 +00:00
David Carlton
6ece72dad9
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* 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-03 18:48:31 +00:00
David Carlton
85ca158413
2003-03-03 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with
respect to PR c++/33 into FAILs.
2003-03-03 18:39:47 +00:00
David Carlton
8a151ee066
Fix minor slip in previous patch.
2003-02-28 17:59:18 +00:00
David Carlton
f683e100b7
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* 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-28 17:51:35 +00:00
David Carlton
a9e0cf2cae
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/templates.exp (do_tests): Allow const in the two
Foo<volatile char *>::foo tests.
2003-02-28 17:50:16 +00:00
David Carlton
0b71dc91d9
2003-02-26 David Carlton <carlton@math.stanford.edu>
...
* 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-26 20:30:05 +00:00
David Carlton
dd14ab4396
2003-02-26 David Carlton <carlton@math.stanford.edu>
...
* 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-26 20:23:13 +00:00
David Carlton
559cd2d004
2003-02-14 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
pEe->D::vg()" from XFAIL to KFAIL.
2003-02-15 01:20:46 +00:00
Michael Chastain
cbc4d97c1c
2003-02-13 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Remove call to get_debug_format.
2003-02-13 22:42:59 +00:00
Michael Chastain
40f235b7e2
2003-02-12 Michael Chastain <mec@shout.net>
...
* 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-13 21:33:20 +00:00
Michael Chastain
8b8d752579
2003-02-05 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.
2003-02-06 02:04:21 +00:00
Michael Chastain
29518e1ebf
2003-02-04 Michael Chastain <mec@shout.net>
...
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
Call perror and then continue.
2003-02-05 07:25:00 +00:00
Michael Chastain
5af1d5f3ff
2003-02-03 Michael Chastain <mec@shout.net>
...
* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.
2003-02-05 06:38:33 +00:00
Jim Blandy
6b5497864a
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
...
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-05 05:48:46 +00:00
David Carlton
1c5cb38e90
2003-02-04 David Carlton <carlton@math.stanford.edu>
...
* 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-04 21:19:27 +00:00
David Carlton
d1fe6965e5
2003-02-03 David Carlton <carlton@math.stanford.edu>
...
* 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-02-04 01:09:03 +00:00
Elena Zannoni
f2dd3617b5
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
...
* 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-20 15:40:07 +00:00
David Carlton
c71cdefd6f
2003-01-17 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.
2003-01-17 20:24:51 +00:00
David Carlton
fdba05d75f
2003-01-17 David Carlton <carlton@math.stanford.edu>
...
* 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-17 19:24:16 +00:00
David Carlton
d2b29e01d7
2003-01-16 David Carlton <carlton@math.stanford.edu>
...
* 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-17 19:22:27 +00:00
Daniel Jacobowitz
a0d9b83140
Update copyright date.
2003-01-14 18:42:38 +00:00
Daniel Jacobowitz
9ae66589a7
* gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2003-01-14 18:32:14 +00:00
Daniel Jacobowitz
6ca37014df
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2003-01-14 04:40:48 +00:00
Daniel Jacobowitz
b00234725e
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
...
(ptype &*"foo").
* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-14 04:34:46 +00:00
Daniel Jacobowitz
b5e5c35c01
Update copyright years.
2003-01-13 20:09:33 +00:00
Daniel Jacobowitz
a1fb14a2c2
* gdb.c++/overload.exp: Remove some fixed XFAILs.
2003-01-13 20:08:16 +00:00
Daniel Jacobowitz
696d5a5b84
* Makefile.in (ALL_SUBDIRS): New variable.
...
(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-09 18:50:28 +00:00
David Carlton
754533e434
2003-01-09 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
2003-01-09 17:10:39 +00:00
Daniel Jacobowitz
147ff08c6b
* gdb.c++/casts.exp: Correct regexp.
2003-01-04 22:30:21 +00:00
Mark Kettenis
dc62bfc2fc
* configure.in: Call AC_CONFIG_HEADER. Don't call
...
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.
2003-01-04 15:37:40 +00:00
Jim Blandy
4c2acfeafe
* gdb.c++/psmang.exp: Doc fix.
2002-12-22 02:58:43 +00:00
Jim Blandy
f0708dbbc4
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
...
test.
2002-12-21 22:56:56 +00:00
David Carlton
9579e00017
2002-12-20 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 18:37:15 +00:00
Michael Chastain
d181017144
2002-12-18 Michael Chastain <mec@shout.net>
...
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19 05:10:45 +00:00
David Carlton
7656509736
2002-12-17 David Carlton <carlton@math.stanford.edu>
...
* 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-17 23:24:57 +00:00
David Carlton
a23b6e6a0a
2002-12-11 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/m-data.exp: Add test for members that shadow global
variables: see PR gdb/804.
* gdb.c++/m-data.cc: Ditto.
2002-12-11 18:45:29 +00:00
Jim Blandy
10abb1d48f
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2002-10-02 21:46:56 +00:00
David Carlton
e70d6e3ff5
2002-09-18 David Carlton <carlton@math.stanford.edu>
...
* 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-09-18 18:48:43 +00:00
Michael Chastain
258093ca1e
2002-05-30 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.
2002-05-30 19:09:47 +00:00
Michael Chastain
71ea1be0a8
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.
2002-05-27 21:46:52 +00:00
Michael Chastain
9bba8c8f34
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.
2002-05-27 20:07:25 +00:00
Michael Chastain
def1b996f9
2002-05-27 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-27 18:00:14 +00:00
Michael Chastain
56f6e91079
2002-05-19 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-20 05:16:53 +00:00
Daniel Jacobowitz
8ce2a7dcda
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Mark Kettenis
e71019a17f
* gdb.c++/method.exp: Fix typo.
2002-05-09 20:07:16 +00:00
Michael Snyder
f1c47eb238
2002-05-06 Michael Snyder <msnyder@redhat.com>
...
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-07 00:45:46 +00:00
Jim Blandy
188baff3f1
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
...
* gdb.c++/hang3.C: New file.
2002-05-04 20:51:16 +00:00
Andrew Cagney
b9c07f0f78
* gdb.base/default.exp: Remove obsolete code.
...
* 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-04 15:18:21 +00:00