Make "bt N" print correct number of frames when using a frame filter
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 87ec2471295600b90361696e11fb259ab9fd1fa7..be173ec34b84892326129431db464645e718517e 100644 (file)
@@ -1,3 +1,478 @@
+2018-02-26  Tom Tromey  <tom@tromey.com>
+
+       PR python/16497:
+       * gdb.python/py-framefilter.exp: Update test.
+
+2018-02-26  Tom Tromey  <tom@tromey.com>
+
+       * gdb.dwarf2/variant.c: New file.
+       * gdb.dwarf2/variant.exp: New file.
+
+2018-02-26  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Accept more possible results in enum test.
+
+2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/cp-support.exp (cp_test_ptype_class): Move space inside
+       parentheses.
+
+2018-02-23  Maciej W. Rozycki  <macro@mips.com>
+
+       * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
+       name of a variable: $actual_linejj -> $actual_line.
+
+2018-02-21  John Baldwin  <jhb@FreeBSD.org>
+
+       * gdb.arch/amd64-i386-address.exp: Fix a typo.
+
+2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/buffer-size.exp: Do not force BTS.
+
+2018-02-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
+       getting a "Quit".
+
+2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
+       Fix test name.
+
+2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.cp/m-static.exp: Check type of optimized out static
+       member.
+
+2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/sid.exp (gdb_target_sid): Remove use of cleanup.
+       * config/sim.exp (gdb_target_sim): Remove use of cleanup.
+
+2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
+           Leszek Swirski  <leszeks@google.com>
+
+       * gdb.python/py-prettyprint.c
+       (struct to_string_returns_value_inner,
+       struct to_string_returns_value_wrapper): New.
+       (main): Add tsrvw variable.
+       * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
+       ToStringReturnsValueWrapper): New classes.
+       (register_pretty_printers): Register new pretty-printers.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
+       recursive pretty printer.
+       * gdb.python/py-mi.exp: Likewise.
+
+2018-02-01  Leszek Swirski  <leszeks@google.com>
+
+       * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
+       functions with the same name as an include file are parsed
+       correctly.
+
+2018-02-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/attach.exp (do_attach_tests): Set sysroot to
+       "\[^\r\n\]*".
+
+2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
+
+       * gdb.arch/powerpc-prologue-frame.s: New file.
+       * gdb.arch/powerpc-prologue-frame.c: Likewise.
+       * gdb.arch/powerpc-prologue-frame.exp: Likewise.
+
+2018-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
+
+2018-01-30  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/13211
+       * gdb.base/interrupt-daemon.c: New.
+       * gdb.base/interrupt-daemon.exp: New.
+       * gdb.multi/multi-term-settings.c: New.
+       * gdb.multi/multi-term-settings.exp: New.
+
+2018-01-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/break.exp: Save the location where the breakpoint
+       on break.c:47 was actually inserted when debugging the version
+       compiled at -O2 and use it in the expected output of the "info
+       break" test performed soon after.
+
+2018-01-22  Pedro Alves  <palves@redhat.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/whatis.exp: Add tests for 'set print object on' +
+       'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
+
+2018-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/break-include.c, gdb.base/break-include.inc,
+       gdb.base/break-include.exp: New files.
+       * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
+       line number now being the actual line number where the breakpoint
+       was inserted.
+       * gdb.mi/mi-break.exp: Likewise.
+       * gdb.mi/mi-reverse.exp: Likewise.
+       * gdb.mi/mi-simplerun.exp: Ditto.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-mi.exp: Don't expect a thread-id for floating
+       varobj.
+       * gdb.mi/mi-var-create-rtti.exp: Likewise.
+
+2018-01-21  Don Breazeal  <donb@codesourcery.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/basics.c: Add new global.
+       * gdb.mi/mi-frame-regs.exp: New file.
+       * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
+       case.
+
+2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/amd64-entry-value.exp: Test using @entry on a
+       non-parameter, and on an unknown symbol.
+
+2018-01-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/modules.rs (TWENTY_THREE): New global.
+       * gdb.rust/modules.exp: Add ::-qualified lookup test.
+
+2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
+       setrlimit and chdir to int.
+
+2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
+       function.
+       (my_tend): Likewise.
+       * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
+       rationale of avoiding FP- and vector instructions.
+
+2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
+
+       * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
+       "info reg" with "\[ \t\]*".
+       * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
+       "\[ \t\]+".
+       * gdb.arch/s390-multiarch.exp: Ditto.
+       * gdb.base/pc-fp.exp: Ditto.
+       * gdb.reverse/i386-precsave.exp: Ditto.
+       * gdb.reverse/i386-reverse.exp: Ditto.
+       * gdb.reverse/i387-env-reverse.exp: Ditto.
+       * gdb.reverse/i387-stack-reverse.exp: Ditto.
+
+2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * lib/gdb.exp (gdb_compile): Re-enable use of
+       universal_compile_options for languages other than Rust.
+
+2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
+
+2018-01-17  Mike Gulick  <mgulick@mathworks.com>
+
+       PR gdb/16577
+       * gdb.base/solib-vanish.exp: New.
+       * gdb.base/solib-vanish-main.c: New.
+       * gdb.base/solib-vanish-lib1.c: New.
+       * gdb.base/solib-vanish-lib2.c: New.
+
+2018-01-17  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.compile/compile.exp: Match the address printed for
+       frame in the output of command "bt".
+
+2018-01-15  Tom Tromey  <tom@tromey.com>
+
+       * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
+       compute sp_reg.
+
+2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
+       to prepare.
+       (prepare): Return 0 on error, 1 on success.
+
+2018-01-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/continue-after-aborted-step-over.c: New.
+       * gdb.base/continue-after-aborted-step-over.exp: New.
+
+2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
+       options when not creating an executable.
+
+2018-01-11  Pedro Alves  <palves@redhat.com>
+
+       PR remote/22597
+       * gdb.server/stop-reply-no-thread.c: New file.
+       * gdb.server/stop-reply-no-thread.exp: New file.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
+       functions too.  Test setting breakpoints and printing C functions
+       with no debug info too.
+       * gdb.ada/bp_c_mixed_case/qux.c: New file.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
+       a fail.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
+
+2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.server/unittest.exp: Match the output in non-development
+       mode.
+
+2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.gdb/unittest.exp: Match output in non-development mode.
+
+2018-01-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/access_tagged_param.exp: Relax expected output
+       for value of "ObjL" in "continue" to pck.inspect breakpoint
+       test.
+
+2018-01-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/arr_enum_idx_w_gap.exp: New file.
+       * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
+
+2018-01-05  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/18653
+       * gdb.base/libsegfault.exp: New.
+
+2018-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/access_tagged_param.exp: New file.
+       * gdb.ada/access_tagged_param/foo.adb: New file.
+
+2018-01-05  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
+       exercise lower case too, and to exercise both full matching and
+       wild matching.
+
+2018-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/rename_subscript_param: New testcase.
+
+2018-01-05  Jerome Guitton  <guitton@adacore.com>
+
+       * gdb.ada/arr_acc_idx_w_gap: New testcase.
+
+2018-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/convvar_comp: New testcase.
+
+2018-01-05  Xavier Roirand  <roirand@adacore.com>
+
+       * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
+       (My_Table): New global variable.
+       * testsuite/gdb.ada/array_char_idx.exp: Add test.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/maint_with_ada: New testcase.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/bp_c_mixed_case: New testcase.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/complete.exp: Add "complete break ada" test.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/info_addr_mixed_case: New testcase.
+
+2018-01-03  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/excep_handle.exp: New testcase.
+       * gdb.ada/excep_handle/foo.adb: New file.
+       * gdb.ada/excep_handle/pck.ads: New file.
+
+2018-01-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/step-line.c: Add extra empty line in copyright header.
+       * gdb.base/step-line.inp: Likewise.
+
+2018-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/dyn_stride.exp: Add slice test.
+
+2018-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/dyn_stride: New testcase.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.xml/extra-regs.xml: Add example foo reggroup.
+       * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.base/reggroups.c: New file.
+       * gdb.base/reggroups.exp: New file.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/ada-valprint-error.c: New file.
+       * gdb.dwarf2/ada-valprint-error.exp: New file.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/assign_arr: New testcase.
+
+2017-12-18  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/funcall_ptr: New testcase.
+
+2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR cli/16224
+       * gdb.base/ptype-offsets.cc: New file.
+       * gdb.base/ptype-offsets.exp: New file.
+
+2017-12-15  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
+       if XML is disabled.
+
+2017-12-15  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/same_component_name: New testcase.
+
+2017-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/str_binop_equal: New testcase.
+
+2017-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/task_switch_in_core: New testcase.
+
+2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
+       * gdb.python/py-breakpoint.exp: Compile the test case as c++,
+       call test_bkpt_qualified.
+       (test_bkpt_qualified): New proc.
+
+2017-12-13  Pedro Alves  <palves@redhat.com>
+
+       * lib/completion-support.exp (test_gdb_complete_tab_multiple):
+       Tighten regexp by matching with an anchor.
+
+2017-12-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/cpcompletion.exp: Load completion-support.exp.
+       ("expression with namespace"): New set of tests.
+       * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
+       (Nested::Test_NS::qux): New.
+       * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
+       defaults to 'start_quote_char' and 'end_quote_char' parameters.
+
+2017-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/server-del-break.c: New file.
+       * gdb.base/server-del-break.exp: New file.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.xml/tdesc-regs.exp: Add or1k support.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.base/bp-permanent.c: Define nop of or1k.
+
+2017-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
+       output with components being reordered.
+
+2017-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
+       output with components being reordered.
+
+2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/maint.exp (check for .gdb_index): Check also for
+       .debug_names.
+       * gdb.dlang/watch-loc.c (.debug_aranges): New.
+       * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
+       * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
+       (.gdb_index used after symbol reloading): Support also .debug_names.
+       * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c (main): Update.
+       * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c (main): Update.
+       * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c: New file.
+       * gdb.arch/aarch64-tagged-pointer.exp: New file.
+
+2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
+       "int".
+
+2017-12-07  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/22569
+       * gdb.linespec/ls-errs.exp: Change expected result of "break
+       -source this file has spaces.c -line 3".
+       Check that an explicit source file followed by whitespace is
+       identified as an invalid explicit location.
+
+2017-12-07  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/nested-types.cc: New file.
+       * gdb.cp/nested-types.exp: New file.
+       * lib/cp-support.exp: Load data-structures.exp library.
+       (debug_cp_test_ptype_class): New global.
+       (cp_ptype_class_verbose, next_line): New procedures.
+       (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
+       Add and document new return value.
+       Switch the list of lines to a queue.
+       Add support for new `type' key for nested type definitions.
+       Add debugging/troubleshooting messages.
+       * lib/data-structures.exp: New file.
+
 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
 
        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
        instead of on dejagnu remote boards.
 
 2017-10-12  Pedro Alves  <palves@redhat.com>
-           Simon Marchi <simon.marchi@polymtl.ca>
+           Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdb.base/inferior-died.exp: Remove is_remote and isnative
        checks.  Use build_executable + clean_restart instead of
@@ -12955,6 +13430,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2017 Free Software Foundation, Inc.
+    Copyright 2014-2018 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.032814 seconds and 4 git commands to generate.