linux-nat.c (linux_nat_close): Don't pass NULL for "this".
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index af374091d044fc705e8fe20072749871543b18e8..7af8784c1ef4e9cbcbbbb53a16434f23fbfc40ba 100644 (file)
@@ -1,3 +1,437 @@
+2014-08-24  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.guile/scm-value.exp (test_lazy_strings): Set print
+       symbol off.
+       * gdb.python/py-value.exp (test_lazy_strings): Likewise.
+
+2014-08-22  Doug Evans  <dje@google.com>
+
+       PR 17276
+       * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
+       * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
+       * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
+
+2014-08-22  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
+       * gdb.python/py-finish-breakpoint2.exp: Likewise.
+       * gdb.python/python.exp: Likewise.  Use .py file on the host
+       instead of the build.
+
+2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/gcore-stale-thread.c: New file.
+       * gdb.threads/gcore-stale-thread.exp: New file.
+
+2014-08-21  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
+       * gdb.base/gcore-relro-pie.exp: Likewise.
+       * gdb.base/gcore-relro.exp: Likewise.
+       * gdb.base/gcore.exp: Likewise.
+       * gdb.base/print-symbol-loading.exp: Likewise.
+       * gdb.threads/gcore-thread.exp: Likewise.
+       * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
+
+2014-08-20  Pedro Alves  <palves@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in (EXTRA_RULES, CC): New variables, get from
+       configure.
+       (EXPECT): Handle READ1 being set.
+       (all): Depend on EXTRA_RULES.
+       (check-read1, expect-read1, read1.so, read1): New rules.
+       * README (Testsuite Parameters): Document the READ1 make variable.
+       (Race detection): New section.
+       * configure: Regenerate.
+       * configure.ac: If build==host==target, and running under a
+       GNU/glibc system, add read1 to the extra Makefile rules.
+       (EXTRA_RULES): AC_SUBST it.
+       * lib/read1.c: New file.
+
+2014-08-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/data-loc.exp: Add additional tests exercising
+       the handling of variables declared as a typedef to an array
+       which a DW_AT_data_location attribute.
+
+2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR symtab/14604
+       PR symtab/14605
+       * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
+       gdb_test.
+
+2014-08-19  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
+
+2014-08-19  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
+       right line.
+
+2014-08-18  David Blaikie  <dblaikie@gmail.com>
+
+       * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
+
+2014-08-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
+       attribute in array range.
+
+2014-08-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
+
+2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR c++/17132
+       * gdb.cp/pr17132.cc: New file.
+       * gdb.cp/pr17132.exp: New file.
+
+2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.python/py-xmethods.py (A_getarrayind)
+       (E_method_char_worker.__call__, E_method_int_worker.__call__):
+       Use 'print' with function call syntax.
+       (E_method_matcher.match): Fix tab vs space indentation mixup.
+
+2014-08-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
+       false.
+
+2014-08-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.cp/casts.exp: Set print symbol off.
+       * gdb.cp/class2.exp: Likewise.
+       * gdb.cp/overload.exp: Likewise.
+       * gdb.cp/templates.exp: Likewise.
+
+2014-08-11  Doug Evans  <dje@google.com>
+
+       * gdb.base/print-symbol-loading.exp (test_load_core): Update.
+       (test_load_shlib): Update.
+
+2014-08-09  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/display.exp: Invoke is_address_zero_readable.
+       * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
+       * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
+       * gdb.base/hbreak-unmapped.exp: Return if
+       is_address_zero_readable returns true.
+       * gdb.base/signest.exp: Likewise.
+       * gdb.base/signull.exp: Likewise.
+       * gdb.base/sigbpt.exp: Likewise.
+       * gdb.guile/scm-disasm.exp: Do the test if
+       is_address_zero_readable returns false.
+       * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
+       * gdb.python/py-arch.exp: Likewise.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
+       * lib/gdb.exp (is_address_zero_readable): New proc.
+
+2014-08-09  Yao Qi  <yao@codesourcery.com>
+
+       PR testsuite/13443
+       * gdb.mi/mi-var-display.exp: Make test messages unique.
+
+2014-08-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
+       target 0".
+
+2014-08-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
+       "target_resume".
+
+2014-08-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/vla-datatypes.c (vla_factory): Add new variable
+       inner_vla_struct_object_size.
+       * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
+       as xfail.
+
+2014-07-30  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/signal-command-handle-nopass.exp (test): Add
+       comment.
+
+2014-07-29  Yao Qi  <yao@codesourcery.com>
+
+       PR gdb/17206
+       * gdb.base/until-nodebug.exp: New.
+
+2014-07-28  Doug Evans  <xdje42@gmail.com>
+
+       PR guile/17203
+       * gdb.guile/scm-parameter.exp: Add tests for trying to create
+       previously existing parameter, and previously ambiguously spelled
+       parameter.
+
+2014-07-28  Will Newton  <will.newton@linaro.org>
+
+       * gdb.base/varargs.exp: Remove KFAILs for ARM.
+
+2014-07-26  Ludovic Courtès  <ludo@gnu.org>
+           Doug Evans  <xdje42@gmail.com>
+
+       PR guile/17146
+       * gdb.guile/types-module.exp: Add tests for wrong type arguments.
+
+2014-07-25  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/signal-command-handle-nopass.c: New file.
+       * gdb.threads/signal-command-handle-nopass.exp: New file.
+       * gdb.threads/signal-command-multiple-signals-pending.c: New file.
+       * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
+       * gdb.threads/signal-delivered-right-thread.c: New file.
+       * gdb.threads/signal-delivered-right-thread.exp: New file.
+
+2014-07-25  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/double-prompt-target-event-error.exp
+       (cancel_pagination_in_target_event): Remove '-notransfer <return>'
+       match.
+       (cancel_pagination_in_target_event): Rework double prompt
+       detection.
+       * gdb.base/paginate-after-ctrl-c-running.exp
+       (test_ctrlc_while_target_running_paginates): Remove '-notransfer
+       <return>' match.
+       * gdb.base/paginate-bg-execution.exp
+       (test_bg_execution_pagination_return)
+       (test_bg_execution_pagination_cancel): Remove '-notransfer
+       <return>' matches.
+       * gdb.base/paginate-execution-startup.exp
+       (test_fg_execution_pagination_return)
+       (test_fg_execution_pagination_cancel): Remove '-notransfer
+       <return>' matches.
+       * gdb.base/paginate-inferior-exit.exp
+       (test_paginate_inferior_exited): Remove '-notransfer <return>'
+       match.
+       * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
+       * lib/gdb.exp (pagination_prompt): Run text through
+       string_to_regexp.
+       (gdb_test_multiple): Match $pagination_prompt instead of
+       "<return>".
+       (string_to_regexp): Move to lib/gdb-utils.exp.
+
+2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/amd64-entry-value-paramref.S: New file.
+       * gdb.arch/amd64-entry-value-paramref.cc: New file.
+       * gdb.arch/amd64-entry-value-paramref.exp: New file.
+       * gdb.arch/amd64-optimout-repeat.S: New file.
+       * gdb.arch/amd64-optimout-repeat.c: New file.
+       * gdb.arch/amd64-optimout-repeat.exp: New file.
+
+2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR gdb/17170
+       * gdb.base/statistics.exp: New file.
+
+2014-07-17  Doug Evans  <dje@google.com>
+
+       PR gdb/17170
+       * gdb.base/maint.exp: Update testing of per-command stats.
+
+2014-07-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/tfile.c: Include unistd.h and stdint.h.
+       (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
+       (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
+       (tfile_write_buf): New functions.
+       (add_memory_block): Rewrite using the above.
+       (adjust_function_address): New function.
+       (FUNCTION_ADDRESS): New macro.
+       (write_basic_trace_file): Remove short_x local, and use
+       tfile_write_16. Change type of func_addr local to unsigned long
+       long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
+       here.  Cast argument of add_memory_block to char pointer.
+       (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
+       (main): Remove parameters.
+       * gdb.trace/tfile.exp: Remove nowarnings.
+
+2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/debug-expr.exp: Test string evaluation with
+       "debug expression" on.
+
+2014-07-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/reread.exp: Use clean_restart.
+
+2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
+
+       * gdb.arch/avr-flash-qualifer.c: New.
+       * gdb.arch/avr-flash-qualifer.exp: New.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/paginate-after-ctrl-c-running.c: New file.
+       * gdb.base/paginate-after-ctrl-c-running.exp: New file.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/double-prompt-target-event-error.c: New file.
+       * gdb.base/double-prompt-target-event-error.exp: New file.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17072
+       * gdb.base/paginate-inferior-exit.c: New file.
+       * gdb.base/paginate-inferior-exit.exp: New file.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17072
+       * gdb.base/paginate-bg-execution.c: New file.
+       * gdb.base/paginate-bg-execution.exp: New file.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17072
+       * gdb.base/paginate-execution-startup.c: New file.
+       * gdb.base/paginate-execution-startup.exp: New file.
+       * lib/gdb.exp (pagination_prompt): New global.
+       (default_gdb_spawn): New procedure, factored out from
+       default_gdb_spawn.
+       (default_gdb_start): Adjust to call default_gdb_spawn.
+       (gdb_spawn): New procedure.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_assert): New procedure.
+       * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
+
+2014-07-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/execution-termios.c: New file.
+       * gdb.base/execution-termios.exp: New file.
+
+2014-07-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/vla-cxx.cc: New file.
+       * gdb.cp/vla-cxx.exp: New file.
+
+2014-07-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.reverse/rerun-prec.c: New file.
+       * gdb.reverse/rerun-prec.exp: New file.
+
+2014-07-12  Maciej W. Rozycki  <macro@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * lib/gdb-utils.exp: New file.
+       * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
+       inline `gdb_init_command' processing.
+       (gdb_start_cmd): Likewise.
+       * lib/mi-support.exp (mi_run_cmd): Likewise.
+       * README: Document `gdb_init_command' and `gdb_init_commands'.
+
+2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix false FAIL running under a very long directory name.
+       * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
+       and "set print elements 10000".  Twice.
+
+2014-07-11  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/exprs.exp: "set print symbol off".
+
+2014-07-11  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/kill.c: New file.
+       * gdb.threads/kill.exp: New file.
+
+2014-07-10  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.c (write_basic_trace_file)
+       [__thumb__||__thumb2__]: Clear the Thumb bit of the function
+       address written to trace file.
+
+2014-07-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/attach-wait-input.exp: New file.
+       * gdb.base/attach-wait-input.c: New file.
+
+2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
+       setting up test structures.
+       (main): Call new test function.
+       * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
+       test function, continue into test function and walk test
+       structures.
+
+2014-07-02  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/entry-values.c: Define labels 'foo_start' and
+       'bar_start' at the beginning of functions 'foo' and 'bar'
+       respectively.
+       * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
+       instead of 'foo' and 'bar'.
+
+2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/segv.exp: New.
+       * gdb.btrace/segv.c: New.
+
+2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.trace/entry-values.exp: Handle powerpc-specific branch
+       instruction.
+
+2014-06-30  Mark Wielaard  <mjw@redhat.com>
+
+       * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
+       vulture, vilify, villar): New volatile array constants.
+       (vindictive, vegetation): New const volatile array constants.
+       * gdb.base/volatile.exp: Test volatile and const volatile array
+       types.
+
+2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
+       target lacks support for awatch, rwatch, or hbreak.
+
+2014-06-27  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.multi/dummy-frame-restore.exp: New.
+       * gdb.multi/dummy-frame-restore.c: New.
+
+2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/gcore.exp: New.
+
+2014-06-23  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/watchpoint-reuse-slot.c: New file.
+       * gdb.base/watchpoint-reuse-slot.exp: New file.
+
+2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.python/py-xmethods.exp: Use "progspace" instead of the
+       progspace's filename in 'info', 'enable' and 'disable' command
+       tests.
+
+2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
+       * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
+       * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
+
+2014-06-20  Gary Benson  <gbenson@redhat.com>
+
+       * gdb.arch/i386-avx.exp: Fix include file location.
+       * gdb.arch/i386-sse.exp: Likewise.
+
+2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdb.dlang/expression.exp: New file.
+
 2014-06-19  Pedro Alves  <palves@redhat.com>
 
        * gdb.threads/thread-execl.exp (do_test): New procedure, factored
This page took 0.02912 seconds and 4 git commands to generate.