batch-preserve-term-settings.exp: use send_quit_command some more
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 535a540a2686b1cd893a6cb413be6ffc1d1ad206..171784e697fa133edd238cb7ccc29179edd70b0e 100644 (file)
@@ -1,3 +1,297 @@
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb.base/batch-preserve-term-settings.exp
+       (test_terminal_settings_preserved_after_cli_exit): Use
+       send_quit_command.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+           Don Breazeal  <donb@codesourcery.com>
+
+       * 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  <sergiodj@redhat.com>
+
+       * gdb.threads/attach-into-signal.exp (corefunc): Use
+       with_test_prefix on nested loops, uniquefying the test messages.
+
+2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
+       commit.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * 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  <patrick@parcs.ath.cx>
+
+       * gdb.base/batch-preserve-term-settings.exp
+       (test_terminal_settings_preserved_after_cli_exit): New test.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * 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  <palves@redhat.com>
+
+       * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
+       at the top.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
+       send_inferior and $inferior_spawn_id.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.base/varargs.exp: Use gdb_test_stdio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/shlib-call.exp: Use gdb_test_stdio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/ending-run.exp: Use gdb_test_stdio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
+       of gdb_test_sequence.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
+       gdb_test_stdio.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_test_stdio): New procedure.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
+
+2015-07-29  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <sergiodj@redhat.com>
+
+       * gdb.python/py-objfile.exp: Make some tests have unique names.
+       * gdb.python/py-pp-registration.exp: Likewise.
+
+2015-07-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/server-exec-info.exp: Issue a "disconnect".
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
+
+2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb.base/gdb-sigterm-2.exp: New test.
+
+2015-07-25  Doug Evans  <xdje42@gmail.com>
+
+       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  <dje@google.com>
+
+       * 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  <dje@google.com>
+
+       * 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  <dje@google.com>
+
+       * lib/gdb.exp (clean_restart): Make executable optional.
+
+2015-07-24  Doug Evans  <dje@google.com>
+
+       * 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  <dje@google.com>
+
+       * 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  <dje@google.com>
+
+       * 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  <sergiodj@redhat.com>
+
+       * gdb.base/catch-syscall.exp: Call gdb_exit before
+       gdb_skip_xml_test.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
 
        PR gdb/18717
This page took 0.030429 seconds and 4 git commands to generate.