[PR gdb/19893] Fix handling of synthetic C++ references
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index c4338ff49e391b1effa6b60419dfbc73088a462b..da4dd56ff6edf4e1bfd8b261ee935047fb243857 100644 (file)
@@ -1,3 +1,502 @@
+2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       PR c++/19893
+       * gdb.dwarf2/implref.exp: Rename to...
+       * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
+       * gdb.dwarf2/implref-array.c: New file.
+       * gdb.dwarf2/implref-array.exp: Likewise.
+       * gdb.dwarf2/implref-global.c: Likewise.
+       * gdb.dwarf2/implref-global.exp: Likewise.
+       * gdb.dwarf2/implref-struct.c: Likewise.
+       * gdb.dwarf2/implref-struct.exp: Likewise.
+
+2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/trace-condition.exp: Add 64bit tests.
+
+2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
+       bits types.
+       (main): Adapt to 8 to 64 bits types.
+       * gdb.trace/trace-condition.exp: Add new tests.
+
+2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
+
+2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
+       Move condition tests...
+       * gdb.trace/trace-condition.exp: Here.
+
+2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/trace-condition.exp: Add counter-case tests.
+
+2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR c++/15231
+       * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
+       * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
+
+2016-05-27  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
+       New procedure.
+       (top level): Call it, and bail out of DejaGnu is known to be bad.
+
+2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/whatis.c: Extend the test case.
+       * gdb.base/whatis.exp: Add additional tests.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+* gdb.fortran/type.f90: Add pointer variable.
+* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-type.exp: Fix testcase name.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-type.exp: Access elements in nested structs.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/type.f90: Add nested structures.
+       * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
+       * gdb.fortran/derived-type.exp: Adapt expected output.
+       * gdb.fortran/vla-type.exp: Adapt expected output.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/whatis_type.exp: Adapt expected output.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/print_type.exp: Fix expected output.
+       * gdb.fortran/whatis_type.exp: Fix expected output.
+
+2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/whatis_type.exp: Use multi_line.
+
+2016-05-24  Tom Tromey  <tom@tromey.com>
+
+       PR python/17386:
+       * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
+       use value as an index.
+
+2016-05-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/17981:
+       * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
+       no-breakpoint case.
+
+2016-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19828
+       * gdb.threads/clone-attach-detach.c: New file.
+       * gdb.threads/clone-attach-detach.exp: New file.
+
+2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
+
+       * gdb.base/annota-input-while-running.exp: Fix syntax error.
+
+2016-05-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/19438, PR python/18393:
+       * gdb.python/py-progspace.exp: Add "dir" test.
+       * gdb.python/py-objfile.exp: Add "dir" test.
+
+2016-05-23  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/thumb-prologue.exp: Use standard_testfile.
+       * gdb.arch/thumb2-it.exp: Likewise.
+
+2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.mi/mi-threads-interrupt.c: New file.
+       * gdb.mi/mi-threads-interrupt.exp: New file.
+
+2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/18077
+       * gdb.mi/mi-async-run.exp: New file.
+       * gdb.mi/mi-async-run.c: New file.
+
+2016-05-17  Tom Tromey  <tom@tromey.com>
+           Manish Goregaokar <manishsmail@gmail.com>
+
+       * lib/rust-support.exp: New file.
+       * lib/gdb.exp (skip_rust_tests): New proc.
+       (build_executable_from_specs): Handle rust.
+       * lib/future.exp (gdb_find_rustc): New proc.
+       (gdb_default_target_compile): Handle rust.
+       * gdb.rust/expr.exp: New file.
+       * gdb.rust/generics.exp: New file.
+       * gdb.rust/generics.rs: New file.
+       * gdb.rust/methods.exp: New file.
+       * gdb.rust/methods.rs: New file.
+       * gdb.rust/modules.exp: New file.
+       * gdb.rust/modules.rs: New file.
+       * gdb.rust/simple.exp: New file.
+       * gdb.rust/simple.rs: New file.
+
+2016-05-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/default.exp (set language): Add rust.
+
+2016-05-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.gdb/unittest.exp: New file.
+
+2016-05-16  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/batch-preserve-term-settings.exp: Remove variable
+       shell_prompt.  Update shell_prompt_re.
+
+2016-05-12  Doug Evans  <dje@google.com>
+
+       PR symtab/19999
+       * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
+       $options when building executable.
+       * gdb.dwarf2/fission-loclists-pie.S: New file.
+       * gdb.dwarf2/fission-loclists-pie.exp: New file.
+
+2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
+       of [is_remote target],
+
+2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (use_gdb_stub): New procedure.
+
+2016-05-03  Yunlian Jiang <yunlian@google.com>
+           Doug Evans  <dje@google.com>
+
+       PR symtab/19914
+       * gdb.dwarf2/dwp-sepdebug.c: New file.
+       * gdb.dwarf2/dwp-sepdebug.exp: New file.
+
+2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/detach.exp: Remove is_remote check.
+
+2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/annota-input-while-running.exp: Don't check for
+       [is_remote target].  Enable annotations after running to main.
+       Remove unused "set test..." line.
+
+2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.trace/trace-enable-disable.exp: New file.
+       * gdb.trace/trace-enable-disable.c: New file.
+
+2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
+       use it in info sharedlibrary test.
+       * gdb.trace/ftrace-lock.exp: Likewise.
+       * gdb.trace/ftrace.exp: Likewise.
+       * gdb.trace/range-stepping.exp: Likewise.
+       * gdb.trace/trace-break.exp: Likewise.
+       * gdb.trace/trace-condition.exp: Likewise.
+       * gdb.trace/trace-mt.exp: Likewise.
+
+2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_load_shlibs): Rename to...
+       (gdb_load_shlib): ... this.
+       * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
+       gdb_load_shlib.
+       * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
+       * gdb.base/ctxobj.exp: Likewise.
+       * gdb.base/dprintf-pending.exp: Likewise.
+       * gdb.base/dso2dso.exp: Likewise.
+       * gdb.base/fixsection.exp: Likewise.
+       * gdb.base/gcore-relro.exp: Likewise.
+       * gdb.base/gdb1555.exp: Likewise.
+       * gdb.base/global-var-nested-by-dso.exp: Likewise.
+       * gdb.base/gnu-ifunc.exp: Likewise.
+       * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
+       * gdb.base/jit-so.exp (one_jit_test): Likewise.
+       * gdb.base/pending.exp: Likewise.
+       * gdb.base/print-file-var.exp: Likewise.
+       * gdb.base/print-symbol-loading.exp: Likewise.
+       * gdb.base/shlib-call.exp: Likewise.
+       * gdb.base/shreloc.exp: Likewise.
+       * gdb.base/so-impl-ld.exp: Likewise.
+       * gdb.base/solib-disc.exp: Likewise.
+       * gdb.base/solib-nodir.exp: Likewise.
+       * gdb.base/solib-overlap.exp: Likewise.
+       * gdb.base/solib-symbol.exp: Likewise.
+       * gdb.base/solib-weak.exp (do_test): Likewise.
+       * gdb.base/sym-file.exp: Likewise.
+       * gdb.base/symtab-search-order.exp: Likewise.
+       * gdb.base/type-opaque.exp: Likewise.
+       * gdb.base/unload.exp: Likewise.
+       * gdb.base/watchpoint-solib.exp: Likewise.
+       * gdb.compile/compile.exp: Likewise.
+       * gdb.cp/gdb2384.exp: Likewise.
+       * gdb.cp/infcall-dlopen.exp: Likewise.
+       * gdb.cp/re-set-overloaded.exp: Likewise.
+       * gdb.fortran/library-module.exp: Likewise.
+       * gdb.opt/solib-intra-step.exp: Likewise.
+       * gdb.python/py-finish-breakpoint.exp: Likewise.
+       * gdb.python/py-shared.exp: Likewise.
+       * gdb.reverse/solib-precsave.exp: Likewise.
+       * gdb.reverse/solib-reverse.exp: Likewise.
+       * gdb.server/solib-list.exp: Likewise.
+       * gdb.threads/dlopen-libpthread.exp: Likewise.
+       * gdb.threads/tls-shared.exp: Likewise.
+       * gdb.threads/tls-so_extern.exp: Likewise.
+       * gdb.trace/change-loc.exp: Likewise.
+       * gdb.trace/ftrace-lock.exp: Likewise.
+       * gdb.trace/ftrace.exp: Likewise.
+       * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
+       * gdb.trace/pending.exp: Likewise.
+       * gdb.trace/range-stepping.exp: Likewise.
+       * gdb.trace/strace.exp (strace_remove_socket): Likewise.
+       (strace_info_marker): Likewise.
+       (strace_probe_marker): Likewise.
+       (strace_trace_on_same_addr): Likewise.
+       (strace_trace_on_diff_addr): Likewise.
+       * gdb.trace/trace-break.exp: Likewise.
+       * gdb.trace/trace-condition.exp: Likewise.
+       * gdb.trace/trace-mt.exp: Likewise.
+
+2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
+       result of gdb_remote_download.
+       * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
+       * gdb.base/dso2dso.exp: Likewise.
+       * gdb.base/global-var-nested-by-dso.exp: Likewise.
+       * gdb.base/print-file-var.exp: Likewise.
+       * gdb.base/shlib-call.exp: Likewise.
+       * gdb.base/shreloc.exp: Likewise.
+       * gdb.base/solib-overlap.exp: Likewise.
+       * gdb.base/solib-weak.exp (do_test): Likewise.
+       * gdb.base/unload.exp: Likewise.
+
+2016-04-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
+       exists.
+
+2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * vla-type.exp: Print structure from toplevel.
+
+2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
+       of dynamic types.
+       * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
+       of dynamic types.
+
+2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-type.f90: New file.
+       * gdb.fortran/vla-type.exp: New file.
+
+2016-04-25  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/branch-to-self.c: New file.
+       * gdb.base/branch-to-self.exp: New file.
+
+2016-04-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
+       more after $hex.
+
+2016-04-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/annota1.exp: Set breakpoint on line $main_line.
+       * gdb.base/annota3.exp: Likewise.
+
+2016-04-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/step-precsave.exp: Do one step and test program
+       stops in "callee" and do multiple steps until program goes out
+       of "callee".
+       * gdb.reverse/step-reverse.exp: Likewise.
+
+2016-04-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/signal.exp: Also pass if
+       $tracepoint_hits($i) > $iterations.
+
+2016-04-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/signal.c: New file.
+       * gdb.trace/signal.exp: New file.
+
+2016-04-19  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.base/bad-file.exp: New file.
+
+2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * gdb.dwarf2/implref.exp: New file.
+
+2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
+
+       * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
+       * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
+       * lib/fortran.exp (fortran_int4): New procedure.
+       (fortran_real4, fortran_real8, fortran_complex4): Likewise.
+       (fortran_logical4): Likewise.
+
+2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
+
+       * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
+
+2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
+
+       * lib/compiler.c: Add Intel specific preprocessor macros.
+       * lib/compiler.cc: Likewise.
+       
+2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.server/connect-with-no-symbol-file.c: New file.
+       * gdb.server/connect-with-no-symbol-file.exp: New file.
+
+2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
+
+2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * boards/gdbserver-base.exp (${board}_download): Copy source file to
+       standard output directory.
+
+2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
+
+2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/instruction_history.c (loop): Add declaration.
+
+2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
+
+2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
+       parentheses to print.
+       (continue_handler): Likewise.
+
+2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.server/solib-list.exp: Remove is_remote check.
+       Pass shlib= to gdb_compile.  Don't link shared library with
+       -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
+       Run binary filename through "readlink -f" on the target.
+
+2016-04-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
+       interpreter filename as argument to gdbserver_spawn.
+       * lib/gdbserver-support.exp (gdbserver_download_current_prog):
+       Return empty if $last_loaded_file does not exist.
+
+2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with gcc-4.8.5-4.el7.x86_64.
+       * gdb.base/jit-main.c: Use exit after usage.
+
+2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
+       GDBHISTSIZE prior to the tests.
+       * gdb.base/gdbinit-history.exp: Likewise.
+
+2016-04-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
+       instead of build_executable.  Use gdb_load_shlibs.
+
+2016-04-07  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
+       Execute "si" command.
+
+2016-04-07  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
+       number instead of the comments on some line.
+
+2016-04-06  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.dwarf2/dw2-opt-structptr.c: New test program.
+       * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
+
+2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
+       standard_output_file.  Remove unused binfile variable.
+
+2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
+
+       * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
+       * gdb.python/py-mi-objfile.exp: Match "list main" output
+       in console format.
+
+2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
+       absolute.
+
+2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
+       absolute.
+       * gdb.trace/ftrace.exp: Likewise.
+       * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
+       targets as well.
+       (gdb_compile_shlib): Set SONAME for non-remote targets as well.
+       (gdb_load_shlibs): Copy libraries to test directory when testing
+       natively.  Only set solib-search-path if testing remotely.
+       * lib/mi-support.exp (mi_load_shlibs): Likewise.
+
+2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/jit-so.exp: Use gdb_remote_download instead of
+       gdb_download.  Use it even if the target is not remote.
+       * gdb.base/jit.exp (compile_jit_test): Likewise.
+       * lib/gdb.exp (gdb_remote_download): Copy files to the standard
+       output directory if the destination board is local, otherwise use
+       the standard remote_download from DejaGnu.
+       (gdb_download): Remove.
+       (gdb_load_shlibs): Use gdb_remote_download instead of
+       gdb_download.
+       * lib/gdbserver-support.exp (gdbserver_download_current_prog):
+       Use gdb_remote_download instead of gdb_download.  Use it even if
+       the target is not remote.
+       * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
+       instead of gdb_download.
+
+2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
+       (test_insert_delete_modify): Call mi_load_shlibs before trying to
+       run.
+
 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
 
        PR gdb/19820
This page took 0.028144 seconds and 4 git commands to generate.