* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index 204caad93af03ee33c872fa839bfa807a1f3129e..ef93c0304c186d86664455e8a0f137f4792ec870 100644 (file)
@@ -1,3 +1,330 @@
+2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
+
+2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
+        field.  Add more floating varobj tests.
+       * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
+        field.
+        * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
+        (main): Call do_at_tests.
+        * lib/mi-support.exp (mi_create_floating_varobj)
+        (mi_varobj_update_with_type_change): New.
+
+2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * gdb.mi/mi2-var-display.exp: Added tests for the new -f
+       option of -var-evaluate-expression.
+       * gdb.mi/mi2-var-display.exp: Likewise.
+
+2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Introduce test setup helpers.
+        * lib/gdb.exp (build_executable, clean_restart)
+        (prepare_for_testing): New.
+        * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
+        * gdb.base/return.exp: Likewise.
+        * gdb.base/ending-run.exp: Likewise.
+
+2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
+
+       * gdb.mi/mi-async.exp: New test for asynchronous Machine
+       Interface (MI) responses.
+
+2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
+
+        * gdb.cp/breakpoint.cc: New code to test conditions involving
+        member variables.
+        * gdb.cp/breakpoint.exp: Test condition involving member
+        variables.
+
+2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/mi-support.exp (mi_expect_stop): New.
+       (mi_run_cmd): Change the
+       token.  Use mi_send_resuming_command, use
+       mi_expect_stop.
+       (mi_execute_to_helper): Rename to mi_execute_to.
+       (mi_send_resuming_command): Add more error patterns.
+       (mi_wait_for_stop): Renamed to...
+       (mi_get_stop_line): ...this.
+       (mi_run_inline_test): Adjust.
+
+       * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
+       * gdb.mi/mi-console.exp: Likewise.
+       * gdb.mi/mi-pending.exp: Likewise.
+       * gdb.mi/mi-simplerun.exp: Likewise.
+       * gdb.mi/mi-stack.exp: Likewise.
+       * gdb.mi/mi-stepi.exp: Likewise.
+       * gdb.mi/mi-syn-frame.exp: Add comment.
+       * gdb.mi/mi-until.exp: Likewise.
+       * gdb.mi/mi-var-display.exp: Likewise.
+       * gdb.mi/mi-watch.exp: Likewise.
+       * gdb.mi/mi2-cli.exp: Likewise.
+       * gdb.mi/mi2-console.exp: Likewise.
+       * gdb.mi/mi2-simplerun.exp: Likewise.
+       * gdb.mi/mi2-stack.exp: Likewise.
+       * gdb.mi/mi2-stepi.exp: Likewise.
+       * gdb.mi/mi2-until.exp: Likewise.
+       * gdb.mi/mi2-var-display.exp: Likewise.
+       * gdb.mi/mi2-watch.exp: Likewise.
+
+2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
+
+       * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
+
+2008-04-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
+       gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
+       gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
+       gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
+       gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
+       gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
+       expect an mi error duplicated in stderr.
+
+2008-04-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
+       * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
+       Add a couple of tests that verify the behavior when the new setting
+       is set to "cancel" and "all".
+       * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
+       "ask" before we start the testing.
+
+2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb.cp/casts.cc: Add class reference variables.
+       * gdb.cp/casts.exp: New test cases for up/down casting references.
+
+2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
+       instead of beginning to make an extra test pass.
+       * gdb.mi/mi2-var-display.exp: Likewise.
+
+2008-03-31  Maciej W. Rozycki  <macro@mips.com>
+
+       * gdb.base/break.exp: Mark failures as such.  Fix formatting.
+
+2008-03-31  Markus Deuling  <deuling@de.ibm.com>
+           Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
+       value.  Add xfail for older kernels.
+
+2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       Bring mi-support in line with gdb.exp.
+       * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
+       (mi_gdb_start): New function.
+
+2008-03-28  Maciej W. Rozycki  <macro@mips.com>
+
+       * gdb.mi/mi-var-cmd.exp: Fix a typo.
+
+2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
+       * gdb.mi/mi2-var-display.exp: Likewise.
+       
+2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/mi-support.exp (mi_create_varobj_checked): New.
+       (mi_list_varobj_children): Allow to check for a
+       value.
+       (mi_list_array_varobj_children): New.
+
+       * gdb.mi/mi-var-child.exp: Use mi_create_varobj
+       and mi_list_varobj_children, as opposed to hardcoding
+       expected strings.
+       * gdb.mi/gdb701.exp: Likewise.
+       * gdb.mi/gdb792.exp: Likewise.
+       * gdb.mi/mi-var-block.exp: Likewise.
+       * gdb.mi/mi-var-cmd.exp: Likewise.
+       * gdb.mi/mi-var-invalidate.exp: Likewise.
+       * gdb.mi/mi2-var-block.exp: Likewise.
+       * gdb.mi/mi2-var-child.exp: Likewise.
+       * gdb.mi/mi2-var-cmd.exp: Likewise.
+       * gdb.mi/mi2-var-display.exp: Likewise.
+
+2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix random false FAILs on i386.
+       * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
+
+2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR gdb/544
+       * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
+
+2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR gdb/544
+       * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
+
+2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
+       fixed PR gdb/544.
+
+2008-03-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.threads/fork-child-threads.exp: Test next over fork.
+
+2008-03-21  Chris Demetriou  <cgd@google.com>
+
+       * gdb.base/break.exp (rbreak junk): New test for rbreak
+       "Junk at end of arguments" issue.
+
+2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
+       *& to work on created array elements.
+       (Top level): Test print $pc with a file.  Test string operations
+       without a target.
+       * gdb.base/ptype.exp: Do not expect *& to work on created array
+       elements.
+
+2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
+       gdb.threads/staticthreads.exp: Update exit query.
+
+2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
+
+2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/watchpoint.c (global_ptr, func4): New.
+       (main): Call func4.
+       * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
+       (test_inaccessible_watchpoint): New.
+
+2008-02-29  Maciej W. Rozycki  <macro@mips.com>
+
+       * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
+       select the largest.
+
+2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
+       frames-invalid annotations.
+
+2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.base/assign.exp: avoid same output for different tests. 
+
+2008-02-27  Doug Evans  <dje@google.com>
+
+       * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
+       for bug 1738.
+       (breakpoint_to_handler_entry): Ditto.
+
+2008-02-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/ending-run.exp: Use the first line of code inside
+       function body to test breakpoints.
+       * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
+       location where the breakpoint is inserted when using the line
+       where a function is declared. Fix typo in the description of
+       one of the tests.
+       * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
+
+2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
+       tests. 
+
+2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.base/args.exp: avoid same output for tests
+       with single quotes.
+
+2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
+
+        * gdb.base/annota1.exp: Adjust for 'info break'
+        format changes.
+        * gdb.base/annota3.exp: Likewise.
+        * gdb.base/break.exp: Likewise.
+        * gdb.base/condbreak.exp: Likewise.
+        * gdb.base/pending.exp: Likewise.
+        * gdb.base/sepdebug.exp: Likewise.
+        * gdb.base/unload.exp: Likewise.
+        * gdb.cp/ovldbreak.exp: Likewise.
+        * gdb.mi/mi-pending.exp: Likewise.
+
+2008-02-07  Doug Evans  <dje@google.com>
+
+       * gdb.cp/mb-inline.exp: New.
+       * gdb.cp/mb-inline.h: New.
+       * gdb.cp/mb-inline1.cc: New.
+       * gdb.cp/mb-inline2.cc: New.
+
+2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.pascal/floats.pas: New test program.
+       * gdb.pascal/floats.exp: New testcase.
+
+2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.base/callfuncs.c (t_float_many_args): New function.
+       (t_double_many_args): New function.
+       * gdb.base/callfuncs.exp: Add tests for exceeding float
+       and double parameters passed through the stack.
+
+2008-02-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
+       gdb.ada/complete/foo.adb: New files.
+       * gdb.ada/complete.exp: New testcase.
+
+2008-02-03  Doug Evans  <dje@google.com>
+
+       * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
+
+       * gdb.cp/gdb2384.exp: New file.
+       * gdb.cp/gdb2384.cc: New file.
+       * gdb.cp/gdb2384-base.h: New file.
+       * gdb.cp/gdb2384-base.cc: New file.
+
+2008-02-02  Doug Evans  <dje@google.com>
+
+       * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
+
+2007-02-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/sym_print_name: New test program.
+       * gdb.ada/sym_print_name.exp: New testcase.
+
+2007-02-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/nested/hello.adb: New file.
+       * gdb.ada/nested.exp: New testcase.
+       * gdb.ada/Makefile.in (EXECUTABLES): Update list.
+
+2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/basic.c (return_1): New function.
+        * gdb.mi/mi-break.exp: Make sure that failed -break-insert
+        don't cause future evaluations of function to report
+        creation of internal breakpoints.
+
+2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-break.exp (test_error): New.
+       Call it.
+
+2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
+
+       * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
+       * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
+
 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * gdb.pascal/integers.pas: New test program.