Change file close behavior for tee_file
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index b5177c7e076664420ea732380f7b6f557cf7d9ac..6d35156499832061b4640a7c6bbee523fa81df32 100644 (file)
@@ -1,3 +1,544 @@
+2019-05-17  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.base/ui-redirect.exp: Test redirection.
+
+2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       * gdb.mi/mi-complete.exp: New file.
+       * gdb.mi/mi-complete.cc: Likewise.
+
+2019-05-15  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
+       indexed and sliced arrays, and pointers to arrays.
+
+2019-05-14  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
+       styling test.
+
+2019-05-14  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
+       selection entry encoding.
+
+2019-05-10  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/info_exc.exp: Add "complete" test.
+
+2019-05-09  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
+       CU-relative.
+
+2019-05-09  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
+       CU-relative.
+
+2019-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/frame_arg_lang.exp: New testcase.
+       * gdb.ada/frame_arg_lang/bla.adb: New file.
+       * gdb.ada/frame_arg_lang/pck.ads: New file.
+       * gdb.ada/frame_arg_lang/pck.adb: New file.
+       * gdb.ada/frame_arg_lang/foo.c: New file.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/ptype-offsets.exp: Update tests.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/ptype-offsets.exp: Use string_to_regexp.  Fix test
+       cases.
+       * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
+       "short".
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/vla.exp: New file.
+       * gdb.ada/vla/vla.adb: New file.
+
+2019-05-07  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/index-cache.exp (ls_host): Fix return statement.
+
+2019-05-07  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/24522
+       * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
+       section.
+
+2019-05-07  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/24522
+       * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
+       .debug_aranges section.
+
+2019-05-07  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/24159
+       * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
+
+2019-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (exec_has_index_section): New proc.
+       * gdb.base/index-cache.exp: Handle case that binfile contains an index
+       section.
+
+2019-05-04  Tom de Vries  <tdevries@suse.de>
+
+       * boards/cc-with-debug-names.exp: New file.
+
+2019-05-03  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
+       * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
+       * gdb.ada/char_enum.exp: Add test.
+
+2019-05-03  Tom de Vries  <tdevries@suse.de>
+
+       * boards/cc-with-gdb-index.exp: New file.
+
+2019-05-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.rust/simple.exp: Add new test case.
+       * gdb.rust/simple.rs (struct StringAtOffset): New struct.
+       (main): Initialise an instance of the new struct.
+
+2019-05-01  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
+       record.
+       (NPR): New variable.
+       * gdb.ada/packed_array_assign.exp: Add nested packed assignment
+       test.
+
+2019-05-01  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/packed_array_assign.exp: Add packed assignment
+       regression test.
+
+2019-05-01  Tom de Vries  <tdevries@suse.de>
+
+       * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
+
+2019-05-01  Tom de Vries  <tdevries@suse.de>
+
+       * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
+
+2019-04-30  Ali Tamur  <tamur@google.com>
+
+       * lib/dwarf.exp(): Added DW_FORM_strx1-4.
+
+2019-04-30  Tom Tromey  <tromey@adacore.com>
+
+       * lib/ada.exp (find_ada_tool): New proc.
+       * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
+       * gdb.ada/catch_ex_std.exp: New file.
+       * gdb.ada/catch_ex_std/foo.adb: New file.
+       * gdb.ada/catch_ex_std/some_package.adb: New file.
+       * gdb.ada/catch_ex_std/some_package.ads: New file.
+
+2019-04-30  Tom Tromey  <tromey@adacore.com>
+
+       PR c++/24470:
+       * gdb.cp/temargs.cc: Add test code from PR.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/vla-datatypes.exp: Update expected results.
+       * gdb.fortran/vla-ptype.exp: Likewise.
+       * gdb.fortran/vla-type.exp: Likewise.
+       * gdb.fortran/vla-value.exp: Likewise.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/ptr-indentation.exp: Update expected results.
+       * gdb.fortran/ptype-on-functions.exp: Likewise.
+       * gdb.fortran/vla-ptr-info.exp: Likewise.
+       * gdb.fortran/vla-value.exp: Likewise.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/ptype-on-functions.exp: New file.
+       * gdb.fortran/ptype-on-functions.f90: New file.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
+       case void string.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/complex.exp: Expand.
+       * gdb.fortran/complex.f: Renamed to...
+       * gdb.fortran/complex.f90: ...this, and extended to add more
+       complex values.
+
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
+       MODULO, CMPLX.
+
+2019-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Richard Bunt  <richard.bunt@arm.com>
+
+       * gdb.base/max-depth.c: New file.
+       * gdb.base/max-depth.exp: New file.
+       * gdb.python/py-nested-maps.c: New file.
+       * gdb.python/py-nested-maps.exp: New file.
+       * gdb.python/py-nested-maps.py: New file.
+       * gdb.python/py-format-string.exp (test_max_depth): New proc.
+       (test_all_common): Call test_max_depth.
+       * gdb.fortran/max-depth.exp: New file.
+       * gdb.fortran/max-depth.f90: New file.
+       * gdb.go/max-depth.exp: New file.
+       * gdb.go/max-depth.go: New file.
+       * gdb.modula2/max-depth.exp: New file.
+       * gdb.modula2/max-depth.c: New file.
+       * lib/gdb.exp (get_print_expr_at_depths): New proc.
+
+2019-04-29  Tom de Vries  <tdevries@suse.de>
+
+       * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
+
+2019-04-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/callexit.exp: Test may-call-functions off.
+
+2019-04-25  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/24367
+       * gdb.cp/meth-typedefs.cc (incomplete_struct)
+       (another_incomplete_struct, test_incomplete): New definitions.
+       (main): Use new definitions.
+       * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
+       functions.
+
+2019-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR corefiles/11608
+       PR corefiles/18187
+       * gdb.base/coredump-filter-build-id.exp: New file.
+
+2019-04-25  Alan Hayward  <alan.hayward@arm.com>
+
+        * Makefile.in: Pass through GDBSERVER_DEBUG.
+        * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
+        (gdbserver,debug): Add board setting.
+        * gdb.trace/tspeed.exp: Skip when debugging.
+        * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
+        * lib/gdbserver-support.exp: Likewise
+
+2019-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
+       Rust.
+
+2019-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.arch/amd64-eval.exp: Test bitfield return.
+       * gdb.arch/amd64-eval.cc (struct Bitfields): New.
+       (class Foo) <return_bitfields>: New method.
+       (main): Call it.
+
+2019-04-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/many-args.cc: New file.
+       * gdb.cp/many-args.exp: New file.
+
+2019-04-23  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24433
+       * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
+
+2019-04-23  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.trace/backtrace.exp: Use nopie flag.
+       * gdb.trace/circ.exp: Likewise.
+       * gdb.trace/collection.exp: Likewise.
+       * gdb.trace/ftrace.exp: Likewise.
+       * gdb.trace/mi-trace-unavailable.exp: Likewise.
+       * gdb.trace/mi-traceframe-changed.exp: Likewise.
+       * gdb.trace/qtro.exp: Likewise.
+       * gdb.trace/read-memory.exp: Likewise.
+       * gdb.trace/report.exp: Likewise.
+       * gdb.trace/tfile.exp: Likewise.
+       * gdb.trace/tfind.exp: Likewise.
+       * gdb.trace/unavailable.exp: Likewise.
+
+2019-04-22  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/solib-probes-nosharedlibrary.c,
+       gdb.base/solib-probes-nosharedlibrary.exp: New files.
+
+2019-04-19  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/ptype_union.c: New file.
+       * gdb.ada/ptype_union.exp: New file.
+
+2019-04-19  Tom Tromey  <tromey@adacore.com>
+
+       PR symtab/24423:
+       * gdb.base/list0.h (foo): Add a control-l character.
+
+2019-04-18  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24433
+       * boards/local-board.exp: Set sysroot to "".
+
+2019-04-18  Tom de Vries  <tdevries@suse.de>
+           Pedro Alves  <palves@redhat.com>
+
+       PR gdb/24454
+       * gdb.threads/vfork-follow-child-exec.c: New file.
+       * gdb.threads/vfork-follow-child-exec.exp: New file.
+       * gdb.threads/vfork-follow-child-exit.c: New file.
+       * gdb.threads/vfork-follow-child-exit.exp: New file.
+
+2019-04-15  Leszek Swirski  <leszeks@google.com>
+
+       * gdb.arch/amd64-eval.cc: New file.
+       * gdb.arch/amd64-eval.exp: New file.
+
+2019-04-11  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.server/sysroot.c: New test.
+       * gdb.server/sysroot.exp: New file.
+       * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
+       matching param.
+
+2019-04-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/align.exp: Extend test to cover structures containing
+       only static fields.
+
+2019-04-11  Tom de Vries  <tdevries@suse.de>
+
+       * boards/cc-with-dwz-m.exp: New file.
+       * boards/cc-with-dwz.exp: New file.
+       * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
+
+2019-04-09  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/start-cpp.exp: New file.
+       * gdb.base/start-cpp.cc: New file.
+
+2019-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.python/py-thrhandle.exp: Adjust tests to call
+       thread_from_handle instead of thread_from_thread_handle.
+
+2019-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.python/py-thrhandle.exp: Add tests for
+       gdb.InferiorThread.handle.
+
+2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-function.exp: Check calling helper function from
+       all languages.
+       * lib/gdb.exp (gdb_supported_languages): New proc.
+
+2019-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/complex-parts.c: New file.
+       * gdb.base/complex-parts.exp: New file.
+
+2019-04-01  Tom Tromey  <tromey@adacore.com>
+
+       PR symtab/23331:
+       * gdb.dwarf2/dw2-ranges-main.c: New file.
+       * gdb.dwarf2/dw2-ranges-psym.c: New file.
+       * gdb.dwarf2/dw2-ranges-psym.exp: New file.
+
+2019-03-30  Simon Marchi <simark@simark.ca>
+
+       * gdb.base/default.exp: Add values for $_gdb_major and
+       $_gdb_minor.
+
+2019-03-29  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/help.exp: Tighten apropos regexp.
+
+2019-03-29  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.fortran/array-bounds.exp: New file.
+       * gdb.fortran/array-bounds.f90: New file.
+
+2019-03-28  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
+
+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
This page took 0.03081 seconds and 4 git commands to generate.