2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 07ff349cb603015b7891f674085eeaf82c7a6a63..c978d54b30478026e1e169dec2343638e3be7c52 100644 (file)
@@ -1,3 +1,433 @@
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/bs15503.cc: Add copyright notice.
+       * gdb.cp/bs15503.exp: Adjust line number.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * 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-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
+       hp_cc_compiler.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
+       * gdb.cp/ctti.exp: Use the marker instead of "next".
+       With gcc, run further before bailing.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/cttiadd.cc: Add copyright notice.
+       * gdb.cp/cttiadd1.cc: Likewise.
+       * gdb.cp/cttiadd2.cc: Likewise.
+       * gdb.cp/cttiadd3.cc: Likewise.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
+       Use gdb_test, gdb_test_multiple.  Use floating-point values that
+       have exact representations in IEEE-ish formats.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/constvars.exp: Do not force lang=c++ if using HP
+       compilers.  Delete duplicate call to get_compiler_info.
+       (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
+       * gdb.base/volatile.exp: Likewise.
+
+2004-01-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/gdb1476.exp: Only run the tests if we can't read the
+       memory at address 0.
+
+2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
+       to test for hp-ux assembler.  Fix copyright years.
+
+2004-01-07  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/fileio.c (strerrno): Add "EBUSY".
+
+2004-01-07  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
+       when creating the read-only file.  From analysis by Roland McGrath
+       and Elena Zannoni.
+
+2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
+
+2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/cvexpr.c: Be type-safe with function pointers and
+       data pointers.
+
+2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/m-static.exp: Compile one source file at a time.
+       Delete unused call to get_compiler_info.
+
+2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
+       * gdb.base/call-rt-st.exp: Likewise.
+       * gdb.base/nodebug.exp: Likewise.
+       * gdb.base/volatile.exp: Likewise.
+       * gdb.cp/ref-types.exp: Likewise.
+       * gdb.cp/templates.exp: Likewise.
+
+2004-01-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
+
+2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
+       hppa*-hp-hpux*.
+
+2004-01-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
+       x86_64-*-*.
+
+       * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
+       sparc64-*-* and sparc*-solaris2*.
+
+2004-01-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
+       return ${tests}" test.  The ${tests} already mentions the
+       filename.
+
+2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/local.exp: Accept gcc abi 2.
+
+2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/templates.exp: Accept gcc abi 2.
+
+2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * lib/compiler.cc: Remove supports_template_debugging.
+       * gdb.cp/templates.exp: Do not test supports_template_debugging.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/namespace.exp: Accept gcc abi 2.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/method.exp: Accept gcc abi 2.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/classes.exp: Generate identical results as old version.
+       * gdb.cp/derivation.exp: Likewise.
+       * gdb.cp/overload.exp: Likewise.
+       * gdb.cp/virtfunc.exp: Likewise.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
+       mysterious bug with sourceware version of expect.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
+       current versions of gcc, including gcc abi 2.  Remove gratuitous
+       restart of test program.  Use gdb_test_multiple and gdb_test for
+       all tests.  Add patterns to xfail missing "const" in "const char *"
+       and kfail PR gdb/1155.
+
+2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
+       current versions of gcc, including gcc abi 2.  Remove gratuitous
+       restart of test program.  Use gdb_test_multiple and gdb_test for
+       all tests.  Add patterns to kfail PR gdb/1498.
+
+2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
+       current versions of gcc, including gcc abi 2.  Use "breakpoint"
+       and "continue" instead of restarting the target program.  Use
+       gdb_test_multiple and gdb_test for all tests.
+
+2004-01-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.asm/asm-source.exp: Update copyright year.  Link statically
+       for *-*-solaris2*.
+
+2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
+       current versions of gcc, including gcc abi 2.  Use "breakpoint"
+       and "continue" instead of restarting the target program several
+       times.  Use gdb_test_multiple and gdb_test for all tests.
+
+2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
+       source files.
+
+2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/environ.exp: Handle compiling test case from multiple
+       source files.
+
+2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
+
+2003-12-17  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/freebpcmd.c: Add copyright notice.
+
+       * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
+
+2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
+
+2003-12-13  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
+
+2003-12-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.asm/frv.inc: New file.
+       * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
+
+2003-12-09  Fred Fish  <fnf@redhat.com>
+
+       * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
+       functions to break1.c and leave prototypes behind.  Add more
+       "set breakpoint NN here" comments.
+       * gdb.base/break1.c: New file.
+
+       * gdb.base/break.exp: Handle compiling test case from multiple
+       source files and change source file references as needed.
+       * gdb.base/completion.exp: Ditto.
+       * gdb.base/condbreak.exp: Ditto.
+       * gdb.base/define.exp: Ditto.
+       * gdb.base/ena-dis-br.exp: Ditto.
+       * gdb.base/info-proc.exp: Ditto.
+       * gdb.base/maint.exp: Ditto.
+       * gdb.base/until.exp: Ditto.
+
+       * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
+       hardcoded line numbers.
+       * gdb.base/define.exp: Ditto.
+       * gdb.base/ena-dis-br.exp: Ditto.
+       * gdb.base/maint.exp: Ditto.
+       * gdb.base/until.exp: Ditto.
+
+       * gdb.base/completion.exp: Use "break1" for completion tests since
+       "break" is no longer a unique prefix.
+
+2003-12-06  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/structs.exp (test_struct_returns): When applicable, set
+       "return_value_unimplemented".  When an unimplemented struct return
+       architecture, report incorrect values as a KFAIL
+
+2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/rtti.exp: Accept new wording of warning from
+       cp_lookup_rtti_type.
+
+2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/scope.exp (test_at_main): Replace references to
+       gcc_compiled with calls to test_compiler_info.
+       (test_at_foo): Likewise.
+       (test_at_bar): Likewise.
+
+2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
+       to test_compiler_info.
+
+2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/so-impl-ld.exp: Update copyright notice.
+
+2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
+       to test_compiler_info.
+
+2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
+       from current versions of gdb.  Clean up regular expressions.
+       Delete redundant timeout case.
+
+2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
+       from current versions of gdb.  Clean up regular expressions.
+       Delete redundant timeout case.
+
+2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
+       gcc_compiled with call to test_compiler_info.
+
+2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/list.exp (test_list_function): Delete unused declaration
+       of gcc_compiled.
+
+2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/complex.exp: Replace reference to gcc_compiled with
+       call to test_compiler_info.
+
+2003-11-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
+       asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
+       it to create the appropriate note.inc.
+       * gdb.asm/asmsrc1.s: Include "note.inc".
+       * gdb.asm/netbsd.inc: New file.
+       * gdb.asm/empty.inc: New file.
+
+2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/constvars.exp: Replace references to gcc_compiled with
+       calls to test_compiler_info.
+
+2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/volatile.exp: Replace references to gcc_compiled with
+       calls to test_compiler_info.
+
+2003-11-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
+       pattern for the KFAILs.
+
+2003-11-25  Adam Fedor  <fedor@gnu.org>
+
+       * gdb.objc/objcdecode.exp: Test for PR objc/1238.
+       * gdb.objc/objcdecode.m: New file.
+
+2003-11-25  Adam Fedor  <fedor@gnu.org>
+
+       * gdb.objc/nondebug.exp: Test for PR objc/1236.
+       * gdb.objc/nondebug.m: New file.
+
+2003-11-26  Ben Elliston  <bje@wasabisystems.com>
+
+       * gdb.asm/asm-source.exp: Make sure the final link succeeds on
+       NetBSD as it does on FreeBSD.  Modelled on a similar change by
+       Mark Kettenis on 2003-05-30.
+       (link-flags): Set to "--entry _start" regardless of target.
+       Special linker flags are to be appended to $link-flags.
+       * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
+
+2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/method.exp: Accept output of new demangler.
+
+2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb/class2.exp: New file.
+       * gdb/class2.cc: New file.
+
+2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
+       of new demangler.
+
+2003-11-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
+       of gdb_test "run".
+
+2003-11-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
+       "continue" into "run".
+
+2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
+       call to test_compiler_info.
+       * gdb.cp/ctti.exp: Likewise.
+       * gdb.cp/derivation.exp: Likewise.
+       * gdb.cp/member-ptr.exp: Likewise.
+       * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
+       reference to gcc_compiled.
+
+2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Fix PR testsuite/1463.
+       * gdb.base/structs.exp (start_structs_test): Call
+       get_debug_format before using the debug format.
+
+2003-11-22  Andrew Cagney  <cagney@redhat.com>
+
+       * lib/gdb.exp (gdb_test_multiple): Add simple example.
+       * gdb.base/structs.exp: Use gdb_test_multiple.
+
+2003-11-20  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/structs.exp: Handle and recover from internal errors.
+       Replace "foo${n}" with "foo<n>" in test messages.
+
+       * gdb.base/structs.exp: Update copyright.  Rewrite.
+       * gdb.base/structs.c: Update copyright.  Rewrite.
+
+       * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
+       resync count exceeded.
+       
+       * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
+       from the internal error.
+       * lib/gdb.exp (gdb_internal_error_resync): New procedure.
+       Original from Jim Blandy.
+       (gdb_test_multiple): Use gdb_internal_error_resync.
+
+2003-11-19  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
+       KFAIL.
+
+2003-11-17  Mark Kettenis  <kettenis@gnu.org>
+
+       New testcase for PR backtrace/1435.
+       * gdb.arch/i386-unwind.exp: New file.
+       * gdb.arch/i386-unwind.c: New file.
+
+2003-11-17  Andrew Cagney  <cagney@redhat.com>
+
+       * lib/gdb.exp (compiler_info): New global.
+       (test_compiler_info): New function.
+       (get_compiler_info): Set compiler_info.
+       * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
+       "compiler_info" to gcc-<major>-<minor>.
+
+2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.trace/configure: Remove.
+
 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
 
        * gdb.base/break.c: Add comments to aid finding line numbers for
This page took 0.028775 seconds and 4 git commands to generate.