gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 89d1347fce9c37337008cce543b789b2c9d2af03..dd618c9a0079867db05ad12ff1cfa2bdae7db265 100644 (file)
@@ -1,3 +1,449 @@
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
+       (ptype ::C::OtherFileClass typedefs): New.
+       * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
+       (C::OtherFileClass::cOtherFileClassVar2): New.
+       (C::OtherFileClass::cOtherFileClassVar_use): Use also
+       cOtherFileClassVar2.
+       (C::cOtherFileType2, C::cOtherFileVar2): New.
+       (C::cOtherFileVar_use): use also cOtherFileVar2.
+       * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
+
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/namespace.exp (whatis C::cOtherFileType)
+       (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
+       (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
+       (print ::C::cOtherFileVar)
+       (whatis C::OtherFileClass::cOtherFileClassType)
+       (whatis ::C::OtherFileClass::cOtherFileClassType)
+       (print C::OtherFileClass::cOtherFileClassVar)
+       (print ::cOtherFileClassVar)
+       (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
+       (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
+       trailing content.
+       * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
+       (C::OtherFileClass::cOtherFileClassVar)
+       (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
+       (C::cOtherFileVar, C::cOtherFileVar_use): New.
+
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Test PR c++/11703 and PR gdb/1448.
+       * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
+       gdb/1448.
+
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
+       (main) <rtti_data>: New.
+       * gdb.cp/virtbase.exp (print rtti_data): New.
+
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
+
+2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
+
+2010-06-28  Doug Evans  <dje@google.com>
+
+       * gdb.base/break-interp.exp (reach): Relax expected output a bit.
+
+2010-06-27  Doug Evans  <dje@google.com>
+
+       * gdb.cp/m-static.exp: Update expected test output.
+
+2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
+
+        * gdb.gdb/selftest.exp: Adjust expected message for
+        capturing start-up runtime.
+
+2010-06-25  Tom Tromey  <tromey@redhat.com>
+
+       PR python/10808:
+       * gdb.python/python.exp: Add new tests.
+
+2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/operator.cc: Created an import loop.
+       * gdb.cp/operator.exp: Added testcase for import loop.
+
+2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Test PR python/11407.
+       * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
+       * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
+       Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
+       * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
+       executable_nofb and executable_fb.  New variables srcsfile, objsfile,
+       srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
+       binfile.  Call gdb_compile with clean_restart twice.
+       (func_nofb print, func_nofb backtrace, func_loopfb print)
+       (func_loopfb backtrace): New.
+
+2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
+       * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
+       by a hand made one.
+       * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
+       i?86 requirement.  Remove variables srcfile and binfile.  New variable
+       sources, executable_nofb and executable_fb.  Call prepare_for_testing.
+
+2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cell/dwarfaddr.exp: New file.
+       * gdb.cell/dwarfaddr.S: New file.
+
+2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Test PR 9436.
+       * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
+
+2010-06-24  Hui Zhu  <teawater@gmail.com>
+
+       * gdb.base/eval.exp: New file.
+
+2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cell/fork.exp: New file.
+       * gdb.cell/fork.c: Likewise.
+       * gdb.cell/fork-spu.c: Likewise.
+
+2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * lib/gdb.exp (banned_variables_traced): New global variable.
+       (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
+       (gdb_init): Use `trace add variable' instead of obsolete
+       `trace variable'.
+
+2010-06-21  Doug Evans  <dje@google.com>
+
+       * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
+
+2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.arch/spu-ls.exp: New file.
+       * gdb.arch/spu-ls.c: Likewise.
+
+2010-06-18  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.threads/thread-specific.exp: Add tests of $_thread.
+
+2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
+       * gdb.base/watch-cond.exp: Likewise.
+       * gdb.python/py-breakpoint.exp: Likewise.
+
+2010-06-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
+       clean_restart, make sure every test has a distinct message, and
+       that messages don't include the executable' full path.
+
+2010-06-17  Doug Evans  <dje@google.com>
+
+       * gdb.arch/i386-size.exp: Updated expected output for
+       DISASSEMBLY_OMIT_FNAME.
+
+2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/watch-notconst.c: New file.
+       * gdb.base/watch-notconst.S: New file.
+       * gdb.base/watch-notconst2.c: New file.
+       * gdb.base/watch-notconst2.S: New file.
+       * gdb.base/watch-notconst.exp: New file.
+       * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
+       (func4): Add operations on `global_ptr_ptr'.
+       * gdb.base/watchpoint.exp (test_constant_watchpoint): New
+       routine to test watchpoints created with a constant expression.
+       (test_inaccessible_watchpoint): Include tests for watchpoints
+       created with a constant expression.
+
+2010-06-14  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
+       gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
+       gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
+       gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
+       gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
+       gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
+       gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
+       of `_start'.
+
+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>
 
        * gdb.trace/actions.exp: Use gdb_test_no_output.
This page took 0.038885 seconds and 4 git commands to generate.