X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=d46f3cc2c6eaad44885acc0a177fa82962dba0e1;hb=02ad9cf101803a29d15ea81bb1fdab8a2e82f34f;hp=e4878f701a93badc1cfa61062a80caad47fd79ed;hpb=b22089abcba7cc3be26a9ab7d60e01299ac13ea0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e4878f701a..d46f3cc2c6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,486 @@ +2014-11-14 Yao Qi + + * lib/dwarf.exp (_handle_DW_TAG): Move some code to ... + (_handle_attribute): New procedure. + +2014-11-13 Andreas Arnez + + * gdb.ada/cond_lang/foo.c (callme): Add return type. + * gdb.base/call-sc.c (zed): Likewise. + * gdb.base/checkpoint.c (main): Likewise. + * gdb.base/dump.c (main): Likewise. + * gdb.base/gcore.c (main): Likewise. + * gdb.base/huge.c (main): Likewise. + * gdb.base/multi-forks.c (main): Likewise. + * gdb.base/pr10179-a.c (main): Likewise. + * gdb.base/savedregs.c (main): Likewise. + * gdb.base/sigaltstack.c (main): Likewise. + * gdb.base/siginfo.c (main): Likewise. + * gdb.base/structs.c (zed): Likewise. + * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise. + * gdb.mi/mi-syn-frame.c (main): Likewise. + * gdb.mi/until.c (foo, main): Likewise. + * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare. + * gdb.base/solib-weak.c (foo): Declare. + * gdb.base/attach-twice.c: Include stdio.h. + * gdb.base/weaklib1.c: Likewise. + * gdb.base/weaklib2.c: Likewise. + * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h. + * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and + unistd.h. + * gdb.base/attach-pie-misread.c: Include stdlib.h. + * gdb.mi/mi-exit-code.c: Likewise. + * gdb.base/break-interp-lib.c: Include string.h. + * gdb.base/coremaker.c: Likewise. + * gdb.base/testenv.c: Likewise. + * gdb.python/py-finish-breakpoint.c: Likewise. + * gdb.base/inferior-died.c: Include sys/wait.h. + * gdb.base/fileio.c: Include time.h. + * gdb.base/async-shell.c: Include unistd.h. + * gdb.base/dprintf-non-stop.c: Likewise. + * gdb.base/info-os.c: Likewise. + * gdb.mi/mi-console.c: Likewise. + * gdb.mi/watch-nonstop.c: Likewise. + * gdb.python/py-events.c: Likewise. + * gdb.base/async.c (baz): Move up before its invocation. + * gdb.base/code_elim2.c (my_global_func): Likewise. + * gdb.base/skip-solib-lib.c (multiply): Likewise. + * gdb.base/advance.c (func2): Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/annota3.c: Likewise. + * gdb.base/async.c: Likewise. + * gdb.base/average.c: Likewise. + * gdb.base/call-ar-st.c: Likewise. + * gdb.base/call-rt-st.c: Likewise. + * gdb.base/call-sc.c: Likewise. + * gdb.base/call-strs.c: Likewise. + * gdb.base/ending-run.c: Likewise. + * gdb.base/execd-prog.c: Likewise. + * gdb.base/exprs.c: Likewise. + * gdb.base/foll-exec.c: Likewise. + * gdb.base/foll-fork.c: Likewise. + * gdb.base/foll-vfork.c: Likewise. + * gdb.base/funcargs.c: Likewise. + * gdb.base/gcore.c: Likewise. + * gdb.base/jump.c: Likewise. + * gdb.base/langs0.c: Likewise. + * gdb.base/langs1.c: Likewise. + * gdb.base/langs2.c: Likewise. + * gdb.base/mips_pro.c: Likewise. + * gdb.base/nodebug.c: Likewise. + * gdb.base/opaque0.c: Likewise. + * gdb.base/opaque1.c: Likewise. + * gdb.base/recurse.c: Likewise. + * gdb.base/run.c: Likewise. + * gdb.base/scope0.c: Likewise. + * gdb.base/scope1.c: Likewise. + * gdb.base/setshow.c: Likewise. + * gdb.base/setvar.c: Likewise. + * gdb.base/shmain.c: Likewise. + * gdb.base/shr1.c: Likewise. + * gdb.base/shr2.c: Likewise. + * gdb.base/sigall.c: Likewise. + * gdb.base/signals.c: Likewise. + * gdb.base/so-indr-cl.c: Likewise. + * gdb.base/solib2.c: Likewise. + * gdb.base/structs.c: Likewise. + * gdb.base/sum.c: Likewise. + * gdb.base/vforked-prog.c: Likewise. + * gdb.base/watchpoint.c: Likewise. + * gdb.reverse/shr2.c: Likewise. + * gdb.reverse/until-reverse.c: Likewise. + * gdb.reverse/ur1.c: Likewise. + * gdb.reverse/watch-reverse.c: Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/sepdebug.exp: Drop references to removed code. + +2014-11-13 Andreas Arnez + + * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped + variant. Preserve original line numbering. + * gdb.base/list1.c: Likewise. + +2014-11-13 Andreas Arnez + + * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + * gdb.base/break1.c: Likewise. + * gdb.base/break.exp: Drop references to removed code. + +2014-11-13 Andreas Arnez + + * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped + variant. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.exp (perform_all_tests): Re-indent. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main + logic into perform_all_tests() and invoke it with and without + function header prototypes. + (do_function_calls): Remove conditional XFAIL for PR 5318. + (rerun_and_prepare): Remove duplicate code. + (perform_all_tests): New. Main logic moved here. + +2014-11-13 Andreas Arnez + + * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in + code guarded by #ifdef NO_PROTOTYPES. + (t_double_many_args): Likewise. + (DEF_FUNC_MANY_ARGS_1): Likewise. + (DEF_FUNC_VALUES_1): Likewise. + (t_structs_ldc): Renamed from t_structs_fc in conditional code + guarded by #ifdef PROTOTYPES. + +2014-11-13 Andreas Arnez + + * gdb.mi/mi-console.c: Add eye-catcher. + * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher + instead of literal line number. + +2014-11-13 Andreas Arnez + + * gdb.base/shr2.c: Add eye-catcher. + * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal + line number. + +2014-11-13 Andreas Arnez + + * gdb.base/jump.c: Add eye-catchers. + * gdb.base/jump.exp: Refer to eye-catchers instead of literal line + numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/execd-prog.c: Add eye-catchers. + * gdb.base/foll-exec.c: Likewise. + * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal + line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/ending-run.c: Add eye-catchers. + * gdb.base/ending-run.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/call-rt-st.c: Add eye-catchers. + * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/call-ar-st.c: Add eye-catchers. + * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of + literal line numbers. + +2014-11-13 Andreas Arnez + + * gdb.base/average.c: Add eye-catchers. + * gdb.base/sum.c: Likewise. + * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for + regexps dynamically. + +2014-11-13 Andreas Arnez + + * gdb.base/solib1.c: Add eye-catchers. + * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of + literal line numbers. + +2014-11-12 Pedro Alves + + * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the + leader has exited. + +2014-11-12 Pedro Alves + + * gdb.arch/i386-bp_permanent.c: New file. + * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64. + (srcfile): Set to i386-bp_permanent.c. + (top level): Adjust to work in both 32-bit and 64-bit modes. Test + that stepi does not execute the 'leave' instruction, instead of + testing it does execute. + * gdb.base/bp-permanent.c: New file. + * gdb.base/bp-permanent.exp: New file. + +2014-11-10 Doug Evans + + PR symtab/17564 + * gdb.base/symtab-search-order.exp: New file. + * gdb.base/symtab-search-order.c: New file. + * gdb.base/symtab-search-order-1.c: New file. + * gdb.base/symtab-search-order-shlib-1.c: New file. + +2014-11-07 Pedro Alves + + PR gdb/17511 + * gdb.base/sigstep.exp (in_handler_map) : xfail + i?86-*-linux*. + +2014-11-03 Siva Chandra Reddy + + PR c++/17494 + * gdb.cp/pr17494.cc: New file. + * gdb.cp/pr17494.exp: New file. + +2014-11-02 Yao Qi + + * gdb.python/python.exp: Get working directory and match the + output of "set extended-prompt \\w " with it. + +2014-10-30 Doug Evans + + * gdb.python/py-objfile.exp: Add tests for setting random attributes + in objfiles. + * gdb.python/py-progspace.exp: Add tests for setting random attributes + in progspaces. + +2014-10-30 Janis Johnson + + * gdb.base/fullpath-expand.exp: Skip for a remote host. + * gdb.base/realname-expand.exp: Likewise. + * gdb.linespec/macro-relative.exp: Likewise. + +2014-10-29 Pedro Alves + + PR gdb/17408 + * gdb.threads/schedlock.c (some_function): New function. + (call_function): New global. + (MAYBE_CALL_SOME_FUNCTION): New macro. + (thread_function): Call it. + * gdb.threads/schedlock.exp (get_args): Add description parameter, + and use it instead of a global counter. Adjust all callers. + (get_current_thread): Use "find current thread" for test message + here rather than having all callers pass down the same string. + (goto_loop): New procedure, factored out from ... + (my_continue): ... this. + (step_ten_loops): Change parameter from test message to command to + use. Adjust. + (list_count): Delete global. + (check_result): New procedure, factored out from duplicate top + level code. + (continue tests): Wrap in with_test_prefix. + (test_step): New procedure, factored out from duplicate top level + code. + (top level): Test "step" in combination with all scheduler-locking + modes. Test "next" in combination with all scheduler-locking + modes, and in combination with stepping over a function call or + not. + * gdb.threads/next-bp-other-thread.c: New file. + * gdb.threads/next-bp-other-thread.exp: New file. + +2014-10-29 Pedro Alves + + PR python/17372 + * gdb.python/python.exp: Test a multi-line command that spawns + interactive Python. + * gdb.base/multi-line-starts-subshell.exp: New file. + +2014-10-29 Yao Qi + + * gdb.base/fileio.exp: Make directories on host. + +2014-10-29 Yao Qi + + * gdb.base/fileio.c (test_write): Close the file. + +2014-10-28 Pedro Alves + + PR gdb/12623 + * gdb.base/sigstep.c (no_handler): New global. + (main): If 'no_handler is true, set the signal handlers to + SIG_IGN. + * gdb.base/sigstep.exp (breakpoint_over_handler): Add + with_sw_watch and no_handler parameters. Handle them. + (top level) : Add a test axis for testing with a software watchpoint, and + another for testing with the signal handler set to SIG_IGN. + * gdb.base/step-sw-breakpoint-adjust-pc.c: New file. + * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file. + +2014-10-28 Pedro Alves + + PR gdb/17511 + * gdb.base/sigstep.c (handler): Add a few more writes to 'done'. + * gdb.base/sigstep.exp (other_handler_location): New global. + (advance): Support stepping into the signal handler, and running + commands while in the handler. + (in_handler_map): New global. + (top level): In the advance test, add combinations for getting + into the handler with stepping commands, and for running commands + in the handler. Add comment descripting the advancei tests. + +2014-10-28 Pedro Alves + + * gdb.base/sigstep.exp: Use build_executable instead of + prepare_for_testing. + (top level): Move code that starts GDB, runs to main and creates a + display to ... + (restart): ... this new procedure. + (top level): Move backtrace from signal handler test to ... + (validate_backtrace): ... this new procedure. + (advance, advancei): Rename parameter from 'i' to 'cmd'. Use + with_test_prefix. Always restart GDB. + (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use + with_test_prefix. Always restart GDB. No need to delete + breakpoints after the test. + (test_skip_handler): Remove prefix parameter. + (skip_over_handler, breakpoint_to_handler) + (breakpoint_to_handler_entry, breakpoint_over_handler): Rename + parameter from 'i' to 'cmd'. Use with_test_prefix. Always + restart GDB. No need to delete breakpoints after the test. + (top level): Use foreach to call the test procedures with + different commands. + +2014-10-28 Pedro Alves + + * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers + instead of GNATS numbers. + * gdb.base/sigbpt.exp: Likewise. + * gdb.base/siginfo.exp: Likewise. + * gdb.base/sigstep.exp: Likewise. + +2014-10-27 Pedro Alves + + * gdb.base/sigstep.c (dummy): New global. + (main): Issue a couple writes to the new global. + * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New + procedures. + (skip_over_handler): Use test_skip_handler. + (top level): Call skip_over_handler for stepi and nexti too. + (breakpoint_over_handler): Use test_skip_handler. + (top level): Call breakpoint_over_handler for stepi and nexti too. + +2014-10-27 Yao Qi + + * gdb.trace/tfile.c (adjust_function_address) + [__powerpc64__ && _CALL_ELF != 2]: Get function address from + function descriptor. + +2014-10-24 Don Breazeal + + * gdb.base/foll-fork.exp (test_follow_fork, + catch_fork_child_follow): Check for updated fork messages emitted + from infrun.c. + * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step, + vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp, + vfork_and_exec_child_follow_through_step): Check for updated vfork + messages emitted from infrun.c. + +2014-10-24 Pedro Alves + + * gdb.base/corefile.exp: Remove references to ultrix. + * gdb.base/interrupt.exp: Likewise. + * gdb.base/whatis.exp: Likewise. + * gdb.gdb/selftest.exp: Likewise. + * gdb.threads/manythreads.exp: Likewise. + * gdb.threads/print-threads.exp: Likewise. + * gdb.threads/pthreads.exp:: Likewise. + * gdb.threads/schedlock.exp: Likewise. + +2014-10-24 Siva Chandra Reddy + + * gdb.cp/non-trivial-retval.cc: Add a test case. + * gdb.cp/non-trivial-retval.exp: Add a test. + +2014-10-20 Yao Qi + + * gdb.python/py-objfile-script-gdb.py.in: Rename it to ... + * gdb.python/py-objfile-script-gdb.py: New file. + * gdb.python/py-objfile-script.exp: Update reference to + py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead + of remote_download. Remove the dest file. + +2014-10-20 Yao Qi + + * gdb.base/checkpoint.exp: Don't remove file copied on host. + * gdb.base/step-line.exp: Likewise. + * gdb.dwarf2/dw2-anonymous-func.exp: Likewise. + * gdb.dwarf2/dw2-basic.exp: Likewise. + * gdb.dwarf2/dw2-compressed.exp: Likewise. + * gdb.dwarf2/dw2-filename.exp: Likewise. + * gdb.dwarf2/dw2-intercu.exp: Likewise. + * gdb.dwarf2/dw2-intermix.exp: Likewise. + * gdb.dwarf2/dw2-producer.exp: Likewise. + * gdb.dwarf2/mac-fileno.exp: Likewise. + * gdb.python/py-frame-args.exp: Likewise. + * gdb.python/py-framefilter.exp: Likewise. + * gdb.python/py-mi.exp: Likewise. + * gdb.python/py-objfile-script.exp: Likewise + * gdb.python/py-pp-integral.exp: Likewise. + * gdb.python/py-pp-re-notag.exp: Likewise. + * gdb.python/py-prettyprint.exp: Likewise. + * gdb.python/py-section-script.exp: Likewise. + * gdb.python/py-typeprint.exp: Likewise. + * gdb.python/py-xmethods.exp: Likewise. + * gdb.stabs/weird.exp: Likewise. + * gdb.xml/tdesc-regs.exp: Likewise. + +2014-10-18 Kwok Cheung Yeung + + * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New. + (out_cu): Use addr_len for the size of addresses. + (out_line): Likewise. Size DW_LNE_set_address instruction + according to addr_len. + * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New. + (FUNC): Add START_INSNS to definition. + +2014-10-18 Yao Qi + + * gdb.base/argv0-symlink.exp: Check argv[0] value if + gdb_has_argv0 return true. + * gdb.guile/scm-value.exp (test_value_in_inferior): Don't + check [target_info exists noargs], check [gdb_has_argv0] + instead. + * gdb.python/py-value.exp (test_value_in_inferior): Likewise. + * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New + procedures. + +2014-10-17 Doug Evans + + * gdb.python/py-events.exp: Update expected output for clear_objfiles + event. + * gdb.python/py-events.py: Add clear_objfiles event. + +2014-10-17 Doug Evans + + * gdb.python/py-objfile.exp: Test progspace attribute. + +2014-10-17 Luis Machado + + * gdb.guile/scm-breakpoint.exp: Do not assume any + directory separators when matching source file paths. + * gdb.python/py-breakpoint.exp: Likewise. + * gdb.reverse/break-precsave.exp: Likewise. + * gdb.reverse/break-reverse.exp: Likewise. + * gdb.reverse/consecutive-precsave.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/finish-reverse-bkpt.exp: Likewise. + * gdb.reverse/finish-reverse.exp: Likewise. + * gdb.reverse/i386-precsave.exp: Likewise. + * gdb.reverse/i387-env-reverse.exp: Likewise. + * gdb.reverse/i387-stack-reverse.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/machinestate.exp: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/solib-precsave.exp: Likewise. + * gdb.reverse/step-precsave.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + * gdb.reverse/watch-reverse.exp: Likewise. + 2014-10-17 Yao Qi * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.