X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=c37d84a8551e300d2b9389481817aac35d71c30b;hb=cf75d6c37e15e321e82e7f4ceebcf847b4f057fc;hp=f066b8af80fc1991402ec3c38178669cf24f31fa;hpb=11cc1b74538286b8bc775057fe1300707b3e3520;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f066b8af80..c37d84a855 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,433 @@ +2015-04-24 Andrew Burgess + + * gdb.base/dump.exp: Add *.verilog files to all_files list. Add + new tests for verilog output. + +2015-04-24 Yao Qi + + * boards/remote-gdbserver-on-localhost.exp: New file. + +2015-04-23 Pedro Alves + + * gdb.base/interrupt.exp: Use an indirect spawn id list holding + $inferior_spawn_id instead of $inferior_spawn_id directly. On + "end of file", remove $inferior_spawn_id from the indirect list. + +2015-04-23 Pedro Alves + + * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file. + +2015-04-23 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout + on $any_spawn_id instead of only on $gdb_spawn_id. + +2015-04-21 Pierre Muller + + PR pascal/17815 + * lib/pascal.exp (gpc_compile): Add new option "class". + (fpc_compile): Likewise. + * gdb.pascal/case-insensitive-symbols.pas: New file. + * gdb.pascal/case-insensitive-symbols.exp: New file. + +2015-04-20 Gary Benson + + * gdb.base/attach.exp: Fix three extended remote failures. + +2015-04-17 Gary Benson + + * gdb.server/server-exec-info.exp: Inhibit GDB from accessing + the main executable over the remote protocol. + +2015-04-16 Pedro Alves + + * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start + a new gdbserver if gdbserver_reconnect_p is set. + +2015-04-16 Pedro Alves + + * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p + is set, don't exit gdbserver. + +2015-04-16 Andreas Arnez + + * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an + appropriate .insn, such that an older assembler can be used. + * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable + the z/Architecture instruction set on 31-bit targets as well. + +2015-04-16 Andreas Arnez + + * gdb.go/handcall.exp: Remove all logic related to the first + breakpoint and rely on go_runto_main instead. + * gdb.go/strings.exp: Likewise. + * gdb.go/unsafe.exp: Likewise. + * gdb.go/hello.exp: Likewise. Also rename the remaining + breakpoint marker to "breakpoint 1". + * gdb.go/handcall.go: Remove comment "set breakpoint 1 here". + * gdb.go/strings.go: Likewise. + * gdb.go/unsafe.go: Likewise. + * gdb.go/hello.go: Likewise. Also remove the second occurrence of + "set breakpoint 2 here" and rename the remaining breakpoint marker + to "breakpoint 1". + +2015-04-15 Simon Marchi + + * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function + if itertools.imap is not present. + * gdb.python/py-objfile.exp: Add parentheses. + * gdb.python/py-type.exp: Same. + * gdb.python/py-unwind-maint.py: Same. + +2015-04-15 Yao Qi + + * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead + of ":$ptr_size" and set its form explicitly. + +2015-04-15 Pedro Alves + Yao Qi + + * gdb.base/watch-bitfields.exp (test_watch_location): Increase + timeout by factor of 4. + (test_regular_watch): Likewise. + * gdb.base/watchpoint-solib.exp: Use with_timeout_factor. + * gdb.reverse/sigall-reverse.exp: Likewise. + * gdb.reverse/until-precsave.exp: Likewise. + * lib/gdb.exp (with_timeout_factor): New proc. + (gdb_expect): Move some code to ... + (get_largest_timeout): ... here. New procedure. + +2015-04-14 Luis Machado + + * gdb.base/bp-permanent.exp (test): Reinstate correct test message. + +2015-04-13 Luis Machado + + * gdb.base/bp-permanent.exp (test): Handle the case of being unable + to write to the .text section. + +2015-04-13 Luis Machado + + * gdb.base/coredump-filter.exp: Restrict test to Linux systems only. + Handle the case of targets that do not provide PID information. + +2015-04-13 Yao Qi + + * lib/gdbserver-support.exp (gdb_exit): Catch exception + and use expect instead of gdb_expect. + +2015-04-13 Sergio Durigan Junior + + * gdb.base/coredump-filter.exp: Rename variable "addr" to + "coredump_var_addr" to avoid naming conflict with other testcases. + +2015-04-10 Pedro Alves + + * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use + gdb_test_sequence and gdb_assert. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use + test messages that don't include the breakpoint address. + +2015-04-10 Yao Qi + + * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return + false for some offset and width combinations which aren't + supported by linux kernel. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New + procedure, factored out from ... + (top level): ... here. Add "set displaced-stepping" testing axis. + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New + parameter "displaced". Use it. + (top level): Use foreach and add "set displaced-stepping" testing + axis. + +2015-04-10 Pedro Alves + + * gdb.threads/step-over-trips-on-watchpoint.c (child_function): + Remove comment. + * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find + both the address of the instruction that triggers the watchpoint + and the address of the instruction immediately after, and use + those addresses for the test. Fix comment. + +2015-04-10 Pedro Alves + + * gdb.base/sigstep.exp (breakpoint_to_handler) + (breakpoint_to_handler_entry): New parameter 'displaced'. Use it. + Test "backtrace" in handler. + (breakpoint_over_handler): New parameter 'displaced'. Use it. + (top level): Add new "displaced" test axis to + breakpoint_to_handler, breakpoint_to_handler_entry and + breakpoint_over_handler. + +2015-04-10 Pedro Alves + + PR gdb/18216 + * gdb.threads/multiple-step-overs.exp: Remove expected eof. + +2015-04-10 Yao Qi + + * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc. + (test_add_rn_pc): New function. + * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc. + (top level): Invoke test_add_rn_pc. + +2015-04-10 Pedro Alves + + PR gdb/13858 + * gdb.base/step-over-no-symbols.exp: New file. + +2015-04-09 Andy Wingo + + * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled + after the Python tests. + +2015-04-08 Keith Seitz + + PR python/16699 + * gdb.python/py-completion.exp: New tests for completion. + * gdb.python/py-completion.py (CompleteLimit1): New class. + (CompleteLimit2): Likewise. + (CompleteLimit3): Likewise. + (CompleteLimit4): Likewise. + (CompleteLimit5): Likewise. + (CompleteLimit6): Likewise. + (CompleteLimit7): Likewise. + +2015-04-08 Pedro Alves + + PR gdb/18214 + PR gdb/18216 + * gdb.threads/multiple-step-overs.c (sigusr1_handler): New + function. + (main): Install it as SIGUSR1 handler. + * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix' + parameter. Always use "setup" as prefix. Toggle "set + displaced-stepping" off/on depending on global. Don't switch to + thread 1 here. + (top level): Add displaced stepping "off/on" test axis. Update + "setup" calls. Wrap each subtest with with_test_prefix. Test + continuing with a queued signal in each thread. + +2015-04-08 Pedro Alves + + * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd. + * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use + gdb_breakpoint instead of gdb_test that doesn't expect anything. + Return early if running to main fails. + * gdb.trace/while-stepping.exp: Likewise. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id != + $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to + interact with inferior program. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (inferior_spawn_id): New global. + (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's + spawn id after processing the user code. + (default_gdb_start): Set inferior_spawn_id. + (send_inferior): New procedure. + * lib/gdbserver-support.exp (gdbserver_start): Set + inferior_spawn_id. + (close_gdbserver, gdb_exit): Unset inferior_spawn_id. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling. + * lib/gdbserver-support.exp (gdbserver_start): Make + $server_spawn_id global. + (gdbserver_start): Don't wait for gdbserver's spawn id with + expect_background. + (close_gdbserver): New procedure. + (gdb_exit): Rename the default version and reimplement. + +2015-04-07 Pedro Alves + + * lib/gdb.exp (gdb_test_multiple): When processing an argument, + append the substituted item, not the original item. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Use gdb_test_multiple instead of + gdb_expect. + +2015-04-07 Pedro Alves + + * gdb.base/interrupt.exp: Don't handle the case of the inferior + output appearing once only. + +2015-04-07 Pedro Alves + + * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test + that doesn't expect anything. Return early if running to main + fails. + +2015-04-07 Yao Qi + + * gdb.threads/non-stop-fair-events.c (SECONDS): New macro. + (child_function): Call alarm. + (main): Move call to alarm into the loop. + * gdb.threads/non-stop-fair-events.exp: Build program with + -DTIMEOUT=$timeout. + +2015-04-06 Doug Evans + + * lib/pascal.exp (gpc_compile): Rename dest arg to destfile. + Fix dest parameter to board_info. + (fpc_compile): Ditto. + (gdb_compile_pascal): Rename dest arg to destfile. + +2015-04-03 Pierre-Marie de Rodat + + * gdb.ada/funcall_ref.exp: New file. + * gdb.ada/funcall_ref/foo.adb: New file. + +2015-04-02 Yao Qi + + * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target + is remote. + +2015-04-02 Gary Benson + + * gdb.base/break-probes.exp: Cope with "target:" sysroot. + +2015-04-01 Sasha Smundak + + * gdb.python/py-unwind-maint.c: New file. + * gdb.python/py-unwind-maint.exp: New test. + * gdb.python/py-unwind-maint.py: New file. + * gdb.python/py-unwind.c: New file. + * gdb.python/py-unwind.exp: New test. + * gdb.python/py-unwind.py: New test. + +2015-04-01 Pedro Alves + + * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message + to fail instead of non-existent $test. + +2015-04-01 Pedro Alves + + * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to + GDBFLAGS if not empty. + +2015-04-01 Pierre-Marie de Rodat + + * gdb.ada/complete.exp: Remove "multi_line". + * gdb.ada/info_exc.exp: Remove "multi_line". + * gdb.ada/packed_tagged.exp: Remove "multi_line". + * gdb.ada/ptype_field.exp: Remove "multi_line". + * gdb.ada/sym_print_name.exp: Remove "multi_line". + * gdb.ada/tagged.exp: Remove "multi_line". + * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with + [multi_line ...] + * gdb.btrace/delta.exp: Likewise. + * gdb.btrace/exception.exp: Likewise. + * gdb.btrace/function_call_history.exp: Likewise. + * gdb.btrace/instruction_history.exp: Likewise. + * gdb.btrace/nohist.exp: Likewise. + * gdb.btrace/record_goto.exp: Likewise. + * gdb.btrace/segv.exp: Likewise. + * gdb.btrace/stepi.exp: Likewise. + * gdb.btrace/tailcall.exp: Likewise. + * gdb.btrace/unknown_functions.exp: Likewise. + * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise. + * lib/gdb.exp: Add the "multi_line" helper. + +2015-04-01 Pedro Alves + + * gdb.threads/tid-reuse.c: New file. + * gdb.threads/tid-reuse.exp: New file. + +2015-03-31 Sergio Durigan Junior + + PR corefiles/16092 + * gdb.base/coredump-filter.c: New file. + * gdb.base/coredump-filter.exp: Likewise. + +2015-03-27 Petr Machata + + * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset. + (Dwarf::_line_count, Dwarf::_line_saw_file): New variables. + (Dwarf::assemble): Initialize them. + (Dwarf::lines): New function. + +2015-03-26 Jon Turney + + * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set + SYMBOL_PREFIX for x86_64-*-cygwin. + +2015-03-26 Andy Wingo + + PR symtab/18148 + * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a + const_value but not a location. + * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without + location defined in non-main CUs are visible. + +2015-03-26 Yao Qi + + PR testsuite/18139 + * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2. + Add a line number entry for the same line. + * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2. + Add a line number entry for the same line. + +2015-03-26 Yao Qi + + * gdb.linespec/break-asm-file0.s (func2): Use nop instead of + .int 0. + (func): Likewise. Add .Lfunc_1 label. + Use .Lfunc_1 label. + * gdb.linespec/break-asm-file1.s (func3): Use nop instead of + .int 0. + (func): Likewise. + Use .Lfunc_1 label. + +2015-03-26 Yao Qi + + * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing. + Call gdb_compile instead to compile each .s files without debug + information. + +2015-03-26 Yao Qi + + * gdb.base/savedregs.exp (process_saved_regs): Make + "Saved registers:" optional in the pattern. + +2015-03-25 Markus Metzger + + * gdb.btrace/next.exp: Merged into step.exp. + * gdb.btrace/finish.exp: Merged into step.exp. + * gdb.btrace/nexti.exp: Merged into stepi.exp. + * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using + "record goto" and checking the exact replay position. + * gdb.btrace/stepi.exp: Choose test file based on target. Do not + check for "Recording format" in "info record" output. + * gdb.btrace/record_goto.exp: Choose test file based on target. + * gdb.btrace/x86-record_goto.S: Renamed into ... + * gdb.btrace/x86_64-record_goto.S: ... this. + * gdb.btrace/i686-record_goto.S: New. + * gdb.btrace/x86-tailcall.S: Renamed into ... + * gdb.btrace/x86_64-tailcall.S: ... this. + * gdb.btrace/i686-tailcall.S: New. + * gdb.btrace/x86-tailcall.c: Renamed into ... + * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two + separate statements. Update test. + * gdb.btrace/delta.exp: Use record_goto.c as test file. + * gdb.btrace/gcore.exp: Use record_goto.c as test file. + * gdb.btrace/nohist.exp: Use record_goto.c as test file. + * gdb.btrace/tailcall.exp: Choose test file based on target. + * gdb.btrace/Makefile.in: Remove next, finish, and nexti. + 2015-03-25 Markus Metzger * gdb.btrace/exception.exp: Increase BTS buffer size.