Fix gdb crash when trying to print the address of a synthetic C++ reference
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 0104448a85d5ff9764604ff523b6d2ac3e97e66d..892b0d34a491ef291620e405c98eeffd86c5a0b0 100644 (file)
@@ -1,3 +1,347 @@
+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
+       * gdb.base/printcmds.exp: Add artificial arrays tests.
+
+2016-03-31  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19858
+       * gdb.base/jit-main.c: Include unistd.h.
+       (ATTACH): Define to 0 if not already defined.
+       (wait_for_gdb, mypid): New globals.
+       (WAIT_FOR_GDB): New macro.
+       (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
+       some breakpoint locations.
+       * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
+       New procedures.
+       (one_jit_test): Add REATTACH parameter, and handle it.  Use
+       continue_to_test_location.
+       (top level): Test attach, and adjusts calls to one_jit_test.
+
+2016-03-31  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19858
+       * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
+       BINSUFFIX parameter, and handle it.
+       (top level): Adjust calls compile_jit_test.
+
+2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
+
+       PR python/19743
+       * gdb.python/py-mi-events-gdb.py: New file.
+       * gdb.python/py-mi-events.c: New file.
+       * gdb.python/py-mi-events.exp: New file.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/until-precsave.exp: Match function name only.
+       * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
+       Move malloc to a condition block.
+       * gdb.reverse/until-reverse.exp: Match function name only.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/ftrace.exp: Set arg0exp for s390.
+       * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
+       * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
+       variable for GPR 0 instead of assuming it is register 0.
+       * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
+       * lib/trace-support.exp: Add s390 registers.
+
+2016-03-29  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
+
+2016-03-24  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/break-reverse.exp: Add quotation mark in the
+       test message.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
+       maintaining separate logic for constructing the output path.
+
+2016-03-16  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
+       Retry fork and waitpid on interrupted system call errors.
+       * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
+       Use with_timeout_factor to increase timeout by factor of 10.
+
+2016-03-15  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.cp/scope-err.cc: New test program.
+       * gdb.cp/scope-err.exp: New test script.
+       * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
+       lines and "set breakpoint here" comment.
+       * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
+       Fixed some whitespace and format issues.
+       * gdb.mi/mi-linespec-err-cp.cc: New test program.
+       * gdb.mi/mi-linespec-err-cp.exp: New test script.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
+       * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
+       All callers updated.  Add tests for enums, mixed flags register.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * gdb.base/skip.c (main): Call test_skip_file_and_function.
+       * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
+
+2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/default.exp: Add $_as_string to the list of expected
+       convenience functions.
+
+2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/maint.exp: New tests for 'maint info line-table'.
+
+2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/py-as-string.exp: New file.
+       * gdb.python/py-as-string.c: New file.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/attach-into-signal.exp: Adjust to "Program received
+       signal" -> "Thread NN received signal" output change.
+       * gdb.threads/ia64-sigill.exp: Likewise.
+       * gdb.threads/linux-dp.exp: Likewise.
+       * gdb.threads/manythreads.exp: Likewise.
+       * gdb.threads/pending-step.exp: Likewise.
+       * gdb.threads/print-threads.exp: Likewise.
+       * gdb.threads/sigstep-threads.exp: Likewise.
+       * gdb.threads/staticthreads.exp: Likewise.
+       * gdb.threads/tls.exp: Likewise.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/command-line-input.exp: New file.
+
+2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/ftrace.exp: Set arg0exp for ppc.
+       * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
+       * gdb.trace/pending.exp: Accept leading dot before function name.
+       * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
+       * lib/trace-support.exp: Set registers for ppc.
+
+2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
+       use it for disassembly; accept .main in addition to main in backtrace.
+
+2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
+           Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
+       (gdb_recursion_test_ptr): New global variable.
+       (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
+       gdb_recursion_test.
+       (gdb_c_test): Ditto.
+
+2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/change-loc.exp: Don't depend on tracepoint location
+       ordering.
+
+2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
+       (bar): Add bar_start_lbl label.
+       * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
+       of foo/bar for emitting DWARF and tracing.
+
+2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * analyze-racy-logs.py: Set executable bit.
+
+2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * Makefile.in (DEFAULT_RACY_ITER): New variable.
+       (CHECK_TARGET_TMP): Likewise.
+       (check-single-racy): New rule.
+       (check-parallel-racy): Likewise.
+       (TEST_TARGETS): Adjust rule to account for RACY_ITER.
+       (do-check-parallel-racy): New rule.
+       (check-racy/%.exp): Likewise.
+       * README (Racy testcases): New section.
+       * analyze-racy-logs.py: New file.
+
+2016-03-03  Doug Evans  <dje@google.com>
+
+       * gdb.base/skip.exp: Use with_test_prefix.
+
+2016-03-03  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
+       Invoke step_over_syscall "clone" and break_cond_on_syscall
+       "clone".
+       * gdb.base/step-over-clone.c: New file.
+
+2016-03-03  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
+       code format.
+
 2016-03-03  Yao Qi  <yao.qi@linaro.org>
 
        * gdb.base/disp-step-fork.c: Rename to ...
This page took 0.045694 seconds and 4 git commands to generate.