py-type.exp: Do not run tests if binary fails to build
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index bf845a4dbfabd305ab592bbb642627578462af88..7e7e8f61b0547e88ebfa6f5ed7920d4668300f34 100644 (file)
@@ -1,3 +1,504 @@
+2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-type.exp: Do not run tests if binaries fail to
+       build.
+
+2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
+       instruction-history test.
+
+2015-09-28  Doug Evans  <dje@google.com>
+
+       * gdb.base/gcore.c (array_func): Add reference to static_array.
+
+2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
+       source line.
+
+2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
+
+       * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
+       short or char as base type.
+
+2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
+
+       * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
+       to allow any size enum.
+
+2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/array_ptr_renaming.exp: New testcase.
+       * gdb.ada/array_ptr_renaming/foo.adb: New file.
+       * gdb.ada/array_ptr_renaming/pack.ads: New file.
+
+2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * gdb.trace/ftrace-lock.c: New file.
+       * gdb.trace/ftrace-lock.exp: New file.
+
+2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * gdb.arch/insn-reloc.c: New file.
+       * gdb.arch/ftrace-insn-reloc.exp: New file.
+
+2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
+       instruction.
+       * gdb.trace/pendshr1.c (pendfunc): Likewise.
+       * gdb.trace/pendshr2.c (pendfunc2): Likewise.
+       * gdb.trace/range-stepping.c: Likewise.
+       * gdb.trace/trace-break.c: Likewise.
+       * gdb.trace/trace-mt.c (thread_function): Likewise.
+       * gdb.trace/ftrace.c (marker): Likewise.
+       * gdb.trace/trace-condition.c (marker): Likewise.
+       * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
+       * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
+       is_aarch64_target.
+
+2015-09-18  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.dwarf2/dw2-bad-unresolved.c: New file.
+       * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/dso2dso.exp: Don't use directory prefix when setting
+       the breakpoint.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
+       the pending breakpoint.  Remove timeout override for "Run till
+       MI pending breakpoint on pendfunc3 on thread 2" test.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
+       filename pattern.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
+       in breakpoint filename pattern.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.linespec/explicit.exp: Check for readline support for
+       tab-completion tests.  Fix obvious typo.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
+       and replay.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/non-stop.c: New.
+       * gdb.btrace/non-stop.exp: New.
+
+2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
+           Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/trace-condition.c: New file.
+       * gdb.trace/trace-condition.exp: New file.
+
+2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
+
+       * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
+       for testing bytecode compilation.
+
+2015-09-16  Pedro Alves  <palves@redhat.com>
+           Sandra Loosemore <sandra@codesourcery.com>
+
+       * gdb.threads/non-stop-fair-events.c (timeout): New global.
+       (SECONDS): Redefine.
+       (main): Call pthread_kill and alarm early.
+       * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
+       support.
+       (test): If the target can't hardware step and doesn't support
+       displaced stepping, increase the timeout.
+
+2015-09-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
+       (enable_debug): New procedures.
+       (test): Use them.  Bail out if waiting for threads fails.
+       (top level): Bail out if a test fails.
+
+2015-09-16  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.asm/asm-source.exp: Set asm-arch for
+       aarch64*-*-* target.
+       * gdb.asm/aarch64.inc: New file.
+
+2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/array_of_variable_length.exp: New testcase.
+       * gdb.ada/array_of_variable_length/foo.adb: New file.
+       * gdb.ada/array_of_variable_length/pck.adb: New file.
+       * gdb.ada/array_of_variable_length/pck.ads: New file.
+
+2015-09-15  Doug Evans  <dje@google.com>
+
+       * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
+       of function static local variable.
+
+2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.threads/tls-so_extern.exp: New test file.
+       * gdb.threads/tls-so_extern.c: New test file.
+       * gdb.threads/tls-so_extern_main.c: New test file.
+
+2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.opt/solib-intra-step-lib.c: New file.
+       * gdb.opt/solib-intra-step-main.c: New file.
+       * gdb.opt/solib-intra-step.exp: New file.
+
+2015-09-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/non-ldr-exc-3.exp (do_test): Use
+       gdb_continue_to_breakpoint instead of gdb_test_multiple.
+
+2015-09-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/hook-stop-continue.c: Delete.
+       * gdb.base/hook-stop-continue.exp: Delete.
+       * gdb.base/hook-stop-frame.c: Delete.
+       * gdb.base/hook-stop-frame.exp: Delete.
+       * gdb.base/hook-stop.c: New file.
+       * gdb.base/hook-stop.exp: New file.
+
+2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/access_to_packed_array.exp: New testcase.
+       * gdb.ada/access_to_packed_array/foo.adb: New file.
+       * gdb.ada/access_to_packed_array/pack.adb: New file.
+       * gdb.ada/access_to_packed_array/pack.ads: New file.
+
+2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
+       buffer size test.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.base/foll-exec.c: Add copyright header.  Fix
+       formatting issues.
+       * gdb.base/foll-exec.exp (zap_session): Delete proc.
+       (do_exec_tests): Use clean_restart in place of zap_session,
+       and for test initialization.  Fix formatting issues.  Use
+       fail in place of perror.
+       * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
+       an expect statement to match an expression with output from
+       the program under debug.
+       * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
+       non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
+       * gdb.threads/non-ldr-exc-2.exp: Likewise.
+       * gdb.threads/non-ldr-exc-3.exp: Likewise.
+       * gdb.threads/non-ldr-exc-4.exp: Likewise.
+
+2015-09-09  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
+
+2015-09-09  Doug Evans  <dje@google.com>
+
+       * gdb.base/pie-execl.exp: Fix result test of build_executable.
+
+2015-09-09  Doug Evans  <dje@google.com>
+
+       * gdb.base/savedregs.exp: Fix typo.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.mi/mi-cli.exp: Add CLI finish tests.
+
+2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.threads/hand-call-in-threads.exp: Make sure the thread
+       command actually switches threads.  Give up on remaining
+       tests if target fails to stop at breakpoint.
+
+2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/funcall_char.exp: New testcase.
+       * gdb.ada/funcall_char/foo.adb: New file.
+
+2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
+       expected outputs.  Add two testcases for completing ambiguous
+       functions.
+       * gdb.ada/complete/aux_pck.adb: New file.
+       * gdb.ada/complete/aux_pck.ads: New file.
+       * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
+       Ambiguous_Func functions.
+       * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
+       * gdb.ada/complete/pck.adb: Likewise.
+
+2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
+       failures to run the test program under GDB.
+
+2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
+       to C.
+
+2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb.base/run-after-attach.exp: New test file.
+       * gdb.base/run-after-attach.c: New test file.
+
+2015-08-26  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.base/foll-exec-2.c: New test program.
+       * gdb.base/foll-exec-2.exp: New test.
+
+2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.base/nested-subp1.exp: New file.
+       * gdb.base/nested-subp1.c: New file.
+       * gdb.base/nested-subp2.exp: New file.
+       * gdb.base/nested-subp2.c: New file.
+       * gdb.base/nested-subp3.exp: New file.
+       * gdb.base/nested-subp3.c: New file.
+
+2015-08-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/connect-without-multi-process.c: New file.
+       * gdb.server/connect-without-multi-process.exp: New file.
+
+2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.opt/inline-markers.c: Make z int.
+
+2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.opt/inline-markers.c: Make z volatile.
+
+2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.opt/inline-bt.c: New volatile global z.
+       * gdb.opt/inline-cmds.c: Likewise.
+       * gdb.opt/inline-locals.c: Likewise.
+       * gdb.opt/inline-markers.c: New extern global z.
+       (marker): Use z.
+       (inline_fn): Likewise.
+
+2015-08-24  Pedro Alves  <palves@redhat.com>
+
+       * config/m32r-stub.exp: Remove file.
+       * gdb.base/call-ar-st.exp: Remove reference to sparclet.
+       * gdb.base/call-rt-st.exp: Likewise.
+       * gdb.base/call-strs.exp: Likewise.
+       * gdb.base/default.exp: Remove references to h8300-*-hms and
+       *-*-udi*.
+       * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
+
+2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
+       -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
+       and "return" use KFAIL when GDB can not read/write the vector
+       return value.
+
+2015-08-21  Gary Benson <gbenson@redhat.com>
+
+       * gdb.trace/pending.exp: Cope with remote transfer warnings.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/solib-list.exp: No longer expect an interior stop in
+       non-stop mode.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/connect-stopped-target.c: New file.
+       * gdb.server/connect-stopped-target.exp: New file.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.dwarf2/comp-unit-lang.exp: New file.
+       * gdb.dwarf2/comp-unit-lang.c: New file.
+
+2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/attr_ref_and_charlit.exp: New testcase.
+       * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
+
+2015-08-19  Kevin Buettner  <kevinb@redhat.com>
+    
+       * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
+       * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
+
+2015-08-18  Doug Evans  <dje@google.com>
+           Adrian Sendroiu <adrian.sendroiu@freescale.com>
+
+       * lib/gdb.exp (skip_python_tests_prompt): Renamed from
+       skip_python_tests.  New arg prompt_regexp.
+       (skip_python_tests): New function.
+       * lib/mi-support.exp (mi_skip_python_tests): New function.
+       * gdb.python/py-mi-objfile-gdb.py: New file.
+       * gdb.python/py-mi-objfile.c: New file.
+       * gdb.python/py-mi-objfile.exp: New file.
+
+2015-08-17  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.linespec/explicit.exp: Move strace test from here ...
+       * gdb.trace/strace.exp: ... to here.
+
+2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
+       * gdb.base/kill-detach-inferiors-cmd.c: New test file.
+
+2015-08-14  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
+       inferior before selecting a new file.
+
+2015-08-14  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.mi/mi-disassemble.exp: Update.
+       * gdb.base/disasm-optim.S: New file.
+       * gdb.base/disasm-optim.c: New file.
+       * gdb.base/disasm-optim.h: New file.
+       * gdb.base/disasm-optim.exp: New file.
+
+2015-08-14  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
+       "evaluated-by".
+
+2015-08-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/dso2dso.exp: Improve the testcase's documentation.
+
+2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/fun_renaming.exp: New testcase.
+       * gdb.ada/fun_renaming/fun_renaming.adb: New file.
+       * gdb.ada/fun_renaming/pack.adb: New file.
+       * gdb.ada/fun_renaming/pack.ads: New file.
+
+2015-08-12  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/dso2dso.exp: Pass basename of source file in call to
+       gdb_get_line_number.
+
+2015-08-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
+       gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
+       gdb.base/dso2dso.exp: New files.
+
+2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+           Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
+       GDBFLAGS.
+
+2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb.base/gdbhistsize-history.exp
+       (test_histsize_history_setting): Use save_vars.
+       * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
+       Use save_vars.
+       (test_no_truncation_of_unlimited_history_file): Use save_vars.
+       * gdb.base/readline.exp: Use save_vars.
+
+2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * lib/gdb.exp (save_vars): New proc.
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/help.exp: Update help_breakpoint_text.
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
+       (at toplevel): Call test_explicit_breakpoints.
+       * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
+       breakpoints.
+       * lib/mi-support.exp (mi_make_breakpoint): Add support for
+       breakpoint conditions, "-cond".
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.linespec/3explicit.c: New file.
+       * gdb.linespec/cpexplicit.cc: New file.
+       * gdb.linespec/cpexplicit.exp: New file.
+       * gdb.linespec/explicit.c: New file.
+       * gdb.linespec/explicit.exp: New file.
+       * gdb.linespec/explicit2.c: New file.
+       * gdb.linespec/ls-errs.exp: Add explicit location tests.
+       * lib/gdb.exp (capture_command_output): Regexp-escape `command'
+       before using in the matching pattern.
+       Clarify that `prefix' is a regular expression.
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/dprintf-pending.exp: Update dprintf "without format"
+       test.
+       Add tests for missing ",FMT" and ",".
+
+2015-08-10  Doug Evans  <dje@google.com>
+           Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/17960
+       * gdb.base/completion.exp: Add location completer tests.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
+       tests here.
+       (top level): Run do_test with and without displaced stepping.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/valgrind-disp-step.c: New file.
+       * gdb.base/valgrind-disp-step.exp: New file.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
+       Delete function.
+       (main): Add alarm.  Run an infinite loop instead of calling
+       wait_threads.
+       * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
+       comment.
+       * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
+       Delete function.
+       (main): Add alarm.  Run an infinite loop instead of calling
+       wait_threads.
+       * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
+       comment.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/checkpoint-ns.exp: New file.
+       * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
+       standard_testfile.
+
+2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
+       * gdb.btrace/instruction_history.exp: Update.
+       * gdb.btrace/tsx.exp: New.
+       * gdb.btrace/tsx.c: New.
+
 2015-08-06  Pedro Alves <palves@redhat.com>
 
        * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
This page took 0.031105 seconds and 4 git commands to generate.