2020-02-22 Tom Tromey * gdb.tui/new-layout.exp: Add sub-layout tests. 2020-02-22 Tom Tromey * gdb.tui/new-layout.exp: New file. 2020-02-22 Tom Tromey * gdb.rust/rust-style.rs: New file. * gdb.rust/rust-style.exp: New file. * gdb.base/style.exp: Test structure printing. * gdb.base/style.c (struct some_struct): New type. (enum etype): New type. (struct_value): New global. 2020-02-21 Tom de Vries PR go/18926 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix. Remove blanket xfails. Use message argument for gdb_breakpoint. Make continuing to breakpoint test conditional on setting breakpoint. Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7 DW_AT_name attribute. Add xfail for GCC PR93866. 2020-02-21 Andrew Burgess * gdb.dwarf2/cpp-linkage-name.c: New file. * gdb.dwarf2/cpp-linkage-name.exp: New file. 2020-02-21 Shahab Vahedi * lib/gdb.exp (gdb_wrapper_init): Reset "gdb_wrapper_initialized" to 0 if "wrapper_file" does not exist. 2020-02-20 Tom de Vries PR go/17018 * gdb.go/hello.exp: Copy ... * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect print of st to print value of global definition. Add xfail for GCC PR93844. * gdb.go/hello.exp: Remove printing of st before definition. * gdb.go/hello.go: Copy ... * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst to st. * gdb.go/hello.go: Remove myst. Remove comment about shadowing. 2020-02-20 Tom de Vries * lib/gdb.exp (support_go_compile): New gdb_caching_proc. (gdb_simple_compile): Handle compile_flags go by using .go extension for source file. * gdb.go/chan.exp: Use support_go_compile. * gdb.go/handcall.exp: Same. * gdb.go/hello.exp: Same. * gdb.go/integers.exp: Same. * gdb.go/max-depth.exp: Same. * gdb.go/methods.exp: Same. * gdb.go/package.exp: Same. * gdb.go/strings.exp: Same. * gdb.go/types.exp: Same. * gdb.go/unsafe.exp: Same. 2020-02-19 Tom de Vries * gdb.python/lib-types.exp: Make xfail more strict. 2020-02-19 Tom de Vries * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check. 2020-02-19 Doug Evans PR rust/25535 * gdb.rust/simple.exp: Add test. * gdb.rust/simple.rs: Add test. 2020-02-19 Tom de Vries * gdb.base/corefile-buildid.exp (check_exec_file): Match info files output line-by-line. 2020-02-19 Tom de Vries * gdb.cp/cpexprs.exp: Remove c++/14186 kfail. 2020-02-19 Tom de Vries * gdb.base/solib-overlap.exp: Use exec instead of system to execute prelink. 2020-02-19 Tom de Vries * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc. (gdb_do_cache): Use gdb_do_cache_wrap. * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap. 2020-02-19 Tom de Vries * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as gdb_compile option. 2020-02-18 Simon Marchi * gdb.base/printcmds.exp (test_print_enums): Update expected output. 2020-02-18 Simon Marchi * gdb.base/printcmds.exp (test_print_enums): Expect hex values for "unknown". 2020-02-18 Simon Marchi * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY enumerator. 2020-02-18 Simon Marchi * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with FE_, add FE_NONE. (three): Update. (enum flag_enum_without_zero): New enum. (flag_enum_without_zero): New variable. (enum not_flag_enum): New enum. (three_not_flag): New variable. * gdb.base/printcmds.exp (test_artificial_arrays): Update. (test_print_enums): Add more tests for printing flag enums. 2020-02-18 Tom de Vries * lib/ada.exp (gdb_compile_ada_1): Factor out of ... (gdb_compile_ada): ... here. (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada failure. Use gdb_compile_ada_1 instead of gdb_compile_ada. 2020-02-14 Tom Tromey * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in build directory. * boards/gdbserver-base.exp: Update path to gdbserver. 2020-02-13 Tom de Vries * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation. 2020-02-13 Tom de Vries * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink are missing. 2020-02-13 Tom de Vries * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch call. 2020-02-11 Sergio Durigan Junior PR tui/25126 https://bugzilla.redhat.com/show_bug.cgi?id=1784210 * gdb.base/cached-source-file.c: New file. * gdb.base/cached-source-file.exp: New file. 2020-02-11 Tom de Vries PR testsuite/25488 * lib/gdb.exp (gdb_init): Unset $file_last_loaded. 2020-02-10 Tom de Vries * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests. 2020-02-10 Maciej W. Rozycki * gdb.base/step-over-no-symbols.exp: Verify that $before_addr and $after_addr are both integers before making a comparison. 2020-02-09 Tom de Vries * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb command output and paste it into gdb.log. If any, paste catch message to gdb.log. 2020-02-07 Tom Tromey PR breakpoints/24915: * gdb.base/annotate-symlink.exp: Use setup_xfail. 2020-02-06 Shahab Vahedi * gdb.tui/tui-missing-src.exp: Add the "missing source file" test for the TUI. 2020-02-06 Andrew Burgess * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid including a port number in the output. 2020-02-04 Alok Kumar Sharma * lib/fortran.exp (fortran_int4): Handle clang. (fortran_int8): Likewise. (fortran_real4): Likewise. (fortran_real8): Likewise. (fortran_complex4): Likewise. (fortran_logical4): Likewise. (fortran_character1): Likewise. 2020-02-04 Tom de Vries * README (Race detection): Add note. 2020-02-04 Tom de Vries * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*". 2020-02-04 Tom de Vries * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses. 2020-02-03 Rogerio A. Cardoso * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-, bctarl+ extended mnemonics when avaliable by bgttar, bnstarl, blttar, bnetarl. * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions binary for blttar, bnetarl. * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of wait instruction. Delete ldmx test. * gdb.arch/powerpc-power9.s: Delete ldmx instruction. 2020-02-03 Alok Kumar Sharma * gdb.fortran/array-bounds-high.exp: New file. * gdb.fortran/array-bounds-high.f90: New file. 2020-02-03 Lukas Durfina (tiny change) * gdb.base/fileio.c: Remove #include of . Replace #include of by . 2020-02-01 Tom de Vries * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo. 2020-01-31 Andrew Burgess PR tui/9765 * gdb.tui/tui-layout-asm-short-prog.S: New file. * gdb.tui/tui-layout-asm-short-prog.exp: New file. 2020-01-29 Luis Machado * gdb.arch/aarch64-brk-patterns.c: New source file. * gdb.arch/aarch64-brk-patterns.exp: New test. 2020-01-29 Tankut Baris Aktemur * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the GCC/Clang version. * gdb.cp/pass-by-ref.exp: Ditto. 2020-01-29 Tom de Vries * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG. * gdb.threads/watchpoint-fork-mt.c: Same. * gdb.threads/watchpoint-fork-parent.c: Same. * gdb.threads/watchpoint-fork-st.c: Same. * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0. 2020-01-27 Luis Machado * gdb.base/step-over-syscall.exp (setup): Check if we're already sitting at a syscall instruction when we hit the syscall function's breakpoint. Check PC against one obtained with the x command. Validate syscall number. (step_over_syscall): Don't continue to the syscall instruction if we're already there. 2020-01-25 Philippe Waroquiers * gdb.base/attach.exp: Test 'set exec-file-mismatch'. 2020-01-24 Andrew Burgess * gdb.dwarf2/dw2-inline-many-frames.c: New file. * gdb.dwarf2/dw2-inline-many-frames.exp: New file. 2020-01-24 Andrew Burgess * gdb.dwarf2/dw2-inline-stepping.c: New file. * gdb.dwarf2/dw2-inline-stepping.exp: New file. 2020-01-24 Andrew Burgess * gdb.base/maint.exp: Update line table parsing test. * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test. 2020-01-24 Pedro Alves PR gdb/25410 * gdb.multi/multi-re-run-1.c: New. * gdb.multi/multi-re-run-2.c: New. * gdb.multi/multi-re-run.exp: New. 2020-01-24 Andrew Burgess PR gdb/23718 * gdb.server/server-kill-python.exp: New file. 2020-01-24 Andrew Burgess * gdb.server/multi-ui-errors.c: New file. * gdb.server/multi-ui-errors.exp: New file. 2020-01-24 Andrew Burgess PR tui/9765 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window. 2020-01-19 Tom Tromey * gdb.tui/main.exp: Add check for plain "file". 2020-01-16 Christian Biesinger * lib/gdb.exp: Fix spelling error (seperatelly). 2020-01-14 Tom Tromey PR symtab/12535: * gdb.python/python.exp: Test decode_line with empty string argument. 2020-01-14 Bernd Edlinger * gdb.base/skip-inline.exp: Extend test. 2020-01-13 Andrew Burgess * gdb.dwarf2/dw2-bad-elf-other.S: New file. * gdb.dwarf2/dw2-bad-elf.c: New file. * gdb.dwarf2/dw2-bad-elf.exp: New file. 2020-01-13 Andrew Burgess * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and _line_saw_file. 2020-01-13 Andrew Burgess * lib/tuiterm.exp (Term::_check_box): Check some parts of the top border. 2020-01-10 Tankut Baris Aktemur * gdb.multi/multi-target.exp (setup): Factor out "info connections" and "info inferiors" tests to ... (test_info_inferiors): ... this new procedure. (top level): Run new "info-inferiors" tests. 2020-01-10 Pedro Alves * gdb.server/bkpt-other-inferior.exp: New file. 2020-01-10 Pedro Alves * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output of "add-inferior". * gdb.base/quit-live.exp: Likewise. * gdb.base/remote-exec-file.exp: Likewise. * gdb.guile/scm-progspace.exp: Likewise. * gdb.linespec/linespec.exp: Likewise. * gdb.mi/new-ui-mi-sync.exp: Likewise. * gdb.mi/user-selected-context-sync.exp: Likewise. * gdb.multi/multi-target.exp (setup): Add "info connection" and "info inferiors" tests. * gdb.multi/remove-inferiors.exp: Adjust expected output of "add-inferior". * gdb.multi/watchpoint-multi.exp: Likewise. * gdb.python/py-inferior.exp: Likewise. * gdb.server/extended-remote-restart.exp: Likewise. * gdb.threads/fork-plus-threads.exp: Adjust expected output of "info inferiors". * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise. * gdb.trace/report.exp: Likewise. 2020-01-10 Pedro Alves * gdb.multi/multi-target.c: New file. * gdb.multi/multi-target.exp: New file. * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop mode requested, but remote does not support non-stop". 2020-01-10 Pedro Alves * gdb.server/extended-remote-restart.exp (test_reload): Explicitly disconnect before reconnecting. 2020-01-10 Tankut Baris Aktemur Pedro Alves * gdb.server/connect-without-multi-process.exp: Also test continuing to end. 2020-01-10 Pedro Alves * gdb.base/remote-exec-file.exp: New file. 2020-01-10 Pedro Alves * gdb.base/fork-running-state.exp (do_test): Adjust expected output. * gdb.threads/async.c: New. * gdb.threads/async.exp: New. * gdb.multi/tids-gid-reset.c: New. * gdb.multi/tids-gid-reset.exp: New. 2020-01-10 George Barrett * gdb.base/stap-probe.c (relocation_marker): Add dummy variable to help in finding the image relocation offset. * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile options in arguments. (stap_test_no_debuginfo): Likewise. (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add test variants. (stap_test): Add null semaphore relocation test. 2020-01-10 George Barrett * 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 * gdb.tui/basic.exp: Add more scrolling tests. 2020-01-09 Tom Tromey 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 * gdb.tui/tui-layout-asm.exp: New file. 2020-01-09 Andrew Burgess * lib/tuiterm.exp (Term::check_box_contents): New proc. 2020-01-09 Andrew Burgess * lib/tuiterm.exp (Term::prepare_for_tui): New proc. (Term::enter_tui): Use Term::prepare_for_tui. 2020-01-09 Andrew Burgess * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when called. 2020-01-09 Andrew Burgess * gdb.base/skip.exp: Fix race condition in test. 2020-01-06 Andrew Burgess * gdb.base/backtrace.c: New file. * gdb.base/backtrace.exp: New file. 2020-01-05 Andrew Burgess * gdb.tui/list.exp: Test 'focus next' after 'list main'. 2020-01-03 Philippe Waroquiers * gdb.base/style.exp: Test that warnings are styled. 2019-12-29 Bernd Edlinger * gdb.base/line65535.exp: New file. * gdb.base/line65535.c: New file. 2019-12-27 Simon Marchi * 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 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add (another) quote in test name. 2019-12-20 Simon Marchi * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry): Add quote in test name. 2019-12-20 Tankut Baris Aktemur * 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 * gdb.tui/list-before.exp: New file. 2019-12-20 Tom Tromey * gdb.tui/list.exp: Check for source on initial listing. 2019-12-11 Tom Tromey * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter. Add crlf test. 2019-12-18 Simon Marchi * gdb.base/default.exp: Update value of $_gdb_major. 2019-12-17 Bernd Edlinger * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0. 2019-12-17 Bernd Edlinger * gdb.base/skip.exp: Whitespace fix. 2019-12-16 Bernd Edlinger * gdb.base/skip-inline.c: New file. * gdb.base/skip-inline.exp: New file. 2019-12-16 Simon Marchi * 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) : Remove fields. : New fields. * gdb.base/jitreader.c (struct reader_state) : Remove fields. : 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 * gdb.tui/resize.exp: Fix regexp. * gdb.tui/regs.exp: Fix regexps. * gdb.tui/main.exp: Fix regexp. 2019-12-11 Tom Tromey * gdb.tui/resize.exp: Update. * gdb.tui/empty.exp (layouts): Update. 2019-12-11 Tom Tromey * 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 * 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 * gdb.threads/omp-par-scope.c: New file. * gdb/threads/omp-par-scope.exp: New file. 2019-12-10 Kevin Buettner * lib/gdb.exp (support_nested_function_tests): New proc. 2019-12-10 Kevin Buettner * 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 * 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 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 * 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 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system modules. 2019-12-09 Andrew Burgess * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a broken version of GCC. 2019-12-09 Andrew Burgess * 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 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references. 2019-12-07 Keith Seitz * 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 * gdb.dwarf2/varval.exp: Add decl before def test. 2019-12-06 Tankut Baris Aktemur * gdb.cp/rvalue-ref-overload.exp: Minor cleanup. 2019-12-06 Tankut Baris Aktemur * 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 * gdb.threads/pthreads.exp: Test taas and tfaas without command. * gdb.base/frameapply.exp: Test faas without command. 2019-12-04 Andrew Burgess * 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 * 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 * gdb.base/endianity.c (struct other) : New field. (main): Initialize it. * gdb.base/endianity.exp: Update. 2019-12-04 Tom Tromey * 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 * gdb.base/endianity.c (struct otherendian) : New field. (main): Initialize it. * gdb.base/endianity.exp: Update. 2019-12-04 Andrew Burgess * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter. 2019-12-04 Andrew Burgess * gdb.mi/mi-fortran-modules.exp: Add additional tests for -symbol-info-module-functions and -symbol-info-module-variables. 2019-12-01 Andrew Burgess * gdb.fortran/array-slices.exp: Add test for dynamic strings. 2019-12-01 Richard Bunt Andrew Burgess * 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 * 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 * gdb.base/define-prefix.exp: New file. 2019-11-28 Andrew Burgess * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to compile. (skip_btrace_pt_tests): Likewise. 2019-11-27 Andrew Burgess * gdb.fortran/info-modules.exp: Compile source files in correct order. 2019-11-27 Kevin Buettner * gdb.dwarf2/imported-unit.exp: New file. * gdb.dwarf2/imported-unit.c: New file. 2019-11-27 Andrew Burgess * 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 * 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 * gdb.ada/tasks.exp: Add -ada-task-info regression test. * gdb.ada/tasks/foo.adb: Add another stopping location. 2019-11-21 Peeter Joot * gdb.base/endianity.c: New test. * gdb.base/endianity.exp: New file. 2019-11-21 Lukas Durfina * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64. 2019-11-21 Tom de Vries PR gdb/24956 * gdb.base/ui-redirect.exp: Test output of user-defined command. 2019-11-20 Sergio Durigan Junior * gdb.python/py-progspace.exp: Add missing parentheses on some 'print' commands. 2019-11-19 Tom Tromey * gdb.tui/winheight.exp: New file. 2019-11-19 Andrew Burgess * 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 * gdb.base/ctf-cvexpr.exp: Delete. * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf. 2019-11-19 Andrew Burgess * 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 https://bugzilla.redhat.com/show_bug.cgi?id=1765117 * gdb.tui/corefile-run.exp: New file. 2019-11-14 Tom Tromey * gdb.base/gdbvars.exp (test_convenience_variables): Add regression tests. 2019-11-12 Tom Tromey * 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 * gdb.python/py-symbol.exp: Add test for gdb.lookup_static_symbols. 2019-11-10 Andrew Burgess * 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 * 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 * 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 PR gdb/25124 * gdb.arch/pr25124.S: New file. * gdb.arch/pr25124.exp: New file. 2019-10-31 Andrew Burgess * 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 * 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 * 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 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to gdb_test. * gdb.arch/amd64-disp-step.exp: Same. * gdb.asm/asm-source.exp: Same. * gdb.btrace/buffer-size.exp: Same. * gdb.btrace/cpu.exp: Same. * gdb.btrace/enable.exp: Same. * gdb.dwarf2/count.exp: Same. * gdb.dwarf2/dw2-ranges-func.exp: Same. * gdb.dwarf2/dw2-ranges-psym.exp: Same. * gdb.fortran/vla-datatypes.exp: Same. * gdb.fortran/vla-history.exp: Same. * gdb.fortran/vla-ptype.exp: Same. * gdb.fortran/vla-value.exp: Same. * gdb.fortran/whatis_type.exp: Same. * gdb.guile/guile.exp: Same. * gdb.multi/tids.exp: Same. * gdb.python/py-finish-breakpoint.exp: Same. * gdb.python/py-framefilter.exp: Same. * gdb.python/py-pp-registration.exp: Same. * gdb.python/py-xmethods.exp: Same. * gdb.python/python.exp: Same. * gdb.server/connect-with-no-symbol-file.exp: Same. * gdb.server/no-thread-db.exp: Same. * gdb.server/run-without-local-binary.exp: Same. * gdb.stabs/weird.exp: Same. * gdb.threads/attach-many-short-lived-threads.exp: Same. * gdb.threads/thread-find.exp: Same. * gdb.threads/tls-shared.exp: Same. * gdb.threads/tls.exp: Same. * gdb.threads/wp-replication.exp: Same. * gdb.trace/ax.exp: Same. * lib/gdb.exp (gdb_test_exact, help_test_raw): Same. 2019-10-31 Tom de Vries * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test. * gdb.ada/array_subscript_addr.exp: Same. * gdb.ada/arrayidx.exp: Same. * gdb.ada/arrayparam.exp: Same. * gdb.ada/arrayptr.exp: Same. * gdb.ada/boolean_expr.exp: Same. * gdb.ada/call_pn.exp: Same. * gdb.ada/complete.exp: Same. * gdb.ada/fixed_cmp.exp: Same. * gdb.ada/fun_addr.exp: Same. * gdb.ada/funcall_param.exp: Same. * gdb.ada/interface.exp: Same. * gdb.ada/mod_from_name.exp: Same. * gdb.ada/null_array.exp: Same. * gdb.ada/packed_array.exp: Same. * gdb.ada/packed_tagged.exp: Same. * gdb.ada/print_chars.exp: Same. * gdb.ada/print_pc.exp: Same. * gdb.ada/ptype_arith_binop.exp: Same. * gdb.ada/ptype_field.exp: Same. * gdb.ada/ptype_tagged_param.exp: Same. * gdb.ada/rec_return.exp: Same. * gdb.ada/ref_tick_size.exp: Same. * gdb.ada/str_ref_cmp.exp: Same. * gdb.ada/taft_type.exp: Same. * gdb.ada/tagged.exp: Same. * gdb.ada/type_coercion.exp: Same. * gdb.ada/uninitialized_vars.exp: Same. 2019-10-30 Tom de Vries * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag. 2019-10-26 Tom de Vries * gdb.base/bigcore.c: Fix typos in comments. * gdb.base/ctf-ptype.c: Same. * gdb.base/long_long.c: Same. * gdb.dwarf2/dw2-op-out-param.S: Same. * gdb.python/py-evthreads.c: Same. * gdb.reverse/i387-stack-reverse.c: Same. * gdb.trace/tfile.c: Same. * lib/compiler.c: Same. * lib/compiler.cc: Same. 2019-10-25 Tom de Vries * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in gdb_test_multiple calls. * gdb.reverse/sigall-reverse.exp: Same. * gdb.reverse/solib-precsave.exp: Same. * gdb.reverse/solib-reverse.exp: Same. * gdb.reverse/until-precsave.exp: Same. * gdb.reverse/until-reverse.exp: Same. 2019-10-24 Tom de Vries * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag. * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing kfail using -wrap pattern flag and convenience variable gdb_test_name. 2019-10-24 Andrew Burgess * gdb.python/py-progspace.exp: Add tests for the Progspace.block_for_pc method. 2019-10-23 Tom Tromey * configure: Rebuild. * aclocal.m4: Use m4_include, not sinclude. 2019-10-21 Tom de Vries * gdb.base/infcall-nested-structs.c: Add __attribute__((noinline,noclone)) to all functions. (call_all): Add missing variable initialization. Simplify return value. (breakpt): Increment volatile variable, to prevent call from being optimized out. * gdb.base/infcall-nested-structs.exp: Compile with -O2. 2019-10-17 Tom de Vries * gdb.fortran/module.exp: Allow info variables to print info for files other than module.f90. 2019-10-16 Andrew Burgess * gdb.fortran/module.exp: Extend with 'info variables' test. 2019-10-16 Andrew Burgess * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and F77_FOR_TARGET. 2019-10-16 Tom de Vries PR tdep/25096 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs. 2019-10-16 Tom de Vries PR tdep/24104 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104. Add KFAIL for PR tdep/25096. 2019-10-16 Tom de Vries PR testsuite/25059 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541. 2019-10-16 Tom de Vries * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed as signed. 2019-10-14 Simon Marchi * gdb.mi/list-thread-groups-available.exp: Read entries one by one instead of increasing timeout. 2019-10-13 Tom de Vries PR record/25038 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL. * gdb.reverse/sigall-reverse.exp: Same. * gdb.reverse/solib-precsave.exp: Same. * gdb.reverse/solib-reverse.exp: Same. * gdb.reverse/step-precsave.exp: Same. * gdb.reverse/until-precsave.exp: Same. * gdb.reverse/until-reverse.exp: Same. * lib/gdb.exp (gdb_continue_to_breakpoint): Same. 2019-10-10 Andreas Arnez * gdb.base/infcall-nested-structs.c (cmp_struct_02_01) (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02) (cmp_struct_05_01, cmp_struct_static_02_01) (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant comparisons. 2019-10-10 Tom de Vries PR testsuite/24888 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to gnatlink. 2019-10-09 Tom de Vries PR testsuite/25048 * gdb.rust/simple.exp: Add xfails for incorrect DWARF. 2019-10-07 Andrew Burgess * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada exceptions due to missing debug information. 2019-10-07 Tom de Vries * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1. 2019-10-07 Andrew Burgess * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism. * gdb.base/annota1.exp: Update to use gdb_test_name. 2019-10-07 Weimin Pan * gdb.base/ctf-whatis.exp: New file. * gdb.base/ctf-whatis.c: New file. * gdb.base/ctf-ptype.exp: New file. * gdb.base/ctf-ptype.c: New file. * gdb.base/ctf-constvars.exp: New file. * gdb.base/ctf-constvars.c: New file. * gdb.base/ctf-cvexpr.exp: New file. 2019-10-04 Tom de Vries * gdb.cp/local-static.c (main): Move declaration of int i out of the for loop. 2019-10-03 Tom Tromey PR rust/24976: * gdb.rust/simple.rs (Union2): New type. (main): Use Union2. * gdb.rust/simple.exp: Add test. 2019-10-03 Andrew Burgess * gdb.fortran/nested-funcs-2.exp: Run tests with and without the nested function prefix. 2019-10-03 Bernhard Heckel Richard Bunt Andrew Burgess * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on nested functions. * gdb.fortran/nested-funcs.f90: Update expected results. * gdb.fortran/nested-funcs-2.exp: New file. * gdb.fortran/nested-funcs-2.f90: New file. 2019-10-03 Andrew Burgess * gdb.python/py-parameter.exp: Make test names unique. * gdb.python/py-template.exp: Likewise. * gdb.python/py-value.exp: Likewise. 2019-10-03 Andrew Burgess * gdb.base/break-interp.exp: Reduce test name duplication. * gdb.base/call-sc.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/charset.exp: Likewise. * gdb.base/dump.exp: Likewise. * gdb.base/ena-dis-br.exp: Likewise. * gdb.base/relational.exp: Likewise. * gdb.base/step-over-syscall.exp: Likewise. * gdb.base/structs.exp: Likewise. 2019-10-03 Andrew Burgess * gdb.linespec/explicit.exp: Make test names unique. * gdb.linespec/ls-errs.exp: Likewise. 2019-10-03 Andrew Burgess * gdb.reverse/break-precsave.exp: Make test names unique. * gdb.reverse/break-reverse.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/finish-reverse.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/machinestate.exp: Likewise. * gdb.reverse/readv-reverse.exp: Likewise. * gdb.reverse/recvmsg-reverse.exp: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.reverse/step-indirect-call-thunk.exp: Likewise. * gdb.reverse/watch-precsave.exp: Likewise. * gdb.reverse/watch-reverse.exp: Likewise. 2019-10-03 Andrew Burgess * gdb.threads/stop-with-handle.c: New file. * gdb.threads/stop-with-handle.exp: New file. 2019-10-03 Tom de Vries PR testsuite/25059 * gdb.base/list-missing-source.exp: Allowing the "Compilation directory" line to be missing. 2019-10-03 Tom de Vries PR testsuite/25059 * gdb.base/info-types.exp: Make the presence of the 'unsigned int' type optional. 2019-10-02 Andreas Arnez * gdb.python/py-format-string.c (string.h): New include. (main): Fill a_struct_with_union.the_union.an_int with bytes of the same value, for endianness-independence. * gdb.python/py-format-string.exp (default_regexp_dict) (test_pretty_structs, test_format): Adjust expected output to the changed initialization. 2019-10-02 Tom Tromey * gdb.ada/catch_ex_std.exp: Add $_ada_exception test. 2019-10-02 Pedro Alves Andrew Burgess * gdb.base/print-file-var-lib1.c: Include and "print-file-var.h". (this_version_id) Use ATTRIBUTE_VISIBILITY. (get_version_1): Print this_version_id and its address. Add extern "C" wrappers around interface functions. * gdb.base/print-file-var-lib2.c: Include and "print-file-var.h". (this_version_id) Use ATTRIBUTE_VISIBILITY. (get_version_2): Print this_version_id and its address. Add extern "C" wrappers around interface functions. * gdb.base/print-file-var-main.c: Include , , and "print-file-var.h". Add extern "C" wrappers around interface functions. [VERSION_ID_MAIN] (this_version_id): Define. (main): Define v0. Use dlopen if SHLIB_NAME is defined. * gdb.base/print-file-var.h: Add some #defines to simplify setting up extern "C" blocks. * gdb.base/print-file-var.exp (test): New, factored out from top level. (top level): Test all combinations of attribute hidden or not, dlopen or not, and this_version_id symbol in main file or not. Compile tests as both C++ and C, make test names unique. 2019-10-01 Tom Tromey * gdb.base/style.exp: Test "show logging filename". 2019-10-01 Tom Tromey * lib/gdb-utils.exp (style): Handle "metadata" argument. * gdb.base/style.exp: Add metadata style test. 2019-10-01 Tom Tromey * gdb.base/style.exp: Test "pwd". 2019-10-01 Tom Tromey * gdb.base/style.exp: Update tests. 2019-10-01 Andreas Arnez * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and 'six' to unsigned. (s1): Initialize fields 'four' and 'six' instead of 'three' and 'five'. Use an all-ones bit pattern for each. * gdb.base/pretty-print.exp: Adjust expected output of "print s1" to its changed values. 2019-09-30 Tom Tromey * gdb.rust/traits.rs: Disable all warnings. 2019-09-29 Tom de Vries * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file. 2019-09-29 Tom de Vries * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy. 2019-09-27 Tom de Vries * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps. 2019-09-27 Tom de Vries PR record/23188 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188. 2019-09-26 Tom Tromey * gdb.ada/py_taft.exp: New file. * gdb.ada/py_taft/main.adb: New file. * gdb.ada/py_taft/pkg.adb: New file. * gdb.ada/py_taft/pkg.ads: New file. 2019-09-24 Tom de Vries PR gdb/24598 * gdb.arch/amd64-init-x87-values.exp: Add xfail. 2019-09-22 Tom de Vries * gdb.base/restore.exp: Allow register variables to be optimized out at -O0. 2019-09-20 Ulrich Weigand * gdb.arch/spu-info.exp: Remove file. * gdb.arch/spu-info.c: Remove file. * gdb.arch/spu-ls.exp: Remove file. * gdb.arch/spu-ls.c: Remove file. * gdb.asm/asm-source.exp: Remove support for spu*-*-*. * gdb.asm/spu.inc: Remove file. * gdb.base/dump.exp: Remove support for spu*-*-*. * gdb.base/stack-checking.exp: Likewise. * gdb.base/overlays.exp: Likewise. * gdb.base/ovlymgr.c: Likewise. * gdb.base/spu.ld: Remove file. * gdb.cp/bs15503.exp: Remove support for spu*-*-*. * gdb.cp/cpexprs.exp: Likewise. * gdb.cp/exception.exp: Likewise. * gdb.cp/gdb2495.exp: Likewise. * gdb.cp/mb-templates.exp: Likewise. * gdb.cp/pr9167.exp: Likewise. * gdb.cp/userdef.exp: Likewise. * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*. * gdb.cell: Remove directory. * lib/cell.exp: Remove file. 2019-09-19 Tom de Vries * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern. 2019-09-19 Tom de Vries * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing. 2019-09-19 Tom de Vries * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning UNSUPPORTED) for 'Network is unreachable' message. Factor out of ... (gdb_target_cmd): ... here. * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return value 2. 2019-09-18 Andrew Burgess * gdb.base/source-dir.exp: Avoid having directory names in test names. 2019-09-17 Andrew Burgess * gdb.base/source-dir.exp: Add extra test for mapped compilation directory. 2019-09-17 Andrew Burgess * gdb.base/list-missing-source.exp: New file. 2019-09-14 Tom de Vries PR teststuite/24599 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8. * lib/ada.exp (gnatmake_version_at_least): New proc. 2019-09-12 Andrew Burgess * gdb.base/maint.exp: Use exec_has_index_section. 2019-09-12 Andrew Burgess * gdb.base/maint.exp: Add test for 'maint info sections'. 2019-09-12 Tom de Vries * gdb.base/store.exp: Allow register variables to be optimized out at -O0. 2019-09-12 Philippe Waroquiers * gdb.ada/rdv_wait.exp: Update to new task names. * gdb.base/task_switch_in_core.exp: Likewise. * gdb.base/info_sources_base.c: Likewise. 2019-09-10 Tom Tromey * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET. 2019-09-10 Tom Tromey * gdb.ada/dgopt.exp: New file. * gdb.ada/dgopt/x.adb: New file. 2019-09-08 Tom Tromey * gdb.tui/resize.exp: Remove setup_xfail. * gdb.tui/regs.exp: Remove setup_xfail. * gdb.tui/basic.exp: Remove setup_xfail. 2019-09-06 David Blaikie * gdb.base/label.exp: un-XFAIL label related tests under Clang. * gdb.cp/cplabel.exp: Ditto. * gdb.linespec/ls-errs.exp: Ditto. 2019-09-05 Tom de Vries * lib/gdb.exp (cmp_file_string): New proc. * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with runto_main. Verify save breakpoints output. 2019-09-04 Philippe Waroquiers * gdb.base/info-var.exp: Test info variables without running to main, to avoid expect's buffer overflow. 2019-09-03 Tom Tromey * gdb.ada/bias.exp: New file. * gdb.ada/bias/bias.adb: New file. * gdb.ada/print_chars.exp: Add regression test. * gdb.ada/print_chars/foo.adb (My_Character): New type. (MC): New variable. 2019-08-29 Sandra Loosemore * gdb.base/argv0-symlink.exp: Run only on native target and local host. 2019-08-29 Tom de Vries * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more diverse debug info. * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4. 2019-08-28 Tom de Vries * gdb.base/info-var.exp: Allow info variables to print info for files other than info-var-f1.c and info-var-f2.c. 2019-08-28 Andrew Burgess * gdb.fortran/info-types.exp: Add module. * gdb.fortran/info-types.f90: Update expected results. 2019-08-28 Andrew Burgess * gdb.fortran/info-types.exp: New file. * gdb.fortran/info-types.f90: New file. * lib/fortran.exp (fortran_character1): New proc. 2019-08-27 Andrew Burgess * gdb.base/info-fun.exp: Extend to test the -n flag for 'info functions'. Reindent as needed. * gdb.base/info-var-f1.c: New file. * gdb.base/info-var-f2.c: New file. * gdb.base/info-var.exp: New file. * gdb.base/info-var.h: New file. 2019-08-26 Tom de Vries PR c++/24852 * gdb.cp/no-libstdcxx-probe.exp: New test. 2019-08-26 Tom de Vries * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe * tests need to be skipped. * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests. * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to mi_skip_libstdcxx_probe_tests. 2019-08-26 Sergio Durigan Junior * gdb.python/py-xmethods.exp: Use raw strings when passing arguments to SimpleXMethodMatcher. 2019-08-22 Tom de Vries * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages more informative. 2019-08-21 Pedro Alves * gdb.base/with.exp: Test "with" with no arguments. 2019-08-21 Tom de Vries * gdb.base/gdb-caching-proc.exp: Sort files. 2019-08-20 Tom de Vries * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before compilation. 2019-08-16 Tom de Vries * gdb.base/compare-sections.exp ("after run to main"): Allow mismatched read-only sections for PIE executables. 2019-08-16 Tom Tromey * lib/tuiterm.exp (_csi_Z): New proc. * gdb.tui/basic.exp: Update window positions. * gdb.tui/empty.exp: Update window positions. 2019-08-15 Sandra Loosemore * gdb.base/examine-backward.exp: Correct regexp for "examine 3 bytes backward from ${address_zero}". 2019-08-15 Tom Tromey * gdb.tui/empty.exp: Enable resizing tests. 2019-08-15 Tom Tromey * gdb.ada/char_enum.exp: Add regression tests. * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_' and '0'. (Char, Gchar): Update. * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'. 2019-08-15 Christian Biesinger * gdb.python/python.exp: Expect a leading underscore on GdbOutput{,Error}File. 2019-08-15 Sandra Loosemore * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or Windows host. 2019-08-15 Sandra Loosemore * gdb.base/batch-preserve-term-settings.exp (test_terminal_settings_preserved_after_sigterm): Skip on Windows. 2019-08-15 Christian Biesinger * lib/gdb.exp: When running on a mingw target, replace /x/ with x:/. 2019-08-14 Alan Hayward * gdb.arch/aarch64-prologue.c: New test. * gdb.arch/aarch64-prologue.exp: New file. 2019-08-13 Tom de Vries * gdb.gdb/selftest.exp (send ^C to child process again): Accept also Thread. 2019-08-13 Sandra Loosemore * gdb.python/py-completion.exp: Download the .py file to the host and use its host pathname. Conditionalize tests that use tab completion and manipulate files on the build machine. * gdb.python/py-events.exp: Download the .py file to the host and use its host pathname. * gdb.python/py-evsignal.exp: Likewise. * gdb.python/py-evthreads.exp: Likewise. * gdb.python/py-framefilter-invalidarg.exp: Match Windows pathname syntax. * gdb.python/py-framefilter.exp: Download the .py file to the right place on the host. Match Windows pathname syntax. * gdb.python/py-mi-var-info-path-expression.exp: Download the .py file to the host and use its host pathname. * gdb.python/py-objfile-script.exp: Match Windows pathname syntax. * gdb.python/py-objfile.exp: Expect a host pathname, not a build pathname. Skip symlink test on Windows host. Add missing newline at end of file. * gdb.python/py-pp-maint.exp: Download the .py file to the host and use its host pathname. * gdb.python/py-pp-registration.exp: Match Windows pathname syntax. * gdb.python/py-section-script.exp: Use host location of binfile on safe-path. Use correct path separator on Windows host. Reorder alternatives in gdb_test_multiple to prevent matching the wrong alternative on success. * gdb.python/py-symtab.exp: Match Windows pathname syntax. 2019-08-12 Patrick Palka * gdb.gdb/selftest.exp (test_with_self): Update test to now expect the GDB inferior to no longer immediately stop after being resumed with "signal SIGINT". 2019-08-09 Sandra Loosemore * gdb.linespec/break-ask.exp: Generalize regexps to match Windows pathnames too. 2019-08-08 Tom de Vries PR testsuite/24862 * lib/tuiterm.exp (_accept): Fix CSI regexp. 2019-08-07 Philippe Waroquiers * gdb.base/style.exp: Update tests for help doc new invariants. * gdb.base/help.exp: Likewise. 2019-08-06 Tom Tromey * gdb.base/style.exp: Add disassemble test. * gdb.base/style.c (some_called_function): New function. (main): Use it. 2019-08-05 Christian Biesinger * gdb.python/py-block.exp: Test dictionary access on blocks. 2019-08-05 Simon Marchi PR gdb/24863 * gdb.mi/list-thread-groups-available.exp: Increase timeout for -list-thread-groups --available test when running under check-read1. 2019-08-05 Tom de Vries PR testsuite/24863 * lib/gdb.exp (with_read1_timeout_factor): New proc. * gdb.base/help.exp: Use with_read1_timeout_factor. * gdb.base/info-macros.exp: Same. * gdb.cp/nested-types.exp: Same. 2019-08-05 Tom de Vries * lib/gdb.exp (version_at_least): Factor out of ... (tcl_version_at_least): ... here. (gdb_compile): Fail if pie results in non-PIE executable. (readelf_version, readelf_prints_pie): New proc. (exec_is_pie): Return -1 if unknown. 2019-08-05 Tom de Vries * lib/gdb.exp (tcl_version_at_least): Fix typo. 2019-08-04 Sandra Loosemore * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts. 2019-08-04 Sandra Loosemore * lib/completion-support.exp (test_gdb_complete_none): Skip tab completion tests if no readline support. (test_gdb_complete_unique_re): Likewise. (test_gdb_complete_multiple): Likewise. 2019-08-03 Philippe Waroquiers * gdb.base/info_sources.exp: New file. * gdb.base/info_sources.c: New file. * gdb.base/info_sources_base.c: New file. 2019-08-01 Pedro Franco de Carvalho * gdb.base/batch-exit-status.exp: Call test_exit_status with prefix argument. (test_exit_status): Add prefix argument. 2019-08-01 Tom de Vries PR testsuite/24863 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by calling exp_continue for new thread and thread exited messages. 2019-08-01 Tom de Vries PR testsuite/24863 * gdb.base/structs.exp: Fix check-read1 timeout using gdb_test_sequence. * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc. 2019-08-01 Tom de Vries PR testsuite/24863 * gdb.base/break-interp.exp: Use exp_continue after each "info files" line. 2019-08-01 Tom de Vries PR testsuite/24863 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence. 2019-07-30 Tom Tromey * gdb.ada/display_nested.exp: New file. * gdb.ada/display_nested/foo.adb: New file. * gdb.ada/display_nested/pack.adb: New file. * gdb.ada/display_nested/pack.ads: New file. 2019-07-30 Christian Biesinger * gdb.python/py-symbol.c: Add a static variable and one in an anonymous namespace. * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol. 2019-07-30 Tom de Vries * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1) instead. 2019-07-30 Tom de Vries PR testsuite/24834 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable. (exec_is_pie): New proc. 2019-07-29 Christian Biesinger * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent) 2019-07-29 Christian Biesinger * gdb.python/py-objfile.c: Add global and static vars. * gdb.python/py-objfile.exp: Test new functions Objfile. lookup_global_symbol and lookup_static_symbol. 2019-07-29 Tom Tromey * lib/tuiterm.exp (Term::_csi_@): New proc. (Term::_csi_X): Don't move cursor. 2019-07-29 Philippe Waroquiers * gdb.base/options.exp: Update backtrace - completion to new option -frame-info. * gdb.base/frame-args.exp: Test new 'frame-arguments presence'. Test new 'set print frame-info'. Test backtrace -frame-info overriding 'set print frame-info'. * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'. Test new 'set print frame-info'. Verify consistency of backtrace with and without filters, with and without -no-filters. * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what default. 2019-07-29 Tom de Vries * gdb.linespec/explicit.exp: Fix completion trigger for "complete with no arguments". 2019-07-29 Tom de Vries * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second is a substring of the first for "complete non-unique file name". 2019-07-29 Tom de Vries * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp with ".*". 2019-07-29 Tom de Vries * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1): Pass prompt_regexp parameter to gdb_test_multiple calls. 2019-07-29 Tom de Vries * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint print registers" regexps. 2019-07-29 Tom de Vries * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp. 2019-07-29 Tom de Vries PR gdb/24855 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter. (skip_python_tests_prompt): Add prompt_regexp argument to gdb_test_multiple calls. 2019-07-27 Tom Tromey * gdb.tui/main.exp: New file. 2019-07-27 Tom Tromey * lib/tuiterm.exp (Term::clean_restart): Make "executable" optional. * gdb.tui/empty.exp: New file. 2019-07-27 Tom Tromey * lib/tuiterm.exp (spawn): New proc. (Term::resize): New proc. * gdb.tui/resize.exp: New file. 2019-07-27 Tom Tromey * gdb.tui/list.exp: New file. 2019-07-27 Tom Tromey * gdb.tui/regs.exp: New file. 2019-07-27 Tom Tromey * gdb.tui/basic.exp: Add "layout split" test. 2019-07-27 Tom Tromey * gdb.tui/basic.exp: Add "layout asm" test. 2019-07-27 Tom Tromey * lib/tuiterm.exp: New file. * gdb.tui/basic.exp: New file. 2019-07-27 Kevin Buettner * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping): Enable tests associated with this flag. Adjust regex referencing "foo_low" to now refer to "foo_cold" instead. 2019-07-27 Kevin Buettner * gdb.dwarf2/dw2-ranges-func.c: Rename to... * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this. * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to foo_cold. Revise comments to match. * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file. * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests were wrapped into this proc; Call do_test in loop from outermost level. (foo_low): Rename all occurrences to "foo_cold". (backtrace from baz): New test. (x2/i foo_cold): New test. (info line *foo_cold): New test. 2019-07-26 Tom de Vries * gdb.arch/i386-pkru.exp: Fix unterminated string. 2019-07-25 Tom de Vries PR testsuite/24830 * gdb.mi/mi-catch-cpp-exceptions.exp: Call mi_skip_libstdcxx_probe_tests, and skip unsupported tests. * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ... (skip_libstdcxx_probe_tests): ... here. * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc. 2019-07-24 Tom de Vries PR testsuite/24807 * gdb.objc/basicclass.m: Include stdio.h. * gdb.objc/nondebug.m: Same. * gdb.objc/objcdecode.m: Same. 2019-07-24 Tom de Vries PR testsuite/24612 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to additional_flags. 2019-07-24 Tom de Vries PR testsuite/24831 * gdb.multi/tids.exp: Update error messages for info threads. 2019-07-24 Tom de Vries * gdb.base/info-types.exp: Allow info types to print info for more than one file. 2019-07-23 Tom de Vries PR testsuite/24842 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after gdb_spawn_with_cmdline_opts. 2019-07-23 Srinath Parvathaneni * gdb.arch/arm-cmse-sgstubs.c: New test. * gdb.arch/arm-cmse-sgstubs.exp: New file. 2019-07-23 Tom de Vries PR testsuite/24711 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before issuing next command. 2019-07-22 Andrew Burgess * gdb.ada/info_auto_lang.exp: Update expected results. * gdb.base/info-types.c: Add additional types to check. * gdb.base/info-types.exp: Update expected results. 2019-07-22 Andrew Burgess * gdb.base/info-types.c: New file. * gdb.base/info-types.exp: New file. 2019-07-19 Andrew Burgess * gdb.arch/riscv-bp-infcall.c: New file. * gdb.arch/riscv-bp-infcall.exp: New file. 2019-07-17 Andrew Burgess PR breakpoints/24541 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541. 2019-07-14 Tom de Vries PR testsuite/24760 * gdb.objc/basicclass.exp: Fix unterminated string. 2019-07-12 Bernhard Heckel Andrew Burgess * gdb.fortran/vla-ptype.exp: Print array with negative bounds. * gdb.fortran/vla-sizeof.exp: Print the size of an array with negative bounds. * gdb.fortran/vla-value.exp: Print elements of an array with negative bounds. * gdb.fortran/vla.f90: Setup an array with negative bounds for testing. 2019-07-11 Andrew Burgess * gdb.base/options.exp (expect_string): Dequote strings in results. (test-string): Test strings with different quoting and reindent. 2019-07-10 Tom Tromey * gdb.ada/mi_ex_cond.exp: Update expected results. * gdb.ada/mi_catch_ex_hand.exp: Update expected results. * gdb.ada/mi_catch_ex.exp: Update expected results. * gdb.ada/mi_catch_assert.exp: Update expected results. * gdb.ada/catch_ex.exp (catch_exception_info) (catch_exception_entry, catch_assert_entry) (catch_unhandled_entry): Update. * gdb.ada/catch_assert_if.exp: Update expected results. 2019-07-10 Richard Bunt Stephen Roberts * gdb.base/define.exp: Restore original prompt. 2019-07-09 Pedro Alves * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info breakpoints" output. * gdb.cp/exception.exp: Adjust expected "info breakpoints" output. * gdb.python/py-breakpoint.exp: No longer expect that "catch throw" creates breakpoint. * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect 'type="catchpoint"'. 2019-07-09 Pedro Alves PR c++/15468 * gdb.cp/except-multi-location-lib.cc: New. * gdb.cp/except-multi-location-main.cc: New. * gdb.cp/except-multi-location.exp: New. 2019-07-09 Sergio Durigan Junior * gdb.base/printcmds.exp (test_printf_convenience_var): Set language to "c++" before dealing with wchar_t. Remove DO_WSTRING argument and update callers. 2019-07-09 Andrew Burgess * gdb.arch/amd64-break-on-asm-line.S: New file. * gdb.arch/amd64-break-on-asm-line.exp: New file. 2019-07-08 Philippe Waroquiers * gdb.base/printcmds.exp: Test printing C string and C wide string convenience vars without transiting via the inferior. Also make test names unique. 2019-07-08 Alan Hayward PR breakpoints/25011 * gdb.base/break-idempotent.exp: Test both PIE and non PIE. 2019-07-04 Pedro Alves * lib/gdb.exp (foreach_with_prefix): Don't return early if body returned ok(0), break(3) or continue(4). * gdb.testsuite/foreach_with_prefix.exp: New file. 2019-07-04 Alan Hayward * gdb.server/unittest.exp: Allow 0 unit tests to run. 2019-07-03 Pedro Alves * lib/gdb.exp (foreach_with_prefix): Use "catch" and "return -code". 2019-07-03 Pedro Alves PR cli/24732 * gdb.base/shell.exp: Load completion-support.exp. Adjust expected error output. Add completion tests. 2019-07-03 Pedro Alves * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use string_to_regexp. 2019-07-03 Pedro Alves * gdb.base/options.exp (expect_none, expect_flag, expect_bool) (expect_integer): Adjust to expect "-string". (expect_string): New. (all_options): Expect "-string". (test-flag, test-boolean): Adjust to expect "-string". (test-string): New proc. (top level): Call it. 2019-07-03 Pedro Alves * gdb.base/options.exp (test-misc, test-flag, test-boolean) (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass the expected output in the success. 2019-07-03 Pedro Alves * lib/completion-support.exp (test_gdb_complete_tab_multiple): Split one gdb_test_multiple call in two to avoid a race. 2019-07-03 Pedro Alves * gdb.base/with.c: New file. * gdb.base/with.exp: New file. 2019-07-03 Pedro Alves * gdb.base/settings.exp: Replace all references to "maint test-settings set" with references to "maint set test-settings", and all references to "maint test-settings show" with references to "maint show test-settings". 2019-07-03 Pedro Alves * gdb.base/settings.exp (test-string): Adjust expected out when testing "maint test-settings show filename" 2019-07-02 Pedro Alves * gdb.base/options.exp (test-info-threads): New procedure. (top level): Call it. 2019-06-28 Tom Tromey * gdb.dwarf2/ada-linkage-name.c: New file. * gdb.dwarf2/ada-linkage-name.exp: New file. 2019-06-27 Tom Tromey PR c++/20020: * gdb.cp/constexpr-field.exp: Use setup_xfail. 2019-06-26 Tom de Vries * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF. 2019-06-26 Tom de Vries * gdb.base/index-cache.exp: Add back missing debug option. 2019-06-23 Philippe Waroquiers * gdb.base/alias.exp: Test non matching/non existing prefixes. 2019-06-25 Tom de Vries PR testsuite/24727 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1. 2019-06-24 Tom de Vries * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference. 2019-06-24 Tom de Vries * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file. * gdb.trace/unavailable-dwarf-piece.exp: Same. 2019-06-24 Tom de Vries * gdb.dwarf2/inlined_subroutine-inheritance.exp: 2019-06-21 Tom de Vries * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id. 2019-06-21 Tom de Vries PR testsuite/24518 PR ada/24713 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains index. 2019-06-19 Tom Tromey * gdb.ada/length_cond.exp: Add intro comment. 2019-06-19 Tom Tromey * gdb.ada/length_cond.exp: New file. * gdb.ada/length_cond/length_cond.adb: New file. * gdb.ada/length_cond/pck.adb: New file. * gdb.ada/length_cond/pck.ads: New file. 2019-06-18 Tom de Vries * boards/fission.exp (debug_flags): Add "-fuse-ld=gold". 2019-06-18 Tom Tromey * gdb.base/list0.h: Add comment explaining control character. 2019-06-18 Tom de Vries * boards/fission.exp: Break up long debug_flags line. 2019-06-16 Tom de Vries PR gdb/24445 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with generated index. 2019-06-16 Andrew Burgess PR gdb/24686 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to improve detection of bug gdb/24541. 2019-06-16 Simon Marchi PR gdb/24669 * gdb.base/index-cache.exp (uses_readnow, expecting_index_cache_use): Define global variable. (test_cache_enabled_miss, test_cache_enabled_hit): Use expecting_index_cache_use. 2019-06-16 Bernhard Heckel Andrew Burgess * gdb.fortran/pointers.f90: New file. * gdb.fortran/print_type.exp: New file. * gdb.fortran/vla-ptype.exp: Adapt expected results. * gdb.fortran/vla-type.exp: Likewise. * gdb.fortran/vla-value.exp: Likewise. * gdb.mi/mi-vla-fortran.exp: Likewise. 2019-06-15 Andrew Burgess * gdb.mi/mi-catch-cpp-exceptions.cc: New file. * gdb.mi/mi-catch-cpp-exceptions.exp: New file. * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught' as a stop reason. 2019-06-15 Andrew Burgess * gdb.base/annota1.exp: Update expected results. * gdb.cp/annota2.exp: Likewise. * gdb.cp/annota3.exp: Likewise. 2019-06-15 Andrew Burgess * gdb.base/style-logging.exp: Remove path from test name. 2019-06-14 Tom Tromey PR gdb/24502: * gdb.base/style-logging.exp: New file. 2019-06-14 Tom Tromey * gdb.base/symfile-warn.exp: New file. * gdb.base/symfile-warn.c: New file. 2019-06-14 Tom Tromey * gdb.base/annotate-symlink.exp: New file. 2019-06-14 Tom Tromey * gdb.ada/set_wstr.exp: Add reassignment test. 2019-06-14 Tom Tromey * gdb.ada/formatted_ref.exp (test_p_x_addr): Check 'unchecked_access and 'unrestricted_access as well. 2019-06-14 Tom Tromey PR ada/24539: * gdb.ada/vla.exp: Update tests. * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering pragma. 2019-06-13 Pedro Alves * gdb.base/settings.exp (test-integer): Test junk after "unlimited". 2019-06-13 Pedro Alves * gdb.base/options.exp (test-thread-apply): New. (top level): Call it. 2019-06-13 Pedro Alves * gdb.base/options.exp (test-frame-apply): New. (top level): Test print commands with different "frame apply" prefixes. 2019-06-13 Pedro Alves * lib/completion-support.exp (test_gdb_complete_tab_multiple) (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add 'max_completions' parameter and handle it. (test_gdb_completion_offers_commands): New. 2019-06-13 Pedro Alves * gdb.base/options.exp (test-backtrace): Test completing qualifiers. 2019-06-13 Pedro Alves * gdb.base/options.exp (test-backtrace): New. (top level): Call it. 2019-06-13 Pedro Alves * gdb.guile/scm-frame-args.exp: Use "set print raw-frame-arguments" instead of "set print raw frame-arguments". * gdb.python/py-frame-args.exp: Likewise. 2019-06-13 Pedro Alves * gdb.compile/compile.exp: Adjust expected output to option processing changes. 2019-06-13 Pedro Alves * gdb.base/options.exp: Build executable. (test-print): New procedure. (top level): Call it, once for "print" and another for "compile print". 2019-06-13 Pedro Alves * gdb.base/options.c: New file. * gdb.base/options.exp: New file. 2019-06-13 Pedro Alves * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check that "o" is ambiguous. 2019-06-13 Pedro Alves * gdb.base/settings.c: New file. * gdb.base/settings.exp: New file. 2019-06-13 Pedro Alves * gdb.base/completion.exp: Fix comment typo. 2019-06-13 Pedro Alves * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1 foo --1" test. 2019-06-11 Bernhard Heckel * gdb.fortran/block-data.f: New. * gdb.fortran/block-data.exp: New. 2019-06-11 Tom de Vries PR testsuite/24521 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols" message. 2019-06-11 Tom de Vries PR testsuite/24521 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc. 2019-06-11 Tom de Vries * boards/readnow.exp: New file. 2019-06-10 Andrew Burgess * gdb.fortran/vla-sizeof.exp: Update expected results. 2019-06-06 Amos Bird * gdb.base/annota1.exp (thread_switch): Add test for thread-exited annotation. 2019-06-06 Tom Tromey * gdb.base/maint.exp: Expect command started/finished output. 2019-06-05 Andrew Burgess * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in comment. * gdb.arch/riscv-unwind-long-insn-8.s: Likewise. 2019-06-05 Andrew Burgess * gdb.arch/riscv-unwind-long-insn-6.s: New file. * gdb.arch/riscv-unwind-long-insn-8.s: New file. * gdb.arch/riscv-unwind-long-insn.c: New file. * gdb.arch/riscv-unwind-long-insn.exp: New file. 2019-06-04 Christian Biesinger * gdb.python/py-type.exp: Test for new gdb.Type.objfile property. 2019-06-03 Philippe Waroquiers * lib/gdb.exp (help_list_trailer): New regexp variable factorizing the help trailer message. (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS arg to allow to better factorize various tests. (test_user_defined_class_help): Factorizes testing 'help user-defined'. (test_prefix_command_help): Use help_list_trailer. * gdb.python/py-cmd.exp: Use test_user_defined_class_help. * gdb.guile/scm-cmd.exp: Likewise. * gdb.trace/tracecmd.exp: Update caller of test_class_help. * gdb.base/help.exp: Use test_user_defined_class_help. * gdb.base/style.exp: Add tests for styling of help and apropos. * lib/gdb-utils.exp (style): Add title and highlight styles. 2019-05-31 Philippe Waroquiers * gdb.base/shell.exp: Test pipe command, $_shell_exitcode, $_shell_exitsignal. * gdb.base/default.exp: Update for new convenience variables. 2019-05-29 Tom Tromey * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-" to "break complete ada" test case's regexp. 2019-05-29 Tom Tromey PR c++/20020: * gdb.cp/constexpr-field.exp: New file. * gdb.cp/constexpr-field.cc: New file. 2019-05-29 Tom Tromey * gdb.base/finish.exp (finish_no_print): New proc. (finish_tests): Call it. 2019-05-24 Tom de Vries * gdb.dwarf2/gdb-add-index.exp: New file. 2019-05-22 Tom Tromey * gdb.base/info-shared.exp (check_info_shared): Use "style". * gdb.base/style.exp: Use "style". * lib/gdb-utils.exp (style): New proc. 2019-05-22 Tom de Vries * gdb.base/align.exp: Require c++11. 2019-05-22 Tom de Vries PR testsuite/24586 * gdb.python/py-mi-var-info-path-expression.exp: Call mi_skip_python_tests to check if python is supported. 2019-05-22 Alan Hayward * gdb.arch/aarch64-pauth.c: New test. * gdb.arch/aarch64-pauth.exp: New file. 2019-05-22 Alan Hayward * README (Re-running Tests Outside The Testsuite): New section. 2019-05-21 Tom de Vries * gdb.arch/amd64-eval.exp: Require c++11. * gdb.base/max-depth.exp: Same. * gdb.compile/compile-cplus-array-decay.exp: Same. * gdb.cp/meth-typedefs.exp: Same. * gdb.cp/subtypes.exp: Same. * gdb.cp/temargs.exp: Same. 2019-05-21 Alan Hayward * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional. 2019-05-18 Andrew Burgess PR gdb/18644 * gdb.fortran/complex.exp: Remove setup_kfail calls. * gdb.fortran/printing-types.exp: Add new test. * gdb.fortran/printing-types.f90: Add 16-byte real variable for testing. * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove setup_kfail call. 2019-05-17 Alan Hayward * README (Running the Testsuite): Change example. (Testsuite Parameters): Remove TRANSCRIPT. * lib/gdb.exp: Remove TRANSCRIPT check. 2019-05-17 Alan Hayward * README (Testsuite Parameters): Add replay logging to GDBSERVER_DEBUG. (gdbserver,debug): Refer to GDBSERVER_DEBUG. * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug as a comma separated list. (gdb_debug_init): Override procedure. 2019-05-17 Alan Hayward * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file. (gdb_write_cmd_file): New procedure. * lib/gdbserver-support.exp (gdbserver_start): Call gdbserver_write_cmd_file. (gdbserver_write_cmd_file): New procedure. 2019-05-17 Alan Hayward * lib/gdb.exp (gdb_unload): Mark Y as an answer. (delete_breakpoints): Likewise. (gdb_run_cmd): Likewise. (gdb_start_cmd): Likewise. (gdb_starti_cmd): Likewise. (gdb_internal_error_resync): Likewise. (gdb_test_multiple): Likewise. (gdb_reinitialize_dir): Likewise. (default_gdb_exit): Likewise. (gdb_file_cmd): Mark kill as optional. (default_gdb_start): Call gdb_stdin_log_init. (send_gdb): Call gdb_stdin_log_write. (rerun_to_main): Mark Y as an answer. (gdb_stdin_log_init): New function. (gdb_stdin_log_write): Likewise. 2019-05-17 Alan Hayward * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging. * gdb.base/debug-expr.exp: Likewise. * gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp: Likewise. * gdb.base/fork-print-inferior-events.exp: Likewise. * gdb.base/gdb-sigterm.exp: Likewise. * gdb.base/gdbinit-history.exp: Likewise. * gdb.base/osabi.exp: Likewise. * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. * gdb.base/ui-redirect.exp: Likewise. * gdb.gdb/unittest.exp: Likewise. * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging. * gdb.mi/mi-watch.exp: Likewise. * gdb.mi/new-ui-mi-sync.exp: Likewise. * gdb.mi/user-selected-context-sync.exp: Likewise. * gdb.python/python.exp: Disable debug test when debugging. * gdb.threads/check-libthread-db.exp: Disable when debugging. * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Likewise. * gdb.threads/stepi-random-signal.exp: Likewise. 2019-05-17 Alan Hayward * Makefile.in: Pass through GDB_DEBUG. * README (Testsuite Parameters): Add GDB_DEBUG. (gdb,debug): Add board setting. * lib/gdb.exp (default_gdb_start): Start debugging. (gdb_debug_enabled): New procedure. (gdb_debug_init): Likewise. 2019-05-17 Alan Hayward * Makefile.in: Pass through GDB_DEBUG. * README (Testsuite Parameters): Add GDB_DEBUG. (gdb,debug): Add board setting. * lib/gdb.exp (default_gdb_start): Start debugging. (gdb_debug_enabled): New procedure. (gdb_debug_init): Likewise. 2019-05-17 Alan Hayward * gdb.base/ui-redirect.exp: Add debug redirect tests. 2019-05-17 Alan Hayward * gdb.base/ui-redirect.exp: Test redirection. 2019-01-28 Jan Vrany * gdb.mi/mi-complete.exp: New file. * gdb.mi/mi-complete.cc: Likewise. 2019-05-15 Bernhard Heckel * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to indexed and sliced arrays, and pointers to arrays. 2019-05-14 Tom Tromey * gdb.base/info-shared.exp (check_info_shared): Add "info shared" styling test. 2019-05-14 Tom de Vries * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address selection entry encoding. 2019-05-10 Tom Tromey * gdb.ada/info_exc.exp: Add "complete" test. 2019-05-09 Tom de Vries * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references CU-relative. 2019-05-09 Tom de Vries * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references CU-relative. 2019-05-08 Joel Brobecker * 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 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test. 2019-05-08 Tom Tromey * gdb.base/ptype-offsets.exp: Update tests. 2019-05-08 Tom Tromey * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test cases. * gdb.base/ptype-offsets.cc (struct abc) : Now "short". 2019-05-08 Tom Tromey * gdb.ada/vla.exp: New file. * gdb.ada/vla/vla.adb: New file. 2019-05-07 Tom de Vries * gdb.base/index-cache.exp (ls_host): Fix return statement. 2019-05-07 Tom de Vries PR testsuite/24522 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges section. 2019-05-07 Tom de Vries PR testsuite/24522 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in .debug_aranges section. 2019-05-07 Tom de Vries PR testsuite/24159 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr. 2019-05-06 Tom de Vries * 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 * boards/cc-with-debug-names.exp: New file. 2019-05-03 Tom Tromey * 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 * boards/cc-with-gdb-index.exp: New file. 2019-05-02 Andrew Burgess * 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 * 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 * gdb.ada/packed_array_assign.exp: Add packed assignment regression test. 2019-05-01 Tom de Vries * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB). 2019-05-01 Tom de Vries * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp. 2019-04-30 Ali Tamur * lib/dwarf.exp(): Added DW_FORM_strx1-4. 2019-04-30 Tom Tromey * 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 PR c++/24470: * gdb.cp/temargs.cc: Add test code from PR. 2019-04-30 Andrew Burgess * 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 * 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 * gdb.fortran/ptype-on-functions.exp: New file. * gdb.fortran/ptype-on-functions.f90: New file. 2019-04-30 Andrew Burgess * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower case void string. 2019-04-30 Andrew Burgess * 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 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR, MODULO, CMPLX. 2019-04-29 Andrew Burgess Richard Bunt * 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 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp. 2019-04-27 Philippe Waroquiers * gdb.base/callexit.exp: Test may-call-functions off. 2019-04-25 Keith Seitz 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 Ali Tamur * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx. 2019-04-25 Sergio Durigan Junior PR corefiles/11608 PR corefiles/18187 * gdb.base/coredump-filter-build-id.exp: New file. 2019-04-25 Alan Hayward * 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 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for Rust. 2019-04-24 Tom Tromey * gdb.arch/amd64-eval.exp: Test bitfield return. * gdb.arch/amd64-eval.cc (struct Bitfields): New. (class Foo) : New method. (main): Call it. 2019-04-23 Andrew Burgess * gdb.cp/many-args.cc: New file. * gdb.cp/many-args.exp: New file. 2019-04-23 Tom de Vries PR gdb/24433 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern. 2019-04-23 Alan Hayward * 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 * gdb.base/solib-probes-nosharedlibrary.c, gdb.base/solib-probes-nosharedlibrary.exp: New files. 2019-04-19 Tom Tromey * gdb.ada/ptype_union.c: New file. * gdb.ada/ptype_union.exp: New file. 2019-04-19 Tom Tromey PR symtab/24423: * gdb.base/list0.h (foo): Add a control-l character. 2019-04-18 Tom de Vries PR gdb/24433 * boards/local-board.exp: Set sysroot to "". 2019-04-18 Tom de Vries Pedro Alves 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 * gdb.arch/amd64-eval.cc: New file. * gdb.arch/amd64-eval.exp: New file. 2019-04-11 Alan Hayward * 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 * gdb.base/align.exp: Extend test to cover structures containing only static fields. 2019-04-11 Tom de Vries * 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 * gdb.base/start-cpp.exp: New file. * gdb.base/start-cpp.cc: New file. 2019-04-08 Kevin Buettner * gdb.python/py-thrhandle.exp: Adjust tests to call thread_from_handle instead of thread_from_thread_handle. 2019-04-08 Kevin Buettner * gdb.python/py-thrhandle.exp: Add tests for gdb.InferiorThread.handle. 2019-04-01 Andrew Burgess * 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 * gdb.base/complex-parts.c: New file. * gdb.base/complex-parts.exp: New file. 2019-04-01 Tom Tromey 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 * gdb.base/default.exp: Add values for $_gdb_major and $_gdb_minor. 2019-03-29 Tom Tromey * gdb.base/help.exp: Tighten apropos regexp. 2019-03-29 Keith Seitz * gdb.fortran/array-bounds.exp: New file. * gdb.fortran/array-bounds.f90: New file. 2019-03-28 Philippe Waroquiers * gdb.multi/multi-term-settings.c (main): Increase alarm timer. 2019-03-28 Philippe Waroquiers * gdb.multi/hello.c (main): Increase alarm timer. 2019-03-28 Sandra Loosemore * gdb.threads/watchpoint-fork.exp (test): Use large timeout factor when no hardware watchpoint support. 2019-03-28 Alan Hayward Pedro Alves * boards/local-board.exp: set sysroot to /. 2019-03-27 Alan Hayward * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep in child. 2019-03-26 Andrew Burgess * gdb.python/py-prettyprint.c (struct container) : New field. (make_container): Initialise new field. * gdb.python/py-prettyprint.exp: Add new tests. * gdb.python/py-prettyprint.py (class ContainerPrinter) : New method. 2019-03-26 Andrew Burgess * 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 * 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 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and move comments outside list. Append '-i "" eof' section. 2019-03-22 Alan Hayward PR testsuite/25016 * 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 * gdb.mi/mi2-cli-display.c: New file. * gdb.mi/mi2-cli-display.exp: New file. 2019-03-18 Joel Brobecker Tom Tromey * 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 * gdb.base/style.exp: Add "set style sources" test. 2019-03-13 Simon Marchi * 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 * 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 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases. 2019-03-06 Andrew Burgess * gdb.fortran/intrinsics.exp: Extend to cover ABS. 2019-03-06 Andrew Burgess * gdb.fortran/type-kinds.exp: Update expected results. 2019-03-06 Andrew Burgess * gdb.fortran/type-kinds.exp: Test new integer type kind. 2019-03-06 Andrew Burgess * 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 * gdb.fortran/intrinsics.exp: New file. * gdb.fortran/intrinsics.f90: New file. * gdb.fortran/type-kinds.exp: New file. 2019-03-06 Andrew Burgess * gdb.fortran/dot-ops.exp: New file. 2019-03-06 Andrew Burgess * gdb.fortran/types.exp (test_logical_literal_types_accepted): Check upper and lower case logical literals. 2019-03-06 Andrew Burgess * gdb.fortran/types.exp (test_float_literal_types_accepted): Remove duplicate tests. 2019-03-06 Alan Hayward * lib/gdb.exp (builtin_cd): rename of cd. (cd): Override builtin. 2019-03-06 Richard Bunt * gdb.fortran/function-calls.exp: New file. * gdb.fortran/function-calls.f90: New test. 2019-03-04 Richard Bunt * 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 * lib/gdbserver-support.exp (gdbserver_start): Check for listen failure. 2019-02-28 Rainer Orth PR gdb/8527 * gdb.base/interrupt-daemon-attach.c, gdb.base/interrupt-daemon-attach.exp: New test. 2019-02-27 Pedro Alves * gdb.base/page.exp: Add tests for "set width/height -1". 2019-02-27 Pedro Alves * gdb.base/page.exp: Add tests for "set/show width/height" with "infinite" values. 2019-02-27 Tom Tromey * 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 * 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 * gdb.python/py-value.exp (test_value_from_buffer): Check for ValueError, not TypeError. 2019-02-26 Kevin Buettner * gdb.python/py-value.exp (test_value_from_buffer): New proc with call from main program. 2019-02-23 Joel Brobecker * 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 PR symtab/23853 * gdb.base/symlink-sourcefile.c: New file. * gdb.base/symlink-sourcefile.exp: New file. 2019-02-20 Tom Tromey * gdb.base/info_qt.exp: Update. 2019-02-19 Simon Marchi * 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 * 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 * gdb.base/style.exp: Add line-wrapping tests. * gdb.base/page.exp: Add test for quitting during pagination. 2019-02-17 Joel Brobecker * gdb.ada/big_packed_array: New testcase. * gdb.ada/homonym.exp: Fix incorrect expected output for "break " test. 2019-02-13 Weimin Pan 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 PR breakpoints/21870 * gdb.arch/aarch64-dbreg-contents.exp: New file. * gdb.arch/aarch64-dbreg-contents.c: New file. 2019-02-10 Joel Brobecker * gdb.ada/mi_ref_changeable: New testcase. 2019-02-07 Alan Hayward * gdb.base/attach.exp: Add double attach test. 2019-02-07 Simon Marchi * lib/gdb.exp (default_gdb_start): Don't match pagination prompt. (gdb_init): Set stty_init. 2019-01-27 Tom Tromey * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to skip_python_tests. 2019-01-24 Alan Hayward * 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 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C. 2019-01-21 Alan Hayward * 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 PR gdb/23773 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file. 2019-01-14 Pedro Franco de Carvalho * 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 * gdb.arch/altivec-regs.exp: Fix the list passed to gdb_expect_list when testing "info vector". 2019-01-12 Andrew Burgess * gdb.base/style.exp: Don't include path in testname. 2019-01-10 Keith Seitz PR gdb/23712 PR symtab/23010 * gdb.dwarf2/multidictionary.exp: New file. 2019-01-09 Simon Marchi * 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 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt case. 2019-01-06 Tom Tromey PR gdb/28155: * gdb.dwarf2/typedef-void-finish.exp: New file. 2018-12-28 Tom Tromey Simon Marchi * 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 * gdb.base/style.exp: Update test to check for address styling. 2018-12-28 Tom Tromey * gdb.base/style.exp: Add test for styling of "Reading symbols" message. 2018-12-28 Tom Tromey * gdb.base/style.exp: Add test for version number styling. 2018-12-28 Tom Tromey * gdb.base/style.exp: Add test for print_address_symbolic. 2018-12-28 Tom Tromey * gdb.base/style.exp: Add test for breakpoint setting. 2018-12-28 Tom Tromey * gdb.base/style.exp: Add test for variable names. 2018-12-28 Tom Tromey * gdb.base/style.exp: New file. * gdb.base/style.c: New file. 2018-12-28 Tom Tromey * 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 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add pagination test. 2018-12-24 Andrew Burgess * gdb.dwarf2/dw2-unusual-field-names.c: New file. * gdb.dwarf2/dw2-unusual-field-names.exp: New file. 2018-12-24 Philippe Waroquiers * 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 * 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 PR gdb/23974 * gdb.base/info-os.exp: Check return for unknown "info os" type. 2018-12-20 Philippe Waroquiers * gdb.ada/info_auto_lang.exp: Normalize some_c source file. Update order of results accordingly. 2018-12-12 Andrew Burgess * gdb.base/annota1.exp: Update a test regexp. 2018-12-11 Andrew Burgess * gdb.base/float.exp: Handle RISC-V targets without an FPU. 2018-12-09 Philippe Waroquiers * 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 * 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 * 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 * gdb.base/gdb-caching-proc.exp: New file. 2018-11-25 Sergio Durigan Junior * 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 PR python/23714 * gdb.python/python.exp: Test command repetition after gdb.execute. 2018-11-20 Andrew Burgess * gdb.opt/inline-break.exp: Add test that info breakpoint output is correctly aligned. 2018-11-20 Philippe Waroquiers * 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 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to FUNC_lang language syntax. 2018-11-20 Philippe Waroquiers * gdb.base/info_minsym.c: New file. * gdb.base/info_minsym.exp: New file. 2018-11-19 Tom Tromey 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 * gdb.rust/simple.rs: Don't initialize empty_enum_value. 2018-11-19 Pedro Alves * 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 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 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete" completer tests. 2018-11-09 Tom de Vries * 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 PR gdb/23555: PR gdb/23838: * gdb.base/warning.exp: New file. 2018-11-08 Jan Beulich * testsuite/gdb.arch/i386-avx512.c, testsuite/gdb.arch/i386-avx512.exp: Add 7th test. 2018-11-08 Andrew Burgess * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating point hardware. 2018-11-07 Andrew Burgess * 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 * gdb.base/many-headers.c: New test. * gdb.base/many-headers.exp: New file. 2018-11-06 Jim Wilson * gdb.base/code_elim.exp: For riscv, set additional_flags to include -msmall-data-limit=0. 2018-11-01 Joel Brobecker * gdb.ada/watch_minus_l: New testcase. 2018-11-01 Sangamesh Mallayya * gdb.arch/aix-sighandle.c: New file. * gdb.arch/aix-sighandle.exp: New file. 2018-10-31 Andrew Burgess * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float registers being unions. 2018-10-31 Tom de Vries * 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 * lib/gdb.exp (get_valueof): Don't output read value in test name. 2018-10-31 Andrew Burgess * gdb.dwarf2/void-type.c: New file. * gdb.dwarf2/void-type.exp: New file. 2018-10-27 Philippe Waroquiers * gdb.base/info_qt.c: New file. * gdb.base/info_qt.exp: New file. 2018-10-26 Pedro Franco de Carvalho * gdb.arch/powerpc-htm-regs.c: New file. * gdb.arch/powerpc-htm-regs.exp: New file. 2018-10-26 Pedro Franco de Carvalho * gdb.arch/powerpc-tar.c: New file. * gdb.arch/powerpc-tar.exp: New file. 2018-10-26 Pedro Franco de Carvalho * gdb.arch/powerpc-ppr-dscr.c: New file. * gdb.arch/powerpc-ppr-dscr.exp: New file. 2018-10-25 Tom de Vries * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb. 2018-10-24 Tom de Vries * lib/gdb.exp (gdb_test_multiple): Log wait status on process no longer exists error. 2018-10-24 Tom de Vries * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test. 2018-10-24 Tom de Vries * gdb.base/valgrind-db-attach.exp: Handle removed support for --db-attach in valgrind. 2018-10-23 Andrew Burgess * gdb.arch/riscv-reg-aliases.c: New file. * gdb.arch/riscv-reg-aliases.exp: New file. 2018-10-19 Alan Hayward * gdb.python/py-cmd.exp: Check for gdb_prompt. 2018-10-19 Alan Hayward * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6. 2018-10-19 Alan Hayward * gdb.cp/ovldbreak.exp: Fix regexps. 2018-10-19 Alan Hayward * gdb.compile/compile-cplus-print.exp: Start inferior earlier. 2018-10-18 Sergio Durigan Junior PR cli/23785 * gdb.base/restore.exp: New test to check if "restore" with an invalid file doesn't segfault. 2018-10-18 Tom de Vries * gdb.ada/bp_inlined_func.exp: Fix capitalized test name. * gdb.ada/excep_handle.exp: Same. * gdb.ada/mi_string_access.exp: Same. * gdb.ada/mi_var_union.exp: Same. * gdb.arch/arc-analyze-prologue.exp: Same. * gdb.arch/arc-decode-insn.exp: Same. * gdb.base/readnever.exp: Same. * gdb.fortran/printing-types.exp: Same. * gdb.guile/scm-lazy-string.exp: Same. 2018-10-16 Tom de Vries PR gdb/23730 * gdb.base/catch-follow-exec.c: Add copyright notice. * gdb.base/catch-follow-exec.exp: Rewrite to use gdb_spawn_with_cmdline_opts. Require gdb-native. 2018-10-12 Sandra Loosemore * gdb.trace/actions-changed.exp: Check for arch support. * gdb.trace/actions.exp: Likewise. * gdb.trace/ax.exp: Likewise. * gdb.trace/backtrace.exp: Likewise. * gdb.trace/change-loc.exp: Likewise. * gdb.trace/deltrace.exp: Likewise. * gdb.trace/ftrace-lock.exp: Check for shlib and arch support. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/infotrace.exp: Check for arch support. * gdb.trace/mi-trace-frame-collected.exp: Likewise. * gdb.trace/mi-tracepoint-changed.exp: Likewise. * gdb.trace/mi-tsv-changed.exp: Likewise. * gdb.trace/packetlen.exp: Likewise. * gdb.trace/passc-dyn.exp: Likewise. * gdb.trace/passcount.exp: Likewise. * gdb.trace/pending.exp: Likewise. * gdb.trace/range-stepping.exp: Check for shlib support. * gdb.trace/report.exp: Check for arch support. * gdb.trace/save-trace.exp: Likewise. * gdb.trace/signal.exp: Check for signal support. * gdb.trace/tfind.exp: Check for arch support. * gdb.trace/trace-break.exp: Check for arch and shlib support. * gdb.trace/trace-common.h: Add comment. * gdb.trace/trace-condition.exp: Check for shlib and arch support. * gdb.trace/trace-enable-disable.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call. * gdb.trace/tracecmd.exp: Check for arch support. * gdb.trace/tspeed.exp: Check for shlib and target support. * gdb.trace/tstatus.exp: Check for arch support. * gdb.trace/tsv.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise. * gdb.trace/while-stepping.exp: Likewise. * lib/trace-support.exp (gdb_trace_common_supports_arch): New. 2018-10-12 Simon Marchi * gdb.trace/tspeed.exp: Remove nowarnings. (prepare_for_trace_test): Declare "global ipalib". * gdb.trace/tspeed.c: Include unistd.h. (main): Remove superfluous printf argument. 2018-10-11 Sandra Loosemore * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX directory prefix on the filename. 2018-10-10 Sergio Durigan Junior * gdb.gdb/unittest.exp: Update expected message informing that selftests have been disabled. * gdb.server/unittest.exp: Likewise. 2018-10-09 Tom de Vries * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd with runto_main. 2018-10-08 Weimin Pan PR c++/16841 * gdb.cp/virtbase2.cc: New file. * gdb.cp/virtbase2.exp: New file. 2018-10-06 Tom Tromey PR python/19399: * gdb.python/py-inferior.exp: Add architecture test. 2018-10-06 Tom Tromey * gdb.base/gnu-ifunc.exp (build): Use standard_output_file. * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file. 2018-10-06 Tom Tromey * gdb.python/py-breakpoint.exp (check_last_event): Check location of a "throw" catchpoint. 2018-10-06 Sergio Durigan Junior * gdb.base/info-proc.exp: Update string expected from "help info proc". 2018-10-04 Tom Tromey * gdb.cp/maint.exp (test_invalid_name): Update expected output. * gdb.gdb/complaints.exp (test_short_complaints): Remove. (test_initial_complaints, test_empty_complaints): Update. * gdb.dwarf2/dw2-stack-boundary.exp: Update. 2018-10-04 Tom Tromey PR cli/19551: * lib/mi-support.exp (mi_gdb_file_cmd): Update. * lib/gdb.exp (gdb_file_cmd): Update. * gdb.stabs/weird.exp (print_weird_var): Update. * gdb.server/solib-list.exp: Update. * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update. * gdb.mi/mi-cli.exp: Update. * gdb.linespec/linespec.exp: Update. * gdb.dwarf2/dw2-stack-boundary.exp: Update. * gdb.dwarf2/dw2-objfile-overlap.exp: Update. * gdb.cp/cp-relocate.exp: Update. * gdb.base/sym-file.exp: Update. * gdb.base/relocate.exp: Update. * gdb.base/readnever.exp: Update. * gdb.base/print-symbol-loading.exp (test_load_core): Update. * gdb.base/kill-detach-inferiors-cmd.exp: Update. * gdb.base/dbx.exp (gdb_file_cmd): Update. * gdb.base/code_elim.exp: Update. * gdb.base/break-unload-file.exp (test_break): Update. * gdb.base/break-interp.exp (test_attach_gdb): Update. * gdb.base/break-idempotent.exp (force_breakpoint_re_set): Update. * gdb.base/attach.exp (do_attach_tests): Update. * gdb.base/sepdebug.exp: Update. * gdb.python/py-section-script.exp: Update. 2018-10-04 Tom Tromey PR cli/22234: * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output. * gdb.gdb/complaints.exp (test_short_complaints): Update expected output. 2018-10-04 Tom Tromey * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet; set width and height to 0. (test_command_line_attach_run): Use -quiet. 2018-10-03 Sandra Loosemore * lib/gdb.exp (skip_ifunc_tests): New. * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle other compile failures. * gdb.compile/compile-ifunc.exp: Skip if no ifunc support. 2018-10-01 Simon Marchi * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on is_amd64_regs_target. 2018-10-01 Alan Hayward * gdb.arch/aarch64-sighandler-regs.c: New test. * gdb.arch/aarch64-sighandler-regs.exp: New file. * lib/gdb.exp (skip_aarch64_sve_tests): New proc. 2018-10-01 Markus Metzger * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline assembly. 2018-09-28 Andrew Burgess * gdb.base/frame-selection.exp: New file. * gdb.base/frame-selection.c: New file. 2018-09-27 Alan Hayward * gdb.threads/check-libthread-db.c (thread_routine): Use a pthread barrier. (main): Likewise. 2018-09-26 Andrew Burgess * gdb.base/large-frame-1.c: New file. * gdb.base/large-frame-2.c: New file. * gdb.base/large-frame.exp: New file. * gdb.base/large-frame.h: New file. 2018-09-24 Jozef Lawrynowicz PR gdb/20948 * gdb.base/write_mem.exp: New test. * gdb.base/write_mem.c: Likewise. 2018-09-23 Tom Tromey PR python/18852: * gdb.python/py-parameter.exp: Add test for parameter that throws on "set". 2018-09-23 Tom Tromey PR python/17284: * gdb.python/py-template.exp (test_template_arg): Add test for negative template argument number. 2018-09-23 Tom Tromey PR python/14062: * gdb.python/python.exp: Add test for post_event error. 2018-09-23 Tom Tromey PR python/18170: * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to convert pointers to int and long. 2018-09-23 Tom Tromey PR python/20126: * gdb.python/py-value.exp (test_value_numeric_ops): Add signed-ness conversion tests. 2018-09-23 Tom Tromey PR python/18352; * gdb.python/py-value.exp (test_float_conversion): New proc. Use it. 2018-09-20 Hafiz Abid Qadeer gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern. 2018-09-18 Sandra Loosemore * gdb.base/complete-empty.exp: Skip tab-completion tests if no readline. * gdb.base/utf8-identifiers.exp: Likewise. * gdb.cp/cpcompletion.exp: Likewise. * gdb.linespec/cpcompletion.exp: Likewise. * gdb.linespec/cpls-abi-tag.exp: Likewise. * gdb.linespec/cpls-ops.exp: Likewise. 2018-09-19 Richard Bunt Chris January * gdb.cp/koenig.exp: Extend to test logical short circuiting. * gdb.fortran/short-circuit-argument-list.exp: New file. * gdb.fortran/short-circuit-argument-list.f90: New test. 2018-09-18 Sergio Durigan Junior * gdb.arch/amd64-invalid-stack-top.exp: Expect optional "arch=" keyword when executing "-stack-list-frames". 2018-09-18 Sergio Durigan Junior * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional "arch=" keyword when executing "-stack-list-frames". 2018-09-18 Sergio Durigan Junior * gdb.ada/complete.exp: Expect for "@" when doing "complete break ada". 2018-09-17 Simon Marchi PR python/23669 * gdb.python/python.exp: Test gdb.execute("show commands"). 2018-09-16 Tom Tromey * gdb.base/new-ui.exp (do_execution_tests): Update. * gdb.base/dbx.exp (test_breakpoints): Update. 2018-09-14 Alan Hayward * lib/gdb.exp (gdb_simple_compile): Add proc. (is_elf_target): Use gdb_simple_compile. (skip_altivec_tests): Likewise. (skip_vsx_tests): Likewise. (skip_tsx_tests): Likewise. (skip_btrace_tests): Likewise. (skip_btrace_pt_tests): Likewise. (gdb_can_simple_compile): Likewise. (gdb_has_argv0): Likewise. (gdb_target_symbol_prefix): Likewise. (target_supports_scheduler_locking): Likewise. 2018-09-13 Tom Tromey * Makefile.in (TAGS): Recognize proc_with_prefix and gdb_caching_proc. 2018-09-13 Simon Marchi * gdb.python/py-progspace.exp: Test the Progspace.objfiles method. 2018-09-13 Simon Marchi * gdb.python/py-inferior.exp: Add tests for Inferior.progspace and a few other Inferior properties when the Inferior is no longer valid. 2018-09-13 Tom Tromey PR rust/23650: * gdb.rust/simple.exp: Add test for enum field access error. 2018-09-13 Tom Tromey PR rust/23626: * gdb.rust/simple.rs (EmptyEnum): New type. (main): Use it. * gdb.rust/simple.exp (test_one_slice): Add empty enum test. 2018-09-13 Simon Marchi * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior. * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile. * gdb.python/py-symtab.exp: Update test printing an objfile. 2018-09-12 Simon Marchi * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior object. 2018-09-12 Alan Hayward * lib/gdb.exp (gdb_can_simple_compile): Add proc. (support_complex_tests): Use gdb_can_simple_compile. (is_ilp32_target): Likewise. (is_lp64_target): Likewise. (is_64_target): Likewise. (is_amd64_regs_target): Likewise. (is_aarch32_target): Likewise. (gdb_int128_helper): Likewise. 2018-09-11 Jan Kratochvil * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path. 2018-09-10 Jerome Guitton * gdb.ada/same_component_name: Add test for case of tagged record with variable-length fields. 2018-09-10 Xavier Roirand * gdb.ada/access_to_unbounded_array.exp: New testcase. * gdb.ada/access_to_unbounded_array/foo.adb: New file. * gdb.ada/access_to_unbounded_array/pack.adb: New file. * gdb.ada/access_to_unbounded_array/pack.ads: New file. 2018-09-10 Xavier Roirand * gdb.ada/mi_string_access.exp: New testcase. * gdb.ada/mi_string_access/bar.adb: New file. * gdb.ada/mi_string_access/pck.adb: New file. * gdb.ada/mi_string_access/pck.asd: New file. 2018-09-10 Xavier Roirand * gdb.ada/mi_var_union.exp: New testcase. * gdb.ada/mi_var_union/bar.adb: New file. * gdb.ada/mi_var_union/pck.adb: New file. * gdb.ada/mi_var_union/pck.asd: New file. 2018-09-08 Tom Tromey * gdb.python/py-prettyprint.exp: Use with_test_prefix. 2018-09-08 Tom Tromey PR python/16047: * gdb.python/py-prettyprint.py (pp_int_typedef3): New class. (register_pretty_printers): Register new printer. * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3 test. * gdb.python/py-prettyprint.c (int_type3): New typedef. (an_int_type3): New global. 2018-09-08 Joel Brobecker * gdb.ada/expr_with_funcall: New testcase. 2018-09-08 Joel Brobecker * gdb.ada/packed_array_assign: New testcase. 2018-09-07 Andrew Burgess * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test names, and add test prefixes to make test names unique. 2018-09-05 Tom de Vries * gdb.dwarf2/varval.exp: Add test. 2018-09-04 Gary Benson * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id. 2018-08-31 Tom Tromey * gdb.rust/simple.rs: Rename second variable "v". 2018-08-30 Andrew Burgess * gdb.base/funcargs.c (use_a): New function. (recurse): Call use_a. 2018-08-29 Keith Seitz * gdb.compile/compile-cplus-anonymous.cc: New file. * gdb.compile/compile-cplus-anonymous.exp: New file. * gdb.compile/compile-cplus-array-decay.cc: New file. * gdb.compile/compile-cplus-array-decay.exp: New file. * gdb.compile/compile-cplus-inherit.cc: New file. * gdb.compile/compile-cplus-inherit.exp: New file. * gdb.compile/compile-cplus-member.cc: New file. * gdb.compile/compile-cplus-member.exp: New file. * gdb.compile/compile-cplus-method.cc: New file. * gdb.compile/compile-cplus-method.exp: New file. * gdb.compile/compile-cplus-mod.c: "New" file. * gdb.compile/compile-cplus-namespace.cc: New file. * gdb.compile/compile-cplus-namespace.exp: New file. * gdb.compile/compile-cplus-nested.cc: New file. * gdb.compile/compile-cplus-nested.exp: New file. * gdb.compile/compile-cplus-print.c: "New" file. * gdb.compile/compile-cplus-print.exp: "New" file. * gdb.compile/compile-cplus-virtual.cc: New file. * gdb.compile/compile-cplus-virtual.exp: New file. * gdb.compile/compile-cplus.c: "New" file. * gdb.compile/compile-cplus.exp: "New" file. * lib/compile-support.exp: New file. 2018-08-16 Gary Benson PR gdb/13000: * gdb.base/batch-exit-status.exp: New file. * gdb.base/batch-exit-status.good-commands: Likewise. * gdb.base/batch-exit-status.bad-commands: Likewise. 2018-08-29 Alan Hayward * gdb.base/infcall-nested-structs.c (struct struct01): Remove. (struct struct02): Likewise. (struct struct03): Likewise. (struct struct04): Likewise. (struct struct_01_01): New struct. (struct struct_01_02): Likewise. (struct struct_01_03): Likewise. (struct struct_01_04): Likewise. (struct struct_02_01): Likewise. (struct struct_02_02): Likewise. (struct struct_02_03): Likewise. (struct struct_02_04): Likewise. (struct struct_04_01): Likewise. (struct struct_04_02): Likewise. (struct struct_04_03): Likewise. (struct struct_04_04): Likewise. (struct struct_05_01): Likewise. (struct struct_05_02): Likewise. (struct struct_05_03): Likewise. (struct struct_05_04): Likewise. (cmp_struct01): Remove function. (cmp_struct02): Likewise. (cmp_struct03): Likewise. (cmp_struct04): Likewise. (cmp_struct_01_01): Add Function. (cmp_struct_01_02): Likewise. (cmp_struct_01_03): Likewise. (cmp_struct_01_04): Likewise. (cmp_struct_02_01): Likewise. (cmp_struct_02_02): Likewise. (cmp_struct_02_03): Likewise. (cmp_struct_02_04): Likewise. (cmp_struct_04_01): Likewise. (cmp_struct_04_02): Likewise. (cmp_struct_04_03): Likewise. (cmp_struct_04_04): Likewise. (cmp_struct_05_01): Likewise. (cmp_struct_05_02): Likewise. (cmp_struct_05_03): Likewise. (cmp_struct_05_04): Likewise. (call_all): Add new structs. * gdb.base/infcall-nested-structs.exp: Likewise. 2018-08-27 Jan Vrany * gdb.python/py-framefilter-mi.exp: Update regexp to check for "arch" field in frame output. 2018-08-23 Kevin Buettner * gdb.dwarf2/dw2-ranges-func.c: New file. * gdb.dwarf2/dw2-ranges-func.exp: New file. 2018-08-22 Simon Marchi * gdb.base/term.exp: Compare terminal settings with values from the inferior. * gdb.base/term.c: Get and set terminal settings. 2018-08-22 Jan Vrany * lib/mi-support.exp (mi_expect_stop): Update regexp to accommodate new "arch" field in frame output. * gdb.mi/mi-return.exp: Likewise. * gdb.mi/mi-stack.exp: Likewise. * gdb.mi/mi-syn-frame.exp: Likewise. * gdb.mi/user-selected-context-sync.exp: Likewise. 2018-08-19 Michael Spang PR gdb/11786 * gdb.base/gcore-tls-pie.c: New file. * gdb.base/gcore-tls-pie.exp: New file. 2018-08-18 Kevin Buettner * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value. * gdb.dwarf2/varval.c: New file. * gdb.dwarf2/varval.exp: New file. 2018-08-17 Alan Hayward PR gdb/18931 * gdb.arch/aarch64-fp.c (main): Fix asm registers. 2018-08-16 Keith Seitz * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code" tests expected to pass. 2018-08-14 Jan Vrany * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for -data-disassemble -a. (test_disassembly_bogus_args): Likewise. 2018-08-14 Andrew Burgess * gdb.mi/list-thread-groups-available.exp: Update test regexp. 2018-08-09 Andrew Burgess * gdb.base/vla-optimized-out.exp: Add new test. 2018-08-09 Andrew Burgess * gdb.base/vla-optimized-out-o3.exp: Delete. * gdb.base/vla-optimized-out-o3-strict.exp: Delete. * gdb.base/vla-optimized-out.exp: Extend to cover all of the deleted tests. 2018-08-08 Andrew Burgess PR gdb/18050: * gdb.server/extended-remote-restart.c: New file. * gdb.server/extended-remote-restart.exp: New file. 2018-08-07 Simon Marchi * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with "set variable index = 42". 2018-08-07 Simon Marchi * boards/index-cache-gdb.exp: New file. * gdb.dwarf2/index-cache.exp: New file. * gdb.dwarf2/index-cache.c: New file. * gdb.base/maint.exp: Check if we are using the index cache. 2018-08-07 Rainer Orth * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in MAKEFLAGS. 2018-08-06 Rainer Orth * dg-extract-results.sh: Move to toplevel contrib. * Makefile.in (check-parallel): Reflect dg-extract-results.sh move. * Makefile.in (check-parallel-racy): Likewise. 2018-08-06 Andrew Burgess * lib/gdb.exp (target_supports_scheduler_locking): New proc. * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking tests if the target supports scheduler locking. 2018-08-04 Tom de Vries * gdb.python/py-rbreak.exp: Fix rbreak regexp. 2018-08-02 Tom Tromey PR symtab/16842. * gdb.cp/temargs.exp: Test "info address" of a template parameter. 2018-07-31 Jan Vrany * gdb.python/py-mi-var-info-path-expression.c: New file. * gdb.python/py-mi-var-info-path-expression.py: New file. * gdb.python/py-mi-var-info-path-expression.exp: New file. 2018-07-30 Sergio Durigan Junior * lib/gdbserver-support.exp (gdbserver_start): Match any kind of error after "cannot resolve name" string. 2018-07-28 Andrew Burgess * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has started. * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running. 2018-07-28 Tom de Vries * gdb.base/vla-optimized-out-o3-strict.exp: New file. 2018-07-26 Tom de Vries * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. 2018-07-26 Andrew Burgess * gdb.base/maint.exp: Add check that dwarf unwinders control flag is visible. 2018-07-26 Tom de Vries PR breakpoints/23366 * gdb.base/catch-follow-exec.c: New test. * gdb.base/catch-follow-exec.exp: New file. 2018-07-25 Tom de Vries * gdb.base/vla-optimized-out-o3.exp: New file. Reuse vla-optimized-out.c. 2018-07-25 Jan Vrany * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file. * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file. 2018-07-20 Tom de Vries * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on NOCLONE macro. * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE. 2018-07-19 Tom de Vries * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in regular expression. 2018-07-18 Tom de Vries * gdb.base/vla-optimized-out.c: New test. * gdb.base/vla-optimized-out.exp: New file. 2018-07-13 Sergio Durigan Junior * lib/gdbserver-support.exp (gdbserver_start): Expect for the message "No address associated with hostname" when gdbserver cannot resolve the hostname. 2018-07-12 Philippe Waroquiers * gdb.threads/pthreads.exp: Test qcs FLAG arguments. Add some test prefixes to make tests unique. 2018-07-12 Philippe Waroquiers * gdb.base/frameapply.c: New file. * gdb.base/frameapply.exp: New file. 2018-07-12 Philippe Waroquiers * gdb.base/skip.exp: Update expected error message. 2018-07-11 Sergio Durigan Junior Jan Kratochvil Paul Fertser Tsutomu Seki * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST' parameter. * boards/native-extended-gdbserver.exp: Do not set 'sockethost' by default. * boards/native-gdbserver.exp: Likewise. * gdb.server/run-without-local-binary.exp: Improve regexp used for detecting when a remote debugging connection succeeds. * gdb.server/server-connect.exp: New file. * lib/gdbserver-support.exp (gdbserver_default_get_comm_port): Do not prefix the port number with ":". (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement support for detecting and using it. Add '$debughost_gdbserver' to the list of arguments used to start gdbserver. Handle case when gdbserver cannot resolve a network name. 2018-07-11 Sergio Durigan Junior PR c++/23373 * gdb.base/ptype-offsets.cc (struct static_member): New struct. (main) : New variable. * gdb.base/ptype-offsets.exp: Add test for printing a struct with a static member in it. 2018-07-10 Andrew Burgess * gdb.base/watchpoint-reuse-slot.exp: Test with hardware watchpoints enabled and disabled. 2018-07-09 Andrew Burgess * gdb.base/examine-backward.exp: Still run tests around address 0x0, even if address 0x0 is not readable. Update the pattern for matching address 0x0 in expected output. 2018-07-06 Andrew Burgess * gdb.base/share-env-with-gdbserver.c (main): Add call to malloc/free. 2018-07-04 Tom de Vries * gdb.dwarf2/dw2-error.exp: Update expected error message. 2018-07-02 Maciej W. Rozycki PR tdep/8282 * gdb.arch/mips-disassembler-options.exp: New test. * gdb.arch/mips-disassembler-options.s: New test source. 2018-06-29 Pedro Alves * gdb.threads/names.exp: Adjust expected "info threads" output. 2018-06-29 Pedro Alves * gdb.opt/inline-break.exp (line number, address): Add "info break" tests. 2018-06-29 Pedro Alves * gdb.opt/inline-break.c (func1): Add "break here" marker. * gdb.opt/inline-break.exp: Test setting breakpoints by line number and address and running to them. 2018-06-29 Richard Bunt * gdb.base/watchpoint-hw-attach.exp: Remove unstable output. 2018-06-28 Jan Kratochvil * lib/compiler.c: Remove executable permission flag. 2018-06-28 Richard Bunt * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded code. * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame. 2018-06-28 Petr Tesarik * gdb.base/relocate.exp: Add test for "add-symbol-file -o ". 2018-06-28 Petr Tesarik * gdb.base/relocate.exp: Test add-symbol-file behavior when the address argument is omitted. 2018-06-28 Petr Tesarik * gdb.base/relocate.exp: Add test for "symbol-file -o ". 2018-06-27 Omair Javaid PR gdb/21695 * gdb.base/infoline-reloc-main-from-zero.exp: New test. * gdb.base/infoline-reloc-main-from-zero.c: New file. 2018-06-26 Tom Tromey PR rust/22574: * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests. * gdb.rust/simple.rs (struct SimpleLayout): New. 2018-06-22 Simon Marchi * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in "info registers" output. 2018-06-21 Richard Bunt * gdb.base/watchpoint-hw-attach.c: New test. * gdb.base/watchpoint-hw-attach.exp: New file. 2018-06-20 Simon Marchi * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh through /bin/sh. * boards/dwarf4-gdb-index.exp: Likewise. * boards/fission-dwp.exp: Likewise. 2018-06-20 Ulrich Weigand * gdb.base/float128.exp: Add comment and improved fail message to the failure case of "print large128" test. 2018-06-19 Simon Marchi * configure.ac: Remove AC_PREREQ. * configure: Re-generate. 2018-06-19 Pedro Alves * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller) (func_extern_caller): New. (main): Call func_extern_caller. * gdb.opt/inline-break.exp: Add tests for inline frame skipping logic change. 2018-06-18 Weimin Pan PR gdb/16841 * gdb.cp/typedef-base.cc: New file. * gdb.cp/typedef-base.exp: New file. 2018-06-18 Tom de Vries * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations. 2018-06-16 Andrew Burgess Richard Bunt * gdb.threads/attach-slow-waitpid.c: New file. * gdb.threads/attach-slow-waitpid.exp: New file. * gdb.threads/slow-waitpid.c: New file. 2018-06-14 Pedro Alves * gdb.base/fork-running-state.c: Include . (exit_if_relative_exits): New. (fork_child): If 'exit_if_relative_exits' is true, exit if the parent exits. (fork_parent): If 'exit_if_relative_exits' is true, exit if the child exits. 2018-06-14 Tom de Vries PR cli/22573 * gdb.base/finish-pretty.c: New test. * gdb.base/finish-pretty.exp: New file. 2018-06-14 Pedro Alves * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build gdb's expected startup output. 2018-06-14 Pedro Alves * lib/selftest-support.exp (selftest_setup): Remove inlined function handling. 2018-06-14 Tom de Vries * lib/selftest-support.exp (selftest_setup): Allow function arguments in matching of breakpoint printing. 2018-06-13 Tom de Vries PR testsuite/23269 * gdb.base/fork-running-state.c (main): Move setting of alarm ... (fork_child): ... here, and ... (fork_parent): ... here. 2018-06-12 Tom de Vries * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text. 2018-06-12 Andrew Burgess Stephen Roberts * gdb.threads/multiple-successive-infcall.exp: Remove kfail case, rewrite test to describe action performed, rather than possible failure. 2018-06-08 Gary Benson * gdb.threads/check-libthread-db.exp: New file. * gdb.threads/check-libthread-db.c: Likewise. 2018-06-05 Tom Tromey * gdb.base/default.exp: Update expected "show version" output. 2018-06-05 Tom Tromey PR cli/12326: * gdb.cp/static-print-quit.exp: Update. * lib/gdb.exp (pagination_prompt): Update. * gdb.base/page.exp: Use pagination_prompt. Add new tests. * gdb.python/python.exp: Update. 2018-06-04 Joel Brobecker * gdb.mi/list-thread-groups-no-inferior.exp: New testcase. 2018-06-01 Joel Brobecker * gdb.ada/bp_fun_addr: New testcase. 2018-06-01 Tom Tromey * gdb.xml/tdesc-regs.exp (load_description): Update expected results. * gdb.dwarf2/method-ptr.exp: Set language to C++. * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++. * gdb.cp/typeid.exp (do_typeid_tests): Update type_re. * gdb.base/maint.exp (maint_pass_if): Update. 2018-05-31 Maciej W. Rozycki * gdb.base/endian.exp: New test. * gdb.base/endian.c: New test source. 2018-05-24 Andrew Burgess PR gdb/23203 * gdb.base/bt-selected-frame.c: New file. * gdb.base/bt-selected-frame.exp: New file. * lib/gdb.exp (get_current_frame_number): New function. 2018-05-24 Maciej W. Rozycki Pedro Alves * gdb.threads/tls-core.c: Include (thread_proc): Call `abort'. * gdb.threads/tls-core.exp: Generate a core with core_find too. (tls_core_test): New procedure, bits factored out from ... (top level): ... here. Test both native cores and gcore cores. 2018-05-23 Tom Tromey * gdb.gdb/complaints.exp (test_initial_complaints): Simplify. 2018-05-23 Tom Tromey * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention symfile_complaints. (test_short_complaints): Likewise. (test_empty_complaints): Likewise. (test_initial_complaints): Update. 2018-05-23 Tom Tromey * gdb.gdb/complaints.exp (test_empty_complaints): Update. 2018-05-23 Tom Tromey * gdb.gdb/complaints.exp (test_serial_complaints): Remove. (test_short_complaints): Update. 2018-05-22 Pedro Alves * gdb.base/remote.exp: Only gdb_start after compiling the testcase. Issue "disconnect" before testing "set remote" command defaults. Issue clean_restart before running to main. 2018-05-22 Pedro Alves * gdb.base/remote.exp: Adjust expected output of "show remote memory-write-packet-size". Add tests for "set remote memory-write-packet-size 0" and "set remote memory-write-packet-size fixed/limit". 2018-05-22 Pedro Alves PR gdb/22973 * gdb.base/utf8-identifiers.c: New file. * gdb.base/utf8-identifiers.exp: New file. 2018-05-22 Pedro Franco de Carvalho * gdb.arch/powerpc-fpscr-gcore.exp: New file. 2018-05-22 Pedro Franco de Carvalho * gdb.arch/powerpc-vsx-gcore.exp: New file. 2018-05-18 Tom Tromey * gdb.base/ptype-offsets.exp: Update. 2018-05-17 Keith Seitz * gdb.ada/bp_inlined_func.exp: Update inlined frame locations in expected breakpoint stop locations. * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to move to proper scope to test variable values. * gdb.opt/inline-break.c (inline_func1, not_inline_func1) (inline_func2, not_inline_func2, inline_func3, not_inline_func3): New functions. (main): Call not_inline_func3. * gdb.opt/inline-break.exp: Start inferior and set breakpoints at inline_func1, inline_func2, and inline_func3. Test that when each breakpoint is hit, GDB properly reports both the stop location and the backtrace. Repeat tests for temporary breakpoints. 2018-05-15 Maciej W. Rozycki * gdb.server/server-kill.exp: Verify whether `server_pid' exists rather then trying to access it in determining whether the PID of `gdbserver' could have been retrieved. 2018-05-08 Andrew Burgess * gdb.arch/amd64-init-x87-values.S: New file. * gdb.arch/amd64-init-x87-values.exp: New file. 2018-05-08 Jan Kratochvil * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests. 2018-05-04 Tom Tromey PR python/22730: * gdb.python/python.exp: Test multi-line execute. 2018-05-04 Tom Tromey PR python/22731: * gdb.python/py-breakpoint.exp: Test setting breakpoint commands. 2018-05-04 Tom Tromey PR gdb/11750: * gdb.base/define.exp: Test defining a user command inside a user command. * gdb.base/commands.exp (define_if_without_arg_test): Test "define". 2018-05-04 Jan Kratochvil Pedro Alves PR breakpoints/19806 and support for PR external/20207. * gdb.base/watchpoint-unaligned.c: New file. * gdb.base/watchpoint-unaligned.exp: New file. 2018-05-04 Andrew Burgess * gdb.base/maint.exp: Make test names unique, use test_prefix_command_help to test 'help maint info', and remove repeated test of 'help maint'. 2018-05-04 Tom Tromey PR gdb/22619: * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat behavior. 2018-05-04 Andrew Burgess * gdb.base/maint.exp: Process output from 'maint print registers' line at a time. 2018-05-04 Andrew Burgess * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a timeout. 2018-05-03 Andrew Burgess * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register filter pattern. 2018-05-02 Pedro Alves * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and to_log_command renames. * gdb.base/sss-bp-on-user-bp-2.exp: Likewise. 2018-05-02 Tom Tromey * gdb.python/py-parameter.exp: Set test message. 2018-05-02 Tom Tromey PR python/20084: * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and PARAM_ZUINTEGER_UNLIMITED tests. 2018-04-28 Dan Robertson PR rust/23124 * gdb.rust/expr.exp: Test that the unit type is correctly parsed when casting. 2018-04-30 Tom Tromey * gdb.python/py-type.exp: Check align attribute. * gdb.python/py-type.c: New "aligncheck" global. 2018-04-30 Tom Tromey PR exp/17095: * gdb.dwarf2/dw2-align.exp: New file. * gdb.cp/align.exp: New file. * gdb.base/align.exp: New file. * lib/gdb.exp (gdb_int128_helper): New proc. (has_int128_c, has_int128_cxx): New caching procs. 2018-04-27 Tom Tromey PR rust/22545: * gdb.rust/simple.exp: Add inclusive range tests. 2018-04-26 Pedro Alves * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves ifunc breakpoint locations correctly of ifunc breakpoints set while the program resolves the ifunc. 2018-04-26 Pedro Alves * gdb.base/gnu-ifunc-final.c: New file. * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c. * gdb.base/gnu-ifunc.exp (executable): Delete. (staticexecutable): Adjust. (lib_opts, exec_opts): Delete. (make_binsuffix, build, set-break): New procedures. (misc_tests): New, with tests factored out from the top level. (top level): Test different combinations of ifunc resolver name, resolver with and with debug info, and ifunc target with and without debug info. Wrap static tests with with_target_prefix. 2018-04-26 Pedro Alves * gdb.compile/compile-ifunc.exp: Also expect "function has unknown return type" warnings. 2018-04-25 Pedro Alves * gdb.base/hook-stop.exp: Expect "killed" instead of "has been killed". * gdb.base/kill-after-signal.exp: Likewise. * gdb.threads/kill.exp: Likewise. 2018-04-24 Jan Kratochvil Sergio Durigan Junior Pedro Alves * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...' regexps to expect for '[Inferior ... detached]' as well. * gdb.base/attach.exp: Likewise. * gdb.base/catch-syscall.exp (check_for_program_end): Adjust "gdb_continue_to_end". (test_catch_syscall_with_wrong_args): Likewise. * gdb.base/foll-fork.exp: Adjust regexps to match '[' and ']'. Don't set 'verbose' on. * gdb.base/foll-vfork.exp: Likewise. * gdb.base/fork-print-inferior-events.c: New file. * gdb.base/fork-print-inferior-events.exp: New file. * gdb.base/hook-stop.exp: Adjust regexps to expect for new '[Inferior ... has been killed]' message. * gdb.base/kill-after-signal.exp: Likewise. * gdb.base/solib-overlap.exp: Adjust regexps to expect for new detach message. * gdb.threads/kill.exp: Adjust regexps to expect for new kill message. * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...' regexps to expect for '[Inferior ... detached]' as well. * gdb.threads/process-dies-while-detaching.exp: Likewise. 2018-04-24 Simon Marchi PR gdb/23104 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load. 2018-04-22 Rajendra SY PR gdb/23095 * gdb.base/break-probes.exp: Pass shlib_load to prepare_for_testing. Set normal_bp to r_debug_state if target is bsd. 2018-04-19 Richard Bunt * gdb.threads/multiple-successive-infcall.c: New test. * gdb.threads/multiple-successive-infcall.exp: New file. 2018-04-17 Tom Tromey * gdb.rust/simple.rs (Union): New type. (main): New local "u". * gdb.rust/simple.exp (test_one_slice): Add new test case. 2018-04-16 Andreas Arnez * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line number information in output of "whereis" command. * gdb.base/info-fun.exp: Likewise, for "info fun" command. 2018-04-13 Andreas Arnez * gdb.ada/info_types.exp: Adjust expected output to the line numbers now printed by "info var/func/type". * gdb.base/completion.exp: Likewise. * gdb.base/included.exp: Likewise. * gdb.cp/cp-relocate.exp: Likewise. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/namespace.exp: Likewise. * gdb.dwarf2/dw2-case-insensitive.exp: Likewise. 2018-04-13 Markus Metzger * gdb.btrace/cpu.exp: New. 2018-04-13 Markus Metzger * gdb.base/step-indirect-call-thunk.exp: New. * gdb.base/step-indirect-call-thunk.c: New. * gdb.reverse/step-indirect-call-thunk.exp: New. * gdb.reverse/step-indirect-call-thunk.c: New. 2018-04-11 Simon Marchi * gdb.base/pie-fork.c: New file. * gdb.base/pie-fork.exp: New file. 2018-04-11 Tom Tromey * gdb.rust/simple.exp: Add test for ".." struct initializer. 2018-04-10 Pedro Alves * gdb.base/fork-running-state.c (fork_child): Don't exit if parent exits. Instead loop running forever. (fork_parent): Run forever too. 2018-04-07 Simon Marchi * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use mi_continue_to_line. * gdb.mi/mi-stack.c (callee4): Add comment. 2018-04-07 Simon Marchi * gdb.mi/mi-stack.exp: Fix indentation. 2018-04-07 Simon Marchi PR gdb/22979 * gdb.arch/amd64-osabi.exp: New file. 2018-04-07 Simon Marchi PR gdb/22980 * gdb.base/osabi.exp: New file. 2018-04-02 Weimin Pan * gdb.cp/static-typedef-print.exp: New file. * gdb.cp/static-typedef-print.cc: New file. 2018-03-27 Joel Brobecker * gdb.ada/varsize_limit: New testcase. 2018-03-27 Joel Brobecker * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail. * gdb.ada/notcplusplus: New testcase. * gdb.base/c-linkage-name.c: New file. * gdb.base/c-linkage-name.exp: New testcase. 2018-03-26 Tom Tromey * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt. * gdb.python/py-framefilter.py (name_error): New global. (ErrorInName.function): Use name_error. 2018-03-26 Tom Tromey PR backtrace/15582: * gdb.python/py-framefilter.exp: Add "bt hide" test. 2018-03-23 Keith Seitz PR c++/22968 * gdb.cp/subtypes.exp: New file. * gdb.cp/subtypes.h: New file. * gdb.cp/subtypes.cc: New file. * gdb.cp/subtypes-2.cc: New file. 2018-03-23 Andrew Burgess * gdb.arch/amd64-disp-step-avx.S: Add '_start' label. (done): Call '_exit' not 'exit' to avoid atexit handlers. * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and -nostartfiles when compiling the test. Confirm that all registers xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after. 2018-03-23 Andrew Burgess * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag option, syntax was wrong anyway. * gdb.arch/arm-disp-step.exp: Likewise. * gdb.arch/sparc64-regs.exp: Likewise. * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag option, syntax was wrong anyway, switch to use prepare_for_testing. * gdb.arch/i386-disp-step.exp: Likewise. 2018-03-23 Andreas Arnez * gdb.ada/exec_changed.exp: Replace "target_info exists use_gdb_stub" by "use_gdb_stub". * gdb.ada/start.exp: Likewise. * gdb.base/async-shell.exp: Likewise. * gdb.base/attach-pie-misread.exp: Likewise. * gdb.base/attach-wait-input.exp: Likewise. * gdb.base/break-entry.exp: Likewise. * gdb.base/break-interp.exp: Likewise. * gdb.base/dprintf-detach.exp: Likewise. * gdb.base/nostdlib.exp: Likewise. * gdb.base/solib-nodir.exp: Likewise. * gdb.base/statistics.exp: Likewise. * gdb.base/testenv.exp: Likewise. * gdb.mi/mi-exec-run.exp: Likewise. * gdb.mi/mi-start.exp: Likewise. * gdb.multi/dummy-frame-restore.exp: Likewise. * gdb.multi/multi-arch-exec.exp: Likewise. * gdb.multi/multi-arch.exp: Likewise. * gdb.multi/tids.exp: Likewise. * gdb.multi/watchpoint-multi.exp: Likewise. * gdb.python/py-events.exp: Likewise. * gdb.threads/attach-into-signal.exp: Likewise. * gdb.threads/attach-stopped.exp: Likewise. * gdb.threads/threadapply.exp: Likewise. * lib/selftest-support.exp: Likewise. 2018-03-22 Andreas Arnez * gdb.base/info-proc.exp: Add test for "info proc cmdline". 2018-03-20 Stephen Roberts * gdb.perf/template-breakpoints.cc: New file. * gdb.perf/template-breakpoints.exp: New file. * gdb.perf/template-breakpoints.py: New file. 2018-03-19 Tom Tromey * gdb.rust/simple.rs (main): Add local variables field1, field2, y0. * gdb.rust/simple.exp: Test bare identifier form of struct initializer. 2018-03-19 Tom Tromey * gdb.gdb/observer.exp: Remove. 2018-03-19 Andreas Arnez * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the "qualified" option when setting breakpoints. * gdb.trace/backtrace.exp: Likewise. * gdb.trace/circ.exp: Likewise. * gdb.trace/collection.exp: Likewise. * gdb.trace/disconnected-tracing.exp: Likewise. * gdb.trace/ftrace-lock.exp: Likewise. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/infotrace.exp: Likewise. * gdb.trace/packetlen.exp: Likewise. * gdb.trace/passc-dyn.exp: Likewise. * gdb.trace/qtro.exp: Likewise. * gdb.trace/read-memory.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/signal.exp: Likewise. * gdb.trace/status-stop.exp: Likewise. * gdb.trace/strace.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/trace-condition.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. * gdb.trace/tstatus.exp: Likewise. * gdb.trace/tsv.exp: Likewise. * gdb.trace/unavailable-dwarf-piece.exp: Likewise. * gdb.trace/unavailable.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise. 2018-03-16 Andreas Arnez * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure that libinproctrace is copied to the target. 2018-03-14 Tom Tromey PR cli/14977: * gdb.base/printcmds.exp (test_printf): Add printf test of %s with a null pointer. * gdb.base/wchar.exp: Likewise. 2018-03-14 Tom Tromey PR cli/19918: * gdb.base/printcmds.exp (test_printf): Add printf test using '-' flag. 2018-03-08 Simon Marchi PR gdb/22841 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass "target" to remote_exec. 2018-03-08 Simon Marchi PR gdb/22841 * boards/gdbserver-base.exp (${board}_file, ${board}_download, ${board}_upload): Remove. 2018-03-07 Andreas Arnez * gdb.cp/watch-cp.cc: New test. * gdb.cp/watch-cp.exp: New file. 2018-03-06 Andrew Burgess * gdb.base/infcall-nested-structs.exp: New file. * gdb.base/infcall-nested-structs.c: New file. * gdb.base/float.exp: Add riscv support. 2018-03-02 Thomas Preud'homme * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits. * gdb.mi/dw2-ref-missing-frame-func.c: Likewise. 2018-02-28 Sergio Durigan Junior * gdb.server/abspath.exp: New file. * lib/gdb.exp (with_cwd): New procedure. 2018-02-28 Simon Marchi * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and use it. (gdb_is_target_remote_prompt): New proc. (gdb_is_target_remote): Use gdb_is_target_remote_prompt. (gdb_is_target_native): Pass prompt parameter to gdb_is_target_1. 2018-02-26 Simon Marchi * gdb.base/load-command.c: New file. * gdb.base/load-command.exp: New file. * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to... (gdb_is_target_1): ...this, and generalize for other targets than just remote. (gdb_is_target_remote): Use gdb_is_target_1. (gdb_is_target_native): use gdb_is_target_1. 2018-02-26 Tom Tromey PR python/16497: * gdb.python/py-framefilter.exp: Update test. 2018-02-26 Tom Tromey * gdb.dwarf2/variant.c: New file. * gdb.dwarf2/variant.exp: New file. 2018-02-26 Tom Tromey * gdb.rust/simple.exp: Accept more possible results in enum test. 2018-02-25 Simon Marchi * lib/cp-support.exp (cp_test_ptype_class): Move space inside parentheses. 2018-02-23 Maciej W. Rozycki * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the name of a variable: $actual_linejj -> $actual_line. 2018-02-21 John Baldwin * gdb.arch/amd64-i386-address.exp: Fix a typo. 2018-02-20 Markus Metzger * gdb.btrace/buffer-size.exp: Do not force BTS. 2018-02-14 Pedro Alves * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after getting a "Quit". 2018-02-09 Markus Metzger * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message. Fix test name. 2018-02-07 Simon Marchi * gdb.cp/m-static.exp: Check type of optimized out static member. 2018-02-03 Andrew Burgess * config/sid.exp (gdb_target_sid): Remove use of cleanup. * config/sim.exp (gdb_target_sim): Remove use of cleanup. 2018-02-01 Simon Marchi Leszek Swirski * gdb.python/py-prettyprint.c (struct to_string_returns_value_inner, struct to_string_returns_value_wrapper): New. (main): Add tsrvw variable. * gdb.python/py-prettyprint.py (ToStringReturnsValueInner, ToStringReturnsValueWrapper): New classes. (register_pretty_printers): Register new pretty-printers. * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing recursive pretty printer. * gdb.python/py-mi.exp: Likewise. 2018-02-01 Leszek Swirski * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member functions with the same name as an include file are parsed correctly. 2018-02-01 Yao Qi * gdb.base/attach.exp (do_attach_tests): Set sysroot to "\[^\r\n\]*". 2018-01-31 Nikola Prica * gdb.arch/powerpc-prologue-frame.s: New file. * gdb.arch/powerpc-prologue-frame.c: Likewise. * gdb.arch/powerpc-prologue-frame.exp: Likewise. 2018-01-31 Joel Brobecker * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test. 2018-01-30 Pedro Alves PR gdb/13211 * gdb.base/interrupt-daemon.c: New. * gdb.base/interrupt-daemon.exp: New. * gdb.multi/multi-term-settings.c: New. * gdb.multi/multi-term-settings.exp: New. 2018-01-30 Joel Brobecker * gdb.base/break.exp: Save the location where the breakpoint on break.c:47 was actually inserted when debugging the version compiled at -O2 and use it in the expected output of the "info break" test performed soon after. 2018-01-22 Pedro Alves Sergio Durigan Junior * gdb.base/whatis.exp: Add tests for 'set print object on' + 'whatis ' 'whatis *' and 'whatis &'. 2018-01-22 Joel Brobecker * gdb.base/break-include.c, gdb.base/break-include.inc, gdb.base/break-include.exp: New files. * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's line number now being the actual line number where the breakpoint was inserted. * gdb.mi/mi-break.exp: Likewise. * gdb.mi/mi-reverse.exp: Likewise. * gdb.mi/mi-simplerun.exp: Ditto. 2018-01-21 Andrew Burgess * gdb.python/py-mi.exp: Don't expect a thread-id for floating varobj. * gdb.mi/mi-var-create-rtti.exp: Likewise. 2018-01-21 Don Breazeal Andrew Burgess * gdb.mi/basics.c: Add new global. * gdb.mi/mi-frame-regs.exp: New file. * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new case. 2018-01-21 Andrew Burgess * gdb.arch/amd64-entry-value.exp: Test using @entry on a non-parameter, and on an unknown symbol. 2018-01-19 Tom Tromey * gdb.rust/modules.rs (TWENTY_THREE): New global. * gdb.rust/modules.exp: Add ::-qualified lookup test. 2018-01-19 Andreas Arnez * gdb.arch/s390-vregs.exp: Explicitly cast the return values of setrlimit and chdir to int. 2018-01-19 Andreas Arnez * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the function. (my_tend): Likewise. * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the rationale of avoiding FP- and vector instructions. 2018-01-19 Ruslan Kabatsayev * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from "info reg" with "\[ \t\]*". * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with "\[ \t\]+". * gdb.arch/s390-multiarch.exp: Ditto. * gdb.base/pc-fp.exp: Ditto. * gdb.reverse/i386-precsave.exp: Ditto. * gdb.reverse/i386-reverse.exp: Ditto. * gdb.reverse/i387-env-reverse.exp: Ditto. * gdb.reverse/i387-stack-reverse.exp: Ditto. 2018-01-18 Andreas Arnez * lib/gdb.exp (gdb_compile): Re-enable use of universal_compile_options for languages other than Rust. 2018-01-18 Andreas Arnez * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float. 2018-01-17 Mike Gulick PR gdb/16577 * gdb.base/solib-vanish.exp: New. * gdb.base/solib-vanish-main.c: New. * gdb.base/solib-vanish-lib1.c: New. * gdb.base/solib-vanish-lib2.c: New. 2018-01-17 Yao Qi * gdb.compile/compile.exp: Match the address printed for frame in the output of command "bt". 2018-01-15 Tom Tromey * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to compute sp_reg. 2018-01-12 Andrew Burgess * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed to prepare. (prepare): Return 0 on error, 1 on success. 2018-01-12 Pedro Alves * gdb.base/continue-after-aborted-step-over.c: New. * gdb.base/continue-after-aborted-step-over.exp: New. 2018-01-11 Simon Marchi * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load options when not creating an executable. 2018-01-11 Pedro Alves PR remote/22597 * gdb.server/stop-reply-no-thread.c: New file. * gdb.server/stop-reply-no-thread.exp: New file. 2018-01-10 Pedro Alves PR gdb/22670 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C functions too. Test setting breakpoints and printing C functions with no debug info too. * gdb.ada/bp_c_mixed_case/qux.c: New file. 2018-01-10 Pedro Alves PR gdb/22670 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with a fail. 2018-01-10 Pedro Alves PR gdb/22670 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls. 2018-01-08 Simon Marchi * gdb.server/unittest.exp: Match the output in non-development mode. 2018-01-08 Simon Marchi * gdb.gdb/unittest.exp: Match output in non-development mode. 2018-01-08 Joel Brobecker * gdb.ada/access_tagged_param.exp: Relax expected output for value of "ObjL" in "continue" to pck.inspect breakpoint test. 2018-01-08 Joel Brobecker * gdb.ada/arr_enum_idx_w_gap.exp: New file. * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file. 2018-01-05 Pedro Alves PR gdb/18653 * gdb.base/libsegfault.exp: New. 2018-01-05 Joel Brobecker PR gdb/22670 * gdb.ada/access_tagged_param.exp: New file. * gdb.ada/access_tagged_param/foo.adb: New file. 2018-01-05 Pedro Alves PR gdb/22670 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to exercise lower case too, and to exercise both full matching and wild matching. 2018-01-05 Joel Brobecker * gdb.ada/rename_subscript_param: New testcase. 2018-01-05 Jerome Guitton * gdb.ada/arr_acc_idx_w_gap: New testcase. 2018-01-05 Joel Brobecker * gdb.ada/convvar_comp: New testcase. 2018-01-05 Xavier Roirand * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type. (My_Table): New global variable. * testsuite/gdb.ada/array_char_idx.exp: Add test. 2018-01-04 Joel Brobecker PR gdb/22670 * gdb.ada/maint_with_ada: New testcase. 2018-01-04 Joel Brobecker PR gdb/22670 * gdb.ada/bp_c_mixed_case: New testcase. 2018-01-04 Joel Brobecker PR gdb/22670 * gdb.ada/complete.exp: Add "complete break ada" test. 2018-01-04 Joel Brobecker PR gdb/22670 * gdb.ada/info_addr_mixed_case: New testcase. 2018-01-03 Xavier Roirand * gdb.ada/excep_handle.exp: New testcase. * gdb.ada/excep_handle/foo.adb: New file. * gdb.ada/excep_handle/pck.ads: New file. 2018-01-03 Joel Brobecker * gdb.base/step-line.c: Add extra empty line in copyright header. * gdb.base/step-line.inp: Likewise. 2018-01-02 Joel Brobecker * gdb.ada/dyn_stride.exp: Add slice test. 2018-01-02 Joel Brobecker * gdb.ada/dyn_stride: New testcase. 2017-12-27 Stafford Horne * gdb.xml/extra-regs.xml: Add example foo reggroup. * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup. 2017-12-27 Stafford Horne * gdb.base/reggroups.c: New file. * gdb.base/reggroups.exp: New file. 2017-12-18 Joel Brobecker * gdb.dwarf2/ada-valprint-error.c: New file. * gdb.dwarf2/ada-valprint-error.exp: New file. 2017-12-18 Joel Brobecker * gdb.ada/assign_arr: New testcase. 2017-12-18 Xavier Roirand * gdb.ada/funcall_ptr: New testcase. 2017-12-15 Sergio Durigan Junior PR cli/16224 * gdb.base/ptype-offsets.cc: New file. * gdb.base/ptype-offsets.exp: New file. 2017-12-15 Yao Qi * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions' if XML is disabled. 2017-12-15 Xavier Roirand * gdb.ada/same_component_name: New testcase. 2017-12-14 Joel Brobecker * gdb.ada/str_binop_equal: New testcase. 2017-12-14 Joel Brobecker * gdb.ada/task_switch_in_core: New testcase. 2017-12-13 Simon Marchi * gdb.python/py-breakpoint.c (foo_ns::multiply): New function. * gdb.python/py-breakpoint.exp: Compile the test case as c++, call test_bkpt_qualified. (test_bkpt_qualified): New proc. 2017-12-13 Pedro Alves * lib/completion-support.exp (test_gdb_complete_tab_multiple): Tighten regexp by matching with an anchor. 2017-12-13 Pedro Alves * gdb.cp/cpcompletion.exp: Load completion-support.exp. ("expression with namespace"): New set of tests. * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar) (Nested::Test_NS::qux): New. * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add defaults to 'start_quote_char' and 'end_quote_char' parameters. 2017-12-13 Joel Brobecker * gdb.base/server-del-break.c: New file. * gdb.base/server-del-break.exp: New file. 2017-12-12 Stafford Horne * gdb.xml/tdesc-regs.exp: Add or1k support. 2017-12-12 Stafford Horne * gdb.base/bp-permanent.c: Define nop of or1k. 2017-12-11 Joel Brobecker * gdb.ada/variant_record_packed_array.exp: Adapt test to accept output with components being reordered. 2017-12-11 Joel Brobecker * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept output with components being reordered. 2017-12-08 Jan Kratochvil Pedro Alves * gdb.base/maint.exp (check for .gdb_index): Check also for .debug_names. * gdb.dlang/watch-loc.c (.debug_aranges): New. * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise. * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used) (.gdb_index used after symbol reloading): Support also .debug_names. * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New. 2017-12-08 Yao Qi * gdb.arch/aarch64-tagged-pointer.c (main): Update. * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint. 2017-12-08 Yao Qi * gdb.arch/aarch64-tagged-pointer.c (main): Update. * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint. 2017-12-08 Yao Qi * gdb.arch/aarch64-tagged-pointer.c: New file. * gdb.arch/aarch64-tagged-pointer.exp: New file. 2017-12-08 Sergio Durigan Junior * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call "int". 2017-12-07 Keith Seitz PR breakpoints/22569 * gdb.linespec/ls-errs.exp: Change expected result of "break -source this file has spaces.c -line 3". Check that an explicit source file followed by whitespace is identified as an invalid explicit location. 2017-12-07 Keith Seitz * gdb.cp/nested-types.cc: New file. * gdb.cp/nested-types.exp: New file. * lib/cp-support.exp: Load data-structures.exp library. (debug_cp_test_ptype_class): New global. (cp_ptype_class_verbose, next_line): New procedures. (cp_test_ptype_class): Add and document new parameter `recursive_qid'. Add and document new return value. Switch the list of lines to a queue. Add support for new `type' key for nested type definitions. Add debugging/troubleshooting messages. * lib/data-structures.exp: New file. 2017-12-07 Simon Marchi * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define with proc_with_prefix, don't use with_test_prefix. 2017-12-07 Tom Tromey * gdb.base/break.exp: Add test for empty "commands". 2017-12-07 Yao Qi * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on malloc and catch syscall. 2017-12-07 Phil Muldoon * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new tests for explicit locations. 2017-12-06 Pedro Alves * gdb.arch/i386-avx.exp: If testing with a RSP target, check force-disabling XML descriptions. 2017-12-04 Pedro Alves PR gdb/22499 * gdb.arch/amd64-disp-step-avx.S: New file. * gdb.arch/amd64-disp-step-avx.exp: New file. 2017-12-03 Pedro Alves * gdb.threads/process-dies-while-detaching.c: Include and . (parent_function): Print distinct messages when waitpid fails, or the child exits with a signal, or the child exits for an unhandled reason. * gdb.threads/process-dies-while-detaching.exp (detach_and_expect_exit): New 'inf_output_re' parameter and use it. Wait for both inferior output and GDB's prompt. Use an indirect spawn id list. (do_detach): New parameter 'child_exit'. Use it to compute expected inferior output. (test_detach, test_detach_watch, test_detach_killed_outside): Adjust to pass down the expected child exit kind. 2017-12-01 Joel Brobecker Sergio Durigan Junior Pedro Alves * gdb.base/readnever.c, gdb.base/readnever.exp: New files. 2017-12-01 Sergio Durigan Junior * gdb.base/relocate.exp: Add tests to guarantee that arguments to 'symbol-file' and 'add-symbol-file' can be position-independent. 2017-12-01 Yao Qi * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with the URL in copyright header. * gdb.arch/aarch64-fp.exp: Likewise. * gdb.arch/ppc64-atomic-inst.exp: Likewise. * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise. * gdb.base/expand-psymtabs.exp: Likewise. * gdb.cp/expand-psymtabs-cxx.exp: Likewise. * gdb.fortran/common-block.exp: Likewise. * gdb.fortran/common-block.f90: Likewise. * gdb.fortran/logical.exp: Likewise. * gdb.fortran/vla-datatypes.f90: Likewise. * gdb.fortran/vla-sub.f90: Likewise. 2017-11-30 Joel Brobecker * gdb.ada/repeat_dyn: New testcase. 2017-11-30 Ulrich Weigand * gdb.cell/gcore.exp: Fix typo when setting spu_bin. Update for changed thread numbering. * gdb.cell/bt.exp: Update for changed GDB output. 2017-11-30 Simon Marchi * boards/cc-with-tweaks.exp: Include local-board.exp instead of setting isremote by hand. * boards/dwarf4-gdb-index.exp: Likewise. * boards/fission.exp: Likewise. * boards/stabs.exp: Likewise. 2017-11-30 Pedro Alves * gdb.linespec/cpls-ops.exp (check_explicit_skips_function_argument): Extract the underlying type of size_t instead of hardcoding it. 2017-11-29 Pedro Alves PR c++/19436 * gdb.linespec/cpls-abi-tag.cc: New file. * gdb.linespec/cpls-abi-tag.exp: New file. 2017-11-29 Pedro Alves * gdb.base/langs.exp: Use -qualified. * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without it. * gdb.cp/namespace.exp: Use -qualified. * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2) (overload-3, template-overload, template-ret-type, const-overload) (const-overload-quoted, anon-ns, ambiguous-prefix): New procedures. (test_driver): Call them. * gdb.cp/save-bp-qualified.cc: New. * gdb.cp/save-bp-qualified.exp: New. * gdb.linespec/explicit.exp: Test -qualified. * lib/completion-support.exp (completion::explicit_opts_list): Add "-qualified". * lib/gdb.exp (gdb_breakpoint): Handle "qualified". 2017-11-29 Phil Muldoon * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests. 2017-11-29 Tom Tromey * gdb.base/relocate.exp: Update invalid argument test. Add new tests for invalid arguments. 2017-11-29 Thomas Preud'homme * gdb.cp/psymtab-parameter.cc (func): Change return type back to long. Return 0 as a long. * gdb.cp/psymtab-parameter.exp: Change func's return type back to long. 2017-11-29 Thomas Preud'homme * gdb.cp/breakpoint.cc (bar): Set return type to void. * gdb.cp/psymtab-parameter.cc (func): Likewise. * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of func (). * gdb.cp/shadow.cc (B.func): Return 0. 2017-11-27 Joel Brobecker * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust expected output in gdb_expect call to allow the exception message to be present as well. Fix syntax confusion to avoid TCL thinking that exception_name is an array. 2017-11-26 Ulrich Weigand * gdb.arch/spu-info.c: Include . (do_signal_test): Fix broken calls to write. * gdb.arch/spu-info.exp: Use prepare_for_testing. Fix checks for empty mailboxes. Update signal tests for corrected do_signal_test routine. Allow nonzero event status. * gdb.arch/spu-ls.exp: Use prepare_for_testing. * gdb.cell/arch.exp: Use standard_output_file. * gdb.cell/break.exp: Likewise. * gdb.cell/bt.exp: Likewise. * gdb.cell/core.exp: Likewise. * gdb.cell/dwarfaddr.exp: Likewise. * gdb.cell/ea-cache.exp: Likewise. * gdb.cell/ea-standalone.exp: Likewise. * gdb.cell/f-regs.exp: Likewise. * gdb.cell/fork.exp: Likewise. * gdb.cell/gcore.exp: Likewise. * gdb.cell/mem-access.exp: Likewise. * gdb.cell/ptype.exp: Likewise. * gdb.cell/registers.exp: Likewise. * gdb.cell/sizeof.exp: Likewise. * gdb.cell/solib-symbol.exp: Likewise. * gdb.cell/solib.exp: Likewise. 2017-11-25 Pedro Alves * gdb.base/complete-empty.exp: New file. * gdb.base/completion.exp: Adjust. 2017-11-25 Pedro Alves * gdb.linespec/cpls-ops.cc: New file. * gdb.linespec/cpls-ops.exp: New file. * lib/completion-support.exp (test_complete_prefix_range_re): New, factored out from ... (test_complete_prefix_range): ... this. 2017-11-24 Pedro Alves * gdb.linespec/cpcompletion.exp: New file. * gdb.linespec/cpls-hyphen.cc: New file. * gdb.linespec/cpls.cc: New file. * gdb.linespec/cpls2.cc: New file. * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust test to use test_gdb_complete_unique. Add label completion, keyword completion and explicit location completion tests. * lib/completion-support.exp: New file. 2017-11-24 Joel Brobecker * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp, gdb.ada/mi_ex_cond.exp: Accept optional exception message in when hitting an exception catchpoint. 2017-11-22 Yao Qi * gdb.base/macscp.exp: Append -g3 to additional_flags for clang. 2017-11-22 Simon Marchi * gdb.opt/inline-locals.exp: Mark tests as KFAIL. * gdb.dwarf2/info-locals-optimized-out.exp: New file. * gdb.dwarf2/info-locals-optimized-out.c: New file. 2017-11-22 Yao Qi * gdb.base/info-os.exp: Pass pthreads. * gdb.multi/multi-attach.exp: Likewise. 2017-11-22 Yao Qi * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc compiler. 2017-11-22 Yao Qi * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags. * gdb.base/break-interp.exp: Likewise. * gdb.base/jit-attach-pie.exp: Likewise. 2017-11-22 Ulrich Weigand * gdb.base/float128.c (large128): New variable. * gdb.base/float128.exp: Add test to print largest __float128 value. 2017-11-22 Ulrich Weigand * gdb.arch/vsx-regs.exp: Update register content checks. 2017-11-21 Ulrich Weigand * gdb.arch/ppc-longdouble.exp: New file. * gdb.arch/ppc-longdouble.c: Likewise. 2017-11-21 Pedro Alves * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'. 2017-11-20 Pedro Alves * gdb.base/whatis-ptype-typedefs.c (double_typedef) (long_double_typedef): New typedefs. Use DEF on double and long double. * gdb.base/whatis-ptype-typedefs.exp: Add double and long double cases. (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size', and 'long_double_ptr_same_size' locals. Use them to decide whether cast from array/function to float is valid/invalid. 2017-11-17 Tom Tromey * gdb.rust/traits.rs: New file. * gdb.rust/traits.exp: New file. 2017-11-17 Joel Brobecker * gdb.ada/minsyms: New testcase. 2017-11-16 Pedro Alves * gdb.base/bp-cmds-continue-ctrl-c.c: New file. * gdb.base/bp-cmds-continue-ctrl-c.exp: New file. 2017-11-16 Pedro Alves * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if gdb,noinferiorio is set, and use gdb_test_stdio otherwise. 2017-11-16 Pedro Alves * gdb.server/reconnect-ctrl-c.c: New file. * gdb.server/reconnect-ctrl-c.exp: New file. 2017-11-16 Phil Muldoon * gdb.python/py-rbreak.exp: New file. * gdb.python/py-rbreak.c: New file. * gdb.python/py-rbreak-func2.c: New file. 2017-11-16 Pedro Alves * gdb.base/starti.exp ("continue" test): Remove ".*"s from pattern. * lib/gdb.exp (gdb_test_sequence): Don't send empty command to GDB. 2017-11-15 Simon Marchi * gdb.tui/completionn.exp (test_tab_completion): Add space in regex. 2017-11-13 Simon Marchi * gdb.opt/inline-locals.exp: Remove trailing parentheses from test names. 2017-11-09 Pedro Alves * gdb.tui/tui-completion.exp (test_tab_completion): New procedure, factored out from ... (top level): ... here, and adjusted to avoid expecting beyond the prompt in a single gdb_test_multiple. 2017-11-09 Pedro Alves * gdb.multi/multi-attach.exp ("kill" test): Match the whole query output. * gdb.server/ext-attach.exp ("kill" test): Likewise. * gdb.server/ext-restart.exp ("kill" test): Likewise. * gdb.server/ext-run.exp ("kill" test): Likewise. * gdb.server/ext-wrapper.exp ("kill" test): Likewise. 2017-11-09 Pedro Alves * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to match till end of line. 2017-11-09 Pedro Alves * gdb.base/memattr.exp: Tighten regexes to match the end line. 2017-11-09 Pedro Alves * gdb.base/completion.exp (ignore_and_resync, test_tab_complete): New procedures, factored out from ... (top level): ... here, and adjusted to avoid expecting beyond the prompt in one go. 2017-11-09 Pedro Alves * gdb.asm/asm-source.exp ("kill" test): Match the whole query output. Fix '?' match. 2017-11-08 Joel Brobecker * gdb.ada/scoped_watch: New testcase. * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior which is actually correct. * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj. * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj. 2017-11-08 Pedro Alves * gdb.gdb/complaints.exp (test_initial_complaints) (test_serial_complaints, test_short_complaints): Call complaint_internal instead of complaint. 2017-11-08 Djordje Todorovic * gdb.threads/tls-core.c: New file. * gdb.threads/tls-core.exp: Likewise. 2017-11-08 Pedro Alves * gdb.ada/complete.exp (p ): New test. (p Exported_Capitalized): New test. (p exported_capitalized): New test. 2017-11-07 Pedro Alves * gdb.cp/ena-dis-br-range.exp: Add more tests. 2017-11-07 Pedro Alves * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test. * gdb.cp/ena-dis-br-range.exp: Adjust tests. (disable_invalid, disable_inverted, disable_negative): New procedures. ("bad numbers"): New set of tests. 2017-11-07 Pedro Alves * gdb.cp/ena-dis-br-range.exp: Add tests. 2017-11-07 Pedro Alves * gdb.base/ena-dis-br.exp: Don't expect "warning:". 2017-11-07 Xavier Roirand Pedro Alves * gdb.base/ena-dis-br.exp: Add reference to gdb.cp/ena-dis-br-range.exp. * gdb.cp/ena-dis-br-range.exp: New file. * gdb.cp/ena-dis-br-range.cc: New file. 2017-11-06 Pedro Alves * gdb.base/attach-non-pgrp-leader.c: New. * gdb.base/attach-non-pgrp-leader.exp: New. 2017-11-06 Pedro Alves * configure.ac: No longer check for termio.h and sgtty.h. * configure: Regenerate. * remote-utils.c: Include termios.h instead of gdb_termios.h. (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS. Remove termio and sgtty code. 2017-11-03 Yao Qi * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing in GDB is disabled. 2017-11-03 Yao Qi * gdb.python/py-thrhandle.exp: Skip it if python is not enabled. 2017-10-31 Simon Marchi * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace as a breakpoint command. 2017-10-28 Maksim Dzabraev PR python/21213 * gdb.python/py-infthread.exp: Test calling InferiorThread.inferior () multiple times in a row. 2017-10-27 Keith Seitz * gdb.opt/inline-break.exp (break_info_1): New procedure. Test "info break" for every inlined function breakpoint. 2017-10-27 Yao Qi * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered. 2017-10-26 Patrick Frants * gdb.cp/classes.exp (test_static_members): Test printing Outer::instance. * gdb.cp/classes.c (struct Inner, struct Outer): New. (Inner::instance, Outer::instance): New. 2017-10-24 Pedro Alves * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on extra console" test in two stages. 2017-10-24 Pedro Alves * gdb.threads/attach-into-signal.exp (corefunc): Reindent. 2017-10-24 Pedro Alves * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry" loop. 2017-10-24 Pedro Alves * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach $attempt" and "stoppedtry $stoppedtry" test prefixes. 2017-10-24 Pedro Alves * lib/gdb-python.exp (get_python_valueof): Add 'test' optional parameter and handle it. Don't output read value in test name. 2017-10-24 Pedro Alves * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use custom test name. 2017-10-24 Pedro Alves * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't include the unstable output directory name in the test's name. (initial_setup_simple) <'set args'>: Use custom test name. 2017-10-24 Pedro Alves * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test with explicit test name. 2017-10-20 Pedro Alves * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before 'wait -i'. Use gdb_assert and remote_close. 2017-10-19 Andrew Burgess * gdb.linespec/ls-errs.exp (do_test): Update comment, use line number from variable rather than hard-coded. 2017-10-19 Pedro Alves * gdb.base/long-inferior-output.c: New file. * gdb.base/long-inferior-output.exp: New file. 2017-11-18 Keith Seitz * gdb.cp/cpexprs.cc (base) : New method. (main): Call it. * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix. Add additional user-defined conversion operator tests. 2017-10-17 Pedro Alves * boards/native-stdio-gdbserver.exp: Load "local-board". 2017-10-17 Pedro Alves * gdb.base/quit-live.c: New file. * gdb.base/quit-live.exp: New file. 2017-10-16 Keith Seitz * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef) (class_with_protected_typedef, class_with_private_typedef) (struct_with_public_typedef, struct_with_protected_typedef) (struct_with_private_typedef): New classes/structs. * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for typedefs and access specifiers. 2017-10-16 Pedro Alves Simon Marchi * README (Local vs Remote vs Native): New section. * boards/local-board.exp: New file, with bits factored out from ... * boards/native-extended-gdbserver.exp: ... here. Load "local-board". * boards/native-gdbserver.exp: Load "local-board". (${board}_spawn, ${board}_exec): Delete. * boards/native-stdio-gdbserver.exp: Most contents factored out to ... * boards/stdio-gdbserver-base.exp: ... this new file. * boards/native-stdio-gdbserver.exp: Reimplement, by loading "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd procedure. * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base instead of native-stdio-gdbserver. Don't set gdb_server_prog nor stdio_gdbserver_command. (${board}_get_remote_address, ${board}_get_comm_port) (${board}_download, ${board}_upload): Delete. (get_target_remote_pipe_cmd): New. 2017-10-16 Simon Marchi * gdb.python/py-breakpoint.exp (test_bkpt_basic, test_bkpt_deletion, test_bkpt_cond_and_cmds, test_bkpt_invisible, test_watchpoints, test_bkpt_internal, test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address, test_bkpt_pending, test_bkpt_events): Use proc_with_prefix, remove with_test_prefix. 2017-10-13 Pedro Alves * lib/gdb.exp (target_can_use_run_cmd): New procedure. * gdb.base/annota1.exp: Use it instead of is_remote. * gdb.base/annota3.exp: Use it instead of is_remote. * gdb.cp/annota2.exp: Use it instead of is_remote. * gdb.cp/annota3.exp: Use it instead of is_remote. * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote. 2017-10-13 Pedro Alves * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote. (test_num_test_vars, run_and_count_vars, find_env) (test_set_unset_env, test_inherit_env_var): New procedures. (top level): Use them. 2017-10-13 Pedro Alves * lib/selftest-support.exp (selftest_setup): Extend comments, and also skip on stub-like targets. 2017-10-13 Pedro Alves PR gdb/22293 * gdb.base/find-unmapped.exp: Don't skip if is_remote target. (top level): Move some tests to ... (test_not_found): ... this new procedure. (top level): Call it. 2017-10-13 Pedro Alves * gdb.base/term.exp: Don't skip if is_remote target. Instead, expect different "info terminal" output if testing with a non-native target. 2017-10-13 Pedro Alves Simon Marchi PR python/12966 * gdb.python/py-evthreads.exp: Remove is_remote target kfail. 2017-10-13 Pedro Alves * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on" already. 2017-10-13 Pedro Alves * gdb.python/py-evsignal.exp: Check gdb_protocol instead of is_remote. 2017-10-13 Pedro Alves * gdb.threads/thread_events.exp: Check gdb_protocol instead of is_remote. 2017-10-13 Pedro Alves * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol is set. (corefile_test_attach): Likewise. Check can_spawn_for_attach instead of is_remote. 2017-10-13 Pedro Alves * gdb.base/remote.exp: Check gdb_protocol instead of is_remote. (top level): Add comment. 2017-10-13 Pedro Alves * gdb.base/remote.exp (top level): Fix comment typo and add missing return. 2017-10-13 Pedro Alves Simon Marchi * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests calls and add comments. Skip test if use_gdb_stub is set. (top level): Use "set cwd" command instead of "cd" command. 2017-10-13 Pedro Alves * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove is_remote target check. 2017-10-13 Pedro Alves * gdb.base/scope.exp: Use build_executable + clean_restart + gdb_file_cmd instead of prepare_for_testing and no longer skip "before run" tests on is_remote target boards. Update comments. * boards/native-extended-gdbserver.exp (extended_gdbserver_load_last_file): New, factored out from ... (gdb_load): ... this. Move further below and add comment. (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New. 2017-10-12 Pedro Alves * gdb.base/attach.exp: Remove references to gdb64. * gdb.base/dbx.exp: Remove references to gdb64. 2017-10-12 Simon Marchi Pedro Alves * gdb.base/label.exp: Remove is_remote target check. 2017-10-12 Pedro Alves * gdb.base/auvx.exp (coredir): Update comment. (top level) : Use "set cwd" command instead of "cd" command. 2017-10-12 Pedro Alves Simon Marchi * gdb.base/catch-fork-static.exp: No longer skip on is_remote target boards. 2017-10-12 Pedro Alves Simon Marchi * gdb.base/checkpoint.exp: Don't check is_remote or isnative. Instead skip if there's any gdb_protocol set. 2017-10-12 Simon Marchi Pedro Alves * gdb.base/dprintf-non-stop.exp: Remove is_remote target check. 2017-10-12 Pedro Alves Simon Marchi * gdb.base/argv0-symlink.exp: kfail on remote gdbserver, instead of on dejagnu remote boards. 2017-10-12 Pedro Alves Simon Marchi * gdb.base/inferior-died.exp: Remove is_remote and isnative checks. Use build_executable + clean_restart instead of prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead of enabling non-stop after starting gdb. 2017-10-12 Pedro Alves * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. * gdb.threads/non-ldr-exc-2.exp: Ditto. * gdb.threads/non-ldr-exc-3.exp: Ditto. * gdb.threads/non-ldr-exc-4.exp: Ditto. 2017-10-11 Anton Kolesov * gdb.arch/arc-tdesc-cpu.exp: New file. * gdb.arch/arc-tdesc-cpu.xml: Likewise. 2017-10-10 Simon Marchi * lib/gdb.exp (get_integer_valueof): Don't output read value in test name. 2017-10-10 Pedro Alves * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't expect CLI output. 2017-10-10 Pedro Alves * lib/selftest-support.exp (selftest_setup): Update for captured_command_loop's prototype change. 2017-10-09 Pedro Alves Test both arch1=>arch2 and arch2=>arch1. * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2) (srcfile2, binfile2, march1, march2): Remove globals. Largely factored out to... (append_arch1_options, append_arch2_options, append_arch_options) (build_executables): New procedures. (do_test): New 'first_arch' parameter. Use it to define 'from_exec' local. (top level): Add new 'first_arch' testing axis. 2017-10-09 Pedro Alves * gdb.multi/multi-arch-exec.c: Include and . (barrier): New. (thread_start, all_started): New functions. (main): Spawn new thread and wait until it is scheduled. * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads option. (do_test): Add 'selected_thread' parameter. Run to all_started instead of main. Explicitly set the breakpoint at main. Switch to the SELECTED_THREAD thread. (top level): Test handling the exec event with either the main thread or the second thread selected. 2017-10-09 Pedro Alves * gdb.base/print-file-var-main.c: Fix get_version_2 value check logic. Move STOP marker after the value checks. * gdb.base/print-file-var.exp (continue to STOP marker): Tighten regexp. 2017-10-06 Sandra Loosemore * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts. 2017-10-05 Ulrich Weigand * gdb.base/dfp-exprs.exp: Update tests to larger range of supported integer-to-dfp conversion. * gdb.base/dfp-test.exp: Likewise. 2017-10-04 Pedro Alves * gdb.multi/hangout.c: Include . (hangout_loop): New function. (main): Call alarm. Call hangout_loop in a loop. * gdb.multi/hello.c: Include . (hello_loop): New function. (main): Call alarm. Call hangout_loop in a loop. * gdb.multi/multi-arch.exp: Test running to a breakpoint one inferior with the other selected. 2017-10-04 Simon Marchi * gdb.mi/list-thread-groups-available.exp: New file. * gdb.mi/list-thread-groups-available.c: New file. 2017-10-04 Sergio Durigan Junior * gdb.base/set-cwd.exp: Make it available on native-extended-gdbserver. 2017-10-04 Sergio Durigan Junior * gdb.base/set-cwd.c: New file. * gdb.base/set-cwd.exp: Likewise. 2017-10-02 Tom Tromey PR rust/22236: * gdb.rust/simple.rs (main): New variable "fslice". * gdb.rust/simple.exp: Add slice tests. Update string tests. 2017-10-02 Tom Tromey * gdb.rust/simple.exp: Test ptype of a slice. 2017-10-02 Tom Tromey * gdb.rust/simple.exp: Test index of slice. 2017-09-27 Tom Tromey * gdb.base/macscp.exp: Add __VA_OPT__ tests. 2017-09-26 Thomas Preud'homme Pedro Alves * gdb.base/compare-sections.exp (get value of read-only section): Read as unsigned value. (corrupt read-only section): Likewise and don't set written if patching failed. 2017-09-21 Kevin Buettner * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New files. 2017-09-20 Pedro Alves * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect symbol names in gdb's output. * gdb.cp/overload.exp ("list all overloads"): Likewise. 2017-09-20 Pedro Alves * gdb.base/list-ambiguous.exp (test_list_ambiguous_function): Rename to ... (test_list_ambiguous_symbol): ... this and add a symbol name parameter. Adjust. (test_list_ambiguous_function): Reimplement on top of test_list_ambiguous_symbol and also test listing ambiguous variables. * gdb.base/list-ambiguous0.c (ambiguous): Rename to ... (ambiguous_fun): ... this. (ambiguous_var): New. * gdb.base/list-ambiguous1.c (ambiguous): Rename to ... (ambiguous_fun): ... this. (ambiguous_var): New. 2017-09-19 John Baldwin * gdb.base/starti.c: New file. * gdb.base/starti.exp: New file. * lib/gdb.exp (gdb_starti_cmd): New procedure. 2017-09-14 Pedro Alves * gdb.base/nodebug.exp (nodebug_runto): New procedure. (top level): Use it instead of runto. 2017-09-11 Tom Tromey * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test. 2017-09-11 Tom Tromey * gdb.python/py-infthread.exp: Add tests for new_thread event. * gdb.python/py-inferior.exp: Add tests for new inferior events. 2017-09-08 Christoph Weinmann * gdb.fortran/printing-types.exp: New file. * gdb.fortran/printing-types.exp: New file. 2017-09-08 Bernhard Heckel * gdb.fortran/vla-ptype.exp: Fix typos. * gdb.fortran/vla-value.exp: Same. 2017-09-08 Bernhard Heckel * gdb.fortran/vla-value.exp: Use type names defined in libfortran. * gdb.mi/mi-var-child-f.exp: Likewise. * gdb.mi/mi-vla-fortran.exp: Likewise. 2017-09-08 Frank Penczek Christoph Weinmann Bernhard Heckel * gdb.fortran/ptr-indentation.f90: New file. * gdb.fortran/ptr-indentation.exp: New file. 2017-09-05 Tom Tromey PR gdb/22010: * gdb.base/sizeof.exp (check_valueof): Cast char constant to int. 2017-09-06 Thomas Preud'homme * gdb.arch/thumb2-it.exp: Cast call to assembly defined function. 2017-09-06 Jan Kratochvil * gdb.threads/tls-nodebug-pie.c: New file. * gdb.threads/tls-nodebug-pie.exp: New file. 2017-09-05 Tom Tromey * lib/gdb.exp (gdb_compile): Don't use universal_compile_options for rust. 2017-09-05 Simon Marchi * gdb.multi/multi-arch-exec.exp: Test with different "follow-exec-mode" settings. (do_test): New procedure. 2017-09-04 Pedro Alves * gdb.base/func-static.c (S::method const, S::method volatile) (S::method volatile const): New methods. (c_s, v_s, cv_s): New instances. (main): Call method() on them. * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables. (cannot_resolve): New procedure. (cxx_scopes_list): Test cv methods. Add print-scope-quote and print-quote-unquoted columns. (do_test): Test printing each scope too. 2017-09-04 Pedro Alves * gdb.base/local-static.exp: Also test with class::method::variable wholly quoted. * gdb.cp/m-static.exp (class::method::variable): Remove test. 2017-09-04 Pedro Alves * gdb.base/local-static.c: New. * gdb.base/local-static.cc: New. * gdb.base/local-static.exp: New. 2017-09-04 Pedro Alves * gdb.asm/asm-source.exp: Add casts to int. * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2) (dataglobal64_1, dataglobal64_2): New globals. * gdb.base/nodebug.exp: Test different expressions involving the new globals, with print, whatis and ptype. Add casts to int. * gdb.base/solib-display.exp: Add casts to int. * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int. * gdb.cp/m-static.exp: Add cast to int. * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int. * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing tls variable with no debug info without a cast. Test with a cast to int too. * gdb.trace/entry-values.exp: Add casts. 2017-09-04 Pedro Alves * gdb.base/nodebug.exp: Test that ptype's error about functions with unknown return type includes the function name too. 2017-09-04 Pedro Alves * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast return type of munmap in infcall. * gdb.base/break-probes.exp: Cast return type of foo in infcall. * gdb.base/checkpoint.exp: Simplify using for loop. Cast return type of ftell in infcall. * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return type of getpid in infcall. * gdb.base/infcall-exec.exp: Cast return type of execlp in infcall. * gdb.base/info-os.exp: Cast return type of getpid in infcall. Bail on failure to extract the pid. * gdb.base/nodebug.c: #include . (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto): New functions. * gdb.base/nodebug.exp (test_call_promotion): New procedure. Change expected output of print/whatis/ptype with functions with no debug info. Test all supported languages. Call test_call_promotion. * gdb.compile/compile.exp: Adjust expected output to expect warning. * gdb.threads/siginfo-threads.exp: Likewise. 2017-09-04 Pedro Alves * gdb.base/callfuncs.exp (do_function_calls): New parameter "prototypes". Test calling float functions via prototyped and unprototyped function pointers. (perform_all_tests): New parameter "prototypes". Pass it down. (top level): Pass down "prototypes" parameter to perform_all_tests. 2017-09-04 Simon Marchi * gdb.base/commands.exp (loop_break_test, loop_continue_test): Test with nested loops. 2017-09-04 Simon Marchi * gdb.base/commands.exp: Call the new procedures. (loop_break_test, loop_continue_test): New procedures. 2017-09-04 Simon Marchi * gdb.base/commands.exp: Call new procedure. (define_if_without_arg_test): New procedure. 2017-09-04 Pedro Alves * gdb.base/list-ambiguous.exp: New file. * gdb.base/list-ambiguous0.c: New file. * gdb.base/list-ambiguous1.c: New file. * gdb.base/list.exp (test_list_range): Adjust expected output. 2017-08-31 Sergio Durigan Junior * gdb.base/share-env-with-gdbserver.c: New file. * gdb.base/share-env-with-gdbserver.exp: Likewise. 2017-08-28 Simon Marchi * gdb.base/commands.exp (gdbvar_simple_if_test, gdbvar_simple_if_test, gdbvar_complex_if_while_test, progvar_simple_if_test, progvar_simple_while_test, progvar_complex_if_while_test, user_defined_command_test, user_defined_command_args_eval, user_defined_command_args_stack_test, user_defined_command_manyargs_test, bp_deleted_in_command_test, temporary_breakpoint_commands, gdb_test_no_prompt, redefine_hook_test, redefine_backtrace_test): Remove "global gdb_prompt". 2017-08-28 Simon Marchi * gdb.base/commands.exp (user_defined_command_case_sensitivity): New proc, call it from toplevel. 2017-08-23 Sergio Durigan Junior PR remote/21852 * gdb.server/normal.c: New file, copied from gdb.base. * gdb.server/run-without-local-binary.exp: New file. 2017-08-07 Weimin Pan * gdb.arch/sparc64-adi.exp: New file. * gdb.arch/sparc64-adi.c: New file. 2017-08-22 Pedro Alves * gdb.cp/overload.exp (line_range_pattern): New procedure. (top level): Add "list all overloads" tests. 2017-08-22 Tom Tromey * gdb.gdb/xfullpath.exp: Remove. 2017-08-21 Pedro Alves PR gdb/19487 * gdb.base/symbol-alias.c: New. * gdb.base/symbol-alias2.c: New. * gdb.base/symbol-alias.exp: New. 2017-08-21 Pedro Alves * gdb.base/dfp-test.c (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t) (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New. * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests. * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests. * gdb.base/whatis-ptype-typedefs.c: New. * gdb.base/whatis-ptype-typedefs.exp: New. * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs. (an_int, an_int_type, an_int_type2): New globals. * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests involving typedefs and cast expressions. * gdb.python/py-prettyprint.py (class pp_int_typedef): New. (lookup_typedefs_function): New. (typedefs_pretty_printers_dict): New. (top level): Register lookup_typedefs_function in gdb.pretty_printers. 2017-08-18 Yao Qi * gdb.server/unittest.exp: New. 2017-08-15 Sergio Durigan Junior PR gdb/21954 * gdb.base/environ.exp: Add test to check if 'unset environment' works. 2017-08-14 Andreas Arnez * lib/gdb.exp (universal_compile_options): New caching proc. (gdb_compile): Suppress GCC's coloring of messages. 2017-08-14 Tom Tromey PR gdb/21675: * gdb.base/printcmds.exp (test_radices): New function. * gdb.dwarf2/var-access.exp: Use p/u, not p/d. * gdb.base/sizeof.exp (check_valueof): Use p/d. * lib/gdb.exp (get_integer_valueof): Use p/d. 2017-08-12 Simon Marchi * lib/gdb.exp (get_valueof): Don't capture end-of-line characters. 2017-08-05 Tom Tromey * gdb.rust/simple.exp: Allow String to appear in a different namespace. 2017-07-26 Yao Qi * gdb.gdb/unittest.exp: Invoke command "maintenance check xml-descriptions". 2017-07-24 Andreas Arnez * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the calling context. (hex128): Drop erroneous calculation of parameters. 2017-07-22 Simon Marchi * gdb.python/py-unwind.exp: Disable stack protection when building test file. 2017-07-20 Pedro Alves * gdb.base/default.exp (set language): Adjust expected output. 2017-07-20 Pedro Alves * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ... (test_minsym): ... this, and make static. (get_pck__foo__bar__minsym): Rename to ... (get_test_minsym): ... this. * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust symbol names and comments. * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ... (get_test_minsym): ... this. (pck__foo__bar__minsym__2): Rename to ... (test_minsym): ... this. (main): Adjust. 2017-07-17 Pedro Alves * gdb.base/completion.exp: Adjust expected output. * gdb.linespec/ls-errs.exp: Don't send tab characters, now that the completer works. 2017-07-17 Pedro Alves * gdb.linespec/ls-errs.exp (do_test): Adjust expected output. 2017-07-15 Andrew Burgess * gdb.mi/mi-vla-fortran.exp: Make test names unique. 2017-07-14 Tom Tromey PR rust/21764: * gdb.rust/simple.exp: Add tests. 2017-07-14 Tom Tromey * gdb.rust/simple.exp: Add regression test for PR rust/21763. 2017-07-14 Pedro Alves * gdb.linespec/base/one/thefile.cc (z1): New function. * gdb.linespec/base/two/thefile.cc (z2): New function. * gdb.linespec/linespec.exp: Add tests. 2017-07-13 Andrew Burgess * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing to mi_create_breakpoint. 2017-07-13 Andrew Burgess * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to mi_create_breakpoint. 2017-07-11 Iain Buclaw * gdb.dlang/demangle.exp: Update for demangling changes. 2017-07-09 Tom Tromey * gdb.dwarf2/shortpiece.exp: New file. 2017-07-06 David Blaikie * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO, built from fissiont-multi-cu{1,2}.c. * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp, except putting 'main' and 'func' in separate CUs in the same DWO file. * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO test. * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO test. 2017-07-06 Pedro Alves * gdb.python/py-unwind.exp: Test flushregs. 2017-06-30 Sergio Durigan Junior PR cli/21688 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new tests for alias commands and trailing whitespace. 2017-06-30 Sergio Durigan Junior PR cli/21688 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New procedure. Call it. 2017-06-29 Pedro Alves * gdb.base/printcmds.exp: Add tests. 2017-06-28 Doug Gilmore PR gdb/21337 * gdb.base/reread-readsym.exp: New file. * gdb.base/reread-readsym.c: New file. 2017-06-21 Kevin Buettner * gdb.exp (gdb_test): Using noncapturing parens for the $pattern subpattern. 2017-06-19 Peter Bergner * gdb.arch/powerpc-power9.exp: Update test case for new lnia extended mnemonic. * gdb.arch/powerpc-power9.s: Likewise. 2017-06-14 Andreas Arnez * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx on 32-bit x86 targets. Exploit is_*_target macros where appropriate. 2017-06-13 Andreas Arnez * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned register pieces. 2017-06-13 Andreas Arnez * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields located in one or more DWARF pieces. 2017-06-13 Andreas Arnez * lib/gdb.exp (get_endianness): New proc. * gdb.arch/aarch64-fp.exp: Use it. * gdb.arch/altivec-regs.exp: Likewise. * gdb.arch/e500-regs.exp: Likewise. * gdb.arch/vsx-regs.exp: Likewise. * gdb.base/dump.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/gnu_vector.exp: Likewise. * gdb.dwarf2/formdata16.exp: Likewise. * gdb.dwarf2/implptrpiece.exp: Likewise. * gdb.dwarf2/nonvar-access.exp: Likewise. * gdb.python/py-inferior.exp: Likewise. * gdb.trace/unavailable-dwarf-piece.exp: Likewise. 2017-06-13 Andreas Arnez PR gdb/21226 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that stack value pieces are taken from the LSB end. 2017-06-13 Andreas Arnez * gdb.dwarf2/var-pieces.exp: Add test case for modifying a variable at nonzero offset. 2017-06-13 Andreas Arnez * gdb.dwarf2/var-access.c: New file. * gdb.dwarf2/var-access.exp: New test. * lib/gdb-utils.exp (string_to_regexp): Quote braces as well. 2017-06-12 Tom Tromey * gdb.dwarf2/formdata16.exp: Add tests. 2017-06-12 Tom Tromey * gdb.arch/altivec-regs.exp: Expect decimal results for uint128. 2017-06-12 Tom Tromey PR exp/16225: * gdb.reverse/i386-sse-reverse.exp: Update tests. * gdb.arch/vsx-regs.exp: Update tests. * gdb.arch/s390-vregs.exp (hex128): New proc. Update test. * gdb.arch/altivec-regs.exp: Update tests. 2017-06-07 Sergio Durigan Junior * gdb.base/startup-with-shell.c: New file. * gdb.base/startup-with-shell.exp: Likewise. 2017-06-07 Sergio Durigan Junior * gdb.server/non-existing-program.exp: Update regex in order to reflect the fact that gdbserver is now using fork_inferior (with a shell) to startup the inferior. 2017-05-30 Simon Marchi * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't support function calls from GDB. 2017-05-21 Tom Tromey PR rust/21466: * gdb.rust/unsized.exp: New file. * gdb.rust/unsized.rs: New file. 2017-05-19 Tom Tromey PR rust/21484: * gdb.rust/watch.exp: New file. * gdb.rust/watch.rs: New file. 2017-05-18 Tom Tromey * gdb.rust/simple.exp: Allow Box to be qualified. 2017-05-18 Thomas Preud'homme * gdb.base/float.exp: Expect GDB prompt for targets without FPU. 2017-05-18 Pedro Alves * gdb.base/fileio.c (test_write, test_read, test_close) (test_fstat): Don't print 'ret' in the fail path. 2017-05-18 Pedro Alves * gdb.base/fileio.c (stop, test_open, test_write, test_read) (test_lseek, test_close, test_stat, test_fstat, test_isatty) (test_system, test_rename, test_unlink, test_time): Change prototypes. * gdb.base/fileio.exp (stop_msg): Adjust. 2017-05-18 Pedro Alves * gdb.base/fileio.c (null_str): New global. (test_stat): Use it. * gdb.base/fileio.exp: Remove nowarnings. 2017-05-17 Yao Qi * gdb.base/fileio.exp: Pass nowarnings to gdb_compile. 2017-05-17 Simon Marchi * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add argument command. (top-level): Invoke test_set_inferior_tty. 2017-05-04 Pedro Alves * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread): Add parens to print call for Python 3. 2017-05-03 Keith Seitz * gdb.cp/oranking.cc (dummy): New function to grab malloc. (main): Call it. 2017-05-01 Tim Wiederhake * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling to prev and next. 2017-05-01 Tim Wiederhake * gdb.python/py-record-btrace.exp: Remove test for gdb.BtraceInstruction.error. 2017-05-01 Tim Wiederhake * gdb.python/py-record-btrace.exp: Remove Record.ptid test. 2017-05-01 Tim Wiederhake * gdb.python/py-record-btrace-threads.c: New file. * gdb.python/py-record-btrace-threads.exp: New file. 2017-04-28 Sergio Durigan Junior PR testsuite/8595 * gdb.base/environ.exp: Make test available in all architectures. Move bits related to "info program" testing to gdb.base/info-program.exp. Rewrite tests to use the two new procedures mentione below. (test_set_show_env_var) New procedure. (test_set_show_env_var_equal): Likewise. * gdb.base/info-program.exp: New file. 2017-04-27 Keith Seitz * gdb.cp/oranking.cc (test15): New function. (main): Call test15 and declare additional variables for testing. * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and "p foo101('abc')" tests. Add tests for cv qualifier overloads. * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for "lvalue reference overload" test. * gdb.cp/rvalue-ref-params.exp: Remove kfail status for "print value of f1 on Child&& in f2" test. 2017-04-19 Pedro Alves * gdb.threads/threadapply.exp (kill_and_remove_inferior): New procedure. (top level): Call it. * lib/gdb.exp (gdb_define_cmd): New procedure. 2017-04-12 Pedro Alves PR gdb/21323 * gdb.cp/wide_char_types.c: Include . (wchar): New global. * gdb.cp/wide_char_types.exp (wide_char_types_program) (do_test_wide_char, wide_char_types_no_program, top level): Add wchar_t testing. 2017-04-12 Pedro Alves PR c++/21323 * gdb.cp/wide_char_types.c: New file. * gdb.cp/wide_char_types.exp: New file. 2017-04-05 Sergio Durigan Junior PR gdb/21352 * gdb.trace/tsv.exp: Add test for "tsave -r". 2017-03-30 Iain Buclaw * gdb.dlang/watch-loc.c: New file. * gdb.dlang/watch-loc.exp: New file. 2017-03-29 Jan Kratochvil * gdb.python/py-section-script.exp (sepdebug): New testcases. 2017-03-28 Anton Kolesov * gdb.arch/arc-analyze-prologue.S: New file. * gdb.arch/arc-analyze-prologue.exp: Likewise. 2017-03-28 Anton Kolesov * gdb.arch/arc-decode-insn.S: New file. * gdb.arch/arc-decode-insn.exp: Likewise. 2017-03-21 Ivo Raisr PR tdep/20928 * gdb.arch/sparc64-regs.exp: New file. * gdb.arch/sparc64-regs.S: Likewise. 2017-03-21 Tim Wiederhake * gdb.python/py-record-btrace.exp: Check for buffer on Python 2 and memory view on Python 3. 2017-03-20 Artemiy Volkov Keith Seitz PR gdb/14441 * gdb.cp/demangle.exp: Add rvalue reference tests. * gdb.cp/rvalue-ref-casts.cc: New file. * gdb.cp/rvalue-ref-casts.exp: New file. * gdb.cp/rvalue-ref-overload.cc: New file. * gdb.cp/rvalue-ref-overload.exp: New file. * gdb.cp/rvalue-ref-params.cc: New file. * gdb.cp/rvalue-ref-params.exp: New file. * gdb.cp/rvalue-ref-sizeof.cc: New file. * gdb.cp/rvalue-ref-sizeof.exp: New file. * gdb.cp/rvalue-ref-types.cc: New file. * gdb.cp/rvalue-ref-types.exp: New file. * gdb.python/py-rvalue-ref-value-cc.cc: New file. * gdb.python/py-rvalue-ref-value-cc.exp: New file. 2017-03-20 Marc-Andre Laperle * gdb.mi/mi-solib.exp (test_file_list_shared_libraries): New procedure. 2017-03-20 Marc-Andre Laperle * lib/mi-support.exp (mi_gdb_test): Add additional message for unexpected output. 2017-03-20 Andreas Arnez * gdb.base/examine-backward.c (Barrier): New character array constant, to ensure that TestStrings is preceded by a string terminator. 2017-03-16 Andreas Arnez * lib/dwarf.exp: Add support for DW_OP_implicit_pointer. * gdb.dwarf2/nonvar-access.exp: Add test for stack value location and implicit pointer into such a location. 2017-03-16 Doug Evans * gdb.python/py-lazy-string (pointer): Really add new typedef. 2017-03-16 Thomas Preud'homme * gdb.cp/m-static.exp: Fix expectation for prototype of test5.single_constructor and single_constructor::single_constructor. 2017-03-16 Doug Evans * gdb.guile/scm-value.c (main) Delete locals sptr, sn. * gdb.guile/scm-lazy-string.c: New file. * gdb.guile/scm-value.exp: Move lazy string tests to ... * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests for pointer, array, typedef lazy strings. 2017-03-16 Doug Evans PR python/17728, python/18439, python/18779 * gdb.python/py-value.c (main) Delete locals sptr, sn. * gdb.python/py-lazy-string.c (pointer): New typedef. (main): New locals ptr, array, typedef_ptr. * gdb.python/py-value.exp: Move lazy string tests to ... * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer, array, typedef lazy strings. 2017-03-14 Anton Kolesov * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof): Add optional 'test' parameter. 2017-03-13 Simon Marchi * gdb.base/commands.exp (backslash_in_multi_line_command_test): Skip for versions of DejaGnu < 1.5. 2017-03-13 Simon Marchi * lib/gdb.exp (dejagnu_version): New proc. * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): Use dejagnu_version. 2017-03-10 Keith Seitz PR c++/8128 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument type from destructor regexps. Add a branch which actually passes the test. Adjust "ptype t5i" test names. 2017-03-08 Pedro Alves * gdb.base/step-over-exit.exp: Add explicit test message. 2017-03-08 Pedro Alves PR gdb/18360 * gdb.threads/interrupt-while-step-over.c: New file. * gdb.threads/interrupt-while-step-over.exp: New file. 2017-03-08 Pedro Alves * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix. * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix. 2017-03-08 Pedro Alves * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting PKRU as not supported as a PASS. 2017-03-08 Pedro Alves * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test prefix instead of $binfile1/$binfile2. * gdb.btrace/gcore.exp: Use "core" instead of unstable path name in test message. * gdb.python/py-completion.exp: Use "load python file" as test messages instead of unstable path names. 2017-03-08 Pedro Alves Jan Kratochvil PR cli/21218 * gdb.base/commands.exp (backslash_in_multi_line_command_test): New proc. (top level): Call it. 2017-03-08 Pedro Alves PR tui/21216 * gdb.tui/tui-nl-filtered-output.exp: New file. 2017-03-08 Pedro Alves * gdb.base/completion.exp: Move TUI completion tests to ... * gdb.tui/completion.exp: ... this new file. 2017-03-08 Pedro Alves * gdb.base/tui-disasm-long-lines.c, gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c, gdb.base/tui-layout.exp: Move to ... * gdb.tui/: ... this new directory. 2017-03-07 Pedro Alves * gdb.base/tui-layout.c: New file. * gdb.base/tui-layout.exp: New file. 2017-03-07 Pedro Alves * gdb.base/tui-layout.c: Rename to ... * gdb.base/tui-disasm-long-lines.c: ... this. * gdb.base/tui-layout.exp: Rename to ... * gdb.base/tui-disasm-long-lines.exp: ... this. 2017-03-07 Pedro Alves * gdb.base/tui-layout.exp: Add intro comment and fix typo. 2017-03-07 Walfred Tedeschi * i386-mpx-call.c: New file. * i386-mpx-call.exp: New file. 2017-02-28 Peter Bergner * gdb.arch/powerpc-power.exp: Delete test. * gdb.arch/powerpc-power.s: Likewise. * gdb.disasm/disassembler-options.exp: New test. * gdb.arch/powerpc-altivec.exp: Likewise. * gdb.arch/powerpc-altivec.s: Likewise. * gdb.arch/powerpc-altivec2.exp: Likewise. * gdb.arch/powerpc-altivec2.s: Likewise. * gdb.arch/powerpc-altivec3.exp: Likewise. * gdb.arch/powerpc-altivec3.s: Likewise. * gdb.arch/powerpc-power7.exp: Likewise. * gdb.arch/powerpc-power7.s: Likewise. * gdb.arch/powerpc-power8.exp: Likewise. * gdb.arch/powerpc-power8.s: Likewise. * gdb.arch/powerpc-power9.exp: Likewise. * gdb.arch/powerpc-power9.s: Likewise. * gdb.arch/powerpc-vsx.exp: Likewise. * gdb.arch/powerpc-vsx.s: Likewise. * gdb.arch/powerpc-vsx2.exp: Likewise. * gdb.arch/powerpc-vsx2.s: Likewise. * gdb.arch/powerpc-vsx3.exp: Likewise. * gdb.arch/powerpc-vsx3.s: Likewise. * gdb.arch/arm-disassembler-options.exp: Likewise. * gdb.arch/powerpc-disassembler-options.exp: Likewise. * gdb.arch/s390-disassembler-options.exp: Likewise. 2017-02-23 Luis Machado * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ... (check_supported_features): ... this. Changed return type to void. (supports_rdseed): New static global. (rdseed): Check supports_rdseed. (initialize): Call check_supported_features. 2017-02-21 Edjunior Barbosa Machado * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx and lqarx/stqcx. * gdb.arch/ppc64-isa207-atomic-inst.S: New file. * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise. 2017-02-21 Edjunior Barbosa Machado * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with uppercase. 2017-02-20 Jan Kratochvil * gdb.dwarf2/formdata16.c: New file. * gdb.dwarf2/formdata16.exp: New file. * lib/dwarf.exp (Dwarf): Add DW_FORM_data16. 2017-02-20 Jan Kratochvil * gdb.arch/amd64-entry-value-param-dwarf5.S: New file. * gdb.arch/amd64-entry-value-param-dwarf5.c: New file. * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file. * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and DW_AT_GNU_*. 2017-02-20 Jan Kratochvil * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string. 2017-02-15 Sergio Durigan Junior PR gdb/21164 * gdb.base/maint.exp: Add testcases for when the commands do not have arguments. 2017-02-15 Thomas Preud'homme * gdb.cp/chained-calls.exp: Use p instead of P. 2017-02-14 Tim Wiederhake * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp, gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file. 2017-02-14 Tom Tromey PR python/13598: * gdb.python/py-events.exp: Add before_prompt event tests. 2017-02-14 Andreas Arnez * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets. 2017-02-13 Luis Machado * gdb.linespec/explicit.c (my_unique_function_name): New function. (main): Call my_unique_function_name. * gdb.linespec/explicit.exp: Use my_unique_function_name to test completion of patterns with a single match. Add missing -re switches to gdb_test_multiple calls. 2017-02-13 Luis Machado * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and return if core file is not recognized. 2017-02-10 Simon Marchi * gdb.base/new-ui.exp (do_test): Test queries behavior on main and extra UIs. 2017-02-10 Simon Marchi * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use proc_with_prefix. 2017-02-10 Tom Tromey * gdb.python/py-xmethods.exp: Use "p" command, not "P". 2017-02-10 Martin Galvan PR gdb/21122 * gdb.base/help.exp: Update match pattern for testing 'help commands'. 2017-02-08 Jerome Guitton * gdb.base/define.exp: Add test for command abbreviations in define. 2017-02-06 Luis Machado * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c. * gdb.reverse/insn-reverse-x86.c: New file. 2017-02-06 Ivo Raisr PR tdep/20936 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests. 2017-02-03 Tom Tromey PR rust/21097: * gdb.rust/simple.exp: Add new tests. 2017-02-02 Pedro Alves * gdb.mi/mi-logging.exp: Add "redirect while already logging" tests. 2017-02-01 Andreas Arnez * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of taking a 2-byte value out of a 4-byte DWARF implicit value on big-endian targets. * gdb.dwarf2/nonvar-access.exp: Add more comments to existing logic. Add test cases for DW_OP_implicit. 2017-02-01 Markus Metzger * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running. 2017-02-01 Markus Metzger * gdb.btrace/enable.exp: Call gdb_exit before skip_gdbserver_tests. 2017-02-01 Markus Metzger * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to GDBFLAGS. 2017-02-01 Markus Metzger * gdb.btrace/buffer-size.exp: Add unsupported/untested message if the test is skipped. * gdb.btrace/data.exp: Likewise. * gdb.btrace/delta.exp: Likewise. * gdb.btrace/dlopen.exp: Likewise. * gdb.btrace/enable-running.exp: Likewise. * gdb.btrace/enable.exp: Likewise. * gdb.btrace/exception.exp: Likewise. * gdb.btrace/function_call_history.exp: Likewise. * gdb.btrace/gcore.exp: Likewise. * gdb.btrace/instruction_history.exp: Likewise. * gdb.btrace/multi-thread-step.exp: Likewise. * gdb.btrace/nohist.exp: Likewise. * gdb.btrace/non-stop.exp: Likewise. * gdb.btrace/reconnect.exp: Likewise. * gdb.btrace/record_goto-step.exp: Likewise. * gdb.btrace/record_goto.exp: Likewise. * gdb.btrace/rn-dl-bind.exp: Likewise. * gdb.btrace/segv.exp: Likewise. * gdb.btrace/step.exp: Likewise. * gdb.btrace/stepi.exp: Likewise. * gdb.btrace/tailcall-only.exp: Likewise. * gdb.btrace/tailcall.exp: Likewise. * gdb.btrace/tsx.exp: Likewise. * gdb.btrace/unknown_functions.exp: Likewise. * gdb.btrace/vdso.exp: Likewise. 2017-02-01 Markus Metzger * gdb.btrace/enable-running.c: New. * gdb.btrace/enable-running.exp: New. 2017-01-27 Walfred Tedeschi * gdb.arch/amd64-gs_base.c: New file. * gdb.arch/amd64-gs_base.exp: New file. 2017-01-26 Luis Machado * lib/memory.exp: Remove spurious empty newlines. 2017-01-26 Simon Marchi * gdb.python/py-bad-printers.exp: Load python file using "source". * gdb.python/py-events.exp: Likewise. * gdb.python/py-evsignal.exp: Likewise. * gdb.python/py-evthreads.exp: Likewise. * gdb.python/py-frame-args.exp: Likewise. * gdb.python/py-framefilter-invalidarg.exp: Likewise. * gdb.python/py-framefilter-mi.exp: Likewise. * gdb.python/py-framefilter.exp: Likewise. * gdb.python/py-mi.exp: Likewise. * gdb.python/py-pp-maint.exp: Likewise. * gdb.python/py-pp-registration.exp: Likewise. * gdb.python/py-prettyprint.exp: Likewise. (run_lang_tests): Likewise. * gdb.python/py-typeprint.exp: Likewise. 2017-01-26 Luis Machado * lib/memory.exp: New file. * lib/gdb.exp: Load memory.exp. * gdb.base/memattr.exp (delete_memory): Move proc to lib/memory.exp and rename to delete_memory_regions. Replace delete_memory with delete_memory_regions. Cleanup memory regions before tests. * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions before tests. 2017-01-26 Luis Machado * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own files. (initialize): New function conditionally defined. (testcases): Move within conditional block. (main): Call initialize. * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits of gdb.reverse/insn-reverse.c. * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of gdb.reverse/insn-reverse.c. 2017-01-26 Yao Qi * gdb.base/all-architectures.exp.in (do_arch_tests): Test disassemble on address 0. 2017-01-25 Andreas Arnez Yao Qi * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler. * gdb.dwarf2/implptr-64bit.S: Remove. * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some variables in caller's context. Add DW_OP_implicit_value. 2017-01-25 Yao Qi * lib/dwarf.exp (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer with proper size. 2017-01-20 Luis Machado * gdb.python/py-xmethods.exp: Fix test names starting with lowercase and add untested calls. 2017-01-20 Luis Machado * gdb.python/python.exp: Check line number against what GDB thinks the line number is for func1. 2017-01-08 Iain Buclaw * gdb.dlang/debug-expr.exp: New file. 2016-12-23 Luis Machado Fix test names for the following files: * gdb.ada/exec_changed.exp * gdb.ada/info_types.exp * gdb.arch/aarch64-atomic-inst.exp * gdb.arch/aarch64-fp.exp * gdb.arch/altivec-abi.exp * gdb.arch/altivec-regs.exp * gdb.arch/amd64-byte.exp * gdb.arch/amd64-disp-step.exp * gdb.arch/amd64-dword.exp * gdb.arch/amd64-entry-value-inline.exp * gdb.arch/amd64-entry-value-param.exp * gdb.arch/amd64-entry-value-paramref.exp * gdb.arch/amd64-entry-value.exp * gdb.arch/amd64-i386-address.exp * gdb.arch/amd64-invalid-stack-middle.exp * gdb.arch/amd64-invalid-stack-top.exp * gdb.arch/amd64-optimout-repeat.exp * gdb.arch/amd64-prologue-skip.exp * gdb.arch/amd64-prologue-xmm.exp * gdb.arch/amd64-stap-special-operands.exp * gdb.arch/amd64-stap-wrong-subexp.exp * gdb.arch/amd64-tailcall-cxx.exp * gdb.arch/amd64-tailcall-noret.exp * gdb.arch/amd64-tailcall-ret.exp * gdb.arch/amd64-tailcall-self.exp * gdb.arch/amd64-word.exp * gdb.arch/arm-bl-branch-dest.exp * gdb.arch/arm-disp-step.exp * gdb.arch/arm-neon.exp * gdb.arch/arm-single-step-kernel-helper.exp * gdb.arch/avr-flash-qualifier.exp * gdb.arch/disp-step-insn-reloc.exp * gdb.arch/e500-abi.exp * gdb.arch/e500-regs.exp * gdb.arch/ftrace-insn-reloc.exp * gdb.arch/i386-avx512.exp * gdb.arch/i386-bp_permanent.exp * gdb.arch/i386-byte.exp * gdb.arch/i386-cfi-notcurrent.exp * gdb.arch/i386-disp-step.exp * gdb.arch/i386-dr3-watch.exp * gdb.arch/i386-float.exp * gdb.arch/i386-gnu-cfi.exp * gdb.arch/i386-mpx-map.exp * gdb.arch/i386-mpx-sigsegv.exp * gdb.arch/i386-mpx-simple_segv.exp * gdb.arch/i386-mpx.exp * gdb.arch/i386-permbkpt.exp * gdb.arch/i386-prologue.exp * gdb.arch/i386-signal.exp * gdb.arch/i386-size-overlap.exp * gdb.arch/i386-unwind.exp * gdb.arch/i386-word.exp * gdb.arch/mips-fcr.exp * gdb.arch/powerpc-d128-regs.exp * gdb.arch/powerpc-stackless.exp * gdb.arch/ppc64-atomic-inst.exp * gdb.arch/s390-stackless.exp * gdb.arch/s390-tdbregs.exp * gdb.arch/s390-vregs.exp * gdb.arch/sparc-sysstep.exp * gdb.arch/thumb-bx-pc.exp * gdb.arch/thumb-singlestep.exp * gdb.arch/thumb2-it.exp * gdb.arch/vsx-regs.exp * gdb.asm/asm-source.exp * gdb.base/a2-run.exp * gdb.base/advance.exp * gdb.base/all-bin.exp * gdb.base/anon.exp * gdb.base/args.exp * gdb.base/arithmet.exp * gdb.base/async-shell.exp * gdb.base/async.exp * gdb.base/attach-pie-noexec.exp * gdb.base/attach-twice.exp * gdb.base/auto-load.exp * gdb.base/bang.exp * gdb.base/bitfields.exp * gdb.base/break-always.exp * gdb.base/break-caller-line.exp * gdb.base/break-entry.exp * gdb.base/break-inline.exp * gdb.base/break-on-linker-gcd-function.exp * gdb.base/break-probes.exp * gdb.base/break.exp * gdb.base/breakpoint-shadow.exp * gdb.base/call-ar-st.exp * gdb.base/call-sc.exp * gdb.base/call-signal-resume.exp * gdb.base/call-strs.exp * gdb.base/callfuncs.exp * gdb.base/catch-fork-static.exp * gdb.base/catch-gdb-caused-signals.exp * gdb.base/catch-load.exp * gdb.base/catch-signal-fork.exp * gdb.base/catch-signal.exp * gdb.base/catch-syscall.exp * gdb.base/charset.exp * gdb.base/checkpoint.exp * gdb.base/chng-syms.exp * gdb.base/code-expr.exp * gdb.base/code_elim.exp * gdb.base/commands.exp * gdb.base/completion.exp * gdb.base/complex.exp * gdb.base/cond-expr.exp * gdb.base/condbreak.exp * gdb.base/consecutive.exp * gdb.base/continue-all-already-running.exp * gdb.base/coredump-filter.exp * gdb.base/corefile.exp * gdb.base/dbx.exp * gdb.base/debug-expr.exp * gdb.base/define.exp * gdb.base/del.exp * gdb.base/disabled-location.exp * gdb.base/disasm-end-cu.exp * gdb.base/disasm-optim.exp * gdb.base/display.exp * gdb.base/duplicate-bp.exp * gdb.base/ena-dis-br.exp * gdb.base/ending-run.exp * gdb.base/enumval.exp * gdb.base/environ.exp * gdb.base/eu-strip-infcall.exp * gdb.base/eval-avoid-side-effects.exp * gdb.base/eval-skip.exp * gdb.base/exitsignal.exp * gdb.base/expand-psymtabs.exp * gdb.base/filesym.exp * gdb.base/find-unmapped.exp * gdb.base/finish.exp * gdb.base/float.exp * gdb.base/foll-exec-mode.exp * gdb.base/foll-exec.exp * gdb.base/foll-fork.exp * gdb.base/fortran-sym-case.exp * gdb.base/freebpcmd.exp * gdb.base/func-ptr.exp * gdb.base/func-ptrs.exp * gdb.base/funcargs.exp * gdb.base/gcore-buffer-overflow.exp * gdb.base/gcore-relro-pie.exp * gdb.base/gcore-relro.exp * gdb.base/gcore.exp * gdb.base/gdb1090.exp * gdb.base/gdb11530.exp * gdb.base/gdb11531.exp * gdb.base/gdb1821.exp * gdb.base/gdbindex-stabs.exp * gdb.base/gdbvars.exp * gdb.base/hbreak.exp * gdb.base/hbreak2.exp * gdb.base/included.exp * gdb.base/infcall-input.exp * gdb.base/inferior-died.exp * gdb.base/infnan.exp * gdb.base/info-macros.exp * gdb.base/info-os.exp * gdb.base/info-proc.exp * gdb.base/info-shared.exp * gdb.base/info-target.exp * gdb.base/infoline.exp * gdb.base/interp.exp * gdb.base/interrupt.exp * gdb.base/jit-reader.exp * gdb.base/jit-simple.exp * gdb.base/kill-after-signal.exp * gdb.base/kill-detach-inferiors-cmd.exp * gdb.base/label.exp * gdb.base/langs.exp * gdb.base/ldbl_e308.exp * gdb.base/line-symtabs.exp * gdb.base/linespecs.exp * gdb.base/list.exp * gdb.base/long_long.exp * gdb.base/longest-types.exp * gdb.base/maint.exp * gdb.base/max-value-size.exp * gdb.base/memattr.exp * gdb.base/mips_pro.exp * gdb.base/morestack.exp * gdb.base/moribund-step.exp * gdb.base/multi-forks.exp * gdb.base/nested-addr.exp * gdb.base/nextoverexit.exp * gdb.base/noreturn-finish.exp * gdb.base/noreturn-return.exp * gdb.base/nostdlib.exp * gdb.base/offsets.exp * gdb.base/opaque.exp * gdb.base/pc-fp.exp * gdb.base/permissions.exp * gdb.base/print-symbol-loading.exp * gdb.base/prologue-include.exp * gdb.base/psymtab.exp * gdb.base/ptype.exp * gdb.base/random-signal.exp * gdb.base/randomize.exp * gdb.base/range-stepping.exp * gdb.base/readline-ask.exp * gdb.base/recpar.exp * gdb.base/recurse.exp * gdb.base/relational.exp * gdb.base/restore.exp * gdb.base/return-nodebug.exp * gdb.base/return.exp * gdb.base/run-after-attach.exp * gdb.base/save-bp.exp * gdb.base/scope.exp * gdb.base/sect-cmd.exp * gdb.base/set-lang-auto.exp * gdb.base/set-noassign.exp * gdb.base/setvar.exp * gdb.base/sigall.exp * gdb.base/sigbpt.exp * gdb.base/siginfo-addr.exp * gdb.base/siginfo-infcall.exp * gdb.base/siginfo-obj.exp * gdb.base/siginfo.exp * gdb.base/signals-state-child.exp * gdb.base/signest.exp * gdb.base/sigstep.exp * gdb.base/sizeof.exp * gdb.base/skip.exp * gdb.base/solib-corrupted.exp * gdb.base/solib-nodir.exp * gdb.base/solib-search.exp * gdb.base/stack-checking.exp * gdb.base/stale-infcall.exp * gdb.base/stap-probe.exp * gdb.base/start.exp * gdb.base/step-break.exp * gdb.base/step-bt.exp * gdb.base/step-line.exp * gdb.base/step-over-exit.exp * gdb.base/step-over-syscall.exp * gdb.base/step-resume-infcall.exp * gdb.base/step-test.exp * gdb.base/store.exp * gdb.base/structs3.exp * gdb.base/sym-file.exp * gdb.base/symbol-without-target_section.exp * gdb.base/term.exp * gdb.base/testenv.exp * gdb.base/ui-redirect.exp * gdb.base/until.exp * gdb.base/unwindonsignal.exp * gdb.base/value-double-free.exp * gdb.base/vla-datatypes.exp * gdb.base/vla-ptr.exp * gdb.base/vla-sideeffect.exp * gdb.base/volatile.exp * gdb.base/watch-cond-infcall.exp * gdb.base/watch-cond.exp * gdb.base/watch-non-mem.exp * gdb.base/watch-read.exp * gdb.base/watch-vfork.exp * gdb.base/watchpoint-cond-gone.exp * gdb.base/watchpoint-delete.exp * gdb.base/watchpoint-hw-hit-once.exp * gdb.base/watchpoint-hw.exp * gdb.base/watchpoint-stops-at-right-insn.exp * gdb.base/watchpoints.exp * gdb.base/wchar.exp * gdb.base/whatis-exp.exp * gdb.btrace/buffer-size.exp * gdb.btrace/data.exp * gdb.btrace/delta.exp * gdb.btrace/dlopen.exp * gdb.btrace/enable.exp * gdb.btrace/exception.exp * gdb.btrace/function_call_history.exp * gdb.btrace/gcore.exp * gdb.btrace/instruction_history.exp * gdb.btrace/nohist.exp * gdb.btrace/reconnect.exp * gdb.btrace/record_goto-step.exp * gdb.btrace/record_goto.exp * gdb.btrace/rn-dl-bind.exp * gdb.btrace/segv.exp * gdb.btrace/step.exp * gdb.btrace/stepi.exp * gdb.btrace/tailcall-only.exp * gdb.btrace/tailcall.exp * gdb.btrace/tsx.exp * gdb.btrace/unknown_functions.exp * gdb.btrace/vdso.exp * gdb.compile/compile-ifunc.exp * gdb.compile/compile-ops.exp * gdb.compile/compile-print.exp * gdb.compile/compile-setjmp.exp * gdb.cp/abstract-origin.exp * gdb.cp/ambiguous.exp * gdb.cp/annota2.exp * gdb.cp/annota3.exp * gdb.cp/anon-ns.exp * gdb.cp/anon-struct.exp * gdb.cp/anon-union.exp * gdb.cp/arg-reference.exp * gdb.cp/baseenum.exp * gdb.cp/bool.exp * gdb.cp/breakpoint.exp * gdb.cp/bs15503.exp * gdb.cp/call-c.exp * gdb.cp/casts.exp * gdb.cp/chained-calls.exp * gdb.cp/class2.exp * gdb.cp/classes.exp * gdb.cp/cmpd-minsyms.exp * gdb.cp/converts.exp * gdb.cp/cp-relocate.exp * gdb.cp/cpcompletion.exp * gdb.cp/cpexprs.exp * gdb.cp/cplabel.exp * gdb.cp/cplusfuncs.exp * gdb.cp/cpsizeof.exp * gdb.cp/ctti.exp * gdb.cp/derivation.exp * gdb.cp/destrprint.exp * gdb.cp/dispcxx.exp * gdb.cp/enum-class.exp * gdb.cp/exception.exp * gdb.cp/exceptprint.exp * gdb.cp/expand-psymtabs-cxx.exp * gdb.cp/expand-sals.exp * gdb.cp/extern-c.exp * gdb.cp/filename.exp * gdb.cp/formatted-ref.exp * gdb.cp/fpointer.exp * gdb.cp/gdb1355.exp * gdb.cp/gdb2495.exp * gdb.cp/hang.exp * gdb.cp/impl-this.exp * gdb.cp/infcall-dlopen.exp * gdb.cp/inherit.exp * gdb.cp/iostream.exp * gdb.cp/koenig.exp * gdb.cp/local.exp * gdb.cp/m-data.exp * gdb.cp/m-static.exp * gdb.cp/mb-ctor.exp * gdb.cp/mb-inline.exp * gdb.cp/mb-templates.exp * gdb.cp/member-name.exp * gdb.cp/member-ptr.exp * gdb.cp/meth-typedefs.exp * gdb.cp/method.exp * gdb.cp/method2.exp * gdb.cp/minsym-fallback.exp * gdb.cp/misc.exp * gdb.cp/namelessclass.exp * gdb.cp/namespace-enum.exp * gdb.cp/namespace-nested-import.exp * gdb.cp/namespace.exp * gdb.cp/nextoverthrow.exp * gdb.cp/no-dmgl-verbose.exp * gdb.cp/non-trivial-retval.exp * gdb.cp/noparam.exp * gdb.cp/nsdecl.exp * gdb.cp/nsimport.exp * gdb.cp/nsnested.exp * gdb.cp/nsnoimports.exp * gdb.cp/nsrecurs.exp * gdb.cp/nsstress.exp * gdb.cp/nsusing.exp * gdb.cp/operator.exp * gdb.cp/oranking.exp * gdb.cp/overload-const.exp * gdb.cp/overload.exp * gdb.cp/ovldbreak.exp * gdb.cp/ovsrch.exp * gdb.cp/paren-type.exp * gdb.cp/parse-lang.exp * gdb.cp/pass-by-ref.exp * gdb.cp/pr-1023.exp * gdb.cp/pr-1210.exp * gdb.cp/pr-574.exp * gdb.cp/pr10687.exp * gdb.cp/pr12028.exp * gdb.cp/pr17132.exp * gdb.cp/pr17494.exp * gdb.cp/pr9067.exp * gdb.cp/pr9167.exp * gdb.cp/pr9631.exp * gdb.cp/printmethod.exp * gdb.cp/psmang.exp * gdb.cp/psymtab-parameter.exp * gdb.cp/ptype-cv-cp.exp * gdb.cp/ptype-flags.exp * gdb.cp/re-set-overloaded.exp * gdb.cp/ref-types.exp * gdb.cp/rtti.exp * gdb.cp/scope-err.exp * gdb.cp/shadow.exp * gdb.cp/smartp.exp * gdb.cp/static-method.exp * gdb.cp/static-print-quit.exp * gdb.cp/temargs.exp * gdb.cp/templates.exp * gdb.cp/try_catch.exp * gdb.cp/typedef-operator.exp * gdb.cp/typeid.exp * gdb.cp/userdef.exp * gdb.cp/using-crash.exp * gdb.cp/var-tag.exp * gdb.cp/virtbase.exp * gdb.cp/virtfunc.exp * gdb.cp/virtfunc2.exp * gdb.cp/vla-cxx.exp * gdb.disasm/t01_mov.exp * gdb.disasm/t02_mova.exp * gdb.disasm/t03_add.exp * gdb.disasm/t04_sub.exp * gdb.disasm/t05_cmp.exp * gdb.disasm/t06_ari2.exp * gdb.disasm/t07_ari3.exp * gdb.disasm/t08_or.exp * gdb.disasm/t09_xor.exp * gdb.disasm/t10_and.exp * gdb.disasm/t11_logs.exp * gdb.disasm/t12_bit.exp * gdb.disasm/t13_otr.exp * gdb.dlang/circular.exp * gdb.dwarf2/arr-stride.exp * gdb.dwarf2/arr-subrange.exp * gdb.dwarf2/atomic-type.exp * gdb.dwarf2/bad-regnum.exp * gdb.dwarf2/bitfield-parent-optimized-out.exp * gdb.dwarf2/callframecfa.exp * gdb.dwarf2/clztest.exp * gdb.dwarf2/corrupt.exp * gdb.dwarf2/data-loc.exp * gdb.dwarf2/dup-psym.exp * gdb.dwarf2/dw2-anon-mptr.exp * gdb.dwarf2/dw2-anonymous-func.exp * gdb.dwarf2/dw2-bad-mips-linkage-name.exp * gdb.dwarf2/dw2-bad-unresolved.exp * gdb.dwarf2/dw2-basic.exp * gdb.dwarf2/dw2-canonicalize-type.exp * gdb.dwarf2/dw2-case-insensitive.exp * gdb.dwarf2/dw2-common-block.exp * gdb.dwarf2/dw2-compdir-oldgcc.exp * gdb.dwarf2/dw2-compressed.exp * gdb.dwarf2/dw2-const.exp * gdb.dwarf2/dw2-cp-infcall-ref-static.exp * gdb.dwarf2/dw2-cu-size.exp * gdb.dwarf2/dw2-dup-frame.exp * gdb.dwarf2/dw2-entry-value.exp * gdb.dwarf2/dw2-icycle.exp * gdb.dwarf2/dw2-ifort-parameter.exp * gdb.dwarf2/dw2-inline-break.exp * gdb.dwarf2/dw2-inline-param.exp * gdb.dwarf2/dw2-intercu.exp * gdb.dwarf2/dw2-intermix.exp * gdb.dwarf2/dw2-lexical-block-bare.exp * gdb.dwarf2/dw2-linkage-name-trust.exp * gdb.dwarf2/dw2-minsym-in-cu.exp * gdb.dwarf2/dw2-noloc.exp * gdb.dwarf2/dw2-op-call.exp * gdb.dwarf2/dw2-op-out-param.exp * gdb.dwarf2/dw2-opt-structptr.exp * gdb.dwarf2/dw2-param-error.exp * gdb.dwarf2/dw2-producer.exp * gdb.dwarf2/dw2-ranges-base.exp * gdb.dwarf2/dw2-ref-missing-frame.exp * gdb.dwarf2/dw2-reg-undefined.exp * gdb.dwarf2/dw2-regno-invalid.exp * gdb.dwarf2/dw2-restore.exp * gdb.dwarf2/dw2-restrict.exp * gdb.dwarf2/dw2-single-line-discriminators.exp * gdb.dwarf2/dw2-strp.exp * gdb.dwarf2/dw2-undefined-ret-addr.exp * gdb.dwarf2/dw2-unresolved.exp * gdb.dwarf2/dw2-var-zero-addr.exp * gdb.dwarf2/dw4-sig-types.exp * gdb.dwarf2/dwz.exp * gdb.dwarf2/dynarr-ptr.exp * gdb.dwarf2/enum-type.exp * gdb.dwarf2/gdb-index.exp * gdb.dwarf2/implptr-64bit.exp * gdb.dwarf2/implptr-optimized-out.exp * gdb.dwarf2/implptr.exp * gdb.dwarf2/implref-array.exp * gdb.dwarf2/implref-const.exp * gdb.dwarf2/implref-global.exp * gdb.dwarf2/implref-struct.exp * gdb.dwarf2/mac-fileno.exp * gdb.dwarf2/main-subprogram.exp * gdb.dwarf2/member-ptr-forwardref.exp * gdb.dwarf2/method-ptr.exp * gdb.dwarf2/missing-sig-type.exp * gdb.dwarf2/nonvar-access.exp * gdb.dwarf2/opaque-type-lookup.exp * gdb.dwarf2/pieces-optimized-out.exp * gdb.dwarf2/pieces.exp * gdb.dwarf2/pr10770.exp * gdb.dwarf2/pr13961.exp * gdb.dwarf2/staticvirtual.exp * gdb.dwarf2/subrange.exp * gdb.dwarf2/symtab-producer.exp * gdb.dwarf2/trace-crash.exp * gdb.dwarf2/typeddwarf.exp * gdb.dwarf2/valop.exp * gdb.dwarf2/watch-notconst.exp * gdb.fortran/array-element.exp * gdb.fortran/charset.exp * gdb.fortran/common-block.exp * gdb.fortran/complex.exp * gdb.fortran/derived-type-function.exp * gdb.fortran/derived-type.exp * gdb.fortran/logical.exp * gdb.fortran/module.exp * gdb.fortran/multi-dim.exp * gdb.fortran/nested-funcs.exp * gdb.fortran/print-formatted.exp * gdb.fortran/subarray.exp * gdb.fortran/vla-alloc-assoc.exp * gdb.fortran/vla-datatypes.exp * gdb.fortran/vla-history.exp * gdb.fortran/vla-ptr-info.exp * gdb.fortran/vla-ptype-sub.exp * gdb.fortran/vla-ptype.exp * gdb.fortran/vla-sizeof.exp * gdb.fortran/vla-type.exp * gdb.fortran/vla-value-sub-arbitrary.exp * gdb.fortran/vla-value-sub-finish.exp * gdb.fortran/vla-value-sub.exp * gdb.fortran/vla-value.exp * gdb.fortran/whatis_type.exp * gdb.go/chan.exp * gdb.go/handcall.exp * gdb.go/hello.exp * gdb.go/integers.exp * gdb.go/methods.exp * gdb.go/package.exp * gdb.go/strings.exp * gdb.go/types.exp * gdb.go/unsafe.exp * gdb.guile/scm-arch.exp * gdb.guile/scm-block.exp * gdb.guile/scm-breakpoint.exp * gdb.guile/scm-cmd.exp * gdb.guile/scm-disasm.exp * gdb.guile/scm-equal.exp * gdb.guile/scm-frame-args.exp * gdb.guile/scm-frame-inline.exp * gdb.guile/scm-frame.exp * gdb.guile/scm-iterator.exp * gdb.guile/scm-math.exp * gdb.guile/scm-objfile.exp * gdb.guile/scm-ports.exp * gdb.guile/scm-symbol.exp * gdb.guile/scm-symtab.exp * gdb.guile/scm-value-cc.exp * gdb.guile/types-module.exp * gdb.linespec/break-ask.exp * gdb.linespec/cpexplicit.exp * gdb.linespec/explicit.exp * gdb.linespec/keywords.exp * gdb.linespec/linespec.exp * gdb.linespec/ls-dollar.exp * gdb.linespec/ls-errs.exp * gdb.linespec/skip-two.exp * gdb.linespec/thread.exp * gdb.mi/mi-async.exp * gdb.mi/mi-basics.exp * gdb.mi/mi-break.exp * gdb.mi/mi-catch-load.exp * gdb.mi/mi-cli.exp * gdb.mi/mi-cmd-param-changed.exp * gdb.mi/mi-console.exp * gdb.mi/mi-detach.exp * gdb.mi/mi-disassemble.exp * gdb.mi/mi-eval.exp * gdb.mi/mi-file-transfer.exp * gdb.mi/mi-file.exp * gdb.mi/mi-fill-memory.exp * gdb.mi/mi-inheritance-syntax-error.exp * gdb.mi/mi-linespec-err-cp.exp * gdb.mi/mi-logging.exp * gdb.mi/mi-memory-changed.exp * gdb.mi/mi-read-memory.exp * gdb.mi/mi-record-changed.exp * gdb.mi/mi-reg-undefined.exp * gdb.mi/mi-regs.exp * gdb.mi/mi-return.exp * gdb.mi/mi-reverse.exp * gdb.mi/mi-simplerun.exp * gdb.mi/mi-solib.exp * gdb.mi/mi-stack.exp * gdb.mi/mi-stepi.exp * gdb.mi/mi-syn-frame.exp * gdb.mi/mi-until.exp * gdb.mi/mi-var-block.exp * gdb.mi/mi-var-child.exp * gdb.mi/mi-var-cmd.exp * gdb.mi/mi-var-cp.exp * gdb.mi/mi-var-display.exp * gdb.mi/mi-var-invalidate.exp * gdb.mi/mi-var-list-children-invalid-grandchild.exp * gdb.mi/mi-vla-fortran.exp * gdb.mi/mi-watch.exp * gdb.mi/mi2-var-child.exp * gdb.mi/user-selected-context-sync.exp * gdb.modula2/unbounded-array.exp * gdb.multi/dummy-frame-restore.exp * gdb.multi/multi-arch-exec.exp * gdb.multi/multi-arch.exp * gdb.multi/tids.exp * gdb.multi/watchpoint-multi.exp * gdb.opencl/callfuncs.exp * gdb.opencl/convs_casts.exp * gdb.opencl/datatypes.exp * gdb.opencl/operators.exp * gdb.opencl/vec_comps.exp * gdb.opt/clobbered-registers-O2.exp * gdb.opt/inline-break.exp * gdb.opt/inline-bt.exp * gdb.opt/inline-cmds.exp * gdb.opt/inline-locals.exp * gdb.pascal/case-insensitive-symbols.exp * gdb.pascal/floats.exp * gdb.pascal/gdb11492.exp * gdb.python/lib-types.exp * gdb.python/py-arch.exp * gdb.python/py-as-string.exp * gdb.python/py-bad-printers.exp * gdb.python/py-block.exp * gdb.python/py-breakpoint-create-fail.exp * gdb.python/py-breakpoint.exp * gdb.python/py-caller-is.exp * gdb.python/py-cmd.exp * gdb.python/py-explore-cc.exp * gdb.python/py-explore.exp * gdb.python/py-finish-breakpoint.exp * gdb.python/py-finish-breakpoint2.exp * gdb.python/py-frame-args.exp * gdb.python/py-frame-inline.exp * gdb.python/py-frame.exp * gdb.python/py-framefilter-mi.exp * gdb.python/py-infthread.exp * gdb.python/py-lazy-string.exp * gdb.python/py-linetable.exp * gdb.python/py-mi-events.exp * gdb.python/py-mi-objfile.exp * gdb.python/py-mi.exp * gdb.python/py-objfile.exp * gdb.python/py-pp-integral.exp * gdb.python/py-pp-maint.exp * gdb.python/py-pp-re-notag.exp * gdb.python/py-pp-registration.exp * gdb.python/py-recurse-unwind.exp * gdb.python/py-strfns.exp * gdb.python/py-symbol.exp * gdb.python/py-symtab.exp * gdb.python/py-sync-interp.exp * gdb.python/py-typeprint.exp * gdb.python/py-unwind-maint.exp * gdb.python/py-unwind.exp * gdb.python/py-value-cc.exp * gdb.python/py-xmethods.exp * gdb.reverse/amd64-tailcall-reverse.exp * gdb.reverse/break-precsave.exp * gdb.reverse/break-reverse.exp * gdb.reverse/consecutive-precsave.exp * gdb.reverse/consecutive-reverse.exp * gdb.reverse/finish-precsave.exp * gdb.reverse/finish-reverse-bkpt.exp * gdb.reverse/finish-reverse.exp * gdb.reverse/fstatat-reverse.exp * gdb.reverse/getresuid-reverse.exp * gdb.reverse/i386-precsave.exp * gdb.reverse/i386-reverse.exp * gdb.reverse/i386-sse-reverse.exp * gdb.reverse/i387-env-reverse.exp * gdb.reverse/i387-stack-reverse.exp * gdb.reverse/insn-reverse.exp * gdb.reverse/machinestate-precsave.exp * gdb.reverse/machinestate.exp * gdb.reverse/next-reverse-bkpt-over-sr.exp * gdb.reverse/pipe-reverse.exp * gdb.reverse/readv-reverse.exp * gdb.reverse/recvmsg-reverse.exp * gdb.reverse/rerun-prec.exp * gdb.reverse/s390-mvcle.exp * gdb.reverse/step-precsave.exp * gdb.reverse/step-reverse.exp * gdb.reverse/time-reverse.exp * gdb.reverse/until-precsave.exp * gdb.reverse/until-reverse.exp * gdb.reverse/waitpid-reverse.exp * gdb.reverse/watch-precsave.exp * gdb.reverse/watch-reverse.exp * gdb.rust/generics.exp * gdb.rust/methods.exp * gdb.rust/modules.exp * gdb.rust/simple.exp * gdb.server/connect-with-no-symbol-file.exp * gdb.server/ext-attach.exp * gdb.server/ext-restart.exp * gdb.server/ext-wrapper.exp * gdb.server/file-transfer.exp * gdb.server/server-exec-info.exp * gdb.server/server-kill.exp * gdb.server/server-mon.exp * gdb.server/wrapper.exp * gdb.stabs/exclfwd.exp * gdb.stabs/gdb11479.exp * gdb.threads/clone-new-thread-event.exp * gdb.threads/corethreads.exp * gdb.threads/current-lwp-dead.exp * gdb.threads/dlopen-libpthread.exp * gdb.threads/gcore-thread.exp * gdb.threads/sigstep-threads.exp * gdb.threads/watchpoint-fork.exp * gdb.trace/actions-changed.exp * gdb.trace/backtrace.exp * gdb.trace/change-loc.exp * gdb.trace/circ.exp * gdb.trace/collection.exp * gdb.trace/disconnected-tracing.exp * gdb.trace/ftrace.exp * gdb.trace/mi-trace-frame-collected.exp * gdb.trace/mi-trace-unavailable.exp * gdb.trace/mi-traceframe-changed.exp * gdb.trace/mi-tsv-changed.exp * gdb.trace/no-attach-trace.exp * gdb.trace/passc-dyn.exp * gdb.trace/qtro.exp * gdb.trace/range-stepping.exp * gdb.trace/read-memory.exp * gdb.trace/save-trace.exp * gdb.trace/signal.exp * gdb.trace/status-stop.exp * gdb.trace/tfile.exp * gdb.trace/trace-break.exp * gdb.trace/trace-buffer-size.exp * gdb.trace/trace-condition.exp * gdb.trace/tracefile-pseudo-reg.exp * gdb.trace/tstatus.exp * gdb.trace/unavailable.exp * gdb.trace/while-dyn.exp * gdb.trace/while-stepping.exp 2016-12-22 Doug Evans * gdb.base/maint.exp: Update tests for maint print symbols, psymbols and msymbols. 2016-12-19 Yao Qi * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove. (test_with_self): Don't call do_steps_and_nexts, and remove code about stepping into xmalloc. 2016-12-09 Yao Qi * gdb.base/all-architectures.exp.in: Remove kfail for rx. 2016-12-09 Yao Qi * gdb.base/all-architectures.exp.in: Remove kfail for rl78. 2016-12-09 Pedro Alves * gdb.base/all-architectures-0.exp: New file. * gdb.base/all-architectures-1.exp: New file. * gdb.base/all-architectures-2.exp: New file. * gdb.base/all-architectures-3.exp: New file. * gdb.base/all-architectures-4.exp: New file. * gdb.base/all-architectures-5.exp: New file. * gdb.base/all-architectures-6.exp: New file. * gdb.base/all-architectures-7.exp: New file. * gdb.base/all-architectures.exp.in: New file. 2016-12-09 Yao Qi * gdb.perf/skip-prologue.exp: Add parameter COMPILE. 2016-12-02 Luis Machado * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when possible. Remove useless pattern-matching code. 2016-12-02 Pedro Alves * gdb.base/commands.exp (user_defined_command_manyargs_test): New procedure. (top level): Call it. 2016-12-02 Pedro Alves * gdb.base/commands.exp (user_defined_command_args_stack_test): New procedure. (top level): Call it. 2016-12-02 Pedro Alves PR cli/20559 * gdb.base/commands.exp (user_defined_command_args_eval): New procedure. (top level): Call it. 2016-12-02 Luis Machado * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore timeout handling. 2016-12-02 Tom Tromey * gdb.dwarf2/main-subprogram.c: New file. * gdb.dwarf2/main-subprogram.exp: New file. 2016-12-01 Luis Machado * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple. * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into gdb_test_no_output for a couple of cases. * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple. 2016-12-01 Luis Machado Fix test names and standardize compilation error messages throughout the following files: * gdb.ada/start.exp * gdb.arch/alpha-step.exp * gdb.arch/e500-prologue.exp * gdb.arch/ftrace-insn-reloc.exp * gdb.arch/gdb1291.exp * gdb.arch/gdb1431.exp * gdb.arch/gdb1558.exp * gdb.arch/i386-dr3-watch.exp * gdb.arch/i386-sse-stack-align.exp * gdb.arch/ia64-breakpoint-shadow.exp * gdb.arch/pa-nullify.exp * gdb.arch/powerpc-aix-prologue.exp * gdb.arch/thumb-bx-pc.exp * gdb.base/annota1.exp * gdb.base/annota3.exp * gdb.base/arrayidx.exp * gdb.base/assign.exp * gdb.base/attach.exp * gdb.base/auxv.exp * gdb.base/bang.exp * gdb.base/bfp-test.exp * gdb.base/bigcore.exp * gdb.base/bitfields2.exp * gdb.base/break-fun-addr.exp * gdb.base/break-probes.exp * gdb.base/call-rt-st.exp * gdb.base/callexit.exp * gdb.base/catch-fork-kill.exp * gdb.base/charset.exp * gdb.base/checkpoint.exp * gdb.base/comprdebug.exp * gdb.base/constvars.exp * gdb.base/coredump-filter.exp * gdb.base/cursal.exp * gdb.base/cvexpr.exp * gdb.base/detach.exp * gdb.base/display.exp * gdb.base/dmsym.exp * gdb.base/dprintf-pending.exp * gdb.base/dso2dso.exp * gdb.base/dtrace-probe.exp * gdb.base/dump.exp * gdb.base/enum_cond.exp * gdb.base/exe-lock.exp * gdb.base/exec-invalid-sysroot.exp * gdb.base/execl-update-breakpoints.exp * gdb.base/exprs.exp * gdb.base/fileio.exp * gdb.base/find.exp * gdb.base/finish.exp * gdb.base/fixsection.exp * gdb.base/foll-vfork.exp * gdb.base/frame-args.exp * gdb.base/gcore.exp * gdb.base/gdb1250.exp * gdb.base/global-var-nested-by-dso.exp * gdb.base/gnu-ifunc.exp * gdb.base/hashline1.exp * gdb.base/hashline2.exp * gdb.base/hashline3.exp * gdb.base/hbreak-in-shr-unsupported.exp * gdb.base/huge.exp * gdb.base/infcall-input.exp * gdb.base/info-fun.exp * gdb.base/info-shared.exp * gdb.base/jit-simple.exp * gdb.base/jit-so.exp * gdb.base/jit.exp * gdb.base/jump.exp * gdb.base/label.exp * gdb.base/lineinc.exp * gdb.base/logical.exp * gdb.base/longjmp.exp * gdb.base/macscp.exp * gdb.base/miscexprs.exp * gdb.base/new-ui-echo.exp * gdb.base/new-ui-pending-input.exp * gdb.base/new-ui.exp * gdb.base/nodebug.exp * gdb.base/nofield.exp * gdb.base/offsets.exp * gdb.base/overlays.exp * gdb.base/pending.exp * gdb.base/pointers.exp * gdb.base/pr11022.exp * gdb.base/printcmds.exp * gdb.base/prologue.exp * gdb.base/ptr-typedef.exp * gdb.base/realname-expand.exp * gdb.base/relativedebug.exp * gdb.base/relocate.exp * gdb.base/remote.exp * gdb.base/reread.exp * gdb.base/return2.exp * gdb.base/savedregs.exp * gdb.base/sep.exp * gdb.base/sepdebug.exp * gdb.base/sepsymtab.exp * gdb.base/set-inferior-tty.exp * gdb.base/setshow.exp * gdb.base/shlib-call.exp * gdb.base/sigaltstack.exp * gdb.base/siginfo-addr.exp * gdb.base/signals.exp * gdb.base/signull.exp * gdb.base/sigrepeat.exp * gdb.base/so-impl-ld.exp * gdb.base/solib-display.exp * gdb.base/solib-overlap.exp * gdb.base/solib-search.exp * gdb.base/solib-symbol.exp * gdb.base/structs.exp * gdb.base/structs2.exp * gdb.base/symtab-search-order.exp * gdb.base/twice.exp * gdb.base/unload.exp * gdb.base/varargs.exp * gdb.base/watchpoint-solib.exp * gdb.base/watchpoint.exp * gdb.base/whatis.exp * gdb.base/wrong_frame_bt_full.exp * gdb.btrace/dlopen.exp * gdb.cell/ea-standalone.exp * gdb.cell/ea-test.exp * gdb.cp/dispcxx.exp * gdb.cp/gdb2384.exp * gdb.cp/method2.exp * gdb.cp/nextoverthrow.exp * gdb.cp/pr10728.exp * gdb.disasm/am33.exp * gdb.disasm/h8300s.exp * gdb.disasm/mn10300.exp * gdb.disasm/sh3.exp * gdb.dwarf2/dw2-dir-file-name.exp * gdb.fortran/complex.exp * gdb.fortran/library-module.exp * gdb.guile/scm-pretty-print.exp * gdb.guile/scm-symbol.exp * gdb.guile/scm-type.exp * gdb.guile/scm-value.exp * gdb.linespec/linespec.exp * gdb.mi/gdb701.exp * gdb.mi/gdb792.exp * gdb.mi/mi-breakpoint-changed.exp * gdb.mi/mi-dprintf-pending.exp * gdb.mi/mi-dprintf.exp * gdb.mi/mi-exit-code.exp * gdb.mi/mi-pending.exp * gdb.mi/mi-solib.exp * gdb.mi/new-ui-mi-sync.exp * gdb.mi/pr11022.exp * gdb.mi/user-selected-context-sync.exp * gdb.opt/solib-intra-step.exp * gdb.python/py-events.exp * gdb.python/py-finish-breakpoint.exp * gdb.python/py-mi.exp * gdb.python/py-prettyprint.exp * gdb.python/py-shared.exp * gdb.python/py-symbol.exp * gdb.python/py-template.exp * gdb.python/py-type.exp * gdb.python/py-value.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/solib-reverse.exp * gdb.server/solib-list.exp * gdb.stabs/weird.exp * gdb.threads/reconnect-signal.exp * gdb.threads/stepi-random-signal.exp * gdb.trace/actions.exp * gdb.trace/ax.exp * gdb.trace/backtrace.exp * gdb.trace/change-loc.exp * gdb.trace/deltrace.exp * gdb.trace/ftrace-lock.exp * gdb.trace/ftrace.exp * gdb.trace/infotrace.exp * gdb.trace/mi-tracepoint-changed.exp * gdb.trace/packetlen.exp * gdb.trace/passcount.exp * gdb.trace/pending.exp * gdb.trace/range-stepping.exp * gdb.trace/report.exp * gdb.trace/stap-trace.exp * gdb.trace/tfind.exp * gdb.trace/trace-break.exp * gdb.trace/trace-condition.exp * gdb.trace/trace-enable-disable.exp * gdb.trace/trace-mt.exp * gdb.trace/tracecmd.exp * gdb.trace/tspeed.exp * gdb.trace/tsv.exp * lib/perftest.exp 2016-12-01 Luis Machado * gdb.cp/gdb2495.exp: Replace gdb_test_multiple with gdb_test_no_output. Use command as test name. 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.ada/assign_1.exp * gdb.ada/boolean_expr.exp * gdb.base/arrayidx.exp * gdb.base/del.exp * gdb.base/gcore-buffer-overflow.exp * gdb.base/testenv.exp * gdb.compile/compile.exp * gdb.python/py-framefilter-invalidarg.exp * gdb.python/py-framefilter.exp 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.ada/array_return.exp * gdb.ada/expr_delims.exp * gdb.ada/mi_dyn_arr.exp * gdb.ada/mi_interface.exp * gdb.ada/mi_var_array.exp * gdb.ada/watch_arg.exp * gdb.arch/alpha-step.exp * gdb.arch/altivec-regs.exp * gdb.arch/e500-regs.exp * gdb.arch/powerpc-d128-regs.exp * gdb.base/arrayidx.exp * gdb.base/break.exp * gdb.base/checkpoint.exp * gdb.base/debug-expr.exp * gdb.base/dmsym.exp * gdb.base/radix.exp * gdb.base/sepdebug.exp * gdb.base/testenv.exp * gdb.base/watch_thread_num.exp * gdb.base/watchpoint-cond-gone.exp * gdb.cell/break.exp * gdb.cell/ea-cache.exp * gdb.compile/compile.exp * gdb.cp/gdb2495.exp * gdb.gdb/selftest.exp * gdb.gdb/xfullpath.exp * gdb.go/hello.exp * gdb.go/integers.exp * gdb.objc/basicclass.exp * gdb.pascal/hello.exp * gdb.pascal/integers.exp * gdb.python/py-breakpoint.exp * gdb.python/py-cmd.exp * gdb.python/py-linetable.exp * gdb.python/py-xmethods.exp * gdb.python/python.exp * gdb.reverse/consecutive-precsave.exp * gdb.reverse/finish-precsave.exp * gdb.reverse/i386-precsave.exp * gdb.reverse/machinestate-precsave.exp * gdb.reverse/sigall-precsave.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/step-precsave.exp * gdb.reverse/until-precsave.exp * gdb.reverse/watch-precsave.exp * gdb.threads/leader-exit.exp * gdb.threads/pthreads.exp * gdb.threads/wp-replication.exp * gdb.trace/actions.exp * gdb.trace/mi-tsv-changed.exp * gdb.trace/tsv.exp 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.arch/i386-bp_permanent.exp * gdb.arch/i386-gnu-cfi.exp * gdb.base/disasm-end-cu.exp * gdb.base/macscp.exp * gdb.base/pending.exp * gdb.base/watch_thread_num.exp * gdb.cp/exception.exp * gdb.cp/gdb2495.exp * gdb.cp/local.exp * gdb.python/py-evsignal.exp * gdb.python/python.exp * gdb.trace/tracecmd.exp 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.base/charset.exp * gdb.base/eval.exp * gdb.base/multi-forks.exp * gdb.guile/scm-progspace.exp * gdb.opencl/datatypes.exp * gdb.python/py-block.exp * gdb.python/py-function.exp * gdb.python/py-symbol.exp * gdb.python/py-symtab.exp * gdb.python/py-xmethods.exp * gdb.reverse/break-precsave.exp * gdb.reverse/break-reverse.exp * gdb.reverse/consecutive-precsave.exp * gdb.reverse/consecutive-reverse.exp * gdb.reverse/finish-precsave.exp * gdb.reverse/finish-reverse-bkpt.exp * gdb.reverse/finish-reverse.exp * gdb.reverse/fstatat-reverse.exp * gdb.reverse/getresuid-reverse.exp * gdb.reverse/i386-precsave.exp * gdb.reverse/i386-reverse.exp * gdb.reverse/i386-sse-reverse.exp * gdb.reverse/i387-stack-reverse.exp * gdb.reverse/insn-reverse.exp * gdb.reverse/machinestate-precsave.exp * gdb.reverse/machinestate.exp * gdb.reverse/next-reverse-bkpt-over-sr.exp * gdb.reverse/pipe-reverse.exp * gdb.reverse/readv-reverse.exp * gdb.reverse/recvmsg-reverse.exp * gdb.reverse/rerun-prec.exp * gdb.reverse/s390-mvcle.exp * gdb.reverse/sigall-precsave.exp * gdb.reverse/sigall-reverse.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/solib-reverse.exp * gdb.reverse/step-precsave.exp * gdb.reverse/step-reverse.exp * gdb.reverse/time-reverse.exp * gdb.reverse/until-precsave.exp * gdb.reverse/until-reverse.exp * gdb.reverse/waitpid-reverse.exp * gdb.reverse/watch-precsave.exp * gdb.reverse/watch-reverse.exp 2016-12-01 Luis Machado Fix test names starting with uppercase throughout the files. * gdb.arch/i386-mpx-simple_segv.exp * gdb.arch/i386-mpx.exp * gdb.arch/i386-permbkpt.exp * gdb.arch/pa-nullify.exp * gdb.arch/powerpc-d128-regs.exp * gdb.arch/vsx-regs.exp * gdb.base/bfp-test.exp * gdb.base/break.exp * gdb.base/breakpoint-shadow.exp * gdb.base/callfuncs.exp * gdb.base/charset.exp * gdb.base/commands.exp * gdb.base/completion.exp * gdb.base/dfp-test.exp * gdb.base/echo.exp * gdb.base/ending-run.exp * gdb.base/eval.exp * gdb.base/expand-psymtabs.exp * gdb.base/float128.exp * gdb.base/floatn.exp * gdb.base/foll-exec-mode.exp * gdb.base/gdb1056.exp * gdb.base/gdb11531.exp * gdb.base/kill-after-signal.exp * gdb.base/multi-forks.exp * gdb.base/overlays.exp * gdb.base/pending.exp * gdb.base/sepdebug.exp * gdb.base/testenv.exp * gdb.base/valgrind-db-attach.exp * gdb.base/watch_thread_num.exp * gdb.base/watchpoint-cond-gone.exp * gdb.base/watchpoint.exp * gdb.base/watchpoints.exp * gdb.cp/arg-reference.exp * gdb.cp/baseenum.exp * gdb.cp/operator.exp * gdb.cp/shadow.exp * gdb.dwarf2/dw2-op-out-param.exp * gdb.dwarf2/dw2-reg-undefined.exp * gdb.go/chan.exp * gdb.go/hello.exp * gdb.go/integers.exp * gdb.go/methods.exp * gdb.go/package.exp * gdb.guile/scm-parameter.exp * gdb.guile/scm-progspace.exp * gdb.guile/scm-value.exp * gdb.mi/mi-pending.exp * gdb.mi/user-selected-context-sync.exp * gdb.multi/multi-attach.exp * gdb.multi/tids.exp * gdb.opt/clobbered-registers-O2.exp * gdb.pascal/floats.exp * gdb.pascal/integers.exp * gdb.python/py-block.exp * gdb.python/py-events.exp * gdb.python/py-parameter.exp * gdb.python/py-symbol.exp * gdb.python/py-symtab.exp * gdb.python/py-type.exp * gdb.python/py-value.exp * gdb.python/py-xmethods.exp * gdb.python/python.exp * gdb.reverse/break-precsave.exp * gdb.reverse/consecutive-precsave.exp * gdb.reverse/finish-precsave.exp * gdb.reverse/i386-precsave.exp * gdb.reverse/machinestate-precsave.exp * gdb.reverse/sigall-precsave.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/step-precsave.exp * gdb.reverse/until-precsave.exp * gdb.reverse/watch-precsave.exp * gdb.server/ext-attach.exp * gdb.server/ext-restart.exp * gdb.server/ext-run.exp * gdb.server/ext-wrapper.exp * gdb.stabs/gdb11479.exp * gdb.stabs/weird.exp * gdb.threads/attach-many-short-lived-threads.exp * gdb.threads/kill.exp * gdb.threads/watchpoint-fork.exp 2016-12-01 Luis Machado Fix test names starting with uppercase throughout all the files below. * gdb.ada/array_return.exp * gdb.ada/catch_ex.exp * gdb.ada/info_exc.exp * gdb.ada/mi_catch_ex.exp * gdb.ada/mi_dyn_arr.exp * gdb.ada/mi_ex_cond.exp * gdb.ada/mi_exc_info.exp * gdb.ada/mi_interface.exp * gdb.ada/mi_task_arg.exp * gdb.ada/mi_task_info.exp * gdb.ada/mi_var_array.exp * gdb.arch/alpha-step.exp * gdb.arch/amd64-disp-step.exp * gdb.arch/arm-disp-step.exp * gdb.arch/disp-step-insn-reloc.exp * gdb.arch/e500-prologue.exp * gdb.arch/ftrace-insn-reloc.exp * gdb.arch/gdb1558.exp * gdb.arch/i386-bp_permanent.exp * gdb.arch/i386-disp-step.exp * gdb.arch/i386-float.exp * gdb.arch/i386-gnu-cfi.exp * gdb.arch/ia64-breakpoint-shadow.exp * gdb.arch/mips16-thunks.exp * gdb.arch/pa-nullify.exp * gdb.arch/powerpc-aix-prologue.exp * gdb.arch/powerpc-power.exp * gdb.arch/ppc-dfp.exp * gdb.arch/s390-tdbregs.exp * gdb.arch/spu-info.exp * gdb.arch/spu-ls.exp * gdb.arch/thumb-bx-pc.exp * gdb.base/advance.exp * gdb.base/annota-input-while-running.exp * gdb.base/arrayidx.exp * gdb.base/asmlabel.exp * gdb.base/async.exp * gdb.base/attach-wait-input.exp * gdb.base/auto-connect-native-target.exp * gdb.base/batch-preserve-term-settings.exp * gdb.base/bfp-test.exp * gdb.base/bigcore.exp * gdb.base/bp-permanent.exp * gdb.base/break-always.exp * gdb.base/break-fun-addr.exp * gdb.base/break-idempotent.exp * gdb.base/break-main-file-remove-fail.exp * gdb.base/break-probes.exp * gdb.base/break-unload-file.exp * gdb.base/break.exp * gdb.base/call-ar-st.exp * gdb.base/call-rt-st.exp * gdb.base/call-sc.exp * gdb.base/call-signal-resume.exp * gdb.base/call-strs.exp * gdb.base/callexit.exp * gdb.base/callfuncs.exp * gdb.base/catch-gdb-caused-signals.exp * gdb.base/catch-signal-siginfo-cond.exp * gdb.base/catch-syscall.exp * gdb.base/compare-sections.exp * gdb.base/cond-eval-mode.exp * gdb.base/condbreak-call-false.exp * gdb.base/consecutive-step-over.exp * gdb.base/cursal.exp * gdb.base/disabled-location.exp * gdb.base/disasm-end-cu.exp * gdb.base/display.exp * gdb.base/double-prompt-target-event-error.exp * gdb.base/dprintf-bp-same-addr.exp * gdb.base/dprintf-detach.exp * gdb.base/dprintf-next.exp * gdb.base/dprintf-non-stop.exp * gdb.base/dprintf-pending.exp * gdb.base/dso2dso.exp * gdb.base/ending-run.exp * gdb.base/enum_cond.exp * gdb.base/examine-backward.exp * gdb.base/exe-lock.exp * gdb.base/exec-invalid-sysroot.exp * gdb.base/execl-update-breakpoints.exp * gdb.base/execution-termios.exp * gdb.base/fileio.exp * gdb.base/fixsection.exp * gdb.base/foll-exec-mode.exp * gdb.base/foll-exec.exp * gdb.base/fork-running-state.exp * gdb.base/frame-args.exp * gdb.base/fullpath-expand.exp * gdb.base/func-ptr.exp * gdb.base/gcore-relro-pie.exp * gdb.base/gdb1090.exp * gdb.base/gdb1555.exp * gdb.base/global-var-nested-by-dso.exp * gdb.base/gnu-ifunc.exp * gdb.base/hbreak-in-shr-unsupported.exp * gdb.base/hbreak-unmapped.exp * gdb.base/hook-stop.exp * gdb.base/infcall-input.exp * gdb.base/info-fun.exp * gdb.base/info-shared.exp * gdb.base/interrupt-noterm.exp * gdb.base/jit-so.exp * gdb.base/jit.exp * gdb.base/line-symtabs.exp * gdb.base/list.exp * gdb.base/longjmp.exp * gdb.base/macscp.exp * gdb.base/max-value-size.exp * gdb.base/nodebug.exp * gdb.base/nofield.exp * gdb.base/overlays.exp * gdb.base/paginate-after-ctrl-c-running.exp * gdb.base/paginate-bg-execution.exp * gdb.base/paginate-inferior-exit.exp * gdb.base/pending.exp * gdb.base/pr11022.exp * gdb.base/printcmds.exp * gdb.base/ptr-typedef.exp * gdb.base/ptype.exp * gdb.base/randomize.exp * gdb.base/range-stepping.exp * gdb.base/realname-expand.exp * gdb.base/relativedebug.exp * gdb.base/remote.exp * gdb.base/savedregs.exp * gdb.base/sepdebug.exp * gdb.base/set-noassign.exp * gdb.base/shlib-call.exp * gdb.base/shreloc.exp * gdb.base/sigaltstack.exp * gdb.base/sigbpt.exp * gdb.base/siginfo-addr.exp * gdb.base/siginfo-obj.exp * gdb.base/siginfo-thread.exp * gdb.base/signest.exp * gdb.base/signull.exp * gdb.base/sigrepeat.exp * gdb.base/skip.exp * gdb.base/so-impl-ld.exp * gdb.base/solib-corrupted.exp * gdb.base/solib-disc.exp * gdb.base/solib-display.exp * gdb.base/solib-overlap.exp * gdb.base/solib-search.exp * gdb.base/solib-symbol.exp * gdb.base/source-execution.exp * gdb.base/sss-bp-on-user-bp-2.exp * gdb.base/sss-bp-on-user-bp.exp * gdb.base/stack-checking.exp * gdb.base/stale-infcall.exp * gdb.base/step-break.exp * gdb.base/step-line.exp * gdb.base/step-over-exit.exp * gdb.base/step-test.exp * gdb.base/structs.exp * gdb.base/sym-file.exp * gdb.base/symtab-search-order.exp * gdb.base/term.exp * gdb.base/type-opaque.exp * gdb.base/unload.exp * gdb.base/until-nodebug.exp * gdb.base/until.exp * gdb.base/unwindonsignal.exp * gdb.base/watch-cond.exp * gdb.base/watch-non-mem.exp * gdb.base/watch_thread_num.exp * gdb.base/watchpoint-reuse-slot.exp * gdb.base/watchpoint-solib.exp * gdb.base/watchpoint.exp * gdb.btrace/dlopen.exp * gdb.cell/arch.exp * gdb.cell/break.exp * gdb.cell/bt.exp * gdb.cell/core.exp * gdb.cell/data.exp * gdb.cell/dwarfaddr.exp * gdb.cell/ea-cache.exp * gdb.cell/ea-standalone.exp * gdb.cell/ea-test.exp * gdb.cell/f-regs.exp * gdb.cell/fork.exp * gdb.cell/gcore.exp * gdb.cell/mem-access.exp * gdb.cell/ptype.exp * gdb.cell/registers.exp * gdb.cell/sizeof.exp * gdb.cell/solib-symbol.exp * gdb.cell/solib.exp * gdb.compile/compile-tls.exp * gdb.cp/exception.exp * gdb.cp/gdb2495.exp * gdb.cp/local.exp * gdb.cp/mb-inline.exp * gdb.cp/mb-templates.exp * gdb.cp/pr10687.exp * gdb.cp/pr9167.exp * gdb.cp/scope-err.exp * gdb.cp/templates.exp * gdb.cp/virtfunc.exp * gdb.dwarf2/dw2-dir-file-name.exp * gdb.dwarf2/dw2-single-line-discriminators.exp * gdb.fortran/complex.exp * gdb.fortran/library-module.exp * gdb.guile/guile.exp * gdb.guile/scm-cmd.exp * gdb.guile/scm-frame-inline.exp * gdb.guile/scm-objfile.exp * gdb.guile/scm-pretty-print.exp * gdb.guile/scm-symbol.exp * gdb.guile/scm-type.exp * gdb.guile/scm-value.exp * gdb.linespec/keywords.exp * gdb.linespec/ls-errs.exp * gdb.linespec/macro-relative.exp * gdb.linespec/thread.exp * gdb.mi/mi-breakpoint-changed.exp * gdb.mi/mi-dprintf-pending.exp * gdb.mi/mi-fullname-deleted.exp * gdb.mi/mi-logging.exp * gdb.mi/mi-pending.exp * gdb.mi/mi-solib.exp * gdb.mi/new-ui-mi-sync.exp * gdb.mi/user-selected-context-sync.exp * gdb.multi/dummy-frame-restore.exp * gdb.multi/multi-arch-exec.exp * gdb.multi/remove-inferiors.exp * gdb.multi/watchpoint-multi-exit.exp * gdb.opt/solib-intra-step.exp * gdb.perf/backtrace.exp * gdb.perf/single-step.exp * gdb.perf/skip-command.exp * gdb.perf/skip-prologue.exp * gdb.perf/solib.exp * gdb.python/lib-types.exp * gdb.python/py-as-string.exp * gdb.python/py-bad-printers.exp * gdb.python/py-block.exp * gdb.python/py-breakpoint.exp * gdb.python/py-cmd.exp * gdb.python/py-events.exp * gdb.python/py-evthreads.exp * gdb.python/py-finish-breakpoint.exp * gdb.python/py-finish-breakpoint2.exp * gdb.python/py-frame-inline.exp * gdb.python/py-frame.exp * gdb.python/py-inferior.exp * gdb.python/py-infthread.exp * gdb.python/py-mi.exp * gdb.python/py-objfile.exp * gdb.python/py-pp-maint.exp * gdb.python/py-pp-registration.exp * gdb.python/py-prettyprint.exp * gdb.python/py-recurse-unwind.exp * gdb.python/py-shared.exp * gdb.python/py-symbol.exp * gdb.python/py-symtab.exp * gdb.python/py-template.exp * gdb.python/py-type.exp * gdb.python/py-unwind-maint.exp * gdb.python/py-unwind.exp * gdb.python/py-value.exp * gdb.python/python.exp * gdb.reverse/finish-reverse-bkpt.exp * gdb.reverse/insn-reverse.exp * gdb.reverse/next-reverse-bkpt-over-sr.exp * gdb.reverse/solib-precsave.exp * gdb.reverse/solib-reverse.exp * gdb.stabs/gdb11479.exp * gdb.stabs/weird.exp * gdb.threads/fork-child-threads.exp * gdb.threads/fork-plus-threads.exp * gdb.threads/fork-thread-pending.exp * gdb.threads/forking-threads-plus-breakpoint.exp * gdb.threads/hand-call-in-threads.exp * gdb.threads/interrupted-hand-call.exp * gdb.threads/linux-dp.exp * gdb.threads/local-watch-wrong-thread.exp * gdb.threads/next-while-other-thread-longjmps.exp * gdb.threads/non-ldr-exit.exp * gdb.threads/pending-step.exp * gdb.threads/print-threads.exp * gdb.threads/process-dies-while-detaching.exp * gdb.threads/process-dies-while-handling-bp.exp * gdb.threads/pthreads.exp * gdb.threads/queue-signal.exp * gdb.threads/reconnect-signal.exp * gdb.threads/signal-command-handle-nopass.exp * gdb.threads/signal-command-multiple-signals-pending.exp * gdb.threads/signal-delivered-right-thread.exp * gdb.threads/signal-sigtrap.exp * gdb.threads/sigthread.exp * gdb.threads/staticthreads.exp * gdb.threads/stepi-random-signal.exp * gdb.threads/thread-unwindonsignal.exp * gdb.threads/thread_check.exp * gdb.threads/thread_events.exp * gdb.threads/tid-reuse.exp * gdb.threads/tls-nodebug.exp * gdb.threads/tls-shared.exp * gdb.threads/tls-so_extern.exp * gdb.threads/tls.exp * gdb.threads/wp-replication.exp * gdb.trace/actions-changed.exp * gdb.trace/actions.exp * gdb.trace/backtrace.exp * gdb.trace/change-loc.exp * gdb.trace/collection.exp * gdb.trace/deltrace.exp * gdb.trace/disconnected-tracing.exp * gdb.trace/entry-values.exp * gdb.trace/ftrace-lock.exp * gdb.trace/ftrace.exp * gdb.trace/infotrace.exp * gdb.trace/mi-trace-frame-collected.exp * gdb.trace/mi-trace-unavailable.exp * gdb.trace/mi-traceframe-changed.exp * gdb.trace/mi-tracepoint-changed.exp * gdb.trace/mi-tsv-changed.exp * gdb.trace/no-attach-trace.exp * gdb.trace/packetlen.exp * gdb.trace/passc-dyn.exp * gdb.trace/passcount.exp * gdb.trace/pending.exp * gdb.trace/pr16508.exp * gdb.trace/qtro.exp * gdb.trace/range-stepping.exp * gdb.trace/read-memory.exp * gdb.trace/report.exp * gdb.trace/save-trace.exp * gdb.trace/signal.exp * gdb.trace/stap-trace.exp * gdb.trace/status-stop.exp * gdb.trace/strace.exp * gdb.trace/tfile.exp * gdb.trace/tfind.exp * gdb.trace/trace-break.exp * gdb.trace/trace-condition.exp * gdb.trace/trace-enable-disable.exp * gdb.trace/trace-mt.exp * gdb.trace/tracecmd.exp * gdb.trace/tracefile-pseudo-reg.exp * gdb.trace/tspeed.exp * gdb.trace/tstatus.exp * gdb.trace/tsv.exp * gdb.trace/unavailable.exp * gdb.trace/while-dyn.exp * gdb.trace/while-stepping.exp * lib/gdb-guile.exp * lib/gdb.exp * lib/mi-support.exp * lib/pascal.exp * lib/perftest.exp * lib/prelink-support.exp * lib/selftest-support.exp 2016-11-30 Simon Marchi * Makefile.in: Include disable-implicit-rules.mk. 2016-11-24 Andreas Arnez * gdb.dwarf2/nonvar-access.exp: Add a test for accessing non-byte-aligned bit fields. 2016-11-24 Andreas Arnez PR gdb/12616 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB respects the DW_AT_data_bit_offset attribute. 2016-11-22 Simon Marchi * gdb.base/default.exp: Fix output of "set language". 2016-11-17 Simon Marchi * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines prefixed with @GMAKE_FALSE@. Update comment related to non-GNU make. * configure.ac: Remove checks for the make program. * configure: Re-generate. 2016-11-16 Kevin Buettner * gdb.python/py-recurse-unwind.c (main): Add loop. * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls to read_register() and gdb.parse_and_eval(). Make each code call a separate case that can be individually tested. * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New proc. Call cont_and_backtrace for each of the code paths that we want to test in the unwinder. 2016-11-15 Andreas Arnez * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for the definition of struct S. 2016-11-11 Catherine Moore * gdb.base/dump.exp: Identify verilog format dump tests as such. 2016-11-09 Pedro Alves * gdb.base/commands.exp (runto_or_return): New procedure. (gdbvar_simple_if_test, gdbvar_simple_while_test) (gdbvar_complex_if_while_test, progvar_simple_if_test) (progvar_simple_while_test, progvar_complex_if_while_test) (if_while_breakpoint_command_test) (infrun_breakpoint_command_test, breakpoint_command_test) (user_defined_command_test, watchpoint_command_test) (test_command_prompt_position, redefine_hook_test) (stray_arg0_test, error_clears_commands_left, redefine_hook_test) (redefine_backtrace_test): Use runto_or_return, $valnum_re, multi_line_input and multi_line. Remove gdb_expect and gdb_stop_suppressing_tests uses. * lib/gdb.exp (valnum_re): New global. (multi_line_input): New procedure. 2016-11-09 Simon Marchi * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname): Remove. (test_setup): Define with proc_with_prefix. (test_cli_inferior): Likewise. (test_cli_thread): Likewise. (test_cli_frame): Likewise. (test_cli_select_frame): Likewise. (test_cli_up_down): Likewise. (test_mi_thread_select): Likewise. (test_mi_stack_select_frame): Likewise. (test_cli_in_mi_inferior): Likewise. (test_cli_in_mi_thread): Likewise. (test_cli_in_mi_frame): Likewise. (top level): Do not use with_test_prefix_procname. 2016-11-09 Pedro Alves * gdb.base/commands.exp (gdbvar_simple_if_test) (gdbvar_simple_while_test, gdbvar_complex_if_while_test) (progvar_simple_if_test, progvar_simple_while_test) (progvar_complex_if_while_test, if_while_breakpoint_command_test) (infrun_breakpoint_command_test, breakpoint_command_test) (user_defined_command_test, watchpoint_command_test) (test_command_prompt_position, deprecated_command_test) (bp_deleted_in_command, temporary_breakpoint_commands) (stray_arg0_test, source_file_with_indented_comment) (recursive_source_test, if_commands_test) (error_clears_commands_left, redefine_hook_test) (redefine_backtrace_test): Use proc_with_prefix. * lib/gdb.exp (proc_with_prefix): New proc. 2016-11-09 Andreas Arnez * gdb.base/tui-layout.c: New file. * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the disassembly window contains very long lines. 2016-11-08 Tom Tromey * gdb.python/py-value.exp (test_value_creation): Make "long" test depend on Python 2. 2016-11-08 Tom Tromey * gdb.python/py-framefilter.py (ElidingFrameDecorator.address): New method. 2016-10-29 Manish Goregaokar * gdb.rust/simple.exp: Add tests for `sizeof(expr)`. 2016-10-27 Manish Goregaokar * gdb.rust/simple.rs: Add test for univariant enums without discriminants and for encoded struct-like enums. 2016-10-28 Pedro Alves * gdb.base/maint.exp : Use gdb_test_multiple, tighten regexps and match symtabs and line tables incrementally. 2016-10-28 Luis Machado * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more general. 2016-10-25 Luis Machado * gdb.base/exec-invalid-sysroot.exp: New file. 2016-10-24 Jan Kratochvil * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first. 2016-10-20 Jan Kratochvil * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp. 2016-10-19 Maciej W. Rozycki * gdb.base/killed-outside.exp: Remove $options from a call to `prepare_for_testing'. 2016-10-17 Simon Marchi * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): Change test message. 2016-10-17 Simon Marchi * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args): Update comment. 2016-10-17 Simon Marchi * gdb.trace/mi-trace-save.exp: New file. 2016-10-13 Yao Qi * gdb.base/code_elim.exp (get_var_address): Remove. * gdb.base/relocate.exp: Likewise. * gdb.base/shreloc.exp: Likewise. * lib/gdb.exp (get_var_address): New. 2016-10-13 Yao Qi * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do floating point tests if $skip_float_test is false. 2016-10-12 Luis Machado * gdb.python/py-value.c (main): Check if argv is NULL before using it. * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded argc values. Add 1 to argc so we guarantee distinct initial/modified argc values. 2016-10-11 Jan Kratochvil * gdb.arch/powerpc-prologue.c (optimized_1): New declaration. 2016-10-11 Jan Kratochvil * gdb.arch/powerpc-prologue.exp: Use standard_output_file * gdb.arch/ppc64-symtab-cordic.exp: Likewise. * gdb.arch/vsx-regs.exp: Likewise. 2016-10-07 Yao Qi * gdb.xml/tdesc-regs.exp: Set regdir to "arm/". 2016-10-07 Markus Metzger * gdb.python/python.exp: Test decode_line("*0"). 2016-10-06 Doug Evans * gdb.python/py-value.exp (test_value_creation): Add test for large unsigned 64-bit value. 2016-10-06 Tom Tromey * gdb.compile/compile.exp: Change java tests to rust. * gdb.base/setshow.exp: Change java tests to rust. * gdb.base/default.exp: Remove java from language list. * README (Examples): Update language example. * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java test. * lib/gdb.exp (skip_java_tests): Remove. * lib/java.exp: Remove. * gdb.java: Remove. 2016-10-06 Maciej W. Rozycki * gdb.arch/mips-fcr.exp: New test. * gdb.arch/mips-fcr.c: Source for the new test. 2016-10-06 Maciej W. Rozycki * gdb.base/solib-disc.exp: Use `standard_output_file' throughout. 2016-10-06 Pedro Alves * gdb.base/jit-simple-dl.c: New file. * gdb.base/jit-simple-jit.c: New file, factored out from ... * gdb.base/jit-simple.c: ... this. * gdb.base/jit-simple.exp (jit_run): Delete. (build_jit): New proc. (jit_test_reread): Recompile either the main program or the shared library, depending on what is being tested. Skip changing address if caller wants to. Compare before/after addresses. If testing standalone, explicitly load the binary. Test "maint info breakpoints". (top level): Add "standalone vs shared lib" and "change address" vs "same address" axes. 2016-10-06 Pedro Alves * gdb.base/jit-simple.exp (top level) Delete get_compiler_info call. (jit_run): Delete. (jit_test_reread): Use with_test_prefix. Reload the main binary explicitly. Compare the before/after addresses of the JIT descriptor. 2016-08-15 Doug Evans * gdb.xml/extra-regs.xml: Update, end field now required, default type for single bitfields is bool. * gdb.xml/tdesc-regs.exp: Ditto. 2016-10-05 Jan Kratochvil * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo. 2016-10-05 Yao Qi * lib/gdb.exp (support_complex_tests): Return zero if gdb_skip_float_test return true. 2016-10-03 Antoine Tremblay Simon Marchi PR gdb/20487 * gdb.mi/user-selected-context-sync.exp: New file. * gdb.mi/user-selected-context-sync.c: New file. 2016-10-03 Antoine Tremblay Simon Marchi PR gdb/20487 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt =thread-select-event check. 2016-09-29 Peter Bergner * gdb.arch/powerpc-power.exp : Update tests to account for the compulsory L operand changes. * gdb.arch/powerpc-power.s: Likewise. 2016-09-29 Jan Kratochvil PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression * gdb.base/jit-attach-pie.c: New file. * gdb.base/jit-attach-pie.exp: New file. 2016-09-28 Pedro Alves * gdb.base/infcall-input.c: New file. * gdb.base/infcall-input.exp: New file. 2016-09-22 Yao Qi * lib/gdbserver-support.exp: Rename mi_gdb_exit. (gdb_exit): Rename it to ... (gdbserver_gdb_exit): ... Close GDBserver. (gdb_exit): New proc, call gdbserver_gdb_exit. (mi_gdb_exit): Likewise. 2016-09-22 Yao Qi * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute path. * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base. Remove duplication. 2016-09-22 Yao Qi * lib/gdbserver-support.exp: Check the existence of gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit. 2016-09-21 Anton Kolesov * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32. 2016-09-21 Tom Tromey PR gdb/20604: * gdb.base/quit.exp: New file. 2016-09-21 Simon Marchi * .gitignore: New file. 2016-09-21 Maciej W. Rozycki * gdb.arch/mips16-thunks.exp: Use `standard_output_file' throughout. 2016-09-16 Andreas Arnez * lib/gdb.exp: No longer skip hardware breakpoint tests on s390. 2016-09-16 Jan Kratochvil * gdb.cp/casts.cc (decltype): Move it ... (main): ... with its call to ... * gdb.cp/casts03.cc: ... a new file. * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it. 2016-09-15 Jan Kratochvil * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11. 2016-09-15 Peter Bergner * gdb.arch/powerpc-power.s: Update Power9 instruction tests and sync up the test with tests in gas/testsuite/gas/ppc. * gdb.arch/powerpc-power.exp: Likewise. 2016-09-15 Jan Kratochvil * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE. 2016-09-11 Sergio Durigan Junior Jan Kratochvil * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to make m1's definition to be different from m2's. Use 'dummy' as an argument for probe 'two'. 2016-09-10 Jon Beniston * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options for sim target. 2016-09-09 Andreas Arnez * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external variable declaration. (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap. * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable. * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver received HWCAP as its argument. 2016-09-06 Pedro Alves * gdb.base/new-ui-pending-input.c: New file. * gdb.base/new-ui-pending-input.exp: New file. * gdb.exp (clear_gdb_spawn_id): New procedure. (with_spawn_id): Check whether gdb_spawn_id exists before referencing it. If gdb_spawn_id didn't exist on entry, clear it on exit. 2016-09-05 Ulrich Weigand * gdb.base/float128.c: New file. * gdb.base/float128.exp: Likewise. * gdb.base/floatn.c: Likewise. * gdb.base/floatn.exp: Likewise. 2016-09-05 Ulrich Weigand * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment. 2016-09-05 Pedro Alves PR backtrace/19927 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that unwinders are immediately called as side effect of "source" or "disable unwinder" commands. * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls. 2016-09-02 Yao Qi * gdb.base/return-nodebug.exp: Skip the test if skip_float_test is true and $type is "float" or "double". 2016-09-02 Yao Qi * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns true. * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test. * gdb.base/call-rt-st.exp: Likewise. * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its return value instead of gdb,skip_float_test. * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test. (do_function_calls): Use its return value instead of gdb,skip_float_test. * gdb.base/finish.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/return.exp: Likewise. * gdb.base/return2.exp: Likewise. * gdb.base/varargs.exp: Likewise. * lib/gdb.exp (gdb_skip_float_test): Change it to gdb_caching_proc. Detect the broken ptrace on arm-linux. 2016-08-30 Andreas Arnez * gdb.multi/tids.exp: Test "thread apply all". 2016-08-29 Jan Kratochvil * gdb.base/default.exp (tty): Remove. 2016-08-24 Kevin Buettner * gdb.python/py-recurse-unwind.c: New file. * gdb.python/py-recurse-unwind.py: New file. * gdb.python/py-recurse-unwind.exp: New file. 2016-08-24 Simon Marchi * gdb.base/set-inferior-tty.exp: New file. * gdb.base/set-inferior-tty.c: New file. 2016-08-23 Pedro Alves PR gdb/20494 * gdb.base/new-ui-echo.c: New file. * gdb.base/new-ui-echo.exp: New file. 2016-08-23 Yao Qi * gdb.server/connect-stopped-target.exp (do_test): Pass "" to gdbserver_spawn. * gdb.server/connect-without-multi-process.exp (do_test): Likewise. 2016-08-23 Yao Qi * gdb.base/signals-state-child.exp: Set variables gdb_txt and standalone_txt. Delete gdb_txt and standalone_txt on host and target. Spawn the binary on target. Copy files from target to host. 2016-08-22 Pedro Alves PR gdb/20505 * gdb.base/vdso-warning.exp: Test core dumps too. Use with_test_prefix. Factor out bits to ... (test_no_vdso): ... this new procedure. 2016-08-19 Carl Love * gdb.arch/altivec-regs.exp: Use standard_testfile instead of maintaining separate logic for constructing the output path. * gdb.arch/powerpc-d128-regs.exp: Likewise. * gdb.arch/ppc-dfp.exp: Likewise. * gdb.arch/ppc-fp.exp: Likewise. * gdb.arch/vsx-regs.exp: Likewise. * gdb.arch/altivec-abi.exp: Likewise, plus added local variable binprefix for generating the additional binary files. 2016-08-19 Pedro Alves * gdb.trace/mi-trace-frame-collected.exp (test_trace_frame_collected): On x32, expect two registers. 2016-08-18 Carl Love * gdb.arch/powerpc-power.s: Add new Power9 instruction tests and sync up the test with tests in gas/testsuite/gas/ppc. * gdb.arch/powerpc-power.exp: Likewise. 2016-08-17 Simon Marchi * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix expected error message. 2016-08-17 Simon Marchi * gdb.multi/remove-inferiors.exp: New file. * gdb.multi/remove-inferiors.c: New file. 2016-08-12 Yao Qi * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's argument list. 2016-08-10 Pedro Alves PR gdb/19187 * gdb.reverse/waitpid-reverse.exp: Add comment and remove setup_kfails. 2016-08-09 Pedro Alves Simon Marchi PR gdb/20418 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files. * lib/mi-support.exp (mi_expect_interrupt): Remove anchors. 2016-08-09 Pedro Alves PR mi/20431 * gdb.mi/mi-cmd-error.exp: New file. 2016-08-09 Pedro Alves PR gdb/18653 * gdb.base/signals-state-child.c: New file. * gdb.base/signals-state-child.exp: New file. * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern. 2016-08-09 Pedro Alves * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file. 2016-08-03 Tom Tromey PR python/18565: * gdb.python/py-frame-inline.exp: Add Frame.function test. 2016-08-01 Yao Qi * gdb.threads/process-dies-while-detaching.exp (do_test): Set variable mode to "multi-process" if $multi_process is 1, otherwise set it to "single-process". 2016-08-01 Yao Qi * gdb.cp/anon-struct.exp: Check is_aarch32_target. * gdb.cp/cpexprs.exp: Likewise. * gdb.cp/m-static.exp: Likewise. 2016-07-26 Tom Tromey PR python/20190: * gdb.threads/tls.exp (check_thread_local): Add python symbol test. 2016-07-26 Markus Metzger * gdb.btrace/record_goto.exp: se is_amd64_regs_target for selecting assembly source files. * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting assembly source files. * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting assembly source files. * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for selecting assembly source files. 2016-07-25 Simon Marchi * gdb.base/new-ui.exp (do_test_invalid_args): New procedure. 2016-07-25 Tim Wiederhake * gdb.btrace/reconnect.c: New file. * gdb.btrace/reconnect.exp: New file. 2016-07-23 Gabriel Krisman Bertazi * gdb.base/catch-syscall.exp (do_syscall_tests): Add call to test_catch_syscall_group. (test_catch_syscall_group): New. 2016-07-21 Tom Tromey * gdb.rust/simple.rs (main): Use empty struct expression. * gdb.rust/simple.exp: Add tests for empty struct expression. 2016-07-21 Yao Qi * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1 if gdb_skip_xml_test is true on some targets. 2016-07-21 Yao Qi * gdb.server/solib-list.exp: Unset last_loaded_file. 2016-07-20 Jan Kratochvil * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and "step into captured_main (args)". 2016-07-20 Jan Kratochvil * gdb.btrace/tailcall-only.exp: Use is_lp64_target check. 2016-07-20 Jan Kratochvil * gdb.python/py-unwind.exp: Test also ![is_lp64_target]. 2016-07-19 Pedro Alves * gdb.opt/inline-break.exp: Remove optimize=-O2. * gdb.opt/inline-bt.exp: Likewise. * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add additional_flags=-Winline. * gdb.opt/inline-locals.exp: Likewise. * gdb.opt/inline-markers.c (ATTR): Define. (inlined_fn): Use it. 2016-07-19 Yao Qi * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative. (test_with_self): Remove some code. Remove argument executable. (top-level): Use do_self_tests. 2016-07-15 Zachary Welch Don Breazeal * gdb.base/maint.exp: Escape paths used in regular expressions. * gdb.stabs/weird.exp: Likewise. 2016-07-13 Tom Tromey PR python/15620, PR python/18620: * gdb.python/py-breakpoint.exp (connect_event, check_last_event) (test_bkpt_events): New procs. 2016-07-13 Tom Tromey PR python/17698: * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending" test. (test_watchpoints): Likewise. (test_bkpt_pending): New proc. 2016-07-13 Tom Tromey PR cli/18053: * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load completion test. 2016-07-13 Jan Kratochvil * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc. * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label. * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to f_label. (g): Rename g_end_lbl to g_label. * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for low_pc and high_pc. * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise. 2016-07-12 Tom Tromey PR python/19293: * gdb.python/py-unwind-maint.exp: Update tests. 2016-07-12 Yao Qi * lib/selftest-support.exp (selftest_setup): Match the output when captured_main is inlined. 2016-07-07 Walfred Tedeschi * gdb.fortran/derived-types.exp (result_line, result_line_2): New variables. (print this%a, print this%b, print this): New tests. * gdb.fortran/derived-types.f90 (this): New object and initialization. 2016-07-06 Simon Marchi * gdb.ada/arraydim.exp: Remove extra directory level in build directory. 2016-07-06 Simon Marchi * lib/ada.exp: Remove extra directory level in build directory. * gdb.ada/cond_lang.exp: Likewise. * gdb.ada/exec_changed.exp: Likewise. * gdb.ada/lang_switch.exp: Likewise. 2016-07-06 Manish Goregaokar * simple.rs: Add test for raw pointer subscripting. * simple.exp: Add test expectations. 2016-07-05 Yao Qi * gdb.mi/mi-reverse.exp: Match =record-started output. 2016-07-01 Pedro Alves * gdb.base/jit-reader.exp (info_registers_current_frame): New procedure. (jit_reader_test): Test the jit reader's unwinder. * gdb.base/jithost.c (jit_function_00_code): New global. (main): Use memcpy to fill in the mmapped code, instead of poking bytes manually here. * gdb.base/jitreader.c (enum register_mapping) : New value. (read_debug_info): Save the function's range. (read_sp): New function. (unwind_frame): Use it. Also unwind RBP. (get_frame_id): Use read_sp. (gdb_init_reader): Use calloc instead of malloc. * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test' parameter. Use gdb_test_multiple. 2016-07-01 Pedro Alves Antoine Tremblay * gdb.threads/process-dies-while-detaching.c: New file. * gdb.threads/process-dies-while-detaching.exp: New file. 2016-07-01 Pedro Alves * gdb.multi/watchpoint-multi-exit.c: New file. * gdb.multi/watchpoint-multi-exit.exp: New file. 2016-06-30 Pedro Alves * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't unset inferior_spawn_id. 2016-06-30 Pedro Alves * lib/mi-support.exp (default_mi_gdb_start): Declare global FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY. 2016-06-29 Yao Qi * gdb.base/return.c: Add copyright header. 2016-06-29 Tom Tromey PR python/20129: * gdb.python/py-framefilter.exp: Add tests for setting priority and disabling of non-existent frame filter. 2016-06-29 Yao Qi * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to 0x0f07ff. 2016-06-28 Yao Qi * gdb.base/catch-syscall.exp: Remove check on isnative and target triplets. Start gdb, execute catch syscall, and continue. Check gdb's output to determine catch syscall is supported. 2016-06-27 Manish Goregaokar * gdb.rust/simple.rs: Add test for returning unit in a function. * gdb.rust/simple.exp: Add expectation for functions returning unit. 2016-06-27 Pierre-Marie de Rodat * gdb.python/py-breakpoint-create-fail.c, gdb.python/py-breakpoint-create-fail.exp, gdb.python/py-breakpoint-create-fail.py: New testcase. 2016-06-25 Manish Goregaokar PR gdb/20239 * gdb.rust/simple.rs: Add more tests for printing NonZero enums. * gdb.rust/simple.exp: Add test expectations for new NonZero tests. 2016-06-24 David Taylor * gdb.base/offsets.exp: New file. * gdb.base/offsets.c: New file. 2016-06-23 Tom Tromey PR gdb/16483: * gdb.python/py-framefilter.exp: Add "info frame-filter" test before any filters are loaded. 2016-06-21 Walfred Tedeschi * gdb.fortran/derived-type.exp (print q): Add fields to the output. * gdb.fortran/vla-type.exp (print twov): Fix vla tests with structs. * gdb.fortran/derived-type-function.exp: New file. * gdb.fortran/derived-type-function.f90: New file. 2016-06-21 Pedro Alves * gdb.base/new-ui.exp: New file. * lib/mi-support.exp (switch_gdb_spawn_id): Move to ... * lib/gdb.exp (switch_gdb_spawn_id): ... here. (with_spawn_id): New procedure. 2016-06-21 Pedro Alves * gdb.mi/mi-exec-run.exp: New file. 2016-06-21 Pedro Alves * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect breakpoint command's output on the main UI. (test_break): New procedure, factored out from calls in the top level. (top level): Use foreach_with_prefix to test MI as main UI and as separate UI. 2016-06-21 Pedro Alves * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing) (test_awatch_creation_and_listing) (test_rwatch_creation_and_listing, test_watchpoint_triggering): Remove 'type' parameter. (test_watchpoint_all): New parameter mi_mode. Remove with_test_prefix. (top level): Use foreach_with_prefix, and add main/separate UI MI testing axis. 2016-06-21 Pedro Alves * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY. * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id. * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id. (gdb_main_spawn_id, mi_spawn_id): Declare and comment. (mi_create_inferior_pty): New procedure, factored out from default_mi_gdb_start. (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New procedures. (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the separate-mi-tty option is specified, or SEPARATE_MI_TTY is set. Use mi_create_inferior_pty. (mi_gdb_start): Use eval to pass down args list. 2016-06-21 Pedro Alves * gdb.opt/inline-cmds.c: Add "set mi break here" marker. * gdb.opt/inline-cmds.exp: Add MI tests. 2016-06-21 Pedro Alves * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp. 2016-06-21 Pedro Alves * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure. (top level): Use it instead of mi_execute_to. 2016-06-21 Pedro Alves * gdb.python/py-mi-events-gdb.py (stop_handler_str) (cont_handler_str): New. (signal_stop_handler): Set stop_handler_str instead of printing to stdout. (continue_handler): Set cont_handler_str instead of printing to stdout. * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of mi_send_resuming_command. Print stop_handler_str and cont_handler_str instead of expecting the python events print directly. 2016-06-17 Sanjoy Das * gdb.base/jit-reader.exp: New file. * gdb.base/jithost.c: New file. * gdb.base/jithost.h: New file. * gdb.base/jitreader.c : New file. * gdb.base/jit-protocol.h: New file. 2016-06-17 Yao Qi * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New parameters follow_fork and detach_on_fork. Set follow-fork-mode and detach-on-fork. Adjust tests. (top level): Invoke break_cond_on_syscall with combinations of syscall, follow-fork-mode and detach-on-fork. 2016-06-17 Yao Qi * gdb.base/step-over-exit.c: New. * gdb.base/step-over-exit.exp: New. 2016-06-17 Yan-Ting Lin * gdb.base/float.exp: Add target check for nds32*-*-*. * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*. 2016-06-13 Andrew Burgess * gdb.base/call-ar-st.exp: Report unsupported rather than xfail for unsupported target features. * gdb.base/call-rt-st.exp: Likewise. * gdb.base/call-sc.exp: Likewise. * gdb.base/call-signal-resume.exp: Likewise. * gdb.base/call-strs.exp: Likewise. * gdb.base/callexit.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.base/unwindonsignal.exp: Likewise. * gdb.cp/gdb2495.exp: Likewise. * gdb.cp/templates.exp: Likewise. * gdb.cp/virtfunc.exp: Likewise. * gdb.threads/hand-call-in-threads.exp: Likewise. * gdb.threads/interrupted-hand-call.exp: Likewise. * gdb.threads/thread-unwindonsignal.exp: Likewise. 2016-06-10 Tom Tromey PR rust/20110: * gdb.rust/expr.exp: Add test for integer constant larger than i32. 2016-06-10 Bernhard Heckel * gdb.fortran/nested-funcs.exp: New. * gdb.fortran/nested-funcs.f90: New. 2016-06-09 Toshihito Kikuchi * gdb.base/examine-backward.c: New file. * gdb.base/examine-backward.exp: New file. 2016-06-06 Simon Marchi * gdb.mi/mi-record-changed.exp: Adjust =record-started output matching. 2016-06-02 Tom Tromey PR python/18984: * gdb.python/py-shared.exp: Add solib_name test. 2016-06-02 Simon Marchi * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested. 2016-05-31 Martin Galvan PR c++/19893 * gdb.dwarf2/implref.exp: Rename to... * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements. * gdb.dwarf2/implref-array.c: New file. * gdb.dwarf2/implref-array.exp: Likewise. * gdb.dwarf2/implref-global.c: Likewise. * gdb.dwarf2/implref-global.exp: Likewise. * gdb.dwarf2/implref-struct.c: Likewise. * gdb.dwarf2/implref-struct.exp: Likewise. 2016-05-30 Antoine Tremblay * gdb.trace/trace-condition.exp: Add 64bit tests. 2016-05-30 Antoine Tremblay * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64 bits types. (main): Adapt to 8 to 64 bits types. * gdb.trace/trace-condition.exp: Add new tests. 2016-05-30 Antoine Tremblay * gdb.trace/trace-condition.exp: Add emit_less_unsigned test. 2016-05-30 Antoine Tremblay * gdb.trace/ftrace.exp (test_ftrace_condition): Remove. Move condition tests... * gdb.trace/trace-condition.exp: Here. 2016-05-30 Antoine Tremblay * gdb.trace/trace-condition.exp: Add counter-case tests. 2016-05-30 Jan Kratochvil PR c++/15231 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails. * gdb.dwarf2/dw2-lexical-block-bare.exp: New file. 2016-05-27 Pedro Alves * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu): New procedure. (top level): Call it, and bail out of DejaGnu is known to be bad. 2016-05-27 Andrew Burgess * gdb.base/whatis.c: Extend the test case. * gdb.base/whatis.exp: Add additional tests. 2016-05-25 Bernhard Heckel * gdb.fortran/type.f90: Add pointer variable. * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers. 2016-05-25 Bernhard Heckel * gdb.fortran/vla-type.exp: Fix testcase name. 2016-05-25 Bernhard Heckel * gdb.fortran/vla-type.exp: Access elements in nested structs. 2016-05-25 Bernhard Heckel * gdb.fortran/type.f90: Add nested structures. * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures. * gdb.fortran/derived-type.exp: Adapt expected output. * gdb.fortran/vla-type.exp: Adapt expected output. 2016-05-25 Bernhard Heckel * gdb.fortran/whatis_type.exp: Adapt expected output. 2016-05-25 Bernhard Heckel * gdb.fortran/print_type.exp: Fix expected output. * gdb.fortran/whatis_type.exp: Fix expected output. 2016-05-25 Bernhard Heckel * gdb.fortran/whatis_type.exp: Use multi_line. 2016-05-24 Tom Tromey PR python/17386: * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that use value as an index. 2016-05-23 Tom Tromey PR python/17981: * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for no-breakpoint case. 2016-05-24 Pedro Alves PR gdb/19828 * gdb.threads/clone-attach-detach.c: New file. * gdb.threads/clone-attach-detach.exp: New file. 2016-05-24 Francis Ricci (tiny patch) * gdb.base/annota-input-while-running.exp: Fix syntax error. 2016-05-23 Tom Tromey PR python/19438, PR python/18393: * gdb.python/py-progspace.exp: Add "dir" test. * gdb.python/py-objfile.exp: Add "dir" test. 2016-05-23 Yao Qi * gdb.arch/thumb-prologue.exp: Use standard_testfile. * gdb.arch/thumb2-it.exp: Likewise. 2016-05-18 Simon Marchi * gdb.mi/mi-threads-interrupt.c: New file. * gdb.mi/mi-threads-interrupt.exp: New file. 2016-05-17 Simon Marchi PR gdb/18077 * gdb.mi/mi-async-run.exp: New file. * gdb.mi/mi-async-run.c: New file. 2016-05-17 Tom Tromey Manish Goregaokar * lib/rust-support.exp: New file. * lib/gdb.exp (skip_rust_tests): New proc. (build_executable_from_specs): Handle rust. * lib/future.exp (gdb_find_rustc): New proc. (gdb_default_target_compile): Handle rust. * gdb.rust/expr.exp: New file. * gdb.rust/generics.exp: New file. * gdb.rust/generics.rs: New file. * gdb.rust/methods.exp: New file. * gdb.rust/methods.rs: New file. * gdb.rust/modules.exp: New file. * gdb.rust/modules.rs: New file. * gdb.rust/simple.exp: New file. * gdb.rust/simple.rs: New file. 2016-05-17 Tom Tromey * gdb.base/default.exp (set language): Add rust. 2016-05-17 Tom Tromey * gdb.gdb/unittest.exp: New file. 2016-05-16 Yao Qi * gdb.base/batch-preserve-term-settings.exp: Remove variable shell_prompt. Update shell_prompt_re. 2016-05-12 Doug Evans PR symtab/19999 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass $options when building executable. * gdb.dwarf2/fission-loclists-pie.S: New file. * gdb.dwarf2/fission-loclists-pie.exp: New file. 2016-05-04 Simon Marchi * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead of [is_remote target], 2016-05-04 Simon Marchi * lib/gdb.exp (use_gdb_stub): New procedure. 2016-05-03 Yunlian Jiang Doug Evans PR symtab/19914 * gdb.dwarf2/dwp-sepdebug.c: New file. * gdb.dwarf2/dwp-sepdebug.exp: New file. 2016-05-02 Simon Marchi * gdb.base/detach.exp: Remove is_remote check. 2016-05-02 Simon Marchi * gdb.base/annota-input-while-running.exp: Don't check for [is_remote target]. Enable annotations after running to main. Remove unused "set test..." line. 2016-04-28 Simon Marchi * gdb.trace/trace-enable-disable.exp: New file. * gdb.trace/trace-enable-disable.c: New file. 2016-04-28 Simon Marchi * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result, use it in info sharedlibrary test. * gdb.trace/ftrace-lock.exp: Likewise. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/range-stepping.exp: Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/trace-condition.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. 2016-04-27 Simon Marchi * lib/gdb.exp (gdb_load_shlibs): Rename to... (gdb_load_shlib): ... this. * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs -> gdb_load_shlib. * gdb.base/catch-load.exp (one_catch_load_test): Likewise. * gdb.base/ctxobj.exp: Likewise. * gdb.base/dprintf-pending.exp: Likewise. * gdb.base/dso2dso.exp: Likewise. * gdb.base/fixsection.exp: Likewise. * gdb.base/gcore-relro.exp: Likewise. * gdb.base/gdb1555.exp: Likewise. * gdb.base/global-var-nested-by-dso.exp: Likewise. * gdb.base/gnu-ifunc.exp: Likewise. * gdb.base/hbreak-in-shr-unsupported.exp: Likewise. * gdb.base/jit-so.exp (one_jit_test): Likewise. * gdb.base/pending.exp: Likewise. * gdb.base/print-file-var.exp: Likewise. * gdb.base/print-symbol-loading.exp: Likewise. * gdb.base/shlib-call.exp: Likewise. * gdb.base/shreloc.exp: Likewise. * gdb.base/so-impl-ld.exp: Likewise. * gdb.base/solib-disc.exp: Likewise. * gdb.base/solib-nodir.exp: Likewise. * gdb.base/solib-overlap.exp: Likewise. * gdb.base/solib-symbol.exp: Likewise. * gdb.base/solib-weak.exp (do_test): Likewise. * gdb.base/sym-file.exp: Likewise. * gdb.base/symtab-search-order.exp: Likewise. * gdb.base/type-opaque.exp: Likewise. * gdb.base/unload.exp: Likewise. * gdb.base/watchpoint-solib.exp: Likewise. * gdb.compile/compile.exp: Likewise. * gdb.cp/gdb2384.exp: Likewise. * gdb.cp/infcall-dlopen.exp: Likewise. * gdb.cp/re-set-overloaded.exp: Likewise. * gdb.fortran/library-module.exp: Likewise. * gdb.opt/solib-intra-step.exp: Likewise. * gdb.python/py-finish-breakpoint.exp: Likewise. * gdb.python/py-shared.exp: Likewise. * gdb.reverse/solib-precsave.exp: Likewise. * gdb.reverse/solib-reverse.exp: Likewise. * gdb.server/solib-list.exp: Likewise. * gdb.threads/dlopen-libpthread.exp: Likewise. * gdb.threads/tls-shared.exp: Likewise. * gdb.threads/tls-so_extern.exp: Likewise. * gdb.trace/change-loc.exp: Likewise. * gdb.trace/ftrace-lock.exp: Likewise. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise. * gdb.trace/pending.exp: Likewise. * gdb.trace/range-stepping.exp: Likewise. * gdb.trace/strace.exp (strace_remove_socket): Likewise. (strace_info_marker): Likewise. (strace_probe_marker): Likewise. (strace_trace_on_same_addr): Likewise. (strace_trace_on_diff_addr): Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/trace-condition.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. 2016-04-27 Simon Marchi * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return result of gdb_remote_download. * gdb.base/ctxobj.exp: Split gdb_load_shlibs call. * gdb.base/dso2dso.exp: Likewise. * gdb.base/global-var-nested-by-dso.exp: Likewise. * gdb.base/print-file-var.exp: Likewise. * gdb.base/shlib-call.exp: Likewise. * gdb.base/shreloc.exp: Likewise. * gdb.base/solib-overlap.exp: Likewise. * gdb.base/solib-weak.exp (do_test): Likewise. * gdb.base/unload.exp: Likewise. 2016-04-27 Yao Qi * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals exists. 2016-04-26 Bernhard Heckel * vla-type.exp: Print structure from toplevel. 2016-04-26 Bernhard Heckel * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays of dynamic types. * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays of dynamic types. 2016-04-26 Bernhard Heckel * gdb.fortran/vla-type.f90: New file. * gdb.fortran/vla-type.exp: New file. 2016-04-25 Yao Qi * gdb.base/branch-to-self.c: New file. * gdb.base/branch-to-self.exp: New file. 2016-04-22 Yao Qi * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match more after $hex. 2016-04-22 Yao Qi * gdb.base/annota1.exp: Set breakpoint on line $main_line. * gdb.base/annota3.exp: Likewise. 2016-04-22 Yao Qi * gdb.reverse/step-precsave.exp: Do one step and test program stops in "callee" and do multiple steps until program goes out of "callee". * gdb.reverse/step-reverse.exp: Likewise. 2016-04-22 Yao Qi * gdb.trace/signal.exp: Also pass if $tracepoint_hits($i) > $iterations. 2016-04-22 Yao Qi * gdb.trace/signal.c: New file. * gdb.trace/signal.exp: New file. 2016-04-19 Doug Evans * gdb.base/bad-file.exp: New file. 2016-04-18 Martin Galvan * gdb.dwarf2/implref.exp: New file. 2016-04-18 Bernhard Heckel * gdb.fortran/common-block.exp: Use type naming defined in lib fortran. * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran. * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran. * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran. * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran. * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran. * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran. * lib/fortran.exp (fortran_int4): New procedure. (fortran_real4, fortran_real8, fortran_complex4): Likewise. (fortran_logical4): Likewise. 2016-04-18 Benrhard Heckel * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler. 2016-04-18 Bernhard Heckel * lib/compiler.c: Add Intel specific preprocessor macros. * lib/compiler.cc: Likewise. 2016-04-13 Luis Machado * gdb.server/connect-with-no-symbol-file.c: New file. * gdb.server/connect-with-no-symbol-file.exp: New file. 2016-04-13 Simon Marchi * lib/gdb.exp (gdb_remote_download): Fix and extend comment. 2016-04-13 Simon Marchi * boards/gdbserver-base.exp (${board}_download): Copy source file to standard output directory. 2016-04-13 Antoine Tremblay * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase. 2016-04-13 Markus Metzger * gdb.btrace/instruction_history.c (loop): Add declaration. 2016-04-12 Antoine Tremblay * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond". 2016-04-09 Simon Marchi * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add parentheses to print. (continue_handler): Likewise. 2016-04-08 Simon Marchi * gdb.server/solib-list.exp: Remove is_remote check. Pass shlib= to gdb_compile. Don't link shared library with -soname. Call gdb_remote_download instead of gdb_load_shlibs. Run binary filename through "readlink -f" on the target. 2016-04-08 Pedro Alves * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the interpreter filename as argument to gdbserver_spawn. * lib/gdbserver-support.exp (gdbserver_download_current_prog): Return empty if $last_loaded_file does not exist. 2016-04-08 Jan Kratochvil Fix compatibility with gcc-4.8.5-4.el7.x86_64. * gdb.base/jit-main.c: Use exit after usage. 2016-04-07 Jan Kratochvil * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and GDBHISTSIZE prior to the tests. * gdb.base/gdbinit-history.exp: Likewise. 2016-04-07 Pedro Alves * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option instead of build_executable. Use gdb_load_shlibs. 2016-04-07 Yao Qi * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint. Execute "si" command. 2016-04-07 Yao Qi * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint number instead of the comments on some line. 2016-04-06 Don Breazeal * gdb.dwarf2/dw2-opt-structptr.c: New test program. * gdb.dwarf2/dw2-opt-structptr.exp: New test script. 2016-04-06 Simon Marchi * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using standard_output_file. Remove unused binfile variable. 2016-04-05 Catalin Udma * gdb.python/py-mi-objfile-gdb.py: Use "list main" command. * gdb.python/py-mi-objfile.exp: Match "list main" output in console format. 2016-04-05 Simon Marchi * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of absolute. 2016-04-05 Simon Marchi * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of absolute. * gdb.trace/ftrace.exp: Likewise. * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote targets as well. (gdb_compile_shlib): Set SONAME for non-remote targets as well. (gdb_load_shlibs): Copy libraries to test directory when testing natively. Only set solib-search-path if testing remotely. * lib/mi-support.exp (mi_load_shlibs): Likewise. 2016-04-05 Simon Marchi * gdb.base/jit-so.exp: Use gdb_remote_download instead of gdb_download. Use it even if the target is not remote. * gdb.base/jit.exp (compile_jit_test): Likewise. * lib/gdb.exp (gdb_remote_download): Copy files to the standard output directory if the destination board is local, otherwise use the standard remote_download from DejaGnu. (gdb_download): Remove. (gdb_load_shlibs): Use gdb_remote_download instead of gdb_download. * lib/gdbserver-support.exp (gdbserver_download_current_prog): Use gdb_remote_download instead of gdb_download. Use it even if the target is not remote. * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download instead of gdb_download. 2016-04-04 Simon Marchi * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix. (test_insert_delete_modify): Call mi_load_shlibs before trying to run. 2016-04-01 Artemiy Volkov PR gdb/19820 * gdb.base/printcmds.exp: Add artificial arrays tests. 2016-03-31 Pedro Alves PR gdb/19858 * gdb.base/jit-main.c: Include unistd.h. (ATTACH): Define to 0 if not already defined. (wait_for_gdb, mypid): New globals. (WAIT_FOR_GDB): New macro. (MAIN): Set an alarm. Store the process's pid. Wait for GDB at some breakpoint locations. * gdb.base/jit.exp (clean_reattach, continue_to_test_location): New procedures. (one_jit_test): Add REATTACH parameter, and handle it. Use continue_to_test_location. (top level): Test attach, and adjusts calls to one_jit_test. 2016-03-31 Pedro Alves PR gdb/19858 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add BINSUFFIX parameter, and handle it. (top level): Adjust calls compile_jit_test. 2016-03-31 Catalin Udma PR python/19743 * gdb.python/py-mi-events-gdb.py: New file. * gdb.python/py-mi-events.c: New file. * gdb.python/py-mi-events.exp: New file. 2016-03-30 Yao Qi * gdb.reverse/until-precsave.exp: Match function name only. * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf. Move malloc to a condition block. * gdb.reverse/until-reverse.exp: Match function name only. 2016-03-29 Marcin Kościelnicki * gdb.trace/ftrace.exp: Set arg0exp for s390. * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390. * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num variable for GPR 0 instead of assuming it is register 0. * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder. * lib/trace-support.exp: Add s390 registers. 2016-03-29 Yao Qi * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing. 2016-03-24 Yao Qi * gdb.reverse/break-reverse.exp: Add quotation mark in the test message. 2016-03-17 Andreas Arnez * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of maintaining separate logic for constructing the output path. 2016-03-16 Don Breazeal * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): Retry fork and waitpid on interrupted system call errors. * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): Use with_timeout_factor to increase timeout by factor of 10. 2016-03-15 Don Breazeal * gdb.cp/scope-err.cc: New test program. * gdb.cp/scope-err.exp: New test script. * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple lines and "set breakpoint here" comment. * gdb.linespec/ls-errs.exp: Added C++ testing and new test case. Fixed some whitespace and format issues. * gdb.mi/mi-linespec-err-cp.cc: New test program. * gdb.mi/mi-linespec-err-cp.exp: New test script. 2016-03-15 Doug Evans * gdb.xml/extra-regs.xml: Add enum, mixed_flags values. * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file. All callers updated. Add tests for enums, mixed flags register. 2016-03-15 Doug Evans * gdb.base/skip.c (main): Call test_skip_file_and_function. * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function. 2016-03-14 Simon Marchi * gdb.base/default.exp: Add $_as_string to the list of expected convenience functions. 2016-03-11 Andrew Burgess * gdb.base/maint.exp: New tests for 'maint info line-table'. 2016-03-10 Simon Marchi * gdb.python/py-as-string.exp: New file. * gdb.python/py-as-string.c: New file. 2016-03-09 Pedro Alves * gdb.threads/attach-into-signal.exp: Adjust to "Program received signal" -> "Thread NN received signal" output change. * gdb.threads/ia64-sigill.exp: Likewise. * gdb.threads/linux-dp.exp: Likewise. * gdb.threads/manythreads.exp: Likewise. * gdb.threads/pending-step.exp: Likewise. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/sigstep-threads.exp: Likewise. * gdb.threads/staticthreads.exp: Likewise. * gdb.threads/tls.exp: Likewise. 2016-03-09 Pedro Alves * gdb.base/command-line-input.exp: New file. 2016-03-09 Marcin Kościelnicki * gdb.trace/ftrace.exp: Set arg0exp for ppc. * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc. * gdb.trace/pending.exp: Accept leading dot before function name. * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc. * lib/trace-support.exp: Set registers for ppc. 2016-03-09 Marcin Kościelnicki * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and use it for disassembly; accept .main in addition to main in backtrace. 2016-03-09 Wei-cheng Wang Marcin Kościelnicki * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef. (gdb_recursion_test_ptr): New global variable. (gdb_recursion_test): Call gdb_recursion_test_ptr instead of gdb_recursion_test. (gdb_c_test): Ditto. 2016-03-09 Marcin Kościelnicki * gdb.trace/change-loc.exp: Don't depend on tracepoint location ordering. 2016-03-09 Marcin Kościelnicki * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label. (bar): Add bar_start_lbl label. * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead of foo/bar for emitting DWARF and tracing. 2016-03-06 Sergio Durigan Junior * analyze-racy-logs.py: Set executable bit. 2016-03-05 Sergio Durigan Junior * Makefile.in (DEFAULT_RACY_ITER): New variable. (CHECK_TARGET_TMP): Likewise. (check-single-racy): New rule. (check-parallel-racy): Likewise. (TEST_TARGETS): Adjust rule to account for RACY_ITER. (do-check-parallel-racy): New rule. (check-racy/%.exp): Likewise. * README (Racy testcases): New section. * analyze-racy-logs.py: New file. 2016-03-03 Doug Evans * gdb.base/skip.exp: Use with_test_prefix. 2016-03-03 Yao Qi * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail. Invoke step_over_syscall "clone" and break_cond_on_syscall "clone". * gdb.base/step-over-clone.c: New file. 2016-03-03 Yao Qi * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix code format. 2016-03-03 Yao Qi * gdb.base/disp-step-fork.c: Rename to ... * gdb.base/step-over-fork.c: ... it. New file. * gdb.base/disp-step-vfork.c: Rename to ... * gdb.base/step-over-vfork.c: ... it. New file. * gdb.base/disp-step-syscall.exp: Rename to ... * gdb.base/step-over-syscall.exp: ... it. New file. (disp_step_cross_syscall): Rename to ... (step_over_syscall): ... it. 2016-03-03 Yao Qi * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New. If target supports condition evaluation on target, invoke break_cond_on_syscall for fork and vfork. 2016-03-03 Yao Qi * gdb.base/disp-step-syscall.exp: Don't invoke support_displaced_stepping. (disp_step_cross_syscall): Test with displaced stepping off and on if supported. 2016-03-03 Yao Qi * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New proc. (setup): New proc. (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall and setup. 2016-03-02 Bernhard Heckel * gdb.fortran/vla-history.exp: Remove breakpoint. 2016-03-02 Bernhard Heckel * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout. 2016-03-02 Bernhard Heckel * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint. 2016-03-02 Bernhard Heckel * gdb.mi/vla.f90: Nullify pointer after declaration. 2016-03-01 Pedro Alves * gdb.trace/ftrace-lock.c: Include . 2016-03-01 Pedro Alves * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h" before anything else. * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define _GNU_SOURCE here. * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h" before anything else. * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE. 2016-03-01 Pedro Alves * gdb.base/catch-fork-kill.c: Include . 2016-03-01 Yao Qi * gdb.arch/arm-disp-step.exp: Use standard_testfile and prepare_for_testing. 2016-03-01 Yao Qi * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing. 2016-03-01 Andreas Arnez * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of manually constructing the output path. 2016-03-01 Andreas Arnez * gdb.arch/s390-stackless.S: New. * gdb.arch/s390-stackless.exp: New. 2016-02-28 Iain Buclaw * gdb.dlang/circular.c: New file. * gdb.dlang/circular.exp: New file. 2016-02-26 Yao Qi * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New. [__arm__] (ext_reg_mov, ext_reg_push_pop): New. (testcases): Update. 2016-02-26 Yao Qi * gdb.reverse/aarch64.c: Rename to ... * gdb.reverse/insn-reverse.c: ... it. * gdb.reverse/aarch64.exp: Rename to ... * gdb.reverse/insn-reverse.exp: ... it. 2016-02-26 Yao Qi * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h. (testcase_ftype): New. (testcases): New array. (n_testcases): New. (main): Call each element in testcases. * gdb.reverse/aarch64.exp: Remove is_aarch64_target check. (read_testcase): New. Do the tests in a loop. 2016-02-25 Yao Qi * gdb.base/branches.c: Remove. 2016-02-25 Marcin Kościelnicki PR gdb/13808 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail. 2016-02-25 Marcin Kościelnicki * gdb.trace/ftrace.exp: Remove unnecessary target check. 2016-02-25 Marcin Kościelnicki * gdb.trace/entry-values.exp: Surround $call_insn with '\y', change x86_64 call_insn to 'callq'. 2016-02-24 Antoine Tremblay * gdb.trace/tfile-avx.c: Move to... * gdb.trace/tracefile-pseudo-reg.c: Here. * gdb.trace/tfile-avx.exp: Move to... * gdb.trace/tracefile-pseudo-reg.exp: Here. 2016-02-24 Gary Benson * gdb.base/attach-pie-noexec.exp: Do not expect an error message on attach. 2016-02-23 Doug Evans * gdb.base/skip.c (test_skip): New function. (end_test_skip_file_and_function): New function. (test_skip_file_and_function): New function. * gdb.base/skip1.c (test_skip): New function. (skip1_test_skip_file_and_function): New function. * gdb.base/skip.exp: Add tests for new skip options. * gdb.base/skip-solib.exp: Update expected output. * gdb.perf/skip-command.cc: New file. * gdb.perf/skip-command.exp: New file. * gdb.perf/skip-command.py: New file. 2016-02-22 Marcin Kościelnicki * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix info registers pattern. 2016-02-18 Iain Buclaw * lib/future.exp: Add D support. (gdb_find_gdc): New proc. (gdb_default_target_compile): Add D support. 2016-02-18 Wei-cheng Wang * gdb.trace/tspeed.c (myclock): Return wallclock instead of user+system time. (trace_speed_test): Determine the iteration count for a time between 15..30 seconds. 2016-02-18 Walfred Tedeschi * gdb.arch/i386-mpx-sigsegv.c: New file. * gdb.arch/i386-mpx-sigsegv.exp: New file. * gdb.arch/i386-mpx-simple_segv.c: New file. * gdb.arch/i386-mpx-simple_segv.exp: New file. 2016-02-18 Yao Qi * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Don't call setup_kfail. 2016-02-18 Yao Qi * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): Set "set breakpoint condition-evaluation" per $cond_bp_target. 2016-02-16 Doug Evans * gdb.base/skip.c: Add copyright. Whitespace cleanup. * gdb.base/skip1.c: Ditto. * gdb.base/skip.exp: Whitespace cleanup. 2016-02-16 Don Breazeal PR remote/19496 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): Remove kfail for PR remote/19496. 2016-02-16 Simon Marchi * lib/gdb.exp (standard_temp_file): Return a path specific to the runtest invocation. 2016-02-16 Simon Marchi * gdb.trace/save-trace.exp: Change relative path to be in the standard output directory. 2016-02-15 Jan Kratochvil * gdb.arch/i386-prologue.c: Add missing prototypes. 2016-02-15 Jan Kratochvil * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-size.exp: Likewise. 2016-02-15 Simon Marchi * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to define object file path. * gdb.btrace/gcore.exp: Use standard_output_file to define core file path. * lib/opencl.exp (gdb_compile_opencl_hostapp): Use standard_output_file to define binfile. 2016-02-14 Jan Kratochvil Fix compatibility with recent gfortran-5.3.1. * gdb.fortran/vla-history.exp (print vla1 allocated) (print vla2 allocated, print $2, print $3): Remove (print $4): Rename to ... (print $2): ... here. (print $9): Rename to ... (print $5): ... here. (print $10): Rename to ... (print $6): ... here. * gdb.fortran/vla.f90: Add pvla initialization. 2016-02-14 Jan Kratochvil * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024): New test. * gdb.fortran/vla-value-sub.exp: Likewise. 2016-02-12 Marcin Kościelnicki * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15. 2016-02-12 Simon Marchi * i386-biarch-core.exp: Define corefile using standard_output_file. 2016-02-12 Yao Qi * gdb.arch/arm-single-step-kernel-helper.c: New. * gdb.arch/arm-single-step-kernel-helper.exp: New. 2016-02-12 Markus Metzger * gdb.btrace/tailcall-only.exp: New. * gdb.btrace/tailcall-only.c: New. * gdb.btrace/x86_64-tailcall-only.S: New. * gdb.btrace/i686-tailcall-only.S: New. 2016-02-11 Pedro Alves * README (Parallel testing): Add missing double quotes. 2016-02-11 Pedro Alves * README (Parallel testing): New section. (GDB_PARALLEL): Rewrite. (FORCE_PARALLEL): Document. 2016-02-11 Marcin Kościelnicki * gdb.trace/tfile-avx.c: New test. * gdb.trace/tfile-avx.exp: New test. 2016-02-09 Keith Seitz PR breakpoints/19546 * gdb.base/infcall-exec.c: New file. * gdb.base/infcall-exec2.c: New file. * gdb.base/infcall-exec.exp: New file. 2016-02-09 Keith Seitz * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure. (toplevel): Call test_bkpt_address. 2016-02-09 Keith Seitz PR python/19506 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure. (toplevel): Call test_bkpt_address. 2016-02-09 Simon Marchi * configure.ac: Use AC_CONFIG_FILES instead of passing arguments to AC_OUTPUT. * configure: Regenerate. 2016-02-09 Pedro Alves PR breakpoints/19548 * gdb.base/execl-update-breakpoints.c (some_function): New function. (main): Call it. * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint. Tighten expected GDB output. 2016-02-08 Simon Marchi * Makefile.in (ALL_SUBDIRS): Remove. (clean mostlyclean): Do not recurse in ALL_SUBDIRS. (distclean maintainer-clean realclean): Likewise. * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile. * configure: Regenerate. * gdb.ada/Makefile.in: Delete. * gdb.arch/Makefile.in: Likewise. * gdb.asm/Makefile.in: Likewise. * gdb.base/Makefile.in: Likewise. * gdb.btrace/Makefile.in: Likewise. * gdb.cell/Makefile.in: Likewise. * gdb.compile/Makefile.in: Likewise. * gdb.cp/Makefile.in: Likewise. * gdb.disasm/Makefile.in: Likewise. * gdb.dlang/Makefile.in: Likewise. * gdb.dwarf2/Makefile.in: Likewise. * gdb.fortran/Makefile.in: Likewise. * gdb.gdb/Makefile.in: Likewise. * gdb.go/Makefile.in: Likewise. * gdb.guile/Makefile.in: Likewise. * gdb.java/Makefile.in: Likewise. * gdb.linespec/Makefile.in: Likewise. * gdb.mi/Makefile.in: Likewise. * gdb.modula2/Makefile.in: Likewise. * gdb.multi/Makefile.in: Likewise. * gdb.objc/Makefile.in: Likewise. * gdb.opencl/Makefile.in: Likewise. * gdb.opt/Makefile.in: Likewise. * gdb.pascal/Makefile.in: Likewise. * gdb.perf/Makefile.in: Likewise. * gdb.python/Makefile.in: Likewise. * gdb.reverse/Makefile.in: Likewise. * gdb.server/Makefile.in: Likewise. * gdb.stabs/Makefile.in: Likewise. * gdb.threads/Makefile.in: Likewise. * gdb.trace/Makefile.in: Likewise. * gdb.xml/Makefile.in: Likewise. * lib/gdb.exp (make_gdb_parallel_path): Add check for GDB_PARALLEL. (standard_output_file): Remove check for GDB_PARALLEL, always return path in outputs/$subdir/$testname. 2016-02-08 Simon Marchi * Makefile.in (abs_srcdir): Assign @abs_srcdir@. (site.exp): Assign abs_srcdir to tcl's srcdir. 2016-02-04 Yao Qi * gdb.base/foll-exec-mode.c: Include limits.h. (main): Add parameters argc and argv. Get directory from argv[0]. * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in compilation. * gdb.base/foll-exec.c: Include limits.h. (main): Add parameters argc and argv. Get directory from argv[0]. * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation. Adjust tests on the number of lines as source code changed. * gdb.base/foll-vfork-exit.c: Include limits.h. (main): Add one line of statement before vfork. * gdb.base/foll-vfork.c: Include limits.h and string.h. (main): Add parameters argc and argv. Get directory from argv[0]. * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation. (setup_gdb): Set tbreak to skip some source lines. * gdb.multi/bkpt-multi-exec.c: Include limits.h. (main): Add parameters argc and argv. Get directory from argv[0]. * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in compilation. * gdb.multi/multi-arch-exec.c: Include limits.h and string.h. (main): Add parameters argc and argv. Get directory from argv[0]. * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in compilation. 2016-02-01 Doug Evans * gdb.base/skip.exp: Clean up multiple references to same test name. 2016-02-01 Pedro Alves PR remote/19496 * gdb.threads/forking-threads-plus-breakpoint.exp (displaced_stepping_supported): New global. (probe_displaced_stepping_support): New procedure. (do_test): Add 'displaced' parameter, and use it. (top level): Check for displaced stepping support. Add displaced stepping on/off testing axis. 2016-02-01 Andrew Burgess * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated pointer. Don't perform further tests on the unassociated pointer if the first test fails. 2016-02-01 Andrew Burgess * gdb.base/max-value-size.c: New file. * gdb.base/max-value-size.exp: New file. * gdb.base/huge.exp: Disable max-value-size for this test. 2016-01-28 Iain Buclaw * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. 2016-01-28 Yao Qi * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor. 2016-01-25 Pedro Alves PR threads/19461 * gdb.base/fork-running-state.c: New file. * gdb.base/fork-running-state.exp: New file. 2016-01-25 Pedro Alves PR gdb/19494 * gdb.base/catch-fork-kill.c: New file. * gdb.base/catch-fork-kill.exp: New file. 2016-01-25 Pedro Alves * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix): Delete, moved to lib/gdb.exp. * gdb.threads/forking-threads-plus-breakpoint.exp (foreach_with_prefix): Likewise. * gdb.threads/process-dies-while-handling-bp.exp (foreach_with_prefix): Likewise. * lib/gdb.exp (foreach_with_prefix): New procedure. 2016-01-25 Marcin Kościelnicki * gdb.trace/backtrace.exp: Bump stack collection fudge factor. * gdb.trace/entry-values.exp: Bump stack collection fudge factor. 2016-01-23 Marcin Kościelnicki * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big endian targets. 2016-01-22 Jan Kratochvil Pedro Alves Fix testsuite compatibility with Guile. * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread number. 2016-01-22 Jan Kratochvil Fix testsuite compatibility with Guile. * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread. (thread 1): New test for backtrace through signal handler. 2016-01-22 Yao Qi PR testsuite/19491 * gdb.base/multi-forks.c: Include ../lib/unbuffer_output.c (main): Call gdb_unbuffer_output. 2016-01-21 Doug Evans * lib/ada.exp (gdb_compile_ada): Fix typo. 2016-01-21 Joel Brobecker * gdb.base/break-fun-addr.exp: New file. * gdb.base/break-fun-addr1.c: New file. * gdb.base/break-fun-addr2.c: New file. 2016-01-20 Simon Marchi * gdb.python/py-pp-maint.exp: Change/add enum flag tests. * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex enum flag values. 2016-01-20 Andreas Arnez * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail when GDB can not set the vector return value. Add more comments for clarification. 2016-01-20 Antoine Tremblay * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile command. 2016-01-19 Simon Marchi * Makefile.in (DO_RUNTEST): Add --status and update usages. 2016-01-19 Simon Marchi * Makefile.in (check-single): Pass --status to runtest. (check/%.exp): Likewise. 2016-01-19 Simon Marchi * Makefile.in (check-parallel): Propagate return code from make do-check-parallel. 2016-01-19 Marcin Kościelnicki * gdb.trace/ftrace.exp: Fix expected message on continue. * gdb.trace/pending.exp: Fix expected message on continue. * gdb.trace/trace-break.exp: Fix expected message on continue. 2016-01-18 Simon Marchi * lib/gdb.exp (gdb_test): Remove unused global references. 2016-01-18 Pedro Alves * gdb.base/async-shell.exp: Adjust expected output. * gdb.base/dprintf-non-stop.exp: Adjust expected output. * gdb.base/siginfo-thread.exp: Adjust expected output. * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output. * gdb.java/jnpe.exp: Adjust expected output. * gdb.threads/clone-new-thread-event.exp: Adjust expected output. * gdb.threads/continue-pending-status.exp: Adjust expected output. * gdb.threads/leader-exit.exp: Adjust expected output. * gdb.threads/manythreads.exp: Adjust expected output. * gdb.threads/pthreads.exp: Adjust expected output. * gdb.threads/schedlock.exp: Adjust expected output. * gdb.threads/siginfo-threads.exp: Adjust expected output. * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust expected output. * gdb.threads/signal-delivered-right-thread.exp: Adjust expected output. * gdb.threads/sigthread.exp: Adjust expected output. * gdb.threads/watchpoint-fork.exp: Adjust expected output. 2016-01-18 Yao Qi * gdb.guile/scm-section-script.c: Replace @progbits with %progbits. * gdb.python/py-section-script.c: Likewise. 2016-01-15 Pedro Alves * gdb.multi/tids.exp: Test star wildcard ranges. 2016-01-15 Pedro Alves * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234" command from "thread apply" invocation. (thr_apply_info_thr_invalid): Default the expected output to the input tid list. (top level): Add tests that use convenience variables. Add tests for "thread apply" with a valid TID list, but missing the command. 2016-01-13 Pedro Alves * gdb.base/default.exp: Expect $_gthread as well. * gdb.multi/tids.exp: Test $_gthread. * gdb.threads/thread-specific.exp: Test $_gthread. 2016-01-13 Pedro Alves * gdb.multi/tids.exp: Test "info threads -gid". 2016-01-13 Pedro Alves * gdb.multi/tids.exp: Test InferiorThread.global_num and Breakpoint.thread. * gdb.python/py-infthread.exp: Test InferiorThread.global_num. 2016-01-07 Pedro Alves * gdb.base/break.exp: Adjust to output changes. * gdb.base/hbreak2.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/watch_thread_num.exp: Likewise. * gdb.linespec/keywords.exp: Likewise. * gdb.multi/info-threads.exp: Likewise. * gdb.threads/thread-find.exp: Likewise. * gdb.multi/tids.c: New file. * gdb.multi/tids.exp: New file. 2016-01-13 Pedro Alves * gdb.python/py-infthread.exp: Test InferiorThread.inferior. 2016-01-13 Pedro Alves * gdb.base/default.exp: Expect $_inferior as well. * gdb.multi/base.exp: Test $_inferior. 2016-01-13 Pedro Alves PR breakpoints/19388 * gdb.base/catch-signal-siginfo-cond.c: New file. * gdb.base/catch-signal-siginfo-cond.exp: New file. 2016-01-12 Josh Stone Philippe Waroquiers * gdb.base/catch-syscall.c (do_execve): New variable. (main): Conditionally trigger an execve. * gdb.base/catch-syscall.exp: Enable testing for remote targets. (test_catch_syscall_execve): New, check entry/return across execve. (do_syscall_tests): Call test_catch_syscall_execve. 2016-01-12 Pedro Alves * gdb.base/random-signal.exp (do_test): New procedure, with body of testcase moved in. 2016-01-11 Jan Kratochvil Pedro Alves * gdb.base/funcargs.exp (finish from indirectly called function): Reintroduce the case for 'First'. 2016-01-11 Jan Kratochvil Pedro Alves * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_child_follow_exec) (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork identification. 2016-01-11 Jan Kratochvil * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements and repeats to unlimited. * gdb.python/py-value.exp: Likewise. * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements and repeats to unlimited. 2016-01-08 Jan Kratochvil * gdb.multi/goodbye.c: Fix compilation warnings by adding return types and reordering the functions. * gdb.multi/hangout.c: Likewise. * gdb.multi/hello.c: Likewise. 2016-01-08 Simon Marchi * gdb.perf/lib/perftest/perftest.py: Change relative imports to absolute. (SingleStatisticTestResult.report): Use dict.keys instead of dict.iterkeys. 2016-01-06 Pedro Alves * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1. 2016-01-04 Markus Metzger * gdb.btrace/dlopen.exp: New. * gdb.btrace/dlopen.c: New. * gdb.btrace/dlopen-dso.c: New. 2015-12-25 Sandra Loosemore * lib/gdb.exp (gdb_test): Update comments to clarify that the PATTERN argument is optional. 2015-12-24 Joel Brobecker * lib/ada.exp (target_compile_ada_from_dir): New function. (gdb_compile_ada): Reimplement avoiding the use of project files. * gdb.ada/gnat_ada.gpr: Delete. * gdb.ada/cond_lang.exp: Adjust test to make path before filename optional. * gdb.ada/small_reg_param.exp: Likewise. 2015-12-22 Simon Marchi * gdb.base/foll-vork.exp: Remove HP-UX special case. 2015-12-22 Thomas Preud'homme * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump case. 2015-12-21 Simon Marchi * gdb.base/break.exp: Remove dead code. * gdb.base/sepdebug.exp: Likewise. 2015-12-21 Simon Marchi * gdb.asm/asm-source.exp: Remove HP-UX references. * gdb.base/annota1.exp: Likewise. * gdb.base/annota3.exp: Likewise. * gdb.base/attach.exp: Likewise. * gdb.base/bigcore.exp: Likewise. * gdb.base/break.exp: Likewise. * gdb.base/call-ar-st.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/catch-fork-static.exp: Likewise. * gdb.base/display.exp: Likewise. * gdb.base/foll-exec-mode.exp: Likewise. * gdb.base/foll-exec.exp: Likewise. * gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/inferior-died.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/multi-forks.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/solib1.c: Likewise. * gdb.base/step-test.exp: Likewise. * gdb.mi/non-stop.c: Likewise. * gdb.mi/pthreads.c: Likewise. * gdb.multi/bkpt-multi-exec.ex: Likewise. * gdb.threads/pthreads.c: Likewise. * gdb.threads/staticthreads.exp: Likewise. * lib/future.exp: Likewise. * lib/gdb.exp: Likewise. * gdb.base/so-indr-cl.c: Remove. * gdb.base/so-indr-cl.exp: Likewise. * gdb.base/solib.c: Likewise. * gdb.base/solib.exp: Likewise. * gdb.base/solib2.c: Likewise. 2015-12-21 Simon Marchi * gdb.base/break.exp: Remove references to HP CC/aCC compilers. * gdb.base/call-ar-st.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/condbreak.exp: Likewise. * gdb.base/constvars.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/langs.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/long_long.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/signals.exp: Likewise. * gdb.base/so-impl-ld.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/volatile.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/inherit.exp: Likewise. * gdb.cp/local.exp: Likewise. * gdb.cp/member-ptr.exp: Likewise. * gdb.cp/method.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/templates.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise. * lib/cp-support.exp: Likewise. * lib/gdb.exp: Likewise. 2015-12-20 Simon Marchi * configure.ac: Remove HP-UX case. * configure: Regenerate. 2015-12-18 Simon Marchi * lib/gdb.exp (gdb_compile): Add function doc. 2015-12-17 Pedro Alves PR threads/19354 * gdb.multi/info-threads.exp: New file. 2015-12-15 Yao Qi * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target is aarch64*-*-*. 2015-12-14 Sandra Loosemore * gdb.base/history-duplicates.exp: Skip if no readline support. 2015-12-14 Sandra Loosemore * gdb.base/gdbinit-history.exp: Skip for remote-host testing. 2015-12-14 Sandra Loosemore * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. 2015-12-14 Sandra Loosemore * gdb.base/completion.exp: Skip tests that interrupt GDB with ctrl-C if nointerrupts target property is set. * gdb.base/double-prompt-target-event-error.exp: Likewise. * gdb.base/paginate-after-ctrl-c-running.exp: Likewise. * gdb.base/paginate-bg-execution.exp: Likewise. * gdb.base/paginate-execution-startup.exp: Likewise. * gdb.base/random-signal.exp: Likewise. * gdb.base/range-stepping.exp: Likewise. * gdb.cp/annota2.exp: Likewise. * gdb.cp/annota3.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.threads/continue-pending-status.exp: Likewise. * gdb.threads/leader-exit.exp: Likewise. * gdb.threads/manythreads.exp: Likewise. * gdb.threads/pthreads.exp: Likewise. * gdb.threads/schedlock.exp: Likewise. * gdb.threads/sigthread.exp: Likewise. 2015-12-11 Don Breazeal * gdb.base/execl-update-breakpoints.exp (main): Enable for target remote. * gdb.base/foll-exec-mode.exp (main): Disable for target remote. * gdb.base/foll-exec.exp (main): Enable for target remote. * gdb.base/foll-fork.exp (main): Likewise. * gdb.base/foll-vfork.exp (main): Likewise. * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart. (proc continue_to_exit_bp_loc): Use clean_restart. * gdb.base/pie-execl.exp (main): Disable for target remote. * gdb.base/watch-vfork.exp (main): Enable for target remote. * gdb.mi/mi-nsthrexec.exp (main): Likewise. * gdb.threads/execl.exp (main): Likewise. * gdb.threads/fork-child-threads.exp (main): Likewise. * gdb.threads/fork-plus-threads.exp (main): Disable for target remote. * gdb.threads/fork-thread-pending.exp (main): Enable for target remote. * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow pid.tid style ptids, instead of just tid. * gdb.threads/thread-execl.exp (main): Enable for target remote. * gdb.threads/watchpoint-fork.exp (main): Likewise. * gdb.trace/report.exp (use_collected_data): Allow pid.tid style ptids, instead of just tid. 2015-12-11 Andrew Burgess * gdb.base/list.exp (test_list_forward): Add end of file error test. (test_repeat_list_command): Add end of file error test. (test_list_backwards): Add beginning of file error test. 2015-12-11 Andrew Burgess * gdb.base/list.exp (test_list_invalid_args): New function, defined, and called. 2015-12-11 Andrew Burgess * gdb.base/list.exp (test_list): Make test names unique. 2015-12-11 Yao Qi * gdb.base/coremaker2.c: Remove. 2015-12-10 Pedro Alves * gdb.multi/base.exp: Remove stale "spaces" references. 2015-12-10 Pedro Alves * gdb.multi/base.exp: Don't use nowarnings. * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings. * gdb.multi/hangout.c: Include stdio.h. * gdb.multi/hello.c: Include stdlib.h. * gdb.multi/multi-arch-exec.c: Include stdlib.h. * gdb.multi/multi-arch-exec.exp: Don't use nowarnings. * gdb.multi/multi-arch.exp: Don't use nowarnings. 2015-12-10 Andrew Burgess * gdb.dwarf2/dw2-ranges-base.c: New file. * gdb.dwarf2/dw2-ranges-base.exp: New file. * lib/dwarf.exp (namespace eval Dwarf): Add new variables to support additional line table, and debug ranges generation. (Dwarf::ranges): New function, generate .debug_ranges. (Dwarf::lines): Support generating simple line table programs. (Dwarf::assemble): Initialise new namespace variables. 2015-12-09 Kevin Buettner * gdb.base/async.exp (proc test_background): Add case for asynchronous execution not supported. 2015-12-09 Luis Machado * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal format and change test names to make them unique. 2015-12-09 Ruslan Kabatsayev Pedro Alves PR gdb/18702 Add checking of floatformats setup on x86_64 hosts. * gdb.arch/i386-float.S (main): Load bigval and smallval. (smallval, bigval): New labels/constants. * gdb.arch/i386-float.exp: Use with_test_prefix and test "info float" after loading bigval and smallval. 2015-12-07 Pierre-Marie de Rodat * gdb.ada/fun_overload_menu.exp: New testcase. * gdb.ada/fun_overload_menu/foo.adb: New testcase. 2015-12-04 Josh Stone * gdb.base/catch-fork-static.exp: New. 2015-12-03 Yao Qi * gdb.base/sizeof.c: Don't include stdio.h and ../lib/unbuffer_output.c. (main): New variable 'size' and 'value'. Remove printf and gdb_unbuffer_output. Assign return value to size and value. * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio at the beginning. (check_sizeof): Check the result by printing variable 'size'. (check_valueof): Check the result by printing variable 'value'. 2015-12-01 Yao Qi * gdb.base/disp-step-syscall.exp: Define syscall instruction for aarch64*-*-linux* target. 2015-11-30 Pedro Alves * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls. 2015-11-30 Pedro Alves * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): Handle non-stop mode vCont replies. 2015-11-30 Pedro Alves * gdb.base/dprintf-non-stop.exp: Use build_executable instead of prepare_for_testing. Start gdb with "set non-stop on" appended to GDBFLAGS. Lax expected stop output. 2015-11-27 Yao Qi * gdb.arch/arm-neon.exp: New. * gdb.arch/arm-neon.c: New. 2015-11-27 Yao Qi * gdb.cp/annota2.exp: Rewrite the pattern using multi_line. 2015-11-27 Yao Qi * gdb.cp/annota2.exp: Allow multiple occurrences of the frames-invalid annotation. 2015-11-27 Yao Qi * gdb.cp/annota2.exp: Use ${frames_invalid}. 2015-11-26 Simon Marchi * gdb.threads/names.exp: New file. * gdb.threads/names.c: New file. * README: Mention gdb,no_thread_names. 2015-11-26 Markus Metzger PR 19297 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not support" error. 2015-11-24 Pedro Alves PR 17539 * gdb.base/display.exp: Expect displays to be sorted in ascending order. Use multi_line. * gdb.base/solib-display.exp: Likewise. 2015-11-24 Pedro Alves PR 17539 * gdb.base/display.exp: Expect displays to be sorted in ascending order. Use multi_line. * gdb.base/solib-display.exp: Likewise. 2015-11-24 Pedro Alves PR 17539 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and threads in ascending order. * gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp: Likewise. * gdb.base/multi-forks.exp: Likewise. * gdb.mi/mi-nonstop.exp: Likewise. * gdb.mi/mi-nsintrall.exp: Likewise. * gdb.multi/base.exp: Likewise. * gdb.multi/multi-arch.exp: Likewise. * gdb.python/py-inferior.exp: Likewise. * gdb.threads/break-while-running.exp: Likewise. * gdb.threads/execl.exp: Likewise. * gdb.threads/gcore-thread.exp: Likewise. * gdb.threads/info-threads-cur-sal.exp: Likewise. * gdb.threads/kill.exp: Likewise. * gdb.threads/linux-dp.exp: Likewise. * gdb.threads/multiple-step-overs.exp: Likewise. * gdb.threads/next-bp-other-thread.exp: Likewise. * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise. * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise. * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise. * gdb.threads/thread-find.exp: Likewise. * gdb.threads/tls.exp: Likewise. * lib/mi-support.exp (mi_reverse_list): Delete. (mi_check_thread_states): No longer reverse list. 2015-11-24 Pedro Alves * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently use lowercase. 2015-11-23 Simon Marchi * gdb.trace/actions.c: Include trace-common.h. (main): Add a location for a fast tracepoint. * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to the normal tracepoints. (gdb_verify_tracepoints): Adjust number of expected tracepoints. 2015-11-23 Simon Marchi * save-trace.exp: Factor out code to these... (gdb_save_tracepoints): New. (gdb_load_tracepoints): New. (do_save_load_test): New. 2015-11-23 Kevin Buettner * gdb.base/asmlabel.exp: New test. * gdb.base/asmlabel.c: New test case. 2015-11-23 Joel Brobecker * gdb.base/wrong_frame_bt_full-main.c: New file. * gdb.base/wrong_frame_bt_full-opaque.c: New file. * gdb.base/wrong_frame_bt_full.exp: New file. 2015-11-23 Joel Brobecker * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test. 2015-11-20 Jose E. Marchesi * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the pstate register when comparing registers values in sparc64-*-linux-gnu targets to avoid spurious differences. 2015-11-20 Jose E. Marchesi * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid. 2015-11-19 Sandra Loosemore * gdb.base/nested-subp1.exp: Pass executable, not executable name, as type argument to gdb_compile. * gdb.base/nested-subp2.exp: Likewise. * gdb.base/nested-subp3.exp: Likewise. 2015-11-17 Dominik Vogt * lib/dwarf.exp (_note): Fix left shift of negative value. * gdb.trace/trace-condition.exp: Likewise. 2015-11-13 Yao Qi * gdb.base/call-sc.exp (test_scalar_returns): Remove the comments about d10v. (test_scalar_returns): Likewise. * gdb.base/d10v.ld: Remove. * gdb.base/overlays.exp: Remove the target triplet checking for d10v-*-*. * gdb.base/structs.exp (test_struct_returns): Remove the comments about d10v. (test_struct_calls): Likewise. 2015-11-13 Yao Qi * gdb.base/gnu_vector.exp: Check the return value by "p res". * gdb.base/gnu_vector.c: Don't include stdio.h. (main): Don't print res and call add_some_intvecs. 2015-11-11 Marcin Kościelnicki * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL macro. (func5): Removed. (func4): Use FAST_TRACEPOINT_LABEL. * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL macro. (func): Removed. (thread_function): Use FAST_TRACEPOINT_LABEL. * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro. (pendfunc1): Remove. (pendfunc): Use FAST_TRACEPOINT_LABEL. * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro. (foo): Remove. (pendfunc2): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-common.h: New header. * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (thread_function): Use FAST_TRACEPOINT_LABEL. 2015-11-10 Marcin Kościelnicki * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $ in front. * gdb.trace/change-loc.exp: Use global pcreg definition. * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition. * gdb.trace/entry-values.exp: Use global spreg definition, add $ in front. * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition. * gdb.trace/pending.exp: Likewise. * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/trace-condition.exp: Use global pcreg definition, add $ in front. * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition. * gdb.trace/while-dyn.exp: Use global fpreg definition, add $ in front. * lib/trace-support.exp: Define fpreg, spreg, pcreg variables. 2015-11-09 Joel Brobecker * gdb.ada/fin_fun_out: New testcase. 2015-11-07 Kevin Buettner * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode value associated with DW_AT_byte_size. * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode constants for DW_AT_byte_size, DW_AT_lower_bound, and DW_AT_upper_bound. 2015-11-07 Kevin Buettner * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc. (gdb_target_symbol_prefix_flags): Define in terms of _asm version. * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp, gdb.dwarf2/dw2-canonicalize-type.exp, gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp, gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp, gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags provided by gdb_target_symbol_prefix_flags_asm. * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S, testsuite/gdb.dwarf2/dw2-minsym-in-cu.S, testsuite/gdb.dwarf2/dw2-unresolved-main.c, testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S, gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting macros where needed). Use this macro for symbols which require the prefix provided by SYMBOL_PREFIX. 2015-11-05 Kevin Buettner * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol): New procs. * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values, representing expressions, of more than one list element. * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol to prepend linker symbol prefix to f. * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for table_1 and table_2. * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble): Likewise, for f and g. * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise, for ptr. * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise, for main. * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for table_1_ptr and table_2_ptr. 2015-11-03 Jan Kratochvil Joel Brobecker * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data. 2015-11-04 Marcin Kościelnicki * gdb.reverse/s390-mvcle.c: New test. * gdb.reverse/s390-mvcle.exp: New file. * lib/gdb.exp: Enable reverse tests on s390*-linux. 2015-11-02 Marcin Kościelnicki * gdb.reverse/readv-reverse.exp: Obvious typo fixed. 2015-11-02 Marcin Kościelnicki * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after reaching marker2. * gdb.reverse/getresuid-reverse.exp: Likewise. * gdb.reverse/pipe-reverse.exp: Likewise. * gdb.reverse/readv-reverse.exp: Likewise. * gdb.reverse/recvmsg-reverse.exp: Likewise. * gdb.reverse/time-reverse.exp: Likewise. * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs. 2015-10-30 Yao Qi * gdb.threads/wp-replication.c (watch_count_done): Remove. (empty_cycle): Remove. (main): Don't call empty_cycle. Don't use watch_count_done. * gdb.threads/wp-replication.exp: Don't set breakpoint on empty_cycle. Rewrite the code counting HW watchpoints. 2015-10-30 Marcin Kościelnicki * gdb.reverse/fstatat-reverse.c: New test. * gdb.reverse/fstatat-reverse.exp: New file. * gdb.reverse/getresuid-reverse.c: New test. * gdb.reverse/getresuid-reverse.exp: New file. * gdb.reverse/pipe-reverse.c: New test. * gdb.reverse/pipe-reverse.exp: New file. * gdb.reverse/readv-reverse.c: New test. * gdb.reverse/readv-reverse.exp: New file. * gdb.reverse/recvmsg-reverse.c: New test. * gdb.reverse/recvmsg-reverse.exp: New file. * gdb.reverse/time-reverse.c: New test. * gdb.reverse/time-reverse.exp: New file. * gdb.reverse/waitpid-reverse.c: New test. * gdb.reverse/waitpid-reverse.exp: New file. 2015-10-27 Jan Kratochvil * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile. 2015-10-26 Doug Evans PR symtab/17391 * lib/dwarf.exp (_location): Add support for DW_OP_regx. * gdb.dwarf2/bad-regnum.c: New file. * gdb.dwarf2/bad-regnum.exp: New file. 2015-10-26 Doug Evans PR python/18938 * gdb.python/python.exp: Add test for symlink from .py file to .notpy file. 2015-10-25 Jan Kratochvil * gdb.compile/compile.exp (compile code globalvar): Update expectation for a change by "Mention language in compile error message". 2015-10-21 Simon Marchi PR python/18073 * gdb.python/py-type.c (C::a_method): New. (C::a_const_method): New. (C::a_static_method): New. (a_function): New. * gdb.python/py-type.exp (test_fields): Test getting fields from function and method. 2015-10-21 Keven Boell * gdb.fortran/vla-alloc-assoc.exp: New file. * gdb.fortran/vla-datatypes.exp: New file. * gdb.fortran/vla-datatypes.f90: New file. * gdb.fortran/vla-history.exp: New file. * gdb.fortran/vla-ptype-sub.exp: New file. * gdb.fortran/vla-ptype.exp: New file. * gdb.fortran/vla-sizeof.exp: New file. * gdb.fortran/vla-sub.f90: New file. * gdb.fortran/vla-value-sub-arbitrary.exp: New file. * gdb.fortran/vla-value-sub-finish.exp: New file. * gdb.fortran/vla-value-sub.exp: New file. * gdb.fortran/vla-value.exp: New file. * gdb.fortran/vla-ptr-info.exp: New file. * gdb.mi/mi-vla-fortran.exp: New file. * gdb.mi/vla.f90: New file. 2015-10-21 Sandra Loosemore * gdb.base/freebpcmd.exp: Use with_timeout_factor instead of hardwired timeout value. 2015-10-20 Jan Kratochvil Pedro Alves * gdb.dwarf2/dw2-regno-invalid.exp: New file. * lib/dwarf.exp (Dwarf): Add DW_OP_bregx. 2015-10-19 Josh Stone * gdb.base/catch-syscall.c: Include . (unknown_syscall): New variable. (main): Trigger a vfork and an unknown syscall. * gdb.base/catch-syscall.exp (vfork_syscalls): New variable. (unknown_syscall_number): Likewise. (check_call_to_syscall): Accept an optional syscall pattern. (check_return_from_syscall): Likewise. (check_continue): Likewise. (test_catch_syscall_without_args): Check for vfork and ENOSYS. (test_catch_syscall_skipping_return): New test toggling off 'catch syscall' to step over the syscall return, then toggling back on. (test_catch_syscall_mid_vfork): New test turning on 'catch syscall' during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall. (do_syscall_tests): Call test_catch_syscall_without_args and test_catch_syscall_mid_vfork. (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS. (fill_all_syscalls_numbers): Initialize unknown_syscall_number. 2015-10-19 Andrew Stubbs * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD, print g_vE): Add new pass patterns. * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to print various symbol names for vptr fields. 2015-10-12 Andrew Burgess * gdb.base/dbx.exp (test_func): Remove xfails, update expected results. 2015-10-12 Yao Qi * gdb.arch/disp-step-insn-reloc.exp: New test case. 2015-10-12 Yao Qi * lib/gdb.exp (support_displaced_stepping): Return 1 if target is aarch64*-*-linux*. 2015-10-12 Yao Qi * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ... (can_relocate_bcond_true): ... it. (can_relocate_bcond_false): New function. (foo): Likewise. (can_relocate_bl): Likewise. (testcases) [__aarch64__]: Add can_relocate_bcond_false and can_relocate_bl. 2015-10-12 Pierre-Marie de Rodat * gdb.base/nested-addr.c: New file. * gdb.base/nested-addr.exp: New testcase. 2015-10-09 Markus Metzger * gdb.btrace/vdso.c (main): Remove breakpoint markers. * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore its output. Ignore the output of "record goto begin" and instead check that GDB is replaying. 2015-10-09 Pedro Alves * gdb.base/a2-run.exp (maybe_exp_continue): New procedure. (top level): Use it in the run with no args test. 2015-10-08 Iain Buclaw * gdb.dlang/properties.exp: New file. 2015-10-02 Sandra Loosemore * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match whether or not address 0x1000 is mapped on the target. 2015-09-30 Simon Marchi * gdb.python/py-type.exp: Do not run tests if binaries fail to build. 2015-09-30 Markus Metzger * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record instruction-history test. 2015-09-28 Doug Evans * gdb.base/gcore.c (array_func): Add reference to static_array. 2015-09-25 Simon Marchi * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected source line. 2015-09-24 Sandra Loosemore * gdb.cp/classes.exp (test_enums): Generalize regexp to allow short or char as base type. 2015-09-23 Sandra Loosemore * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying to allow any size enum. 2015-09-23 Pierre-Marie de Rodat * gdb.ada/array_ptr_renaming.exp: New testcase. * gdb.ada/array_ptr_renaming/foo.adb: New file. * gdb.ada/array_ptr_renaming/pack.ads: New file. 2015-09-21 Pierre Langlois * gdb.trace/ftrace-lock.c: New file. * gdb.trace/ftrace-lock.exp: New file. 2015-09-21 Pierre Langlois * gdb.arch/insn-reloc.c: New file. * gdb.arch/ftrace-insn-reloc.exp: New file. 2015-09-21 Pierre Langlois * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop instruction. * gdb.trace/pendshr1.c (pendfunc): Likewise. * gdb.trace/pendshr2.c (pendfunc2): Likewise. * gdb.trace/range-stepping.c: Likewise. * gdb.trace/trace-break.c: Likewise. * gdb.trace/trace-mt.c (thread_function): Likewise. * gdb.trace/ftrace.c (marker): Likewise. * gdb.trace/trace-condition.c (marker): Likewise. * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target. * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if is_aarch64_target. 2015-09-18 Doug Evans * gdb.dwarf2/dw2-bad-unresolved.c: New file. * gdb.dwarf2/dw2-bad-unresolved.exp: New file. 2015-09-18 Sandra Loosemore * gdb.base/dso2dso.exp: Don't use directory prefix when setting the breakpoint. 2015-09-18 Sandra Loosemore * gdb.mi/mi-pending.exp: Don't use directory prefix when setting the pending breakpoint. Remove timeout override for "Run till MI pending breakpoint on pendfunc3 on thread 2" test. 2015-09-18 Sandra Loosemore * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint filename pattern. 2015-09-18 Sandra Loosemore * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix in breakpoint filename pattern. 2015-09-18 Sandra Loosemore * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. 2015-09-18 Sandra Loosemore * gdb.linespec/explicit.exp: Check for readline support for tab-completion tests. Fix obvious typo. 2015-09-18 Markus Metzger * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step, and replay. 2015-09-18 Markus Metzger * gdb.btrace/non-stop.c: New. * gdb.btrace/non-stop.exp: New. 2015-09-17 Pierre Langlois Yao Qi * gdb.trace/trace-condition.c: New file. * gdb.trace/trace-condition.exp: New file. 2015-09-16 Wei-cheng Wang * gdb.trace/ftrace.exp: (test_ftrace_condition) New function for testing bytecode compilation. 2015-09-16 Pedro Alves Sandra Loosemore * gdb.threads/non-stop-fair-events.c (timeout): New global. (SECONDS): Redefine. (main): Call pthread_kill and alarm early. * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping support. (test): If the target can't hardware step and doesn't support displaced stepping, increase the timeout. 2015-09-16 Pedro Alves * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor) (enable_debug): New procedures. (test): Use them. Bail out if waiting for threads fails. (top level): Bail out if a test fails. 2015-09-16 Yao Qi * gdb.asm/asm-source.exp: Set asm-arch for aarch64*-*-* target. * gdb.asm/aarch64.inc: New file. 2015-09-15 Pierre-Marie de Rodat * gdb.ada/array_of_variable_length.exp: New testcase. * gdb.ada/array_of_variable_length/foo.adb: New file. * gdb.ada/array_of_variable_length/pck.adb: New file. * gdb.ada/array_of_variable_length/pck.ads: New file. 2015-09-15 Doug Evans * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming of function static local variable. 2015-09-15 Philippe Waroquiers * gdb.threads/tls-so_extern.exp: New test file. * gdb.threads/tls-so_extern.c: New test file. * gdb.threads/tls-so_extern_main.c: New test file. 2015-09-15 Jan Kratochvil * gdb.opt/solib-intra-step-lib.c: New file. * gdb.opt/solib-intra-step-main.c: New file. * gdb.opt/solib-intra-step.exp: New file. 2015-09-15 Pedro Alves * gdb.threads/non-ldr-exc-3.exp (do_test): Use gdb_continue_to_breakpoint instead of gdb_test_multiple. 2015-09-14 Pedro Alves * gdb.base/hook-stop-continue.c: Delete. * gdb.base/hook-stop-continue.exp: Delete. * gdb.base/hook-stop-frame.c: Delete. * gdb.base/hook-stop-frame.exp: Delete. * gdb.base/hook-stop.c: New file. * gdb.base/hook-stop.exp: New file. 2015-09-14 Pierre-Marie de Rodat * gdb.ada/access_to_packed_array.exp: New testcase. * gdb.ada/access_to_packed_array/foo.adb: New file. * gdb.ada/access_to_packed_array/pack.adb: New file. * gdb.ada/access_to_packed_array/pack.ads: New file. 2015-09-14 Markus Metzger * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS buffer size test. 2015-09-11 Don Breazeal * gdb.base/foll-exec.c: Add copyright header. Fix formatting issues. * gdb.base/foll-exec.exp (zap_session): Delete proc. (do_exec_tests): Use clean_restart in place of zap_session, and for test initialization. Fix formatting issues. Use fail in place of perror. * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in an expect statement to match an expression with output from the program under debug. * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add non-stop tests and use save_vars to enable non-stop in GDBFLAGS. * gdb.threads/non-ldr-exc-2.exp: Likewise. * gdb.threads/non-ldr-exc-3.exp: Likewise. * gdb.threads/non-ldr-exc-4.exp: Likewise. 2015-09-09 Doug Evans * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. 2015-09-09 Doug Evans * gdb.base/pie-execl.exp: Fix result test of build_executable. 2015-09-09 Doug Evans * gdb.base/savedregs.exp: Fix typo. 2015-09-09 Pedro Alves * gdb.mi/mi-cli.exp: Add CLI finish tests. 2015-09-08 Sandra Loosemore * gdb.threads/hand-call-in-threads.exp: Make sure the thread command actually switches threads. Give up on remaining tests if target fails to stop at breakpoint. 2015-09-03 Pierre-Marie de Rodat * gdb.ada/funcall_char.exp: New testcase. * gdb.ada/funcall_char/foo.adb: New file. 2015-09-01 Pierre-Marie de Rodat * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant expected outputs. Add two testcases for completing ambiguous functions. * gdb.ada/complete/aux_pck.adb: New file. * gdb.ada/complete/aux_pck.ads: New file. * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two Ambiguous_Func functions. * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function. * gdb.ada/complete/pck.adb: Likewise. 2015-08-27 Ulrich Weigand * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected failures to run the test program under GDB. 2015-08-26 Luis Machado * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language to C. 2015-08-26 Patrick Palka * gdb.base/run-after-attach.exp: New test file. * gdb.base/run-after-attach.c: New test file. 2015-08-26 Don Breazeal * gdb.base/foll-exec-2.c: New test program. * gdb.base/foll-exec-2.exp: New test. 2015-08-25 Pierre-Marie de Rodat * gdb.base/nested-subp1.exp: New file. * gdb.base/nested-subp1.c: New file. * gdb.base/nested-subp2.exp: New file. * gdb.base/nested-subp2.c: New file. * gdb.base/nested-subp3.exp: New file. * gdb.base/nested-subp3.c: New file. 2015-08-24 Pedro Alves * gdb.server/connect-without-multi-process.c: New file. * gdb.server/connect-without-multi-process.exp: New file. 2015-08-24 Luis Machado * gdb.opt/inline-markers.c: Make z int. 2015-08-24 Luis Machado * gdb.opt/inline-markers.c: Make z volatile. 2015-08-24 Luis Machado * gdb.opt/inline-bt.c: New volatile global z. * gdb.opt/inline-cmds.c: Likewise. * gdb.opt/inline-locals.c: Likewise. * gdb.opt/inline-markers.c: New extern global z. (marker): Use z. (inline_fn): Likewise. 2015-08-24 Pedro Alves * config/m32r-stub.exp: Remove file. * gdb.base/call-ar-st.exp: Remove reference to sparclet. * gdb.base/call-rt-st.exp: Likewise. * gdb.base/call-strs.exp: Likewise. * gdb.base/default.exp: Remove references to h8300-*-hms and *-*-udi*. * gdb.base/funcargs.exp: Remove reference to sparclet-*-*. 2015-08-24 Andreas Arnez * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish" and "return" use KFAIL when GDB can not read/write the vector return value. 2015-08-21 Gary Benson * gdb.trace/pending.exp: Cope with remote transfer warnings. 2015-08-20 Pedro Alves * gdb.server/solib-list.exp: No longer expect an interior stop in non-stop mode. 2015-08-20 Pedro Alves * gdb.server/connect-stopped-target.c: New file. * gdb.server/connect-stopped-target.exp: New file. 2015-08-20 Pedro Alves * gdb.dwarf2/comp-unit-lang.exp: New file. * gdb.dwarf2/comp-unit-lang.c: New file. 2015-08-20 Pierre-Marie de Rodat * gdb.ada/attr_ref_and_charlit.exp: New testcase. * gdb.ada/attr_ref_and_charlit/foo.adb: New file. 2015-08-19 Kevin Buettner * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file. * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file. 2015-08-18 Doug Evans Adrian Sendroiu * lib/gdb.exp (skip_python_tests_prompt): Renamed from skip_python_tests. New arg prompt_regexp. (skip_python_tests): New function. * lib/mi-support.exp (mi_skip_python_tests): New function. * gdb.python/py-mi-objfile-gdb.py: New file. * gdb.python/py-mi-objfile.c: New file. * gdb.python/py-mi-objfile.exp: New file. 2015-08-17 Keith Seitz * gdb.linespec/explicit.exp: Move strace test from here ... * gdb.trace/strace.exp: ... to here. 2015-08-15 Patrick Palka * gdb.base/kill-detach-inferiors-cmd.exp: New test file. * gdb.base/kill-detach-inferiors-cmd.c: New test file. 2015-08-14 Doug Evans * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing inferior before selecting a new file. 2015-08-14 Doug Evans * gdb.mi/mi-disassemble.exp: Update. * gdb.base/disasm-optim.S: New file. * gdb.base/disasm-optim.c: New file. * gdb.base/disasm-optim.h: New file. * gdb.base/disasm-optim.exp: New file. 2015-08-14 Keith Seitz * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for "evaluated-by". 2015-08-13 Joel Brobecker * gdb.base/dso2dso.exp: Improve the testcase's documentation. 2015-08-13 Pierre-Marie de Rodat * gdb.ada/fun_renaming.exp: New testcase. * gdb.ada/fun_renaming/fun_renaming.adb: New file. * gdb.ada/fun_renaming/pack.adb: New file. * gdb.ada/fun_renaming/pack.ads: New file. 2015-08-12 Keith Seitz * gdb.base/dso2dso.exp: Pass basename of source file in call to gdb_get_line_number. 2015-08-12 Joel Brobecker * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h, gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c, gdb.base/dso2dso.exp: New files. 2015-08-12 Sergio Durigan Junior Pedro Alves Keith Seitz * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore GDBFLAGS. 2015-08-12 Patrick Palka * gdb.base/gdbhistsize-history.exp (test_histsize_history_setting): Use save_vars. * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): Use save_vars. (test_no_truncation_of_unlimited_history_file): Use save_vars. * gdb.base/readline.exp: Use save_vars. 2015-08-12 Patrick Palka * lib/gdb.exp (save_vars): New proc. 2015-08-11 Keith Seitz * gdb.base/help.exp: Update help_breakpoint_text. 2015-08-11 Keith Seitz * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc. (at toplevel): Call test_explicit_breakpoints. * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf breakpoints. * lib/mi-support.exp (mi_make_breakpoint): Add support for breakpoint conditions, "-cond". 2015-08-11 Keith Seitz * gdb.linespec/3explicit.c: New file. * gdb.linespec/cpexplicit.cc: New file. * gdb.linespec/cpexplicit.exp: New file. * gdb.linespec/explicit.c: New file. * gdb.linespec/explicit.exp: New file. * gdb.linespec/explicit2.c: New file. * gdb.linespec/ls-errs.exp: Add explicit location tests. * lib/gdb.exp (capture_command_output): Regexp-escape `command' before using in the matching pattern. Clarify that `prefix' is a regular expression. 2015-08-11 Keith Seitz * gdb.base/dprintf-pending.exp: Update dprintf "without format" test. Add tests for missing ",FMT" and ",". 2015-08-10 Doug Evans Keith Seitz PR gdb/17960 * gdb.base/completion.exp: Add location completer tests. 2015-08-07 Pedro Alves * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move tests here. (top level): Run do_test with and without displaced stepping. 2015-08-07 Pedro Alves * gdb.base/valgrind-disp-step.c: New file. * gdb.base/valgrind-disp-step.exp: New file. 2015-08-07 Pedro Alves * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads): Delete function. (main): Add alarm. Run an infinite loop instead of calling wait_threads. * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change comment. * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads): Delete function. (main): Add alarm. Run an infinite loop instead of calling wait_threads. * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change comment. 2015-08-07 Pedro Alves * gdb.base/checkpoint-ns.exp: New file. * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to standard_testfile. 2015-08-07 Markus Metzger * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New. * gdb.btrace/instruction_history.exp: Update. * gdb.btrace/tsx.exp: New. * gdb.btrace/tsx.c: New. 2015-08-06 Pedro Alves * gdb.reverse/step-precsave.exp: Use with_timeout_factor to increase timeout. * gdb.reverse/until-precsave.exp: Bump timeouts. 2015-08-06 Pedro Alves * gdb.base/valgrind-infcall.exp: Issue a "disconnect". 2015-08-06 Pedro Alves PR gdb/18749 * gdb.threads/process-dies-while-handling-bp.c: New file. * gdb.threads/process-dies-while-handling-bp.exp: New file. 2015-08-06 Pedro Alves * gdb.threads/forking-threads-plus-breakpoint.exp: New file. * gdb.threads/forking-threads-plus-breakpoint.c: New file. 2015-08-05 Pedro Alves * gdb.threads/next-while-other-thread-longjmps.c: New file. * gdb.threads/next-while-other-thread-longjmps.exp: New file. 2015-08-03 Sandra Loosemore * gdb.base/bp-permanent.exp: Report test as unsupported if the target cannot stop at the permanent breakpoint. 2015-08-03 Doug Evans * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000. 2015-08-03 Doug Evans * Makefile.in (workers/%.worker, build-perf): New rule. (GDB_PERFTEST_MODE): New variable. (check-perf): Use it. (clean): Clean up gdb.perf parallel build subdirs. * lib/build-piece.exp: New file. * lib/gdb.exp (make_gdb_parallel_path): New function (standard_output_file, standard_temp_file): Call it. (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs of $GDB_PARALLEL. * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path. 2015-08-03 Doug Evans * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global. (LOG_FILE_NAME): New global. (TextReporter.__init__): Initialize self.txt_sum. (TextReporter.report): Add support for multiple data-points. Move report to perftest.sum, put raw data in perftest.log. (TextReporter.start): Open sum and log files. (TextReporter.end): Close sum and log files. * gdb.perf/lib/perftest/testresult.py (SingleStatisticTestResult.record): Handle multiple data-points. 2015-07-31 Pedro Alves * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id. Use spawn_id_get_pid. Wait for spawn id after eof. Use kill_wait_spawned_process instead of explicit "kill -9". * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach returning a spawn id instead of a pid. Use spawn_id_get_pid and kill_wait_spawned_process. * gdb.base/attach-twice.exp: Likewise. * gdb.base/attach.exp: Likewise. (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and gdb_test_multiple. * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach returning a spawn id instead of a pid. Use spawn_id_get_pid and kill_wait_spawned_process. * gdb.base/valgrind-infcall.exp: Likewise. * gdb.multi/multi-attach.exp: Likewise. * gdb.python/py-prompt.exp: Likewise. * gdb.python/py-sync-interp.exp: Likewise. * gdb.server/ext-attach.exp: Likewise. * gdb.threads/attach-into-signal.exp (corefunc): Use spawn_wait_for_attach, spawn_id_get_pid and kill_wait_spawned_process. * gdb.threads/attach-many-short-lived-threads.exp: Adjust to spawn_wait_for_attach returning a spawn id instead of a pid. Use spawn_id_get_pid and kill_wait_spawned_process. * gdb.threads/attach-stopped.exp (corefunc): Use spawn_wait_for_attach, spawn_id_get_pid and kill_wait_spawned_process. * gdb.base/break-interp.exp: Rename $res to $test_spawn_id. Use spawn_id_get_pid. Wait for spawn id after eof. Use kill_wait_spawned_process instead of explicit "kill -9". * lib/gdb.exp (can_spawn_for_attach): Adjust comment. (kill_wait_spawned_process, spawn_id_get_pid): New procedures. (spawn_wait_for_attach): Use spawn instead of exec to spawn processes. Don't map cygwin/windows pids here. Now returns a spawn id list. 2015-07-30 Sandra Loosemore * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the correct patch. 2015-07-30 Sandra Loosemore * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets. 2015-07-30 Sandra Loosemore Reapply: 2014-05-21 Mark Wielaard * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. 2015-07-30 Pedro Alves * linux-low.c (handle_extended_wait): Set the child's last reported status to TARGET_WAITKIND_STOPPED. 2015-07-30 Pedro Alves PR threads/18600 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors" only shows inferior 1. 2015-07-30 Simon Marchi Pedro Alves PR threads/18600 * gdb.threads/fork-plus-threads.c: New file. * gdb.threads/fork-plus-threads.exp: New file. 2015-07-29 Patrick Palka * gdb.base/batch-preserve-term-settings.exp (test_terminal_settings_preserved_after_cli_exit): Use send_quit_command. 2015-07-29 Pedro Alves Don Breazeal * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect output from both inferior_spawn_id and gdb_spawn_id. 2015-07-29 Sergio Durigan Junior * gdb.threads/attach-into-signal.exp (corefunc): Use with_test_prefix on nested loops, uniquefying the test messages. 2015-07-29 Sergio Durigan Junior * gdb.python/py-objfile.exp: Fix typo that snuck in from my last commit. 2015-07-29 Patrick Palka * gdb.base/batch-preserve-term-settings.exp (send_quit_command): New proc. (test_terminal_settings_preserved_after_sigterm): New test. 2015-07-29 Patrick Palka * gdb.base/batch-preserve-term-settings.exp (test_terminal_settings_preserved_after_cli_exit): New test. 2015-07-29 Patrick Palka * gdb.base/batch-preserve-term-settings.exp: Remove top-level manipulation of saved_gdbflags. (test_terminal_settings_preserved): Remove global declaration of the unused variable pagination_prompt. Remove manipulation of saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of GDBFLAGS. 2015-07-29 Pedro Alves * boards/gdbserver-base.exp: Don't set gdb,noinferiorio. 2015-07-29 Pedro Alves * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio at the top. 2015-07-29 Pedro Alves * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/call-strs.exp: Adjust to step over the gdb_unbuffer_output call. * gdb.base/catch-gdb-caused-signals.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/run.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/shlib-call.exp: Adjust to step over the gdb_unbuffer_output call. * gdb.base/shmain.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. * gdb.base/varargs.c: Include "../lib/unbuffer_output.c". (main): Rename to ... (test): ... this. (main): Reimplement. * gdb.base/varargs.exp: Run to test instead of to main. * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. 2015-07-29 Pedro Alves * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure, factore out from mi_continue_dprintf. For call-style dprintfs, expect dprintf output out of $inferior_spawn_id. (mi_continue_dprintf): Use mi_expect_dprintf. * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. 2015-07-29 Pedro Alves * lib/mi-support.exp (mi_inferior_spawn_id): Delete. (default_mi_gdb_start): Set inferior_spawn_id instead of mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to gdb_spawn_id. (mi_gdb_test): Always expect inferior output from both $inferior_spawn_id and $gdb_spawn_id. 2015-07-29 Pedro Alves * gdb.gdb/selftest.exp (test_with_self): Update comment. Use send_inferior and $inferior_spawn_id. 2015-07-29 Pedro Alves * gdb.gdb/complaints.exp (test_initial_complaints) (test_serial_complaints, test_short_complaints): Use gdb_test_stdio. (test_empty_complaint): Handle $inferior_spawn_id != $gdb_spawn_id. 2015-07-29 Pedro Alves * gdb.base/varargs.exp: Use gdb_test_stdio. 2015-07-29 Pedro Alves * gdb.base/shlib-call.exp: Use gdb_test_stdio. 2015-07-29 Pedro Alves * gdb.base/ending-run.exp: Use gdb_test_stdio. 2015-07-29 Pedro Alves * gdb.base/call-rt-st.exp (print_struct_call): Split "result" parameter into two new parameters, "inf_result" and "gdb_result". Expect inferior output and gdb output from $inferior_spawn_id and $gdb_spawn_id, respectively. Adjust all callers. 2015-07-29 Pedro Alves * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead of gdb_test_sequence. 2015-07-29 Pedro Alves * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper) (saw_spurious_output): Expect inferior output from $inferior_spawn_id. Use gdb_test_stdio. 2015-07-29 Pedro Alves * gdb.base/dprintf.exp: Use standard_testfile. Change prepare_for_testing call. (srcfile): Don't set. (restart): New procedure. (test_dprintf): New procecure, use to continue over dprintfs. (test_call, test_agent): New procedures, tests moved here. Restart gdb and recreate dprintfs. Adjust expected output. 2015-07-29 Pedro Alves * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio. 2015-07-29 Pedro Alves * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test. 2015-07-29 Pedro Alves * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use gdb_test_stdio. 2015-07-29 Pedro Alves * lib/gdb.exp (gdb_test_stdio): New procedure. 2015-07-29 Pedro Alves * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end. 2015-07-29 Pedro Alves * gdb.base/call-signal-resume.exp: Remove check for gdb,noinferiorio. Don't expect "no signal". Use gdb_test. * gdb.base/unwindonsignal.exp: Likewise. * gdb.base/call-signals.c (gen_signal): Remove printf call. * gdb.base/unwindonsignal.c (gen_signal): Likewise. 2015-07-29 Pedro Alves * gdb.base/siginfo-addr.c (pass): New function. (handler): Call it iff si_addr is correct. * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check. Set a breakpoint at "pass" and continue to it. 2015-07-28 Sergio Durigan Junior * gdb.python/py-objfile.exp: Make some tests have unique names. * gdb.python/py-pp-registration.exp: Likewise. 2015-07-28 Pedro Alves * gdb.server/server-exec-info.exp: Issue a "disconnect". 2015-07-27 Simon Marchi * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL. 2015-07-27 Simon Marchi * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail. 2015-07-27 Patrick Palka * gdb.base/gdb-sigterm-2.exp: New test. 2015-07-25 Doug Evans Revert: * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. (workers/%.worker, build-perf): New rule. (GDB_PERFTEST_MODE): New variable. (check-perf): Use it. (clean): Clean up gdb.perf parallel build subdirs. * lib/build-piece.exp: New file. * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path name. (standard_temp_file): Ditto. (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs of $GDB_PARALLEL. 2015-07-24 Doug Evans * gdb.perf/lib/perftest/utils.py: New file. * gdb.perf/gm-hello.cc: New file. * gdb.perf/gm-pervasive-typedef.cc: New file. * gdb.perf/gm-pervasive-typedef.h: New file. * gdb.perf/gm-std.cc: New file. * gdb.perf/gm-std.h: New file. * gdb.perf/gm-use-cerr.cc: New file. * gdb.perf/gm-utils.h: New file. * gdb.perf/gmonster-null-lookup.py: New file. * gdb.perf/gmonster-pervasive-typedef.py: New file. * gdb.perf/gmonster-print-cerr.py: New file. * gdb.perf/gmonster-ptype-string.py: New file. * gdb.perf/gmonster-runto-main.py: New file. * gdb.perf/gmonster-select-file.py: New file. * gdb.perf/gmonster1-null-lookup.exp: New file. * gdb.perf/gmonster1-pervasive-typedef.exp: New file. * gdb.perf/gmonster1-print-cerr.exp: New file. * gdb.perf/gmonster1-ptype-string.exp: New file. * gdb.perf/gmonster1-runto-main.exp: New file. * gdb.perf/gmonster1-select-file.exp: New file. * gdb.perf/gmonster1.cc: New file. * gdb.perf/gmonster1.exp: New file. * gdb.perf/gmonster2-null-lookup.exp: New file. * gdb.perf/gmonster2-pervasive-typedef.exp: New file. * gdb.perf/gmonster2-print-cerr.exp: New file. * gdb.perf/gmonster2-ptype-string.exp: New file. * gdb.perf/gmonster2-runto-main.exp: New file. * gdb.perf/gmonster2-select-file.exp: New file. * gdb.perf/gmonster2.cc: New file. * gdb.perf/gmonster2.exp: New file. 2015-07-24 Doug Evans * gdb.perf/README: New file. * lib/perftest.exp (tcl_string_list_to_python_list): New function. * lib/gen-perf-test.exp: New file. 2015-07-24 Doug Evans * lib/perftest.exp (PerfTest::compile): Unconditionally call body. (PerfTest::startup): New function. (PerfTest::run): Return result of calling body. (PerfTest::assemble): Rewrite. * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result. * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto. * gdb.perf/single-step.exp (PerfTest::assemble): Ditto. * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto. * gdb.perf/solib.exp (PerfTest::assemble): Ditto. 2015-07-24 Doug Evans * lib/gdb.exp (clean_restart): Make executable optional. 2015-07-24 Doug Evans * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove compiler_info references. * gdb.cp/temargs.exp: Ditto. * lib/gdb.exp: Unset compiler_info instead of setting to "unknown". (get_compiler_info): Early exit if already computed. Set compiler_info to "unknown" if there was a problem. (test_compiler_info): Add function comment. Call get_compiler_info. 2015-07-24 Doug Evans * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. (workers/%.worker, build-perf): New rule. (GDB_PERFTEST_MODE): New variable. (check-perf): Use it. (clean): Clean up gdb.perf parallel build subdirs. * lib/build-piece.exp: New file. * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name. * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path name. (standard_temp_file): Ditto. (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs of $GDB_PARALLEL. 2015-07-24 Doug Evans * lib/future.exp (gdb_default_target_compile): New option "early_flags". * lib/gdb.exp (gdb_compile): Undo debian's change in default of --as-needed. 2015-07-24 Sergio Durigan Junior * gdb.base/catch-syscall.exp: Call gdb_exit before gdb_skip_xml_test. 2015-07-24 Pedro Alves * gdb.python/py-events.exp: Accept output between the stop event and the prompt. * gdb.python/py-evsignal.exp: Likewise. * gdb.python/py-evthreads.exp: Likewise. 2015-07-24 Pedro Alves PR gdb/18717 * gdb.threads/non-ldr-exit.c: New file. * gdb.threads/non-ldr-exit.exp: New file. 2015-07-24 Yao Qi * gdb.server/ext-wrapper.exp: Test --wrapper option when restarting process. 2015-07-24 Yao Qi * gdb.server/ext-restart.exp: New file. 2015-07-24 Yao Qi * lib/gdbserver-support.exp (gdbserver_start_extended): Add argument options. * gdb.server/ext-wrapper.exp: New file. 2015-07-23 Doug Evans * gdb.dwarf2/dw2-dummy-cu.S: New file. * gdb.dwarf2/dw2-dummy-cu.exp: New file. 2015-07-23 Pierre-Marie de Rodat * gdb.ada/var_arr_typedef.exp: New testcase. * gdb.ada/var_arr_typedef/pack.adb: New file. * gdb.ada/var_arr_typedef/pack.ads: New file. * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file. 2015-07-20 Joel Brobecker * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output. 2015-07-16 Jan Kratochvil * gdb.arch/i386-biarch-core.exp: Replace istarget by "complete set gnutarget". Remove expectation for the "core-file" command. 2015-07-15 Jan Kratochvil Revert the previous commit: Tests for validate symbol file using build-id. 2015-07-15 Aleksandar Ristovski * gdb.base/sigaltstack.exp (finish_test): Add kfail for nios2-*-linux*. * gdb.base/sigbpt.exp (stepi_out): Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp (advance, advancei): Likewise. 2015-07-15 Pierre Langlois * gdb.base/range-stepping.exp (gdb_range_stepping_enabled): Move it to ... * lib/range-stepping-support.exp (gdb_range_stepping_enabled): ... here. * gdb.trace/range-stepping.exp: Check that the target supports range stepping. 2015-07-14 Jan Kratochvil * gdb.arch/i386-biarch-core.exp: Fix comment typo. 2015-07-14 Pedro Alves * gdb.base/killed-outside.exp: New file. * gdb.base/killed-outside.c: New file. 2015-07-10 Jan Kratochvil * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter. (n at main): New. * gdb.asm/asmsrc1.s: Add comment "mark: main enter". 2015-07-10 Andreas Arnez * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the infcall tests instead of setting up for KFAIL. 2015-07-10 Markus Metzger * gdb.btrace/record_goto-step.exp: New. 2015-07-08 Jan Kratochvil PR compile/18484 * gdb.compile/compile.c (struct struct_type): Add volatile to selffield's type. * gdb.compile/compile.exp (compile code struct_object.selffield = &struct_object): Skip further struct_object tests if this one xfails. 2015-07-08 Robert O'Callahan PR exp/18617 * gdb.trace/ax.exp: Add test. 2015-07-07 Yao Qi * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target instead of istarget "aarch64*-*-*". * gdb.arch/aarch64-fp.exp: Likewise. * gdb.base/float.exp: Likewise. * gdb.reverse/aarch64.exp: Likewise. * lib/gdb.exp (is_aarch64_target): New proc. 2015-07-07 Yao Qi * lib/gdb.exp (is_aarch32_target): New proc. * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target instead of "istarget "arm*-*-*"". * gdb.arch/arm-disp-step.exp: Likewise. * gdb.arch/thumb-bx-pc.exp: Likewise. * gdb.arch/thumb-prologue.exp: Likewise. * gdb.arch/thumb-singlestep.exp: Likewise. * gdb.base/disp-step-syscall.exp: Likewise. * gdb.base/float.exp: Likewise. 2015-07-07 Yao Qi * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set arch1, arch2, syscall1_name, syscall2_name and syscall_number. 2015-07-07 Yao Qi * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET} if it exists. * gdb.multi/multi-arch.exp: Likewise. 2015-07-07 Simon Marchi * gdb.python/py-lazy-string.exp: Add missing parentheses to print. 2015-07-07 Yao Qi * gdb.arch/thumb-singlestep.exp: Do one more single step. 2015-06-30 Martin Galvan * lib/gdb.exp (test_class_help): Remove the unneeded escaping of '[' and ']' characters. 2015-06-30 Iain Buclaw * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite. 2015-06-29 Pedro Alves PR threads/18127 * gdb.threads/hand-call-new-thread.c: New file. * gdb.threads/hand-call-new-thread.c: New file. 2015-06-26 Keith Seitz Doug Evans PR 16253 * gdb.cp/var-tag-2.cc: New file. * gdb.cp/var-tag-3.cc: New file. * gdb.cp/var-tag-4.cc: New file. * gdb.cp/var-tag.cc: New file. * gdb.cp/var-tag.exp: New file. 2015-06-26 Patrick Palka * gdb.base/history-duplicates.exp: New test. 2015-06-26 Patrick Palka * gdb.base/completion.exp: Test the completion of the "focus" command. 2015-06-26 Jan Kratochvil * gdb.arch/amd64-prologue-skip.S: New file. * gdb.arch/amd64-prologue-skip.exp: New file. 2015-06-25 Simon Marchi * gdb.python/py-prettyprint.exp (run_lang_tests): Add is_address_zero_readable check. 2015-06-24 Peter Bergner * gdb.arch/powerpc-power.exp : Fixup test results. * gdb.arch/powerpc-power.s : Likewise. 2015-06-24 Yao Qi * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all linux targets. 2015-06-24 Yao Qi * lib/gdb.exp (supports_get_siginfo_type): New proc. * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type. * gdb.base/siginfo-thread.exp: Likewise. 2015-06-22 Yao Qi * boards/remote-gdbserver-on-localhost.exp: Add comments. 2015-06-22 Yao Qi * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target aarch64*-*-*. (skip_hw_watchpoint_tests): Likewise. 2015-06-18 Patrick Palka * gdb.base/gdbinit-history.exp: Test the interaction between setting GDBHISTSIZE and setting the history size via .gdbinit. 2015-06-17 Patrick Palka PR gdb/16999 * gdb.base/gdbhistsize-history.exp: New test. 2015-06-17 Patrick Palka * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE with GDBHISTSIZE. * gdb.base/readline.exp: Likewise. 2015-06-17 Yao Qi * lib/gdb.exp (get_build_id): Move braces and "else" to the same line. 2015-06-17 Patrick Palka * gdb.base/gdbinit-history.exp: Add test case to check that an unlimited history file does not get truncated on exit. 2015-06-17 Andreas Arnez * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h. (VECTOR): New macro. Use it... (int4, uint4, char4, float4, int2, longlong2, float2, double2): ...for these typedefs. (int8, char1, int1, double1): New typedefs. (struct just_int2, struct two_int2): New structures. (add_some_intvecs, add_many_charvecs, add_various_floatvecs) (add_structvecs, add_singlevecs): New functions. (main): Call add_some_intvecs twice. * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt the compile and exit upon failure. Try compiling for the "native" architecture. Test inferior function calls with vector arguments and vector return value handling with "finish" and "return". 2015-06-10 Jon Turney * gdb.base/sepdebug.exp: Add EXEEXT where needed. * lib/gdb.exp (get_build_id): Teach how to extract build-id from a PE file. * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump. 2015-06-12 Antoine Tremblay PR breakpoints/16465 * gdb.mi/mi-dprintf-pending.c: New file. * gdb.mi/mi-dprintf-pending.exp: New test. * gdb.mi/mi-dprintf-pendshr.c: New file. 2015-06-10 Walfred Tedeschi Mircea Gherzan * gdb.arch/i386-mpx-map.c: New file. * gdb.arch/i386-mpx-map.exp: New File. 2015-06-10 Walfred Tedeschi * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed. * gdb.arch/i386-mpx.exp: Indentation fixed. 2015-06-10 Walfred Tedeschi * gdb.arch/i386-mpx.c: Added final return to the have_mpx function and improved indentation. * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for gdb_test_multiple. Added additional tests to skip the test. 2015-06-10 Walfred Tedeschi * gdb.arch/i386-avx512.c: Change path in include file. * gdb.arch/i386-avx512.exp: Change include dir path compilation flag. * gdb.arch/i386-mpx.c: Change path in include file. * gdb.arch/i386-mpx.exp: Change include dir path compilation flag. 2015-06-04 Jan Kratochvil * gdb.compile/compile-print.exp (compile print *vararray@3) (compile print *vararrayp@3): Change xfail to kfail compile/18489. 2015-06-03 Jan Kratochvil * gdb.compile/compile.exp (keep jit in memory): Rename to ... (do not keep jit in memory): ... this. (expect 5): Change it to ... (expect no 5): ... this. 2015-06-02 Simon Marchi PR gdb/15564 * gdb.mi/mi-detach.exp: New file. 2015-06-01 Jan Kratochvil PR symtab/18392 * gdb.arch/amd64-tailcall-self.S: New file. * gdb.arch/amd64-tailcall-self.c: New file. * gdb.arch/amd64-tailcall-self.exp: New file. 2015-05-28 Don Breazeal * gdb.base/foll-vfork.exp (main): Disable exec-dependent tests for remote targets by checking is_target_gdbserver. 2015-05-27 Doug Evans * gdb.dwarf2/opaque-type-lookup-2.c: New file. * gdb.dwarf2/opaque-type-lookup.c: New file. * gdb.dwarf2/opaque-type-lookup.exp: New file. 2015-05-26 Doug Evans * gdb.cp/iostream.cc: New file. * gdb.cp/iostream.exp: New file. 2015-05-26 Doug Evans * gdb.dwarf2/dw2-op-call.exp: Update. * gdb.dwarf2/dw4-sig-types.exp: Update. * gdb.dwarf2/implptr.exp: Update. * gdb.mi/mi-cmd-param-changed.exp: Update. 2015-05-26 Doug Evans * gdb.python/py-lazy-string.c: New file. * gdb.python/py-lazy-string.exp: New file. * gdb.python/py-prettyprint.c (lazystring) : New member. (main): Update. Add estring3. * gdb.python/py-prettyprint.exp: Add tests for strings at address 0. * gdb.python/py-prettyprint.py (pp_ls): Handle length. 2015-05-26 Omair Javaid Yao Qi * gdb.reverse/aarch64.c: New. * gdb.reverse/aarch64.exp: New. 2015-05-26 Omair Javaid * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*. (supports_reverse): Likewise. 2015-05-22 Patrick Palka * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): Use with_test_prefix. 2015-05-21 Andrew Burgess * gdb.base/completion.exp: Add test for completion of layout names. 2015-05-20 Andrew Burgess * lib/gdb.exp (skip_tui_tests): New proc. * gdb.base/tui-layout.exp: Check skip_tui_tests. 2015-05-19 Pedro Alves * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting): Save the whole env array instead of just HOME. Unset HISTSIZE in the environment while testing. Restore whole environment afterwards. 2015-05-16 Doug Evans * gdb.guile/scm-ports.c: New file. * gdb.guile/scm-ports.exp: Add memory port tests. 2015-05-16 Jan Kratochvil * gdb.compile/compile-print.c: New file. * gdb.compile/compile-print.exp: New file. 2015-05-16 Jan Kratochvil * gdb.compile/compile-ops.exp: Cast param to void. * gdb.compile/compile.exp: Complete type for _gdb_expr. (compile code struct_object.selffield = &struct_object): Add xfail. 2015-05-15 Joel Brobecker * gdb.ada/arr_enum_with_gap: New testcase. 2015-05-15 Joel Brobecker * gdb.ada/byte_packed_arr: New testcase. 2015-05-15 Joel Brobecker * gdb.ada/pckd_neg: New testcase. 2015-05-13 Patrick Palka PR gdb/17820 * gdb.base/gdbinit-history.exp: New test. * gdb.base/gdbinit-history/unlimited/.gdbinit: New file. * gdb.base/gdbinit-history/zero/.gdbinit: New file. 2015-05-09 Siva Chandra Reddy * gdb.python/py-xmethods.cc: Enhance test case. * gdb.python/py-xmethods.exp: New tests. * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker function. (B_indexoper): Likewise. (global_dm_list) : Add new xmethod worker functions. 2015-05-08 Sergio Durigan Junior * gdb.base/coredump-filter.exp: Correctly unset "coredump_var_addr" array. 2015-05-08 Pedro Alves * gdb.server/non-existing-program.exp: Unset spawn_id. 2015-05-08 Siva Chandra Reddy PR python/18291 * gdb.python/py-xmethods.exp: Add tests. 2015-05-08 Yao Qi PR gdb/18208 * gdb.base/coredump-filter.c (set_coredump_filter): New function. * gdb.base/coredump-filter.exp (do_save_core): Call inferior function set_coredump_filter, and remove remote_exec call. Remove argument ipid. Callers update. (top level): Don't get inferior's PID. 2015-05-08 Andreas Arnez * gdb.base/watch_thread_num.exp: Skip test on targets without access watchpoints. 2015-05-06 Pedro Alves PR server/18081 * gdb.server/non-existing-program.exp: New file. 2015-05-05 Joel Brobecker * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests. 2015-05-05 Joel Brobecker * gdb.ada/out_of_line_in_inlined: New testcase. 2015-05-05 Joel Brobecker * gdb.ada/var_rec_arr: New testcase. 2015-04-30 Yao Qi * gdb.base/break-idempotent.exp: If skip_hw_watchpoint_multi_tests returns true, skip the tests on "rwatch" and "awatch". 2015-04-30 Yao Qi * gdb.base/relativedebug.exp: Invoke gdb command "info sharedlibrary", and if libc.so doesn't have debug info, skip the test. 2015-04-29 Doug Evans * gdb.python/py-xmethods.exp: Add ptype tests. * gdb.python/py-xmethods.py (E_method_char_worker): Add get_result_type method. 2015-04-29 Luis Machado * gdb.base/watch-bitfields.exp: Switch to software watchpoints if the target does not support hardware watchpoints. 2015-04-29 Luis Machado * gdb.base/break-always.exp: Abort testing if writing to memory causes an error. 2015-04-28 Doug Evans * gdb.python/py-pp-maint.py: Move "replace" testing to ... * gdb.python/py-pp-registration.exp: ... here. New file. * gdb.python/py-pp-registration.c: New file. * gdb.python/py-pp-registration.py: New file. 2015-04-28 Doug Evans * gdb.python/py-bad-printers.c: New file. * gdb.python/py-bad-printers.py: New file. * gdb.python/py-bad-printers.exp: New file. 2015-04-28 Sasha Smundak * gdb.python/py-type.exp: New test. 2015-04-28 Andy Wingo * gdb.python/py-parameter.exp: * gdb.guile/scm-parameter.exp: Escape the path that we are matching against, as it might contain characters that are special to regular expressions. 2015-04-27 Joel Brobecker * gdb.ada/rec_comp: New testcase. 2015-04-26 Sergio Durigan Junior * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr" before using it. 2015-04-24 Andrew Burgess * gdb.base/dump.exp: Add *.verilog files to all_files list. Add new tests for verilog output. 2015-04-24 Yao Qi * boards/remote-gdbserver-on-localhost.exp: New file. 2015-04-23 Pedro Alves * gdb.base/interrupt.exp: Use an indirect spawn id list holding $inferior_spawn_id instead of $inferior_spawn_id directly. On "end of file", remove $inferior_spawn_id from the indirect list. 2015-04-23 Pedro Alves * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file. 2015-04-23 Pedro Alves * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout on $any_spawn_id instead of only on $gdb_spawn_id. 2015-04-21 Pierre Muller PR pascal/17815 * lib/pascal.exp (gpc_compile): Add new option "class". (fpc_compile): Likewise. * gdb.pascal/case-insensitive-symbols.pas: New file. * gdb.pascal/case-insensitive-symbols.exp: New file. 2015-04-20 Gary Benson * gdb.base/attach.exp: Fix three extended remote failures. 2015-04-17 Gary Benson * gdb.server/server-exec-info.exp: Inhibit GDB from accessing the main executable over the remote protocol. 2015-04-16 Pedro Alves * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start a new gdbserver if gdbserver_reconnect_p is set. 2015-04-16 Pedro Alves * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p is set, don't exit gdbserver. 2015-04-16 Andreas Arnez * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an appropriate .insn, such that an older assembler can be used. * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable the z/Architecture instruction set on 31-bit targets as well. 2015-04-16 Andreas Arnez * gdb.go/handcall.exp: Remove all logic related to the first breakpoint and rely on go_runto_main instead. * gdb.go/strings.exp: Likewise. * gdb.go/unsafe.exp: Likewise. * gdb.go/hello.exp: Likewise. Also rename the remaining breakpoint marker to "breakpoint 1". * gdb.go/handcall.go: Remove comment "set breakpoint 1 here". * gdb.go/strings.go: Likewise. * gdb.go/unsafe.go: Likewise. * gdb.go/hello.go: Likewise. Also remove the second occurrence of "set breakpoint 2 here" and rename the remaining breakpoint marker to "breakpoint 1". 2015-04-15 Simon Marchi * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function if itertools.imap is not present. * gdb.python/py-objfile.exp: Add parentheses. * gdb.python/py-type.exp: Same. * gdb.python/py-unwind-maint.py: Same. 2015-04-15 Yao Qi * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead of ":$ptr_size" and set its form explicitly. 2015-04-15 Pedro Alves Yao Qi * gdb.base/watch-bitfields.exp (test_watch_location): Increase timeout by factor of 4. (test_regular_watch): Likewise. * gdb.base/watchpoint-solib.exp: Use with_timeout_factor. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.reverse/until-precsave.exp: Likewise. * lib/gdb.exp (with_timeout_factor): New proc. (gdb_expect): Move some code to ... (get_largest_timeout): ... here. New procedure. 2015-04-14 Luis Machado * gdb.base/bp-permanent.exp (test): Reinstate correct test message. 2015-04-13 Luis Machado * gdb.base/bp-permanent.exp (test): Handle the case of being unable to write to the .text section. 2015-04-13 Luis Machado * gdb.base/coredump-filter.exp: Restrict test to Linux systems only. Handle the case of targets that do not provide PID information. 2015-04-13 Yao Qi * lib/gdbserver-support.exp (gdb_exit): Catch exception and use expect instead of gdb_expect. 2015-04-13 Sergio Durigan Junior * gdb.base/coredump-filter.exp: Rename variable "addr" to "coredump_var_addr" to avoid naming conflict with other testcases. 2015-04-10 Pedro Alves * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use gdb_test_sequence and gdb_assert. 2015-04-10 Pedro Alves * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use test messages that don't include the breakpoint address. 2015-04-10 Yao Qi * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return false for some offset and width combinations which aren't supported by linux kernel. 2015-04-10 Pedro Alves * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New procedure, factored out from ... (top level): ... here. Add "set displaced-stepping" testing axis. * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New parameter "displaced". Use it. (top level): Use foreach and add "set displaced-stepping" testing axis. 2015-04-10 Pedro Alves * gdb.threads/step-over-trips-on-watchpoint.c (child_function): Remove comment. * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find both the address of the instruction that triggers the watchpoint and the address of the instruction immediately after, and use those addresses for the test. Fix comment. 2015-04-10 Pedro Alves * gdb.base/sigstep.exp (breakpoint_to_handler) (breakpoint_to_handler_entry): New parameter 'displaced'. Use it. Test "backtrace" in handler. (breakpoint_over_handler): New parameter 'displaced'. Use it. (top level): Add new "displaced" test axis to breakpoint_to_handler, breakpoint_to_handler_entry and breakpoint_over_handler. 2015-04-10 Pedro Alves PR gdb/18216 * gdb.threads/multiple-step-overs.exp: Remove expected eof. 2015-04-10 Yao Qi * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc. (test_add_rn_pc): New function. * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc. (top level): Invoke test_add_rn_pc. 2015-04-10 Pedro Alves PR gdb/13858 * gdb.base/step-over-no-symbols.exp: New file. 2015-04-09 Andy Wingo * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled after the Python tests. 2015-04-08 Keith Seitz PR python/16699 * gdb.python/py-completion.exp: New tests for completion. * gdb.python/py-completion.py (CompleteLimit1): New class. (CompleteLimit2): Likewise. (CompleteLimit3): Likewise. (CompleteLimit4): Likewise. (CompleteLimit5): Likewise. (CompleteLimit6): Likewise. (CompleteLimit7): Likewise. 2015-04-08 Pedro Alves PR gdb/18214 PR gdb/18216 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New function. (main): Install it as SIGUSR1 handler. * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix' parameter. Always use "setup" as prefix. Toggle "set displaced-stepping" off/on depending on global. Don't switch to thread 1 here. (top level): Add displaced stepping "off/on" test axis. Update "setup" calls. Wrap each subtest with with_test_prefix. Test continuing with a queued signal in each thread. 2015-04-08 Pedro Alves * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd. * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use gdb_breakpoint instead of gdb_test that doesn't expect anything. Return early if running to main fails. * gdb.trace/while-stepping.exp: Likewise. 2015-04-07 Pedro Alves * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id != $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to interact with inferior program. 2015-04-07 Pedro Alves * lib/gdb.exp (inferior_spawn_id): New global. (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's spawn id after processing the user code. (default_gdb_start): Set inferior_spawn_id. (send_inferior): New procedure. * lib/gdbserver-support.exp (gdbserver_start): Set inferior_spawn_id. (close_gdbserver, gdb_exit): Unset inferior_spawn_id. 2015-04-07 Pedro Alves * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling. * lib/gdbserver-support.exp (gdbserver_start): Make $server_spawn_id global. (gdbserver_start): Don't wait for gdbserver's spawn id with expect_background. (close_gdbserver): New procedure. (gdb_exit): Rename the default version and reimplement. 2015-04-07 Pedro Alves * lib/gdb.exp (gdb_test_multiple): When processing an argument, append the substituted item, not the original item. 2015-04-07 Pedro Alves * gdb.base/interrupt.exp: Use gdb_test_multiple instead of gdb_expect. 2015-04-07 Pedro Alves * gdb.base/interrupt.exp: Don't handle the case of the inferior output appearing once only. 2015-04-07 Pedro Alves * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test that doesn't expect anything. Return early if running to main fails. 2015-04-07 Yao Qi * gdb.threads/non-stop-fair-events.c (SECONDS): New macro. (child_function): Call alarm. (main): Move call to alarm into the loop. * gdb.threads/non-stop-fair-events.exp: Build program with -DTIMEOUT=$timeout. 2015-04-06 Doug Evans * lib/pascal.exp (gpc_compile): Rename dest arg to destfile. Fix dest parameter to board_info. (fpc_compile): Ditto. (gdb_compile_pascal): Rename dest arg to destfile. 2015-04-03 Pierre-Marie de Rodat * gdb.ada/funcall_ref.exp: New file. * gdb.ada/funcall_ref/foo.adb: New file. 2015-04-02 Yao Qi * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target is remote. 2015-04-02 Gary Benson * gdb.base/break-probes.exp: Cope with "target:" sysroot. 2015-04-01 Sasha Smundak * gdb.python/py-unwind-maint.c: New file. * gdb.python/py-unwind-maint.exp: New test. * gdb.python/py-unwind-maint.py: New file. * gdb.python/py-unwind.c: New file. * gdb.python/py-unwind.exp: New test. * gdb.python/py-unwind.py: New test. 2015-04-01 Pedro Alves * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message to fail instead of non-existent $test. 2015-04-01 Pedro Alves * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to GDBFLAGS if not empty. 2015-04-01 Pierre-Marie de Rodat * gdb.ada/complete.exp: Remove "multi_line". * gdb.ada/info_exc.exp: Remove "multi_line". * gdb.ada/packed_tagged.exp: Remove "multi_line". * gdb.ada/ptype_field.exp: Remove "multi_line". * gdb.ada/sym_print_name.exp: Remove "multi_line". * gdb.ada/tagged.exp: Remove "multi_line". * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with [multi_line ...] * gdb.btrace/delta.exp: Likewise. * gdb.btrace/exception.exp: Likewise. * gdb.btrace/function_call_history.exp: Likewise. * gdb.btrace/instruction_history.exp: Likewise. * gdb.btrace/nohist.exp: Likewise. * gdb.btrace/record_goto.exp: Likewise. * gdb.btrace/segv.exp: Likewise. * gdb.btrace/stepi.exp: Likewise. * gdb.btrace/tailcall.exp: Likewise. * gdb.btrace/unknown_functions.exp: Likewise. * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise. * lib/gdb.exp: Add the "multi_line" helper. 2015-04-01 Pedro Alves * gdb.threads/tid-reuse.c: New file. * gdb.threads/tid-reuse.exp: New file. 2015-03-31 Sergio Durigan Junior PR corefiles/16092 * gdb.base/coredump-filter.c: New file. * gdb.base/coredump-filter.exp: Likewise. 2015-03-27 Petr Machata * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset. (Dwarf::_line_count, Dwarf::_line_saw_file): New variables. (Dwarf::assemble): Initialize them. (Dwarf::lines): New function. 2015-03-26 Jon Turney * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set SYMBOL_PREFIX for x86_64-*-cygwin. 2015-03-26 Andy Wingo PR symtab/18148 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a const_value but not a location. * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without location defined in non-main CUs are visible. 2015-03-26 Yao Qi PR testsuite/18139 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2. Add a line number entry for the same line. * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2. Add a line number entry for the same line. 2015-03-26 Yao Qi * gdb.linespec/break-asm-file0.s (func2): Use nop instead of .int 0. (func): Likewise. Add .Lfunc_1 label. Use .Lfunc_1 label. * gdb.linespec/break-asm-file1.s (func3): Use nop instead of .int 0. (func): Likewise. Use .Lfunc_1 label. 2015-03-26 Yao Qi * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing. Call gdb_compile instead to compile each .s files without debug information. 2015-03-26 Yao Qi * gdb.base/savedregs.exp (process_saved_regs): Make "Saved registers:" optional in the pattern. 2015-03-25 Markus Metzger * gdb.btrace/next.exp: Merged into step.exp. * gdb.btrace/finish.exp: Merged into step.exp. * gdb.btrace/nexti.exp: Merged into stepi.exp. * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using "record goto" and checking the exact replay position. * gdb.btrace/stepi.exp: Choose test file based on target. Do not check for "Recording format" in "info record" output. * gdb.btrace/record_goto.exp: Choose test file based on target. * gdb.btrace/x86-record_goto.S: Renamed into ... * gdb.btrace/x86_64-record_goto.S: ... this. * gdb.btrace/i686-record_goto.S: New. * gdb.btrace/x86-tailcall.S: Renamed into ... * gdb.btrace/x86_64-tailcall.S: ... this. * gdb.btrace/i686-tailcall.S: New. * gdb.btrace/x86-tailcall.c: Renamed into ... * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two separate statements. Update test. * gdb.btrace/delta.exp: Use record_goto.c as test file. * gdb.btrace/gcore.exp: Use record_goto.c as test file. * gdb.btrace/nohist.exp: Use record_goto.c as test file. * gdb.btrace/tailcall.exp: Choose test file based on target. * gdb.btrace/Makefile.in: Remove next, finish, and nexti. 2015-03-25 Markus Metzger * gdb.btrace/exception.exp: Increase BTS buffer size. 2015-03-24 Pedro Alves * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all". 2015-03-24 Pedro Alves * gdb.threads/schedlock.exp (test_step): No longer expect that "set scheduler-locking step" with "next" over a function call runs threads unlocked. 2015-03-24 Antoine Tremblay * gdb.mi/mi-pending.exp: Fix output of breakpoint test. 2015-03-24 Antoine Tremblay PR breakpoints/16466 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup. * gdb.mi/mi-pending.c (thread_func): New function. (int main): Add threading support required. * gdb.mi/mi-pending.exp: Add tests for this issue. * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency. (pendfunc2): Remove stdio dependency. * gdb.mi/mi-pendshr2.c: New file. 2015-03-23 Keith Seitz * gdb.linespec/keywords.c: New file. * gdb.linespec/keywords.exp: New file. 2015-03-23 Keith Seitz PR gdb/18021 * gdb.dwarf2/staticvirtual.exp: New test. 2015-03-20 Jan Kratochvil * Makefile.in (ALL_SUBDIRS): Remove gdb.hp. * README: Remove HP-UX and gdb.hp. (configuration): * configure: Regenerate. * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile, gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile, gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile, gdb.hp/gdb.defects/Makefile. * gdb.hp/Makefile.in: File deleted. * gdb.hp/gdb.aCC/Makefile.in: File deleted. * gdb.hp/gdb.aCC/optimize.c: File deleted. * gdb.hp/gdb.aCC/optimize.exp: File deleted. * gdb.hp/gdb.aCC/run.c: File deleted. * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted. * gdb.hp/gdb.base-hp/Makefile.in: File deleted. * gdb.hp/gdb.base-hp/callfwmall.c: File deleted. * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted. * gdb.hp/gdb.base-hp/dollar.c: File deleted. * gdb.hp/gdb.base-hp/dollar.exp: File deleted. * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted. * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted. * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted. * gdb.hp/gdb.base-hp/pxdb.c: File deleted. * gdb.hp/gdb.base-hp/pxdb.exp: File deleted. * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted. * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted. * gdb.hp/gdb.base-hp/reg.exp: File deleted. * gdb.hp/gdb.base-hp/reg.s: File deleted. * gdb.hp/gdb.base-hp/sized-enum.c: File deleted. * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted. * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted. * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted. * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted. * gdb.hp/gdb.compat/Makefile.in: File deleted. * gdb.hp/gdb.compat/average.c: File deleted. * gdb.hp/gdb.compat/sum.c: File deleted. * gdb.hp/gdb.compat/xdb.c: File deleted. * gdb.hp/gdb.compat/xdb0.c: File deleted. * gdb.hp/gdb.compat/xdb0.h: File deleted. * gdb.hp/gdb.compat/xdb1.c: File deleted. * gdb.hp/gdb.compat/xdb1.exp: File deleted. * gdb.hp/gdb.compat/xdb2.exp: File deleted. * gdb.hp/gdb.compat/xdb3.exp: File deleted. * gdb.hp/gdb.defects/Makefile.in: File deleted. * gdb.hp/gdb.defects/bs14602.c: File deleted. * gdb.hp/gdb.defects/bs14602.exp: File deleted. * gdb.hp/gdb.defects/solib-d.c: File deleted. * gdb.hp/gdb.defects/solib-d.exp: File deleted. * gdb.hp/gdb.defects/solib-d1.c: File deleted. * gdb.hp/gdb.defects/solib-d2.c: File deleted. * gdb.hp/gdb.objdbg/Makefile.in: File deleted. * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted. * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted. * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted. * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted. * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted. * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted. * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted. * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted. * gdb.hp/gdb.objdbg/tools/symaddr: File deleted. * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted. * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted. * gdb.hp/tools/odump: File deleted. 2015-03-19 Pedro Alves * gdb.threads/continue-pending-status.exp (saw_thread_2) (saw_thread_3): New globals. (top level): Increment them when an event for the corresponding thread is seen. (no thread starvation): New test. 2015-03-19 Pedro Alves * gdb.threads/continue-pending-status.c: New file. * gdb.threads/continue-pending-status.exp: New file. 2015-03-18 Pedro Alves * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Use gdb_is_target_remote instead of is_remote. Use gdb_test_multiple instead of gdb_expect. Exit early if gdb_test_multiple hits its internal matches. Tighten stepi tests expected output. Fail on exit with any signal, instead of just SIGILL. 2015-03-18 Yao Qi PR tdep/18107 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New variable. * gdb.base/catch-syscall.exp: Don't skip it on aarch64*-*-linux* target. Remove elements in all_syscalls. (test_catch_syscall_multi_arch): Skip it on aarch64*-linux* target. (setup_all_syscalls): New proc. 2015-03-16 Yao Qi * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc. (top level): Skip tests if valid_addr_p returns false for $cmd1 or $cmd2. 2015-03-11 Andy Wingo * gdb.guile/scm-objfile.exp: Add objfile-progspace test. 2015-03-11 Yao Qi * gdb.base/catch-syscall.exp: Fix typo in comments. 2015-03-11 Yao Qi * gdb.base/catch-syscall.exp: Skip it on HP-UX target. 2015-03-09 Pedro Alves * dg-extract-results.py: Delete. 2015-03-09 Pedro Alves Merge dg-extract-results.sh from GCC upstream (r218843). 2014-12-17 Sergio Durigan Junior * dg-extract-results.sh: Use --text with grep to avoid issues with binary files. Fall back to cat -v, if that doesn't work. 2015-03-05 Pedro Alves * gdb.base/bp-permanent.exp: Tighten "next over setup" regex. 2015-03-04 Simon Marchi * lib/mi-support.exp (mi_expect_interrupt): Accept alternative event for when in all-stop mode. 2015-03-04 Pedro Alves * gdb.threads/thread-specific-bp.exp: Delete "info threads" test. 2015-03-04 Mark Kettenis * gdb.base/foll-fork.exp: Enable on *-*-openbsd*. 2015-03-04 Andreas Arnez * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the regexps for GDB's current line display, accept a hex address preceding the line number. 2015-03-04 Andreas Arnez * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set the 'arch1' variable for "s390*-linux*" targets. 2015-03-04 Pedro Alves * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h. (main): Pass missing retval argument to pthread_join call. 2015-03-02 Pedro Alves * gdb.threads/thread-execl.exp (do_test): Handle non-stop. (top level): Call do_test with non-stop as well. 2015-03-02 Pedro Alves * lib/gdb.exp (gdb_test_multiple) : Set result to -1. 2015-03-02 Andreas Arnez * gdb.arch/s390-vregs.exp: New test. * gdb.arch/s390-vregs.S: New file. 2015-02-27 Pedro Alves * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust call to catch_command_errors. * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to catch_command_errors. 2015-02-27 Pedro Alves * gdb.gdb/complaints.exp (test_initial_complaints): Also accept "true" for boolean result. * gdb.gdb/selftest.exp (test_with_self): Also accept full prototype of main. 2015-02-27 Pedro Alves * lib/unbuffer_output.c: New file. * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c". (main): Call gdb_unbuffer_output. 2015-02-27 Yao Qi * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux* target. 2015-02-26 Doug Evans * gdb.cp/class2.cc (Dbase, D): New classes. (main): New local delta. * gdb.cp/class2.exp: Test printing delta. * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes. (dynbar): New global. * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar. 2015-02-26 Jan Kratochvil * gdb.compile/compile-ifunc.c: New file. * gdb.compile/compile-ifunc.exp: New file. 2015-02-26 Antoine Tremblay * gdb.base/structs.exp: Check for correct struct on finish. 2015-02-26 Yao Qi * lib/dwarf.exp (function_range): Adjust pattern when $func_length is zero. 2015-02-26 Jan Kratochvil * gdb.arch/cordic.ko.bz2: New file. * gdb.arch/cordic.ko.debug.bz2: New file. * gdb.arch/ppc64-symtab-cordic.exp: New file. 2015-02-25 Yao Qi * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for aarch64*-*-* target. 2015-02-23 Pedro Alves * lib/gdb.exp (delete_breakpoints): Rewrite using gdb_test_multiple. 2015-02-23 Pedro Alves * gdb.base/info-os.c: Include stdlib.h. 2015-02-22 Doug Evans PR symtab/17855 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache is read after symbols have been re-read. * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me. * gdb.ada/exec_changed/second.adb (Second): Ditto. 2015-02-21 Doug Evans * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'. 2015-02-21 Jan Kratochvil PR corefiles/17808 * gdb.arch/i386-biarch-core.core.bz2: New file. * gdb.arch/i386-biarch-core.exp: New file. 2015-02-21 Pedro Alves * gdb.threads/multi-create-ns-info-thr.exp: Return early if runto_main fails. 2015-02-20 Pedro Alves * gdb.base/solib-corrupted.exp: Expect "stap" as first column of info probes. 2015-02-20 Pedro Alves * gdb.threads/multi-create-ns-info-thr.exp: New file. 2015-02-20 Pedro Alves * gdb.trace/no-attach-trace.exp: Don't run to main. Do clean_restart before gdb_target_supports_trace. 2015-02-20 Pedro Alves PR threads/18006 * gdb.threads/clone-thread_db.c: New file. * gdb.threads/clone-thread_db.exp: New file. 2015-02-19 Antoine Tremblay PR breakpoints/16812 * gdb.base/catch-gdb-caused-signals.c: New file. * gdb.base/catch-gdb-caused-signals.exp: New file. 2015-02-18 Jose E. Marchesi * configure: Regenerated. * configure.ac: Use GDB_AC_TRANSFORM. * aclocal.m4: sinclude ../transform.m4. 2015-02-17 Jose E. Marchesi * lib/dtrace.exp: New file. * gdb.base/dtrace-probe.exp: Likewise. * gdb.base/dtrace-probe.d: Likewise. * gdb.base/dtrace-probe.c: Likewise. * lib/pdtrace.in: Likewise. * configure.ac: Output variables with the transformed names of the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in. * configure: Regenerated. 2015-02-17 Jose E. Marchesi * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from expected message when trying to access $_probe_* convenience variables while not on a probe. 2015-02-11 Jan Kratochvil * gdb.python/py-framefilter.exp (pagination quit - *): New tests. 2015-02-11 Pedro Alves * gdb.threads/step-bg-decr-pc-switch-thread.c: New file. * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file. 2015-02-10 Doug Evans * lib/gdb.exp (gdb_load): Always return a result. 2015-02-10 Pedro Alves * gdb.threads/signal-sigtrap.c: New file. * gdb.threads/signal-sigtrap.exp: New file. 2015-02-10 Antoine Tremblay * gdb.trace/no-attach-trace.c: New file. * gdb.trace/no-attach-trace.exp: New file. 2015-02-09 Mark Wielaard * gdb.dwarf2/atomic.c: New file. * gdb.dwarf2/atomic-type.exp: Likewise. 2015-02-09 Markus Metzger * gdb.btrace/buffer-size.exp: Update "info record" output. * gdb.btrace/delta.exp: Update "info record" output. * gdb.btrace/enable.exp: Update "info record" output. * gdb.btrace/finish.exp: Update "info record" output. * gdb.btrace/instruction_history.exp: Update "info record" output. * gdb.btrace/next.exp: Update "info record" output. * gdb.btrace/nexti.exp: Update "info record" output. * gdb.btrace/step.exp: Update "info record" output. * gdb.btrace/stepi.exp: Update "info record" output. * gdb.btrace/nohist.exp: Update "info record" output. 2015-02-09 Markus Metzger * gdb.btrace/buffer-size: New. 2015-02-09 Markus Metzger * gdb.btrace/delta.exp: Update "info record" output. * gdb.btrace/enable.exp: Update "info record" output. * gdb.btrace/finish.exp: Update "info record" output. * gdb.btrace/instruction_history.exp: Update "info record" output. * gdb.btrace/next.exp: Update "info record" output. * gdb.btrace/nexti.exp: Update "info record" output. * gdb.btrace/step.exp: Update "info record" output. * gdb.btrace/stepi.exp: Update "info record" output. * gdb.btrace/nohist.exp: Update "info record" output. 2015-02-06 Simon Marchi PR gdb/15678 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input. 2015-02-06 Pedro Alves * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New macro. (seconds_left, again): New globals. (main): Wait seconds_left in a 1-second sleep loop instead of sleeping 180 seconds. If 'again' is set, reset the seconds counter. * gdb.threads/attach-many-short-lived-threads.exp (test): Set 'again' in the inferior before detaching. Print the seconds left. (options): New global. (top level): Build program with -DTIMEOUT=$timeout. 2015-02-06 Pedro Alves * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to determine how many seconds to pass to 'alarm'. * gdb.base/gdb-sigterm.exp (top level): Build program with -DTIMEOUT=$timeout. (do_test): Return success/failure indication. Add more verbose logging. Don't fail if 200 single steps are seen. Instead, fail when the test times out. (passes): New global. (top level): Break the testing loop if testing fails on any iteration. Use gdb_assert. 2015-02-04 Don Breazeal * gdb.base/info-os.c (shmid, semid, msqid): Make variables static and initialize them. (ipc_cleanup): New function. (main): Don't declare shmid, semid, and msqid. Add a call to atexit so that we call ipc_cleanup on exit. 2015-02-04 Pedro Alves * boards/native-extended-gdbserver.exp: Remove any target variant specifications from the board name before clearing the isremote flag from board_info. 2015-01-31 Doug Evans * gdb.base/maint.exp : Update expected output. 2015-01-31 Gary Benson * gdb.base/completion.exp: Disable completion limiting for existing tests. Add new tests to check completion limiting. * gdb.linespec/ls-errs.exp: Disable completion limiting. 2015-01-31 Doug Evans * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12. 2015-01-31 Doug Evans * gdb.guile/scm-section-script.c: Add duplicate inlined section script entries. Duplicate file section script entries. * gdb.guile/scm-section-script.exp: Add tests for duplicate entries, inlined entries. Add test for safe-path rejection. * gdb.python/py-section-script.c: Add duplicate inlined section script entries. Duplicate file section script entries. * gdb.python/py-section-script.exp: Add tests for duplicate entries, inlined entries. Add test for safe-path rejection. 2015-01-29 Joel Brobecker * gdb.ada/disc_arr_bound: New testcase. 2015-01-29 Joel Brobecker * gdb.ada/mi_var_array: New testcase. 2015-01-27 Doug Evans * gdb.python/py-objfile.exp: Add tests for objfile.username. Add test for objfile.filename, objfile.username after objfile has been unloaded. 2015-01-26 Joel Brobecker * gdb.python/py-lookup-type.exp (test_lookup_type): Change the second test to print the name attribute of value returned by the call to gdb.lookup_type, and adjust the expected output accordingly. 2015-01-25 Mark Wielaard * gdb.arch/i386-bp_permanent.c (standard): New declaration. * gdb.base/disp-step-fork.c: Include unistd.h. * gdb.base/siginfo-obj.c: Include stdio.h. * gdb.base/siginfo-thread.c: Likewise. * gdb.mi/non-stop.c: Include unistd.h. * gdb.mi/nsthrexec.c: Include stdio.h. * gdb.mi/pthreads.c: Include unistd.h. * gdb.modula2/unbounded1.c (main): Declare returns int. * gdb.reverse/consecutive-reverse.c: Likewise. * gdb.threads/create-fail.c: Include unistd.h. * gdb.threads/killed.c: Likewise. * gdb.threads/linux-dp.c: Likewise. * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h. * gdb.threads/non-ldr-exc-2.c: Likewise. * gdb.threads/non-ldr-exc-3.c: Likewise. * gdb.threads/non-ldr-exc-4.c: Likewise. * gdb.threads/pthreads.c: Include unistd.h. (main): Declare returns int. * gdb.threads/tls-main.c (foo): New declaration. * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE. 2015-01-23 Simon Marchi * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file. * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file. 2015-01-15 Mark Wielaard * gdb.base/noreturn-return.c: New file. * gdb.base/noreturn-return.exp: New file. * gdb.base/noreturn-finish.c: New file. * gdb.base/noreturn-finish.exp: New file. 2015-01-23 Pedro Alves * gdb.threads/continue-pending-after-query.c: New file. * gdb.threads/continue-pending-after-query.exp: New file. 2015-01-22 Anders Granlund Simon Marchi * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id. * gdb.base/valgrind-db-attach.exp: Same. * gdb.base/valgrind-infcall.exp: Same. * lib/mi-support.exp (default_mi_gdb_start): Same. * lib/prompt.exp (default_prompt_gdb_start): Same. * lib/gdb.exp (default_gdb_spawn): Same. (gdb_interact): New. 2015-01-22 Jan Kratochvil * gdb.compile/compile.exp (pointer to jit function): New test. 2015-01-17 Wei-cheng Wang * lib/gdb.exp (supports_process_record): Return true for powerpc*-*-linux*. (supports_reverse): Likewise. 2015-01-15 Don Breazeal * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach instead of checking whether the target board is remote and use spawn_wait_for_attach instead of exec/sleep. * gdb.base/attach-twice.exp: Likewise. 2015-01-15 Joel Brobecker * gdb.ada/var_arr_attrs: New testcase. 2015-01-14 Pedro Alves Joel Brobecker PR gdb/17525 * gdb.base/bp-cmds-execution-x-script.c: New file. * gdb.base/bp-cmds-execution-x-script.exp: New file. * gdb.base/bp-cmds-execution-x-script.gdb: New file. 2015-01-14 Pedro Alves PR cli/17828 * gdb.base/batch-preserve-term-settings.c: New file. * gdb.base/batch-preserve-term-settings.exp: New file. 2015-01-13 Doug Evans * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked binary. 2015-01-13 Joel Brobecker * Makefile.in (clean mostlyclean): Do not delete *.py. 2015-01-13 Joel Brobecker * gdb.python/py-lookup-type.exp: New file. 2015-01-12 Pedro Alves * gdb.python/py-prompt.exp: When the board can't spawn for attach, restore GDBFLAGS before returning. 2015-01-12 Jan Kratochvil * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use is_amd64_regs_target and is_x86_like_target. 2015-01-11 Doug Evans * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value is given without an explicit form. * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric attributes. * gdb.dwarf/corrupt.exp: Ditto. * gdb.dwarf2/enum-type.exp: Ditto. * gdb.trace/entry-values.exp: Ditto. * gdb.trace/unavailable-dwarf-piece.exp: Ditto. 2015-01-11 Doug Evans PR gdb/15830 * gdb.base/maint.exp: Remove references to "maint demangle". * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle". Add tests for explicitly specifying language to demangle. * gdb.dlang/demangle.exp: Ditto. 2015-01-09 Pedro Alves * gdb.threads/non-stop-fair-events.c: New file. * gdb.threads/non-stop-fair-events.exp: New file. 2015-01-09 Pedro Alves * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from the global scope. Set a breakpoint after all threads are started rather than stepping over two source lines. Expect the prompt. * gdb.base/watch_thread_num.c (threads_started_barrier): New global. (NUM): Now 15. (main): Use threads_started_barrier to wait for all threads to start. Main thread no longer calls thread_function. Exit after 180 seconds. (loop): New function. (thread_function): Wait on threads_started_barrier barrier. Call 'loop' at each iteration. * gdb.base/watch_thread_num.exp: Continue to breakpoint after all threads have started, instead of hardcoding number of "next" steps. Use an access watchpoint instead of a write watchpoint. 2015-01-09 Pedro Alves * gdb.threads/ia64-sigill.c (threads_started_barrier): New global. (thread_func): Wait on barrier. (main): Wait for all threads to start before stopping GDB. * gdb.threads/siginfo-threads.c (threads_started_barrier): New global. (thread1_func, thread2_func): Wait on barrier. (main): Wait for all threads to start before stopping GDB. * gdb.threads/watchthreads-reorder.c (threads_started_barrier): New global. (thread1_func, thread2_func): Wait on barrier. (main): Wait for all threads to start before stopping GDB. 2015-01-09 Pedro Alves * gdb.threads/attach-many-short-lived-threads.c: New file. * gdb.threads/attach-many-short-lived-threads.exp: New file. 2014-01-09 Pedro Alves * gdb.threads/fork-thread-pending.exp: Switch to the main thread instead of to thread 2. * gdb.threads/signal-command-multiple-signals-pending.c (main): Add barrier around each pthread_create call instead of around all calls. * gdb.threads/signal-command-multiple-signals-pending.exp (test): Set a break on thread_function and have the child threads hit it one at at a time. 2015-01-09 Pedro Alves * lib/gdb.exp (can_spawn_for_attach): New procedure. (spawn_wait_for_attach): Error out if can_spawn_for_attach returns false. * gdb.base/attach.exp: Use can_spawn_for_attach instead of checking whether the target board is remote. * gdb.multi/multi-attach.exp: Likewise. * gdb.python/py-sync-interp.exp: Likewise. * gdb.server/ext-attach.exp: Likewise. * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the tests that need to attach, instead of checking whether the target board is remote at the top of the file. 2015-01-08 Yao Qi * gdb.trace/entry-values.exp: Set call_insn for MIPS target. 2015-01-07 Jan Kratochvil Fix testcase compilation. * gdb.arch/i386-avx512.exp (comp_flags): Remove /common. 2015-01-06 Joel Brobecker * gdb.python/py-type.exp: Add a couple test about empty array creation, and negative-length array creation. 2015-01-02 Doug Evans * gdb.cp/nsalias.exp: Fix output of external/declaration flags. 2015-01-02 Doug Evans * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc. 2014-12-29 Yao Qi * gdb.trace/entry-values.exp: Update comments. Rename variable bar_call_foo to returned_from_foo. 2014-12-20 Mihail-Marian Nistor PR gdb/17394 * gdb.linespec/break-asm-file.c: New file. * gdb.linespec/break-asm-file.exp: New file. * gdb.linespec/break-asm-file0.s: New file. * gdb.linespec/break-asm-file1.s: New file. 2014-12-18 Nigel Stephens Maciej W. Rozycki * gdb.base/float.exp: Handle the new output from "info float" on MIPS targets. 2014-12-17 Jan Kratochvil Fix MinGW compilation. * gdb.compile/compile-ops.exp: Update untested message if !skip_compile_feature_tests. * gdb.compile/compile-setjmp.exp: Likewise. * gdb.compile/compile-tls.exp: Likewise. * gdb.compile/compile.exp: Likewise. * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not supported on this host". 2014-12-16 Doug Evans * boards/stabs.exp: New file. 2014-12-16 Andreas Arnez * gdb.base/completion.exp: Adjust to format changes of "maint print user-registers". 2014-12-16 Catalin Udma PR server/17457 * gdb.arch/aarch64-fp.c: New file. * gdb.arch/aarch64-fp.exp: New file. 2014-12-15 Sergio Durigan Junior Merge dg-extract-results.{sh,py} from GCC upstream (r210243, r210637, r210913, r211666, r215400, r215817). 2014-05-08 Richard Sandiford * dg-extract-results.py: New file. * dg-extract-results.sh: Use it if the environment seems suitable. 2014-05-20 Richard Sandiford * dg-extract-results.py (parse_run): Handle warnings that are printed before a test harness is run. 2014-05-25 Richard Sandiford * dg-extract-results.py (Named): Remove __cmp__ method. (output_variation): Use a key to sort variation.harnesses. 2014-06-14 Richard Sandiford * dg-extract-results.py: For Python 3, force sys.stdout to handle surrogate escape sequences. (safe_open): New function. (output_segment, main): Use it. 2014-09-19 Segher Boessenkool * dg-extract-results.py (Prog.result_re): Include options in test name. 2014-10-02 Segher Boessenkool * dg-extract-results.py (output_variation): Always sort if do_sum. 2014-12-15 Simon Marchi * lib/gdb.exp (default_gdb_start): After starting gdb, loop as long as we get pagination notifications. 2014-12-15 Jason Merrill * Makefile.in (check-gdb.%): Restore. * README: Mention it. 2014-12-13 Joel Brobecker * gdb.ada/str_uninit: New testcase. 2014-12-13 Jan Kratochvil PR symtab/17642 * gdb.base/vla-stub-define.c: New file. * gdb.base/vla-stub.c: New file. * gdb.base/vla-stub.exp: New file. 2014-12-12 Phil Muldoon Jan Kratochvil Tom Tromey * configure.ac: Add gdb.compile/. * configure: Regenerate. * gdb.compile/Makefile.in: New file. * gdb.compile/compile-ops.exp: New file. * gdb.compile/compile-ops.c: New file. * gdb.compile/compile-tls.c: New file. * gdb.compile/compile-tls.exp: New file. * gdb.compile/compile-constvar.S: New file. * gdb.compile/compile-constvar.c: New file. * gdb.compile/compile-mod.c: New file. * gdb.compile/compile-nodebug.c: New file. * gdb.compile/compile-setjmp-mod.c: New file. * gdb.compile/compile-setjmp.c: New file. * gdb.compile/compile-setjmp.exp: New file. * gdb.compile/compile-shlib.c: New file. * gdb.compile/compile.c: New file. * gdb.compile/compile.exp: New file. * lib/gdb.exp (skip_compile_feature_tests): New proc. 2014-12-12 Tom Tromey * lib/dwarf.exp (_location): Ignore blank lines. Allow comments. Handle DW_OP_pick, DW_OP_skip, DW_OP_bra. 2014-12-12 Doug Evans * lib/gdb-python.exp (get_python_valueof): New function. * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile. 2014-12-12 Andreas Arnez * gdb.base/completion.exp: Add test for completion of "info registers ". 2014-12-12 Maciej W. Rozycki * gdb.base/func-ptrs.c: New file. * gdb.base/func-ptrs.exp: New file. 2014-12-10 Simon Marchi PR breakpoints/17012 * gdb.base/dprintf-detach.c: New file. * gdb.base/dprintf-detach.exp: New file. 2014-12-10 Simon Marchi * gdb.trace/qtro.exp: Replace gdbserver detection code by... * lib/gdb.exp (target_is_gdbserver): New procedure. 2014-12-08 Doug Evans * gdb.python/py-objfile.exp: Add tests for objfile.owner. 2014-12-05 Yao Qi * gdb.guile/scm-error.exp: Remove the third argument to gdb_remote_download. * gdb.guile/scm-frame-args.exp: Likewise. * gdb.guile/scm-section-script.exp: Likewise. 2014-12-05 Yao Qi * gdb.arch/i386-bp_permanent.exp: Use standard_testfile. 2014-12-04 Doug Evans * gdb.python/py-objfile.exp: Add tests for objfile.add_separate_debug_file. 2014-12-04 Doug Evans * lib/gdb.exp (get_build_id): New function. (build_id_debug_filename_get): Rewrite to use it. * gdb.python/py-objfile.exp: Add test for objfile.build_id. 2014-12-04 Maciej W. Rozycki * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of `method(long)', not just 0x0. * gdb.cp/nsalias.exp: Align code labels to 4. * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes. * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise. * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise. * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro. (cu_text_start, FUNC_lang_start): Use `START_INSNS'. * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints. 2014-12-02 Doug Evans PR symtab/17602 * gdb.cp/anon-ns.cc: Move guts of this file to ... * gdb.cp/anon-ns2.cc: ... here. New file. * gdb.cp/anon-ns.exp: Update. 2014-12-02 Nick Bull * gdb.python/py-events.py (inferior_call_handler): New. (register_changed_handler, memory_changed_handler): New. (test_events.invoke): Register new handlers. * gdb.python/py-events.exp: Add tests for inferior call, memory_changed and register_changed events. 2014-12-02 Andreas Arnez * gdb.base/execl-update-breakpoints.exp: Specify the link address with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext' if the linker doesn't understand this. 2014-12-01 Simon Marchi * gdb.python/python.exp: Change expected reply to help(). 2014-12-01 Yao Qi * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke AC_CONFIG_SUBDIRS(gdb.gdbtk). * configure: Re-generated. 2014-11-28 Siva Chandra Reddy * gdb.cp/chained-calls.cc: New file. * gdb.cp/chained-calls.exp: New file. * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta". 2014-11-28 Simon Marchi * gdb.ada/py_range.exp: Add parentheses to python calls to print. * gdb.dwarf2/symtab-producer.exp: Same. * gdb.gdb/python-interrupts.exp: Same. * gdb.gdb/python-selftest.exp: Same. * gdb.python/py-linetable.exp: Same. * gdb.python/py-type.exp: Same. * gdb.python/py-value-cc.exp: Same. * gdb.python/py-value.exp: Same. 2014-11-28 Yao Qi * gdb.base/break-probes.exp: Match library name prefixed with sysroot. 2014-11-27 Simon Marchi * gdb.python/py-linetable.exp: Escape properly sorted(fset) test expected output. Add parentheses for the call to print. Remove L suffix from integers. 2014-11-26 Doug Evans * gdb.dwarf2/dw2-op-out-param.S: Fix comment. 2014-11-22 Yao Qi * gdb.trace/entry-values.c: Remove asms. (foo): Add foo_label. (bar): Add bar_label. * gdb.trace/entry-values.exp: Remove code computing foo's length and bar's length. (Dwarf::assemble): Invoke function_range for bar and use MACRO_AT_func for foo. 2014-11-22 Yao Qi * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42. Use .Lgcc43_procstart instead of gcc43. 2014-11-21 Joel Brobecker * gdb.ada/n_arr_bound: New testcase. 2014-11-20 Sergio Durigan Junior PR breakpoints/10737 * gdb.base/catch-syscall.exp (do_syscall_tests): Call test_catch_syscall_multi_arch. (test_catch_syscall_multi_arch): New function. 2014-11-20 Doug Evans * gdb.base/maint.exp: Update expected output. 2014-11-19 Andreas Arnez * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of 4-byte instruction on S390. 2014-11-19 Joel Brobecker * gdb.ada/arr_arr: New testcase. 2014-11-19 Joel Brobecker * gdb.ada/pkd_arr_elem: New Testcase. 2014-11-18 Luis Machado * gdb.reverse/break-precsave: Expect completion message for core file reads. * gdb.reverse/consecutive-precsave.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/i386-precsave.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/solib-precsave.exp: Likewise. * gdb.reverse/step-precsave.exp: Likewise. * gdb.reverse/until-precsave.exp: Likewise. * gdb.reverse/watch-precsave.exp: Likewise. 2014-11-17 Andreas Arnez * gdb.base/bp-permanent.c: Include unistd.h. * gdb.python/py-framefilter-mi.c (main): Add return type. * gdb.python/py-framefilter.c (main): Likewise. * gdb.trace/actions-changed.c (main): Likewise. 2014-11-17 Andreas Arnez * gdb.mi/until.c: Add eye-catchers. * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-17 Andreas Arnez * gdb.base/condbreak.exp: Drop references to removed non-prototype function header variants in break1.c. * gdb.base/ena-dis-br.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.reverse/until-precsave.exp: Drop references to removed non-prototype function header variants in ur1.c. * gdb.reverse/until-reverse.exp: Likewise. 2014-11-17 Petr Machata * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit ${_cu_offset_size} bytes abbrev offset. 2014-11-15 Doug Evans PR symtab/17559 * gdb.base/line-symtabs.exp: New file. * gdb.base/line-symtabs.c: New file. * gdb.base/line-symtabs.h: New file. 2014-11-14 Yao Qi * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm. (func): Add label func_label. * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Replace low_pc and high_pc with MACRO_AT_range. Replace name, low_pc and high_pc with MACRO_AT_func. 2014-11-14 Yao Qi * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble): Replace name, low_pc and high_pc with MACRO_AT_func. 2014-11-14 Yao Qi * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to produce debug information. * gdb.dwarf2/implptr-optimized-out.S: Removed. 2014-11-14 Yao Qi * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to object and get function length. (Dwarf::assemble): Replace name, low_pc and high_pc attributes with MACRO_AT_func. (top-level): Replace gdb_compile and clean_restart with prepare_for_testing. * gdb.dwarf2/main.c (main): Add label main_label. 2014-11-14 Yao Qi * lib/dwarf.exp (function_range): New procedure. (Dwarf::_handle_macro_at_func): New procedure. (Dwarf::_handle_macro_at_range): New procedure. (Dwarf): Handle MACRO_AT_func and MACRO_AT_range. 2014-11-14 Yao Qi * lib/dwarf.exp (_handle_DW_TAG): Move some code to ... (_handle_attribute): New procedure. 2014-11-13 Andreas Arnez * gdb.ada/cond_lang/foo.c (callme): Add return type. * gdb.base/call-sc.c (zed): Likewise. * gdb.base/checkpoint.c (main): Likewise. * gdb.base/dump.c (main): Likewise. * gdb.base/gcore.c (main): Likewise. * gdb.base/huge.c (main): Likewise. * gdb.base/multi-forks.c (main): Likewise. * gdb.base/pr10179-a.c (main): Likewise. * gdb.base/savedregs.c (main): Likewise. * gdb.base/sigaltstack.c (main): Likewise. * gdb.base/siginfo.c (main): Likewise. * gdb.base/structs.c (zed): Likewise. * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise. * gdb.mi/mi-syn-frame.c (main): Likewise. * gdb.mi/until.c (foo, main): Likewise. * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare. * gdb.base/solib-weak.c (foo): Declare. * gdb.base/attach-twice.c: Include stdio.h. * gdb.base/weaklib1.c: Likewise. * gdb.base/weaklib2.c: Likewise. * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h. * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and unistd.h. * gdb.base/attach-pie-misread.c: Include stdlib.h. * gdb.mi/mi-exit-code.c: Likewise. * gdb.base/break-interp-lib.c: Include string.h. * gdb.base/coremaker.c: Likewise. * gdb.base/testenv.c: Likewise. * gdb.python/py-finish-breakpoint.c: Likewise. * gdb.base/inferior-died.c: Include sys/wait.h. * gdb.base/fileio.c: Include time.h. * gdb.base/async-shell.c: Include unistd.h. * gdb.base/dprintf-non-stop.c: Likewise. * gdb.base/info-os.c: Likewise. * gdb.mi/mi-console.c: Likewise. * gdb.mi/watch-nonstop.c: Likewise. * gdb.python/py-events.c: Likewise. * gdb.base/async.c (baz): Move up before its invocation. * gdb.base/code_elim2.c (my_global_func): Likewise. * gdb.base/skip-solib-lib.c (multiply): Likewise. * gdb.base/advance.c (func2): Likewise. 2014-11-13 Andreas Arnez * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped variant. * gdb.base/annota3.c: Likewise. * gdb.base/async.c: Likewise. * gdb.base/average.c: Likewise. * gdb.base/call-ar-st.c: Likewise. * gdb.base/call-rt-st.c: Likewise. * gdb.base/call-sc.c: Likewise. * gdb.base/call-strs.c: Likewise. * gdb.base/ending-run.c: Likewise. * gdb.base/execd-prog.c: Likewise. * gdb.base/exprs.c: Likewise. * gdb.base/foll-exec.c: Likewise. * gdb.base/foll-fork.c: Likewise. * gdb.base/foll-vfork.c: Likewise. * gdb.base/funcargs.c: Likewise. * gdb.base/gcore.c: Likewise. * gdb.base/jump.c: Likewise. * gdb.base/langs0.c: Likewise. * gdb.base/langs1.c: Likewise. * gdb.base/langs2.c: Likewise. * gdb.base/mips_pro.c: Likewise. * gdb.base/nodebug.c: Likewise. * gdb.base/opaque0.c: Likewise. * gdb.base/opaque1.c: Likewise. * gdb.base/recurse.c: Likewise. * gdb.base/run.c: Likewise. * gdb.base/scope0.c: Likewise. * gdb.base/scope1.c: Likewise. * gdb.base/setshow.c: Likewise. * gdb.base/setvar.c: Likewise. * gdb.base/shmain.c: Likewise. * gdb.base/shr1.c: Likewise. * gdb.base/shr2.c: Likewise. * gdb.base/sigall.c: Likewise. * gdb.base/signals.c: Likewise. * gdb.base/so-indr-cl.c: Likewise. * gdb.base/solib2.c: Likewise. * gdb.base/structs.c: Likewise. * gdb.base/sum.c: Likewise. * gdb.base/vforked-prog.c: Likewise. * gdb.base/watchpoint.c: Likewise. * gdb.reverse/shr2.c: Likewise. * gdb.reverse/until-reverse.c: Likewise. * gdb.reverse/ur1.c: Likewise. * gdb.reverse/watch-reverse.c: Likewise. 2014-11-13 Andreas Arnez * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped variant. * gdb.base/sepdebug.exp: Drop references to removed code. 2014-11-13 Andreas Arnez * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped variant. Preserve original line numbering. * gdb.base/list1.c: Likewise. 2014-11-13 Andreas Arnez * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped variant. * gdb.base/break1.c: Likewise. * gdb.base/break.exp: Drop references to removed code. 2014-11-13 Andreas Arnez * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped variant. 2014-11-13 Andreas Arnez * gdb.base/callfuncs.exp (perform_all_tests): Re-indent. 2014-11-13 Andreas Arnez * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main logic into perform_all_tests() and invoke it with and without function header prototypes. (do_function_calls): Remove conditional XFAIL for PR 5318. (rerun_and_prepare): Remove duplicate code. (perform_all_tests): New. Main logic moved here. 2014-11-13 Andreas Arnez * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in code guarded by #ifdef NO_PROTOTYPES. (t_double_many_args): Likewise. (DEF_FUNC_MANY_ARGS_1): Likewise. (DEF_FUNC_VALUES_1): Likewise. (t_structs_ldc): Renamed from t_structs_fc in conditional code guarded by #ifdef PROTOTYPES. 2014-11-13 Andreas Arnez * gdb.mi/mi-console.c: Add eye-catcher. * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher instead of literal line number. 2014-11-13 Andreas Arnez * gdb.base/shr2.c: Add eye-catcher. * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal line number. 2014-11-13 Andreas Arnez * gdb.base/jump.c: Add eye-catchers. * gdb.base/jump.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-13 Andreas Arnez * gdb.base/execd-prog.c: Add eye-catchers. * gdb.base/foll-exec.c: Likewise. * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-13 Andreas Arnez * gdb.base/ending-run.c: Add eye-catchers. * gdb.base/ending-run.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-13 Andreas Arnez * gdb.base/call-rt-st.c: Add eye-catchers. * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-13 Andreas Arnez * gdb.base/call-ar-st.c: Add eye-catchers. * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of literal line numbers. 2014-11-13 Andreas Arnez * gdb.base/average.c: Add eye-catchers. * gdb.base/sum.c: Likewise. * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for regexps dynamically. 2014-11-13 Andreas Arnez * gdb.base/solib1.c: Add eye-catchers. * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of literal line numbers. 2014-11-12 Pedro Alves * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the leader has exited. 2014-11-12 Pedro Alves * gdb.arch/i386-bp_permanent.c: New file. * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64. (srcfile): Set to i386-bp_permanent.c. (top level): Adjust to work in both 32-bit and 64-bit modes. Test that stepi does not execute the 'leave' instruction, instead of testing it does execute. * gdb.base/bp-permanent.c: New file. * gdb.base/bp-permanent.exp: New file. 2014-11-10 Doug Evans PR symtab/17564 * gdb.base/symtab-search-order.exp: New file. * gdb.base/symtab-search-order.c: New file. * gdb.base/symtab-search-order-1.c: New file. * gdb.base/symtab-search-order-shlib-1.c: New file. 2014-11-07 Pedro Alves PR gdb/17511 * gdb.base/sigstep.exp (in_handler_map) : xfail i?86-*-linux*. 2014-11-03 Siva Chandra Reddy PR c++/17494 * gdb.cp/pr17494.cc: New file. * gdb.cp/pr17494.exp: New file. 2014-11-02 Yao Qi * gdb.python/python.exp: Get working directory and match the output of "set extended-prompt \\w " with it. 2014-10-30 Doug Evans * gdb.python/py-objfile.exp: Add tests for setting random attributes in objfiles. * gdb.python/py-progspace.exp: Add tests for setting random attributes in progspaces. 2014-10-30 Janis Johnson * gdb.base/fullpath-expand.exp: Skip for a remote host. * gdb.base/realname-expand.exp: Likewise. * gdb.linespec/macro-relative.exp: Likewise. 2014-10-29 Pedro Alves PR gdb/17408 * gdb.threads/schedlock.c (some_function): New function. (call_function): New global. (MAYBE_CALL_SOME_FUNCTION): New macro. (thread_function): Call it. * gdb.threads/schedlock.exp (get_args): Add description parameter, and use it instead of a global counter. Adjust all callers. (get_current_thread): Use "find current thread" for test message here rather than having all callers pass down the same string. (goto_loop): New procedure, factored out from ... (my_continue): ... this. (step_ten_loops): Change parameter from test message to command to use. Adjust. (list_count): Delete global. (check_result): New procedure, factored out from duplicate top level code. (continue tests): Wrap in with_test_prefix. (test_step): New procedure, factored out from duplicate top level code. (top level): Test "step" in combination with all scheduler-locking modes. Test "next" in combination with all scheduler-locking modes, and in combination with stepping over a function call or not. * gdb.threads/next-bp-other-thread.c: New file. * gdb.threads/next-bp-other-thread.exp: New file. 2014-10-29 Pedro Alves PR python/17372 * gdb.python/python.exp: Test a multi-line command that spawns interactive Python. * gdb.base/multi-line-starts-subshell.exp: New file. 2014-10-29 Yao Qi * gdb.base/fileio.exp: Make directories on host. 2014-10-29 Yao Qi * gdb.base/fileio.c (test_write): Close the file. 2014-10-28 Pedro Alves PR gdb/12623 * gdb.base/sigstep.c (no_handler): New global. (main): If 'no_handler is true, set the signal handlers to SIG_IGN. * gdb.base/sigstep.exp (breakpoint_over_handler): Add with_sw_watch and no_handler parameters. Handle them. (top level) : Add a test axis for testing with a software watchpoint, and another for testing with the signal handler set to SIG_IGN. * gdb.base/step-sw-breakpoint-adjust-pc.c: New file. * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file. 2014-10-28 Pedro Alves PR gdb/17511 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'. * gdb.base/sigstep.exp (other_handler_location): New global. (advance): Support stepping into the signal handler, and running commands while in the handler. (in_handler_map): New global. (top level): In the advance test, add combinations for getting into the handler with stepping commands, and for running commands in the handler. Add comment descripting the advancei tests. 2014-10-28 Pedro Alves * gdb.base/sigstep.exp: Use build_executable instead of prepare_for_testing. (top level): Move code that starts GDB, runs to main and creates a display to ... (restart): ... this new procedure. (top level): Move backtrace from signal handler test to ... (validate_backtrace): ... this new procedure. (advance, advancei): Rename parameter from 'i' to 'cmd'. Use with_test_prefix. Always restart GDB. (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use with_test_prefix. Always restart GDB. No need to delete breakpoints after the test. (test_skip_handler): Remove prefix parameter. (skip_over_handler, breakpoint_to_handler) (breakpoint_to_handler_entry, breakpoint_over_handler): Rename parameter from 'i' to 'cmd'. Use with_test_prefix. Always restart GDB. No need to delete breakpoints after the test. (top level): Use foreach to call the test procedures with different commands. 2014-10-28 Pedro Alves * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers instead of GNATS numbers. * gdb.base/sigbpt.exp: Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp: Likewise. 2014-10-27 Pedro Alves * gdb.base/sigstep.c (dummy): New global. (main): Issue a couple writes to the new global. * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New procedures. (skip_over_handler): Use test_skip_handler. (top level): Call skip_over_handler for stepi and nexti too. (breakpoint_over_handler): Use test_skip_handler. (top level): Call breakpoint_over_handler for stepi and nexti too. 2014-10-27 Yao Qi * gdb.trace/tfile.c (adjust_function_address) [__powerpc64__ && _CALL_ELF != 2]: Get function address from function descriptor. 2014-10-24 Don Breazeal * gdb.base/foll-fork.exp (test_follow_fork, catch_fork_child_follow): Check for updated fork messages emitted from infrun.c. * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step, vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp, vfork_and_exec_child_follow_through_step): Check for updated vfork messages emitted from infrun.c. 2014-10-24 Pedro Alves * gdb.base/corefile.exp: Remove references to ultrix. * gdb.base/interrupt.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.threads/manythreads.exp: Likewise. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/pthreads.exp:: Likewise. * gdb.threads/schedlock.exp: Likewise. 2014-10-24 Siva Chandra Reddy * gdb.cp/non-trivial-retval.cc: Add a test case. * gdb.cp/non-trivial-retval.exp: Add a test. 2014-10-20 Yao Qi * gdb.python/py-objfile-script-gdb.py.in: Rename it to ... * gdb.python/py-objfile-script-gdb.py: New file. * gdb.python/py-objfile-script.exp: Update reference to py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead of remote_download. Remove the dest file. 2014-10-20 Yao Qi * gdb.base/checkpoint.exp: Don't remove file copied on host. * gdb.base/step-line.exp: Likewise. * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. * gdb.dwarf2/dw2-basic.exp: Likewise. * gdb.dwarf2/dw2-compressed.exp: Likewise. * gdb.dwarf2/dw2-filename.exp: Likewise. * gdb.dwarf2/dw2-intercu.exp: Likewise. * gdb.dwarf2/dw2-intermix.exp: Likewise. * gdb.dwarf2/dw2-producer.exp: Likewise. * gdb.dwarf2/mac-fileno.exp: Likewise. * gdb.python/py-frame-args.exp: Likewise. * gdb.python/py-framefilter.exp: Likewise. * gdb.python/py-mi.exp: Likewise. * gdb.python/py-objfile-script.exp: Likewise * gdb.python/py-pp-integral.exp: Likewise. * gdb.python/py-pp-re-notag.exp: Likewise. * gdb.python/py-prettyprint.exp: Likewise. * gdb.python/py-section-script.exp: Likewise. * gdb.python/py-typeprint.exp: Likewise. * gdb.python/py-xmethods.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * gdb.xml/tdesc-regs.exp: Likewise. 2014-10-18 Kwok Cheung Yeung * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New. (out_cu): Use addr_len for the size of addresses. (out_line): Likewise. Size DW_LNE_set_address instruction according to addr_len. * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New. (FUNC): Add START_INSNS to definition. 2014-10-18 Yao Qi * gdb.base/argv0-symlink.exp: Check argv[0] value if gdb_has_argv0 return true. * gdb.guile/scm-value.exp (test_value_in_inferior): Don't check [target_info exists noargs], check [gdb_has_argv0] instead. * gdb.python/py-value.exp (test_value_in_inferior): Likewise. * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New procedures. 2014-10-17 Doug Evans * gdb.python/py-events.exp: Update expected output for clear_objfiles event. * gdb.python/py-events.py: Add clear_objfiles event. 2014-10-17 Doug Evans * gdb.python/py-objfile.exp: Test progspace attribute. 2014-10-17 Luis Machado * gdb.guile/scm-breakpoint.exp: Do not assume any directory separators when matching source file paths. * gdb.python/py-breakpoint.exp: Likewise. * gdb.reverse/break-precsave.exp: Likewise. * gdb.reverse/break-reverse.exp: Likewise. * gdb.reverse/consecutive-precsave.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/finish-reverse-bkpt.exp: Likewise. * gdb.reverse/finish-reverse.exp: Likewise. * gdb.reverse/i386-precsave.exp: Likewise. * gdb.reverse/i387-env-reverse.exp: Likewise. * gdb.reverse/i387-stack-reverse.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/machinestate.exp: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/solib-precsave.exp: Likewise. * gdb.reverse/step-precsave.exp: Likewise. * gdb.reverse/until-precsave.exp: Likewise. * gdb.reverse/watch-precsave.exp: Likewise. * gdb.reverse/watch-reverse.exp: Likewise. 2014-10-17 Yao Qi * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host. * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host. 2014-10-17 Pedro Alves PR gdb/17471 * gdb.base/bg-execution-repeat.c: New file. * gdb.base/bg-execution-repeat.exp: New file. 2014-10-17 Pedro Alves PR gdb/17300 * gdb.base/continue-all-already-running.c: New file. * gdb.base/continue-all-already-running.exp: New file. 2014-10-17 Pedro Alves PR gdb/17472 * gdb.base/annota-input-while-running.c: New file. * gdb.base/annota-input-while-running.exp: New file. 2014-10-17 Pedro Alves * gdb.base/callfuncs.exp: emove references to osf. * gdb.base/sigall.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. * gdb.mi/non-stop.c: Likewise. * gdb.mi/pthreads.c: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.threads/pthreads.c: Likewise. * gdb.threads/pthreads.exp: Likewise. 2014-10-17 Yao Qi * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't check 'target_info exists noargs'. (test_command_prompt_position): Likewise. (progvar_simple_if_test): Don't check 'target_info exists noargs'. Remove "set args". (progvar_simple_while_test): Likewise. (progvar_complex_if_while_test): Likewise. (if_while_breakpoint_command_test): Likewise. (infrun_breakpoint_command_test): Likewise. (breakpoint_command_test): Likewise. (watchpoint_command_test): Likewise. (bp_deleted_in_command_test): Likewise. (temporary_breakpoint_commands): Likewise. 2014-10-16 Yao Qi * gdb.base/remotetimeout.exp: Remove noargs checking. 2014-10-15 Pedro Alves PR breakpoints/9649 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions. * gdb.base/breakpoint-in-ro-region.exp (probe_target_hardware_step): New procedure. (top level): Probe hardware stepping and hardware breakpoint support. Test stepping through a read-only region, with both "breakpoint auto-hw" on and off and both "always-inserted" on and off. 2014-10-15 Iain Buclaw * gdb.dlang/demangle.exp: Update for demangling changes. 2014-10-15 Siva Chandra Reddy * gdb.cp/non-trivial-retval.cc: Add new test cases. * gdb.cp/non-trivial-retval.exp: Add new tests. 2014-10-15 Siva Chandra Reddy PR c++/13403 PR c++/15154 * gdb.cp/non-trivial-retval.cc: New file. * gdb.cp/non-trivial-retval.exp: New file. 2014-10-15 Yao Qi * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on remote host. 2014-10-15 Yao Qi * gdb.python/py-symbol.exp: Match file base name if host is remote, otherwise match file name with dir name. * gdb.python/py-symtab.exp: Likewise. * gdb.python/python.exp: Likewise. 2014-10-15 Yao Qi * gdb.python/py-symbol.exp: Remove trailing ".*" in the pattern. * gdb.python/py-symtab.exp: Likewise. * gdb.python/python.exp: Remove trailing ".*". Fix typo locationn. 2014-10-14 Joel Brobecker * gdb.ada/addr_arith: New testcase. 2014-10-14 Maciej W. Rozycki * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers. * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly. * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers. * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly. 2014-10-14 Sergio Durigan Junior * gdb.arch/stap-eval-lang-ada.S: Likewise. * gdb.arch/stap-eval-lang-ada.c: Likewise. * gdb.arch/stap-eval-lang-ada.exp: New file. 2014-10-14 Yao Qi * gdb.mi/mi-var-child.c (nothing1): New function. (nothing2): New function. (do_children_tests): Set function pointers by nothing1 and nothing2. * gdb.mi/mi-var-child.exp: Step over new added statements. Update test to match the new output. * gdb.mi/var-cmd.c (nothing1): New function. (nothing2): New function. (do_children_tests): Set function pointers by nothing1 and nothing2. * gdb.mi/mi-var-display.exp: Update test to match output. Step to the line specified by $line_dct_nothing. Increase the number of lines to step. 2014-10-14 Yao Qi * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify tests. * gdb.mi/mi2-var-child.exp: Likewise. 2014-10-13 Doug Evans * gdb.python/py-objfile.exp: Change name of file name test. 2014-10-13 Doug Evans * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset from the start of the CU. 2014-10-13 Jan Kratochvil Yao Qi Fix "save breakpoints" for "catch" command. * gdb.base/catch-signal.exp: Add gdb_breakpoint "main". Remove -nonewline. Match also the added "main" line. 2014-10-12 Jan Kratochvil Fix "save breakpoints" for "disable $bpnum" command. * gdb.base/save-bp.c (main): Add label. * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it. 2014-10-12 Jan Kratochvil * gdb.base/save-bp.exp (info break): Use gdb_test_sequence. 2014-10-11 Yao Qi * gdb.server/server-kill.exp: Execute command "set remote trace-status-packet on" before "tstatus". 2014-10-11 Yao Qi * gdb.server/server-kill.c: Include sys/types.h and unistd.h. (main): Call getppid. * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;" and continue to it. Read variable "server_pid". 2014-10-11 Yao Qi * gdb.server/server-kill.exp: Remove "delete_breakpoints". 2014-10-11 Yao Qi * gdb.threads/thread-find.exp: Don't execute command "info threads". * gdb.threads/attach-into-signal.exp (corefunc): Likewise. * gdb.threads/linux-dp.exp: Don't check the condition $threads_created equals to zero. 2014-10-10 Pedro Alves * gdb.base/bigcore.exp: Remove references to IRIX. * gdb.base/funcargs.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/mips_pro.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/setvar.exp: Likewise. * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case. 2014-10-10 Jan Kratochvil Pedro Alves PR symtab/14466 * gdb.base/vdso-warning.c: New file. * gdb.base/vdso-warning.exp: New file. 2014-10-02 Doug Evans * gdb.base/structs.c (main): Don't run forever. 2014-10-02 Pedro Alves * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure. (top level) : Use it. 2014-10-02 Pedro Alves * gdb.threads/break-while-running.exp (test): Add new 'update_thread_list' argument. Skip "info threads" if false. (top level): Add new 'update_thread_list' axis. 2014-10-02 Pedro Alves PR breakpoints/17431 * gdb.base/execl-update-breakpoints.c: New file. * gdb.base/execl-update-breakpoints.exp: New file. 2014-10-01 Pedro Alves * gdb.base/breakpoint-in-ro-region.c: New file. * gdb.base/breakpoint-in-ro-region.exp: New file. 2014-10-01 Simon Marchi * gdb.mi/mi-exit-code.exp: New file. * gdb.mi/mi-exit-code.c: New file. 2014-09-30 Yao Qi * lib/prelink-support.exp (build_executable_own_libs): Error if the target isn't native. 2014-09-30 Yao Qi * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is false. 2014-09-22 Pedro Alves * gdb.threads/break-while-running.exp: New file. * gdb.threads/break-while-running.c: New file. 2014-09-19 Yao Qi * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test. Invoke test. Restart GDB with --readnow and invoke test again. 2014-09-19 Yao Qi * gdb.base/break-on-linker-gcd-function.exp: Move test into new proc set_breakpoint_on_gcd_function. Invoke set_breakpoint_on_gcd_function. Restart GDB with --readnow and invoke set_breakpoint_on_gcd_function again. 2014-09-18 Doug Evans * gdb.dwarf2/symtab-producer.exp: New file. 2014-09-16 Sergio Durigan Junior * gdb.base/global-var-nested-by-dso-solib1.c: New file. * gdb.base/global-var-nested-by-dso-solib2.c: Likewise. * gdb.base/global-var-nested-by-dso.c: Likewise. * gdb.base/global-var-nested-by-dso.exp: Likewise. 2014-09-16 Sergio Durigan Junior Pedro Alves * gdb.base/watch-bitfields.exp: Pass string other than test file name to prepare_for_testing. (watch): New procedure. (expect_watchpoint): Use with_test_prefix. (top level): Factor out tests to ... (test_watch_location, test_regular_watch): ... these new procedures, and use with_test_prefix and gdb_continue_to_end. 2014-09-16 Patrick Palka PR breakpoints/12526 * gdb.base/watch-bitfields.exp: New file. * gdb.base/watch-bitfields.c: New file. 2014-09-16 Pedro Alves * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare software and hardware addresses, not software address against itself. 2014-09-16 Pedro Alves * gdb.base/watchpoint-stops-at-right-insn.c: New file. * gdb.base/watchpoint-stops-at-right-insn.exp: New file. 2014-09-16 Pedro Alves * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete files. * gdb.base/a2-run.exp: Remove all code guarded by istarget "*-*-vxworks*" throughout. * gdb.base/break.exp: Likewise. * gdb.base/default.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/break.c: Remove all code guarded by #ifdef vxworks throughout. * gdb.base/run.c: Likewise. * gdb.base/sepdebug.c: Likewise. * gdb.hp/gdb.aCC/run.c: Likewise. * gdb.reverse/until-reverse.c: Likewise. * lib/gdb.exp (gdb_compile): Remove is_vxworks branch. 2014-09-16 Yao Qi * boards/local-remote-host-native.exp: New file. 2014-09-14 Doug Evans * gdb.threads/queue-signal.c (thread_count): New variable. (thread_count_mutex, thread_count_condvar): New variables. (incr_thread_count, wait_all_threads_running): New functions. (main): Wait for all threads to be in their thread functions. 2014-09-13 Doug Evans * gdb.threads/queue-signal.c: New file. * gdb.threads/queue-signal.exp: New file. 2014-09-13 Doug Evans * lib/gdb.exp (gdb_prompt): Add comment and change initial value to be consistent with what default_gdb_init uses. (with_gdb_prompt): Change form of PROMPT argument from a regexp to the plain text of the prompt. Add some logging printfs. * gdb.perf/disassemble.exp: Update call to with_gdb_prompt. 2014-09-12 Pedro Alves * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after gdb_run_cmd with gdb_test_multiple or gdb_test throughout. * gdb.arch/i386-size-overlap.exp: Likewise. * gdb.arch/i386-size.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise. * gdb.base/a2-run.exp: Likewise. * gdb.base/break.exp: Likewise. * gdb.base/charset.exp: Likewise. * gdb.base/chng-syms.exp: Likewise. * gdb.base/commands.exp: Likewise. * gdb.base/dbx.exp: Likewise. * gdb.base/find.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/jit-simple.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/step-bt.exp: Likewise. * gdb.cp/mb-inline.exp: Likewise. * gdb.cp/mb-templates.exp: Likewise. * gdb.objc/basicclass.exp: Likewise. * gdb.threads/killed.exp: Likewise. 2014-09-12 Edjunior Barbosa Machado PR tdep/17379 * gdb.arch/powerpc-stackless.S: New file. * gdb.arch/powerpc-stackless.exp: New file. 2014-09-12 Jan Kratochvil * gdb.base/attach.c: Include unistd.h. (main): Call alarm. Add label postloop. * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number, gdb_breakpoint, gdb_continue_to_breakpoint. (test_command_line_attach_run): Kill ${testpid} in one exit path. 2014-09-11 Pedro Alves PR gdb/17347 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure. * gdb.base/attach.exp (test_command_line_attach_run): New procedure. (top level): Call it. 2014-09-11 Pedro Alves * lib/gdb.exp (spawn_wait_for_attach): New procedure. * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests) (do_command_attach_tests): Use spawn_wait_for_attach. * gdb.base/solib-overlap.exp: Likewise. * gdb.multi/multi-attach.exp: Likewise. * gdb.python/py-prompt.exp: Likewise. * gdb.python/py-sync-interp.exp: Likewise. * gdb.server/ext-attach.exp: Likewise. 2014-09-11 Gabriel Krisman Bertazi * gdb.fortran/array-element.exp: Remove unexpected "continue" command in testcase. Simplify testcase. 2014-09-10 Joel Brobecker * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests. 2014-09-10 Joel Brobecker * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests. 2014-09-10 Joel Brobecker * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests. 2014-09-10 Joel Brobecker * gdb.dwarf2/dynarr-ptr.c: New file. * gdb.dwarf2/dynarr-ptr.exp: New file. 2014-09-09 Maciej W. Rozycki * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor of 30 rather than hardcoding 120 for a slow test case. Take the `gdb,timeout' target setting into account for this calculation. Don't extend the timeout for the test cases that don't need it. 2014-09-09 Maciej W. Rozycki * gdb.reverse/sigall-reverse.exp: Increase the timeout by a factor of 2 for a slow test case. Take the `gdb,timeout' target setting into account for this calculation. * gdb.reverse/until-precsave.exp: Increase the timeout by a factor of 15 and 3 respectively rather than adding 120 for a pair of slow test cases. Take the `gdb,timeout' target setting into account for this calculation. 2014-09-09 Maciej W. Rozycki * lib/gdb.exp (gdb_test_multiple): Remove code to select the timeout, don't pass one down to gdb_expect. (gdb_expect): Rework timeout selection. 2014-09-09 Maciej W. Rozycki * lib/gdbserver-support.exp (gdbserver_start): Throw an error exception on timeout. (gdbserver_run): Catch any `gdbserver_spawn' error exceptions. (gdbserver_start_extended): Catch any `gdbserver_start' error exceptions. (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise. * lib/mi-support.exp (mi_gdb_target_load): Catch any `gdbserver_gdb_load' error exceptions. 2014-09-09 Maciej W. Rozycki * lib/gdbserver-support.exp (gdbserver_start): Set timeout to 120 on waiting for the TCP socket to open. 2014-09-09 Doug Evans * gdb.base/default.exp (show_conv_list): Add _caller_is, _caller_matches, _any_caller_is, _any_caller_matches. 2014-09-09 Doug Evans * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output. 2014-09-09 Yao Qi * gdb.mi/mi-var-display.exp: Set print symbol off. 2014-09-07 Gabriel Krisman Bertazi PR gdb/17035 * gdb.base/commands.exp: Add tests to verify user-defined commands with empty bodies. * gdb.python/py-cmd.exp: Test that we don't show user-defined python commands in `show user command`. * gdb.python/scm-cmd.exp: Test that we don't show user-defined scheme commands in `show user command`. 2014-09-07 Jan Kratochvil PR python/17355 * gdb.python/amd64-py-framefilter-invalidarg.S: New file. * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file. * gdb.python/py-framefilter-invalidarg.exp: New file. * gdb.python/py-framefilter-invalidarg.py: New file. 2014-09-06 Doug Evans PR 15276 * gdb.python/py-caller-is.c: New file. * gdb.python/py-caller-is.exp: New file. 2014-09-05 Sergio Durigan Junior PR gdb/17235 * gdb.arch/amd64-stap-wrong-subexp.exp: New file. * gdb.arch/amd64-stap-wrong-subexp.S: Likewise. 2014-09-04 Sergio Durigan Junior PR fortran/17237 * gdb.fortran/print-formatted.exp: New file. * gdb.fortran/print-formatted.f90: Likewise. 2014-09-03 Sasha Smundak * gdb.python/py-frame.exp: Test Frame.read_register. 2014-09-03 Sergio Durigan Junior PR python/16699 * gdb.python/py-completion.exp: New file. * gdb.python/py-completion.py: Likewise. 2014-08-28 Doug Evans * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when eax,etc. are live with values set by gdb and thus the compiler can't use them. * gdb.arch/i386-pseudo.c (main): Ditto. 2014-08-27 Doug Evans * lib/gdb.exp (gdb_compile_shlib): Add support for clang. 2014-08-25 Doug Evans * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type. (main): Ditto. 2014-08-25 Doug Evans * gdb.threads/thread-execl.exp: #include . 2014-08-24 Yao Qi * gdb.guile/scm-value.exp (test_lazy_strings): Set print symbol off. * gdb.python/py-value.exp (test_lazy_strings): Likewise. 2014-08-22 Doug Evans PR 17276 * gdb.dwarf2/dw2-single-line-discriminators.S: New file. * gdb.dwarf2/dw2-single-line-discriminators.c: New file. * gdb.dwarf2/dw2-single-line-discriminators.exp: New file. 2014-08-22 Yao Qi * gdb.python/py-finish-breakpoint.exp: Copy .py file to host. * gdb.python/py-finish-breakpoint2.exp: Likewise. * gdb.python/python.exp: Likewise. Use .py file on the host instead of the build. 2014-08-21 Jan Kratochvil * gdb.threads/gcore-stale-thread.c: New file. * gdb.threads/gcore-stale-thread.exp: New file. 2014-08-21 Pedro Alves * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test. * gdb.base/gcore-relro-pie.exp: Likewise. * gdb.base/gcore-relro.exp: Likewise. * gdb.base/gcore.exp: Likewise. * gdb.base/print-symbol-loading.exp: Likewise. * gdb.threads/gcore-thread.exp: Likewise. * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command". 2014-08-20 Pedro Alves Jan Kratochvil * Makefile.in (EXTRA_RULES, CC): New variables, get from configure. (EXPECT): Handle READ1 being set. (all): Depend on EXTRA_RULES. (check-read1, expect-read1, read1.so, read1): New rules. * README (Testsuite Parameters): Document the READ1 make variable. (Race detection): New section. * configure: Regenerate. * configure.ac: If build==host==target, and running under a GNU/glibc system, add read1 to the extra Makefile rules. (EXTRA_RULES): AC_SUBST it. * lib/read1.c: New file. 2014-08-20 Joel Brobecker * gdb.dwarf2/data-loc.exp: Add additional tests exercising the handling of variables declared as a typedef to an array which a DW_AT_data_location attribute. 2014-08-19 Andrew Burgess Pedro Alves PR symtab/14604 PR symtab/14605 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use gdb_test. 2014-08-19 Pedro Alves * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. 2014-08-19 Yao Qi * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the right line. 2014-08-18 David Blaikie * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. 2014-08-18 Joel Brobecker * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound attribute in array range. 2014-08-18 Joel Brobecker * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files. 2014-08-15 Siva Chandra Reddy PR c++/17132 * gdb.cp/pr17132.cc: New file. * gdb.cp/pr17132.exp: New file. 2014-08-15 Siva Chandra Reddy * gdb.python/py-xmethods.py (A_getarrayind) (E_method_char_worker.__call__, E_method_int_worker.__call__): Use 'print' with function call syntax. (E_method_matcher.match): Fix tab vs space indentation mixup. 2014-08-15 Yao Qi * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns false. 2014-08-15 Yao Qi * gdb.cp/casts.exp: Set print symbol off. * gdb.cp/class2.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/templates.exp: Likewise. 2014-08-11 Doug Evans * gdb.base/print-symbol-loading.exp (test_load_core): Update. (test_load_shlib): Update. 2014-08-09 Yao Qi * gdb.base/display.exp: Invoke is_address_zero_readable. * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise. * gdb.python/py-value.exp (test_value_in_inferior): Likewise. * gdb.base/hbreak-unmapped.exp: Return if is_address_zero_readable returns true. * gdb.base/signest.exp: Likewise. * gdb.base/signull.exp: Likewise. * gdb.base/sigbpt.exp: Likewise. * gdb.guile/scm-disasm.exp: Do the test if is_address_zero_readable returns false. * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise. * gdb.python/py-arch.exp: Likewise. * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise. * lib/gdb.exp (is_address_zero_readable): New proc. 2014-08-09 Yao Qi PR testsuite/13443 * gdb.mi/mi-var-display.exp: Make test messages unique. 2014-08-04 Tom Tromey * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug target 0". 2014-08-04 Tom Tromey * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not "target_resume". 2014-08-01 Joel Brobecker * gdb.base/vla-datatypes.c (vla_factory): Add new variable inner_vla_struct_object_size. * gdb.base/vla-datatypes.exp: Adjust last test, and mark it as xfail. 2014-07-30 Pedro Alves * gdb.threads/signal-command-handle-nopass.exp (test): Add comment. 2014-07-29 Yao Qi PR gdb/17206 * gdb.base/until-nodebug.exp: New. 2014-07-28 Doug Evans PR guile/17203 * gdb.guile/scm-parameter.exp: Add tests for trying to create previously existing parameter, and previously ambiguously spelled parameter. 2014-07-28 Will Newton * gdb.base/varargs.exp: Remove KFAILs for ARM. 2014-07-26 Ludovic Courtès Doug Evans PR guile/17146 * gdb.guile/types-module.exp: Add tests for wrong type arguments. 2014-07-25 Pedro Alves * gdb.threads/signal-command-handle-nopass.c: New file. * gdb.threads/signal-command-handle-nopass.exp: New file. * gdb.threads/signal-command-multiple-signals-pending.c: New file. * gdb.threads/signal-command-multiple-signals-pending.exp: New file. * gdb.threads/signal-delivered-right-thread.c: New file. * gdb.threads/signal-delivered-right-thread.exp: New file. 2014-07-25 Pedro Alves * gdb.base/double-prompt-target-event-error.exp (cancel_pagination_in_target_event): Remove '-notransfer ' match. (cancel_pagination_in_target_event): Rework double prompt detection. * gdb.base/paginate-after-ctrl-c-running.exp (test_ctrlc_while_target_running_paginates): Remove '-notransfer ' match. * gdb.base/paginate-bg-execution.exp (test_bg_execution_pagination_return) (test_bg_execution_pagination_cancel): Remove '-notransfer ' matches. * gdb.base/paginate-execution-startup.exp (test_fg_execution_pagination_return) (test_fg_execution_pagination_cancel): Remove '-notransfer ' matches. * gdb.base/paginate-inferior-exit.exp (test_paginate_inferior_exited): Remove '-notransfer ' match. * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp. * lib/gdb.exp (pagination_prompt): Run text through string_to_regexp. (gdb_test_multiple): Match $pagination_prompt instead of "". (string_to_regexp): Move to lib/gdb-utils.exp. 2014-07-22 Jan Kratochvil * gdb.arch/amd64-entry-value-paramref.S: New file. * gdb.arch/amd64-entry-value-paramref.cc: New file. * gdb.arch/amd64-entry-value-paramref.exp: New file. * gdb.arch/amd64-optimout-repeat.S: New file. * gdb.arch/amd64-optimout-repeat.c: New file. * gdb.arch/amd64-optimout-repeat.exp: New file. 2014-07-17 Jan Kratochvil PR gdb/17170 * gdb.base/statistics.exp: New file. 2014-07-17 Doug Evans PR gdb/17170 * gdb.base/maint.exp: Update testing of per-command stats. 2014-07-16 Pedro Alves * gdb.trace/tfile.c: Include unistd.h and stdint.h. (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef. (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr) (tfile_write_buf): New functions. (add_memory_block): Rewrite using the above. (adjust_function_address): New function. (FUNCTION_ADDRESS): New macro. (write_basic_trace_file): Remove short_x local, and use tfile_write_16. Change type of func_addr local to unsigned long long. Use FUNCTION_ADDRESS instead of handling the Thumb bit here. Cast argument of add_memory_block to char pointer. (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS. (main): Remove parameters. * gdb.trace/tfile.exp: Remove nowarnings. 2014-07-15 Simon Marchi * gdb.base/debug-expr.exp: Test string evaluation with "debug expression" on. 2014-07-15 Pedro Alves * gdb.base/reread.exp: Use clean_restart. 2014-07-15 Pierre Langlois * gdb.arch/avr-flash-qualifer.c: New. * gdb.arch/avr-flash-qualifer.exp: New. 2014-07-14 Pedro Alves * gdb.base/paginate-after-ctrl-c-running.c: New file. * gdb.base/paginate-after-ctrl-c-running.exp: New file. 2014-07-14 Pedro Alves * gdb.base/double-prompt-target-event-error.c: New file. * gdb.base/double-prompt-target-event-error.exp: New file. 2014-07-14 Pedro Alves PR gdb/17072 * gdb.base/paginate-inferior-exit.c: New file. * gdb.base/paginate-inferior-exit.exp: New file. 2014-07-14 Pedro Alves PR gdb/17072 * gdb.base/paginate-bg-execution.c: New file. * gdb.base/paginate-bg-execution.exp: New file. 2014-07-14 Pedro Alves PR gdb/17072 * gdb.base/paginate-execution-startup.c: New file. * gdb.base/paginate-execution-startup.exp: New file. * lib/gdb.exp (pagination_prompt): New global. (default_gdb_spawn): New procedure, factored out from default_gdb_spawn. (default_gdb_start): Adjust to call default_gdb_spawn. (gdb_spawn): New procedure. 2014-07-14 Pedro Alves * lib/gdb.exp (gdb_assert): New procedure. * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it. 2014-07-14 Pedro Alves * gdb.base/execution-termios.c: New file. * gdb.base/execution-termios.exp: New file. 2014-07-14 Tom Tromey * gdb.cp/vla-cxx.cc: New file. * gdb.cp/vla-cxx.exp: New file. 2014-07-14 Tom Tromey * gdb.reverse/rerun-prec.c: New file. * gdb.reverse/rerun-prec.exp: New file. 2014-07-12 Maciej W. Rozycki Maciej W. Rozycki * lib/gdb-utils.exp: New file. * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing inline `gdb_init_command' processing. (gdb_start_cmd): Likewise. * lib/mi-support.exp (mi_run_cmd): Likewise. * README: Document `gdb_init_command' and `gdb_init_commands'. 2014-07-11 Jan Kratochvil Fix false FAIL running under a very long directory name. * gdb.base/argv0-symlink.exp: Add "set print repeats 10000" and "set print elements 10000". Twice. 2014-07-11 Yao Qi * gdb.base/exprs.exp: "set print symbol off". 2014-07-11 Pedro Alves * gdb.threads/kill.c: New file. * gdb.threads/kill.exp: New file. 2014-07-10 Yao Qi * gdb.trace/tfile.c (write_basic_trace_file) [__thumb__||__thumb2__]: Clear the Thumb bit of the function address written to trace file. 2014-07-09 Pedro Alves * gdb.base/attach-wait-input.exp: New file. * gdb.base/attach-wait-input.c: New file. 2014-07-09 Andrew Burgess * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function setting up test structures. (main): Call new test function. * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new test function, continue into test function and walk test structures. 2014-07-02 Yao Qi * gdb.trace/entry-values.c: Define labels 'foo_start' and 'bar_start' at the beginning of functions 'foo' and 'bar' respectively. * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start' instead of 'foo' and 'bar'. 2014-07-08 Markus Metzger * gdb.btrace/segv.exp: New. * gdb.btrace/segv.c: New. 2014-07-02 Luis Machado * gdb.trace/entry-values.exp: Handle powerpc-specific branch instruction. 2014-06-30 Mark Wielaard * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar, vulture, vilify, villar): New volatile array constants. (vindictive, vegetation): New const volatile array constants. * gdb.base/volatile.exp: Test volatile and const volatile array types. 2014-06-30 Andreas Arnez * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the target lacks support for awatch, rwatch, or hbreak. 2014-06-27 Yao Qi * gdb.multi/dummy-frame-restore.exp: New. * gdb.multi/dummy-frame-restore.c: New. 2014-06-25 Markus Metzger * gdb.btrace/gcore.exp: New. 2014-06-23 Pedro Alves * gdb.base/watchpoint-reuse-slot.c: New file. * gdb.base/watchpoint-reuse-slot.exp: New file. 2014-06-23 Siva Chandra Reddy * gdb.python/py-xmethods.exp: Use "progspace" instead of the progspace's filename in 'info', 'enable' and 'disable' command tests. 2014-06-23 Jan Kratochvil * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target. * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target. 2014-06-20 Gary Benson * gdb.arch/i386-avx.exp: Fix include file location. * gdb.arch/i386-sse.exp: Likewise. 2014-06-19 Iain Buclaw * gdb.dlang/expression.exp: New file. 2014-06-19 Pedro Alves * gdb.threads/thread-execl.exp (do_test): New procedure, factored out from ... (top level): ... here. Iterate running tests under different scheduler-locking settings. 2014-06-18 Luis Machado * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries to DW_FORM_addr and use non-zero addresses. 2014-06-18 Siva Chandra Reddy PR gdb/17017 * gdb.python/py-xmethods.cc: Add global function call counters and increment them in their respective functions. Remove "cout" statements. * gdb.python/py-xmethods.exp: Make tests check the global function call counters instead of depending on inferior IO. 2014-06-18 Don Breazeal * gdb.base/foll-fork.exp (default_fork_parent_follow): Deleted procedure. (explicit_fork_parent_follow): Deleted procedure. (explicit_fork_child_follow): Deleted procedure. (test_follow_fork): New procedure. (do_fork_tests): Replace calls to deleted procedures with calls to test_follow_fork and reset GDB for subsequent procedure calls. 2014-06-17 Yao Qi * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is CP1252. 2014-06-17 Luis Machado * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test): Initialize ptr and S explicitly. (skip_type_update_when_not_use_rtti_test): Likewise. 2014-06-16 Keith Seitz PR mi/15863 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before the inferior is started. 2014-06-16 Pedro Alves * gdb.base/break-main-file-remove-fail.c: New file. * gdb.base/break-main-file-remove-fail.exp: New file. * gdb.base/break-unload-file.exp: Use build_executable instead of prepare_for_testing. (test_break): New parameter "initial_load". Handle it. (top level): Add initial_load cmdline/file axis. 2014-06-12 Tom Tromey * gdb.base/completion.exp: Don't use directory name in test. 2014-06-09 Gary Benson * gdb.base/sigall.c [Functions to send signals]: Reorder to separate the always-available ANSI-standard signals from the signals that require checking. (main): Likewise. * gdb.reverse/sigall-reverse.c [Functions to send signals]: Likewise. (main): Likewise. 2014-06-07 Keith Seitz Revert: PR c++/16253 * gdb.cp/var-tag.cc: New file. * gdb.cp/var-tag.exp: New file. * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. * gdb.dwarf2/dw2-inheritance.exp: Likewise. 2014-06-06 Doug Evans * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. 2014-06-06 Pedro Alves * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step) in target debug output instead of looking at RSP packets, disabling the test on any target that uses hardware stepping. Update comments. 2014-06-06 Pedro Alves * gdb.base/break-unload-file.exp: Fix typo. 2014-06-06 Yao Qi * gdb.base/jit.exp (one_jit_test): Restrict the pattern from "jit_function" to "^jit_function". 2014-06-06 Yao Qi * gdb.base/async.c (foo): Add one statement. * gdb.base/async.exp: Get the next instruction address and match the output of "nexti" by instruction address. Match the hex address in the output of "finish". 2014-06-06 Gary Benson * gdb.base/call-signals.c: Remove preprocessor conditionals for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, SIGSEGV and SIGTERM. * gdb.base/sigall.c: Likewise. * gdb.base/unwindonsignal.c: Likewise. * gdb.reverse/sigall-reverse.c: Likewise. 2014-06-06 Yao Qi * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If readable, skip the test. 2014-06-06 Yao Qi * gdb.threads/staticthreads.c (thread_function): Move the line setting breakpoint on forward. * gdb.threads/staticthreads.exp: Update comments. 2014-06-05 Ludovic Courtès * gdb.guile/scm-value.exp (test_value_in_inferior): Add test "history-append! type error". 2014-06-05 Simon Marchi * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix erroneous dprintf expected input. 2014-06-04 Doug Evans * gdb.guile/scm-generics.exp: Delete. 2014-06-04 Doug Evans * gdb.guile/scm-breakpoint.exp: Update. Add tests for breakpoint registration. 2014-06-04 Tom Tromey * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and VLA-in-union. * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct, inner_vla_struct, vla_union types. Initialize objects of those types and compute their sizes. 2014-06-04 Nathan Sidwell Hui Zhu * gdb.base/fileio.exp: Add test for shell not available as well as available. * gdb.base/fileio.c (test_system): Check for shell twice. 2014-06-04 Yao Qi * gdb.base/auto-connect-native-target.exp: Remove redundant space from the regexp pattern. 2014-06-04 Yao Qi * gdb.base/default.exp: Replace "child" with "native" in regexp pattern. 2014-06-03 Siva Chandra Reddy * gdb.python/py-xmethods.cc: New testcase to test xmethods. * gdb.python/py-xmethods.exp: New tests to test xmethods. * gdb.python/py-xmethods.py: Python script supporting the new testcase and tests. 2014-06-03 Joel Brobecker Pedro Alves PR breakpoints/17000 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail. * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail. 2014-06-03 Brad Mouring (tiny patch) * gdb.base/subst.exp: Add tests to verify partial path matching output. 2014-06-03 Pedro Alves * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote target that doesn't use software single-stepping. 2014-06-03 Pedro Alves PR breakpoints/17000 * gdb.base/sss-bp-on-user-bp-2.c: New file. * gdb.base/sss-bp-on-user-bp-2.exp: New file. 2014-06-02 Doug Evans * gdb.guile/scm-parameter.exp: New file. 2014-06-02 Doug Evans * gdb.guile/scm-cmd.c: New file. * gdb.guile/scm-cmd.exp: New file. 2014-06-02 Doug Evans * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace pretty-printer lookup. * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function. (make-pp_s-printer): Call it. (make-pretty-printer-from-dict): New function. (lookup-pretty-printer-maker-from-dict): New function. (*pretty-printer*): Simplify. (make-objfile-pp_s-printer): New function. (install-objfile-pretty-printers!): New function. (make-progspace-pp_s-printer): New function. (install-progspace-pretty-printers!): New function. * gdb.guile/scm-progspace.c: New file. * gdb.guile/scm-progspace.exp: New file. 2014-06-02 Pedro Alves * gdb.base/dprintf-bp-same-addr.c: New file. * gdb.base/dprintf-bp-same-addr.exp: New file. 2014-06-02 Edjunior Barbosa Machado * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase. * gdb.arch/powerpc-power.s: Likewise. 2014-06-02 Joel Brobecker * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT. 2014-06-01 Yao Qi * gdb.base/watchpoint.exp (test_watch_location): Check null pointer can be dereferenced. If not, do the test, otherwise skip it. 2014-05-30 Andrew Burgess * gdb.arch/amd64-invalid-stack-middle.exp: Update expected results. * gdb.arch/amd64-invalid-stack-top.exp: Likewise. 2014-05-30 Andrew Burgess * gdb.arch/amd64-invalid-stack-middle.S: New file. * gdb.arch/amd64-invalid-stack-middle.c: New file. * gdb.arch/amd64-invalid-stack-middle.exp: New file. * gdb.arch/amd64-invalid-stack-top.c: New file. * gdb.arch/amd64-invalid-stack-top.exp: New file. 2014-05-30 Pedro Alves PR breakpoints/17000 * gdb.base/sss-bp-on-user-bp.c: New file. * gdb.base/sss-bp-on-user-bp.exp: New file. 2014-05-30 David Blaikie * gdb.opt/inline-break.c: Fix clang compatibility by specifying gnu_inline semantics via attribute. * gdb.opt/inline-break.exp: Remove -std=c89 now that the test source explicitly specifies the required semantics. 2014-05-30 Maciej W. Rozycki * gdb.reverse/sigall-reverse.exp: Fix a typo. 2014-05-29 Pedro Alves Tom Tromey * gdb.base/async-shell.exp: Don't enable target-async. * gdb.base/async.exp * gdb.base/corefile.exp (corefile_test_attach): Remove 'async' parameter. Adjust. (top level): Don't test with "target-async". * gdb.base/dprintf-non-stop.exp: Don't enable target-async. * gdb.base/gdb-sigterm.exp: Don't test with "target-async". * gdb.base/inferior-died.exp: Don't enable target-async. * gdb.base/interrupt-noterm.exp: Likewise. * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async". * gdb.mi/mi-nonstop-exit.exp: Likewise. * gdb.mi/mi-nonstop.exp: Likewise. * gdb.mi/mi-ns-stale-regcache.exp: Likewise. * gdb.mi/mi-nsintrall.exp: Likewise. * gdb.mi/mi-nsmoribund.exp: Likewise. * gdb.mi/mi-nsthrexec.exp: Likewise. * gdb.mi/mi-watch-nonstop.exp: Likewise. * gdb.multi/watchpoint-multi.exp: Adjust comment. * gdb.python/py-evsignal.exp: Don't enable target-async. * gdb.python/py-evthreads.exp: Likewise. * gdb.python/py-prompt.exp: Likewise. * gdb.reverse/break-precsave.exp: Don't test with "target-async". * gdb.server/solib-list.exp: Don't enable target-async. * gdb.threads/thread-specific-bp.exp: Likewise. * lib/mi-support.exp: Adjust to use mi-async. 2014-05-29 Pedro Alves PR gdb/13860 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop reason, even in sync mode. 2014-05-29 Pedro Alves Hui Zhu PR PR15693 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file. * gdb.mi/mi-condbreak-call-thr-state-st.c: New file. * gdb.mi/mi-condbreak-call-thr-state.c: New file. * gdb.mi/mi-condbreak-call-thr-state.exp: New file. 2014-05-28 Joel Brobecker * config/monitor.exp (gdb_target_monitor): Replace use of "set remotebaud" by "set serial baud". 2014-05-26 Andy Wingo * gdb.guile/scm-breakpoint.exp: * gdb.guile/scm-gsmob.exp: Update to use plain old object properties instead of gdb-object-properties. 2014-05-26 Yao Qi * gdb.server/no-thread-db.exp: Specify source file name explicitly when setting a breakpoint. 2014-05-23 Markus Metzger * gdb.btrace/vdso.c: New. * gdb.btrace/vdso.exp: New. 2014-05-23 Markus Metzger * gdb.base/gcore.exp (capture_command_output): Move ... * lib/gdb.exp (capture_command_output): ... here. 2014-05-23 Markus Metzger * gdb.btrace/data.exp: Test memory access during btrace replay. 2014-05-22 Simon Marchi * lib/mi-support.exp (mi_run_cmd_full): Add comments. 2014-05-21 Pedro Alves PR gdb/13860 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global. (top level): Test that output related to execution commands is sent to the console with CLI commands, but not with MI commands. Test that breakpoint events are always mirrored to the console. Also expect the new source line to be output after a "next" in async mode too. Make it a pass/fail test. * gdb.mi/mi-solib.exp: Test that the CLI solib event note is output. * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure. 2014-05-21 Pedro Alves * gdb.base/list.exp (build_pattern, test_list): New procedures. Use them to test variations of "list" after reaching a breakpoint. * gdb.mi/mi-cli.exp (line_main_callme_2): New global. Test "list" with listsize 10 after reaching a breakpoint. * gdb.python/python.exp (decode_line current location line number): Adjust expected line number. 2014-05-21 Simon Marchi * lib/mi-support.exp (mi_run_cmd_full): Revert to original behavior for $args, pass it directly to "run". 2014-05-21 Maciej W. Rozycki * lib/gdb.exp (default_gdb_init): Bump `match_max' up from 30000 to 65536. 2014-05-21 Pedro Alves * boards/gdbserver-base.exp (GDBFLAGS): Set to "set auto-connect-native-target off". * gdb.base/auto-connect-native-target.c: New file. * gdb.base/auto-connect-native-target.exp: New file. 2014-05-21 Pedro Alves * gdb.base/default.exp: Test "target native" instead of "target child". 2014-05-21 Mark Wielaard * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type. 2014-05-21 Jan Kratochvil Fix TLS access for -static -pthread. * gdb.threads/staticthreads.c (tlsvar): New. (thread_function, main): Initialize it. * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls. Add clean_restart. <$have_tls != "">: Check TLSVAR. 2014-05-21 Pedro Alves * gdb.base/dcache-line-read-error.c: New. * gdb.base/dcache-line-read-error.exp: New. 2014-05-20 Pedro Alves * gdb.base/compare-sections.c: New file. * gdb.base/compare-sections.exp: New file. 2014-05-20 Pedro Alves * gdb.base/break-idempotent.c: New file. * gdb.base/break-idempotent.exp: New file. 2014-05-20 Markus Metzger * gdb.btrace/nohist.exp: New. 2014-05-20 Yao Qi * lib/gdb.exp (gdb_init): Set timeout if test file is under gdb.reverse directory and gdb_reverse_timeout exists in board setting. * README: Document gdb_reverse_timeout. 2014-05-20 Yao Qi * lib/gdb.exp (default_gdb_init): Rename argument 'args' by 'test_file_name'. Treat args as a string instead of a list. (gdb_init): Rename argument 'args' by 'test_file_name'. 2014-05-19 Jan Kratochvil * gdb.arch/powerpc-power.exp: New file. * gdb.arch/powerpc-power.s: New file. 2014-05-16 Doug Evans * gdb.base/Makefile.in (EXECUTABLES): Add completion. * gdb.base/completion.exp: Check that all expected files exist before doing file completion. 2014-05-16 Doug Evans * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir): Update. (do_syscall_tests_without_xml): Update. 2014-05-16 Pedro Alves * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout" instead of "unknown output after running". 2014-05-16 Yao Qi * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove file1.txt from host at the end. * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. 2014-05-15 Doug Evans * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path. * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before loading file. Add test for TU lookup. 2014-05-15 Simon Marchi * lib/mi-support.exp (mi_run_cmd_full): Set arguments by calling "-exec-arguments" or "set args" before running the inferior. 2014-05-15 Simon Marchi * lib/mi-support.exp (mi_expect_stop): Expect message for inferiors that exit with non-zero exit code. 2014-05-14 Yao Qi * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't match absolute path on remote host. (test_file_list_exec_source_files): Remove "/" from the pattern. 2014-05-14 Yao Qi * boards/local-remote-host-notty.exp (${board}_file): New proc. 2014-05-07 Kyle McMartin Pushed by Joel Brobecker . * gdb.arch/aarch64-atomic-inst.c: New file. * gdb.arch/aarch64-atomic-inst.exp: New file. 2014-05-07 Yao Qi * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int" in current context" too. 2014-05-05 Keith Seitz * gdb.linespec/ls-dollar.exp: Add test for linespec file:convenience_variable. 2014-05-05 Yao Qi * gdb.trace/unavailable.exp (gdb_collect_args_test): Save traceframes into tfile and ctf trace files. Read data from trace file and test collected data. (gdb_collect_locals_test): Likewise. (gdb_unavailable_registers_test): Likewise. (gdb_unavailable_floats): Likewise. (gdb_collect_globals_test): Likewise. (top-level): Append "ctf" to trace_file_targets if GDB supports. 2014-05-05 Yao Qi * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some code to ... (gdb_collect_args_test_1): ... it. New proc. (gdb_collect_locals_test): Move some code to ... (gdb_collect_locals_test_1): ... it. New proc. (gdb_unavailable_registers_test): Move some code to ... (gdb_unavailable_registers_test_1): ... it. New proc. (gdb_unavailable_floats): Move some code to ... (gdb_unavailable_floats_1): ... it. New proc. 2014-05-02 Sergio Durigan Junior * gdb.arch/amd64-stap-optional-prefix.S (main): Add several probes to test for bitness recognition. * gdb.arch/amd64-stap-optional-prefix.exp (test_probe_value_without_reg): New procedure. Add code to test for different kinds of bitness. 2014-05-02 Sergio Durigan Junior PR breakpoints/16889 * gdb.arch/amd64-stap-optional-prefix.S: New file. * gdb.arch/amd64-stap-optional-prefix.exp: Likewise. 2014-05-01 Pedro Alves * lib/gdb.exp (gdb_load): Extend comment. Skip calling gdb_file_cmd if no file is specified. * boards/native-extended-gdbserver.exp (gdb_load): Use the last_loaded_file to set the remote exec-file. 2014-05-01 Pedro Alves * boards/local-remote-host.exp: New file. 2014-05-01 Pedro Alves * boards/local-remote-host.exp: Rename to ... * boards/local-remote-host-notty.exp: ... this. 2014-04-28 Joel Brobecker * gdb.ada/dyn_arrayidx: New testcase. 2014-04-26 Yao Qi * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB and compute the length of function main. Save it in $main_length. (Dwarf::assemble): Use $main_length instead of hard-coded 10. (top-level): Use gdb_compile to compile objects into executable and restart GDB. Remove invocation to prepare_for_testing. 2014-04-25 Simon Marchi Pedro Alves PR server/16255 * gdb.multi/multi-attach.c: New file. * gdb.multi/multi-attach.exp: New file. 2014-04-25 Pedro Alves * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to user. (top level): Test that "set remote conditional-breakpoints-packet off" works as intended. * gdb.base/dprintf.exp: Test that "set remote breakpoint-commands-packet off" works as intended. * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled): New function. (top level): Call it. * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set remote fast-tracepoints-packet off" works as intended. * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ... * lib/gdb.exp (gdb_is_target_remote): ... here. 2014-04-24 David Blaikie * gdb.base/catch-syscall.c: Make unreferenced statics non-static to ensure clang would not discard them. * gdb.base/gdbvars.c: Ditto. * gdb.base/memattr.c: Ditto. * gdb.base/whatis.c: Ditto. * gdb.python/py-prettyprint.c: Ditto. * gdb.trace/actions.c: Ditto. * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to ensure clang would not discard it. 2014-04-24 David Blaikie * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause clang to emit the full definition of type required by the test * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message 2014-04-24 David Blaikie * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to coax Clang into emitting the definition of the type. * gdb.cp/pr10728-x.h (y): Ditto. * gdb.cp/pr10728-y.cc (y): Ditto. 2014-04-24 David Blaikie * gdb.base/label.exp: XFAIL label related tests under Clang. * gdb.cp/cplabel.exp: Ditto. * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL under Clang those using labels. 2014-04-25 Yao Qi * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused double_label. * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove partial_label and double_label. 2014-04-24 David Blaikie * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641. 2014-04-24 David Blaikie * gdb.cp/cpexprs.cc: Move braces to the same line as the start of the function to work across GCC and Clang. * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable pointer types (const void ** const V void **). 2014-04-24 Michael Sturm Walfred Tedeschi * Makefile.in (EXECUTABLES): Added i386-avx512. * gdb.arch/i386-avx512.c: New file. * gdb.arch/i386-avx512.exp: Likewise. 2014-04-23 Keith Seitz * lib/mi-support.exp (mi_list_breakpoints): Delete. (mi_make_breakpoint_table): New procedure. (mi_create_breakpoint): Use mi_make_breakpoint and return the result. (mi_make_breakpoint): New procedure. (mi_build_kv_pairs): New procedure. * gdb.mi/mi-break.exp: Remove unused globals, update mi_create_breakpoint usage, and use mi_make_breakpoint_table. All callers updated. * gdb.mi/mi-dprintf.exp: Use variable to track command number. Update all callers of mi_create_breakpoint and use mi_make_breakpoint_table. Remove any unused global variables. * gdb.mi/mi-nonstop.exp: Likewise. * gdb.mi/mi-nsintrall.exp: Likewise. * gdb.mi/mi-nsmoribund.exp: Likewise. * gdb.mi/mi-nsthrexec.exp: Likewise. * gdb.mi/mi-reverse.exp: Likewise. * gdb.mi/mi-simplerun.exp: Likewise. * gdb.mi/mi-stepn.exp: Likewise. * gdb.mi/mi-syn-frame.exp: Likewise. * gdb.mi/mi-until.exp: Likewise. * gdb.mi/mi-var-cp.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi2-amd64-entry-value.exp: Likewise. * gdb.mi/mi2-var-child.exp: Likewise. * gdb.mi/mi-vla-c99.exp: Likewise. * lib/mi-support.exp: Likewise. From Ian Lance Taylor : * lib/gdb.exp (parse_args): New procedure. 2014-04-23 Pedro Alves * gdb.base/break-unload-file.c: New file. * gdb.base/break-unload-file.exp: New file. * gdb.base/sym-file-lib.c (baz): New function. * gdb.base/sym-file-loader.c (struct segment) : New field. (load): Store the segment's mapped size. (unload): New function. (unload_shlib): New function. * gdb.base/sym-file-loader.h (unload_shlib): New declaration. * gdb.base/sym-file-main.c (main): Unload, and reload the library, set a breakpoint at baz, and call it. * gdb.base/sym-file.exp: New tests for stale breakpoint instructions. 2014-04-23 Pedro Alves * gdb.base/hbreak-in-shr-unsupported-shr.c: New file. * gdb.base/hbreak-in-shr-unsupported.c: New file. * gdb.base/hbreak-in-shr-unsupported.exp: New file. * gdb.base/hbreak-unmapped.c: New file. * gdb.base/hbreak-unmapped.exp: New file. * gdb.trace/qtro.exp (gdb_is_target_remote): Move ... * lib/gdb.exp (gdb_is_target_remote): ... here. 2014-04-22 Pedro Alves * gdb.base/consecutive-step-over.c: New file. * gdb.base/consecutive-step-over.exp: New file. 2014-04-22 Pedro Alves * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple instead of send_gdb/gdb_expect. 2014-04-22 Yao Qi * lib/trace-support.exp (generate_tracefile): New procedure. * gdb.trace/tfile.exp: Skip the test if generate_tracefile return 0. * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile if generate_tracefile returns 1. 2014-04-18 Tom Tromey Pedro alves PR backtrace/15558 * gdb.opt/inline-bt.exp: Test backtracing from an inline function with a backtrace limit. * gdb.python/py-frame-inline.exp: Test running to an inline function with a backtrace limit, and printing the newest frame. * gdb.python/py-frame-inline.c (main): Call f. 2014-04-17 Marcus Shawcroft * gdb.java/jnpe.exp: Drop srcdir from untested path. 2014-04-17 Marcus Shawcroft * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): Drop prefix from unsupported source file path. 2014-04-17 Yao Qi * lib/gdb.exp (with_target_charset): New proc. * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with with_target_charset. (test_print_strings): Likewise. (test_repeat_bytes): Likewise. * gdb.base/setvar.exp: Set target-charset to ASCII temporarily for some tests. 2014-04-16 Keith Seitz PR gdb/15827 * gdb.dwarf2/corrupt.c: New file. * gdb.dwarf2/corrupt.exp: New file. 2014-04-16 Keith Seitz PR c++/16597 * gdb.cp/namelessclass.cc: New file. * gdb.cp/namelessclass.exp: New file. * gdb.cp/namelessclass.S: New file. 2014-04-16 Doug Evans * lib/gdbserver-support.exp (gdbserver_default_get_remote_address): Add comment. (gdbserver_default_get_comm_port): New function. (gdbserver_start): Check if board file provided "gdbserver,get_comm_port" and use it if so. * boards/native-stdio-gdbserver.exp (sockethost): Set to "". (gdb,socketport): Set to "stdio". (gdbserver,get_comm_port): Set to ${board}_get_comm_port. (stdio_gdbserver_template): Delete. (${board}_get_remote_address): Update. (${board}_build_remote_cmd): Delete. (${board}_get_comm_port): New function. (${board}_spawn): Update. * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd): Delete. (${board}_get_remote_address): Update. (${board}_get_comm_port): New function. 2014-04-16 Andrew Burgess * gdb.base/memattr.exp: Improve regexps to handle memory regions appearing in any order. 2014-04-15 Doug Evans * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference uninitialized value of "description". 2014-04-15 Keith Seitz * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing): Remove unused globals. (test_running_the_program): Likewise. (test_controlled_execution): Likewise. (test_controlling_breakpoints): Likewise. (test_program_termination): Likewise. 2014-04-15 Keith Seitz * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove unused globals. (test_rbreak_creation_and_listing): Likewise. (test_ignore_count): Likewise. (test_error): Likewise. 2014-04-15 Pedro Alves * gdb.base/sym-file-loader.h: Move inclusion of , , and to sym-file-loader.c. (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move to sym-file-loader.c. (struct library): Forward declare. (load_shlib, lookup_function): Change prototypes. (find_shstrtab, find_strtab, find_shdr, find_symtab) (translate_offset): Remove declarations. (get_text_addr): New declaration. * gdb.base/sym-file-loader.c: Move inclusion of , , and here from sym-file-loader.h. (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr) (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move here from sym-file-loader.h. (struct library): New structure. (load_shlib, lookup_function): Change prototypes and adjust to work with a struct library. (find_shstrtab, find_strtab, find_shdr, find_symtab) (translate_offset): Make static. (get_text_addr): New function. * gdb.base/sym-file-main.c (main): Adjust to new loader interface. 2014-04-15 Pedro Alves * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK. 2014-04-15 Pedro Alves * gdb.base/sym-file-loader.c: Include . (SELF_LINK): New define. (get_origin): New function. (load_shlib): Use it. * gdb.base/sym-file.exp: Don't early return if the target is remote. Use runto_main, and issue fail is that fails. Use gdb_load_shlibs. (shlib_name): Delete. (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout. 2014-04-15 Pedro Alves * gdb.base/sym-file.exp: Remove regex characters from test message. Don't refer to breakpoint numbers in test messages. 2014-04-14 Keith Seitz PR c++/16253 * gdb.cp/var-tag.cc: New file. * gdb.cp/var-tag.exp: New file. * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++. * gdb.dwarf2/dw2-anon-mptr.exp: Likewise. * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise. * gdb.dwarf2/dw2-inheritance.exp: Likewise. 2014-04-14 Tom Tromey * gdb.cp/classes.exp (test_enums): Handle underlying type. * gdb.dwarf2/enum-type.exp: Add test for enum with underlying type. * gdb.cp/enum-class.exp: New file. * gdb.cp/enum-class.cc: New file. 2014-04-14 Tom Tromey * gdb.dwarf2/enum-type.exp: New file. 2014-04-14 Sanimir Agovic * gdb.mi/mi-vla-c99.exp: New file. * gdb.mi/vla.c: New file. 2014-04-14 Sanimir Agovic * gdb.base/vla-datatypes.c: New file. * gdb.base/vla-datatypes.exp: New file. 2014-04-14 Sanimir Agovic * gdb.base/vla-ptr.c: New file. * gdb.base/vla-ptr.exp: New file. 2014-04-14 Sanimir Agovic * gdb.dwarf2/count.exp: New file. 2014-04-14 Sanimir Agovic * gdb.base/vla-sideeffect.c: New file. * gdb.base/vla-sideeffect.exp: New file. 2014-04-14 David Blaikie * gdb.mi/non-stop.c: Add return value for non-void function return statement. * gdb.threads/staticthreads.c: Ditto. 2014-04-12 Siva Chandra Reddy Doug Evans * gdb.guile/scm-value.c: Improve test case. * gdb.guile/scm-value.exp: Add new test. 2014-04-11 David Blaikie * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to override Clang's default. 2014-04-11 Joel Brobecker Revert the following changes (regressions): * gdb.base/vla-sideeffect.c: New file. * gdb.base/vla-sideeffect.exp: New file. * gdb.dwarf2/count.exp: New file. * gdb.base/vla-multi.c: New file. * gdb.base/vla-multi.exp: New file. * gdb.base/vla-ptr.c: New file. * gdb.base/vla-ptr.exp: New file. * gdb.base/vla-datatypes.c: New file. * gdb.base/vla-datatypes.exp: New file. * gdb.mi/mi-vla-c99.exp: New file. * gdb.mi/vla.c: New file. 2014-04-11 Keith Seitz PR c++/16675 * gdb.cp/cpsizeof.exp: New file. * gdb.cp/cpsizeof.cc: New file. 2014-04-11 Sanimir Agovic * gdb.mi/mi-vla-c99.exp: New file. * gdb.mi/vla.c: New file. 2014-04-11 Sanimir Agovic * gdb.base/vla-datatypes.c: New file. * gdb.base/vla-datatypes.exp: New file. 2014-04-11 Sanimir Agovic * gdb.base/vla-ptr.c: New file. * gdb.base/vla-ptr.exp: New file. 2014-04-11 Sanimir Agovic * gdb.base/vla-multi.c: New file. * gdb.base/vla-multi.exp: New file. 2014-04-11 Sanimir Agovic * gdb.dwarf2/count.exp: New file. 2014-04-11 Sanimir Agovic * gdb.base/vla-sideeffect.c: New file. * gdb.base/vla-sideeffect.exp: New file. 2014-04-11 Yao Qi * gdb.base/completion.exp: Check file exists before running tests on file completion. 2014-04-10 Pedro Alves * gdb.base/cond-eval-mode.c: New file. * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust prepare_for_testing to build the new file. Check result of runto_main. (test_break, test_watch): New procedures. (top level): Use them. 2014-04-08 Pierre Muller * gdb.base/printcmds.exp (test_artificial_arrays): Disable Ctrl-V use for mingw hosts. 2014-04-07 Siva Chandra Reddy * gdb.python/py-value.c: Improve test case. * gdb.python/py-value.exp: Add new test. 2014-04-07 David Blaikie * lib/compiler.c: Identify the clang compiler. * lib/compiler.cc: Ditto. 2014-04-03 Yao Qi * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD. 2014-04-01 Anton Blanchard * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test messages unique. 2014-04-01 Anton Blanchard * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile, prepare_for_testing. 2014-04-01 Anton Blanchard * gdb.arch/ppc64-atomic-inst.c: Remove. * gdb.arch/ppc64-atomic-inst.S: New file. * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase. 2014-03-31 Doug Evans * gdb.base/print-symbol-loading-lib.c: New file. * gdb.base/print-symbol-loading-main.c: New file. * gdb.base/print-symbol-loading.exp: New file. 2014-03-31 Yao Qi * gdb.base/source-dir.exp: Allow ';' as a directory separator. 2014-03-28 Joel Brobecker * gdb.ada/mi_dyn_arr: New testcase. 2014-03-27 Doug Evans * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug". 2014-03-27 Yao Qi * lib/gdb.exp (can_single_step_to_signal_handler): Return zero if target is nios2-*-*. 2014-03-26 Yao Qi * lib/gdb.exp (readline_is_used): New proc. * gdb.base/completion.exp: Move tests on command complete up. Skip the rest of tests if readline is not used. * gdb.ada/complete.exp: Skp the test if readline is not used. * gdb.base/filesym.exp: Likewise. * gdb.base/macscp.exp: Likewise. * gdb.base/readline-ask.exp: Likewise. * gdb.base/readline.exp: Likewise. * gdb.python/py-cmd.exp: Likewise. * gdb.trace/tfile.exp: Likewise. 2014-03-26 Yao Qi * gdb.base/macscp.exp: Fix code format issues. 2014-03-25 Ulrich Weigand * gdb.asm/asm-source.exp: Handle powerpc64le-* targets. * gdb.asm/powerpc64le.inc: New file. 2014-03-25 Pedro Alves Doug Evans * gdb.base/source-execution.c: New file. * gdb.base/source-execution.exp: New file. * gdb.base/source-execution.gdb: New file. 2014-03-24 Doug Evans * gdb.linespec/macro-relative.exp: Mark the test as unsupported if using fission. 2014-03-24 Hui Zhu Pedro Alves PR breakpoints/16101 * gdb.base/dprintf.exp: Use unsupported rather than changing the test pass/fail messages. Detect missing support for dprintf when breakpoints are actually inserted. * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when breakpoints are actually inserted. * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue fails. 2014-03-24 Jan Kratochvil * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1". 2014-03-22 Doug Evans * gdb.python/python.exp (python not supported): Verify multi-line python command issues an error. * gdb.guile/guile.exp (guile not supported): Verify multi-line guile command issues an error. 2014-03-21 Maciej W. Rozycki * gdb.threads/thread-specific.exp: Handle the lack of usable $this_breakpoint and $this_thread. 2014-03-21 Hui Zhu * gdb.base/attach.exp (do_command_attach_tests): New. 2014-03-20 Tom Tromey Pedro Alves PR cli/15718 * gdb.base/condbreak-call-false.c: New file. * gdb.base/condbreak-call-false.exp: New file. 2014-03-20 Pedro Alves * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid): Delete. (block_signals, unblock_signals): Delete. (child_function_2, main): Remove references to deleted variable and functions. 2014-03-20 Pedro Alves * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main): Use pthread_kill to signal thread 2. * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Adjust to make the test send itself a signal rather than using the host's "kill" command. 2014-03-20 Pedro Alves * gdb.threads/multiple-step-overs.c: New file. * gdb.threads/multiple-step-overs.exp: New file. * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Adjust expected infrun debug output. 2014-03-20 Pedro Alves * gdb.threads/step-over-trips-on-watchpoint.c: New file. * gdb.threads/step-over-trips-on-watchpoint.exp: New file. 2014-03-20 Pedro Alves PR breakpoints/7143 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead of gdb_test_multiple. * gdb.cp/annota2.exp: Remove kfail for gdb/38. * gdb.cp/annota3.exp: Remove kfail for gdb/38. 2014-03-20 Pedro Alves * gdb.threads/step-over-lands-on-breakpoint.c: New file. * gdb.threads/step-over-lands-on-breakpoint.exp: New file. 2014-03-19 Pedro Alves * gdb.base/async.exp: Remove early return. 2014-03-19 Pedro Alves * gdb.base/async.exp (step& tests): Pass explicit test messages. 2014-03-19 Pedro Alves * gdb.base/async.exp (test_background): Expect \r\n after "completed." in the fail pattern. 2014-03-19 Pedro Alves * gdb.base/async.exp (test_background): New procedure. Use it for all background execution command tests. 2014-03-19 Pedro Alves * gdb.base/async.exp: Use prepare_for_testing. 2014-03-19 Pedro Alves * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in the same line. 2014-03-19 Pedro Alves * gdb.base/async.c (main): Add "jump here" and "until here" line marker comments. * gdb.base/async.exp (jump_here): New global. (jump& test): Use it. (until_here): New global. (until& test): Use it. 2014-03-19 Pedro Alves * gdb.base/async.exp: Don't frob gdb_protocol. 2014-03-18 Doug Evans * gdb.base/async.exp: Whitespace fixes. Turn on target-async. Fix spelling of exec-done-display. 2014-03-18 Jan Kratochvil PR gdb/15358 * gdb.base/gdb-sigterm.c: New file. * gdb.base/gdb-sigterm.exp: New file. 2014-03-18 Pedro Alves PR gdb/13860 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail. * lib/mi-support.exp (mi_expect_stop): Add special handling for solib-event. 2014-03-17 Joel Brobecker * gdb.ada/pckd_arr_ren: New testcase. 2014-03-13 Doug Evans PR guile/16612 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage collect after discarding symbols. 2014-03-13 Ludovic Courtès Doug Evans * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added to history survives a gc. 2014-03-13 Pedro Alves * gdb.base/default.exp: Don't test "target procfs". 2014-03-13 Pedro Alves * gdb.base/default.exp: Update "target child" and "target procfs" tests to not expect "Unix". 2014-03-12 Tom Tromey * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach): New procs. Add target-async tests. * gdb.reverse/break-precsave.exp (precsave_tests): New proc. Add target-async tests. 2014-03-12 Andreas Arnez * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels 'func_start' and 'func_end' for the beginning and end of the function code, respectively. * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and 'func_end' instead of 'func' and 'main'. 2014-03-12 Andreas Arnez * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove. * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to generate the debug info assembler source. 2014-03-12 Andreas Arnez * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'. * gdb.dwarf2/arr-subrange.exp: Likewise. * gdb.dwarf2/dwz.exp: Likewise. * gdb.dwarf2/method-ptr.exp: Likewise. * gdb.dwarf2/missing-sig-type.exp: Likewise. * gdb.dwarf2/subrange.exp: Likewise. * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'. * gdb.dwarf2/implptrpiece.exp: Likewise. * gdb.dwarf2/nostaticblock.exp: Likewise. 2014-03-12 Andreas Arnez * lib/gdb.exp (build_executable_from_specs): Don't prepend source directory to absolute path name arguments. 2014-03-10 Joel Brobecker * gdb.ada/tagged_access: New testcase. 2014-03-07 Markus Metzger * gdb.btrace/data.exp: Update expected output. 2014-03-06 Yao Qi * gdb.trace/pr16508.exp: New file. 2014-03-05 Pedro Alves PR gdb/16575 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New procedure. (top level): Adjust to use it. Add tests that exercise breakpoint interaction with the code-cache. 2014-02-26 Ludovic Courtès * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for 'history-append!'. 2014-02-26 Joel Brobecker * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file. * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file. * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file. * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file. * gdb.dwarf2/dw2-abs-hi-pc.c: New file. * gdb.dwarf2/dw2-abs-hi-pc.exp: New file. 2014-02-26 Joel Brobecker * testsuite/gdb.python/py-pp-re-notag.c: New file. * testsuite/gdb.python/py-pp-re-notag.ex: New file. * testsuite/gdb.python/py-pp-re-notag.p: New file. 2014-02-26 Joel Brobecker * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files. 2014-02-26 Joel Brobecker * gdb.dwarf2/arr-stride.c: New file. * gdb.dwarf2/arr-stride.exp: New file. 2014-02-26 Pedro Alves * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me that won't ever trigger. Make sure that GDB reports the correct breakpoint that caused the stop. 2014-02-25 Jan Kratochvil PR gdb/16626 * gdb.base/auto-load-script: New file. * gdb.base/auto-load.c: New file. * gdb.base/auto-load.exp: New file. PR gdb/16626 * gdb.base/auto-load.exp: Fix out-of-srctree run. 2014-02-25 Jan Kratochvil Fix dw2-icycle.exp -fsanitize=address GDB crash. * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling. 2014-02-24 Doug Evans * lib/gdb.exp (run_on_host): Log error output if program fails. 2014-02-21 Pedro Alves * gdb.threads/step-after-sr-lock.c: Rename to ... * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this. * gdb.threads/step-after-sr-lock.exp: Rename to ... * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: ... this. 2014-02-20 Sergio Durigan Junior PR tdep/16397 * gdb.arch/amd64-stap-special-operands.exp: New file. * gdb.arch/amd64-stap-three-arg-disp.S: Likewise. * gdb.arch/amd64-stap-three-arg-disp.c: Likewise. * gdb.arch/amd64-stap-triplet.S: Likewise. * gdb.arch/amd64-stap-triplet.c: Likewise. 2014-02-20 Joel Brobecker * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters in .section pseudo-op. 2014-02-20 lin zuojian Joel Brobecker Doug Evans PR symtab/16581 * gdb.dwarf2/dw2-icycle.S: New file. * gdb.dwarf2/dw2-icycle.c: New file. * gdb.dwarf2/dw2-icycle.exp: New file. 2014-02-19 Siva Chandra Reddy * gdb.python/py-value-cc.cc: Improve test case to enable testing operations on gdb.Value objects. * gdb.python/py-value-cc.exp: Add new test to test operations on gdb.Value objects. 2014-02-18 Doug Evans * Makefile.in (TESTS): New variable. (expanded_tests, expanded_tests_or_none): New variables (check-single): Pass $(expanded_tests_or_none) to runtest. (check-parallel): Only run tests in $(TESTS) if non-empty. (check/no-matching-tests-found): New rule. * README: Document TESTS makefile variable. 2014-02-18 Doug Evans * Makefile.in (check-parallel): rm -rf outputs temp. 2014-02-16 Jan Kratochvil Fix "ERROR: no fileid for" in the testsuite. * lib/gdb.exp (gdb_finish): Check gdb_spawn_id. 2014-02-12 Doug Evans * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink. (MISCELLANEOUS): New variable. (clean): rm -rf $(MISCELLANEOUS). * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and dwp live in the same directory as symlinks, with each symlink pointed to a differently named file in a different directory. 2014-02-11 Doug Evans * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead of Tcl file commands. 2014-02-10 Mark Kettenis * gdb.threads/step-after-sr-lock.exp: Avoid executing "kill -SIGUSR1 -1". 2014-02-10 Joel Brobecker * gdb.ada/tick_length_array_enum_idx: New testcase. 2014-02-10 Doug Evans * configure.ac (AC_OUTPUT): Add gdb.guile. * configure: Regenerate. * lib/gdb-guile.exp: New file. * lib/gdb.exp (get_target_charset): New function. * gdb.base/help.exp: Update expected output from "apropos apropos". * gdb.guile/Makefile.in: New file. * gdb.guile/guile.exp: New file. * gdb.guile/scm-arch.c: New file. * gdb.guile/scm-arch.exp: New file. * gdb.guile/scm-block.c: New file. * gdb.guile/scm-block.exp: New file. * gdb.guile/scm-breakpoint.c: New file. * gdb.guile/scm-breakpoint.exp: New file. * gdb.guile/scm-disasm.c: New file. * gdb.guile/scm-disasm.exp: New file. * gdb.guile/scm-equal.c: New file. * gdb.guile/scm-equal.exp: New file. * gdb.guile/scm-error.exp: New file. * gdb.guile/scm-error.scm: New file. * gdb.guile/scm-frame-args.c: New file. * gdb.guile/scm-frame-args.exp: New file. * gdb.guile/scm-frame-args.scm: New file. * gdb.guile/scm-frame-inline.c: New file. * gdb.guile/scm-frame-inline.exp: New file. * gdb.guile/scm-frame.c: New file. * gdb.guile/scm-frame.exp: New file. * gdb.guile/scm-generics.exp: New file. * gdb.guile/scm-gsmob.exp: New file. * gdb.guile/scm-iterator.c: New file. * gdb.guile/scm-iterator.exp: New file. * gdb.guile/scm-math.c: New file. * gdb.guile/scm-math.exp: New file. * gdb.guile/scm-objfile-script-gdb.in: New file. * gdb.guile/scm-objfile-script.c: New file. * gdb.guile/scm-objfile-script.exp: New file. * gdb.guile/scm-objfile.c: New file. * gdb.guile/scm-objfile.exp: New file. * gdb.guile/scm-ports.exp: New file. * gdb.guile/scm-pretty-print.c: New file. * gdb.guile/scm-pretty-print.exp: New file. * gdb.guile/scm-pretty-print.scm: New file. * gdb.guile/scm-section-script.c: New file. * gdb.guile/scm-section-script.exp: New file. * gdb.guile/scm-section-script.scm: New file. * gdb.guile/scm-symbol.c: New file. * gdb.guile/scm-symbol.exp: New file. * gdb.guile/scm-symtab-2.c: New file. * gdb.guile/scm-symtab.c: New file. * gdb.guile/scm-symtab.exp: New file. * gdb.guile/scm-type.c: New file. * gdb.guile/scm-type.exp: New file. * gdb.guile/scm-value-cc.cc: New file. * gdb.guile/scm-value-cc.exp: New file. * gdb.guile/scm-value.c: New file. * gdb.guile/scm-value.exp: New file. * gdb.guile/source2.scm: New file. * gdb.guile/types-module.cc: New file. * gdb.guile/types-module.exp: New file. 2014-02-10 Yao Qi PR testsuite/16543 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT. * configure: Regenerated. * Makefile.in: New file. 2014-02-08 Andreas Schwab * gdb.python/py-framefilter.exp: Fix typo. 2014-02-08 Yao Qi * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test that no =breakpoint-modified is emitted when breakpoints are modified through MI commands. 2014-02-07 Pedro Alves Pedro Alves * gdb.threads/step-after-sr-lock.c: New file. * gdb.threads/step-after-sr-lock.exp: New file. 2014-02-07 Pedro Alves * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print. 2014-02-06 Jan Kratochvil Fix i386-sse-stack-align.exp regression since GDB_PARALLEL. * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file. 2014-02-06 Doug Evans * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected output. * gdb.gdb/python-interrupts.exp: New file. 2014-02-05 Yao Qi * gdb.trace/report.exp (use_collected_data): Test the output of "info threads" and "info inferiors". 2014-02-05 Yao Qi Revert this patch: 2013-05-24 Yao Qi * gdb.trace/tfile.exp: Test inferior and thread. 2014-02-04 Ulrich Weigand * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint on a function. * gdb.base/step-bt.c: Call hello via function pointer to make sure its first instruction is executed on powerpc64le-linux. 2014-02-04 Ulrich Weigand * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*. 2014-02-04 Ulrich Weigand * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants of the test patterns for use on little-endian systems. 2014-02-04 Ulrich Weigand * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test. (decimal_vector): Fix for little-endian. 2014-01-29 Jose E. Marchesi * gdb.arch/sparc-sysstep.exp: New file. * gdb.arch/sparc-sysstep.c: Likewise. * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep. 2014-01-28 Edjunior Barbosa Machado * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols. 2014-01-23 Tom Tromey * gdb.ada/array_char_idx: New testcase. 2014-01-23 Tom Tromey PR python/16487: * gdb.python/py-framefilter.exp: Add test using "Error" filter. * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New classes. 2014-01-23 Tom Tromey PR python/16491: * gdb.python/py-framefilter.py (Reverse_Function.function): Read a string from an inferior frame. * gdb.python/py-framefilter-mi.exp: Update. 2014-01-22 Doug Evans * gdb.server/server-mon.exp: Add tests for "set debug-format". 2014-01-22 Andreas Arnez * gdb.base/catch-syscall.exp: Activate test on s390*-linux. 2014-01-22 Andreas Arnez * gdb.trace/entry-values.exp: Remove excess space character from regex patterns. Handle s390 call instruction. 2014-01-22 Andreas Arnez * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and define "*_start" label. Make "name" static. * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to ${name} by references to ${name}_start. 2014-01-22 Andreas Arnez * gdb.base/info-macros.exp: Remove "debug" from the compile options. 2014-01-17 Iain Buclaw * gdb.dlang/demangle.exp: New file. 2014-01-17 Iain Buclaw * gdb.dlang/primitive-types.exp: New file. 2014-01-17 Iain Buclaw * configure.ac: Create gdb.dlang/Makefile. * configure: Regenerate. * Makefile.in (ALL_SUBDIRS): Add gdb.dlang. * gdb.dlang/Makefile.in: New file. * lib/d-support.exp: New file. * lib/gdb.exp (skip_d_tests): New proc. 2014-01-16 Markus Metzger * gdb.btrace/delta.exp: Check reverse stepi. * gdb.btrace/tailcall.exp: Update. Add stepping tests. * gdb.btrace/finish.exp: New. * gdb.btrace/next.exp: New. * gdb.btrace/nexti.exp: New. * gdb.btrace/record_goto.c: Add comments. * gdb.btrace/step.exp: New. * gdb.btrace/stepi.exp: New. * gdb.btrace/multi-thread-step.c: New. * gdb.btrace/multi-thread-step.exp: New. * gdb.btrace/rn-dl-bind.c: New. * gdb.btrace/rn-dl-bind.exp: New. * gdb.btrace/data.c: New. * gdb.btrace/data.exp: New. * gdb.btrace/Makefile.in (EXECUTABLES): Add new. 2014-01-16 Markus Metzger * gdb.btrace/Makefile.in (EXECUTABLES): Add delta. * gdb.btrace/exception.exp: Update. * gdb.btrace/instruction_history.exp: Update. * gdb.btrace/record_goto.exp: Update. * gdb.btrace/tailcall.exp: Update. * gdb.btrace/unknown_functions.exp: Update. * gdb.btrace/delta.exp: New. 2014-01-16 Markus Metzger * gdb.btrace/record_goto.exp: Add backtrace test. * gdb.btrace/tailcall.exp: Add backtrace test. 2014-01-16 Markus Metzger * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto. * gdb.btrace/record_goto.c: New. * gdb.btrace/record_goto.exp: New. * gdb.btrace/x86-record_goto.S: New. 2014-01-16 Markus Metzger * gdb.btrace/function_call_history.exp: Update tests. * gdb.btrace/instruction_history.exp: Update tests. 2014-01-16 Markus Metzger * gdb.btrace/function_call_history.exp: Fix expected field order for "record function-call-history". Add new tests for "record function-call-history /c". * gdb.btrace/exception.cc: New. * gdb.btrace/exception.exp: New. * gdb.btrace/tailcall.exp: New. * gdb.btrace/x86-tailcall.S: New. * gdb.btrace/x86-tailcall.c: New. * gdb.btrace/unknown_functions.c: New. * gdb.btrace/unknown_functions.exp: New. * gdb.btrace/Makefile.in (EXECUTABLES): Add new. 2014-01-16 Markus Metzger * gdb.btrace/instruction_history.exp: Update. * gdb.btrace/function_call_history.exp: Update. 2014-01-16 Markus Metzger * gdb.btrace/function_call_history.exp: Fix expected function trace. * gdb.btrace/instruction_history.exp: Initialize traced. Remove traced_functions. 2014-01-16 Markus Metzger * gdb.btrace/function_call_history.exp: Update * gdb.btrace/instruction_history.exp: Update. 2014-01-16 Markus Metzger * gdb.btrace/enable.exp: Update expected text. 2014-01-16 Omair Javaid * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4 bytes. 2014-01-15 Maciej W. Rozycki * gdb.base/float.exp: Handle "aarch64*-*-*" targets. 2014-01-15 Omair Javaid * lib/gdb.exp (supports_process_record): Return true for arm*-linux*. (supports_reverse): Likewise. 2014-01-13 Siva Chandra Reddy PR python/15464 PR python/16113 * gdb.python/py-type.c: Enhance test case. * gdb.python/py-value-cc.cc: Likewise * gdb.python/py-type.exp: Add new tests. * gdb.python/py-value-cc.exp: Likewise 2014-01-10 Andreas Arnez Pedro Alves * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol. Make "name" extern. * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace references to ${name}_start by references to ${name}. 2014-01-10 Joel Brobecker * gdb.ada/pp-rec-component.exp: Remove path from "source" test. 2014-01-10 Joel Brobecker * gdb.python/py-pp-integral.exp: Remove path from "source" test. 2014-01-09 Maciej W. Rozycki Pedro Alves * gdb.mi/mi-info-os.exp: Connect to the target with mi_gdb_target_load. 2014-01-08 Pedro Alves * gdb.threads/reconnect-signal.c: New file. * gdb.threads/reconnect-signal.exp: New file. 2014-01-07 Jan Kratochvil * gdb.base/source-dir.exp: New file. 2014-01-07 Joel Brobecker * gdb.ada/mi_interface: New testcase. 2014-01-07 Joel Brobecker * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py, gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb, gdb.ada/pp-rec-component/pck.ads: New files. 2014-01-07 Joel Brobecker * gdb.python/py-pp-integral.c: New file. * gdb.python/py-pp-integral.py: New file. * gdb.python/py-pp-integral.exp: New file. For older changes see ChangeLog-1993-2013. ;; Local Variables: ;; mode: change-log ;; left-margin: 8 ;; fill-column: 74 ;; version-control: never ;; End: 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.