* gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index b7937bb7dfa993e017b01dfde7394def3b27e8cf..d293c07186597f86f0d44883c1105db64c7197ae 100644 (file)
@@ -1,7 +1,269 @@
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
+       not supported on the target.
+       * gdb.mi/mi-nonstop-exit.exp: Likewise.
+       * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
+       * gdb.mi/mi-nsintrall.exp: Likewise.
+       * gdb.mi/mi-nsmoribund.exp: Likewise.
+       * gdb.mi/mi-nsthrexec.exp: Likewise.
+
+2010-06-11  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.base/permissions.exp: New file.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
+       does not support ELF executable class.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
+
+2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
+       (runto): Catch "The target does not support running in non-stop mode.".
+
+2010-06-11  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/setshow.exp (set language asm): Don't use
+       gdb_test_no_output, fails on some targets.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
+       * gdb.cp/pr9167.exp: Likewise.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
+
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/charset.c (main): Make sure malloc gets linked in.
+
+2010-06-11  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/9977, PR exp/11636::
+       * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
+       (pieces_test_f6): Update expected output.
+
+2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/moribund-step.exp: New.
+
+2010-06-08  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
+       * gdb.ada/boolean_expr.exp: 
+       * gdb.ada/frame_args.exp: Ditto.
+       * gdb.ada/lang_switch.exp: Ditto.
+       * gdb.ada/ptype_arith_binop.exp: Ditto.
+       * gdb.ada/ref_param.exp: Ditto.
+       * gdb.ada/type_coercion.exp:Ditto.
+
+       * gdb.asm/asm-source.exp: Ditto.
+
+       * gdb.base/attach.exp: Ditto.
+       * gdb.base/bitfields2.exp: Ditto.
+       * gdb.base/call-signal-resume.exp: Ditto.
+       * gdb.base/callfuncs.exp: Ditto.
+       * gdb.base/commands.exp: Ditto.
+       * gdb.base/dbx.exp: Ditto.
+       * gdb.base/default.exp: Ditto.
+       * gdb.base/dump.exp: Ditto.
+       * gdb.base/exprs.exp: Ditto.
+       * gdb.base/freebpcmd.exp: Ditto.
+       * gdb.base/interrupt.exp: Ditto.
+       * gdb.base/list.exp: Ditto.
+       * gdb.base/long_long.exp: Ditto.
+       * gdb.base/maint.exp: Ditto.
+       * gdb.base/ptype.exp: Ditto.
+       * gdb.base/return.exp: Ditto.
+       * gdb.base/setshow.exp: Ditto.
+       * gdb.base/sigbpt.exp: Ditto.
+       * gdb.base/sigrepeat.exp: Ditto.
+
+       * gdb.cp/classes.exp: Ditto.
+
+       * gdb.dwarf2/dw2-restore.exp: Ditto.
+
+       * gdb.gdb/selftest.exp: Ditto.
+
+       * gdb.multi/base.exp: Ditto.
+       * gdb.multi/bkpt-multi-exec.exp: Ditto.
+
+       * gdb.python/py-block.exp: Ditto.
+       * gdb.python/py-prettyprint.exp: Ditto.
+       * gdb.python/py-template.exp: Ditto.
+
+       * gdb.server/ext-attach.exp: Ditto.
+       * gdb.server/ext-run.exp: Ditto.
+       * gdb.server/server-mon.exp: Ditto.
+
+       * gdb.threads/fork-thread-pending.exp: Ditto.
+       * gdb.threads/hand-call-in-threads.exp: Ditto.
+       * gdb.threads/interrupted-hand-call.exp: Ditto.
+       * gdb.threads/linux-dp.exp: Ditto.
+       * gdb.threads/manythreads.exp: Ditto.
+       * gdb.threads/print-threads.exp: Ditto.
+       * gdb.threads/pthreads.exp: Ditto.
+       * gdb.threads/schedlock.exp: Ditto.
+       * gdb.threads/thread-unwindonsignal.exp: Ditto.
+       * gdb.threads/threadapply.exp: Ditto.
+
+2010-06-08  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.ada/exec_changed.exp: 
+       Use ".*" instead of "" as wildcard regexp.
+
+       * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
+       * gdb.base/call-ar-st.exp: Ditto.
+       * gdb.base/checkpoint.exp: Ditto.
+       * gdb.base/default.exp: Ditto.
+       * gdb.base/dump.exp: Ditto.
+       * gdb.base/ending-run.exp: Ditto.
+       * gdb.base/fileio.exp: Ditto.
+       * gdb.base/miscexprs.exp: Ditto.
+       * gdb.base/pointers.exp: Ditto.
+       * gdb.base/readline.exp: Ditto.
+       * gdb.base/reread.exp: Ditto.
+       * gdb.base/restore.exp: Ditto.
+       * gdb.base/shlib-call.exp: Ditto.
+       * gdb.base/valgrind-db-attach.exp: Ditto.
+       * gdb.base/volatile.exp: Ditto.
+       * gdb.base/watchpoints.exp: Ditto.
+
+       * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
+
+       * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
+       * gdb.python/py-value.exp: Ditto.
+
+       * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
+       * gdb.trace/circ.exp: Ditto.
+       * gdb.trace/collection.exp: Ditto.
+       * gdb.trace/packetlen.exp: Ditto.
+       * gdb.trace/passc-dyn.exp: Ditto.
+       * gdb.trace/report.exp: Ditto.
+       * gdb.trace/tfile.exp: Ditto.
+       * gdb.trace/tfind.exp: Ditto.
+       * gdb.trace/while-dyn.exp: Ditto.
+
+2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
+
+2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Test PR 10640.
+       * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
+
+2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/koenig.exp: Test for ADL operators.
+       * gdb.cp/koenig.cc: Added ADL operators.
+       * gdb.cp/operator.exp: New test.
+       * gdb.cp/operator.cc: New test.
+
+2010-06-04  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
+       * gdb.base/pending.exp: Ditto.
+
+       * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
+
+2010-06-04  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-prettyprint.exp: Add new test for enabled and
+       disabled printers.
+       * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
+       (enable_lookup_function): New function.
+
+2010-06-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/py-value.exp (test_value_hash): Don't test equality
+       of hash and id.
+
+2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/commands.exp (add printf tbreak command): Remove trailing
+       newline.
+       * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
+       (empty verbose non-noisy clear, empty verbose noisy clear)
+       (empty non-verbose noisy clear): Likewise.
+
+2010-06-03  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
+       * gdb.base/display.exp: Ditto.
+       * gdb.base/find.exp: Ditto.
+       * gdb.base/ifelse.exp: Ditto.
+       * gdb.base/multi-forks.exp: Ditto.
+       * gdb.base/recurse.exp: Ditto.
+       * gdb.base/setshow.exp: Ditto.
+       * gdb.base/value-double-free.exp: Ditto.
+       * gdb.base/watch-vfork.exp: Ditto.
+       * gdb.base/watch_thread_num.exp: Ditto.
+       * gdb.base/watchpoint-solib.exp: Ditto.
+       * gdb.base/watchpoint.exp: Ditto.
+       * gdb.base/watchpoints.exp: Ditto.
+
+       * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
+       * gdb.cp/overload.exp: Ditto.
+       * gdb.cp/virtfunc.exp: Ditto.
+
+       * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
+
+       * gdb.reverse/watch-precsave.exp: 
+       Replace gdb_test with gdb_test_no_output.
+
+       * gdb.threads/attach-into-signal.exp: 
+       Replace gdb_test with gdb_test_no_output.
+       * gdb.threads/local-watch-wrong-thread.exp: Ditto.
+       * gdb.threads/watchthreads.exp: Ditto.
+       * gdb.threads/watchthreads2.exp: Ditto.
+
+       * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
+       * gdb.trace/tfind.exp: Ditto.
+
+2010-06-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
+       successful test if message is the empty string.
+
+2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.fortran/module.exp (stopped language detection): New test.
+
+2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support DW_TAG_module as separate namespaces.
+       * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
+       gdb.fortran/library-module-lib.f90: New.
+       * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
+       (print i): Remove.
+       (continue to breakpoint: i-is-1, print var_i value 1)
+       (continue to breakpoint: i-is-2, print var_i value 2)
+       (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
+       (print var_d, print var_i value 14, ptype modmany, complete `modm)
+       (complete `modmany, complete `modmany`, complete `modmany`var)
+       (show language, setting breakpoint at module): New tests.
+       * gdb.fortran/module.f90 (module mod): Remove.
+       (module mod1, module mod2, module modmany, subroutine sub1)
+       (subroutine sub2, program module): New.
+
 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
        (print value of rUC, print value of rI, print value of UI): ... here.
+       * gdb.cp/anon-union.exp (pass): Rename to ...
+       (print z 2): ... here.
 
 2010-06-02  Michael Snyder  <msnyder@vmware.com>