Prevent GCC from folding inline test functions
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 171784e697fa133edd238cb7ccc29179edd70b0e..b788c0f8eca4d859433a6aba5b03bf5036b2c883 100644 (file)
@@ -1,3 +1,350 @@
+2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <arnez@linux.vnet.ibm.com>
+
+       * 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 <gbenson@redhat.com>
+
+       * gdb.trace/pending.exp: Cope with remote transfer warnings.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/solib-list.exp: No longer expect an interior stop in
+       non-stop mode.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/connect-stopped-target.c: New file.
+       * gdb.server/connect-stopped-target.exp: New file.
+
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.dwarf2/comp-unit-lang.exp: New file.
+       * gdb.dwarf2/comp-unit-lang.c: New file.
+
+2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/attr_ref_and_charlit.exp: New testcase.
+       * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
+
+2015-08-19  Kevin Buettner  <kevinb@redhat.com>
+    
+       * 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  <dje@google.com>
+           Adrian Sendroiu <adrian.sendroiu@freescale.com>
+
+       * 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  <keiths@redhat.com>
+
+       * gdb.linespec/explicit.exp: Move strace test from here ...
+       * gdb.trace/strace.exp: ... to here.
+
+2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * 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  <xdje42@gmail.com>
+
+       * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
+       inferior before selecting a new file.
+
+2015-08-14  Doug Evans  <xdje42@gmail.com>
+
+       * 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  <keiths@redhat.com>
+
+       * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
+       "evaluated-by".
+
+2015-08-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/dso2dso.exp: Improve the testcase's documentation.
+
+2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * 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  <keiths@redhat.com>
+
+       * gdb.base/dso2dso.exp: Pass basename of source file in call to
+       gdb_get_line_number.
+
+2015-08-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+           Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
+       GDBFLAGS.
+
+2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * 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  <patrick@parcs.ath.cx>
+
+       * lib/gdb.exp (save_vars): New proc.
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/help.exp: Update help_breakpoint_text.
+
+2015-08-11  Keith Seitz  <keiths@redhat.com>
+
+       * 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  <keiths@redhat.com>
+
+       * 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  <keiths@redhat.com>
+
+       * gdb.base/dprintf-pending.exp: Update dprintf "without format"
+       test.
+       Add tests for missing ",FMT" and ",".
+
+2015-08-10  Doug Evans  <dje@google.com>
+           Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/17960
+       * gdb.base/completion.exp: Add location completer tests.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.base/valgrind-disp-step.c: New file.
+       * gdb.base/valgrind-disp-step.exp: New file.
+
+2015-08-07  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.base/checkpoint-ns.exp: New file.
+       * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
+       standard_testfile.
+
+2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * 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 <palves@redhat.com>
+
+       * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
+       increase timeout.
+       * gdb.reverse/until-precsave.exp: Bump timeouts.
+
+2015-08-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
+
+2015-08-06  Pedro Alves  <palves@redhat.com>
+
+       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  <palves@redhat.com>
+
+       * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
+       * gdb.threads/forking-threads-plus-breakpoint.c: New file.
+
+2015-08-05  Pedro Alves  <palves@redhat.com>
+
+       * 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  <sandra@codesourcery.com>
+
+       * gdb.base/bp-permanent.exp: Report test as unsupported if
+       the target cannot stop at the permanent breakpoint.
+
+2015-08-03  Doug Evans  <dje@google.com>
+
+       * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
+       10000.
+
+2015-08-03  Doug Evans  <dje@google.com>
+
+       * 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  <dje@google.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <sandra@codesourcery.com>
+
+       * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
+       4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
+       correct patch.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       Reapply:
+       2014-05-21  Mark Wielaard  <mjw@redhat.com>
+
+       * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Set the child's last
+       reported status to TARGET_WAITKIND_STOPPED.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+
+       PR threads/18600
+       * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
+       only shows inferior 1.
+
+2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR threads/18600
+       * gdb.threads/fork-plus-threads.c: New file.
+       * gdb.threads/fork-plus-threads.exp: New file.
+
 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
 
        * gdb.base/batch-preserve-term-settings.exp
        (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
        of $GDB_PARALLEL.
 
+2015-07-24  Doug Evans  <dje@google.com>
+
+       * 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  <dje@google.com>
 
        * gdb.perf/README: New file.
This page took 0.030102 seconds and 4 git commands to generate.