gdb/testsuite/gdb.base/stap-probe: Minor clean-up
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index a5decfd99a9add8effa7de80c4e33c7f4f177c3a..84fa9aec6dbd04c00bb1257b5398d12efc08529e 100644 (file)
@@ -1,3 +1,525 @@
+2020-01-10  George Barrett  <bob@bob131.so>
+
+       * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
+       * gdb.base/stap-probe.exp: Likewise.
+       (stap_test): Pass argument as an additional flag.
+       (stap_test_no_debuginfo): Likewise.
+       (stap_test): Check `info probes stap' output for semaphore
+       addresses if the test binary is supposed to have them.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/basic.exp: Add more scrolling tests.
+
+2020-01-09  Tom Tromey  <tom@tromey.com>
+
+       PR tui/18932:
+       * lib/tuiterm.exp (Term::wait_for): Rename from _accept.  Return a
+       meangingful value.
+       (Term::command, Term::resize): Update.
+       * gdb.tui/basic.exp: Add scrolling test.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/tui-layout-asm.exp: New file.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::check_box_contents): New proc.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
+       (Term::enter_tui): Use Term::prepare_for_tui.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
+       called.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/skip.exp: Fix race condition in test.
+
+2020-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/backtrace.c: New file.
+       * gdb.base/backtrace.exp: New file.
+
+2020-01-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/list.exp: Test 'focus next' after 'list main'.
+
+2020-01-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/style.exp: Test that warnings are styled.
+
+2019-12-29  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/line65535.exp: New file.
+       * gdb.base/line65535.c: New file.
+
+2019-12-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
+       * lib/gnat_debug_info_test.adb: New file.
+       * gdb.ada/ptype_tagged_param.exp: Use
+       gnat_runtime_has_debug_info, expect a different output if
+       runtime does not have debug info.
+
+2019-12-20  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
+       (another) quote in test name.
+
+2019-12-20  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
+       Add quote in test name.
+
+2019-12-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/pass-by-ref.cc: Delete.  Generated in the output
+       directory instead.
+       * gdb.cp/pass-by-ref.exp: Extend with more cases.
+       * gdb.cp/pass-by-ref-2.cc: New file.
+       * gdb.cp/pass-by-ref-2.exp: New file.
+
+2019-12-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/list-before.exp: New file.
+
+2019-12-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/list.exp: Check for source on initial listing.
+
+2019-12-11  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
+       Add crlf test.
+
+2019-12-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/default.exp: Update value of $_gdb_major.
+
+2019-12-17  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
+
+2019-12-17  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/skip.exp: Whitespace fix.
+
+2019-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/skip-inline.c: New file.
+       * gdb.base/skip-inline.exp: New file.
+
+2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/jit-reader.exp (jit_reader_test): Rename
+       jit_function_00 to jit_function_stack_mangle.
+       * gdb.base/jithost.c (jit_function_t): Rename to...
+       (jit_function_stack_mangle_t): ... this.
+       (jit_function_add_t): New typedef.
+       (jit_function_00_code): Rename to...
+       (jit_function_stack_mangle_code): ... this, make static.
+       (jit_function_add_code): New.
+       (main): Generate "add" function and call it.  Adjust to changes
+       in jithost_abi.
+       * gdb.base/jithost.h (struct jithost_abi_bounds): New.
+       (struct jithost_abi) <begin, end>: Remove fields.
+       <object, function_stack_mangle, function_add>: New fields.
+       * gdb.base/jitreader.c (struct reader_state) <code_begin,
+       code_end>: Remove fields.
+       <func_stack_mangle>: New field.
+       (read_debug_info): Adjust to renaming, create block for "add"
+       function.
+       (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/resize.exp: Fix regexp.
+       * gdb.tui/regs.exp: Fix regexps.
+       * gdb.tui/main.exp: Fix regexp.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/resize.exp: Update.
+       * gdb.tui/empty.exp (layouts): Update.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/regs.exp: Update.
+       * gdb.tui/empty.exp (layouts): Update.
+       * gdb.tui/basic.exp: Update.
+       * lib/tuiterm.exp (_check_box): Don't check bottom border.
+
+2019-12-11  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/options.exp: Add -raw-values in the print completion list.
+       * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
+
+2019-12-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.threads/omp-par-scope.c: New file.
+       * gdb/threads/omp-par-scope.exp: New file.
+
+2019-12-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * lib/gdb.exp (support_nested_function_tests): New proc.
+
+2019-12-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * lib/gdb.exp (gdb_compile_openmp): New proc.
+       (build_executable_from_specs): Add an "openmp" option.
+       (gdb_compile_pthreads): Add non-executable case.
+
+2019-12-10  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/unchecked_union.exp: New file.
+       * gdb.ada/unchecked_union/pck.adb: New file.
+       * gdb.ada/unchecked_union/pck.ads: New file.
+       * gdb.ada/unchecked_union/unchecked_union.adb: New file.
+       * gdb-utils.exp (string_to_regexp): Also quote "?".
+
+2019-12-10  George Barrett  <bob@bob131.so>
+
+       Test scripted probe breakpoints.
+       * gdb.guile/scm-breakpoint.c (main): Add probe point.
+       * gdb.python/py-breakpoint.c (main): Likewise.
+       * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
+       specifier test.
+       * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
+
+2019-12-09  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
+       an rvalue parameter.
+       * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
+       parameter.
+
+2019-12-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
+       modules.
+
+2019-12-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
+       broken version of GCC.
+
+2019-12-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-modules.exp: Rewrite to make use of new
+       sym-info-cmds library.
+       * gdb.fortran/info-types.exp: Likewise.
+       * lib/sym-info-cmds.exp: New file.
+
+2019-12-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
+
+2019-12-07  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/corefile-buildid-shlib-shr.c: New file.
+       * gdb.base/corefile-buildid-shlib.c: New file.
+       * gdb.base/corefile-buildid.c: New file.
+       * gdb.base/corefile-buildid.exp: New file.
+
+2019-12-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/varval.exp: Add decl before def test.
+
+2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
+
+2019-12-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
+       CV and reference conversion for overload resolution.
+       * gdb.cp/rvalue-ref-overload.exp: Test it.
+
+2019-12-06  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.threads/pthreads.exp: Test taas and tfaas without command.
+       * gdb.base/frameapply.exp: Test faas without command.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/gdb.exp (gdb_compile): Add -J compiler option when building
+       Fortran tests.
+       * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
+       order.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
+       casting to type with no kind specified.
+       (test_basic_parsing_of_type_kinds): Additional tests for types
+       with no kind specified, and add tests for single/double
+       precision/complex types.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/endianity.c (struct other) <x>: New field.
+       (main): Initialize it.
+       * gdb.base/endianity.exp: Update.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/scalar_storage/storage.adb: New file.
+       * gdb.ada/scalar_storage/pck.adb: New file.
+       * gdb.ada/scalar_storage/pck.ads: New file.
+       * gdb.ada/scalar_storage.exp: New file.
+
+2019-12-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/endianity.c (struct otherendian) <f>: New field.
+       (main): Initialize it.
+       * gdb.base/endianity.exp: Update.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
+
+2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-fortran-modules.exp: Add additional tests for
+       -symbol-info-module-functions and -symbol-info-module-variables.
+
+2019-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/array-slices.exp: Add test for dynamic strings.
+
+2019-12-01  Richard Bunt  <richard.bunt@arm.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/derived-type-striding.exp: New file.
+       * gdb.fortran/derived-type-striding.f90: New file.
+       * gdb.fortran/array-slices.exp: New file.
+       * gdb.fortran/array-slices.f90: New file.
+
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/define.exp: Test . in command names.
+       * gdb.base/setshow.exp: Update test, as . is now part of
+       command name.
+
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/define-prefix.exp: New file.
+
+2019-11-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
+       compile.
+       (skip_btrace_pt_tests): Likewise.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-modules.exp: Compile source files in correct
+       order.
+
+2019-11-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.dwarf2/imported-unit.exp: New file.
+       * gdb.dwarf2/imported-unit.c: New file.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-fortran-modules-2.f90: New file.
+       * gdb.mi/mi-fortran-modules.exp: New file.
+       * gdb.mi/mi-fortran-modules.f90: New file.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-sym-info-1.c: New file.
+       * gdb.mi/mi-sym-info-2.c: New file.
+       * gdb.mi/mi-sym-info.exp: New file.
+
+2019-11-22  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/tasks.exp: Add -ada-task-info regression test.
+       * gdb.ada/tasks/foo.adb: Add another stopping location.
+
+2019-11-21  Peeter Joot  <peeter.joot@lzlabs.com>
+
+       * gdb.base/endianity.c: New test.
+       * gdb.base/endianity.exp: New file.
+
+2019-11-21  Lukas Durfina  <ldurfina@tachyum.com>
+
+       * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
+
+2019-11-21  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24956
+       * gdb.base/ui-redirect.exp: Test output of user-defined command.
+
+2019-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.python/py-progspace.exp: Add missing parentheses on some
+       'print' commands.
+
+2019-11-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/winheight.exp: New file.
+
+2019-11-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/ctf-whatis.c: Delete.
+       * gdb.base/ctf-whatis.exp: Delete.
+       * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
+
+2019-11-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/ctf-cvexpr.exp: Delete.
+       * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
+
+2019-11-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
+       the compiler.  Clean up header comment a little.
+       * gdb.base/ctf-ptype.exp: Likewise.
+       * gdb.base/ctf-whatis.exp: Likewise.
+       * lib/gdb.exp (skip_ctf_tests): New proc.
+
+2019-11-18  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       https://bugzilla.redhat.com/show_bug.cgi?id=1765117
+       * gdb.tui/corefile-run.exp: New file.
+
+2019-11-14  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.base/gdbvars.exp (test_convenience_variables): Add
+       regression tests.
+
+2019-11-12  Tom Tromey  <tom@tromey.com>
+
+       * lib/tuiterm.exp (_accept): Add wait_for parameter.  Check output
+       after any command.  Expect prompt after WAIT_FOR is seen.
+       (enter_tui): Enable resize messages.
+       (command): Expect command in output.
+       (get_line): Avoid error when cursor appears to be off-screen.
+       (dump_screen): Include screen size in title.
+       (_do_resize): New proc, from "resize".
+       (resize): Rewrite.  Do resize in two steps.
+       * gdb.tui/empty.exp (layouts): Fix entries.
+       (check_boxes): Remove xfail.
+       (check_text): Dump screen on failure.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-symbol.exp: Add test for
+       gdb.lookup_static_symbols.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-symbol.c: Declare and call function from new
+       py-symbol-2.c file.
+       * gdb.python/py-symbol.exp: Compile both source files, and add new
+       tests for gdb.lookup_static_symbol.
+       * gdb.python/py-symbol-2.c: New file.
+
+2019-11-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
+       * gdb.base/anon.exp: Same.
+       * gdb.base/auto-connect-native-target.exp: Same.
+       * gdb.base/call-ar-st.exp: Same.
+       * gdb.base/catch-syscall.exp: Same.
+       * gdb.base/commands.exp: Same.
+       * gdb.base/default.exp: Same.
+       * gdb.base/display.exp: Same.
+       * gdb.base/float.exp: Same.
+       * gdb.base/foll-fork.exp: Same.
+       * gdb.base/help.exp: Same.
+       * gdb.base/info-macros.exp: Same.
+       * gdb.base/info-proc.exp: Same.
+       * gdb.base/info-target.exp: Same.
+       * gdb.base/long_long.exp: Same.
+       * gdb.base/macscp.exp: Same.
+       * gdb.base/memattr.exp: Same.
+       * gdb.base/nofield.exp: Same.
+       * gdb.base/pointers.exp: Same.
+       * gdb.base/printcmds.exp: Same.
+       * gdb.base/ptype.exp: Same.
+       * gdb.base/restore.exp: Same.
+       * gdb.base/return.exp: Same.
+       * gdb.base/scope.exp: Same.
+       * gdb.base/set-noassign.exp: Same.
+       * gdb.base/setshow.exp: Same.
+       * gdb.base/shlib-call.exp: Same.
+       * gdb.base/signals.exp: Same.
+       * gdb.base/sigstep.exp: Same.
+       * gdb.base/skip.exp: Same.
+       * gdb.base/solib-symbol.exp: Same.
+       * gdb.base/stap-probe.exp: Same.
+       * gdb.base/step-line.exp: Same.
+       * gdb.base/step-test.exp: Same.
+       * gdb.base/style.exp: Same.
+       * gdb.base/varargs.exp: Same.
+       * gdb.base/vla-datatypes.exp: Same.
+       * gdb.base/vla-ptr.exp: Same.
+       * gdb.base/vla-sideeffect.exp: Same.
+       * gdb.base/volatile.exp: Same.
+       * gdb.base/watch-cond-infcall.exp: Same.
+       * gdb.base/watchpoint.exp: Same.
+
+2019-11-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
+       * gdb.cp/cpexprs.exp: Same.
+       * gdb.cp/except-multi-location.exp: Same.
+       * gdb.cp/exceptprint.exp: Same.
+       * gdb.cp/gdb2384.exp: Same.
+       * gdb.cp/inherit.exp: Same.
+       * gdb.cp/m-static.exp: Same.
+       * gdb.cp/meth-typedefs.exp: Same.
+       * gdb.cp/misc.exp: Same.
+       * gdb.cp/namespace.exp: Same.
+       * gdb.cp/non-trivial-retval.exp: Same.
+       * gdb.cp/overload.exp: Same.
+       * gdb.cp/pr17132.exp: Same.
+       * gdb.cp/re-set-overloaded.exp: Same.
+       * gdb.cp/rvalue-ref-types.exp: Same.
+       * gdb.cp/templates.exp: Same.
+
+2019-11-01  Luis Machado  <luis.machado@linaro.org>
+
+       PR gdb/25124
+
+       * gdb.arch/pr25124.S: New file.
+       * gdb.arch/pr25124.exp: New file.
+
+2019-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-modules.exp: Update expected results, and add
+       additional tests for 'info module functinos', and 'info module
+       variables'.
+       * gdb.fortran/info-types.exp: Update expected results.
+       * gdb.fortran/info-types.f90: Extend testcase with additional
+       module variables and functions.
+
+2019-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-modules.exp: New file.
+       * gdb.fortran/info-types.exp: Build with new file.
+       * gdb.fortran/info-types.f90: Include and use new module.
+       * gdb.fortran/info-types-2.f90: New file.
+
+2019-10-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
+       * gdb.base/settings.exp: Test all settings types using
+       $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
+       that now verifies that the value of "maint show" is the same as
+       returned by the settings functions.  Test the type of the
+       maintenance settings.
+       * gdb.base/default.exp: Update show_conv_list.
+
 2019-10-31  Tom de Vries  <tdevries@suse.de>
 
        * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
@@ -17560,6 +18082,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2019 Free Software Foundation, Inc.
+    Copyright 2014-2020 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.03298 seconds and 4 git commands to generate.