* config/sim.exp (gdb_target_sim): Just return with -1 when setting
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index bc3ab33ce0c4710a32ef4d709ac5ddd12702a548..57c7041176699224625f731d53483c6d06171034 100644 (file)
@@ -1,3 +1,172 @@
+2007-04-25  Corinna Vinschen <vinschen@redhat.com>
+
+       * config/sim.exp (gdb_target_sim): Just return with -1 when setting
+       target sim fails.  Return 0 otherwise.
+       (gdb_load): Return prematurely if gdb_target_sim fails.
+
+2007-04-16  Denis Pilat  <denis.pilat@st.com>
+
+       * gdb.base/setshow.exp: Reset height after having set it to 100.
+
+2007-04-16  Denis Pilat  <denis.pilat@st.com>
+
+       * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
+
+2007-04-16  Denis Pilat  <denis.pilat@st.com>
+
+       * gdb.mi/mi2-var-display.exp: Test for the fullname field.
+
+2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
+       tests. Run the frozen varobjs test.
+       * gdb.mi/var-cmd.c (do_frozen_tests): New.
+       * lib/mi-support.exp (mi_varobj_update): Fix thinko.    
+
+2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
+       gdb.base/type-opaque.exp: New files.
+
+2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
+       
+       * gdb.mi/mi-var-child.c 
+       (do_children_tests): User char[2] instead of
+       char so that automatic printing of pointers to char
+       don't give unpredicable result.
+       * gdb.mi/var-cmd.c (do_locals_test): Initialize
+       local variables.
+       * gdb.mi/mi-var-child.exp: Step to right line
+       of do_children_tests.
+       * gdb.mi/mi2-var-child.exp: Likewise.
+       * gdb.mi/mi-var-cmd.exp: Step to right line of
+       do_locals_tests. 
+       (do_children_tests): User char[2] instead of
+       char so that automatic printing of pointers to char
+       don't give unpredicable result. 
+       * gdb.mi/mi2-var-cmd.exp: Likewise.
+       * lib/mi-support.exp (mi_continue_to_line): 
+       Pass test name to mi_wait_for_stop.
+
+2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.asm/asm-source.exp: Remove d10v case.
+       * lib/gdb.exp (skip_cplus_tests): Likewise.
+       * gdb.asm/d10v.inc: Deleted.
+
+2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
+
+2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/netware.exp: Delete file.
+
+2007-03-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/dw2-noloc.S: New file.
+       * gdb.dwarf2/dw2-noloc.exp: New file.
+
+2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * gdb.cp/method2.cc: New test.
+       * gdb.cp/method2.exp: New test.
+       * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
+
+2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.ada/exec_changed.exp: Avoid "set confirm off".
+
+2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
+
+2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
+       (gdb_load): Delete, replace with...
+       (gdb_reload): ...this.
+       * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
+       * gdb.server/server-mon.exp: Likewise.
+       * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
+       (gdb_start_cmd): New.
+       (gdb_file_cmd): Save the last loaded file.
+       (gdb_reload): New.
+       (gdb_gnu_strip_debug): Use transform.
+       * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
+       support here.  Use new $last_loaded_file.  Check mtime.
+       (gdb_target_cmd): Handle ObjC failure case.
+       (infer_host_exec): Delete.
+       (gdbserver_load): Rename to...
+       (gdbserver_run): ...this.  Simplify.
+       * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
+       (mi_gdb_load): Move most contents to a new function...
+       (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
+       (mi_run_cmd): Use mi_gdb_target_load.
+       * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
+       gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
+       Use gdb_run_cmd.
+       * gdb.base/charsign.exp: Remove incorrect comment.
+       * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
+       * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
+       gdb.base/start.exp: Use gdb_start_cmd.
+
+2007-03-23  Nigel Stephens  <nigel@mips.com>
+            Maciej W. Rozycki  <macro@mips.com>
+
+       * gdb.base/sigbpt.exp: Fix the message when skipping test.
+       * gdb.base/signull.exp: Similarly.
+
+2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
+       messages available to test cases (like chng-sym.exp).
+
+2007-03-14  Andreas Schwab  <schwab@suse.de>
+
+       * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
+       format changes.
+
+2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
+       (optimized_1): New.
+       (main): Call optimized_1.
+       (gdb2029): Correct typos.  Call gdb2029_marker.
+       * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
+       for gdb2029.
+
+2007-03-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
+       as tabs.  Remove redundant test pattern.
+
+2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/long_long.exp: Accept optional symbol name in <...>
+       for /a format output.
+
+2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
+       collect output incrementally.
+
+2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
+       for -var-create lpcharacter test.
+       * gdb.mi/mi2-var-cmd.exp: Likewise.
+
+2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
+       pass on targets where address zero is readable.
+
+2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
+       just a single architecture.
+
 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * gdb.base/callfuncs.exp (do_get_all_registers): Remove.