X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=30883204b648e8b90e3ca3e1bd5cde5411b03e6f;hb=305e13e67faaf940ce6eb708847a655a0735a651;hp=a00920ff372676574940cc5478f9cfcf20d26235;hpb=c93e8391bf595de7adde64d1b3f1d564da6f3aee;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a00920ff37..30883204b6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,612 @@ +2016-01-21 Joel Brobecker + + * gdb.base/break-fun-addr.exp: New file. + * gdb.base/break-fun-addr1.c: New file. + * gdb.base/break-fun-addr2.c: New file. + +2016-01-20 Simon Marchi + + * gdb.python/py-pp-maint.exp: Change/add enum flag tests. + * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex + enum flag values. + +2016-01-20 Andreas Arnez + + * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail + when GDB can not set the vector return value. Add more comments + for clarification. + +2016-01-20 Antoine Tremblay + + * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile + command. + +2016-01-19 Simon Marchi + + * Makefile.in (DO_RUNTEST): Add --status and update usages. + +2016-01-19 Simon Marchi + + * Makefile.in (check-single): Pass --status to runtest. + (check/%.exp): Likewise. + +2016-01-19 Simon Marchi + + * Makefile.in (check-parallel): Propagate return code from make + do-check-parallel. + +2016-01-19 Pedro Alves + + * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. + * break-catch-throw.c (re_set_exception_catchpoint): Pass the + current program space down to linespec decoding and breakpoint + location updating. + * breakpoint.c (parse_breakpoint_sals): Adjust calls to + decode_line_full. + (until_break_command): Adjust calls to decode_line_1. + (base_breakpoint_decode_location, bkpt_decode_location): Add + 'search_pspace' parameter. Pass it along. + (bkpt_probe_create_sals_from_location): Adjust calls to + parse_probes. + (tracepoint_decode_location, tracepoint_probe_decode_location) + (strace_marker_decode_location): Add 'search_pspace' parameter. + Pass it along. + (all_locations_are_pending): Rewrite to take a breakpoint and + program space as arguments instead. + (hoist_existing_locations): New function. + (update_breakpoint_locations): Add 'filter_pspace' parameter. Use + hoist_existing_locations instead of always removing all locations, + and adjust to all_locations_are_pending change. + (location_to_sals): Add 'search_pspace' parameter. Pass it along. + Don't disable the breakpoint if there are other locations in + another program space. + (breakpoint_re_set_default): Adjust to pass down the current + program space as filter program space. + (decode_location_default): Add 'search_pspace' parameter and pass + it along. + (prepare_re_set_context): Don't switch program space here. + (breakpoint_re_set): Use save_current_space_and_thread instead of + save_current_program_space. + * breakpoint.h (struct breakpoint_ops) : Add + 'search_pspace' parameter. + (update_breakpoint_locations): Add 'filter_pspace' parameter. + * cli/cli-cmds.c (edit_command, list_command): Adjust calls to + decode_line_1. + * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current + program space as filter program space. + * linespec.c (struct linespec_state) : New field. + (create_sals_line_offset, convert_explicit_location_to_sals) + (parse_linespec): Pass the search program space down. + (linespec_state_constructor): Add 'search_pspace' parameter. + Store it. + (linespec_parser_new): Add 'search_pspace' parameter and pass it + along. + (linespec_lex_to_end): Adjust. + (decode_line_full, decode_line_1): Add 'search_pspace' parameter + and pass it along. + (decode_line_with_last_displayed): Adjust. + (collect_symtabs_from_filename, symtabs_from_filename): New + 'search_pspace' parameter. Use it. + (find_function_symbols): Pass the search program space down. + * linespec.h (decode_line_1, decode_line_full): Add + 'search_pspace' parameter. + * probe.c (parse_probes_in_pspace): New function, factored out + from ... + (parse_probes): ... this. Add 'search_pspace' parameter and use + it. + * probe.h (parse_probes): Add pspace' parameter. + * python/python.c (gdbpy_decode_line): Adjust. + * tracepoint.c (scope_info): Adjust. + +2016-01-19 Marcin Kościelnicki + + * gdb.trace/ftrace.exp: Fix expected message on continue. + * gdb.trace/pending.exp: Fix expected message on continue. + * gdb.trace/trace-break.exp: Fix expected message on continue. + +2016-01-18 Simon Marchi + + * lib/gdb.exp (gdb_test): Remove unused global references. + +2016-01-18 Pedro Alves + + * gdb.base/async-shell.exp: Adjust expected output. + * gdb.base/dprintf-non-stop.exp: Adjust expected output. + * gdb.base/siginfo-thread.exp: Adjust expected output. + * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output. + * gdb.java/jnpe.exp: Adjust expected output. + * gdb.threads/clone-new-thread-event.exp: Adjust expected output. + * gdb.threads/continue-pending-status.exp: Adjust expected output. + * gdb.threads/leader-exit.exp: Adjust expected output. + * gdb.threads/manythreads.exp: Adjust expected output. + * gdb.threads/pthreads.exp: Adjust expected output. + * gdb.threads/schedlock.exp: Adjust expected output. + * gdb.threads/siginfo-threads.exp: Adjust expected output. + * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust + expected output. + * gdb.threads/signal-delivered-right-thread.exp: Adjust expected + output. + * gdb.threads/sigthread.exp: Adjust expected output. + * gdb.threads/watchpoint-fork.exp: Adjust expected output. + +2016-01-18 Yao Qi + + * gdb.guile/scm-section-script.c: Replace @progbits with + %progbits. + * gdb.python/py-section-script.c: Likewise. + +2016-01-15 Pedro Alves + + * gdb.multi/tids.exp: Test star wildcard ranges. + +2016-01-15 Pedro Alves + + * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234" + command from "thread apply" invocation. + (thr_apply_info_thr_invalid): Default the expected output to the + input tid list. + (top level): Add tests that use convenience variables. Add tests + for "thread apply" with a valid TID list, but missing the command. + +2016-01-13 Pedro Alves + + * gdb.base/default.exp: Expect $_gthread as well. + * gdb.multi/tids.exp: Test $_gthread. + * gdb.threads/thread-specific.exp: Test $_gthread. + +2016-01-13 Pedro Alves + + * gdb.multi/tids.exp: Test "info threads -gid". + +2016-01-13 Pedro Alves + + * gdb.multi/tids.exp: Test InferiorThread.global_num and + Breakpoint.thread. + * gdb.python/py-infthread.exp: Test InferiorThread.global_num. + +2016-01-07 Pedro Alves + + * gdb.base/break.exp: Adjust to output changes. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/watch_thread_num.exp: Likewise. + * gdb.linespec/keywords.exp: Likewise. + * gdb.multi/info-threads.exp: Likewise. + * gdb.threads/thread-find.exp: Likewise. + * gdb.multi/tids.c: New file. + * gdb.multi/tids.exp: New file. + +2016-01-13 Pedro Alves + + * gdb.python/py-infthread.exp: Test InferiorThread.inferior. + +2016-01-13 Pedro Alves + + * gdb.base/default.exp: Expect $_inferior as well. + * gdb.multi/base.exp: Test $_inferior. + +2016-01-13 Pedro Alves + + PR breakpoints/19388 + * gdb.base/catch-signal-siginfo-cond.c: New file. + * gdb.base/catch-signal-siginfo-cond.exp: New file. + +2016-01-12 Josh Stone + Philippe Waroquiers + + * gdb.base/catch-syscall.c (do_execve): New variable. + (main): Conditionally trigger an execve. + * gdb.base/catch-syscall.exp: Enable testing for remote targets. + (test_catch_syscall_execve): New, check entry/return across execve. + (do_syscall_tests): Call test_catch_syscall_execve. + +2016-01-12 Pedro Alves + + * gdb.base/random-signal.exp (do_test): New procedure, with body + of testcase moved in. + +2016-01-11 Jan Kratochvil + Pedro Alves + + * gdb.base/funcargs.exp (finish from indirectly called function): + Reintroduce the case for 'First'. + +2016-01-11 Jan Kratochvil + Pedro Alves + + * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) + (tcatch_vfork_then_child_follow_exec) + (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork + identification. + +2016-01-11 Jan Kratochvil + + * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements + and repeats to unlimited. + * gdb.python/py-value.exp: Likewise. + * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements + and repeats to unlimited. + +2016-01-08 Jan Kratochvil + + * gdb.multi/goodbye.c: Fix compilation warnings by adding return types + and reordering the functions. + * gdb.multi/hangout.c: Likewise. + * gdb.multi/hello.c: Likewise. + +2016-01-08 Simon Marchi + + * gdb.perf/lib/perftest/perftest.py: Change relative imports to + absolute. + (SingleStatisticTestResult.report): Use dict.keys instead of + dict.iterkeys. + +2016-01-06 Pedro Alves + + * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1. + +2016-01-04 Markus Metzger + + * gdb.btrace/dlopen.exp: New. + * gdb.btrace/dlopen.c: New. + * gdb.btrace/dlopen-dso.c: New. + +2015-12-25 Sandra Loosemore + + * lib/gdb.exp (gdb_test): Update comments to clarify that the + PATTERN argument is optional. + +2015-12-24 Joel Brobecker + + * lib/ada.exp (target_compile_ada_from_dir): New function. + (gdb_compile_ada): Reimplement avoiding the use of project files. + * gdb.ada/gnat_ada.gpr: Delete. + * gdb.ada/cond_lang.exp: Adjust test to make path before + filename optional. + * gdb.ada/small_reg_param.exp: Likewise. + +2015-12-22 Simon Marchi + + * gdb.base/foll-vork.exp: Remove HP-UX special case. + +2015-12-22 Thomas Preud'homme + + * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump + case. + +2015-12-21 Simon Marchi + + * gdb.base/break.exp: Remove dead code. + * gdb.base/sepdebug.exp: Likewise. + +2015-12-21 Simon Marchi + + * gdb.asm/asm-source.exp: Remove HP-UX references. + * gdb.base/annota1.exp: Likewise. + * gdb.base/annota3.exp: Likewise. + * gdb.base/attach.exp: Likewise. + * gdb.base/bigcore.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/call-ar-st.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/catch-fork-static.exp: Likewise. + * gdb.base/display.exp: Likewise. + * gdb.base/foll-exec-mode.exp: Likewise. + * gdb.base/foll-exec.exp: Likewise. + * gdb.base/foll-fork.exp: Likewise. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/inferior-died.exp: Likewise. + * gdb.base/interrupt.exp: Likewise. + * gdb.base/multi-forks.exp: Likewise. + * gdb.base/nodebug.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/solib1.c: Likewise. + * gdb.base/step-test.exp: Likewise. + * gdb.mi/non-stop.c: Likewise. + * gdb.mi/pthreads.c: Likewise. + * gdb.multi/bkpt-multi-exec.ex: Likewise. + * gdb.threads/pthreads.c: Likewise. + * gdb.threads/staticthreads.exp: Likewise. + * lib/future.exp: Likewise. + * lib/gdb.exp: Likewise. + * gdb.base/so-indr-cl.c: Remove. + * gdb.base/so-indr-cl.exp: Likewise. + * gdb.base/solib.c: Likewise. + * gdb.base/solib.exp: Likewise. + * gdb.base/solib2.c: Likewise. + +2015-12-21 Simon Marchi + + * gdb.base/break.exp: Remove references to HP CC/aCC compilers. + * gdb.base/call-ar-st.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/condbreak.exp: Likewise. + * gdb.base/constvars.exp: Likewise. + * gdb.base/hbreak2.exp: Likewise. + * gdb.base/langs.exp: Likewise. + * gdb.base/list.exp: Likewise. + * gdb.base/long_long.exp: Likewise. + * gdb.base/ptype.exp: Likewise. + * gdb.base/scope.exp: Likewise. + * gdb.base/signals.exp: Likewise. + * gdb.base/so-impl-ld.exp: Likewise. + * gdb.base/varargs.exp: Likewise. + * gdb.base/volatile.exp: Likewise. + * gdb.base/whatis.exp: Likewise. + * gdb.cp/cplusfuncs.exp: Likewise. + * gdb.cp/inherit.exp: Likewise. + * gdb.cp/local.exp: Likewise. + * gdb.cp/member-ptr.exp: Likewise. + * gdb.cp/method.exp: Likewise. + * gdb.cp/overload.exp: Likewise. + * gdb.cp/templates.exp: Likewise. + * gdb.stabs/weird.exp: Likewise. + * lib/compiler.c: Likewise. + * lib/compiler.cc: Likewise. + * lib/cp-support.exp: Likewise. + * lib/gdb.exp: Likewise. + +2015-12-20 Simon Marchi + + * configure.ac: Remove HP-UX case. + * configure: Regenerate. + +2015-12-18 Simon Marchi + + * lib/gdb.exp (gdb_compile): Add function doc. + +2015-12-17 Pedro Alves + + PR threads/19354 + * gdb.multi/info-threads.exp: New file. + +2015-12-15 Yao Qi + + * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target + is aarch64*-*-*. + +2015-12-14 Sandra Loosemore + + * gdb.base/history-duplicates.exp: Skip if no readline support. + +2015-12-14 Sandra Loosemore + + * gdb.base/gdbinit-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore + + * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore + + * gdb.base/completion.exp: Skip tests that interrupt GDB with + ctrl-C if nointerrupts target property is set. + * gdb.base/double-prompt-target-event-error.exp: Likewise. + * gdb.base/paginate-after-ctrl-c-running.exp: Likewise. + * gdb.base/paginate-bg-execution.exp: Likewise. + * gdb.base/paginate-execution-startup.exp: Likewise. + * gdb.base/random-signal.exp: Likewise. + * gdb.base/range-stepping.exp: Likewise. + * gdb.cp/annota2.exp: Likewise. + * gdb.cp/annota3.exp: Likewise. + * gdb.gdb/selftest.exp: Likewise. + * gdb.threads/continue-pending-status.exp: Likewise. + * gdb.threads/leader-exit.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/pthreads.exp: Likewise. + * gdb.threads/schedlock.exp: Likewise. + * gdb.threads/sigthread.exp: Likewise. + +2015-12-11 Don Breazeal + + * gdb.base/execl-update-breakpoints.exp (main): Enable for target + remote. + * gdb.base/foll-exec-mode.exp (main): Disable for target remote. + * gdb.base/foll-exec.exp (main): Enable for target remote. + * gdb.base/foll-fork.exp (main): Likewise. + * gdb.base/foll-vfork.exp (main): Likewise. + * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart. + (proc continue_to_exit_bp_loc): Use clean_restart. + * gdb.base/pie-execl.exp (main): Disable for target remote. + * gdb.base/watch-vfork.exp (main): Enable for target remote. + * gdb.mi/mi-nsthrexec.exp (main): Likewise. + * gdb.threads/execl.exp (main): Likewise. + * gdb.threads/fork-child-threads.exp (main): Likewise. + * gdb.threads/fork-plus-threads.exp (main): Disable for target + remote. + * gdb.threads/fork-thread-pending.exp (main): Enable for target + remote. + * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow + pid.tid style ptids, instead of just tid. + * gdb.threads/thread-execl.exp (main): Enable for target remote. + * gdb.threads/watchpoint-fork.exp (main): Likewise. + * gdb.trace/report.exp (use_collected_data): Allow pid.tid style + ptids, instead of just tid. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list_forward): Add end of file error + test. + (test_repeat_list_command): Add end of file error test. + (test_list_backwards): Add beginning of file error test. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list_invalid_args): New function, + defined, and called. + +2015-12-11 Andrew Burgess + + * gdb.base/list.exp (test_list): Make test names unique. + +2015-12-11 Yao Qi + + * gdb.base/coremaker2.c: Remove. + +2015-12-10 Pedro Alves + + * gdb.multi/base.exp: Remove stale "spaces" references. + +2015-12-10 Pedro Alves + + * gdb.multi/base.exp: Don't use nowarnings. + * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings. + * gdb.multi/hangout.c: Include stdio.h. + * gdb.multi/hello.c: Include stdlib.h. + * gdb.multi/multi-arch-exec.c: Include stdlib.h. + * gdb.multi/multi-arch-exec.exp: Don't use nowarnings. + * gdb.multi/multi-arch.exp: Don't use nowarnings. + +2015-12-10 Andrew Burgess + + * gdb.dwarf2/dw2-ranges-base.c: New file. + * gdb.dwarf2/dw2-ranges-base.exp: New file. + * lib/dwarf.exp (namespace eval Dwarf): Add new variables to + support additional line table, and debug ranges generation. + (Dwarf::ranges): New function, generate .debug_ranges. + (Dwarf::lines): Support generating simple line table programs. + (Dwarf::assemble): Initialise new namespace variables. + +2015-12-09 Kevin Buettner + + * gdb.base/async.exp (proc test_background): Add case for + asynchronous execution not supported. + +2015-12-09 Luis Machado + + * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal + format and change test names to make them unique. + +2015-12-09 Ruslan Kabatsayev + Pedro Alves + + PR gdb/18702 + Add checking of floatformats setup on x86_64 hosts. + * gdb.arch/i386-float.S (main): Load bigval and smallval. + (smallval, bigval): New labels/constants. + * gdb.arch/i386-float.exp: Use with_test_prefix and test "info + float" after loading bigval and smallval. + +2015-12-07 Pierre-Marie de Rodat + + * gdb.ada/fun_overload_menu.exp: New testcase. + * gdb.ada/fun_overload_menu/foo.adb: New testcase. + +2015-12-04 Josh Stone + + * gdb.base/catch-fork-static.exp: New. + +2015-12-03 Yao Qi + + * gdb.base/sizeof.c: Don't include stdio.h and + ../lib/unbuffer_output.c. + (main): New variable 'size' and 'value'. Remove printf and + gdb_unbuffer_output. Assign return value to size and value. + * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio + at the beginning. + (check_sizeof): Check the result by printing variable 'size'. + (check_valueof): Check the result by printing variable 'value'. + +2015-12-01 Yao Qi + + * gdb.base/disp-step-syscall.exp: Define syscall instruction + for aarch64*-*-linux* target. + +2015-11-30 Pedro Alves + + * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls. + +2015-11-30 Pedro Alves + + * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count): + Handle non-stop mode vCont replies. + +2015-11-30 Pedro Alves + + * gdb.base/dprintf-non-stop.exp: Use build_executable instead of + prepare_for_testing. Start gdb with "set non-stop on" appended to + GDBFLAGS. Lax expected stop output. + +2015-11-27 Yao Qi + + * gdb.arch/arm-neon.exp: New. + * gdb.arch/arm-neon.c: New. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Rewrite the pattern using multi_line. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Allow multiple occurrences of the + frames-invalid annotation. + +2015-11-27 Yao Qi + + * gdb.cp/annota2.exp: Use ${frames_invalid}. + +2015-11-26 Simon Marchi + + * gdb.threads/names.exp: New file. + * gdb.threads/names.c: New file. + * README: Mention gdb,no_thread_names. + +2015-11-26 Markus Metzger + + PR 19297 + * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not + support" error. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/display.exp: Expect displays to be sorted in ascending + order. Use multi_line. + * gdb.base/solib-display.exp: Likewise. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/display.exp: Expect displays to be sorted in ascending + order. Use multi_line. + * gdb.base/solib-display.exp: Likewise. + +2015-11-24 Pedro Alves + + PR 17539 + * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and + threads in ascending order. + * gdb.base/foll-fork.exp: Likewise. + * gdb.base/foll-vfork.exp: Likewise. + * gdb.base/multi-forks.exp: Likewise. + * gdb.mi/mi-nonstop.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.multi/base.exp: Likewise. + * gdb.multi/multi-arch.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.threads/break-while-running.exp: Likewise. + * gdb.threads/execl.exp: Likewise. + * gdb.threads/gcore-thread.exp: Likewise. + * gdb.threads/info-threads-cur-sal.exp: Likewise. + * gdb.threads/kill.exp: Likewise. + * gdb.threads/linux-dp.exp: Likewise. + * gdb.threads/multiple-step-overs.exp: Likewise. + * gdb.threads/next-bp-other-thread.exp: Likewise. + * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise. + * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise. + * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise. + * gdb.threads/thread-find.exp: Likewise. + * gdb.threads/tls.exp: Likewise. + * lib/mi-support.exp (mi_reverse_list): Delete. + (mi_check_thread_states): No longer reverse list. + +2015-11-24 Pedro Alves + + * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently + use lowercase. + 2015-11-23 Simon Marchi * gdb.trace/actions.c: Include trace-common.h. @@ -6705,6 +7314,6 @@ For older changes see ChangeLog-1993-2013. ;; version-control: never ;; End: - Copyright 2014-2015 Free Software Foundation, Inc. + Copyright 2014-2016 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.