Add tests for gdb.Value(bufobj, type) constructor
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 0f0017593c209742bfcc85d7830c90361e4b08c2..cb51bcbe124d71e6460c6a2b266f0d07354c7305 100644 (file)
@@ -1,3 +1,485 @@
+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
+       to include -msmall-data-limit=0.
+
+2018-11-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/watch_minus_l: New testcase.
+
+2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
+
+       * gdb.arch/aix-sighandle.c: New file.
+       * gdb.arch/aix-sighandle.exp: New file.
+
+2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
+       registers being unions.
+
+2018-10-31  Tom de Vries  <tdevries@suse.de>
+
+       * lib/valgrind.exp: New file.
+        (vgdb_start, vgdb_stop): New procs, factored out of ...
+       * gdb.base/valgrind-bt.exp: ... here, ...
+       * gdb.base/valgrind-disp-step.exp: ... here and ...
+       * gdb.base/valgrind-infcall.exp: ... here.
+
+2018-10-31  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (get_valueof): Don't output read value in test name.
+
+2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/void-type.c: New file.
+       * gdb.dwarf2/void-type.exp: New file.
+
+2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/info_qt.c: New file.
+       * gdb.base/info_qt.exp: New file.
+
+2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * gdb.arch/powerpc-htm-regs.c: New file.
+       * gdb.arch/powerpc-htm-regs.exp: New file.
+
+2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * gdb.arch/powerpc-tar.c: New file.
+       * gdb.arch/powerpc-tar.exp: New file.
+
+2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * gdb.arch/powerpc-ppr-dscr.c: New file.
+       * gdb.arch/powerpc-ppr-dscr.exp: New file.
+
+2018-10-25  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
+
+2018-10-24  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
+       longer exists error.
+
+2018-10-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
+
+2018-10-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/valgrind-db-attach.exp: Handle removed support for
+       --db-attach in valgrind.
+
+2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-reg-aliases.c: New file.
+       * gdb.arch/riscv-reg-aliases.exp: New file.
+
+2018-10-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.python/py-cmd.exp: Check for gdb_prompt.
+
+2018-10-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
+
+2018-10-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.cp/ovldbreak.exp: Fix regexps.
+
 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
 
        * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
@@ -14909,6 +15391,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.
This page took 0.0447920000000001 seconds and 4 git commands to generate.