X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=6c836b64723c1dfe903b9f6d188cbe8e63152279;hb=4bc4d42859e3b42c79c89295ef39944bdb3e6753;hp=6009cdbe76cce2e15311904331727e1407da9ef3;hpb=fbd8d50de232dcc7efa5ac4531adb72af2439977;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6009cdbe76..6c836b6472 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,454 @@ +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/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): @@ -146,7 +597,7 @@ * gdb.mi/mi-dprintf-pendshr.c: New file. 2015-06-10 Walfred Tedeschi - Mircea Gherzan + Mircea Gherzan * gdb.arch/i386-mpx-map.c: New file. * gdb.arch/i386-mpx-map.exp: New File. @@ -665,7 +1116,7 @@ 2015-04-07 Pedro Alves - * lib/gdb.exp (gdb_test_multiple): When processing an argument, + * lib/gdb.exp (gdb_test_multiple): When processing an argument, append the substituted item, not the original item. 2015-04-07 Pedro Alves @@ -3450,7 +3901,7 @@ (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 + calls to test_follow_fork and reset GDB for subsequent procedure calls. 2014-06-17 Yao Qi @@ -5215,7 +5666,7 @@ Pedro Alves * gdb.mi/mi-info-os.exp: Connect to the target with - mi_gdb_target_load. + mi_gdb_target_load. 2014-01-08 Pedro Alves