Fix gdb.multi/multi-arch-exec.exp blocking under high load/slow gdb
[external/binutils.git] / gdb / testsuite / ChangeLog
index 24e4c92..4a4a87c 100644 (file)
@@ -1,3 +1,579 @@
+2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.multi/hello.c (main): Increase alarm timer.
+
+2019-03-28  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.threads/watchpoint-fork.exp (test): Use large timeout
+       factor when no hardware watchpoint support.
+
+2019-03-28  Alan Hayward  <alan.hayward@arm.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * boards/local-board.exp: set sysroot to /.
+
+2019-03-27  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
+       in child.
+
+2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
+       field.
+       (make_container): Initialise new field.
+       * gdb.python/py-prettyprint.exp: Add new tests.
+       * gdb.python/py-prettyprint.py (class ContainerPrinter)
+       <display_hint>: New method.
+
+2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
+       gdb_continue_to_breakpoint more throughout this test.
+       (run_lang_tests) Supply unique test names, and use
+       gdb_test_no_output.
+
+2019-03-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/finish-pretty.exp: Update expected results.
+       * gdb.base/pretty-print.c: New file.
+       * gdb.base/pretty-print.exp: New file.
+
+2019-03-25  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
+       move comments outside list.  Append '-i "" eof' section.
+
+2019-03-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * README: Add pie options.
+       * gdb.base/break-interp.exp: Ensure pie is disabled.
+       * gdb.base/dump.exp: Likewise.
+       * lib/gdb.exp (gdb_compile): Add pie option.
+
+2019-03-19  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.mi/mi2-cli-display.c: New file.
+       * gdb.mi/mi2-cli-display.exp: New file.
+
+2019-03-18  Joel Brobecker  <brobecker@adacore.com>
+           Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/ptype_array/pck.adb: New file.
+       * gdb.ada/ptype_array/pck.ads: New file.
+       * gdb.ada/ptype_array/foo.adb: New file.
+       * gdb.ada/ptype_array.exp: New file.
+
+2019-03-14  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/style.exp: Add "set style sources" test.
+
+2019-03-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi-breakpoint-location-ena-dis.exp: Rename to ...
+       * mi-breakpoint-multiple-locations.exp: ... this.
+       (make_breakpoints_pattern): New proc.
+       (do_test): Add mi_version parameter, test -break-insert,
+       -break-info and =breakpoint-created.
+
+2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/default.exp: Remove 'load_lib gdb.exp'.
+       * config/monitor.exp: Likewise.
+       * config/sid.exp: Likewise.
+       * config/sim.exp: Likewise.
+       * config/slite.exp: Likewise.
+       * config/unix.exp: Likewise.
+       * gdb.base/default.exp: Remove unhelpful comment.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/intrinsics.exp: Extend to cover ABS.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/type-kinds.exp: Update expected results.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/type-kinds.exp: Test new integer type kind.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
+       function.
+       (test_basic_parsing_of_type_kinds): Expand types tested.
+       (test_parsing_invalid_type_kinds): New function.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/intrinsics.exp: New file.
+       * gdb.fortran/intrinsics.f90: New file.
+       * gdb.fortran/type-kinds.exp: New file.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/dot-ops.exp: New file.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/types.exp (test_logical_literal_types_accepted):
+       Check upper and lower case logical literals.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/types.exp (test_float_literal_types_accepted):
+       Remove duplicate tests.
+
+2019-03-06  Alan Hayward  <alan.hayward@arm.com>
+
+       * lib/gdb.exp (builtin_cd): rename of cd.
+       (cd): Override builtin.
+
+2019-03-06  Richard Bunt  <richard.bunt@arm.com>
+
+       * gdb.fortran/function-calls.exp: New file.
+       * gdb.fortran/function-calls.f90: New test.
+
+2019-03-04  Richard Bunt  <richard.bunt@arm.com>
+
+       * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
+       on user program standard output.
+       * gdb.fortran/short-circuit-argument-list.f90: Record function
+       calls.
+
+2019-02-28  Alan Hayward  <alan.hayward@arm.com>
+
+       * lib/gdbserver-support.exp (gdbserver_start): Check for listen
+       failure.
+
+2019-02-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR gdb/8527
+       * gdb.base/interrupt-daemon-attach.c,
+       gdb.base/interrupt-daemon-attach.exp: New test.
+
+2019-02-27  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/page.exp: Add tests for "set width/height -1".
+
+2019-02-27  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/page.exp: Add tests for "set/show width/height" with
+       "infinite" values.
+
+2019-02-27  Tom Tromey  <tromey@adacore.com>
+
+       * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
+       2.4.
+       * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
+       workaround.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/align.exp: Extend to compile in both C and C++, and add
+       tests for structs with static members.
+
+2019-02-26  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.python/py-value.exp (test_value_from_buffer): Check for
+       ValueError, not TypeError.
+
+2019-02-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.python/py-value.exp (test_value_from_buffer): New proc with
+       call from main program.
+
+2019-02-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
+       * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
+       * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
+       * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
+       * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
+
+2019-02-22  Keith Seitz  <keiths@redhat.com>
+
+       PR symtab/23853
+       * gdb.base/symlink-sourcefile.c: New file.
+       * gdb.base/symlink-sourcefile.exp: New file.
+
+2019-02-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/info_qt.exp: Update.
+
+2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/source.exp: Move "error in sourced script" code to
+       the end.
+       * gdb.base/source-error.gdb: Move contents to
+       source-error-1.gdb.  Add new code to source source-error-1.gdb.
+       * gdb.base/source-error-1.gdb: New file, from previous
+       source-error.gdb.
+
+2019-02-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
+       for macro styling.
+       * gdb.base/style.c (SOME_MACRO): New macro.
+
+2019-02-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add line-wrapping tests.
+       * gdb.base/page.exp: Add test for quitting during pagination.
+
+2019-02-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/big_packed_array: New testcase.
+       * gdb.ada/homonym.exp: Fix incorrect expected output for
+       "break <homonym__get_value>" test.
+
+2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
+
+       PR breakpoints/21870
+       * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
+       and prepare_for_testing.  Add comment.
+       * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
+       redundant cleanup call.  Clean up comment.
+
+2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
+
+       PR breakpoints/21870
+       * gdb.arch/aarch64-dbreg-contents.exp: New file.
+       * gdb.arch/aarch64-dbreg-contents.c: New file.
+
+2019-02-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_ref_changeable: New testcase.
+
+2019-02-07  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.base/attach.exp: Add double attach test.
+
+2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/gdb.exp (default_gdb_start): Don't match pagination
+       prompt.
+       (gdb_init): Set stty_init.
+
+2019-01-27  Tom Tromey  <tom@tromey.com>
+
+       * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
+       skip_python_tests.
+
+2019-01-24  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
+       New structure.
+       (struct struct_static_02_02): Likewise.
+       (struct struct_static_02_03): Likewise.
+       (struct struct_static_02_04): Likewise.
+       (struct struct_static_04_01): Likewise.
+       (struct struct_static_04_02): Likewise.
+       (struct struct_static_04_03): Likewise.
+       (struct struct_static_04_04): Likewise.
+       (struct struct_static_06_01): Likewise.
+       (struct struct_static_06_02): Likewise.
+       (struct struct_static_06_03): Likewise.
+       (struct struct_static_06_04): Likewise.
+       (cmp_struct_static_02_01): Likewise.
+       (cmp_struct_static_02_02): Likewise.
+       (cmp_struct_static_02_03): Likewise.
+       (cmp_struct_static_02_04): Likewise.
+       (cmp_struct_static_04_01): Likewise.
+       (cmp_struct_static_04_02): Likewise.
+       (cmp_struct_static_04_03): Likewise.
+       (cmp_struct_static_04_04): Likewise.
+       (cmp_struct_static_06_01): Likewise.
+       (cmp_struct_static_06_02): Likewise.
+       (cmp_struct_static_06_03): Likewise.
+       (cmp_struct_static_06_04): Likewise.
+       (call_all): Test new structs.
+       * gdb.base/infcall-nested-structs.exp: Likewise.
+
+2019-01-21  Alan Hayward  <alan.hayward@arm.com>
+       * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
+
+2019-01-21  Alan Hayward  <alan.hayward@arm.com>
+       * gdb.base/stack-protector.c: New test.
+       * gdb.base/stack-protector.exp: New file.
+       * gdb.cp/ovldbreak.exp: Only allow a single break line.
+       * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
+       option.
+       (gdb_compile): Remove stack protector for GCC and prevent
+       recursion.
+
+2019-01-16  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/23773
+       * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
+
+2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * gdb.arch/vsx-regs.exp: Add tests that use the vector register
+       aliases.
+       * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
+       tests.
+       * gdb.arch/powerpc-vector-regs.c: New file.
+       * gdb.arch/powerpc-vector-regs.exp: New file.
+
+2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * gdb.arch/altivec-regs.exp: Fix the list passed to
+       gdb_expect_list when testing "info vector".
+
+2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/style.exp: Don't include path in testname.
+
+2019-01-10  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/23712
+       PR symtab/23010
+       * gdb.dwarf2/multidictionary.exp: New file.
+
+2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
+       (test_gnuv3_style_demangling): ... this.
+       (test_lucid_style_demangling): Remove.
+       (test_arm_style_demangling): Remove.
+       (test_hp_style_demangling): Remove.
+       (do_tests): Remove calls to the above.
+
+2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
+       case.
+
+2019-01-06  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/28155:
+       * gdb.dwarf2/typedef-void-finish.exp: New file.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+           Simon Marchi <simark@simark.ca>
+
+       * gdb.base/jit-exec.exp: New file.
+       * gdb.base/jit-exec.c: New file.
+       * gdb.base/jit-execd.c: New file.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Update test to check for address styling.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add test for styling of "Reading symbols"
+       message.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add test for version number styling.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add test for print_address_symbolic.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add test for breakpoint setting.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Add test for variable names.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: New file.
+       * gdb.base/style.c: New file.
+
+2018-12-28  Tom Tromey  <tom@tromey.com>
+
+       * lib/gdb.exp (gdb_init): Set the TERM environment variable to
+       "dumb".
+       * gdb.base/readline.exp (operate_and_get_next): Save and restore
+       the TERM environment variable.
+
+2018-12-27  Tom Tromey  <tom@tromey.com>
+
+       * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
+       pagination test.
+
+2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-unusual-field-names.c: New file.
+       * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
+
+2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
+       Filename a.adb changed to bp_fun_addr.adb.
+       gdb.ada/bp_fun_addr.exp: Update test accordingly.
+
+2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
+       non-PIE executables.
+       * README: Mention the gdb,nopie_flag board setting.
+       * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
+       non-PIE executable.
+       * gdb.arch/amd64-entry-value.exp: Likewise.
+       * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
+       * gdb.arch/i386-float.exp: Likewise.
+       * gdb.arch/i386-signal.exp: Likewise.
+       * gdb.mi/mi-reg-undefined.exp: Likewise.
+
+2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
+
+       PR gdb/23974
+       * gdb.base/info-os.exp: Check return for unknown "info os" type.
+
+2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
+       Update order of results accordingly.
+
+2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/annota1.exp: Update a test regexp.
+
+2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/float.exp: Handle RISC-V targets without an FPU.
+
+2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
+       (reuse_time): Initialize to REUSE_TIME_CAP.
+       (check_rc): New function.
+       (main): Use REUSE_TIME_CAP instead of hardcoded 60.
+       Check pthread_create rc.
+       (spawner_thread_func): Check pthread_create and pthread_join rc.
+
+2018-12-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list.exp (test_forward_search): Rename to ...
+       (test_forward_reverse_search): ... this.  Also test reverse-search
+       and the forward-search alias.
+
+2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
+       local timeout variable before return, and remove all local timeout
+       variable entirely.
+       (gdb_load): Likewise.
+
+2018-12-01  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/gdb-caching-proc.exp: New file.
+
+2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * Makefile.in (TIMESTAMP): New variable.
+       (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
+       command.
+       (check-single-racy): Likewise.
+       (check/%.exp): Likewise.
+       (check-racy/%.exp): Likewise.
+       (workers/%.worker): Likewise.
+       (build-perf): Likewise.
+       (check-perf): Likewise.
+       * README: Describe new "TS" and "TS_FORMAT" variables.
+       * print-ts.py: New file.
+
+2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
+
+       PR python/23714
+       * gdb.python/python.exp: Test command repetition after
+       gdb.execute.
+
+2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.opt/inline-break.exp: Add test that info breakpoint output
+       is correctly aligned.
+
+2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.ada/info_auto_lang.exp: New testcase.
+       * gdb.ada/info_auto_lang/global_pack.ads: New file.
+       * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
+       * gdb.ada/info_auto_lang/some_c.c: New file.
+
+2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
+       FUNC_lang language syntax.
+
+2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/info_minsym.c: New file.
+       * gdb.base/info_minsym.exp: New file.
+
+2018-11-19  Tom Tromey  <tom@tromey.com>
+
+       PR rust/23625:
+       * gdb.rust/simple.exp: Add ptype test.  Update expected output.
+       * gdb.rust/expr.exp: Update expected output.  Change one test.
+
+2018-11-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.rs: Don't initialize empty_enum_value.
+
+2018-11-19  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
+       gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
+       see the expected warning.
+
+2018-11-16  Alan Hayward  <alan.hayward@arm.com>
+
+       PR gdb/22736:
+       * gdb.cp/infcall-nodebug-lib.c: New test.
+       * gdb.cp/infcall-nodebug-main.c: New test.
+       * gdb.cp/infcall-nodebug.exp: New file.
+
+2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
+       completer tests.
+
+2018-11-09  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/msym-lang.c: New test.
+       * gdb.base/msym-lang.exp: New file.
+       * gdb.base/msym-lang-main.c: New test.
+
+2018-11-08  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/23555:
+       PR gdb/23838:
+       * gdb.base/warning.exp: New file.
+
+2018-11-08  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gdb.arch/i386-avx512.c,
+       testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
+
+2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
+       point hardware.
+
+2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
+       * gdb.dwarf2/missing-type-name.exp: New file.
+
+2018-11-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/many-headers.c: New test.
+       * gdb.base/many-headers.exp: New file.
+
 2018-11-06  Jim Wilson  <jimw@sifive.com>
 
        * gdb.base/code_elim.exp: For riscv, set additional_flags
@@ -15000,6 +15576,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2018 Free Software Foundation, Inc.
+    Copyright 2014-2019 Free Software Foundation, Inc.
   Copying and distribution of this file, with or without modification,
   are permitted provided the copyright notice and this notice are preserved.