X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=892b0d34a491ef291620e405c98eeffd86c5a0b0;hb=a22df60ad216517bbca4b391bec09f9ded06ab7b;hp=a44cba2bce0c8450b976082edb9ed8a32249d3dc;hpb=ba881f505ba211ffee59e68617cd1a02a7b4737b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a44cba2bce..892b0d34a4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,580 @@ +2016-04-18 Martin Galvan + + * gdb.dwarf2/implref.exp: New file. + +2016-04-18 Bernhard Heckel + + * gdb.fortran/common-block.exp: Use type naming defined in lib fortran. + * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran. + * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran. + * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran. + * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran. + * lib/fortran.exp (fortran_int4): New procedure. + (fortran_real4, fortran_real8, fortran_complex4): Likewise. + (fortran_logical4): Likewise. + +2016-04-18 Benrhard Heckel + + * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler. + +2016-04-18 Bernhard Heckel + + * lib/compiler.c: Add Intel specific preprocessor macros. + * lib/compiler.cc: Likewise. + +2016-04-13 Luis Machado + + * gdb.server/connect-with-no-symbol-file.c: New file. + * gdb.server/connect-with-no-symbol-file.exp: New file. + +2016-04-13 Simon Marchi + + * lib/gdb.exp (gdb_remote_download): Fix and extend comment. + +2016-04-13 Simon Marchi + + * boards/gdbserver-base.exp (${board}_download): Copy source file to + standard output directory. + +2016-04-13 Antoine Tremblay + + * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase. + +2016-04-13 Markus Metzger + + * gdb.btrace/instruction_history.c (loop): Add declaration. + +2016-04-12 Antoine Tremblay + + * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond". + +2016-04-09 Simon Marchi + + * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add + parentheses to print. + (continue_handler): Likewise. + +2016-04-08 Simon Marchi + + * gdb.server/solib-list.exp: Remove is_remote check. + Pass shlib= to gdb_compile. Don't link shared library with + -soname. Call gdb_remote_download instead of gdb_load_shlibs. + Run binary filename through "readlink -f" on the target. + +2016-04-08 Pedro Alves + + * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the + interpreter filename as argument to gdbserver_spawn. + * lib/gdbserver-support.exp (gdbserver_download_current_prog): + Return empty if $last_loaded_file does not exist. + +2016-04-08 Jan Kratochvil + + Fix compatibility with gcc-4.8.5-4.el7.x86_64. + * gdb.base/jit-main.c: Use exit after usage. + +2016-04-07 Jan Kratochvil + + * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and + GDBHISTSIZE prior to the tests. + * gdb.base/gdbinit-history.exp: Likewise. + +2016-04-07 Pedro Alves + + * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option + instead of build_executable. Use gdb_load_shlibs. + +2016-04-07 Yao Qi + + * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint. + Execute "si" command. + +2016-04-07 Yao Qi + + * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint + number instead of the comments on some line. + +2016-04-06 Don Breazeal + + * gdb.dwarf2/dw2-opt-structptr.c: New test program. + * gdb.dwarf2/dw2-opt-structptr.exp: New test script. + +2016-04-06 Simon Marchi + + * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using + standard_output_file. Remove unused binfile variable. + +2016-04-05 Catalin Udma + + * gdb.python/py-mi-objfile-gdb.py: Use "list main" command. + * gdb.python/py-mi-objfile.exp: Match "list main" output + in console format. + +2016-04-05 Simon Marchi + + * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of + absolute. + +2016-04-05 Simon Marchi + + * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of + absolute. + * gdb.trace/ftrace.exp: Likewise. + * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote + targets as well. + (gdb_compile_shlib): Set SONAME for non-remote targets as well. + (gdb_load_shlibs): Copy libraries to test directory when testing + natively. Only set solib-search-path if testing remotely. + * lib/mi-support.exp (mi_load_shlibs): Likewise. + +2016-04-05 Simon Marchi + + * gdb.base/jit-so.exp: Use gdb_remote_download instead of + gdb_download. Use it even if the target is not remote. + * gdb.base/jit.exp (compile_jit_test): Likewise. + * lib/gdb.exp (gdb_remote_download): Copy files to the standard + output directory if the destination board is local, otherwise use + the standard remote_download from DejaGnu. + (gdb_download): Remove. + (gdb_load_shlibs): Use gdb_remote_download instead of + gdb_download. + * lib/gdbserver-support.exp (gdbserver_download_current_prog): + Use gdb_remote_download instead of gdb_download. Use it even if + the target is not remote. + * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download + instead of gdb_download. + +2016-04-04 Simon Marchi + + * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix. + (test_insert_delete_modify): Call mi_load_shlibs before trying to + run. + +2016-04-01 Artemiy Volkov + + PR gdb/19820 + * gdb.base/printcmds.exp: Add artificial arrays tests. + +2016-03-31 Pedro Alves + + PR gdb/19858 + * gdb.base/jit-main.c: Include unistd.h. + (ATTACH): Define to 0 if not already defined. + (wait_for_gdb, mypid): New globals. + (WAIT_FOR_GDB): New macro. + (MAIN): Set an alarm. Store the process's pid. Wait for GDB at + some breakpoint locations. + * gdb.base/jit.exp (clean_reattach, continue_to_test_location): + New procedures. + (one_jit_test): Add REATTACH parameter, and handle it. Use + continue_to_test_location. + (top level): Test attach, and adjusts calls to one_jit_test. + +2016-03-31 Pedro Alves + + PR gdb/19858 + * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add + BINSUFFIX parameter, and handle it. + (top level): Adjust calls compile_jit_test. + +2016-03-31 Catalin Udma + + PR python/19743 + * gdb.python/py-mi-events-gdb.py: New file. + * gdb.python/py-mi-events.c: New file. + * gdb.python/py-mi-events.exp: New file. + +2016-03-30 Yao Qi + + * gdb.reverse/until-precsave.exp: Match function name only. + * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf. + Move malloc to a condition block. + * gdb.reverse/until-reverse.exp: Match function name only. + +2016-03-29 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Set arg0exp for s390. + * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390. + * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num + variable for GPR 0 instead of assuming it is register 0. + * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder. + * lib/trace-support.exp: Add s390 registers. + +2016-03-29 Yao Qi + + * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing. + +2016-03-24 Yao Qi + + * gdb.reverse/break-reverse.exp: Add quotation mark in the + test message. + +2016-03-17 Andreas Arnez + + * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of + maintaining separate logic for constructing the output path. + +2016-03-16 Don Breazeal + + * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): + Retry fork and waitpid on interrupted system call errors. + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Use with_timeout_factor to increase timeout by factor of 10. + +2016-03-15 Don Breazeal + + * gdb.cp/scope-err.cc: New test program. + * gdb.cp/scope-err.exp: New test script. + * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple + lines and "set breakpoint here" comment. + * gdb.linespec/ls-errs.exp: Added C++ testing and new test case. + Fixed some whitespace and format issues. + * gdb.mi/mi-linespec-err-cp.cc: New test program. + * gdb.mi/mi-linespec-err-cp.exp: New test script. + +2016-03-15 Doug Evans + + * gdb.xml/extra-regs.xml: Add enum, mixed_flags values. + * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file. + All callers updated. Add tests for enums, mixed flags register. + +2016-03-15 Doug Evans + + * gdb.base/skip.c (main): Call test_skip_file_and_function. + * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function. + +2016-03-14 Simon Marchi + + * gdb.base/default.exp: Add $_as_string to the list of expected + convenience functions. + +2016-03-11 Andrew Burgess + + * gdb.base/maint.exp: New tests for 'maint info line-table'. + +2016-03-10 Simon Marchi + + * gdb.python/py-as-string.exp: New file. + * gdb.python/py-as-string.c: New file. + +2016-03-09 Pedro Alves + + * gdb.threads/attach-into-signal.exp: Adjust to "Program received + signal" -> "Thread NN received signal" output change. + * gdb.threads/ia64-sigill.exp: Likewise. + * gdb.threads/linux-dp.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/pending-step.exp: Likewise. + * gdb.threads/print-threads.exp: Likewise. + * gdb.threads/sigstep-threads.exp: Likewise. + * gdb.threads/staticthreads.exp: Likewise. + * gdb.threads/tls.exp: Likewise. + +2016-03-09 Pedro Alves + + * gdb.base/command-line-input.exp: New file. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Set arg0exp for ppc. + * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc. + * gdb.trace/pending.exp: Accept leading dot before function name. + * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc. + * lib/trace-support.exp: Set registers for ppc. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and + use it for disassembly; accept .main in addition to main in backtrace. + +2016-03-09 Wei-cheng Wang + Marcin Kościelnicki + + * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef. + (gdb_recursion_test_ptr): New global variable. + (gdb_recursion_test): Call gdb_recursion_test_ptr instead of + gdb_recursion_test. + (gdb_c_test): Ditto. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/change-loc.exp: Don't depend on tracepoint location + ordering. + +2016-03-09 Marcin Kościelnicki + + * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label. + (bar): Add bar_start_lbl label. + * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead + of foo/bar for emitting DWARF and tracing. + +2016-03-06 Sergio Durigan Junior + + * analyze-racy-logs.py: Set executable bit. + +2016-03-05 Sergio Durigan Junior + + * Makefile.in (DEFAULT_RACY_ITER): New variable. + (CHECK_TARGET_TMP): Likewise. + (check-single-racy): New rule. + (check-parallel-racy): Likewise. + (TEST_TARGETS): Adjust rule to account for RACY_ITER. + (do-check-parallel-racy): New rule. + (check-racy/%.exp): Likewise. + * README (Racy testcases): New section. + * analyze-racy-logs.py: New file. + +2016-03-03 Doug Evans + + * gdb.base/skip.exp: Use with_test_prefix. + +2016-03-03 Yao Qi + + * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail. + Invoke step_over_syscall "clone" and break_cond_on_syscall + "clone". + * gdb.base/step-over-clone.c: New file. + +2016-03-03 Yao Qi + + * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix + code format. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-fork.c: Rename to ... + * gdb.base/step-over-fork.c: ... it. New file. + * gdb.base/disp-step-vfork.c: Rename to ... + * gdb.base/step-over-vfork.c: ... it. New file. + * gdb.base/disp-step-syscall.exp: Rename to ... + * gdb.base/step-over-syscall.exp: ... it. New file. + (disp_step_cross_syscall): Rename to ... + (step_over_syscall): ... it. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New. + If target supports condition evaluation on target, invoke + break_cond_on_syscall for fork and vfork. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp: Don't invoke + support_displaced_stepping. + (disp_step_cross_syscall): Test with displaced stepping off and + on if supported. + +2016-03-03 Yao Qi + + * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New + proc. + (setup): New proc. + (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall + and setup. + +2016-03-02 Bernhard Heckel + + * gdb.fortran/vla-history.exp: Remove breakpoint. + +2016-03-02 Bernhard Heckel + + * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout. + +2016-03-02 Bernhard Heckel + + * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint. + +2016-03-02 Bernhard Heckel + + * gdb.mi/vla.f90: Nullify pointer after declaration. + +2016-03-01 Pedro Alves + + * gdb.trace/ftrace-lock.c: Include . + +2016-03-01 Pedro Alves + + * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h" + before anything else. + * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define + _GNU_SOURCE here. + * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h" + before anything else. + * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE. + +2016-03-01 Pedro Alves + + * gdb.base/catch-fork-kill.c: Include . + +2016-03-01 Yao Qi + + * gdb.arch/arm-disp-step.exp: Use standard_testfile and + prepare_for_testing. + +2016-03-01 Yao Qi + + * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing. + +2016-03-01 Andreas Arnez + + * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of + manually constructing the output path. + +2016-03-01 Andreas Arnez + + * gdb.arch/s390-stackless.S: New. + * gdb.arch/s390-stackless.exp: New. + +2016-02-28 Iain Buclaw + + * gdb.dlang/circular.c: New file. + * gdb.dlang/circular.exp: New file. + +2016-02-26 Yao Qi + + * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New. + [__arm__] (ext_reg_mov, ext_reg_push_pop): New. + (testcases): Update. + +2016-02-26 Yao Qi + + * gdb.reverse/aarch64.c: Rename to ... + * gdb.reverse/insn-reverse.c: ... it. + * gdb.reverse/aarch64.exp: Rename to ... + * gdb.reverse/insn-reverse.exp: ... it. + +2016-02-26 Yao Qi + + * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h. + (testcase_ftype): New. + (testcases): New array. + (n_testcases): New. + (main): Call each element in testcases. + * gdb.reverse/aarch64.exp: Remove is_aarch64_target check. + (read_testcase): New. + Do the tests in a loop. + +2016-02-25 Yao Qi + + * gdb.base/branches.c: Remove. + +2016-02-25 Marcin Kościelnicki + + PR gdb/13808 + * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail. + +2016-02-25 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Remove unnecessary target check. + +2016-02-25 Marcin Kościelnicki + + * gdb.trace/entry-values.exp: Surround $call_insn with '\y', + change x86_64 call_insn to 'callq'. + +2016-02-24 Antoine Tremblay + + * gdb.trace/tfile-avx.c: Move to... + * gdb.trace/tracefile-pseudo-reg.c: Here. + * gdb.trace/tfile-avx.exp: Move to... + * gdb.trace/tracefile-pseudo-reg.exp: Here. + +2016-02-24 Gary Benson + + * gdb.base/attach-pie-noexec.exp: Do not expect an error + message on attach. + +2016-02-23 Doug Evans + + * gdb.base/skip.c (test_skip): New function. + (end_test_skip_file_and_function): New function. + (test_skip_file_and_function): New function. + * gdb.base/skip1.c (test_skip): New function. + (skip1_test_skip_file_and_function): New function. + * gdb.base/skip.exp: Add tests for new skip options. + * gdb.base/skip-solib.exp: Update expected output. + * gdb.perf/skip-command.cc: New file. + * gdb.perf/skip-command.exp: New file. + * gdb.perf/skip-command.py: New file. + +2016-02-22 Marcin Kościelnicki + + * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix + info registers pattern. + +2016-02-18 Iain Buclaw + + * lib/future.exp: Add D support. + (gdb_find_gdc): New proc. + (gdb_default_target_compile): Add D support. + +2016-02-18 Wei-cheng Wang + + * gdb.trace/tspeed.c (myclock): Return wallclock instead of + user+system time. + (trace_speed_test): Determine the iteration count for a time + between 15..30 seconds. + +2016-02-18 Walfred Tedeschi + + * gdb.arch/i386-mpx-sigsegv.c: New file. + * gdb.arch/i386-mpx-sigsegv.exp: New file. + * gdb.arch/i386-mpx-simple_segv.c: New file. + * gdb.arch/i386-mpx-simple_segv.exp: New file. + +2016-02-18 Yao Qi + + * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): + Don't call setup_kfail. + +2016-02-18 Yao Qi + + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Set "set breakpoint condition-evaluation" per $cond_bp_target. + +2016-02-16 Doug Evans + + * gdb.base/skip.c: Add copyright. Whitespace cleanup. + * gdb.base/skip1.c: Ditto. + * gdb.base/skip.exp: Whitespace cleanup. + +2016-02-16 Don Breazeal + + PR remote/19496 + * gdb.threads/forking-threads-plus-breakpoint.exp (do_test): + Remove kfail for PR remote/19496. + +2016-02-16 Simon Marchi + + * lib/gdb.exp (standard_temp_file): Return a path specific to + the runtest invocation. + +2016-02-16 Simon Marchi + + * gdb.trace/save-trace.exp: Change relative path to be in the + standard output directory. + +2016-02-15 Jan Kratochvil + + * gdb.arch/i386-prologue.c: Add missing prototypes. + +2016-02-15 Jan Kratochvil + + * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. + * gdb.arch/i386-prologue.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + +2016-02-15 Simon Marchi + + * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to + define object file path. + * gdb.btrace/gcore.exp: Use standard_output_file to define core + file path. + * lib/opencl.exp (gdb_compile_opencl_hostapp): Use + standard_output_file to define binfile. + 2016-02-14 Jan Kratochvil Fix compatibility with recent gfortran-5.3.1.