record-btrace: extend unwinder
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 45cfccba1245a97e0d14d0f09b47ee1bc3242386..85e63bb68331546d88b77c4be653c29a5fc985f1 100644 (file)
@@ -1,3 +1,528 @@
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/record_goto.exp: Add backtrace test.
+       * gdb.btrace/tailcall.exp: Add backtrace test.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
+       * gdb.btrace/record_goto.c: New.
+       * gdb.btrace/record_goto.exp: New.
+       * gdb.btrace/x86-record_goto.S: New.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/function_call_history.exp: Update tests.
+       * gdb.btrace/instruction_history.exp: Update tests.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/function_call_history.exp: Fix expected field
+       order for "record function-call-history".
+       Add new tests for "record function-call-history /c".
+       * gdb.btrace/exception.cc: New.
+       * gdb.btrace/exception.exp: New.
+       * gdb.btrace/tailcall.exp: New.
+       * gdb.btrace/x86-tailcall.S: New.
+       * gdb.btrace/x86-tailcall.c: New.
+       * gdb.btrace/unknown_functions.c: New.
+       * gdb.btrace/unknown_functions.exp: New.
+       * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/instruction_history.exp: Update.
+       * gdb.btrace/function_call_history.exp: Update.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/function_call_history.exp: Fix expected function
+       trace.
+       * gdb.btrace/instruction_history.exp: Initialize traced.
+       Remove traced_functions.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/function_call_history.exp: Update
+       * gdb.btrace/instruction_history.exp: Update.
+
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/enable.exp: Update expected text.
+
+2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
+
+       * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
+       bytes.
+
+2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
+
+2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
+
+       * lib/gdb.exp (supports_process_record): Return true for
+       arm*-linux*.  (supports_reverse): Likewise.
+
+2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR python/15464
+       PR python/16113
+       * gdb.python/py-type.c: Enhance test case.
+       * gdb.python/py-value-cc.cc: Likewise
+       * gdb.python/py-type.exp: Add new tests.
+       * gdb.python/py-value-cc.exp: Likewise
+
+2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+           Pedro Alves <palves@redhat.com>
+
+       * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
+       Make "name" extern.
+       * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
+       references to ${name}_start by references to ${name}.
+
+2014-01-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
+
+2014-01-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-pp-integral.exp: Remove path from "source" test.
+
+2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.mi/mi-info-os.exp: Connect to the target with
+        mi_gdb_target_load.
+
+2014-01-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/reconnect-signal.c: New file.
+       * gdb.threads/reconnect-signal.exp: New file.
+
+2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/source-dir.exp: New file.
+
+2014-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_interface: New testcase.
+
+2014-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
+       gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
+       gdb.ada/pp-rec-component/pck.ads: New files.
+
+2014-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-pp-integral.c: New file.
+       * gdb.python/py-pp-integral.py: New file.
+       * gdb.python/py-pp-integral.exp: New file.
+
+2013-12-19  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/16297
+       * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
+       (write_syscall): New variables.
+       (main): Create a pipe, write 1 byte in it, and read 1 byte from
+       it.
+       * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
+       "write" and "read" syscalls.
+       (fill_all_syscalls_numbers): Improve the way to obtain syscalls
+       numbers.
+
+2013-12-19  Keven Boell  <keven.boell@intel.com>
+
+       * gdb.fortran/module.exp: Completion matches fortran module
+       names as well. ptype/whatis on modules return a proper type.
+       Add new check for having the correct scope.
+
+2013-12-19  Keven Boell  <keven.boell@intel.com>
+
+       * gdb.fortran/type.f90: New file.
+       * gdb.fortran/whatis_type.f90: New file.
+
+2013-12-18  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
+       (close_syscall, chroot_syscall, exit_group_syscall): New
+       variables.
+       * gdb.base/catch-syscall.exp: Replace gdb_compile by
+       prepare_for_testing.  Call fill_all_syscalls_numbers before
+       starting.  Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
+       gdb_load by clean_restart.
+       (check_info_bp_any_syscall, check_info_bp_specific_syscall)
+       (check_info_bp_many_syscalls): Remove global gdb_prompt.
+       (check_call_to_syscall): Likewise.  Add global decimal.  Improve
+       testing regex.
+       (check_return_from_syscall): Likewise.
+       (check_continue, insert_catch_syscall_with_arg): Remove global
+       gdb_prompt.
+       (insert_catch_syscall_with_many_args): Likewise.  Add global
+       decimal.  Fix $filter_str.  Improve testing regex.
+       (check_for_program_end): Remove global gdb_prompt.
+       (test_catch_syscall_without_args): Likewise.  Add global decimal.
+       Improve testing regex.
+       (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
+       (test_catch_syscall_with_wrong_args)
+       (test_catch_syscall_restarting_inferior)
+       (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
+       (do_syscall_tests): Likewise.  Remove global srcdir.
+       (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
+       Add global last_syscall_number.  Test for the exact syscall number
+       to be caught.
+       (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
+       Add global all_syscalls_numbers.  Test each syscall number to be
+       caught, instead of only testing "close".
+       (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
+       (do_syscall_tests_without_xml): Likewise.  Remove global srcdir.
+       Remove stale comment.
+       (fill_all_syscalls_numbers): Add global last_syscall_number.  Fill
+       the correct syscall numbers using information from the inferior.
+
+2013-12-17  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/circ.exp: Expect frame info to be printed when
+       switching between frames with unavailable stack, but different
+       functions.
+
+2013-12-17  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.trace/unavailable-dwarf-piece.c: New file.
+       * gdb.trace/unavailable-dwarf-piece.exp: New file.
+
+2013-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.perf/skip-prologue.c: New.
+       * gdb.perf/skip-prologue.exp: New.
+       * gdb.perf/skip-prologue.py: New.
+
+2013-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/arraydim: New testcase.
+
+2013-12-12  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR python/16113
+       * gdb.python/py-value-cc.cc: Improve test case.
+       * gdb.python/py-value-cc.exp: Add new tests to test usage of
+       gdb.Field objects as subscripts on gdb.Value objects.
+
+2013-12-10  Doug Evans  <dje@google.com>
+
+       PR 16286
+       * gdb.python/py-value.c: #include stdlib.h, string.h.
+       (str): New struct.
+       (main): New local xstr.
+       * gdb.python/py-value.exp (test_value_in_inferior): Add test to
+       fetch a value as a string with a length beyond the declared length
+       of the array.
+
+2013-12-10  Andrew Burgess  <aburgess@broadcom.com>
+
+       * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
+       update comment.
+
+2013-12-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/int_deref.exp: Add test verifying that we print
+       the decoded symbol name when printing the address of Ada
+       symbols.
+
+2013-12-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.mi/mi-start.exp: Add test verifying that -list-features
+       contains "exec-run-start-option".
+
+2013-12-08  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
+       (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
+       (is_64_target, is_amd64_regs_target): Likewise.
+       (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
+       * gdb.base/testenv.c: Likewise.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
+       * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
+       * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
+
+2013-12-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
+       * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
+       * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
+
+2013-12-06  Doug Evans  <dje@google.com>
+
+       * gdb.base/break.exp: Fix setting of $baz.
+
+2013-12-06  Andrew Burgess  <aburgess@broadcom.com>
+
+       * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
+       DW_OP_plus_uconst.
+
+2013-12-06  Keven Boell  <keven.boell@intel.com>
+
+       * lib/mi-support.exp (mi_list_varobj_children_range): Add
+       call to mi_list_array_varobj_children_with_index.
+       (mi_list_array_varobj_children_with_index): New function.
+       Add parameter to specify array start.
+
+2013-12-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
+       SIGPWR in sparc64.
+
+       * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
+       have the same signal number.  Handle this situation.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/dot_all: New testcase.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.mi/mi-undefined-cmd.exp: New testcase.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.mi/mi-i-cmd.exp: New file.
+
+2013-12-02  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
+       at start.
+       * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
+       has been specified with a relative path and we have chdir'd before
+       accessing the debug info.
+
+2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
+       expected results.
+       (gdb_collect_locals_test): Likewise.
+       (gdb_collect_globals_test): Likewise.
+
+2013-11-28  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (with_gdb_prompt): New proc.
+       * gdb.perf/disassemble.exp: New.
+       * gdb.perf/disassemble.py: New.
+
+2013-11-26  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.base/callfuncs.c (main): Assign malloc's return value
+       and free it afterwards.
+       * gdb.base/charset-malloc.c (malloc_stub): Likewise.
+       * gdb.base/printcmds.c (main): Likewise.
+       * gdb.base/randomize.c (main): Free "p" and change breakpoint
+       marker position.
+       * gdb.base/setvar.c (dummy): Assign malloc's return value
+       and free it afterwards.
+
+2013-11-26  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
+       gdb_test_multiple.
+
+2013-11-26  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
+       * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
+       * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
+
+2013-11-25  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/14819
+       * gdb.cp/impl-this.cc: New file.
+       * gdb.cp/impl-this.exp: New file.
+
+2013-11-25  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.perf/backtrace.c: New.
+       * gdb.perf/backtrace.exp: New.
+       * gdb.perf/backtrace.py: New.
+
+2013-11-24  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.perf/single-step.c: New.
+       * gdb.perf/single-step.exp: New.
+       * gdb.perf/single-step.py: New.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
+       with ignore count".
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
+       (test_subscript_regression): Ditto.
+       (top level): Run test_subscript_regression for c++ with "c++" prefix.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-type.exp (test_enums): Fix typo.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-symbol.exp: Add some comments.  Make all test names
+       unique.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-symbol.exp: Fix whitespace.
+
+2013-11-23  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/python.exp: Don't call skip_python_tests, we still want
+       to test some things in the case where python is not configured in.
+
+2013-11-22  Pedro Alves  <palves@redhat.com>
+
+       * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
+       * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this.  Adjust.
+       * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
+       * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
+       * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
+       * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
+
+2013-11-22  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
+
+2013-11-22  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/dw2-bad-cfi.c: New file.
+       * gdb.dwarf2/dw2-bad-cfi.exp: New file.
+       * gdb.dwarf2/dw2-bad-cfi.S: New file.
+
+2013-11-22  Pedro Alves  <palves@redhat.com>
+
+       PR 16155
+       * gdb.dwarf2/dw2-dup-frame.S: New file.
+       * gdb.dwarf2/dw2-dup-frame.c: New file.
+       * gdb.dwarf2/dw2-dup-frame.exp: New file.
+
+2013-11-22  Yao Qi  <yao@codesourcery.com>
+
+       * lib/mi-support.exp (mi_create_dynamic_varobj): Update
+       comment and add one more argument "has_more".
+       * gdb.python/py-mi.exp: Callers update.
+
+2013-11-22  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
+       of mi_create_dynamic_varobj.
+
+2013-11-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/maint.exp (maint print objfiles): Consume one line at a
+       time, and run it through all three milestone regexes.
+
+2013-11-20  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/eval-avoid-side-effects.exp: New file.
+
+2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * gdb.arch/i386-mpx.c: New file
+       * gdb.arch/i386-mpx.exp: New file.
+
+2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * gdb.python/py-pp-maint.exp: Consider new pretty-print added 
+       for bnd registers.
+
+2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
+       start and end equal 0.
+
+2013-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
+       (mi_list_varobj_children_range): Likewise.
+
+2013-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
+
+2013-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * lib/mi-support.exp: Fix format.
+
+2013-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/py_range: New testcase.
+
+2013-11-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi-language.exp: Add "-list-features" test verifying that
+       its output contains "language-option".
+
+2013-11-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
+       * info_exc/foo.adb: Adjust to new exception name.
+       * info_exc.exp: Adjust after exception renaming in const.ads.
+       Update "info exception global" test to test "info exceptions
+       global_gdb" instead.
+
+       * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
+       * mi_exc_info/foo.adb (Adjust to new exception name.
+       * mi_exc_info.exp: Adjust after exception renaming in const.ads.
+       Update "-info-ada-exceptions global" test to test
+       "-info-ada-exceptions global_gdb" instead.
+
+2013-11-15  Luis Machado  <lgustavo@codesourcery.com>
+
+       * lib/mi-support.exp (mi_gdb_test): Expect different formats
+       of inferior output for remote and native sessions.
+       * gdb.mi/mi-console.exp: Remove obsolete comment.
+       Check for semihosted inferior output pattern.
+       (semihosted_string): New function.
+
+2013-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/info_exc.exp: Allow other global exceptions to be
+       listed in the output of "info exceptions".
+       * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
+       listed in the output of "-info-ada-exceptions".
+
+2013-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/info_exc.exp: Start inferior before starting
+       the "info exceptions" tests.
+       * gdb.ada/mi_exc_info.exp: Start inferior before starting
+       the "-info-ada-exceptions" tests.
+
+2013-11-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/includefile: New file.
+       * gdb.cp/filename.exp: New file.
+       * gdb.cp/filename.cc: New file.
+
+2013-11-15  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-breakpoint.exp: Make tests have unique names.
+
+2013-11-15  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
+
+2013-11-15  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.python/py-breakpoint.exp: Split up into several functions,
+       each with their own test prefix.
+
 2013-11-15  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.ada/O2_float_param: New testcase.
@@ -33255,6 +33780,6 @@ Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
 ;; version-control: never
 ;; End:
 
-    Copyright 1993-2013 Free Software Foundation, Inc.
+    Copyright 1993-2014 Free Software Foundation, Inc.
   Copying and distribution of this file, with or without modification,
   are permitted provided the copyright notice and this notice are preserved.
This page took 0.045703 seconds and 4 git commands to generate.