Replace most calls to help_list and cmd_show_list
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 6fc24e19c2c06d70f29ca66eba0cfa108798d33b..f26bb4c4d0d0f37f06760d1a152fcbe93d016fe2 100644 (file)
@@ -1,3 +1,354 @@
+2020-04-17  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
+       Update tests.
+       * gdb.btrace/cpu.exp: Update tests.
+       * gdb.base/maint.exp: Update tests.
+       * gdb.base/default.exp: Update tests.
+       * gdb.base/completion.exp: Update tests.
+
+2020-04-16  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25791
+       * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
+       (ensure_gdb_index): and factor out and move ...
+       * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
+       * gdb.dwarf2/imported-unit-runto-main.exp: New file.
+
+2020-04-16  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/maint-expand-symbols-header-file.exp: Set language before
+       loading exec.
+
+2020-04-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/many-completions.exp: New file.
+
+2020-04-14  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25718
+       * gdb.dwarf2/dw2-symtab-includes.exp: New file.
+
+2020-04-14  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25720
+       * gdb.base/maint-expand-symbols-header-file.c: New test.
+       * gdb.base/maint-expand-symbols-header-file.exp: New file.
+       * gdb.base/maint-expand-symbols-header-file.h: New test.
+
+2020-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
+       * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
+       get_func_info.
+       (get_func_info): Delete.
+       * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
+       * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
+       * lib/dwarf.exp (get_func_info): New function.
+
+2020-04-13  Tom de Vries  <tdevries@suse.de>
+
+       * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
+       to what find_gnatmake does.
+
+2020-04-10  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/style.exp: Expect "Expanding full symbols" message for
+       -readnow.
+
+2020-04-10  Tom de Vries  <tdevries@suse.de>
+
+       PR cli/25808
+       * gdb.base/style.c: Add leading newlines.
+       * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
+       Check listing of main's one-line body.
+
+2020-04-08  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (psymtabs_p): New proc.
+       * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
+       importing unit" unsupported if there are no partial symbols.
+
+2020-04-08  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25760
+       * gdb.ada/call_pn.exp: Call "maint expand-symtabs".  Add xfails.
+
+2020-04-07  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25796
+       * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
+
+2020-04-07  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/check-psymtab.c: New test.
+       * gdb.base/check-psymtab.exp: New file.
+
+2020-04-06  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/variant-record/proc.adb: New file.
+       * gdb.ada/variant-record/value.adb: New file.
+       * gdb.ada/variant-record/value.s: New file.
+       * gdb.ada/variant-record.exp: New file.
+
+2020-04-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/25325
+       * gdb.cp/typed-enum.cc: New test.
+       * gdb.cp/typed-enum.exp: New file.
+
+2020-04-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
+       * gdb.dwarf2/dw2-inline-small-func.c: New file.
+       * gdb.dwarf2/dw2-inline-small-func.exp: New file.
+       * gdb.dwarf2/dw2-inline-small-func.h: New file.
+       * gdb.opt/inline-small-func.c: New file.
+       * gdb.opt/inline-small-func.exp: New file.
+       * gdb.opt/inline-small-func.h: New file.
+
+2020-04-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
+       function.
+
+2020-04-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/dwarf.exp (function_range): Allow compiler options to be
+       specified.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
+       __attribute__((always_inline)).
+       * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
+       (gdbserver_gdb_exit): ... here.  Add timeout warning.
+       * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
+       (connect_target_extended_remote): Append new server_spawn_id to
+       server_spawn_ids.
+       (cleanup): New proc.
+       (setup, <toplevel>): Call cleanup.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/main-psymtab.exp: New file.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/complex-parts.exp: Add type tests.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/complex-parts.exp: Add arithmetic tests.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.compile/compile.exp: Update.
+       * gdb.compile/compile-cplus.exp: Update.
+       * gdb.base/varargs.exp: Update.
+       * gdb.base/floatn.exp: Update.
+       * gdb.base/endianity.exp: Update.
+       * gdb.base/callfuncs.exp (do_function_calls): Update.
+       * gdb.base/funcargs.exp (complex_args, complex_integral_args)
+       (complex_float_integral_args): Update.
+       * gdb.base/complex.exp: Update.
+       * gdb.base/complex-parts.exp: Update.
+
+2020-04-01  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.rust/union.rs: New file.
+       * gdb.rust/union.exp: New file.
+       * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
+       (main): Update.
+       * gdb.rust/simple.exp: Move union tests to union.exp.
+
+2020-04-01  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.rust/simple.rs (main): Remove "y0".
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.multi/stop-all-on-exit.c: New test.
+       * gdb.multi/stop-all-on-exit.exp: New file.
+
+2020-04-01  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/24789
+       * gdb.cp/misc.cc: Add integer reference variable.
+       * gdb.cp/misc.exp: Add test.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.server/stop-reply-no-thread.exp: Enhance the test
+       scenario to cover execution until the end and also the case
+
+2020-03-31  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/c-linkage-name.exp: Fix test-case comment.  Set language to
+       c.  Use "maint info symtabs" to check symtab expansion.
+
+2020-03-30  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
+       unsupported.
+       (verify_psymtab_expanded): Move ...
+       * lib/gdb.exp (verify_psymtab_expanded): ... here.  Add unsupported
+       test.
+       (readnow): New proc.
+
+2020-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
+       with $hex.
+
+2020-03-20  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
+
+2020-03-20  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/sub_variant/subv.adb: New file.
+       * gdb.ada/sub_variant.exp: New file.
+
+2020-03-20  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
+       first break fails.
+       * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
+
+2020-03-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.server/exit-multiple-threads.c: New file.
+       * gdb.server/exit-multiple-threads.exp: New file.
+
+2020-03-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/mixed-lang-stack.c: New file.
+       * gdb.fortran/mixed-lang-stack.cpp: New file.
+       * gdb.fortran/mixed-lang-stack.exp: New file.
+       * gdb.fortran/mixed-lang-stack.f90: New file.
+
+2020-03-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.linespec/cp-completion-aliases.cc: New file.
+       * gdb.linespec/cp-completion-aliases.exp: New file.
+
+2020-03-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.opt/inline-locals.exp: Add kfail PR number.  Make kfail matching
+       more precise.
+
+2020-03-18  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/break-inline-psymtab-2.c: New test.
+       * gdb.dwarf2/break-inline-psymtab.c: New test.
+       * gdb.dwarf2/break-inline-psymtab.exp: New file.
+
+2020-03-16  Tom de Vries  <tdevries@suse.de>
+
+       * lib/cache.exp (gdb_do_cache): Add and handle local variables
+       cache_verify and cache_verify_proc.
+
+2020-03-15  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.server/solib-list.exp: Handle
+       'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
+
+2020-03-15  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
+       objfiles".
+
+2020-03-14  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
+
+2020-03-14  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
+
+2020-03-14  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
+       result in line-by-line fashion.
+
+2020-03-14  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (supports_statement_frontiers): New proc.
+       * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
+
+2020-03-14  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/printcmds.exp: Add missing quoting for "print
+       teststring2".
+
+2020-03-13  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/printcmds.exp (test_print_strings): Add regression
+       test.
+       * gdb.base/printcmds.c (charptr): New typedef.
+       (teststring2): New global.
+
+2020-03-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/break-interp.exp: Use the tail of the filename, not the
+       full path in the test name.
+       (test_ld): Add some with_test_prefix blocks to make test names
+       unique.
+
+2020-03-13  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
+
+2020-03-13  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/mi-sym-info.exp: Make matching more precise.
+
+2020-03-13  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25646
+       * gdb.dwarf2/imported-unit.exp: Add test.
+
+2020-03-13  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
+       (var1, var2): New variable.
+       * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
+       matching symbols.
+
+2020-03-13  Tom de Vries  <tdevries@suse.de>
+
+       * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
+       (Term::command): Use prompt prefix.
+       (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
+       * gdb.tui/tui-layout-asm-short-prog.exp: Use
+       command_no_prompt_prefix instead of prefix.
+       * gdb.tui/tui-layout-asm.exp: Same.
+
+2020-03-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/break-interp.exp: Use foreach_with_prefix.
+
+2020-03-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
+       * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
+       on" while stepping over the test instruction, match printed
+       message.
+
+2020-03-12  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-types.exp: Use exp_continue during matching of output
+       of "info types".
+
 2020-03-12  Tom de Vries  <tdevries@suse.de>
 
        * gdb.threads/execl.exp: Delete breakpoint after hitting it.
This page took 0.032542 seconds and 4 git commands to generate.