X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=4580eb23633fc506548d27cb67767345e000201a;hb=32990adaadc1b119700cd0dfd2dd8849114e0135;hp=227849613e8c4092dc057d51efb96af5cbacfb05;hpb=2d6f0de676f46ebd8bb7d98a0093aa081e17e94b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 227849613e..4580eb2363 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,666 @@ +2014-10-01 Pedro Alves + + * gdb.base/breakpoint-in-ro-region.c: New file. + * gdb.base/breakpoint-in-ro-region.exp: New file. + +2014-10-01 Simon Marchi + + * gdb.mi/mi-exit-code.exp: New file. + * gdb.mi/mi-exit-code.c: New file. + +2014-09-30 Yao Qi + + * lib/prelink-support.exp (build_executable_own_libs): Error if + the target isn't native. + +2014-09-30 Yao Qi + + * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is + false. + +2014-09-22 Pedro Alves + + * gdb.threads/break-while-running.exp: New file. + * gdb.threads/break-while-running.c: New file. + +2014-09-19 Yao Qi + + * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test. + Invoke test. Restart GDB with --readnow and invoke test again. + +2014-09-19 Yao Qi + + * gdb.base/break-on-linker-gcd-function.exp: Move test into new + proc set_breakpoint_on_gcd_function. Invoke + set_breakpoint_on_gcd_function. Restart GDB with --readnow and + invoke set_breakpoint_on_gcd_function again. + +2014-09-18 Doug Evans + + * gdb.dwarf2/symtab-producer.exp: New file. + +2014-09-16 Sergio Durigan Junior + + * gdb.base/global-var-nested-by-dso-solib1.c: New file. + * gdb.base/global-var-nested-by-dso-solib2.c: Likewise. + * gdb.base/global-var-nested-by-dso.c: Likewise. + * gdb.base/global-var-nested-by-dso.exp: Likewise. + +2014-09-16 Sergio Durigan Junior + Pedro Alves + + * gdb.base/watch-bitfields.exp: Pass string other than test file + name to prepare_for_testing. + (watch): New procedure. + (expect_watchpoint): Use with_test_prefix. + (top level): Factor out tests to ... + (test_watch_location, test_regular_watch): ... these new + procedures, and use with_test_prefix and gdb_continue_to_end. + +2014-09-16 Patrick Palka + + PR breakpoints/12526 + * gdb.base/watch-bitfields.exp: New file. + * gdb.base/watch-bitfields.c: New file. + +2014-09-16 Pedro Alves + + * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare + software and hardware addresses, not software address against + itself. + +2014-09-16 Pedro Alves + + * gdb.base/watchpoint-stops-at-right-insn.c: New file. + * gdb.base/watchpoint-stops-at-right-insn.exp: New file. + +2014-09-16 Pedro Alves + + * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete + files. + * gdb.base/a2-run.exp: Remove all code guarded by istarget + "*-*-vxworks*" throughout. + * gdb.base/break.exp: Likewise. + * gdb.base/default.exp: Likewise. + * gdb.base/scope.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/break.c: Remove all code guarded by #ifdef vxworks + throughout. + * gdb.base/run.c: Likewise. + * gdb.base/sepdebug.c: Likewise. + * gdb.hp/gdb.aCC/run.c: Likewise. + * gdb.reverse/until-reverse.c: Likewise. + * lib/gdb.exp (gdb_compile): Remove is_vxworks branch. + +2014-09-16 Yao Qi + + * boards/local-remote-host-native.exp: New file. + +2014-09-14 Doug Evans + + * gdb.threads/queue-signal.c (thread_count): New variable. + (thread_count_mutex, thread_count_condvar): New variables. + (incr_thread_count, wait_all_threads_running): New functions. + (main): Wait for all threads to be in their thread functions. + +2014-09-13 Doug Evans + + * gdb.threads/queue-signal.c: New file. + * gdb.threads/queue-signal.exp: New file. + +2014-09-13 Doug Evans + + * lib/gdb.exp (gdb_prompt): Add comment and change initial value to + be consistent with what default_gdb_init uses. + (with_gdb_prompt): Change form of PROMPT argument from a regexp to + the plain text of the prompt. Add some logging printfs. + * gdb.perf/disassemble.exp: Update call to with_gdb_prompt. + +2014-09-12 Pedro Alves + + * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after + gdb_run_cmd with gdb_test_multiple or gdb_test throughout. + * gdb.arch/i386-size-overlap.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + * gdb.arch/i386-unwind.exp: Likewise. + * gdb.base/a2-run.exp: Likewise. + * gdb.base/break.exp: Likewise. + * gdb.base/charset.exp: Likewise. + * gdb.base/chng-syms.exp: Likewise. + * gdb.base/commands.exp: Likewise. + * gdb.base/dbx.exp: Likewise. + * gdb.base/find.exp: Likewise. + * gdb.base/funcargs.exp: Likewise. + * gdb.base/jit-simple.exp: Likewise. + * gdb.base/reread.exp: Likewise. + * gdb.base/sepdebug.exp: Likewise. + * gdb.base/step-bt.exp: Likewise. + * gdb.cp/mb-inline.exp: Likewise. + * gdb.cp/mb-templates.exp: Likewise. + * gdb.objc/basicclass.exp: Likewise. + * gdb.threads/killed.exp: Likewise. + +2014-09-12 Edjunior Barbosa Machado + + PR tdep/17379 + * gdb.arch/powerpc-stackless.S: New file. + * gdb.arch/powerpc-stackless.exp: New file. + +2014-09-12 Jan Kratochvil + + * gdb.base/attach.c: Include unistd.h. + (main): Call alarm. Add label postloop. + * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number, + gdb_breakpoint, gdb_continue_to_breakpoint. + (test_command_line_attach_run): Kill ${testpid} in one exit path. + +2014-09-11 Pedro Alves + + PR gdb/17347 + * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure. + * gdb.base/attach.exp (test_command_line_attach_run): New + procedure. + (top level): Call it. + +2014-09-11 Pedro Alves + + * lib/gdb.exp (spawn_wait_for_attach): New procedure. + * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests) + (do_command_attach_tests): Use spawn_wait_for_attach. + * gdb.base/solib-overlap.exp: Likewise. + * gdb.multi/multi-attach.exp: Likewise. + * gdb.python/py-prompt.exp: Likewise. + * gdb.python/py-sync-interp.exp: Likewise. + * gdb.server/ext-attach.exp: Likewise. + +2014-09-11 Gabriel Krisman Bertazi + + * gdb.fortran/array-element.exp: Remove unexpected "continue" + command in testcase. Simplify testcase. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests. + +2014-09-10 Joel Brobecker + + * gdb.dwarf2/dynarr-ptr.c: New file. + * gdb.dwarf2/dynarr-ptr.exp: New file. + +2014-09-09 Maciej W. Rozycki + + * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor + of 30 rather than hardcoding 120 for a slow test case. Take the + `gdb,timeout' target setting into account for this calculation. + Don't extend the timeout for the test cases that don't need it. + +2014-09-09 Maciej W. Rozycki + + * gdb.reverse/sigall-reverse.exp: Increase the timeout by + a factor of 2 for a slow test case. Take the `gdb,timeout' + target setting into account for this calculation. + * gdb.reverse/until-precsave.exp: Increase the timeout by + a factor of 15 and 3 respectively rather than adding 120 + for a pair of slow test cases. Take the `gdb,timeout' + target setting into account for this calculation. + +2014-09-09 Maciej W. Rozycki + + * lib/gdb.exp (gdb_test_multiple): Remove code to select the + timeout, don't pass one down to gdb_expect. + (gdb_expect): Rework timeout selection. + +2014-09-09 Maciej W. Rozycki + + * lib/gdbserver-support.exp (gdbserver_start): Throw an error + exception on timeout. + (gdbserver_run): Catch any `gdbserver_spawn' error exceptions. + (gdbserver_start_extended): Catch any `gdbserver_start' error + exceptions. + (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise. + * lib/mi-support.exp (mi_gdb_target_load): Catch any + `gdbserver_gdb_load' error exceptions. + +2014-09-09 Maciej W. Rozycki + + * lib/gdbserver-support.exp (gdbserver_start): Set timeout to + 120 on waiting for the TCP socket to open. + +2014-09-09 Doug Evans + + * gdb.base/default.exp (show_conv_list): Add _caller_is, + _caller_matches, _any_caller_is, _any_caller_matches. + +2014-09-09 Doug Evans + + * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output. + +2014-09-09 Yao Qi + + * gdb.mi/mi-var-display.exp: Set print symbol off. + +2014-09-07 Gabriel Krisman Bertazi + + PR gdb/17035 + * gdb.base/commands.exp: Add tests to verify user-defined + commands with empty bodies. + * gdb.python/py-cmd.exp: Test that we don't show user-defined + python commands in `show user command`. + * gdb.python/scm-cmd.exp: Test that we don't show user-defined + scheme commands in `show user command`. + +2014-09-07 Jan Kratochvil + + PR python/17355 + * gdb.python/amd64-py-framefilter-invalidarg.S: New file. + * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file. + * gdb.python/py-framefilter-invalidarg.exp: New file. + * gdb.python/py-framefilter-invalidarg.py: New file. + +2014-09-06 Doug Evans + + PR 15276 + * gdb.python/py-caller-is.c: New file. + * gdb.python/py-caller-is.exp: New file. + +2014-09-05 Sergio Durigan Junior + + PR gdb/17235 + * gdb.arch/amd64-stap-wrong-subexp.exp: New file. + * gdb.arch/amd64-stap-wrong-subexp.S: Likewise. + +2014-09-04 Sergio Durigan Junior + + PR fortran/17237 + * gdb.fortran/print-formatted.exp: New file. + * gdb.fortran/print-formatted.f90: Likewise. + +2014-09-03 Sasha Smundak + + * gdb.python/py-frame.exp: Test Frame.read_register. + +2014-09-03 Sergio Durigan Junior + + PR python/16699 + * gdb.python/py-completion.exp: New file. + * gdb.python/py-completion.py: Likewise. + +2014-08-28 Doug Evans + + * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when + eax,etc. are live with values set by gdb and thus the compiler can't + use them. + * gdb.arch/i386-pseudo.c (main): Ditto. + +2014-08-27 Doug Evans + + * lib/gdb.exp (gdb_compile_shlib): Add support for clang. + +2014-08-25 Doug Evans + + * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type. + (main): Ditto. + +2014-08-25 Doug Evans + + * gdb.threads/thread-execl.exp: #include . + +2014-08-24 Yao Qi + + * gdb.guile/scm-value.exp (test_lazy_strings): Set print + symbol off. + * gdb.python/py-value.exp (test_lazy_strings): Likewise. + +2014-08-22 Doug Evans + + PR 17276 + * gdb.dwarf2/dw2-single-line-discriminators.S: New file. + * gdb.dwarf2/dw2-single-line-discriminators.c: New file. + * gdb.dwarf2/dw2-single-line-discriminators.exp: New file. + +2014-08-22 Yao Qi + + * gdb.python/py-finish-breakpoint.exp: Copy .py file to host. + * gdb.python/py-finish-breakpoint2.exp: Likewise. + * gdb.python/python.exp: Likewise. Use .py file on the host + instead of the build. + +2014-08-21 Jan Kratochvil + + * gdb.threads/gcore-stale-thread.c: New file. + * gdb.threads/gcore-stale-thread.exp: New file. + +2014-08-21 Pedro Alves + + * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test. + * gdb.base/gcore-relro-pie.exp: Likewise. + * gdb.base/gcore-relro.exp: Likewise. + * gdb.base/gcore.exp: Likewise. + * gdb.base/print-symbol-loading.exp: Likewise. + * gdb.threads/gcore-thread.exp: Likewise. + * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command". + +2014-08-20 Pedro Alves + Jan Kratochvil + + * Makefile.in (EXTRA_RULES, CC): New variables, get from + configure. + (EXPECT): Handle READ1 being set. + (all): Depend on EXTRA_RULES. + (check-read1, expect-read1, read1.so, read1): New rules. + * README (Testsuite Parameters): Document the READ1 make variable. + (Race detection): New section. + * configure: Regenerate. + * configure.ac: If build==host==target, and running under a + GNU/glibc system, add read1 to the extra Makefile rules. + (EXTRA_RULES): AC_SUBST it. + * lib/read1.c: New file. + +2014-08-20 Joel Brobecker + + * gdb.dwarf2/data-loc.exp: Add additional tests exercising + the handling of variables declared as a typedef to an array + which a DW_AT_data_location attribute. + +2014-08-19 Andrew Burgess + Pedro Alves + + PR symtab/14604 + PR symtab/14605 + * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use + gdb_test. + +2014-08-19 Pedro Alves + + * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. + +2014-08-19 Yao Qi + + * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the + right line. + +2014-08-18 David Blaikie + + * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. + +2014-08-18 Joel Brobecker + + * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound + attribute in array range. + +2014-08-18 Joel Brobecker + + * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files. + +2014-08-15 Siva Chandra Reddy + + PR c++/17132 + * gdb.cp/pr17132.cc: New file. + * gdb.cp/pr17132.exp: New file. + +2014-08-15 Siva Chandra Reddy + + * gdb.python/py-xmethods.py (A_getarrayind) + (E_method_char_worker.__call__, E_method_int_worker.__call__): + Use 'print' with function call syntax. + (E_method_matcher.match): Fix tab vs space indentation mixup. + +2014-08-15 Yao Qi + + * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns + false. + +2014-08-15 Yao Qi + + * gdb.cp/casts.exp: Set print symbol off. + * gdb.cp/class2.exp: Likewise. + * gdb.cp/overload.exp: Likewise. + * gdb.cp/templates.exp: Likewise. + +2014-08-11 Doug Evans + + * gdb.base/print-symbol-loading.exp (test_load_core): Update. + (test_load_shlib): Update. + +2014-08-09 Yao Qi + + * gdb.base/display.exp: Invoke is_address_zero_readable. + * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise. + * gdb.python/py-value.exp (test_value_in_inferior): Likewise. + * gdb.base/hbreak-unmapped.exp: Return if + is_address_zero_readable returns true. + * gdb.base/signest.exp: Likewise. + * gdb.base/signull.exp: Likewise. + * gdb.base/sigbpt.exp: Likewise. + * gdb.guile/scm-disasm.exp: Do the test if + is_address_zero_readable returns false. + * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise. + * gdb.python/py-arch.exp: Likewise. + * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise. + * lib/gdb.exp (is_address_zero_readable): New proc. + +2014-08-09 Yao Qi + + PR testsuite/13443 + * gdb.mi/mi-var-display.exp: Make test messages unique. + +2014-08-04 Tom Tromey + + * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug + target 0". + +2014-08-04 Tom Tromey + + * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not + "target_resume". + +2014-08-01 Joel Brobecker + + * gdb.base/vla-datatypes.c (vla_factory): Add new variable + inner_vla_struct_object_size. + * gdb.base/vla-datatypes.exp: Adjust last test, and mark it + as xfail. + +2014-07-30 Pedro Alves + + * gdb.threads/signal-command-handle-nopass.exp (test): Add + comment. + +2014-07-29 Yao Qi + + PR gdb/17206 + * gdb.base/until-nodebug.exp: New. + +2014-07-28 Doug Evans + + PR guile/17203 + * gdb.guile/scm-parameter.exp: Add tests for trying to create + previously existing parameter, and previously ambiguously spelled + parameter. + +2014-07-28 Will Newton + + * gdb.base/varargs.exp: Remove KFAILs for ARM. + +2014-07-26 Ludovic Courtès + Doug Evans + + PR guile/17146 + * gdb.guile/types-module.exp: Add tests for wrong type arguments. + +2014-07-25 Pedro Alves + + * gdb.threads/signal-command-handle-nopass.c: New file. + * gdb.threads/signal-command-handle-nopass.exp: New file. + * gdb.threads/signal-command-multiple-signals-pending.c: New file. + * gdb.threads/signal-command-multiple-signals-pending.exp: New file. + * gdb.threads/signal-delivered-right-thread.c: New file. + * gdb.threads/signal-delivered-right-thread.exp: New file. + +2014-07-25 Pedro Alves + + * gdb.base/double-prompt-target-event-error.exp + (cancel_pagination_in_target_event): Remove '-notransfer ' + match. + (cancel_pagination_in_target_event): Rework double prompt + detection. + * gdb.base/paginate-after-ctrl-c-running.exp + (test_ctrlc_while_target_running_paginates): Remove '-notransfer + ' match. + * gdb.base/paginate-bg-execution.exp + (test_bg_execution_pagination_return) + (test_bg_execution_pagination_cancel): Remove '-notransfer + ' matches. + * gdb.base/paginate-execution-startup.exp + (test_fg_execution_pagination_return) + (test_fg_execution_pagination_cancel): Remove '-notransfer + ' matches. + * gdb.base/paginate-inferior-exit.exp + (test_paginate_inferior_exited): Remove '-notransfer ' + match. + * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp. + * lib/gdb.exp (pagination_prompt): Run text through + string_to_regexp. + (gdb_test_multiple): Match $pagination_prompt instead of + "". + (string_to_regexp): Move to lib/gdb-utils.exp. + +2014-07-22 Jan Kratochvil + + * gdb.arch/amd64-entry-value-paramref.S: New file. + * gdb.arch/amd64-entry-value-paramref.cc: New file. + * gdb.arch/amd64-entry-value-paramref.exp: New file. + * gdb.arch/amd64-optimout-repeat.S: New file. + * gdb.arch/amd64-optimout-repeat.c: New file. + * gdb.arch/amd64-optimout-repeat.exp: New file. + +2014-07-17 Jan Kratochvil + + PR gdb/17170 + * gdb.base/statistics.exp: New file. + +2014-07-17 Doug Evans + + PR gdb/17170 + * gdb.base/maint.exp: Update testing of per-command stats. + +2014-07-16 Pedro Alves + + * gdb.trace/tfile.c: Include unistd.h and stdint.h. + (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef. + (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr) + (tfile_write_buf): New functions. + (add_memory_block): Rewrite using the above. + (adjust_function_address): New function. + (FUNCTION_ADDRESS): New macro. + (write_basic_trace_file): Remove short_x local, and use + tfile_write_16. Change type of func_addr local to unsigned long + long. Use FUNCTION_ADDRESS instead of handling the Thumb bit + here. Cast argument of add_memory_block to char pointer. + (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS. + (main): Remove parameters. + * gdb.trace/tfile.exp: Remove nowarnings. + +2014-07-15 Simon Marchi + + * gdb.base/debug-expr.exp: Test string evaluation with + "debug expression" on. + +2014-07-15 Pedro Alves + + * gdb.base/reread.exp: Use clean_restart. + +2014-07-15 Pierre Langlois + + * gdb.arch/avr-flash-qualifer.c: New. + * gdb.arch/avr-flash-qualifer.exp: New. + +2014-07-14 Pedro Alves + + * gdb.base/paginate-after-ctrl-c-running.c: New file. + * gdb.base/paginate-after-ctrl-c-running.exp: New file. + +2014-07-14 Pedro Alves + + * gdb.base/double-prompt-target-event-error.c: New file. + * gdb.base/double-prompt-target-event-error.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-inferior-exit.c: New file. + * gdb.base/paginate-inferior-exit.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-bg-execution.c: New file. + * gdb.base/paginate-bg-execution.exp: New file. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * gdb.base/paginate-execution-startup.c: New file. + * gdb.base/paginate-execution-startup.exp: New file. + * lib/gdb.exp (pagination_prompt): New global. + (default_gdb_spawn): New procedure, factored out from + default_gdb_spawn. + (default_gdb_start): Adjust to call default_gdb_spawn. + (gdb_spawn): New procedure. + +2014-07-14 Pedro Alves + + * lib/gdb.exp (gdb_assert): New procedure. + * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it. + +2014-07-14 Pedro Alves + + * gdb.base/execution-termios.c: New file. + * gdb.base/execution-termios.exp: New file. + +2014-07-14 Tom Tromey + + * gdb.cp/vla-cxx.cc: New file. + * gdb.cp/vla-cxx.exp: New file. + +2014-07-14 Tom Tromey + + * gdb.reverse/rerun-prec.c: New file. + * gdb.reverse/rerun-prec.exp: New file. + +2014-07-12 Maciej W. Rozycki + Maciej W. Rozycki + + * lib/gdb-utils.exp: New file. + * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing + inline `gdb_init_command' processing. + (gdb_start_cmd): Likewise. + * lib/mi-support.exp (mi_run_cmd): Likewise. + * README: Document `gdb_init_command' and `gdb_init_commands'. + +2014-07-11 Jan Kratochvil + + Fix false FAIL running under a very long directory name. + * gdb.base/argv0-symlink.exp: Add "set print repeats 10000" + and "set print elements 10000". Twice. + +2014-07-11 Yao Qi + + * gdb.base/exprs.exp: "set print symbol off". + +2014-07-11 Pedro Alves + + * gdb.threads/kill.c: New file. + * gdb.threads/kill.exp: New file. + 2014-07-10 Yao Qi * gdb.trace/tfile.c (write_basic_trace_file)