gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index def70bca9981f347bc67bcbf45d58efac11ab70b..9d85d023323d0d48ccc400972842705ca7a50c59 100644 (file)
@@ -1,3 +1,377 @@
+2011-09-12  Matt Rice  <ratmice@gmail.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       PR gdb/13175
+
+       * gdb.base/interp.exp: New tests.
+       * gdb.base/interp.c: New file.
+
+2011-09-12  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
+       * gdb.dwarf2/typeddwarf.exp: Ditto.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with x32 arch.
+       * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
+       * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
+       is_x86_like_target.
+       * testsuite/gdb.trace/collection.exp: Likewise.
+       * testsuite/gdb.trace/report.exp: Likewise.
+       * testsuite/gdb.trace/unavailable.exp: Likewise.
+       * testsuite/gdb.trace/while-dyn.exp: Likewise.
+       * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
+       (is_x86_like_target): Check also is_amd64_regs_target.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR breakpoints/12435
+       * gdb.arch/amd64-prologue-xmm.c: New file.
+       * gdb.arch/amd64-prologue-xmm.exp: New file.
+       * gdb.arch/amd64-prologue-xmm.s: New file.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-param-error-main.c: New file.
+       * gdb.dwarf2/dw2-param-error.S: New file.
+       * gdb.dwarf2/dw2-param-error.exp: New file.
+
+2011-09-08  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
+       inferior's pid and look for a core dump named core.$pid.  Use
+       `remote_file' commands on the host instead of hand coding shell
+       commands on the build.
+       * gdb.base/valgrind-db-attach.exp: Kill the program before
+       finishing the test.
+
+2011-09-02  Matt Rice  <ratmice@gmail.com>
+
+       * lib/prompt.exp: New file for testing the first prompt.
+       * gdb.python/py-prompt.exp: Ditto.
+       * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
+
+2011-09-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.threads/gcore-thread.exp: Set the global core_supported to
+       0, before testing gcore.
+
+2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dw2-ifort-parameter-debug.S: Update copyright year.
+       * dw2-ifort-parameter.c: Update copyright year.
+       * dw2-ifort-parameter.exp: Update copyright year.
+
+       * dw2-ifort-parameter-debug.S: New file.
+       * dw2-ifort-parameter.c: New file.
+       * dw2-ifort-parameter.exp: New file.
+
+2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/commands.exp (error_clears_commands_left): New function.
+       (): Call it.
+
+2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
+       (C): Initialize `a'.
+       * gdb.mi/mi-inheritance-syntax-error.exp
+       (-data-evaluate-expression $path):  Expect `a' as 5.
+
+2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       PR mi/11912
+       * gdb.mi/mi-inheritance-syntax-error.cc: New file.
+       * gdb.mi/mi-inheritance-syntax-error.exp: New file.
+       * gdb.mi/mi-var-cp.cc: Updated for new 'class'
+       keyword in output of -var-info-path-expression.
+
+2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
+       * gdb.trace/collection.exp: Likewise.
+       * gdb.trace/report.exp: Likewise.
+       * gdb.trace/unavailable.exp: Likewise.
+       * gdb.trace/while-dyn.exp: Likewise.
+
+2011-08-18  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/12266
+       * gdb.cp/meth-typedefs.cc: New file.
+       * gdb.cp/meth-typedefs.exp: New file.
+
+2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+        * gdb.python/python.exp: Add extended-prompt tests.
+
+2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/i386-dr3-watch.exp
+       (watchpoint on gap1 does not fit debug registers)
+       (delete all watchpoints): Fix racy expect strings.
+
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/maint.exp: set data_section to ".neardata".
+       * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
+       * gdb.base/savedregs.exp: Handle SIGILL.
+       * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
+       * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
+
+2011-08-12  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-symbol.exp: Add test for symbol.type.
+
+2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.threads/pthreads.exp: Enable on non-native configurations.
+       * gdb.mi/mi-pthreads.exp: Likewise.
+       * gdb.mi/mi2-pthreads.exp: Likewise.
+       * gdb.mi/gdb669.exp.exp: Likewise.
+
+2011-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * lib/mi-support.exp (detect_async): Rename to...
+       (mi_detect_async): ... this.
+       * gdb.mi/mi-nonstop-exit.exp: Adjust.
+       * gdb.mi/mi-nonstop.exp: Adjust.
+       * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
+       * gdb.mi/mi-nsintrall.exp: Adjust.
+       * gdb.mi/mi-nsmoribund.exp: Adjust.
+       * gdb.mi/mi-nsthrexec.exp: Adjust.
+
+2011-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/display.c (do_loops): New `p_i' local.
+       * gdb.base/display.exp: Test displaying a variable that is
+       temporarily at a bad address.
+
+2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-op-stack-value.S: New file.
+       * gdb.dwarf2/dw2-op-stack-value.exp: New file.
+
+2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
+       * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
+       (p fuNC_symtab): Permit also ppc64 leading dot.
+
+2011-08-05  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
+       procedure.
+       (gdb_collect_args_test, gdb_collect_locals_test): Use it.
+
+2011-08-05  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/callfuncs.exp: Set language after main.
+       * gdb.cp/cplusfuncs.exp: Likewise.
+       * gdb.cp/inherit.exp: Likewise.
+
+2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
+       * gdb.base/watch-vfork.exp: Skip on remote targets.
+
+2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.threads/thread-find.exp: Support remote targets.
+
+2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/jit.exp: Download solib_binfile to target.
+       * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
+       and call dlopen without full path name.
+       * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
+       dlopen without full path name.
+
+2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/break-always.exp: Complete the test
+       with duplicated breakpoints and enabling/disabling them.
+
+2011-08-02  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/11289:
+       * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
+
+2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/13045
+       * gdb.base/float.exp: Add new test case for PR gdb/13045
+       * gdb.base/float.c: New file.
+
+2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-mi.exp: Test printers returning string hint, and
+       also not returning a value.
+       * gdb.python/py-prettyprint.c: Add testcase for above.
+       * gdb.python/py-prettyprint.py: Add test printer for above.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
+       (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
+       (.Ldie30) Add as field "data4".
+       (.Ldie32) Rename field "b" to "shl".
+       (abbrev4) Change for the "data4" field.
+       (abbrev5, abbrev6) Remove.
+       * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
+       (p &s.shl): ... here.  Add comment.
+       (p &s.data4): New.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash on lval_computed values.
+       * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/help.exp (help whatis): Update the expected string.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-simple-locdesc.S: New file.
+       * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
+       * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
+       Change the expected string.
+
+2011-07-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/watchpoint.exp
+       (test_disable_enable_software_watchpoint): New procedure.
+       (top level): Run it.
+
+2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
+       executable file "${binfile}", C++ version "${binfile}-cxx".
+       * gdb.python/py-prettyprint.exp: Likewise.
+       * gdb.python/py-symbol.exp: Likewise.
+       * gdb.python/py-type.exp: Likewise.
+       * gdb.python/py-value.exp: Likewise.
+       * gdb.python/py-template.exp (test_template_arg): Pass full executable
+       file name instead of just suffix.
+
+2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix implicit pointer offsets.
+       * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
+       * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
+       (continue to breakpoint: continue to baz breakpoint for implptr)
+       (sanity check element 0, sanity check element 1)
+       (enter the inlined function, check element 0 for the offset)
+       (check element 1 for the offset)
+       (continue to breakpoint: ignore the second baz breakpoint): New tests.
+       (set foo breakpoint for implptr): Update the breakpoint number.
+
+2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.python/py-mi.exp: Use different file names for different
+       versions of the executable under test.
+       * gdb.python/py-prettyprint.exp: Likewise.
+       * gdb.python/py-symbol.exp: Likewise.
+       * gdb.python/py-template.exp: Likewise.
+       * gdb.python/py-type.exp: Likewise.
+       * gdb.python/py-value.exp: Likewise.
+
+2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
+       flag after restarting GDB if necessary.
+
+2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.python/py-shared.exp: Call gdb_load_shlibs.
+
+2011-07-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
+       backend doesn't leave used debug registers behind.
+
+2011-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
+       * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
+       argument.
+       * gdb.dwarf2/typeddwarf-amd64.S: New file.
+
+2011-07-21  Matt Rice  <ratmice@gmail.com>
+
+       * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
+       in mostlyclean rule.  Add files ending in .core.
+
+2011-07-21  Matt Rice  <ratmice@gmail.com>
+
+       PR macros/12999
+       * gdb.base/info-macros.c: New test sources.
+       * gdb.base/info-macros.exp: New tests.
+
+2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/python.exp: Add prompt substitution tests.
+
+2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash if referenced CU is aged out.
+       * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
+       New.
+       * gdb.dwarf2/implptr.exp: Likewise.
+
+2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/implptr.S: Rebuilt.
+       * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
+       (bar): Use them for j, k, l.
+       * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
+       COMPILE.
+       (print j in implptr:bar): Update for the intp typedef.
+       (print p[0].x in implptr:foo): Use more exact regex.
+
+2011-07-18  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/static-method.exp: Add missing single quote.
+
+2011-07-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/async-shell.exp: Skip test if displaced stepping is not
+       supported.
+       * gdb.mi/mi-nonstop-exit.exp: Likewise.
+       * gdb.mi/mi-nonstop.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.
+       * gdb.python/py-evthreads.exp: Likewise.
+
+2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
+       it.  Substitute it instead of test_compiler_info everywhere.
+
+2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
+       remote targets as well.
+
+2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
+       * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
+
+2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
+       a remote machine, not the host.
+       (gdb_compile_shlib): Set soname if target is remote.
+
+2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * gdb.cp/minsym-fallback.exp: Link in C++ mode.
+
 2011-07-13  Matt Rice <ratmice@gmail.com>
 
        * gdb.python/py-objfile-script-gdb.py: Renamed to
 
 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
 
-       * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match 
+       * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
        the whole output.
 
 2011-07-05  Tom Tromey  <tromey@redhat.com>
 
 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
 
-       * gdb.base/commands.exp (redefine_backtrace_test): Fix race. 
+       * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
        New testcase `expect response to define backtrace'.  Also remove
        redundant `default' block.
 
 
 2011-02-22  Michael Snyder  <msnyder@vmware.com>
 
-       * gdb.threads/thread-find.exp: Add tests for bad input to 
+       * gdb.threads/thread-find.exp: Add tests for bad input to
        info threads.
 
 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
This page took 0.039452 seconds and 4 git commands to generate.