List inferiors/threads/pspaces in ascending order
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index d530c25335eb3ec6d47c269b95abf4802eafef38..9e050c27f7c4ca9fd6776ecaa153181613992469 100644 (file)
@@ -1,3 +1,402 @@
+2015-11-24  Pedro Alves  <palves@redhat.com>
+
+       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  <palves@redhat.com>
+
+       * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
+       use lowercase.
+
+2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * 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  <kevinb@redhat.com>
+
+       * gdb.base/asmlabel.exp: New test.
+       * gdb.base/asmlabel.c: New test case.
+
+2015-11-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
+
+2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * 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  <jose.marchesi@oracle.com>
+
+       * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
+
+2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * 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  <vogt@linux.vnet.ibm.com>
+
+       * lib/dwarf.exp (_note): Fix left shift of negative value.
+       * gdb.trace/trace-condition.exp: Likewise.
+
+2015-11-13  Yao Qi  <yao.qi@linaro.org>
+
+       * 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  <yao.qi@linaro.org>
+
+       * 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  <koriakin@0x04.net>
+
+       * 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  <koriakin@0x04.net>
+
+       * 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  <brobecker@adacore.com>
+
+       * gdb.ada/fin_fun_out: New testcase.
+
+2015-11-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * 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  <kevinb@redhat.com>
+
+       * 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  <kevinb@redhat.com>
+
+       * 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  <jan.kratochvil@redhat.com>
+           Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
+
+2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * 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  <koriakin@0x04.net>
+
+       * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
+
+2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * 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  <yao.qi@linaro.org>
+
+       * 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  <koriakin@0x04.net>
+
+       * 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  <jan.kratochvil@redhat.com>
+
+       * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       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  <dje@google.com>
+
+       PR python/18938
+       * gdb.python/python.exp: Add test for symlink from .py file to .notpy
+       file.
+
+2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.compile/compile.exp (compile code globalvar): Update expectation
+       for a change by "Mention language in compile error message".
+
+2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       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  <keven.boell@intel.com>
+
+       * 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  <sandra@codesourcery.com>
+
+       * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
+       of hardwired timeout value.
+
+2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.dwarf2/dw2-regno-invalid.exp: New file.
+       * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
+
+2015-10-19  Josh Stone  <jistone@redhat.com>
+
+       * gdb.base/catch-syscall.c: Include <sched.h>.
+       (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  <ams@codesourcery.com>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       * gdb.base/dbx.exp (test_func): Remove xfails, update expected
+       results.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/disp-step-insn-reloc.exp: New test case.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * lib/gdb.exp (support_displaced_stepping): Return 1 if target
+       is aarch64*-*-linux*.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * 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  <derodat@adacore.com>
+
+       * gdb.base/nested-addr.c: New file.
+       * gdb.base/nested-addr.exp: New testcase.
+
+2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * 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  <palves@redhat.com>
+
+       * 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  <ibuclaw@gdcproject.org>
+
+       * gdb.dlang/properties.exp: New file.
+
+2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * 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  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-type.exp: Do not run tests if binaries fail to
+       build.
+
 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
 
        * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
        * 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.
 
This page took 0.029628 seconds and 4 git commands to generate.