Add objfile-progspace to Guile interface
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index cd38459b698d82c3946cedcb6c4854ab298d4957..76dcde5d5917088b804156e16a4f3bd486ee6499 100644 (file)
@@ -1,3 +1,515 @@
+2015-03-11  Andy Wingo  <wingo@igalia.com>
+
+       * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
+
+2015-03-11  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/catch-syscall.exp: Fix typo in comments.
+
+2015-03-11  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
+
+2015-03-09  Pedro Alves  <palves@redhat.com>
+
+       * dg-extract-results.py: Delete.
+
+2015-03-09  Pedro Alves  <palves@redhat.com>
+
+       Merge dg-extract-results.sh from GCC upstream (r218843).
+
+       2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+               * 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  <palves@redhat.com>
+
+       * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
+
+2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/mi-support.exp (mi_expect_interrupt): Accept
+       alternative event for when in all-stop mode.
+
+2015-03-04  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
+
+2015-03-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
+
+2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * 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  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
+       the 'arch1' variable for "s390*-linux*" targets.
+
+2015-03-04  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
+       -1.
+
+2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-vregs.exp: New test.
+       * gdb.arch/s390-vregs.S: New file.
+
+2015-02-27  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <yao.qi@linaro.org>
+
+       * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
+       target.
+
+2015-02-26  Doug Evans  <dje@google.com>
+
+       * 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  <jan.kratochvil@redhat.com>
+
+       * gdb.compile/compile-ifunc.c: New file.
+       * gdb.compile/compile-ifunc.exp: New file.
+
+2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.base/structs.exp: Check for correct struct on finish.
+
+2015-02-26  Yao Qi  <yao.qi@linaro.org>
+
+       * lib/dwarf.exp (function_range): Adjust pattern when $func_length
+       is zero.
+
+2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * 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  <yao.qi@linaro.org>
+
+       * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
+       aarch64*-*-* target.
+
+2015-02-23  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (delete_breakpoints): Rewrite using
+       gdb_test_multiple.
+
+2015-02-23  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/info-os.c: Include stdlib.h.
+
+2015-02-22  Doug Evans  <xdje42@gmail.com>
+
+       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  <dje@google.com>
+
+       * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
+
+2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       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  <palves@redhat.com>
+
+       * gdb.threads/multi-create-ns-info-thr.exp: Return early if
+       runto_main fails.
+
+2015-02-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
+       info probes.
+
+2015-02-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/multi-create-ns-info-thr.exp: New file.
+
+2015-02-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
+       clean_restart before gdb_target_supports_trace.
+
+2015-02-20  Pedro Alves  <palves@redhat.com>
+
+       PR threads/18006
+       * gdb.threads/clone-thread_db.c: New file.
+       * gdb.threads/clone-thread_db.exp: New file.
+
+2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       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  <jose.marchesi@oracle.com>
+
+       * configure: Regenerated.
+       * configure.ac: Use GDB_AC_TRANSFORM.
+       * aclocal.m4: sinclude ../transform.m4.
+
+2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * 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  <jose.marchesi@oracle.com>
+
+       * 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  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
+
+2015-02-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * 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  <xdje42@gmail.com>
+
+       * lib/gdb.exp (gdb_load): Always return a result.
+
+2015-02-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/signal-sigtrap.c: New file.
+       * gdb.threads/signal-sigtrap.exp: New file.
+
+2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/no-attach-trace.c: New file.
+       * gdb.trace/no-attach-trace.exp: New file.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * gdb.dwarf2/atomic.c: New file.
+       * gdb.dwarf2/atomic-type.exp: Likewise.
+
+2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * 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  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/buffer-size: New.
+
+2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       PR gdb/15678
+       * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
+
+2015-02-06  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <donb@codesourcery.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <xdje42@gmail.com>
+
+       * gdb.base/maint.exp <maint print type argc>: Update expected output.
+
+2015-01-31  Gary Benson <gbenson@redhat.com>
+
+       * 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  <xdje42@gmail.com>
+
+       * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
+
+2015-01-31  Doug Evans  <xdje42@gmail.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * gdb.ada/disc_arr_bound: New testcase.
+
+2015-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_var_array: New testcase.
+
+2015-01-27  Doug Evans  <dje@google.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * 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  <mjw@redhat.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <mjw@redhat.com>
+
+       * 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  <palves@redhat.com>
+
+       * gdb.threads/continue-pending-after-query.c: New file.
+       * gdb.threads/continue-pending-after-query.exp: New file.
+
+2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * 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  <jan.kratochvil@redhat.com>
+
+       * gdb.compile/compile.exp (pointer to jit function): New test.
+
+2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
+
+       * lib/gdb.exp (supports_process_record): Return true for
+       powerpc*-*-linux*.
+       (supports_reverse): Likewise.
+
+2015-01-15  Don Breazeal  <donb@codesourcery.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * gdb.ada/var_arr_attrs: New testcase.
+
+2015-01-14  Pedro Alves  <palves@redhat.com>
+           Joel Brobecker  <brobecker@adacore.com>
+
+       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  <palves@redhat.com>
+
+       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  <dje@google.com>
+
+       * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
+       binary.
+
+2015-01-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (clean mostlyclean): Do not delete *.py.
+
+2015-01-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-lookup-type.exp: New file.
+
+2015-01-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-prompt.exp: When the board can't spawn for attach,
+       restore GDBFLAGS before returning.
+
+2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * 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  <xdje42@gmail.com>
+
+       * 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  <xdje42@gmail.com>
+
+       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  <palves@redhat.com>
+
+       * gdb.threads/non-stop-fair-events.c: New file.
+       * gdb.threads/non-stop-fair-events.exp: New file.
+
+2015-01-09  Pedro Alves  <palves@redhat.com>
+
+       * 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  <palves@redhat.com>
 
        * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
This page took 0.03669 seconds and 4 git commands to generate.