Make gdbserver work with filename-only binaries
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 4f708f0bfe66ca6cc428e43fe611b3433cf22a84..63c6263af7befb64afc84d60cc212e4f95705f3a 100644 (file)
@@ -1,3 +1,364 @@
+2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.server/abspath.exp: New file.
+       * lib/gdb.exp (with_cwd): New procedure.
+
+2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
+       use it.
+       (gdb_is_target_remote_prompt): New proc.
+       (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
+       (gdb_is_target_native): Pass prompt parameter to
+       gdb_is_target_1.
+
+2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/load-command.c: New file.
+       * gdb.base/load-command.exp: New file.
+       * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
+       (gdb_is_target_1): ...this, and generalize for other targets
+       than just remote.
+       (gdb_is_target_remote): Use gdb_is_target_1.
+       (gdb_is_target_native): use gdb_is_target_1.
+
+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.
@@ -13093,6 +13454,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.070693 seconds and 4 git commands to generate.