aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2004-01-272004-01-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-39/+95
* gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l". Provide arms for current output in all my configurations.
2004-01-242004-01-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-185/+164
* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler. * lib/compiler.cc: Likewise. * lib/gdb.exp (get_compiler_info): Always call gdb_compile to get the right preprocessor. Eval the output directly. Remove special tests for hp_cc_compiler and hp_aCC_compiler. Remove hp_f77_compiler and hp_f90_compiler completely. (gdb_preprocess): Delete. (get_compiler): Delete.
2004-01-24* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: IncludeMark Kettenis4-0/+10
<string.h>.
2004-01-24Update copyright year.Nick Roberts1-1/+1
2004-01-24*** empty log message ***Nick Roberts1-0/+4
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton3-6/+44
Partial workaround for PR c++/1511: * cp-namespace.c: Include frame.h. (cp_lookup_transparent_type): New (cp_lookup_transparent_type_loop): New. * cp-support.h: Declare cp_lookup_transparent_type. * symtab.c (basic_lookup_transparent_type): Renamed from lookup_transparent_type. (lookup_transparent_type): Replace old body by a call to current_language->la_lookup_transparent_type. * symtab.h: Update copyright. Declare basic_lookup_transparent_type. * language.h: Update copyright. (struct language_defn): Add la_lookup_transparent_type. * language.c: Update copyright. (unknown_language_defn): Add basic_lookup_transparent_type. (auto_language_defn): Add basic_lookup_transparent_type. (local_language_defn): Add basic_lookup_transparent_type. * ada-lang.c: Update copyright. (ada_language_defn): Add basic_lookup_transparent_type. * c-lang.c: Update copyright. (c_language_defn): Add basic_lookup_transparent_type. (cplus_language_defn): Add basic_lookup_transparent_type. (asm_language_defn): Add basic_lookup_transparent_type. (minimal_language_defn): Add basic_lookup_transparent_type. * f-lang.c: Update copyright. (f_language_defn): Add basic_lookup_transparent_type. * jv-lang.c: Update copyright. (java_language_defn): Add basic_lookup_transparent_type. * m2-lang.c: Update copyright. (m2_language_defn): Add basic_lookup_transparent_type. * objc-lang.c: Update copyright. (objc_language_defn): Add basic_lookup_transparent_type. * p-lang.c: Update copyright. (p_language_defn): Add basic_lookup_transparent_type. * scm-lang.c: Update copyright. (scm_language_defn): Add basic_lookup_transparent_type. * Makefile.in (cp-namespace.o): Depend on frame.h. 2004-01-23 David Carlton <carlton@kealia.com> * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add test for cp_lookup_transparent_type. * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to; call them.
2004-01-23 * gdb.mi/mi-var-child.exp: Update copyright year. Move new testDaniel Jacobowitz2-5/+9
after -var-update.
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton3-0/+18
* gdb.cp/namespace.cc (C::ensureRefs): New. * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2004-01-20Test for case "-var-list-children --all-values NAME".Nick Roberts1-0/+4
2004-01-20(test_stack_locals_listing): Test for case "-stack-list-locals 2".Nick Roberts1-0/+5
2004-01-20*** empty log message ***Nick Roberts1-0/+7
2004-01-192004-01-18 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-25/+30
* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2004-01-18* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patternsMark Kettenis2-2/+5
used with gdb_test_multiple.
2004-01-18* gdb.base/gdb1476.exp: Accept alternat pattern for failed memoryMark Kettenis2-1/+7
read at address 0. This fixes PR testsuite/1504.
2004-01-18 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.Daniel Jacobowitz3-90/+194
Remove downloading, guessing the host executable, the calls to gdb_file_cmd and gdb_target_cmd, and "load" support. (infer_host_exec): New function broken out from gdb_load. (gdb_load): New wrapper for gdbserver_gdb_load. * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on gdb_target_cmd. Use -target-select. (mi_gdb_file_cmd): New function, broken out from mi_gdb_load. Download binaries to the host. Clear last_mi_remote_file when we load a new binary. (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded, call gdbserver_gdb_load and mi_gdb_target_cmd.
2004-01-182004-01-17 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-9/+14
* gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>" type patterns.
2004-01-182004-01-17 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+6
* gdb.cp/templates.exp: Fix typo in test name of "print Foo<volatile char*>::foo".
2004-01-152004-01-15 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-5/+5
* gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2004-01-152004-01-16 Ben Elliston <bje@wasabisystems.com>Ben Elliston2-3/+5
* gdb.arch/Makefile.in (MISCELLANEOUS): Remove. (clean mostlyclean): Remove empty rm.
2004-01-152004-01-15 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+6
* gdb.base/setvar.exp: Add copyright years.
2004-01-142004-01-14 David Carlton <carlton@bactrian.org>David Carlton3-23/+45
* gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to PR c++/1511 and update coment. * gdb.cp/templates.exp: Update patterns to match current output. If changes involve something other than whitespace, KFAIL w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2004-01-142004-01-14 David Carlton <carlton@kealia.com>David Carlton4-5/+55
Change symbols for C++ nested types to contain the fully qualified name, if possible. (At least in the DWARF-2 case.) Partial fix for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, c++/895. * c-exp.y: Update copyright: (qualified_type): Handle types nested within classes. * cp-namespace.c: Update comments. (cp_set_block_scope): Delete #if 0. (cp_lookup_nested_type): Handle types nested within classes. * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure when appropriate. (add_partial_symbol): Add the name of the enclosing namespace to types. (pdi_needs_namespace): New. (add_partial_namespace): Tweak comment. (add_partial_structure): New. (psymtab_to_symtab_1): Initialize processing_current_prefix here... (process_die): instead of here. (read_structure_scope): Try to figure out the name of the class or namespace that the structure might be defined within. (read_enumeration): Generate fully-qualified names, if possible. (read_namespace): Don't set name to NULL. (die_specification): New. (new_symbol): Generate fully-qualified names for types. (read_type_die): Determine appropriate prefix. (determine_prefix): New. (typename_concat): New. (class_name): New. * valops.c: Update copyright. (value_aggregate_elt): Pass NOSIDE to value_struct_elt_for_reference. (value_struct_elt_for_reference): Make static, add NOSIDE parameter, call value_maybe_namespace_elt as a last resort. (value_namespace_elt): Break out code into value_maybe_namespace_elt. (value_maybe_namespace_elt): New. 2004-01-14 David Carlton <carlton@kealia.com> * gdb.cp/namespace.exp: Add tests involving classes defined within namespaces. * gdb.cp/namespace.cc (C::CClass): New. * gdb.cp/namespace1.cc: Update copyright. (C::OtherFileClass): New.
2004-01-142004-01-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+13
* gdb.base/sepdebug.exp: Bail out of the test if we don't know what debug info we have. Print a better message if something goes wrong while producing the separate debug info file.
2004-01-142004-01-14 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+6
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2004-01-142004-01-14 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+26
* gdb.base/callfuncs.c: Add copyright notice.
2004-01-142004-01-13 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-12/+21
* gdb.cp/derivation.exp: Add XFAIL for bug with protected inheritance. PR gdb/1498, PR gcc/13539.
2004-01-132004-01-13 David Carlton <carlton@kealia.com>David Carlton1-3/+3
* gdb.base/completion.exp: Don't look for 'ask' after set follow-fork-mode. Update copyright.
2004-01-132004-01-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-10/+19
* gdb.threads/gcore-thread.exp: Prefix name of binary with test specific name. * gdb.mi/gdb669.exp: Ditto. * gdb.mi/mi-pthreads.exp: Ditto. * gdb.mi/mi1-pthreads.exp: Ditto. * gdb.mi/mi2-pthreads.exp: Ditto.
2004-01-132004-01-12 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+25
* gdb.cp/member-ptr.cc: Add copyright notice.
2004-01-132004-01-12 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-361/+445
* gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add some patterns for recent versions of gcc and hpacc. Delete calls to setup_xfail for hppa*-*-*. Delete redundant tests. Delete tests that access a NULL pointer-to-member-data. This script is still disabled for gcc.
2004-01-132004-01-12 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-10/+19
* gdb.mi/mi2-basics.exp: Make sure that full pathnames are escaped correctly.
2004-01-122004-01-12 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-0/+1223
* gdb.base/sepdebug.exp: New file. * gdb.base/sepdebug.c: New file. * lib/gdb.exp (separate_debug_filename): New procedure. (gdb_gnu_strip_debug): New procedure.
2004-01-12Eliminate the old mi/tui specific ChangeLog files as in ...Andrew Cagney2-0/+7
Added Files: mi/ChangeLog-1999-2003 testsuite/gdb.mi/ChangeLog-1999-2003 tui/ChangeLog-1998-2003 Removed Files: mi/ChangeLog testsuite/gdb.mi/ChangeLog tui/ChangeLog
2004-01-122004-01-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+20
* gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for "Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST", treat EBUSY as an XFAIL.
2004-01-112004-01-11 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-4/+7
* gdb.base/scope.exp: Remove obsolete setup_xfail for hp_cc_compiler.
2004-01-112004-01-10 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-10/+10
* gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)" decorations.
2004-01-11Fix last commit. I accidentally committed a ChangeLog entry for aMichael Chastain1-4/+0
change that hasn't been approved yet (setvar.exp). The change itself was never committed. -- sorry, michael c
2004-01-112004-01-10 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-124/+16
* gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)" and "(aCC)" decorations. Remove obsolete doco about old test results.
2004-01-102004-01-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+5
* gdb.cp/exception.exp: Fix typo in doco.
2004-01-09* gdb.base/gdb1476.exp: Fix typo.Mark Kettenis2-1/+5
2004-01-092004-01-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+30
* gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty file.
2004-01-092004-01-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-363/+151
* gdb.cp/exception.cc: Change <iostream.h> to <iostream>. * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple. Use gdb_compile. Remove restriction on gcc. Add some patterns for recent version of gdb. Delete second half, which was a copy of the first half with different build flags. This test is still disabled because it is still not ready for production.
2004-01-092004-01-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-1/+33
* gdb.cp/exception.cc: Add copyright notice. * gdb.cp/exception.exp: Add a notice that this file is broken because of line number changes caused by addition of copyright notice.
2004-01-092004-01-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-0/+5
* gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc. * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2004-01-092004-01-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain5-64/+20
* gdb.cp/classes.exp: Accept gnu abi 2. * gdb.cp/derivation.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/virtfunc.exp: Likewise.
2004-01-082004-01-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+7
* gdb.mi/pthreads.c (done_making_threads): Remove extraneous semicolon after end of function.
2004-01-082004-01-07 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-45/+65
* gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>. * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern boilerplate code for compiling and running the program under test. Add some string method tests.
2004-01-082004-01-07 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-2/+28
* gdb.cp/bs15503.cc: Add copyright notice. * gdb.cp/bs15503.exp: Adjust line number.
2004-01-082004-01-07 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-0/+5
* gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp. * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2004-01-082004-01-07 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-29/+5
* gdb.base/funcargs.exp: Remove obsolete setup_xfail for hp_cc_compiler.