Fix gdb.base/fork-running-state.exp race
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index cd99b84eb2e71b081fa8e1832347e28e1bc6f81d..5dd055385d75ac86ed7060b07ca5c8ab7d22e32b 100644 (file)
@@ -1,3 +1,419 @@
+2018-04-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
+       exits.  Instead loop running forever.
+       (fork_parent): Run forever too.
+
+2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
+       mi_continue_to_line.
+       * gdb.mi/mi-stack.c (callee4): Add comment.
+
+2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.mi/mi-stack.exp: Fix indentation.
+
+2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/22979
+       * gdb.arch/amd64-osabi.exp: New file.
+
+2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/22980
+       * gdb.base/osabi.exp: New file.
+
+2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
+
+       * gdb.cp/static-typedef-print.exp: New file.
+       * gdb.cp/static-typedef-print.cc: New file.
+
+2018-03-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/varsize_limit: New testcase.
+
+2018-03-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
+
+       * gdb.ada/notcplusplus: New testcase.
+
+       * gdb.base/c-linkage-name.c: New file.
+       * gdb.base/c-linkage-name.exp: New testcase.
+
+2018-03-26  Tom Tromey  <tom@tromey.com>
+
+       * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
+       * gdb.python/py-framefilter.py (name_error): New global.
+       (ErrorInName.function): Use name_error.
+
+2018-03-26  Tom Tromey  <tom@tromey.com>
+
+       PR backtrace/15582:
+       * gdb.python/py-framefilter.exp: Add "bt hide" test.
+
+2018-03-23  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/22968
+       * gdb.cp/subtypes.exp: New file.
+       * gdb.cp/subtypes.h: New file.
+       * gdb.cp/subtypes.cc: New file.
+       * gdb.cp/subtypes-2.cc: New file.
+
+2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
+       (done): Call '_exit' not 'exit' to avoid atexit handlers.
+       * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
+       -nostartfiles when compiling the test.  Confirm that all registers
+       xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
+
+2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
+       option, syntax was wrong anyway.
+       * gdb.arch/arm-disp-step.exp: Likewise.
+       * gdb.arch/sparc64-regs.exp: Likewise.
+       * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
+       option, syntax was wrong anyway, switch to use
+       prepare_for_testing.
+       * gdb.arch/i386-disp-step.exp: Likewise.
+
+2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.ada/exec_changed.exp: Replace "target_info exists
+       use_gdb_stub" by "use_gdb_stub".
+       * gdb.ada/start.exp: Likewise.
+       * gdb.base/async-shell.exp: Likewise.
+       * gdb.base/attach-pie-misread.exp: Likewise.
+       * gdb.base/attach-wait-input.exp: Likewise.
+       * gdb.base/break-entry.exp: Likewise.
+       * gdb.base/break-interp.exp: Likewise.
+       * gdb.base/dprintf-detach.exp: Likewise.
+       * gdb.base/nostdlib.exp: Likewise.
+       * gdb.base/solib-nodir.exp: Likewise.
+       * gdb.base/statistics.exp: Likewise.
+       * gdb.base/testenv.exp: Likewise.
+       * gdb.mi/mi-exec-run.exp: Likewise.
+       * gdb.mi/mi-start.exp: Likewise.
+       * gdb.multi/dummy-frame-restore.exp: Likewise.
+       * gdb.multi/multi-arch-exec.exp: Likewise.
+       * gdb.multi/multi-arch.exp: Likewise.
+       * gdb.multi/tids.exp: Likewise.
+       * gdb.multi/watchpoint-multi.exp: Likewise.
+       * gdb.python/py-events.exp: Likewise.
+       * gdb.threads/attach-into-signal.exp: Likewise.
+       * gdb.threads/attach-stopped.exp: Likewise.
+       * gdb.threads/threadapply.exp: Likewise.
+       * lib/selftest-support.exp: Likewise.
+
+2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/info-proc.exp: Add test for "info proc cmdline".
+
+2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
+
+       * gdb.perf/template-breakpoints.cc: New file.
+       * gdb.perf/template-breakpoints.exp: New file.
+       * gdb.perf/template-breakpoints.py: New file.
+
+2018-03-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.rs (main): Add local variables field1, field2,
+       y0.
+       * gdb.rust/simple.exp: Test bare identifier form of struct
+       initializer.
+
+2018-03-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.gdb/observer.exp: Remove.
+
+2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
+       "qualified" option when setting breakpoints.
+       * gdb.trace/backtrace.exp: Likewise.
+       * gdb.trace/circ.exp: Likewise.
+       * gdb.trace/collection.exp: Likewise.
+       * gdb.trace/disconnected-tracing.exp: Likewise.
+       * gdb.trace/ftrace-lock.exp: Likewise.
+       * gdb.trace/ftrace.exp: Likewise.
+       * gdb.trace/infotrace.exp: Likewise.
+       * gdb.trace/packetlen.exp: Likewise.
+       * gdb.trace/passc-dyn.exp: Likewise.
+       * gdb.trace/qtro.exp: Likewise.
+       * gdb.trace/read-memory.exp: Likewise.
+       * gdb.trace/report.exp: Likewise.
+       * gdb.trace/signal.exp: Likewise.
+       * gdb.trace/status-stop.exp: Likewise.
+       * gdb.trace/strace.exp: Likewise.
+       * gdb.trace/tfind.exp: Likewise.
+       * gdb.trace/trace-break.exp: Likewise.
+       * gdb.trace/trace-condition.exp: Likewise.
+       * gdb.trace/trace-mt.exp: Likewise.
+       * gdb.trace/tstatus.exp: Likewise.
+       * gdb.trace/tsv.exp: Likewise.
+       * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
+       * gdb.trace/unavailable.exp: Likewise.
+       * gdb.trace/while-dyn.exp: Likewise.
+
+2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
+       that libinproctrace is copied to the target.
+
+2018-03-14  Tom Tromey  <tom@tromey.com>
+
+       PR cli/14977:
+       * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
+       a null pointer.
+       * gdb.base/wchar.exp: Likewise.
+
+2018-03-14  Tom Tromey  <tom@tromey.com>
+
+       PR cli/19918:
+       * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
+       flag.
+
+2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/22841
+       * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
+       "target" to remote_exec.
+
+2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/22841
+       * boards/gdbserver-base.exp (${board}_file, ${board}_download,
+       ${board}_upload): Remove.
+
+2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.cp/watch-cp.cc: New test.
+       * gdb.cp/watch-cp.exp: New file.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/infcall-nested-structs.exp: New file.
+       * gdb.base/infcall-nested-structs.c: New file.
+       * gdb.base/float.exp: Add riscv support.
+
+2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
+       * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
+
+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
This page took 0.032842 seconds and 4 git commands to generate.