* lib/mi-support.exp (mi_expect_stop): New.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index 447707f2dc8b8de8e7ead277ef0d89a8d90cd264..eac9ba9296aa80999d8b88b7709b84c94792ae8a 100644 (file)
@@ -1,3 +1,222 @@
+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.