1 2016-10-29 Manish Goregaokar <manish@mozilla.com>
3 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`
5 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7 * gdb.rust/simple.rs: Add test for univariant enums without discriminants
8 and for encoded struct-like enums
10 2016-10-28 Pedro Alves <palves@redhat.com>
12 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13 gdb_test_multiple, tighten regexps and match symtabs and line
16 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
18 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
21 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
23 * gdb.base/exec-invalid-sysroot.exp: New file.
25 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
27 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
29 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
31 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
33 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
35 * gdb.base/killed-outside.exp: Remove $options from a call to
36 `prepare_for_testing'.
38 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
40 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
43 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
45 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
48 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
50 * gdb.trace/mi-trace-save.exp: New file.
52 2016-10-13 Yao Qi <yao.qi@linaro.org>
54 * gdb.base/code_elim.exp (get_var_address): Remove.
55 * gdb.base/relocate.exp: Likewise.
56 * gdb.base/shreloc.exp: Likewise.
57 * lib/gdb.exp (get_var_address): New.
59 2016-10-13 Yao Qi <yao.qi@linaro.org>
61 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
62 floating point tests if $skip_float_test is false.
64 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
66 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
67 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
69 Add 1 to argc so we guarantee distinct initial/modified argc values.
71 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
73 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
75 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
77 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
78 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
79 * gdb.arch/vsx-regs.exp: Likewise.
81 2016-10-07 Yao Qi <yao.qi@linaro.org>
83 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
85 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
87 * gdb.python/python.exp: Test decode_line("*0").
89 2016-10-06 Doug Evans <dje@google.com>
91 * gdb.python/py-value.exp (test_value_creation): Add test for large
92 unsigned 64-bit value.
94 2016-10-06 Tom Tromey <tom@tromey.com>
96 * gdb.compile/compile.exp: Change java tests to rust.
97 * gdb.base/setshow.exp: Change java tests to rust.
98 * gdb.base/default.exp: Remove java from language list.
99 * README (Examples): Update language example.
100 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
102 * lib/gdb.exp (skip_java_tests): Remove.
103 * lib/java.exp: Remove.
106 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
108 * gdb.arch/mips-fcr.exp: New test.
109 * gdb.arch/mips-fcr.c: Source for the new test.
111 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
113 * gdb.base/solib-disc.exp: Use `standard_output_file'
116 2016-10-06 Pedro Alves <palves@redhat.com>
118 * gdb.base/jit-simple-dl.c: New file.
119 * gdb.base/jit-simple-jit.c: New file, factored out from ...
120 * gdb.base/jit-simple.c: ... this.
121 * gdb.base/jit-simple.exp (jit_run): Delete.
122 (build_jit): New proc.
123 (jit_test_reread): Recompile either the main program or the shared
124 library, depending on what is being tested. Skip changing address
125 if caller wants to. Compare before/after addresses. If testing
126 standalone, explicitly load the binary. Test "maint info
128 (top level): Add "standalone vs shared lib" and "change address"
129 vs "same address" axes.
131 2016-10-06 Pedro Alves <palves@redhat.com>
133 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
136 (jit_test_reread): Use with_test_prefix. Reload the main binary
137 explicitly. Compare the before/after addresses of the JIT
140 2016-08-15 Doug Evans <dje@google.com>
142 * gdb.xml/extra-regs.xml: Update, end field now required, default type
143 for single bitfields is bool.
144 * gdb.xml/tdesc-regs.exp: Ditto.
146 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
148 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
150 2016-10-05 Yao Qi <yao.qi@linaro.org>
152 * lib/gdb.exp (support_complex_tests): Return zero if
153 gdb_skip_float_test return true.
155 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
156 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
159 * gdb.mi/user-selected-context-sync.exp: New file.
160 * gdb.mi/user-selected-context-sync.c: New file.
162 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
163 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
166 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
167 =thread-select-event check.
169 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
171 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
172 the compulsory L operand changes.
173 * gdb.arch/powerpc-power.s: Likewise.
175 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
177 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
178 * gdb.base/jit-attach-pie.c: New file.
179 * gdb.base/jit-attach-pie.exp: New file.
181 2016-09-28 Pedro Alves <palves@redhat.com>
183 * gdb.base/infcall-input.c: New file.
184 * gdb.base/infcall-input.exp: New file.
186 2016-09-22 Yao Qi <yao.qi@linaro.org>
188 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
189 (gdb_exit): Rename it to ...
190 (gdbserver_gdb_exit): ... Close GDBserver.
191 (gdb_exit): New proc, call gdbserver_gdb_exit.
192 (mi_gdb_exit): Likewise.
194 2016-09-22 Yao Qi <yao.qi@linaro.org>
196 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
198 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
201 2016-09-22 Yao Qi <yao.qi@linaro.org>
203 * lib/gdbserver-support.exp: Check the existence of
204 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
206 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
208 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
210 2016-09-21 Tom Tromey <tom@tromey.com>
213 * gdb.base/quit.exp: New file.
215 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
217 * .gitignore: New file.
219 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
221 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
224 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
226 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
228 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
230 * gdb.cp/casts.cc (decltype): Move it ...
231 (main): ... with its call to ...
232 * gdb.cp/casts03.cc: ... a new file.
233 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
235 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
237 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
239 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
241 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
242 and sync up the test with tests in gas/testsuite/gas/ppc.
243 * gdb.arch/powerpc-power.exp: Likewise.
245 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
247 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
249 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
250 Jan Kratochvil <jan.kratochvil@redhat.com>
252 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
253 make m1's definition to be different from m2's. Use 'dummy' as an
254 argument for probe 'two'.
256 2016-09-10 Jon Beniston <jon@beniston.com>
258 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
261 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
263 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
264 variable declaration.
265 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
266 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
267 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
268 received HWCAP as its argument.
270 2016-09-06 Pedro Alves <palves@redhat.com>
272 * gdb.base/new-ui-pending-input.c: New file.
273 * gdb.base/new-ui-pending-input.exp: New file.
274 * gdb.exp (clear_gdb_spawn_id): New procedure.
275 (with_spawn_id): Check whether gdb_spawn_id exists before
276 referencing it. If gdb_spawn_id didn't exist on entry, clear it
279 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
281 * gdb.base/float128.c: New file.
282 * gdb.base/float128.exp: Likewise.
283 * gdb.base/floatn.c: Likewise.
284 * gdb.base/floatn.exp: Likewise.
286 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
288 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
290 2016-09-05 Pedro Alves <palves@redhat.com>
293 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
294 unwinders are immediately called as side effect of "source" or
295 "disable unwinder" commands.
296 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
298 2016-09-02 Yao Qi <yao.qi@linaro.org>
300 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
301 is true and $type is "float" or "double".
303 2016-09-02 Yao Qi <yao.qi@linaro.org>
305 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
307 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
308 * gdb.base/call-rt-st.exp: Likewise.
309 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
310 return value instead of gdb,skip_float_test.
311 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
312 (do_function_calls): Use its return value instead of
314 * gdb.base/finish.exp: Likewise.
315 * gdb.base/funcargs.exp: Likewise.
316 * gdb.base/return.exp: Likewise.
317 * gdb.base/return2.exp: Likewise.
318 * gdb.base/varargs.exp: Likewise.
319 * lib/gdb.exp (gdb_skip_float_test): Change it to
320 gdb_caching_proc. Detect the broken ptrace on arm-linux.
322 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
324 * gdb.multi/tids.exp: Test "thread apply all".
326 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
328 * gdb.base/default.exp (tty): Remove.
330 2016-08-24 Kevin Buettner <kevinb@redhat.com>
332 * gdb.python/py-recurse-unwind.c: New file.
333 * gdb.python/py-recurse-unwind.py: New file.
334 * gdb.python/py-recurse-unwind.exp: New file.
336 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
338 * gdb.base/set-inferior-tty.exp: New file.
339 * gdb.base/set-inferior-tty.c: New file.
341 2016-08-23 Pedro Alves <palves@redhat.com>
344 * gdb.base/new-ui-echo.c: New file.
345 * gdb.base/new-ui-echo.exp: New file.
347 2016-08-23 Yao Qi <yao.qi@linaro.org>
349 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
351 * gdb.server/connect-without-multi-process.exp (do_test):
354 2016-08-23 Yao Qi <yao.qi@linaro.org>
356 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
357 standalone_txt. Delete gdb_txt and standalone_txt on host
358 and target. Spawn the binary on target. Copy files from
361 2016-08-22 Pedro Alves <palves@redhat.com>
364 * gdb.base/vdso-warning.exp: Test core dumps too. Use
365 with_test_prefix. Factor out bits to ...
366 (test_no_vdso): ... this new procedure.
368 2016-08-19 Carl Love <cel@us.ibm.com>
370 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
371 maintaining separate logic for constructing the output path.
372 * gdb.arch/powerpc-d128-regs.exp: Likewise.
373 * gdb.arch/ppc-dfp.exp: Likewise.
374 * gdb.arch/ppc-fp.exp: Likewise.
375 * gdb.arch/vsx-regs.exp: Likewise.
376 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
377 binprefix for generating the additional binary files.
379 2016-08-19 Pedro Alves <palves@redhat.com>
381 * gdb.trace/mi-trace-frame-collected.exp
382 (test_trace_frame_collected): On x32, expect two registers.
384 2016-08-18 Carl Love <cel@us.ibm.com>
386 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
387 and sync up the test with tests in gas/testsuite/gas/ppc.
388 * gdb.arch/powerpc-power.exp: Likewise.
390 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
392 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
393 expected error message.
395 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
397 * gdb.multi/remove-inferiors.exp: New file.
398 * gdb.multi/remove-inferiors.c: New file.
400 2016-08-12 Yao Qi <yao.qi@linaro.org>
402 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
405 2016-08-10 Pedro Alves <palves@redhat.com>
408 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
411 2016-08-09 Pedro Alves <palves@redhat.com>
412 Simon Marchi <simon.marchi@ericsson.com>
415 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
416 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
418 2016-08-09 Pedro Alves <palves@redhat.com>
421 * gdb.mi/mi-cmd-error.exp: New file.
423 2016-08-09 Pedro Alves <palves@redhat.com>
426 * gdb.base/signals-state-child.c: New file.
427 * gdb.base/signals-state-child.exp: New file.
428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
430 2016-08-09 Pedro Alves <palves@redhat.com>
432 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
434 2016-08-03 Tom Tromey <tom@tromey.com>
437 * gdb.python/py-frame-inline.exp: Add Frame.function test.
439 2016-08-01 Yao Qi <yao.qi@linaro.org>
441 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
442 variable mode to "multi-process" if $multi_process is 1, otherwise
443 set it to "single-process".
445 2016-08-01 Yao Qi <yao.qi@linaro.org>
447 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
448 * gdb.cp/cpexprs.exp: Likewise.
449 * gdb.cp/m-static.exp: Likewise.
451 2016-07-26 Tom Tromey <tom@tromey.com>
454 * gdb.threads/tls.exp (check_thread_local): Add python symbol
457 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
459 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
460 selecting assembly source files.
461 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
462 assembly source files.
463 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
464 assembly source files.
465 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
466 selecting assembly source files.
468 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
470 * gdb.base/new-ui.exp (do_test_invalid_args): New
473 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
475 * gdb.btrace/reconnect.c: New file.
476 * gdb.btrace/reconnect.exp: New file.
478 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
480 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
481 to test_catch_syscall_group.
482 (test_catch_syscall_group): New.
484 2016-07-21 Tom Tromey <tom@tromey.com>
486 * gdb.rust/simple.rs (main): Use empty struct expression.
487 * gdb.rust/simple.exp: Add tests for empty struct expression.
489 2016-07-21 Yao Qi <yao.qi@linaro.org>
491 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
492 if gdb_skip_xml_test is true on some targets.
494 2016-07-21 Yao Qi <yao.qi@linaro.org>
496 * gdb.server/solib-list.exp: Unset last_loaded_file.
498 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
500 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
501 "step into captured_main (args)".
503 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
507 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
509 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
511 2016-07-19 Pedro Alves <palves@redhat.com>
513 * gdb.opt/inline-break.exp: Remove optimize=-O2.
514 * gdb.opt/inline-bt.exp: Likewise.
515 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
516 additional_flags=-Winline.
517 * gdb.opt/inline-locals.exp: Likewise.
518 * gdb.opt/inline-markers.c (ATTR): Define.
519 (inlined_fn): Use it.
521 2016-07-19 Yao Qi <yao.qi@linaro.org>
523 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
524 (test_with_self): Remove some code. Remove argument executable.
525 (top-level): Use do_self_tests.
527 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
528 Don Breazeal <donb@codesourcery.com>
530 * gdb.base/maint.exp: Escape paths used in regular expressions.
531 * gdb.stabs/weird.exp: Likewise.
533 2016-07-13 Tom Tromey <tom@tromey.com>
535 PR python/15620, PR python/18620:
536 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
537 (test_bkpt_events): New procs.
539 2016-07-13 Tom Tromey <tom@tromey.com>
542 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
544 (test_watchpoints): Likewise.
545 (test_bkpt_pending): New proc.
547 2016-07-13 Tom Tromey <tom@tromey.com>
550 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
553 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
555 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
556 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
557 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
559 (g): Rename g_end_lbl to g_label.
560 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
562 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
564 2016-07-12 Tom Tromey <tom@tromey.com>
567 * gdb.python/py-unwind-maint.exp: Update tests.
569 2016-07-12 Yao Qi <yao.qi@linaro.org>
571 * lib/selftest-support.exp (selftest_setup): Match the output
572 when captured_main is inlined.
574 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
576 * gdb.fortran/derived-types.exp (result_line, result_line_2):
578 (print this%a, print this%b, print this): New tests.
579 * gdb.fortran/derived-types.f90 (this): New object and
582 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
584 * gdb.ada/arraydim.exp: Remove extra directory level in build
587 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
589 * lib/ada.exp: Remove extra directory level in build directory.
590 * gdb.ada/cond_lang.exp: Likewise.
591 * gdb.ada/exec_changed.exp: Likewise.
592 * gdb.ada/lang_switch.exp: Likewise.
594 2016-07-06 Manish Goregaokar <manish@mozilla.com>
596 * simple.rs: Add test for raw pointer subscripting
597 * simple.exp: Add test expectations
599 2016-07-05 Yao Qi <yao.qi@linaro.org>
601 * gdb.mi/mi-reverse.exp: Match =record-started output.
603 2016-07-01 Pedro Alves <palves@redhat.com>
605 * gdb.base/jit-reader.exp (info_registers_current_frame): New
607 (jit_reader_test): Test the jit reader's unwinder.
608 * gdb.base/jithost.c (jit_function_00_code): New global.
609 (main): Use memcpy to fill in the mmapped code, instead of poking
611 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
613 (read_debug_info): Save the function's range.
614 (read_sp): New function.
615 (unwind_frame): Use it. Also unwind RBP.
616 (get_frame_id): Use read_sp.
617 (gdb_init_reader): Use calloc instead of malloc.
618 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
619 parameter. Use gdb_test_multiple.
621 2016-07-01 Pedro Alves <palves@redhat.com>
622 Antoine Tremblay <antoine.tremblay@ericsson.com>
624 * gdb.threads/process-dies-while-detaching.c: New file.
625 * gdb.threads/process-dies-while-detaching.exp: New file.
627 2016-07-01 Pedro Alves <palves@redhat.com>
629 * gdb.multi/watchpoint-multi-exit.c: New file.
630 * gdb.multi/watchpoint-multi-exit.exp: New file.
632 2016-06-30 Pedro Alves <palves@redhat.com>
634 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
635 unset inferior_spawn_id.
637 2016-06-30 Pedro Alves <palves@redhat.com>
639 * lib/mi-support.exp (default_mi_gdb_start): Declare global
640 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
642 2016-06-29 Yao Qi <yao.qi@linaro.org>
644 * gdb.base/return.c: Add copyright header.
646 2016-06-29 Tom Tromey <tom@tromey.com>
649 * gdb.python/py-framefilter.exp: Add tests for setting priority
650 and disabling of non-existent frame filter.
652 2016-06-29 Yao Qi <yao.qi@linaro.org>
654 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
657 2016-06-28 Yao Qi <yao.qi@linaro.org>
659 * gdb.base/catch-syscall.exp: Remove check on isnative and target
660 triplets. Start gdb, execute catch syscall, and continue. Check
661 gdb's output to determine catch syscall is supported.
663 2016-06-27 Manish Goregaokar <manish@mozilla.com>
665 * gdb.rust/simple.rs: Add test for returning unit in a function.
666 * gdb.rust/simple.exp: Add expectation for functions returning
669 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
671 * gdb.python/py-breakpoint-create-fail.c,
672 gdb.python/py-breakpoint-create-fail.exp,
673 gdb.python/py-breakpoint-create-fail.py: New testcase.
675 2016-06-25 Manish Goregaokar <manish@mozilla.com>
678 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
679 * gdb.rust/simple.exp: Add test expectations for new NonZero
682 2016-06-24 David Taylor <dtaylor@emc.com>
684 * gdb.base/offsets.exp: New file.
685 * gdb.base/offsets.c: New file.
687 2016-06-23 Tom Tromey <tom@tromey.com>
690 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
691 before any filters are loaded.
693 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
695 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
696 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
698 * gdb.fortran/derived-type-function.exp: New file.
699 * gdb.fortran/derived-type-function.f90: New file.
702 2016-06-21 Pedro Alves <palves@redhat.com>
704 * gdb.base/new-ui.exp: New file.
705 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
706 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
707 (with_spawn_id): New procedure.
709 2016-06-21 Pedro Alves <palves@redhat.com>
711 * gdb.mi/mi-exec-run.exp: New file.
713 2016-06-21 Pedro Alves <palves@redhat.com>
715 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
716 breakpoint command's output on the main UI.
717 (test_break): New procedure, factored out from calls in the top
719 (top level): Use foreach_with_prefix to test MI as main UI and as
722 2016-06-21 Pedro Alves <palves@redhat.com>
724 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
725 (test_awatch_creation_and_listing)
726 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
727 Remove 'type' parameter.
728 (test_watchpoint_all): New parameter mi_mode. Remove
730 (top level): Use foreach_with_prefix, and add main/separate UI MI
733 2016-06-21 Pedro Alves <palves@redhat.com>
735 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
736 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
737 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
738 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
739 (gdb_main_spawn_id, mi_spawn_id): Declare and
741 (mi_create_inferior_pty): New procedure,
742 factored out from default_mi_gdb_start.
743 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
745 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
746 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
747 Use mi_create_inferior_pty.
748 (mi_gdb_start): Use eval to pass down args list.
750 2016-06-21 Pedro Alves <palves@redhat.com>
752 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
753 * gdb.opt/inline-cmds.exp: Add MI tests.
755 2016-06-21 Pedro Alves <palves@redhat.com>
757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
759 2016-06-21 Pedro Alves <palves@redhat.com>
761 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
762 (top level): Use it instead of mi_execute_to.
764 2016-06-21 Pedro Alves <palves@redhat.com>
766 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
767 (cont_handler_str): New.
768 (signal_stop_handler): Set stop_handler_str instead of printing to
770 (continue_handler): Set cont_handler_str instead of printing to
772 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
773 mi_send_resuming_command. Print stop_handler_str and
774 cont_handler_str instead of expecting the python events print
777 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
779 * gdb.base/jit-reader.exp: New file.
780 * gdb.base/jithost.c: New file.
781 * gdb.base/jithost.h: New file.
782 * gdb.base/jitreader.c : New file.
783 * gdb.base/jit-protocol.h: New file.
785 2016-06-17 Yao Qi <yao.qi@linaro.org>
787 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
788 parameters follow_fork and detach_on_fork. Set follow-fork-mode
789 and detach-on-fork. Adjust tests.
790 (top level): Invoke break_cond_on_syscall with combinations of
791 syscall, follow-fork-mode and detach-on-fork.
793 2016-06-17 Yao Qi <yao.qi@linaro.org>
795 * gdb.base/step-over-exit.c: New.
796 * gdb.base/step-over-exit.exp: New.
798 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
800 * gdb.base/float.exp: Add target check for nds32*-*-*.
801 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
803 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
805 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
806 for unsupported target features.
807 * gdb.base/call-rt-st.exp: Likewise.
808 * gdb.base/call-sc.exp: Likewise.
809 * gdb.base/call-signal-resume.exp: Likewise.
810 * gdb.base/call-strs.exp: Likewise.
811 * gdb.base/callexit.exp: Likewise.
812 * gdb.base/callfuncs.exp: Likewise.
813 * gdb.base/nodebug.exp: Likewise.
814 * gdb.base/printcmds.exp: Likewise.
815 * gdb.base/ptype.exp: Likewise.
816 * gdb.base/structs.exp: Likewise.
817 * gdb.base/unwindonsignal.exp: Likewise.
818 * gdb.cp/gdb2495.exp: Likewise.
819 * gdb.cp/templates.exp: Likewise.
820 * gdb.cp/virtfunc.exp: Likewise.
821 * gdb.threads/hand-call-in-threads.exp: Likewise.
822 * gdb.threads/interrupted-hand-call.exp: Likewise.
823 * gdb.threads/thread-unwindonsignal.exp: Likewise.
825 2016-06-10 Tom Tromey <tom@tromey.com>
828 * gdb.rust/expr.exp: Add test for integer constant larger than
831 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
833 * gdb.fortran/nested-funcs.exp: New.
834 * gdb.fortran/nested-funcs.f90: New.
836 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
838 * gdb.base/examine-backward.c: New file.
839 * gdb.base/examine-backward.exp: New file.
841 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
843 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
846 2016-06-02 Tom Tromey <tom@tromey.com>
849 * gdb.python/py-shared.exp: Add solib_name test.
851 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
853 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
855 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
858 * gdb.dwarf2/implref.exp: Rename to...
859 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
860 * gdb.dwarf2/implref-array.c: New file.
861 * gdb.dwarf2/implref-array.exp: Likewise.
862 * gdb.dwarf2/implref-global.c: Likewise.
863 * gdb.dwarf2/implref-global.exp: Likewise.
864 * gdb.dwarf2/implref-struct.c: Likewise.
865 * gdb.dwarf2/implref-struct.exp: Likewise.
867 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
869 * gdb.trace/trace-condition.exp: Add 64bit tests.
871 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
873 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
875 (main): Adapt to 8 to 64 bits types.
876 * gdb.trace/trace-condition.exp: Add new tests.
878 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
880 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
882 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
884 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
885 Move condition tests...
886 * gdb.trace/trace-condition.exp: Here.
888 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
890 * gdb.trace/trace-condition.exp: Add counter-case tests.
892 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
895 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
896 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
898 2016-05-27 Pedro Alves <palves@redhat.com>
900 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
902 (top level): Call it, and bail out of DejaGnu is known to be bad.
904 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
906 * gdb.base/whatis.c: Extend the test case.
907 * gdb.base/whatis.exp: Add additional tests.
909 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
911 * gdb.fortran/type.f90: Add pointer variable.
912 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
914 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
916 * gdb.fortran/vla-type.exp: Fix testcase name.
918 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
920 * gdb.fortran/vla-type.exp: Access elements in nested structs.
922 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
924 * gdb.fortran/type.f90: Add nested structures.
925 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
926 * gdb.fortran/derived-type.exp: Adapt expected output.
927 * gdb.fortran/vla-type.exp: Adapt expected output.
929 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
931 * gdb.fortran/whatis_type.exp: Adapt expected output.
933 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
935 * gdb.fortran/print_type.exp: Fix expected output.
936 * gdb.fortran/whatis_type.exp: Fix expected output.
938 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
940 * gdb.fortran/whatis_type.exp: Use multi_line.
942 2016-05-24 Tom Tromey <tom@tromey.com>
945 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
946 use value as an index.
948 2016-05-23 Tom Tromey <tom@tromey.com>
951 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
954 2016-05-24 Pedro Alves <palves@redhat.com>
957 * gdb.threads/clone-attach-detach.c: New file.
958 * gdb.threads/clone-attach-detach.exp: New file.
960 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
962 * gdb.base/annota-input-while-running.exp: Fix syntax error.
964 2016-05-23 Tom Tromey <tom@tromey.com>
966 PR python/19438, PR python/18393:
967 * gdb.python/py-progspace.exp: Add "dir" test.
968 * gdb.python/py-objfile.exp: Add "dir" test.
970 2016-05-23 Yao Qi <yao.qi@linaro.org>
972 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
973 * gdb.arch/thumb2-it.exp: Likewise.
975 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
977 * gdb.mi/mi-threads-interrupt.c: New file.
978 * gdb.mi/mi-threads-interrupt.exp: New file.
980 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
983 * gdb.mi/mi-async-run.exp: New file.
984 * gdb.mi/mi-async-run.c: New file.
986 2016-05-17 Tom Tromey <tom@tromey.com>
987 Manish Goregaokar <manishsmail@gmail.com>
989 * lib/rust-support.exp: New file.
990 * lib/gdb.exp (skip_rust_tests): New proc.
991 (build_executable_from_specs): Handle rust.
992 * lib/future.exp (gdb_find_rustc): New proc.
993 (gdb_default_target_compile): Handle rust.
994 * gdb.rust/expr.exp: New file.
995 * gdb.rust/generics.exp: New file.
996 * gdb.rust/generics.rs: New file.
997 * gdb.rust/methods.exp: New file.
998 * gdb.rust/methods.rs: New file.
999 * gdb.rust/modules.exp: New file.
1000 * gdb.rust/modules.rs: New file.
1001 * gdb.rust/simple.exp: New file.
1002 * gdb.rust/simple.rs: New file.
1004 2016-05-17 Tom Tromey <tom@tromey.com>
1006 * gdb.base/default.exp (set language): Add rust.
1008 2016-05-17 Tom Tromey <tom@tromey.com>
1010 * gdb.gdb/unittest.exp: New file.
1012 2016-05-16 Yao Qi <yao.qi@linaro.org>
1014 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1015 shell_prompt. Update shell_prompt_re.
1017 2016-05-12 Doug Evans <dje@google.com>
1020 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1021 $options when building executable.
1022 * gdb.dwarf2/fission-loclists-pie.S: New file.
1023 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1025 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1027 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1028 of [is_remote target],
1030 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1032 * lib/gdb.exp (use_gdb_stub): New procedure.
1034 2016-05-03 Yunlian Jiang <yunlian@google.com>
1035 Doug Evans <dje@google.com>
1038 * gdb.dwarf2/dwp-sepdebug.c: New file.
1039 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1041 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1043 * gdb.base/detach.exp: Remove is_remote check.
1045 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1047 * gdb.base/annota-input-while-running.exp: Don't check for
1048 [is_remote target]. Enable annotations after running to main.
1049 Remove unused "set test..." line.
1051 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1053 * gdb.trace/trace-enable-disable.exp: New file.
1054 * gdb.trace/trace-enable-disable.c: New file.
1056 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1058 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1059 use it in info sharedlibrary test.
1060 * gdb.trace/ftrace-lock.exp: Likewise.
1061 * gdb.trace/ftrace.exp: Likewise.
1062 * gdb.trace/range-stepping.exp: Likewise.
1063 * gdb.trace/trace-break.exp: Likewise.
1064 * gdb.trace/trace-condition.exp: Likewise.
1065 * gdb.trace/trace-mt.exp: Likewise.
1067 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1069 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1070 (gdb_load_shlib): ... this.
1071 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1073 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1074 * gdb.base/ctxobj.exp: Likewise.
1075 * gdb.base/dprintf-pending.exp: Likewise.
1076 * gdb.base/dso2dso.exp: Likewise.
1077 * gdb.base/fixsection.exp: Likewise.
1078 * gdb.base/gcore-relro.exp: Likewise.
1079 * gdb.base/gdb1555.exp: Likewise.
1080 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1081 * gdb.base/gnu-ifunc.exp: Likewise.
1082 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1083 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1084 * gdb.base/pending.exp: Likewise.
1085 * gdb.base/print-file-var.exp: Likewise.
1086 * gdb.base/print-symbol-loading.exp: Likewise.
1087 * gdb.base/shlib-call.exp: Likewise.
1088 * gdb.base/shreloc.exp: Likewise.
1089 * gdb.base/so-impl-ld.exp: Likewise.
1090 * gdb.base/solib-disc.exp: Likewise.
1091 * gdb.base/solib-nodir.exp: Likewise.
1092 * gdb.base/solib-overlap.exp: Likewise.
1093 * gdb.base/solib-symbol.exp: Likewise.
1094 * gdb.base/solib-weak.exp (do_test): Likewise.
1095 * gdb.base/sym-file.exp: Likewise.
1096 * gdb.base/symtab-search-order.exp: Likewise.
1097 * gdb.base/type-opaque.exp: Likewise.
1098 * gdb.base/unload.exp: Likewise.
1099 * gdb.base/watchpoint-solib.exp: Likewise.
1100 * gdb.compile/compile.exp: Likewise.
1101 * gdb.cp/gdb2384.exp: Likewise.
1102 * gdb.cp/infcall-dlopen.exp: Likewise.
1103 * gdb.cp/re-set-overloaded.exp: Likewise.
1104 * gdb.fortran/library-module.exp: Likewise.
1105 * gdb.opt/solib-intra-step.exp: Likewise.
1106 * gdb.python/py-finish-breakpoint.exp: Likewise.
1107 * gdb.python/py-shared.exp: Likewise.
1108 * gdb.reverse/solib-precsave.exp: Likewise.
1109 * gdb.reverse/solib-reverse.exp: Likewise.
1110 * gdb.server/solib-list.exp: Likewise.
1111 * gdb.threads/dlopen-libpthread.exp: Likewise.
1112 * gdb.threads/tls-shared.exp: Likewise.
1113 * gdb.threads/tls-so_extern.exp: Likewise.
1114 * gdb.trace/change-loc.exp: Likewise.
1115 * gdb.trace/ftrace-lock.exp: Likewise.
1116 * gdb.trace/ftrace.exp: Likewise.
1117 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1118 * gdb.trace/pending.exp: Likewise.
1119 * gdb.trace/range-stepping.exp: Likewise.
1120 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1121 (strace_info_marker): Likewise.
1122 (strace_probe_marker): Likewise.
1123 (strace_trace_on_same_addr): Likewise.
1124 (strace_trace_on_diff_addr): Likewise.
1125 * gdb.trace/trace-break.exp: Likewise.
1126 * gdb.trace/trace-condition.exp: Likewise.
1127 * gdb.trace/trace-mt.exp: Likewise.
1129 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1131 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1132 result of gdb_remote_download.
1133 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1134 * gdb.base/dso2dso.exp: Likewise.
1135 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1136 * gdb.base/print-file-var.exp: Likewise.
1137 * gdb.base/shlib-call.exp: Likewise.
1138 * gdb.base/shreloc.exp: Likewise.
1139 * gdb.base/solib-overlap.exp: Likewise.
1140 * gdb.base/solib-weak.exp (do_test): Likewise.
1141 * gdb.base/unload.exp: Likewise.
1143 2016-04-27 Yao Qi <yao.qi@linaro.org>
1145 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1148 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1150 * vla-type.exp: Print structure from toplevel.
1152 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1154 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1156 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1159 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1161 * gdb.fortran/vla-type.f90: New file.
1162 * gdb.fortran/vla-type.exp: New file.
1164 2016-04-25 Yao Qi <yao.qi@linaro.org>
1166 * gdb.base/branch-to-self.c: New file.
1167 * gdb.base/branch-to-self.exp: New file.
1169 2016-04-22 Yao Qi <yao.qi@linaro.org>
1171 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1174 2016-04-22 Yao Qi <yao.qi@linaro.org>
1176 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1177 * gdb.base/annota3.exp: Likewise.
1179 2016-04-22 Yao Qi <yao.qi@linaro.org>
1181 * gdb.reverse/step-precsave.exp: Do one step and test program
1182 stops in "callee" and do multiple steps until program goes out
1184 * gdb.reverse/step-reverse.exp: Likewise.
1186 2016-04-22 Yao Qi <yao.qi@linaro.org>
1188 * gdb.trace/signal.exp: Also pass if
1189 $tracepoint_hits($i) > $iterations.
1191 2016-04-22 Yao Qi <yao.qi@linaro.org>
1193 * gdb.trace/signal.c: New file.
1194 * gdb.trace/signal.exp: New file.
1196 2016-04-19 Doug Evans <xdje42@gmail.com>
1198 * gdb.base/bad-file.exp: New file.
1200 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1202 * gdb.dwarf2/implref.exp: New file.
1204 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1206 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1207 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1208 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1209 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1210 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1211 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1212 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1213 * lib/fortran.exp (fortran_int4): New procedure.
1214 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1215 (fortran_logical4): Likewise.
1217 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1219 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1221 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1223 * lib/compiler.c: Add Intel specific preprocessor macros.
1224 * lib/compiler.cc: Likewise.
1226 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1228 * gdb.server/connect-with-no-symbol-file.c: New file.
1229 * gdb.server/connect-with-no-symbol-file.exp: New file.
1231 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1233 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1235 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1237 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1238 standard output directory.
1240 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1242 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1244 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1246 * gdb.btrace/instruction_history.c (loop): Add declaration.
1248 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1250 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1252 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1254 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1255 parentheses to print.
1256 (continue_handler): Likewise.
1258 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1260 * gdb.server/solib-list.exp: Remove is_remote check.
1261 Pass shlib= to gdb_compile. Don't link shared library with
1262 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1263 Run binary filename through "readlink -f" on the target.
1265 2016-04-08 Pedro Alves <palves@redhat.com>
1267 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1268 interpreter filename as argument to gdbserver_spawn.
1269 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1270 Return empty if $last_loaded_file does not exist.
1272 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1274 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1275 * gdb.base/jit-main.c: Use exit after usage.
1277 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1279 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1280 GDBHISTSIZE prior to the tests.
1281 * gdb.base/gdbinit-history.exp: Likewise.
1283 2016-04-07 Pedro Alves <palves@redhat.com>
1285 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1286 instead of build_executable. Use gdb_load_shlibs.
1288 2016-04-07 Yao Qi <yao.qi@linaro.org>
1290 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1291 Execute "si" command.
1293 2016-04-07 Yao Qi <yao.qi@linaro.org>
1295 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1296 number instead of the comments on some line.
1298 2016-04-06 Don Breazeal <donb@codesourcery.com>
1300 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1301 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1303 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1305 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1306 standard_output_file. Remove unused binfile variable.
1308 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1310 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1311 * gdb.python/py-mi-objfile.exp: Match "list main" output
1314 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1316 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1319 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1321 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1323 * gdb.trace/ftrace.exp: Likewise.
1324 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1326 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1327 (gdb_load_shlibs): Copy libraries to test directory when testing
1328 natively. Only set solib-search-path if testing remotely.
1329 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1331 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1333 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1334 gdb_download. Use it even if the target is not remote.
1335 * gdb.base/jit.exp (compile_jit_test): Likewise.
1336 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1337 output directory if the destination board is local, otherwise use
1338 the standard remote_download from DejaGnu.
1339 (gdb_download): Remove.
1340 (gdb_load_shlibs): Use gdb_remote_download instead of
1342 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1343 Use gdb_remote_download instead of gdb_download. Use it even if
1344 the target is not remote.
1345 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1346 instead of gdb_download.
1348 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1350 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1351 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1354 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1357 * gdb.base/printcmds.exp: Add artificial arrays tests.
1359 2016-03-31 Pedro Alves <palves@redhat.com>
1362 * gdb.base/jit-main.c: Include unistd.h.
1363 (ATTACH): Define to 0 if not already defined.
1364 (wait_for_gdb, mypid): New globals.
1365 (WAIT_FOR_GDB): New macro.
1366 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1367 some breakpoint locations.
1368 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1370 (one_jit_test): Add REATTACH parameter, and handle it. Use
1371 continue_to_test_location.
1372 (top level): Test attach, and adjusts calls to one_jit_test.
1374 2016-03-31 Pedro Alves <palves@redhat.com>
1377 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1378 BINSUFFIX parameter, and handle it.
1379 (top level): Adjust calls compile_jit_test.
1381 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1384 * gdb.python/py-mi-events-gdb.py: New file.
1385 * gdb.python/py-mi-events.c: New file.
1386 * gdb.python/py-mi-events.exp: New file.
1388 2016-03-30 Yao Qi <yao.qi@linaro.org>
1390 * gdb.reverse/until-precsave.exp: Match function name only.
1391 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1392 Move malloc to a condition block.
1393 * gdb.reverse/until-reverse.exp: Match function name only.
1395 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1397 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1398 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1399 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1400 variable for GPR 0 instead of assuming it is register 0.
1401 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1402 * lib/trace-support.exp: Add s390 registers.
1404 2016-03-29 Yao Qi <yao.qi@linaro.org>
1406 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1408 2016-03-24 Yao Qi <yao.qi@linaro.org>
1410 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1413 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1415 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1416 maintaining separate logic for constructing the output path.
1418 2016-03-16 Don Breazeal <donb@codesourcery.com>
1420 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1421 Retry fork and waitpid on interrupted system call errors.
1422 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1423 Use with_timeout_factor to increase timeout by factor of 10.
1425 2016-03-15 Don Breazeal <donb@codesourcery.com>
1427 * gdb.cp/scope-err.cc: New test program.
1428 * gdb.cp/scope-err.exp: New test script.
1429 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1430 lines and "set breakpoint here" comment.
1431 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1432 Fixed some whitespace and format issues.
1433 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1434 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1436 2016-03-15 Doug Evans <dje@google.com>
1438 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1439 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1440 All callers updated. Add tests for enums, mixed flags register.
1442 2016-03-15 Doug Evans <dje@google.com>
1444 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1445 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1447 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1449 * gdb.base/default.exp: Add $_as_string to the list of expected
1450 convenience functions.
1452 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1454 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1456 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1458 * gdb.python/py-as-string.exp: New file.
1459 * gdb.python/py-as-string.c: New file.
1461 2016-03-09 Pedro Alves <palves@redhat.com>
1463 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1464 signal" -> "Thread NN received signal" output change.
1465 * gdb.threads/ia64-sigill.exp: Likewise.
1466 * gdb.threads/linux-dp.exp: Likewise.
1467 * gdb.threads/manythreads.exp: Likewise.
1468 * gdb.threads/pending-step.exp: Likewise.
1469 * gdb.threads/print-threads.exp: Likewise.
1470 * gdb.threads/sigstep-threads.exp: Likewise.
1471 * gdb.threads/staticthreads.exp: Likewise.
1472 * gdb.threads/tls.exp: Likewise.
1474 2016-03-09 Pedro Alves <palves@redhat.com>
1476 * gdb.base/command-line-input.exp: New file.
1478 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1480 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1481 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1482 * gdb.trace/pending.exp: Accept leading dot before function name.
1483 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1484 * lib/trace-support.exp: Set registers for ppc.
1486 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1488 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1489 use it for disassembly; accept .main in addition to main in backtrace.
1491 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1492 Marcin Kościelnicki <koriakin@0x04.net>
1494 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1495 (gdb_recursion_test_ptr): New global variable.
1496 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1498 (gdb_c_test): Ditto.
1500 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1502 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1505 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1507 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1508 (bar): Add bar_start_lbl label.
1509 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1510 of foo/bar for emitting DWARF and tracing.
1512 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1514 * analyze-racy-logs.py: Set executable bit.
1516 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1518 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1519 (CHECK_TARGET_TMP): Likewise.
1520 (check-single-racy): New rule.
1521 (check-parallel-racy): Likewise.
1522 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1523 (do-check-parallel-racy): New rule.
1524 (check-racy/%.exp): Likewise.
1525 * README (Racy testcases): New section.
1526 * analyze-racy-logs.py: New file.
1528 2016-03-03 Doug Evans <dje@google.com>
1530 * gdb.base/skip.exp: Use with_test_prefix.
1532 2016-03-03 Yao Qi <yao.qi@linaro.org>
1534 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1535 Invoke step_over_syscall "clone" and break_cond_on_syscall
1537 * gdb.base/step-over-clone.c: New file.
1539 2016-03-03 Yao Qi <yao.qi@linaro.org>
1541 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1544 2016-03-03 Yao Qi <yao.qi@linaro.org>
1546 * gdb.base/disp-step-fork.c: Rename to ...
1547 * gdb.base/step-over-fork.c: ... it. New file.
1548 * gdb.base/disp-step-vfork.c: Rename to ...
1549 * gdb.base/step-over-vfork.c: ... it. New file.
1550 * gdb.base/disp-step-syscall.exp: Rename to ...
1551 * gdb.base/step-over-syscall.exp: ... it. New file.
1552 (disp_step_cross_syscall): Rename to ...
1553 (step_over_syscall): ... it.
1555 2016-03-03 Yao Qi <yao.qi@linaro.org>
1557 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1558 If target supports condition evaluation on target, invoke
1559 break_cond_on_syscall for fork and vfork.
1561 2016-03-03 Yao Qi <yao.qi@linaro.org>
1563 * gdb.base/disp-step-syscall.exp: Don't invoke
1564 support_displaced_stepping.
1565 (disp_step_cross_syscall): Test with displaced stepping off and
1568 2016-03-03 Yao Qi <yao.qi@linaro.org>
1570 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1573 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1576 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1578 * gdb.fortran/vla-history.exp: Remove breakpoint.
1580 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1582 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1585 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1587 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1590 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1592 * gdb.mi/vla.f90: Nullify pointer after declaration.
1594 2016-03-01 Pedro Alves <palves@redhat.com>
1596 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1598 2016-03-01 Pedro Alves <palves@redhat.com>
1600 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1601 before anything else.
1602 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1604 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1605 before anything else.
1606 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1608 2016-03-01 Pedro Alves <palves@redhat.com>
1610 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1612 2016-03-01 Yao Qi <yao.qi@linaro.org>
1614 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1615 prepare_for_testing.
1617 2016-03-01 Yao Qi <yao.qi@linaro.org>
1619 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1621 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1623 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1624 manually constructing the output path.
1626 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1628 * gdb.arch/s390-stackless.S: New.
1629 * gdb.arch/s390-stackless.exp: New.
1631 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1633 * gdb.dlang/circular.c: New file.
1634 * gdb.dlang/circular.exp: New file.
1636 2016-02-26 Yao Qi <yao.qi@linaro.org>
1638 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1639 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1640 (testcases): Update.
1642 2016-02-26 Yao Qi <yao.qi@linaro.org>
1644 * gdb.reverse/aarch64.c: Rename to ...
1645 * gdb.reverse/insn-reverse.c: ... it.
1646 * gdb.reverse/aarch64.exp: Rename to ...
1647 * gdb.reverse/insn-reverse.exp: ... it.
1649 2016-02-26 Yao Qi <yao.qi@linaro.org>
1651 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1652 (testcase_ftype): New.
1653 (testcases): New array.
1655 (main): Call each element in testcases.
1656 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1657 (read_testcase): New.
1658 Do the tests in a loop.
1660 2016-02-25 Yao Qi <yao.qi@linaro.org>
1662 * gdb.base/branches.c: Remove.
1664 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1667 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1669 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1671 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1673 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1675 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1676 change x86_64 call_insn to 'callq'.
1678 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1680 * gdb.trace/tfile-avx.c: Move to...
1681 * gdb.trace/tracefile-pseudo-reg.c: Here.
1682 * gdb.trace/tfile-avx.exp: Move to...
1683 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1685 2016-02-24 Gary Benson <gbenson@redhat.com>
1687 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1690 2016-02-23 Doug Evans <dje@google.com>
1692 * gdb.base/skip.c (test_skip): New function.
1693 (end_test_skip_file_and_function): New function.
1694 (test_skip_file_and_function): New function.
1695 * gdb.base/skip1.c (test_skip): New function.
1696 (skip1_test_skip_file_and_function): New function.
1697 * gdb.base/skip.exp: Add tests for new skip options.
1698 * gdb.base/skip-solib.exp: Update expected output.
1699 * gdb.perf/skip-command.cc: New file.
1700 * gdb.perf/skip-command.exp: New file.
1701 * gdb.perf/skip-command.py: New file.
1703 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1705 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1706 info registers pattern.
1708 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1710 * lib/future.exp: Add D support.
1711 (gdb_find_gdc): New proc.
1712 (gdb_default_target_compile): Add D support.
1714 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1716 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1718 (trace_speed_test): Determine the iteration count for a time
1719 between 15..30 seconds.
1721 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1723 * gdb.arch/i386-mpx-sigsegv.c: New file.
1724 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1725 * gdb.arch/i386-mpx-simple_segv.c: New file.
1726 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1728 2016-02-18 Yao Qi <yao.qi@linaro.org>
1730 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1731 Don't call setup_kfail.
1733 2016-02-18 Yao Qi <yao.qi@linaro.org>
1735 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1736 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1738 2016-02-16 Doug Evans <dje@google.com>
1740 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1741 * gdb.base/skip1.c: Ditto.
1742 * gdb.base/skip.exp: Whitespace cleanup.
1744 2016-02-16 Don Breazeal <donb@codesourcery.com>
1747 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1748 Remove kfail for PR remote/19496.
1750 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1752 * lib/gdb.exp (standard_temp_file): Return a path specific to
1753 the runtest invocation.
1755 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1757 * gdb.trace/save-trace.exp: Change relative path to be in the
1758 standard output directory.
1760 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1762 * gdb.arch/i386-prologue.c: Add missing prototypes.
1764 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1766 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1767 * gdb.arch/i386-prologue.exp: Likewise.
1768 * gdb.arch/i386-size.exp: Likewise.
1770 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1772 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1773 define object file path.
1774 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1776 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1777 standard_output_file to define binfile.
1779 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1781 Fix compatibility with recent gfortran-5.3.1.
1782 * gdb.fortran/vla-history.exp (print vla1 allocated)
1783 (print vla2 allocated, print $2, print $3): Remove
1784 (print $4): Rename to ...
1785 (print $2): ... here.
1786 (print $9): Rename to ...
1787 (print $5): ... here.
1788 (print $10): Rename to ...
1789 (print $6): ... here.
1790 * gdb.fortran/vla.f90: Add pvla initialization.
1792 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1796 * gdb.fortran/vla-value-sub.exp: Likewise.
1798 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1800 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1802 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1804 * i386-biarch-core.exp: Define corefile using
1805 standard_output_file.
1807 2016-02-12 Yao Qi <yao.qi@linaro.org>
1809 * gdb.arch/arm-single-step-kernel-helper.c: New.
1810 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1812 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1814 * gdb.btrace/tailcall-only.exp: New.
1815 * gdb.btrace/tailcall-only.c: New.
1816 * gdb.btrace/x86_64-tailcall-only.S: New.
1817 * gdb.btrace/i686-tailcall-only.S: New.
1819 2016-02-11 Pedro Alves <palves@redhat.com>
1821 * README (Parallel testing): Add missing double quotes.
1823 2016-02-11 Pedro Alves <palves@redhat.com>
1825 * README (Parallel testing): New section.
1826 (GDB_PARALLEL): Rewrite.
1827 (FORCE_PARALLEL): Document.
1829 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1831 * gdb.trace/tfile-avx.c: New test.
1832 * gdb.trace/tfile-avx.exp: New test.
1834 2016-02-09 Keith Seitz <keiths@redhat.com>
1836 PR breakpoints/19546
1837 * gdb.base/infcall-exec.c: New file.
1838 * gdb.base/infcall-exec2.c: New file.
1839 * gdb.base/infcall-exec.exp: New file.
1841 2016-02-09 Keith Seitz <keiths@redhat.com>
1843 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1844 (toplevel): Call test_bkpt_address.
1846 2016-02-09 Keith Seitz <keiths@redhat.com>
1849 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1850 (toplevel): Call test_bkpt_address.
1852 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1854 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1856 * configure: Regenerate.
1858 2016-02-09 Pedro Alves <palves@redhat.com>
1860 PR breakpoints/19548
1861 * gdb.base/execl-update-breakpoints.c (some_function): New
1864 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1865 Tighten expected GDB output.
1867 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1869 * Makefile.in (ALL_SUBDIRS): Remove.
1870 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1871 (distclean maintainer-clean realclean): Likewise.
1872 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1873 * configure: Regenerate.
1874 * gdb.ada/Makefile.in: Delete.
1875 * gdb.arch/Makefile.in: Likewise.
1876 * gdb.asm/Makefile.in: Likewise.
1877 * gdb.base/Makefile.in: Likewise.
1878 * gdb.btrace/Makefile.in: Likewise.
1879 * gdb.cell/Makefile.in: Likewise.
1880 * gdb.compile/Makefile.in: Likewise.
1881 * gdb.cp/Makefile.in: Likewise.
1882 * gdb.disasm/Makefile.in: Likewise.
1883 * gdb.dlang/Makefile.in: Likewise.
1884 * gdb.dwarf2/Makefile.in: Likewise.
1885 * gdb.fortran/Makefile.in: Likewise.
1886 * gdb.gdb/Makefile.in: Likewise.
1887 * gdb.go/Makefile.in: Likewise.
1888 * gdb.guile/Makefile.in: Likewise.
1889 * gdb.java/Makefile.in: Likewise.
1890 * gdb.linespec/Makefile.in: Likewise.
1891 * gdb.mi/Makefile.in: Likewise.
1892 * gdb.modula2/Makefile.in: Likewise.
1893 * gdb.multi/Makefile.in: Likewise.
1894 * gdb.objc/Makefile.in: Likewise.
1895 * gdb.opencl/Makefile.in: Likewise.
1896 * gdb.opt/Makefile.in: Likewise.
1897 * gdb.pascal/Makefile.in: Likewise.
1898 * gdb.perf/Makefile.in: Likewise.
1899 * gdb.python/Makefile.in: Likewise.
1900 * gdb.reverse/Makefile.in: Likewise.
1901 * gdb.server/Makefile.in: Likewise.
1902 * gdb.stabs/Makefile.in: Likewise.
1903 * gdb.threads/Makefile.in: Likewise.
1904 * gdb.trace/Makefile.in: Likewise.
1905 * gdb.xml/Makefile.in: Likewise.
1906 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1908 (standard_output_file): Remove check for GDB_PARALLEL, always
1909 return path in outputs/$subdir/$testname.
1911 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1913 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1914 (site.exp): Assign abs_srcdir to tcl's srcdir.
1916 2016-02-04 Yao Qi <yao.qi@linaro.org>
1918 * gdb.base/foll-exec-mode.c: Include limits.h.
1919 (main): Add parameters argc and argv. Get directory from
1921 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1923 * gdb.base/foll-exec.c: Include limits.h.
1924 (main): Add parameters argc and argv.
1925 Get directory from argv[0].
1926 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1927 Adjust tests on the number of lines as source code changed.
1928 * gdb.base/foll-vfork-exit.c: Include limits.h.
1929 (main): Add one line of statement before vfork.
1930 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1931 (main): Add parameters argc and argv. Get directory from
1933 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1934 (setup_gdb): Set tbreak to skip some source lines.
1935 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1936 (main): Add parameters argc and argv. Get directory from
1938 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1940 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1941 (main): Add parameters argc and argv. Get directory from
1943 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1946 2016-02-01 Doug Evans <dje@google.com>
1948 * gdb.base/skip.exp: Clean up multiple references to same test name.
1950 2016-02-01 Pedro Alves <palves@redhat.com>
1953 * gdb.threads/forking-threads-plus-breakpoint.exp
1954 (displaced_stepping_supported): New global.
1955 (probe_displaced_stepping_support): New procedure.
1956 (do_test): Add 'displaced' parameter, and use it.
1957 (top level): Check for displaced stepping support. Add displaced
1958 stepping on/off testing axis.
1960 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1962 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1963 pointer. Don't perform further tests on the unassociated pointer
1964 if the first test fails.
1966 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1968 * gdb.base/max-value-size.c: New file.
1969 * gdb.base/max-value-size.exp: New file.
1970 * gdb.base/huge.exp: Disable max-value-size for this test.
1972 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1974 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1976 2016-01-28 Yao Qi <yao.qi@linaro.org>
1978 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1980 2016-01-25 Pedro Alves <palves@redhat.com>
1983 * gdb.base/fork-running-state.c: New file.
1984 * gdb.base/fork-running-state.exp: New file.
1986 2016-01-25 Pedro Alves <palves@redhat.com>
1989 * gdb.base/catch-fork-kill.c: New file.
1990 * gdb.base/catch-fork-kill.exp: New file.
1992 2016-01-25 Pedro Alves <palves@redhat.com>
1994 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1995 Delete, moved to lib/gdb.exp.
1996 * gdb.threads/forking-threads-plus-breakpoint.exp
1997 (foreach_with_prefix): Likewise.
1998 * gdb.threads/process-dies-while-handling-bp.exp
1999 (foreach_with_prefix): Likewise.
2000 * lib/gdb.exp (foreach_with_prefix): New procedure.
2002 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2004 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2005 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2007 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2009 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2012 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2013 Pedro Alves <palves@redhat.com>
2015 Fix testsuite compatibility with Guile.
2016 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2019 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2021 Fix testsuite compatibility with Guile.
2022 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2023 (thread 1): New test for backtrace through signal handler.
2025 2016-01-22 Yao Qi <yao.qi@linaro.org>
2028 * gdb.base/multi-forks.c: Include
2029 ../lib/unbuffer_output.c
2030 (main): Call gdb_unbuffer_output.
2032 2016-01-21 Doug Evans <dje@google.com>
2034 * lib/ada.exp (gdb_compile_ada): Fix typo.
2036 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2038 * gdb.base/break-fun-addr.exp: New file.
2039 * gdb.base/break-fun-addr1.c: New file.
2040 * gdb.base/break-fun-addr2.c: New file.
2042 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2044 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2045 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2048 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2051 when GDB can not set the vector return value. Add more comments
2054 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2056 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2059 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2061 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2063 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2065 * Makefile.in (check-single): Pass --status to runtest.
2066 (check/%.exp): Likewise.
2068 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2070 * Makefile.in (check-parallel): Propagate return code from make
2073 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2075 * gdb.trace/ftrace.exp: Fix expected message on continue.
2076 * gdb.trace/pending.exp: Fix expected message on continue.
2077 * gdb.trace/trace-break.exp: Fix expected message on continue.
2079 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2081 * lib/gdb.exp (gdb_test): Remove unused global references.
2083 2016-01-18 Pedro Alves <palves@redhat.com>
2085 * gdb.base/async-shell.exp: Adjust expected output.
2086 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2087 * gdb.base/siginfo-thread.exp: Adjust expected output.
2088 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2089 * gdb.java/jnpe.exp: Adjust expected output.
2090 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2091 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2092 * gdb.threads/leader-exit.exp: Adjust expected output.
2093 * gdb.threads/manythreads.exp: Adjust expected output.
2094 * gdb.threads/pthreads.exp: Adjust expected output.
2095 * gdb.threads/schedlock.exp: Adjust expected output.
2096 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2097 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2099 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2101 * gdb.threads/sigthread.exp: Adjust expected output.
2102 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2104 2016-01-18 Yao Qi <yao.qi@linaro.org>
2106 * gdb.guile/scm-section-script.c: Replace @progbits with
2108 * gdb.python/py-section-script.c: Likewise.
2110 2016-01-15 Pedro Alves <palves@redhat.com>
2112 * gdb.multi/tids.exp: Test star wildcard ranges.
2114 2016-01-15 Pedro Alves <palves@redhat.com>
2116 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2117 command from "thread apply" invocation.
2118 (thr_apply_info_thr_invalid): Default the expected output to the
2120 (top level): Add tests that use convenience variables. Add tests
2121 for "thread apply" with a valid TID list, but missing the command.
2123 2016-01-13 Pedro Alves <palves@redhat.com>
2125 * gdb.base/default.exp: Expect $_gthread as well.
2126 * gdb.multi/tids.exp: Test $_gthread.
2127 * gdb.threads/thread-specific.exp: Test $_gthread.
2129 2016-01-13 Pedro Alves <palves@redhat.com>
2131 * gdb.multi/tids.exp: Test "info threads -gid".
2133 2016-01-13 Pedro Alves <palves@redhat.com>
2135 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2137 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2139 2016-01-07 Pedro Alves <palves@redhat.com>
2141 * gdb.base/break.exp: Adjust to output changes.
2142 * gdb.base/hbreak2.exp: Likewise.
2143 * gdb.base/sepdebug.exp: Likewise.
2144 * gdb.base/watch_thread_num.exp: Likewise.
2145 * gdb.linespec/keywords.exp: Likewise.
2146 * gdb.multi/info-threads.exp: Likewise.
2147 * gdb.threads/thread-find.exp: Likewise.
2148 * gdb.multi/tids.c: New file.
2149 * gdb.multi/tids.exp: New file.
2151 2016-01-13 Pedro Alves <palves@redhat.com>
2153 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2155 2016-01-13 Pedro Alves <palves@redhat.com>
2157 * gdb.base/default.exp: Expect $_inferior as well.
2158 * gdb.multi/base.exp: Test $_inferior.
2160 2016-01-13 Pedro Alves <palves@redhat.com>
2162 PR breakpoints/19388
2163 * gdb.base/catch-signal-siginfo-cond.c: New file.
2164 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2166 2016-01-12 Josh Stone <jistone@redhat.com>
2167 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2169 * gdb.base/catch-syscall.c (do_execve): New variable.
2170 (main): Conditionally trigger an execve.
2171 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2172 (test_catch_syscall_execve): New, check entry/return across execve.
2173 (do_syscall_tests): Call test_catch_syscall_execve.
2175 2016-01-12 Pedro Alves <palves@redhat.com>
2177 * gdb.base/random-signal.exp (do_test): New procedure, with body
2178 of testcase moved in.
2180 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2181 Pedro Alves <palves@redhat.com>
2183 * gdb.base/funcargs.exp (finish from indirectly called function):
2184 Reintroduce the case for 'First'.
2186 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2187 Pedro Alves <palves@redhat.com>
2189 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2190 (tcatch_vfork_then_child_follow_exec)
2191 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2194 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2196 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2197 and repeats to unlimited.
2198 * gdb.python/py-value.exp: Likewise.
2199 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2200 and repeats to unlimited.
2202 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2204 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2205 and reordering the functions.
2206 * gdb.multi/hangout.c: Likewise.
2207 * gdb.multi/hello.c: Likewise.
2209 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2211 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2213 (SingleStatisticTestResult.report): Use dict.keys instead of
2216 2016-01-06 Pedro Alves <palves@redhat.com>
2218 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2220 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2222 * gdb.btrace/dlopen.exp: New.
2223 * gdb.btrace/dlopen.c: New.
2224 * gdb.btrace/dlopen-dso.c: New.
2226 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2228 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2229 PATTERN argument is optional.
2231 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2233 * lib/ada.exp (target_compile_ada_from_dir): New function.
2234 (gdb_compile_ada): Reimplement avoiding the use of project files.
2235 * gdb.ada/gnat_ada.gpr: Delete.
2236 * gdb.ada/cond_lang.exp: Adjust test to make path before
2238 * gdb.ada/small_reg_param.exp: Likewise.
2240 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2242 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2244 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2246 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2249 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2251 * gdb.base/break.exp: Remove dead code.
2252 * gdb.base/sepdebug.exp: Likewise.
2254 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2256 * gdb.asm/asm-source.exp: Remove HP-UX references.
2257 * gdb.base/annota1.exp: Likewise.
2258 * gdb.base/annota3.exp: Likewise.
2259 * gdb.base/attach.exp: Likewise.
2260 * gdb.base/bigcore.exp: Likewise.
2261 * gdb.base/break.exp: Likewise.
2262 * gdb.base/call-ar-st.exp: Likewise.
2263 * gdb.base/callfuncs.exp: Likewise.
2264 * gdb.base/catch-fork-static.exp: Likewise.
2265 * gdb.base/display.exp: Likewise.
2266 * gdb.base/foll-exec-mode.exp: Likewise.
2267 * gdb.base/foll-exec.exp: Likewise.
2268 * gdb.base/foll-fork.exp: Likewise.
2269 * gdb.base/foll-vfork.exp: Likewise.
2270 * gdb.base/funcargs.exp: Likewise.
2271 * gdb.base/hbreak2.exp: Likewise.
2272 * gdb.base/inferior-died.exp: Likewise.
2273 * gdb.base/interrupt.exp: Likewise.
2274 * gdb.base/multi-forks.exp: Likewise.
2275 * gdb.base/nodebug.exp: Likewise.
2276 * gdb.base/sepdebug.exp: Likewise.
2277 * gdb.base/solib1.c: Likewise.
2278 * gdb.base/step-test.exp: Likewise.
2279 * gdb.mi/non-stop.c: Likewise.
2280 * gdb.mi/pthreads.c: Likewise.
2281 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2282 * gdb.threads/pthreads.c: Likewise.
2283 * gdb.threads/staticthreads.exp: Likewise.
2284 * lib/future.exp: Likewise.
2285 * lib/gdb.exp: Likewise.
2286 * gdb.base/so-indr-cl.c: Remove.
2287 * gdb.base/so-indr-cl.exp: Likewise.
2288 * gdb.base/solib.c: Likewise.
2289 * gdb.base/solib.exp: Likewise.
2290 * gdb.base/solib2.c: Likewise.
2292 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2294 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2295 * gdb.base/call-ar-st.exp: Likewise.
2296 * gdb.base/callfuncs.exp: Likewise.
2297 * gdb.base/condbreak.exp: Likewise.
2298 * gdb.base/constvars.exp: Likewise.
2299 * gdb.base/hbreak2.exp: Likewise.
2300 * gdb.base/langs.exp: Likewise.
2301 * gdb.base/list.exp: Likewise.
2302 * gdb.base/long_long.exp: Likewise.
2303 * gdb.base/ptype.exp: Likewise.
2304 * gdb.base/scope.exp: Likewise.
2305 * gdb.base/signals.exp: Likewise.
2306 * gdb.base/so-impl-ld.exp: Likewise.
2307 * gdb.base/varargs.exp: Likewise.
2308 * gdb.base/volatile.exp: Likewise.
2309 * gdb.base/whatis.exp: Likewise.
2310 * gdb.cp/cplusfuncs.exp: Likewise.
2311 * gdb.cp/inherit.exp: Likewise.
2312 * gdb.cp/local.exp: Likewise.
2313 * gdb.cp/member-ptr.exp: Likewise.
2314 * gdb.cp/method.exp: Likewise.
2315 * gdb.cp/overload.exp: Likewise.
2316 * gdb.cp/templates.exp: Likewise.
2317 * gdb.stabs/weird.exp: Likewise.
2318 * lib/compiler.c: Likewise.
2319 * lib/compiler.cc: Likewise.
2320 * lib/cp-support.exp: Likewise.
2321 * lib/gdb.exp: Likewise.
2323 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2325 * configure.ac: Remove HP-UX case.
2326 * configure: Regenerate.
2328 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2330 * lib/gdb.exp (gdb_compile): Add function doc.
2332 2015-12-17 Pedro Alves <palves@redhat.com>
2335 * gdb.multi/info-threads.exp: New file.
2337 2015-12-15 Yao Qi <yao.qi@linaro.org>
2339 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2342 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2344 * gdb.base/history-duplicates.exp: Skip if no readline support.
2346 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2348 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2350 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2352 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2354 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2356 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2357 ctrl-C if nointerrupts target property is set.
2358 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2359 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2360 * gdb.base/paginate-bg-execution.exp: Likewise.
2361 * gdb.base/paginate-execution-startup.exp: Likewise.
2362 * gdb.base/random-signal.exp: Likewise.
2363 * gdb.base/range-stepping.exp: Likewise.
2364 * gdb.cp/annota2.exp: Likewise.
2365 * gdb.cp/annota3.exp: Likewise.
2366 * gdb.gdb/selftest.exp: Likewise.
2367 * gdb.threads/continue-pending-status.exp: Likewise.
2368 * gdb.threads/leader-exit.exp: Likewise.
2369 * gdb.threads/manythreads.exp: Likewise.
2370 * gdb.threads/pthreads.exp: Likewise.
2371 * gdb.threads/schedlock.exp: Likewise.
2372 * gdb.threads/sigthread.exp: Likewise.
2374 2015-12-11 Don Breazeal <donb@codesourcery.com>
2376 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2378 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2379 * gdb.base/foll-exec.exp (main): Enable for target remote.
2380 * gdb.base/foll-fork.exp (main): Likewise.
2381 * gdb.base/foll-vfork.exp (main): Likewise.
2382 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2383 (proc continue_to_exit_bp_loc): Use clean_restart.
2384 * gdb.base/pie-execl.exp (main): Disable for target remote.
2385 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2386 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2387 * gdb.threads/execl.exp (main): Likewise.
2388 * gdb.threads/fork-child-threads.exp (main): Likewise.
2389 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2391 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2393 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2394 pid.tid style ptids, instead of just tid.
2395 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2396 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2397 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2398 ptids, instead of just tid.
2400 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2402 * gdb.base/list.exp (test_list_forward): Add end of file error
2404 (test_repeat_list_command): Add end of file error test.
2405 (test_list_backwards): Add beginning of file error test.
2407 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2409 * gdb.base/list.exp (test_list_invalid_args): New function,
2410 defined, and called.
2412 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2414 * gdb.base/list.exp (test_list): Make test names unique.
2416 2015-12-11 Yao Qi <yao.qi@linaro.org>
2418 * gdb.base/coremaker2.c: Remove.
2420 2015-12-10 Pedro Alves <palves@redhat.com>
2422 * gdb.multi/base.exp: Remove stale "spaces" references.
2424 2015-12-10 Pedro Alves <palves@redhat.com>
2426 * gdb.multi/base.exp: Don't use nowarnings.
2427 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2428 * gdb.multi/hangout.c: Include stdio.h.
2429 * gdb.multi/hello.c: Include stdlib.h.
2430 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2431 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2432 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2434 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2436 * gdb.dwarf2/dw2-ranges-base.c: New file.
2437 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2438 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2439 support additional line table, and debug ranges generation.
2440 (Dwarf::ranges): New function, generate .debug_ranges.
2441 (Dwarf::lines): Support generating simple line table programs.
2442 (Dwarf::assemble): Initialise new namespace variables.
2444 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2446 * gdb.base/async.exp (proc test_background): Add case for
2447 asynchronous execution not supported.
2449 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2451 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2452 format and change test names to make them unique.
2454 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2455 Pedro Alves <pedro@redhat.com>
2458 Add checking of floatformats setup on x86_64 hosts.
2459 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2460 (smallval, bigval): New labels/constants.
2461 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2462 float" after loading bigval and smallval.
2464 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2466 * gdb.ada/fun_overload_menu.exp: New testcase.
2467 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2469 2015-12-04 Josh Stone <jistone@redhat.com>
2471 * gdb.base/catch-fork-static.exp: New.
2473 2015-12-03 Yao Qi <yao.qi@linaro.org>
2475 * gdb.base/sizeof.c: Don't include stdio.h and
2476 ../lib/unbuffer_output.c.
2477 (main): New variable 'size' and 'value'. Remove printf and
2478 gdb_unbuffer_output. Assign return value to size and value.
2479 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2481 (check_sizeof): Check the result by printing variable 'size'.
2482 (check_valueof): Check the result by printing variable 'value'.
2484 2015-12-01 Yao Qi <yao.qi@linaro.org>
2486 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2487 for aarch64*-*-linux* target.
2489 2015-11-30 Pedro Alves <palves@redhat.com>
2491 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2493 2015-11-30 Pedro Alves <palves@redhat.com>
2495 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2496 Handle non-stop mode vCont replies.
2498 2015-11-30 Pedro Alves <palves@redhat.com>
2500 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2501 prepare_for_testing. Start gdb with "set non-stop on" appended to
2502 GDBFLAGS. Lax expected stop output.
2504 2015-11-27 Yao Qi <yao.qi@linaro.org>
2506 * gdb.arch/arm-neon.exp: New.
2507 * gdb.arch/arm-neon.c: New.
2509 2015-11-27 Yao Qi <yao.qi@linaro.org>
2511 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2513 2015-11-27 Yao Qi <yao.qi@linaro.org>
2515 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2516 frames-invalid annotation.
2518 2015-11-27 Yao Qi <yao.qi@linaro.org>
2520 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2522 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2524 * gdb.threads/names.exp: New file.
2525 * gdb.threads/names.c: New file.
2526 * README: Mention gdb,no_thread_names.
2528 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2531 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2534 2015-11-24 Pedro Alves <palves@redhat.com>
2537 * gdb.base/display.exp: Expect displays to be sorted in ascending
2538 order. Use multi_line.
2539 * gdb.base/solib-display.exp: Likewise.
2541 2015-11-24 Pedro Alves <palves@redhat.com>
2544 * gdb.base/display.exp: Expect displays to be sorted in ascending
2545 order. Use multi_line.
2546 * gdb.base/solib-display.exp: Likewise.
2548 2015-11-24 Pedro Alves <palves@redhat.com>
2551 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2552 threads in ascending order.
2553 * gdb.base/foll-fork.exp: Likewise.
2554 * gdb.base/foll-vfork.exp: Likewise.
2555 * gdb.base/multi-forks.exp: Likewise.
2556 * gdb.mi/mi-nonstop.exp: Likewise.
2557 * gdb.mi/mi-nsintrall.exp: Likewise.
2558 * gdb.multi/base.exp: Likewise.
2559 * gdb.multi/multi-arch.exp: Likewise.
2560 * gdb.python/py-inferior.exp: Likewise.
2561 * gdb.threads/break-while-running.exp: Likewise.
2562 * gdb.threads/execl.exp: Likewise.
2563 * gdb.threads/gcore-thread.exp: Likewise.
2564 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2565 * gdb.threads/kill.exp: Likewise.
2566 * gdb.threads/linux-dp.exp: Likewise.
2567 * gdb.threads/multiple-step-overs.exp: Likewise.
2568 * gdb.threads/next-bp-other-thread.exp: Likewise.
2569 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2570 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2571 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2572 * gdb.threads/thread-find.exp: Likewise.
2573 * gdb.threads/tls.exp: Likewise.
2574 * lib/mi-support.exp (mi_reverse_list): Delete.
2575 (mi_check_thread_states): No longer reverse list.
2577 2015-11-24 Pedro Alves <palves@redhat.com>
2579 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2582 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2584 * gdb.trace/actions.c: Include trace-common.h.
2585 (main): Add a location for a fast tracepoint.
2586 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2587 the normal tracepoints.
2588 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2590 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2592 * save-trace.exp: Factor out code to these...
2593 (gdb_save_tracepoints): New.
2594 (gdb_load_tracepoints): New.
2595 (do_save_load_test): New.
2597 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2599 * gdb.base/asmlabel.exp: New test.
2600 * gdb.base/asmlabel.c: New test case.
2602 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2604 * gdb.base/wrong_frame_bt_full-main.c: New file.
2605 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2606 * gdb.base/wrong_frame_bt_full.exp: New file.
2608 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2610 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2612 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2614 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2615 pstate register when comparing registers values in
2616 sparc64-*-linux-gnu targets to avoid spurious differences.
2618 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2620 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2622 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2624 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2625 as type argument to gdb_compile.
2626 * gdb.base/nested-subp2.exp: Likewise.
2627 * gdb.base/nested-subp3.exp: Likewise.
2629 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2631 * lib/dwarf.exp (_note): Fix left shift of negative value.
2632 * gdb.trace/trace-condition.exp: Likewise.
2634 2015-11-13 Yao Qi <yao.qi@linaro.org>
2636 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2637 comments about d10v.
2638 (test_scalar_returns): Likewise.
2639 * gdb.base/d10v.ld: Remove.
2640 * gdb.base/overlays.exp: Remove the target triplet checking for
2642 * gdb.base/structs.exp (test_struct_returns): Remove the
2643 comments about d10v.
2644 (test_struct_calls): Likewise.
2646 2015-11-13 Yao Qi <yao.qi@linaro.org>
2648 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2649 * gdb.base/gnu_vector.c: Don't include stdio.h.
2650 (main): Don't print res and call add_some_intvecs.
2652 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2654 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2657 (func4): Use FAST_TRACEPOINT_LABEL.
2658 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2661 (thread_function): Use FAST_TRACEPOINT_LABEL.
2662 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2664 (marker): Use FAST_TRACEPOINT_LABEL.
2665 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2666 (pendfunc1): Remove.
2667 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2668 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2670 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2671 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2674 (marker): Use FAST_TRACEPOINT_LABEL.
2675 * gdb.trace/trace-common.h: New header.
2676 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2679 (marker): Use FAST_TRACEPOINT_LABEL.
2680 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2682 (thread_function): Use FAST_TRACEPOINT_LABEL.
2684 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2686 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2688 * gdb.trace/change-loc.exp: Use global pcreg definition.
2689 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2690 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2692 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2693 * gdb.trace/pending.exp: Likewise.
2694 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2695 * gdb.trace/trace-break.exp: Likewise.
2696 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2698 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2699 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2701 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2703 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2705 * gdb.ada/fin_fun_out: New testcase.
2707 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2709 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2710 value associated with DW_AT_byte_size.
2711 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2712 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2715 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2717 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2718 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2720 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2721 gdb.dwarf2/dw2-canonicalize-type.exp,
2722 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2723 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2724 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2725 provided by gdb_target_symbol_prefix_flags_asm.
2726 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2727 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2728 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2729 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2730 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2731 macros where needed). Use this macro for symbols which require
2732 the prefix provided by SYMBOL_PREFIX.
2734 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2736 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2738 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2739 representing expressions, of more than one list element.
2740 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2741 to prepend linker symbol prefix to f.
2742 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2743 table_1 and table_2.
2744 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2745 Likewise, for f and g.
2746 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2748 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2750 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2751 table_1_ptr and table_2_ptr.
2753 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2754 Joel Brobecker <brobecker@adacore.com>
2756 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2758 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2760 * gdb.reverse/s390-mvcle.c: New test.
2761 * gdb.reverse/s390-mvcle.exp: New file.
2762 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2764 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2766 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2768 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2770 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2772 * gdb.reverse/getresuid-reverse.exp: Likewise.
2773 * gdb.reverse/pipe-reverse.exp: Likewise.
2774 * gdb.reverse/readv-reverse.exp: Likewise.
2775 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2776 * gdb.reverse/time-reverse.exp: Likewise.
2777 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2779 2015-10-30 Yao Qi <yao.qi@linaro.org>
2781 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2782 (empty_cycle): Remove.
2783 (main): Don't call empty_cycle. Don't use watch_count_done.
2784 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2785 empty_cycle. Rewrite the code counting HW watchpoints.
2787 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2789 * gdb.reverse/fstatat-reverse.c: New test.
2790 * gdb.reverse/fstatat-reverse.exp: New file.
2791 * gdb.reverse/getresuid-reverse.c: New test.
2792 * gdb.reverse/getresuid-reverse.exp: New file.
2793 * gdb.reverse/pipe-reverse.c: New test.
2794 * gdb.reverse/pipe-reverse.exp: New file.
2795 * gdb.reverse/readv-reverse.c: New test.
2796 * gdb.reverse/readv-reverse.exp: New file.
2797 * gdb.reverse/recvmsg-reverse.c: New test.
2798 * gdb.reverse/recvmsg-reverse.exp: New file.
2799 * gdb.reverse/time-reverse.c: New test.
2800 * gdb.reverse/time-reverse.exp: New file.
2801 * gdb.reverse/waitpid-reverse.c: New test.
2802 * gdb.reverse/waitpid-reverse.exp: New file.
2804 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2806 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2808 2015-10-26 Doug Evans <dje@google.com>
2811 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2812 * gdb.dwarf2/bad-regnum.c: New file.
2813 * gdb.dwarf2/bad-regnum.exp: New file.
2815 2015-10-26 Doug Evans <dje@google.com>
2818 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2821 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2823 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2824 for a change by "Mention language in compile error message".
2826 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2829 * gdb.python/py-type.c (C::a_method): New.
2830 (C::a_const_method): New.
2831 (C::a_static_method): New.
2833 * gdb.python/py-type.exp (test_fields): Test getting fields
2834 from function and method.
2836 2015-10-21 Keven Boell <keven.boell@intel.com>
2838 * gdb.fortran/vla-alloc-assoc.exp: New file.
2839 * gdb.fortran/vla-datatypes.exp: New file.
2840 * gdb.fortran/vla-datatypes.f90: New file.
2841 * gdb.fortran/vla-history.exp: New file.
2842 * gdb.fortran/vla-ptype-sub.exp: New file.
2843 * gdb.fortran/vla-ptype.exp: New file.
2844 * gdb.fortran/vla-sizeof.exp: New file.
2845 * gdb.fortran/vla-sub.f90: New file.
2846 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2847 * gdb.fortran/vla-value-sub-finish.exp: New file.
2848 * gdb.fortran/vla-value-sub.exp: New file.
2849 * gdb.fortran/vla-value.exp: New file.
2850 * gdb.fortran/vla-ptr-info.exp: New file.
2851 * gdb.mi/mi-vla-fortran.exp: New file.
2852 * gdb.mi/vla.f90: New file.
2854 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2856 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2857 of hardwired timeout value.
2859 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2860 Pedro Alves <palves@redhat.com>
2862 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2863 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2865 2015-10-19 Josh Stone <jistone@redhat.com>
2867 * gdb.base/catch-syscall.c: Include <sched.h>.
2868 (unknown_syscall): New variable.
2869 (main): Trigger a vfork and an unknown syscall.
2870 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2871 (unknown_syscall_number): Likewise.
2872 (check_call_to_syscall): Accept an optional syscall pattern.
2873 (check_return_from_syscall): Likewise.
2874 (check_continue): Likewise.
2875 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2876 (test_catch_syscall_skipping_return): New test toggling off 'catch
2877 syscall' to step over the syscall return, then toggling back on.
2878 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2879 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2880 (do_syscall_tests): Call test_catch_syscall_without_args and
2881 test_catch_syscall_mid_vfork.
2882 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2883 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2885 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2887 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2888 print g_vE): Add new pass patterns.
2889 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2890 print various symbol names for vptr fields.
2892 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2894 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2897 2015-10-12 Yao Qi <yao.qi@linaro.org>
2899 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2901 2015-10-12 Yao Qi <yao.qi@linaro.org>
2903 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2904 is aarch64*-*-linux*.
2906 2015-10-12 Yao Qi <yao.qi@linaro.org>
2908 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2909 (can_relocate_bcond_true): ... it.
2910 (can_relocate_bcond_false): New function.
2912 (can_relocate_bl): Likewise.
2913 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2916 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2918 * gdb.base/nested-addr.c: New file.
2919 * gdb.base/nested-addr.exp: New testcase.
2921 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2923 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2924 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2925 its output. Ignore the output of "record goto begin" and instead
2926 check that GDB is replaying.
2928 2015-10-09 Pedro Alves <palves@redhat.com>
2930 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2931 (top level): Use it in the run with no args test.
2933 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2935 * gdb.dlang/properties.exp: New file.
2937 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2939 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2940 whether or not address 0x1000 is mapped on the target.
2942 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2944 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2947 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2949 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2950 instruction-history test.
2952 2015-09-28 Doug Evans <dje@google.com>
2954 * gdb.base/gcore.c (array_func): Add reference to static_array.
2956 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2958 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2961 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2963 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2964 short or char as base type.
2966 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2968 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2969 to allow any size enum.
2971 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2973 * gdb.ada/array_ptr_renaming.exp: New testcase.
2974 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2975 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2977 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2979 * gdb.trace/ftrace-lock.c: New file.
2980 * gdb.trace/ftrace-lock.exp: New file.
2982 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2984 * gdb.arch/insn-reloc.c: New file.
2985 * gdb.arch/ftrace-insn-reloc.exp: New file.
2987 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2989 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2991 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2992 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2993 * gdb.trace/range-stepping.c: Likewise.
2994 * gdb.trace/trace-break.c: Likewise.
2995 * gdb.trace/trace-mt.c (thread_function): Likewise.
2996 * gdb.trace/ftrace.c (marker): Likewise.
2997 * gdb.trace/trace-condition.c (marker): Likewise.
2998 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2999 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3002 2015-09-18 Doug Evans <xdje42@gmail.com>
3004 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3005 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3007 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3009 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3012 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3014 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3015 the pending breakpoint. Remove timeout override for "Run till
3016 MI pending breakpoint on pendfunc3 on thread 2" test.
3018 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3020 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3023 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3025 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3026 in breakpoint filename pattern.
3028 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3030 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3032 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3034 * gdb.linespec/explicit.exp: Check for readline support for
3035 tab-completion tests. Fix obvious typo.
3037 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3039 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3042 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3044 * gdb.btrace/non-stop.c: New.
3045 * gdb.btrace/non-stop.exp: New.
3047 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3048 Yao Qi <yao.qi@linaro.org>
3050 * gdb.trace/trace-condition.c: New file.
3051 * gdb.trace/trace-condition.exp: New file.
3053 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3055 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3056 for testing bytecode compilation.
3058 2015-09-16 Pedro Alves <palves@redhat.com>
3059 Sandra Loosemore <sandra@codesourcery.com>
3061 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3062 (SECONDS): Redefine.
3063 (main): Call pthread_kill and alarm early.
3064 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3066 (test): If the target can't hardware step and doesn't support
3067 displaced stepping, increase the timeout.
3069 2015-09-16 Pedro Alves <palves@redhat.com>
3071 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3072 (enable_debug): New procedures.
3073 (test): Use them. Bail out if waiting for threads fails.
3074 (top level): Bail out if a test fails.
3076 2015-09-16 Yao Qi <yao.qi@linaro.org>
3078 * gdb.asm/asm-source.exp: Set asm-arch for
3079 aarch64*-*-* target.
3080 * gdb.asm/aarch64.inc: New file.
3082 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3084 * gdb.ada/array_of_variable_length.exp: New testcase.
3085 * gdb.ada/array_of_variable_length/foo.adb: New file.
3086 * gdb.ada/array_of_variable_length/pck.adb: New file.
3087 * gdb.ada/array_of_variable_length/pck.ads: New file.
3089 2015-09-15 Doug Evans <dje@google.com>
3091 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3092 of function static local variable.
3094 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3096 * gdb.threads/tls-so_extern.exp: New test file.
3097 * gdb.threads/tls-so_extern.c: New test file.
3098 * gdb.threads/tls-so_extern_main.c: New test file.
3100 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3102 * gdb.opt/solib-intra-step-lib.c: New file.
3103 * gdb.opt/solib-intra-step-main.c: New file.
3104 * gdb.opt/solib-intra-step.exp: New file.
3106 2015-09-15 Pedro Alves <palves@redhat.com>
3108 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3109 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3111 2015-09-14 Pedro Alves <palves@redhat.com>
3113 * gdb.base/hook-stop-continue.c: Delete.
3114 * gdb.base/hook-stop-continue.exp: Delete.
3115 * gdb.base/hook-stop-frame.c: Delete.
3116 * gdb.base/hook-stop-frame.exp: Delete.
3117 * gdb.base/hook-stop.c: New file.
3118 * gdb.base/hook-stop.exp: New file.
3120 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3122 * gdb.ada/access_to_packed_array.exp: New testcase.
3123 * gdb.ada/access_to_packed_array/foo.adb: New file.
3124 * gdb.ada/access_to_packed_array/pack.adb: New file.
3125 * gdb.ada/access_to_packed_array/pack.ads: New file.
3127 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3129 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3132 2015-09-11 Don Breazeal <donb@codesourcery.com>
3134 * gdb.base/foll-exec.c: Add copyright header. Fix
3136 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3137 (do_exec_tests): Use clean_restart in place of zap_session,
3138 and for test initialization. Fix formatting issues. Use
3139 fail in place of perror.
3140 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3141 an expect statement to match an expression with output from
3142 the program under debug.
3143 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3144 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3145 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3146 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3147 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3149 2015-09-09 Doug Evans <dje@google.com>
3151 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3153 2015-09-09 Doug Evans <dje@google.com>
3155 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3157 2015-09-09 Doug Evans <dje@google.com>
3159 * gdb.base/savedregs.exp: Fix typo.
3161 2015-09-09 Pedro Alves <palves@redhat.com>
3163 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3165 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3167 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3168 command actually switches threads. Give up on remaining
3169 tests if target fails to stop at breakpoint.
3171 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3173 * gdb.ada/funcall_char.exp: New testcase.
3174 * gdb.ada/funcall_char/foo.adb: New file.
3176 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3178 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3179 expected outputs. Add two testcases for completing ambiguous
3181 * gdb.ada/complete/aux_pck.adb: New file.
3182 * gdb.ada/complete/aux_pck.ads: New file.
3183 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3184 Ambiguous_Func functions.
3185 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3186 * gdb.ada/complete/pck.adb: Likewise.
3188 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3190 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3191 failures to run the test program under GDB.
3193 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3195 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3198 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3200 * gdb.base/run-after-attach.exp: New test file.
3201 * gdb.base/run-after-attach.c: New test file.
3203 2015-08-26 Don Breazeal <donb@codesourcery.com>
3205 * gdb.base/foll-exec-2.c: New test program.
3206 * gdb.base/foll-exec-2.exp: New test.
3208 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3210 * gdb.base/nested-subp1.exp: New file.
3211 * gdb.base/nested-subp1.c: New file.
3212 * gdb.base/nested-subp2.exp: New file.
3213 * gdb.base/nested-subp2.c: New file.
3214 * gdb.base/nested-subp3.exp: New file.
3215 * gdb.base/nested-subp3.c: New file.
3217 2015-08-24 Pedro Alves <palves@redhat.com>
3219 * gdb.server/connect-without-multi-process.c: New file.
3220 * gdb.server/connect-without-multi-process.exp: New file.
3222 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3224 * gdb.opt/inline-markers.c: Make z int.
3226 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3228 * gdb.opt/inline-markers.c: Make z volatile.
3230 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3232 * gdb.opt/inline-bt.c: New volatile global z.
3233 * gdb.opt/inline-cmds.c: Likewise.
3234 * gdb.opt/inline-locals.c: Likewise.
3235 * gdb.opt/inline-markers.c: New extern global z.
3237 (inline_fn): Likewise.
3239 2015-08-24 Pedro Alves <palves@redhat.com>
3241 * config/m32r-stub.exp: Remove file.
3242 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3243 * gdb.base/call-rt-st.exp: Likewise.
3244 * gdb.base/call-strs.exp: Likewise.
3245 * gdb.base/default.exp: Remove references to h8300-*-hms and
3247 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3249 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3251 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3252 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3253 and "return" use KFAIL when GDB can not read/write the vector
3256 2015-08-21 Gary Benson <gbenson@redhat.com>
3258 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3260 2015-08-20 Pedro Alves <palves@redhat.com>
3262 * gdb.server/solib-list.exp: No longer expect an interior stop in
3265 2015-08-20 Pedro Alves <palves@redhat.com>
3267 * gdb.server/connect-stopped-target.c: New file.
3268 * gdb.server/connect-stopped-target.exp: New file.
3270 2015-08-20 Pedro Alves <palves@redhat.com>
3272 * gdb.dwarf2/comp-unit-lang.exp: New file.
3273 * gdb.dwarf2/comp-unit-lang.c: New file.
3275 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3277 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3278 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3280 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3282 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3283 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3285 2015-08-18 Doug Evans <dje@google.com>
3286 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3288 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3289 skip_python_tests. New arg prompt_regexp.
3290 (skip_python_tests): New function.
3291 * lib/mi-support.exp (mi_skip_python_tests): New function.
3292 * gdb.python/py-mi-objfile-gdb.py: New file.
3293 * gdb.python/py-mi-objfile.c: New file.
3294 * gdb.python/py-mi-objfile.exp: New file.
3296 2015-08-17 Keith Seitz <keiths@redhat.com>
3298 * gdb.linespec/explicit.exp: Move strace test from here ...
3299 * gdb.trace/strace.exp: ... to here.
3301 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3303 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3304 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3306 2015-08-14 Doug Evans <xdje42@gmail.com>
3308 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3309 inferior before selecting a new file.
3311 2015-08-14 Doug Evans <xdje42@gmail.com>
3313 * gdb.mi/mi-disassemble.exp: Update.
3314 * gdb.base/disasm-optim.S: New file.
3315 * gdb.base/disasm-optim.c: New file.
3316 * gdb.base/disasm-optim.h: New file.
3317 * gdb.base/disasm-optim.exp: New file.
3319 2015-08-14 Keith Seitz <keiths@redhat.com>
3321 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3324 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3326 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3328 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3330 * gdb.ada/fun_renaming.exp: New testcase.
3331 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3332 * gdb.ada/fun_renaming/pack.adb: New file.
3333 * gdb.ada/fun_renaming/pack.ads: New file.
3335 2015-08-12 Keith Seitz <keiths@redhat.com>
3337 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3338 gdb_get_line_number.
3340 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3342 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3343 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3344 gdb.base/dso2dso.exp: New files.
3346 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3347 Pedro Alves <palves@redhat.com>
3348 Keith Seitz <keiths@redhat.com>
3350 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3353 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3355 * gdb.base/gdbhistsize-history.exp
3356 (test_histsize_history_setting): Use save_vars.
3357 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3359 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3360 * gdb.base/readline.exp: Use save_vars.
3362 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3364 * lib/gdb.exp (save_vars): New proc.
3366 2015-08-11 Keith Seitz <keiths@redhat.com>
3368 * gdb.base/help.exp: Update help_breakpoint_text.
3370 2015-08-11 Keith Seitz <keiths@redhat.com>
3372 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3373 (at toplevel): Call test_explicit_breakpoints.
3374 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3376 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3377 breakpoint conditions, "-cond".
3379 2015-08-11 Keith Seitz <keiths@redhat.com>
3381 * gdb.linespec/3explicit.c: New file.
3382 * gdb.linespec/cpexplicit.cc: New file.
3383 * gdb.linespec/cpexplicit.exp: New file.
3384 * gdb.linespec/explicit.c: New file.
3385 * gdb.linespec/explicit.exp: New file.
3386 * gdb.linespec/explicit2.c: New file.
3387 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3388 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3389 before using in the matching pattern.
3390 Clarify that `prefix' is a regular expression.
3392 2015-08-11 Keith Seitz <keiths@redhat.com>
3394 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3396 Add tests for missing ",FMT" and ",".
3398 2015-08-10 Doug Evans <dje@google.com>
3399 Keith Seitz <keiths@redhat.com>
3402 * gdb.base/completion.exp: Add location completer tests.
3404 2015-08-07 Pedro Alves <palves@redhat.com>
3406 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3408 (top level): Run do_test with and without displaced stepping.
3410 2015-08-07 Pedro Alves <palves@redhat.com>
3412 * gdb.base/valgrind-disp-step.c: New file.
3413 * gdb.base/valgrind-disp-step.exp: New file.
3415 2015-08-07 Pedro Alves <palves@redhat.com>
3417 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3419 (main): Add alarm. Run an infinite loop instead of calling
3421 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3423 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3425 (main): Add alarm. Run an infinite loop instead of calling
3427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3430 2015-08-07 Pedro Alves <palves@redhat.com>
3432 * gdb.base/checkpoint-ns.exp: New file.
3433 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3436 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3438 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3439 * gdb.btrace/instruction_history.exp: Update.
3440 * gdb.btrace/tsx.exp: New.
3441 * gdb.btrace/tsx.c: New.
3443 2015-08-06 Pedro Alves <palves@redhat.com>
3445 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3447 * gdb.reverse/until-precsave.exp: Bump timeouts.
3449 2015-08-06 Pedro Alves <palves@redhat.com>
3451 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3453 2015-08-06 Pedro Alves <palves@redhat.com>
3456 * gdb.threads/process-dies-while-handling-bp.c: New file.
3457 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3459 2015-08-06 Pedro Alves <palves@redhat.com>
3461 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3462 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3464 2015-08-05 Pedro Alves <palves@redhat.com>
3466 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3467 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3469 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3471 * gdb.base/bp-permanent.exp: Report test as unsupported if
3472 the target cannot stop at the permanent breakpoint.
3474 2015-08-03 Doug Evans <dje@google.com>
3476 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3479 2015-08-03 Doug Evans <dje@google.com>
3481 * Makefile.in (workers/%.worker, build-perf): New rule.
3482 (GDB_PERFTEST_MODE): New variable.
3483 (check-perf): Use it.
3484 (clean): Clean up gdb.perf parallel build subdirs.
3485 * lib/build-piece.exp: New file.
3486 * lib/gdb.exp (make_gdb_parallel_path): New function
3487 (standard_output_file, standard_temp_file): Call it.
3488 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3490 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3492 2015-08-03 Doug Evans <dje@google.com>
3494 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3495 (LOG_FILE_NAME): New global.
3496 (TextReporter.__init__): Initialize self.txt_sum.
3497 (TextReporter.report): Add support for multiple data-points.
3498 Move report to perftest.sum, put raw data in perftest.log.
3499 (TextReporter.start): Open sum and log files.
3500 (TextReporter.end): Close sum and log files.
3501 * gdb.perf/lib/perftest/testresult.py
3502 (SingleStatisticTestResult.record): Handle multiple data-points.
3504 2015-07-31 Pedro Alves <palves@redhat.com>
3506 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3507 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3508 kill_wait_spawned_process instead of explicit "kill -9".
3509 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3510 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3511 kill_wait_spawned_process.
3512 * gdb.base/attach-twice.exp: Likewise.
3513 * gdb.base/attach.exp: Likewise.
3514 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3516 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3517 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3518 kill_wait_spawned_process.
3519 * gdb.base/valgrind-infcall.exp: Likewise.
3520 * gdb.multi/multi-attach.exp: Likewise.
3521 * gdb.python/py-prompt.exp: Likewise.
3522 * gdb.python/py-sync-interp.exp: Likewise.
3523 * gdb.server/ext-attach.exp: Likewise.
3524 * gdb.threads/attach-into-signal.exp (corefunc): Use
3525 spawn_wait_for_attach, spawn_id_get_pid and
3526 kill_wait_spawned_process.
3527 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3528 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3529 spawn_id_get_pid and kill_wait_spawned_process.
3530 * gdb.threads/attach-stopped.exp (corefunc): Use
3531 spawn_wait_for_attach, spawn_id_get_pid and
3532 kill_wait_spawned_process.
3533 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3534 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3535 kill_wait_spawned_process instead of explicit "kill -9".
3536 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3537 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3538 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3539 processes. Don't map cygwin/windows pids here. Now returns a
3542 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3544 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3545 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3548 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3550 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3552 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3555 2014-05-21 Mark Wielaard <mjw@redhat.com>
3557 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3559 2015-07-30 Pedro Alves <palves@redhat.com>
3561 * linux-low.c (handle_extended_wait): Set the child's last
3562 reported status to TARGET_WAITKIND_STOPPED.
3564 2015-07-30 Pedro Alves <palves@redhat.com>
3567 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3568 only shows inferior 1.
3570 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3571 Pedro Alves <palves@redhat.com>
3574 * gdb.threads/fork-plus-threads.c: New file.
3575 * gdb.threads/fork-plus-threads.exp: New file.
3577 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3579 * gdb.base/batch-preserve-term-settings.exp
3580 (test_terminal_settings_preserved_after_cli_exit): Use
3583 2015-07-29 Pedro Alves <palves@redhat.com>
3584 Don Breazeal <donb@codesourcery.com>
3586 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3587 output from both inferior_spawn_id and gdb_spawn_id.
3589 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3591 * gdb.threads/attach-into-signal.exp (corefunc): Use
3592 with_test_prefix on nested loops, uniquefying the test messages.
3594 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3596 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3599 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3601 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3603 (test_terminal_settings_preserved_after_sigterm): New test.
3605 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3607 * gdb.base/batch-preserve-term-settings.exp
3608 (test_terminal_settings_preserved_after_cli_exit): New test.
3610 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3612 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3613 manipulation of saved_gdbflags.
3614 (test_terminal_settings_preserved): Remove global declaration of
3615 the unused variable pagination_prompt. Remove manipulation of
3616 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3619 2015-07-29 Pedro Alves <palves@redhat.com>
3621 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3623 2015-07-29 Pedro Alves <palves@redhat.com>
3625 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3628 2015-07-29 Pedro Alves <palves@redhat.com>
3630 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3631 (main): Call gdb_unbuffer_output.
3632 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3633 (main): Call gdb_unbuffer_output.
3634 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3636 * gdb.base/call-strs.exp: Adjust to step over the
3637 gdb_unbuffer_output call.
3638 * gdb.base/catch-gdb-caused-signals.c: Include
3639 "../lib/unbuffer_output.c".
3640 (main): Call gdb_unbuffer_output.
3641 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3642 (main): Call gdb_unbuffer_output.
3643 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3645 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3646 (main): Call gdb_unbuffer_output.
3647 * gdb.base/shlib-call.exp: Adjust to step over the
3648 gdb_unbuffer_output call.
3649 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3650 (main): Call gdb_unbuffer_output.
3651 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3652 (main): Call gdb_unbuffer_output.
3653 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3654 (main): Rename to ...
3656 (main): Reimplement.
3657 * gdb.base/varargs.exp: Run to test instead of to main.
3658 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3659 (main): Call gdb_unbuffer_output.
3661 2015-07-29 Pedro Alves <palves@redhat.com>
3663 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3664 factore out from mi_continue_dprintf. For call-style dprintfs,
3665 expect dprintf output out of $inferior_spawn_id.
3666 (mi_continue_dprintf): Use mi_expect_dprintf.
3667 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3668 (main): Call gdb_unbuffer_output.
3670 2015-07-29 Pedro Alves <palves@redhat.com>
3672 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3673 (default_mi_gdb_start): Set inferior_spawn_id instead of
3674 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3676 (mi_gdb_test): Always expect inferior output from both
3677 $inferior_spawn_id and $gdb_spawn_id.
3679 2015-07-29 Pedro Alves <palves@redhat.com>
3681 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3682 send_inferior and $inferior_spawn_id.
3684 2015-07-29 Pedro Alves <palves@redhat.com>
3686 * gdb.gdb/complaints.exp (test_initial_complaints)
3687 (test_serial_complaints, test_short_complaints): Use
3689 (test_empty_complaint): Handle $inferior_spawn_id !=
3692 2015-07-29 Pedro Alves <palves@redhat.com>
3694 * gdb.base/varargs.exp: Use gdb_test_stdio.
3696 2015-07-29 Pedro Alves <palves@redhat.com>
3698 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3700 2015-07-29 Pedro Alves <palves@redhat.com>
3702 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3704 2015-07-29 Pedro Alves <palves@redhat.com>
3706 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3707 parameter into two new parameters, "inf_result" and "gdb_result".
3708 Expect inferior output and gdb output from $inferior_spawn_id and
3709 $gdb_spawn_id, respectively. Adjust all callers.
3711 2015-07-29 Pedro Alves <palves@redhat.com>
3713 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3714 of gdb_test_sequence.
3716 2015-07-29 Pedro Alves <palves@redhat.com>
3718 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3719 (saw_spurious_output): Expect inferior output from
3720 $inferior_spawn_id. Use gdb_test_stdio.
3722 2015-07-29 Pedro Alves <palves@redhat.com>
3724 * gdb.base/dprintf.exp: Use standard_testfile. Change
3725 prepare_for_testing call.
3726 (srcfile): Don't set.
3727 (restart): New procedure.
3728 (test_dprintf): New procecure, use to continue over dprintfs.
3729 (test_call, test_agent): New procedures, tests moved here.
3730 Restart gdb and recreate dprintfs. Adjust expected output.
3732 2015-07-29 Pedro Alves <palves@redhat.com>
3734 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3736 2015-07-29 Pedro Alves <palves@redhat.com>
3738 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3740 2015-07-29 Pedro Alves <palves@redhat.com>
3742 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3745 2015-07-29 Pedro Alves <palves@redhat.com>
3747 * lib/gdb.exp (gdb_test_stdio): New procedure.
3749 2015-07-29 Pedro Alves <palves@redhat.com>
3751 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3753 2015-07-29 Pedro Alves <palves@redhat.com>
3755 * gdb.base/call-signal-resume.exp: Remove check for
3756 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3757 * gdb.base/unwindonsignal.exp: Likewise.
3758 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3759 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3761 2015-07-29 Pedro Alves <palves@redhat.com>
3763 * gdb.base/siginfo-addr.c (pass): New function.
3764 (handler): Call it iff si_addr is correct.
3765 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3766 Set a breakpoint at "pass" and continue to it.
3768 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3770 * gdb.python/py-objfile.exp: Make some tests have unique names.
3771 * gdb.python/py-pp-registration.exp: Likewise.
3773 2015-07-28 Pedro Alves <palves@redhat.com>
3775 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3777 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3779 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3781 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3783 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3785 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3787 * gdb.base/gdb-sigterm-2.exp: New test.
3789 2015-07-25 Doug Evans <xdje42@gmail.com>
3792 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3793 (workers/%.worker, build-perf): New rule.
3794 (GDB_PERFTEST_MODE): New variable.
3795 (check-perf): Use it.
3796 (clean): Clean up gdb.perf parallel build subdirs.
3797 * lib/build-piece.exp: New file.
3798 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3799 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3801 (standard_temp_file): Ditto.
3802 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3805 2015-07-24 Doug Evans <dje@google.com>
3807 * gdb.perf/lib/perftest/utils.py: New file.
3808 * gdb.perf/gm-hello.cc: New file.
3809 * gdb.perf/gm-pervasive-typedef.cc: New file.
3810 * gdb.perf/gm-pervasive-typedef.h: New file.
3811 * gdb.perf/gm-std.cc: New file.
3812 * gdb.perf/gm-std.h: New file.
3813 * gdb.perf/gm-use-cerr.cc: New file.
3814 * gdb.perf/gm-utils.h: New file.
3815 * gdb.perf/gmonster-null-lookup.py: New file.
3816 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3817 * gdb.perf/gmonster-print-cerr.py: New file.
3818 * gdb.perf/gmonster-ptype-string.py: New file.
3819 * gdb.perf/gmonster-runto-main.py: New file.
3820 * gdb.perf/gmonster-select-file.py: New file.
3821 * gdb.perf/gmonster1-null-lookup.exp: New file.
3822 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3823 * gdb.perf/gmonster1-print-cerr.exp: New file.
3824 * gdb.perf/gmonster1-ptype-string.exp: New file.
3825 * gdb.perf/gmonster1-runto-main.exp: New file.
3826 * gdb.perf/gmonster1-select-file.exp: New file.
3827 * gdb.perf/gmonster1.cc: New file.
3828 * gdb.perf/gmonster1.exp: New file.
3829 * gdb.perf/gmonster2-null-lookup.exp: New file.
3830 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3831 * gdb.perf/gmonster2-print-cerr.exp: New file.
3832 * gdb.perf/gmonster2-ptype-string.exp: New file.
3833 * gdb.perf/gmonster2-runto-main.exp: New file.
3834 * gdb.perf/gmonster2-select-file.exp: New file.
3835 * gdb.perf/gmonster2.cc: New file.
3836 * gdb.perf/gmonster2.exp: New file.
3838 2015-07-24 Doug Evans <dje@google.com>
3840 * gdb.perf/README: New file.
3841 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3842 * lib/gen-perf-test.exp: New file.
3844 2015-07-24 Doug Evans <dje@google.com>
3846 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3847 (PerfTest::startup): New function.
3848 (PerfTest::run): Return result of calling body.
3849 (PerfTest::assemble): Rewrite.
3850 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3851 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3852 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3853 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3854 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3856 2015-07-24 Doug Evans <dje@google.com>
3858 * lib/gdb.exp (clean_restart): Make executable optional.
3860 2015-07-24 Doug Evans <dje@google.com>
3862 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3863 compiler_info references.
3864 * gdb.cp/temargs.exp: Ditto.
3865 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3866 (get_compiler_info): Early exit if already computed. Set compiler_info
3867 to "unknown" if there was a problem.
3868 (test_compiler_info): Add function comment. Call get_compiler_info.
3870 2015-07-24 Doug Evans <dje@google.com>
3872 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3873 (workers/%.worker, build-perf): New rule.
3874 (GDB_PERFTEST_MODE): New variable.
3875 (check-perf): Use it.
3876 (clean): Clean up gdb.perf parallel build subdirs.
3877 * lib/build-piece.exp: New file.
3878 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3879 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3881 (standard_temp_file): Ditto.
3882 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3885 2015-07-24 Doug Evans <dje@google.com>
3887 * lib/future.exp (gdb_default_target_compile): New option
3889 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3892 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3894 * gdb.base/catch-syscall.exp: Call gdb_exit before
3897 2015-07-24 Pedro Alves <palves@redhat.com>
3899 * gdb.python/py-events.exp: Accept output between the stop event
3901 * gdb.python/py-evsignal.exp: Likewise.
3902 * gdb.python/py-evthreads.exp: Likewise.
3904 2015-07-24 Pedro Alves <palves@redhat.com>
3907 * gdb.threads/non-ldr-exit.c: New file.
3908 * gdb.threads/non-ldr-exit.exp: New file.
3910 2015-07-24 Yao Qi <yao.qi@linaro.org>
3912 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3915 2015-07-24 Yao Qi <yao.qi@linaro.org>
3917 * gdb.server/ext-restart.exp: New file.
3919 2015-07-24 Yao Qi <yao.qi@linaro.org>
3921 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3923 * gdb.server/ext-wrapper.exp: New file.
3925 2015-07-23 Doug Evans <dje@google.com>
3927 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3928 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3930 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3932 * gdb.ada/var_arr_typedef.exp: New testcase.
3933 * gdb.ada/var_arr_typedef/pack.adb: New file.
3934 * gdb.ada/var_arr_typedef/pack.ads: New file.
3935 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3937 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3939 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3941 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3943 * gdb.arch/i386-biarch-core.exp: Replace istarget
3944 by "complete set gnutarget". Remove expectation for the "core-file"
3947 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3949 Revert the previous commit:
3950 Tests for validate symbol file using build-id.
3952 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3954 Tests for validate symbol file using build-id.
3955 * gdb.base/solib-mismatch-lib.c: New file.
3956 * gdb.base/solib-mismatch-libmod.c: New file.
3957 * gdb.base/solib-mismatch.c: New file.
3958 * gdb.base/solib-mismatch.exp: New file.
3960 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3962 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3964 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3965 * gdb.base/siginfo.exp: Likewise.
3966 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3968 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3970 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3972 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3974 * gdb.trace/range-stepping.exp: Check that the target supports
3977 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3979 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3981 2015-07-14 Pedro Alves <palves@redhat.com>
3983 * gdb.base/killed-outside.exp: New file.
3984 * gdb.base/killed-outside.c: New file.
3986 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3988 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3990 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3992 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3994 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3995 infcall tests instead of setting up for KFAIL.
3997 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3999 * gdb.btrace/record_goto-step.exp: New.
4001 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4004 * gdb.compile/compile.c (struct struct_type): Add volatile to
4006 * gdb.compile/compile.exp
4007 (compile code struct_object.selffield = &struct_object): Skip further
4008 struct_object tests if this one xfails.
4010 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4013 * gdb.trace/ax.exp: Add test.
4015 2015-07-07 Yao Qi <yao.qi@linaro.org>
4017 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4018 instead of istarget "aarch64*-*-*".
4019 * gdb.arch/aarch64-fp.exp: Likewise.
4020 * gdb.base/float.exp: Likewise.
4021 * gdb.reverse/aarch64.exp: Likewise.
4022 * lib/gdb.exp (is_aarch64_target): New proc.
4024 2015-07-07 Yao Qi <yao.qi@linaro.org>
4026 * lib/gdb.exp (is_aarch32_target): New proc.
4027 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4028 instead of "istarget "arm*-*-*"".
4029 * gdb.arch/arm-disp-step.exp: Likewise.
4030 * gdb.arch/thumb-bx-pc.exp: Likewise.
4031 * gdb.arch/thumb-prologue.exp: Likewise.
4032 * gdb.arch/thumb-singlestep.exp: Likewise.
4033 * gdb.base/disp-step-syscall.exp: Likewise.
4034 * gdb.base/float.exp: Likewise.
4036 2015-07-07 Yao Qi <yao.qi@linaro.org>
4038 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4039 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4041 2015-07-07 Yao Qi <yao.qi@linaro.org>
4043 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4044 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4046 * gdb.multi/multi-arch.exp: Likewise.
4048 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4050 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4053 2015-07-07 Yao Qi <yao.qi@linaro.org>
4055 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4057 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4059 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4060 '[' and ']' characters.
4062 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4064 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4066 2015-06-29 Pedro Alves <palves@redhat.com>
4069 * gdb.threads/hand-call-new-thread.c: New file.
4070 * gdb.threads/hand-call-new-thread.c: New file.
4072 2015-06-26 Keith Seitz <keiths@redhat.com>
4073 Doug Evans <dje@google.com>
4076 * gdb.cp/var-tag-2.cc: New file.
4077 * gdb.cp/var-tag-3.cc: New file.
4078 * gdb.cp/var-tag-4.cc: New file.
4079 * gdb.cp/var-tag.cc: New file.
4080 * gdb.cp/var-tag.exp: New file.
4082 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4084 * gdb.base/history-duplicates.exp: New test.
4086 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4088 * gdb.base/completion.exp: Test the completion of the "focus"
4091 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4093 * gdb.arch/amd64-prologue-skip.S: New file.
4094 * gdb.arch/amd64-prologue-skip.exp: New file.
4096 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4098 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4099 is_address_zero_readable check.
4101 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4103 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4104 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4106 2015-06-24 Yao Qi <yao.qi@linaro.org>
4108 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4111 2015-06-24 Yao Qi <yao.qi@linaro.org>
4113 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4114 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4115 * gdb.base/siginfo-thread.exp: Likewise.
4117 2015-06-22 Yao Qi <yao.qi@linaro.org>
4119 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4121 2015-06-22 Yao Qi <yao.qi@linaro.org>
4123 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4125 (skip_hw_watchpoint_tests): Likewise.
4127 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4129 * gdb.base/gdbinit-history.exp: Test the interaction between
4130 setting GDBHISTSIZE and setting the history size via .gdbinit.
4132 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4135 * gdb.base/gdbhistsize-history.exp: New test.
4137 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4139 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4141 * gdb.base/readline.exp: Likewise.
4143 2015-06-17 Yao Qi <yao.qi@linaro.org>
4145 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4148 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4150 * gdb.base/gdbinit-history.exp: Add test case to check that
4151 an unlimited history file does not get truncated on exit.
4153 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4155 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4156 (VECTOR): New macro. Use it...
4157 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4158 ...for these typedefs.
4159 (int8, char1, int1, double1): New typedefs.
4160 (struct just_int2, struct two_int2): New structures.
4161 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4162 (add_structvecs, add_singlevecs): New functions.
4163 (main): Call add_some_intvecs twice.
4164 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4165 the compile and exit upon failure. Try compiling for the "native"
4166 architecture. Test inferior function calls with vector arguments
4167 and vector return value handling with "finish" and "return".
4169 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4171 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4172 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4174 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4176 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4178 PR breakpoints/16465
4179 * gdb.mi/mi-dprintf-pending.c: New file.
4180 * gdb.mi/mi-dprintf-pending.exp: New test.
4181 * gdb.mi/mi-dprintf-pendshr.c: New file.
4183 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4184 Mircea Gherzan <mircea.gherzan@intel.com>
4186 * gdb.arch/i386-mpx-map.c: New file.
4187 * gdb.arch/i386-mpx-map.exp: New File.
4189 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4191 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4192 * gdb.arch/i386-mpx.exp: Indentation fixed.
4194 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4196 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4197 function and improved indentation.
4198 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4199 gdb_test_multiple. Added additional tests to skip the test.
4201 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4203 * gdb.arch/i386-avx512.c: Change path in include file.
4204 * gdb.arch/i386-avx512.exp: Change include dir path
4206 * gdb.arch/i386-mpx.c: Change path in include file.
4207 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4210 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4212 * gdb.compile/compile-print.exp (compile print *vararray@3)
4213 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4215 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4217 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4218 (do not keep jit in memory): ... this.
4219 (expect 5): Change it to ...
4220 (expect no 5): ... this.
4222 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4225 * gdb.mi/mi-detach.exp: New file.
4227 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4230 * gdb.arch/amd64-tailcall-self.S: New file.
4231 * gdb.arch/amd64-tailcall-self.c: New file.
4232 * gdb.arch/amd64-tailcall-self.exp: New file.
4234 2015-05-28 Don Breazeal <donb@codesourcery.com>
4236 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4237 tests for remote targets by checking is_target_gdbserver.
4239 2015-05-27 Doug Evans <dje@google.com>
4241 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4242 * gdb.dwarf2/opaque-type-lookup.c: New file.
4243 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4245 2015-05-26 Doug Evans <dje@google.com>
4247 * gdb.cp/iostream.cc: New file.
4248 * gdb.cp/iostream.exp: New file.
4250 2015-05-26 Doug Evans <dje@google.com>
4252 * gdb.dwarf2/dw2-op-call.exp: Update.
4253 * gdb.dwarf2/dw4-sig-types.exp: Update.
4254 * gdb.dwarf2/implptr.exp: Update.
4255 * gdb.mi/mi-cmd-param-changed.exp: Update.
4257 2015-05-26 Doug Evans <dje@google.com>
4259 * gdb.python/py-lazy-string.c: New file.
4260 * gdb.python/py-lazy-string.exp: New file.
4261 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4262 (main): Update. Add estring3.
4263 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4264 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4266 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4267 Yao Qi <yao.qi@linaro.org>
4269 * gdb.reverse/aarch64.c: New.
4270 * gdb.reverse/aarch64.exp: New.
4272 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4274 * lib/gdb.exp (supports_process_record): Return true for
4276 (supports_reverse): Likewise.
4278 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4280 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4281 Use with_test_prefix.
4283 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4285 * gdb.base/completion.exp: Add test for completion of layout
4288 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4290 * lib/gdb.exp (skip_tui_tests): New proc.
4291 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4293 2015-05-19 Pedro Alves <palves@redhat.com>
4295 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4296 Save the whole env array instead of just HOME. Unset HISTSIZE in
4297 the environment while testing. Restore whole environment
4300 2015-05-16 Doug Evans <xdje42@gmail.com>
4302 * gdb.guile/scm-ports.c: New file.
4303 * gdb.guile/scm-ports.exp: Add memory port tests.
4305 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4307 * gdb.compile/compile-print.c: New file.
4308 * gdb.compile/compile-print.exp: New file.
4310 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4312 * gdb.compile/compile-ops.exp: Cast param to void.
4313 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4314 (compile code struct_object.selffield = &struct_object): Add xfail.
4316 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4318 * gdb.ada/arr_enum_with_gap: New testcase.
4320 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4322 * gdb.ada/byte_packed_arr: New testcase.
4324 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4326 * gdb.ada/pckd_neg: New testcase.
4328 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4331 * gdb.base/gdbinit-history.exp: New test.
4332 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4333 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4335 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4337 * gdb.python/py-xmethods.cc: Enhance test case.
4338 * gdb.python/py-xmethods.exp: New tests.
4339 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4341 (B_indexoper): Likewise.
4342 (global_dm_list) : Add new xmethod worker functions.
4344 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4346 * gdb.base/coredump-filter.exp: Correctly unset
4347 "coredump_var_addr" array.
4349 2015-05-08 Pedro Alves <palves@redhat.com>
4351 * gdb.server/non-existing-program.exp: Unset spawn_id.
4353 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4356 * gdb.python/py-xmethods.exp: Add tests.
4358 2015-05-08 Yao Qi <yao.qi@linaro.org>
4361 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4362 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4363 function set_coredump_filter, and remove remote_exec call.
4364 Remove argument ipid. Callers update.
4365 (top level): Don't get inferior's PID.
4367 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4369 * gdb.base/watch_thread_num.exp: Skip test on targets without
4372 2015-05-06 Pedro Alves <palves@redhat.com>
4375 * gdb.server/non-existing-program.exp: New file.
4377 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4379 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4381 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4383 * gdb.ada/out_of_line_in_inlined: New testcase.
4385 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4387 * gdb.ada/var_rec_arr: New testcase.
4389 2015-04-30 Yao Qi <yao.qi@linaro.org>
4391 * gdb.base/break-idempotent.exp: If
4392 skip_hw_watchpoint_multi_tests returns true, skip the tests
4393 on "rwatch" and "awatch".
4395 2015-04-30 Yao Qi <yao.qi@linaro.org>
4397 * gdb.base/relativedebug.exp: Invoke gdb command
4398 "info sharedlibrary", and if libc.so doesn't have debug info,
4401 2015-04-29 Doug Evans <dje@google.com>
4403 * gdb.python/py-xmethods.exp: Add ptype tests.
4404 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4405 get_result_type method.
4407 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4409 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4410 the target does not support hardware watchpoints.
4412 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4414 * gdb.base/break-always.exp: Abort testing if writing to memory
4417 2015-04-28 Doug Evans <dje@google.com>
4419 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4420 * gdb.python/py-pp-registration.exp: ... here. New file.
4421 * gdb.python/py-pp-registration.c: New file.
4422 * gdb.python/py-pp-registration.py: New file.
4424 2015-04-28 Doug Evans <dje@google.com>
4426 * gdb.python/py-bad-printers.c: New file.
4427 * gdb.python/py-bad-printers.py: New file.
4428 * gdb.python/py-bad-printers.exp: New file.
4430 2015-04-28 Sasha Smundak <asmundak@google.com>
4432 * gdb.python/py-type.exp: New test.
4434 2015-04-28 Andy Wingo <wingo@igalia.com>
4436 * gdb.python/py-parameter.exp:
4437 * gdb.guile/scm-parameter.exp: Escape the path that we are
4438 matching against, as it might contain characters that are special
4439 to regular expressions.
4441 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4443 * gdb.ada/rec_comp: New testcase.
4445 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4447 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4450 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4452 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4453 new tests for verilog output.
4455 2015-04-24 Yao Qi <yao.qi@linaro.org>
4457 * boards/remote-gdbserver-on-localhost.exp: New file.
4459 2015-04-23 Pedro Alves <palves@redhat.com>
4461 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4462 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4463 "end of file", remove $inferior_spawn_id from the indirect list.
4465 2015-04-23 Pedro Alves <palves@redhat.com>
4467 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4469 2015-04-23 Pedro Alves <palves@redhat.com>
4471 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4472 on $any_spawn_id instead of only on $gdb_spawn_id.
4474 2015-04-21 Pierre Muller <muller@sourceware.org>
4477 * lib/pascal.exp (gpc_compile): Add new option "class".
4478 (fpc_compile): Likewise.
4479 * gdb.pascal/case-insensitive-symbols.pas: New file.
4480 * gdb.pascal/case-insensitive-symbols.exp: New file.
4482 2015-04-20 Gary Benson <gbenson@redhat.com>
4484 * gdb.base/attach.exp: Fix three extended remote failures.
4486 2015-04-17 Gary Benson <gbenson@redhat.com>
4488 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4489 the main executable over the remote protocol.
4491 2015-04-16 Pedro Alves <palves@redhat.com>
4493 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4494 a new gdbserver if gdbserver_reconnect_p is set.
4496 2015-04-16 Pedro Alves <palves@redhat.com>
4498 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4499 is set, don't exit gdbserver.
4501 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4503 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4504 appropriate .insn, such that an older assembler can be used.
4505 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4506 the z/Architecture instruction set on 31-bit targets as well.
4508 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4510 * gdb.go/handcall.exp: Remove all logic related to the first
4511 breakpoint and rely on go_runto_main instead.
4512 * gdb.go/strings.exp: Likewise.
4513 * gdb.go/unsafe.exp: Likewise.
4514 * gdb.go/hello.exp: Likewise. Also rename the remaining
4515 breakpoint marker to "breakpoint 1".
4516 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4517 * gdb.go/strings.go: Likewise.
4518 * gdb.go/unsafe.go: Likewise.
4519 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4520 "set breakpoint 2 here" and rename the remaining breakpoint marker
4523 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4525 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4526 if itertools.imap is not present.
4527 * gdb.python/py-objfile.exp: Add parentheses.
4528 * gdb.python/py-type.exp: Same.
4529 * gdb.python/py-unwind-maint.py: Same.
4531 2015-04-15 Yao Qi <yao.qi@linaro.org>
4533 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4534 of ":$ptr_size" and set its form explicitly.
4536 2015-04-15 Pedro Alves <palves@redhat.com>
4537 Yao Qi <yao.qi@linaro.org>
4539 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4540 timeout by factor of 4.
4541 (test_regular_watch): Likewise.
4542 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4543 * gdb.reverse/sigall-reverse.exp: Likewise.
4544 * gdb.reverse/until-precsave.exp: Likewise.
4545 * lib/gdb.exp (with_timeout_factor): New proc.
4546 (gdb_expect): Move some code to ...
4547 (get_largest_timeout): ... here. New procedure.
4549 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4551 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4553 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4555 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4556 to write to the .text section.
4558 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4560 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4561 Handle the case of targets that do not provide PID information.
4563 2015-04-13 Yao Qi <yao.qi@linaro.org>
4565 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4566 and use expect instead of gdb_expect.
4568 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4570 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4571 "coredump_var_addr" to avoid naming conflict with other testcases.
4573 2015-04-10 Pedro Alves <palves@redhat.com>
4575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4576 gdb_test_sequence and gdb_assert.
4578 2015-04-10 Pedro Alves <palves@redhat.com>
4580 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4581 test messages that don't include the breakpoint address.
4583 2015-04-10 Yao Qi <yao.qi@linaro.org>
4585 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4586 false for some offset and width combinations which aren't
4587 supported by linux kernel.
4589 2015-04-10 Pedro Alves <palves@redhat.com>
4591 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4592 procedure, factored out from ...
4593 (top level): ... here. Add "set displaced-stepping" testing axis.
4594 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4595 parameter "displaced". Use it.
4596 (top level): Use foreach and add "set displaced-stepping" testing
4599 2015-04-10 Pedro Alves <palves@redhat.com>
4601 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4603 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4604 both the address of the instruction that triggers the watchpoint
4605 and the address of the instruction immediately after, and use
4606 those addresses for the test. Fix comment.
4608 2015-04-10 Pedro Alves <palves@redhat.com>
4610 * gdb.base/sigstep.exp (breakpoint_to_handler)
4611 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4612 Test "backtrace" in handler.
4613 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4614 (top level): Add new "displaced" test axis to
4615 breakpoint_to_handler, breakpoint_to_handler_entry and
4616 breakpoint_over_handler.
4618 2015-04-10 Pedro Alves <palves@redhat.com>
4621 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4623 2015-04-10 Yao Qi <yao.qi@linaro.org>
4625 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4626 (test_add_rn_pc): New function.
4627 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4628 (top level): Invoke test_add_rn_pc.
4630 2015-04-10 Pedro Alves <palves@redhat.com>
4633 * gdb.base/step-over-no-symbols.exp: New file.
4635 2015-04-09 Andy Wingo <wingo@igalia.com>
4637 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4638 after the Python tests.
4640 2015-04-08 Keith Seitz <keiths@redhat.com>
4643 * gdb.python/py-completion.exp: New tests for completion.
4644 * gdb.python/py-completion.py (CompleteLimit1): New class.
4645 (CompleteLimit2): Likewise.
4646 (CompleteLimit3): Likewise.
4647 (CompleteLimit4): Likewise.
4648 (CompleteLimit5): Likewise.
4649 (CompleteLimit6): Likewise.
4650 (CompleteLimit7): Likewise.
4652 2015-04-08 Pedro Alves <palves@redhat.com>
4656 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4658 (main): Install it as SIGUSR1 handler.
4659 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4660 parameter. Always use "setup" as prefix. Toggle "set
4661 displaced-stepping" off/on depending on global. Don't switch to
4663 (top level): Add displaced stepping "off/on" test axis. Update
4664 "setup" calls. Wrap each subtest with with_test_prefix. Test
4665 continuing with a queued signal in each thread.
4667 2015-04-08 Pedro Alves <palves@redhat.com>
4669 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4670 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4671 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4672 Return early if running to main fails.
4673 * gdb.trace/while-stepping.exp: Likewise.
4675 2015-04-07 Pedro Alves <palves@redhat.com>
4677 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4678 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4679 interact with inferior program.
4681 2015-04-07 Pedro Alves <palves@redhat.com>
4683 * lib/gdb.exp (inferior_spawn_id): New global.
4684 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4685 spawn id after processing the user code.
4686 (default_gdb_start): Set inferior_spawn_id.
4687 (send_inferior): New procedure.
4688 * lib/gdbserver-support.exp (gdbserver_start): Set
4690 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4692 2015-04-07 Pedro Alves <palves@redhat.com>
4694 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4695 * lib/gdbserver-support.exp (gdbserver_start): Make
4696 $server_spawn_id global.
4697 (gdbserver_start): Don't wait for gdbserver's spawn id with
4699 (close_gdbserver): New procedure.
4700 (gdb_exit): Rename the default version and reimplement.
4702 2015-04-07 Pedro Alves <palves@redhat.com>
4704 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4705 append the substituted item, not the original item.
4707 2015-04-07 Pedro Alves <palves@redhat.com>
4709 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4712 2015-04-07 Pedro Alves <palves@redhat.com>
4714 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4715 output appearing once only.
4717 2015-04-07 Pedro Alves <palves@redhat.com>
4719 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4720 that doesn't expect anything. Return early if running to main
4723 2015-04-07 Yao Qi <yao.qi@linaro.org>
4725 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4726 (child_function): Call alarm.
4727 (main): Move call to alarm into the loop.
4728 * gdb.threads/non-stop-fair-events.exp: Build program with
4731 2015-04-06 Doug Evans <xdje42@gmail.com>
4733 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4734 Fix dest parameter to board_info.
4735 (fpc_compile): Ditto.
4736 (gdb_compile_pascal): Rename dest arg to destfile.
4738 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4740 * gdb.ada/funcall_ref.exp: New file.
4741 * gdb.ada/funcall_ref/foo.adb: New file.
4743 2015-04-02 Yao Qi <yao.qi@linaro.org>
4745 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4748 2015-04-02 Gary Benson <gbenson@redhat.com>
4750 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4752 2015-04-01 Sasha Smundak <asmundak@google.com>
4754 * gdb.python/py-unwind-maint.c: New file.
4755 * gdb.python/py-unwind-maint.exp: New test.
4756 * gdb.python/py-unwind-maint.py: New file.
4757 * gdb.python/py-unwind.c: New file.
4758 * gdb.python/py-unwind.exp: New test.
4759 * gdb.python/py-unwind.py: New test.
4761 2015-04-01 Pedro Alves <palves@redhat.com>
4763 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4764 to fail instead of non-existent $test.
4766 2015-04-01 Pedro Alves <palves@redhat.com>
4768 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4769 GDBFLAGS if not empty.
4771 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4773 * gdb.ada/complete.exp: Remove "multi_line".
4774 * gdb.ada/info_exc.exp: Remove "multi_line".
4775 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4776 * gdb.ada/ptype_field.exp: Remove "multi_line".
4777 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4778 * gdb.ada/tagged.exp: Remove "multi_line".
4779 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4781 * gdb.btrace/delta.exp: Likewise.
4782 * gdb.btrace/exception.exp: Likewise.
4783 * gdb.btrace/function_call_history.exp: Likewise.
4784 * gdb.btrace/instruction_history.exp: Likewise.
4785 * gdb.btrace/nohist.exp: Likewise.
4786 * gdb.btrace/record_goto.exp: Likewise.
4787 * gdb.btrace/segv.exp: Likewise.
4788 * gdb.btrace/stepi.exp: Likewise.
4789 * gdb.btrace/tailcall.exp: Likewise.
4790 * gdb.btrace/unknown_functions.exp: Likewise.
4791 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4792 * lib/gdb.exp: Add the "multi_line" helper.
4794 2015-04-01 Pedro Alves <palves@redhat.com>
4796 * gdb.threads/tid-reuse.c: New file.
4797 * gdb.threads/tid-reuse.exp: New file.
4799 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4802 * gdb.base/coredump-filter.c: New file.
4803 * gdb.base/coredump-filter.exp: Likewise.
4805 2015-03-27 Petr Machata <pmachata@redhat.com>
4807 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4808 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4809 (Dwarf::assemble): Initialize them.
4810 (Dwarf::lines): New function.
4812 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4814 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4815 SYMBOL_PREFIX for x86_64-*-cygwin.
4817 2015-03-26 Andy Wingo <wingo@igalia.com>
4820 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4821 const_value but not a location.
4822 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4823 location defined in non-main CUs are visible.
4825 2015-03-26 Yao Qi <yao.qi@linaro.org>
4828 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4829 Add a line number entry for the same line.
4830 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4831 Add a line number entry for the same line.
4833 2015-03-26 Yao Qi <yao.qi@linaro.org>
4835 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4837 (func): Likewise. Add .Lfunc_1 label.
4839 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4844 2015-03-26 Yao Qi <yao.qi@linaro.org>
4846 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4847 Call gdb_compile instead to compile each .s files without debug
4850 2015-03-26 Yao Qi <yao.qi@linaro.org>
4852 * gdb.base/savedregs.exp (process_saved_regs): Make
4853 "Saved registers:" optional in the pattern.
4855 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4857 * gdb.btrace/next.exp: Merged into step.exp.
4858 * gdb.btrace/finish.exp: Merged into step.exp.
4859 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4860 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4861 "record goto" and checking the exact replay position.
4862 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4863 check for "Recording format" in "info record" output.
4864 * gdb.btrace/record_goto.exp: Choose test file based on target.
4865 * gdb.btrace/x86-record_goto.S: Renamed into ...
4866 * gdb.btrace/x86_64-record_goto.S: ... this.
4867 * gdb.btrace/i686-record_goto.S: New.
4868 * gdb.btrace/x86-tailcall.S: Renamed into ...
4869 * gdb.btrace/x86_64-tailcall.S: ... this.
4870 * gdb.btrace/i686-tailcall.S: New.
4871 * gdb.btrace/x86-tailcall.c: Renamed into ...
4872 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4873 separate statements. Update test.
4874 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4875 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4876 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4877 * gdb.btrace/tailcall.exp: Choose test file based on target.
4878 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4880 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4882 * gdb.btrace/exception.exp: Increase BTS buffer size.
4884 2015-03-24 Pedro Alves <palves@redhat.com>
4886 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4888 2015-03-24 Pedro Alves <palves@redhat.com>
4890 * gdb.threads/schedlock.exp (test_step): No longer expect that
4891 "set scheduler-locking step" with "next" over a function call runs
4894 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4896 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4898 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4900 PR breakpoints/16466
4901 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4902 * gdb.mi/mi-pending.c (thread_func): New function.
4903 (int main): Add threading support required.
4904 * gdb.mi/mi-pending.exp: Add tests for this issue.
4905 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4906 (pendfunc2): Remove stdio dependency.
4907 * gdb.mi/mi-pendshr2.c: New file.
4909 2015-03-23 Keith Seitz <keiths@redhat.com>
4911 * gdb.linespec/keywords.c: New file.
4912 * gdb.linespec/keywords.exp: New file.
4914 2015-03-23 Keith Seitz <keiths@redhat.com>
4917 * gdb.dwarf2/staticvirtual.exp: New test.
4919 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4921 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4922 * README: Remove HP-UX and gdb.hp.
4924 * configure: Regenerate.
4925 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4926 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4927 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4928 gdb.hp/gdb.defects/Makefile.
4929 * gdb.hp/Makefile.in: File deleted.
4930 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4931 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4932 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4933 * gdb.hp/gdb.aCC/run.c: File deleted.
4934 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4935 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4936 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4937 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4938 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4939 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4940 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4941 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4942 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4943 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4944 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4945 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4946 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4947 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4948 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4949 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4950 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4951 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4952 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4953 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4954 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4955 * gdb.hp/gdb.compat/average.c: File deleted.
4956 * gdb.hp/gdb.compat/sum.c: File deleted.
4957 * gdb.hp/gdb.compat/xdb.c: File deleted.
4958 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4959 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4960 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4961 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4962 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4963 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4964 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4965 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4966 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4967 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4968 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4969 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4970 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4971 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4972 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4973 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4974 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4975 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4976 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4977 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4978 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4979 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4980 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4981 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4982 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4983 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4984 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4985 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4986 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4987 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4988 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4989 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4990 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4991 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4992 * gdb.hp/tools/odump: File deleted.
4994 2015-03-19 Pedro Alves <palves@redhat.com>
4996 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4997 (saw_thread_3): New globals.
4998 (top level): Increment them when an event for the corresponding
5000 (no thread starvation): New test.
5002 2015-03-19 Pedro Alves <palves@redhat.com>
5004 * gdb.threads/continue-pending-status.c: New file.
5005 * gdb.threads/continue-pending-status.exp: New file.
5007 2015-03-18 Pedro Alves <palves@redhat.com>
5009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5010 Use gdb_is_target_remote instead of is_remote. Use
5011 gdb_test_multiple instead of gdb_expect. Exit early if
5012 gdb_test_multiple hits its internal matches. Tighten stepi tests
5013 expected output. Fail on exit with any signal, instead of just
5016 2015-03-18 Yao Qi <yao.qi@linaro.org>
5019 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5021 * gdb.base/catch-syscall.exp: Don't skip it on
5022 aarch64*-*-linux* target. Remove elements in all_syscalls.
5023 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5025 (setup_all_syscalls): New proc.
5027 2015-03-16 Yao Qi <yao.qi@linaro.org>
5029 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5030 (top level): Skip tests if valid_addr_p returns false for
5033 2015-03-11 Andy Wingo <wingo@igalia.com>
5035 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5037 2015-03-11 Yao Qi <yao.qi@linaro.org>
5039 * gdb.base/catch-syscall.exp: Fix typo in comments.
5041 2015-03-11 Yao Qi <yao.qi@linaro.org>
5043 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5045 2015-03-09 Pedro Alves <palves@redhat.com>
5047 * dg-extract-results.py: Delete.
5049 2015-03-09 Pedro Alves <palves@redhat.com>
5051 Merge dg-extract-results.sh from GCC upstream (r218843).
5053 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5054 * dg-extract-results.sh: Use --text with grep to avoid issues with
5055 binary files. Fall back to cat -v, if that doesn't work.
5057 2015-03-05 Pedro Alves <palves@redhat.com>
5059 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5061 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5063 * lib/mi-support.exp (mi_expect_interrupt): Accept
5064 alternative event for when in all-stop mode.
5066 2015-03-04 Pedro Alves <palves@redhat.com>
5068 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5070 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5072 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5074 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5076 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5077 regexps for GDB's current line display, accept a hex address
5078 preceding the line number.
5080 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5082 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5083 the 'arch1' variable for "s390*-linux*" targets.
5085 2015-03-04 Pedro Alves <palves@redhat.com>
5087 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5088 (main): Pass missing retval argument to pthread_join call.
5090 2015-03-02 Pedro Alves <palves@redhat.com>
5092 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5093 (top level): Call do_test with non-stop as well.
5095 2015-03-02 Pedro Alves <palves@redhat.com>
5097 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5100 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5102 * gdb.arch/s390-vregs.exp: New test.
5103 * gdb.arch/s390-vregs.S: New file.
5105 2015-02-27 Pedro Alves <palves@redhat.com>
5107 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5108 call to catch_command_errors.
5109 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5110 catch_command_errors.
5112 2015-02-27 Pedro Alves <palves@redhat.com>
5114 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5115 "true" for boolean result.
5116 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5119 2015-02-27 Pedro Alves <palves@redhat.com>
5121 * lib/unbuffer_output.c: New file.
5122 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5123 (main): Call gdb_unbuffer_output.
5125 2015-02-27 Yao Qi <yao.qi@linaro.org>
5127 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5130 2015-02-26 Doug Evans <dje@google.com>
5132 * gdb.cp/class2.cc (Dbase, D): New classes.
5133 (main): New local delta.
5134 * gdb.cp/class2.exp: Test printing delta.
5135 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5136 (dynbar): New global.
5137 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5139 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 * gdb.compile/compile-ifunc.c: New file.
5142 * gdb.compile/compile-ifunc.exp: New file.
5144 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5146 * gdb.base/structs.exp: Check for correct struct on finish.
5148 2015-02-26 Yao Qi <yao.qi@linaro.org>
5150 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5153 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5155 * gdb.arch/cordic.ko.bz2: New file.
5156 * gdb.arch/cordic.ko.debug.bz2: New file.
5157 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5159 2015-02-25 Yao Qi <yao.qi@linaro.org>
5161 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5162 aarch64*-*-* target.
5164 2015-02-23 Pedro Alves <palves@redhat.com>
5166 * lib/gdb.exp (delete_breakpoints): Rewrite using
5169 2015-02-23 Pedro Alves <palves@redhat.com>
5171 * gdb.base/info-os.c: Include stdlib.h.
5173 2015-02-22 Doug Evans <xdje42@gmail.com>
5176 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5177 is read after symbols have been re-read.
5178 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5179 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5181 2015-02-21 Doug Evans <dje@google.com>
5183 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5185 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5188 * gdb.arch/i386-biarch-core.core.bz2: New file.
5189 * gdb.arch/i386-biarch-core.exp: New file.
5191 2015-02-21 Pedro Alves <palves@redhat.com>
5193 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5196 2015-02-20 Pedro Alves <palves@redhat.com>
5198 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5201 2015-02-20 Pedro Alves <palves@redhat.com>
5203 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5205 2015-02-20 Pedro Alves <palves@redhat.com>
5207 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5208 clean_restart before gdb_target_supports_trace.
5210 2015-02-20 Pedro Alves <palves@redhat.com>
5213 * gdb.threads/clone-thread_db.c: New file.
5214 * gdb.threads/clone-thread_db.exp: New file.
5216 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5218 PR breakpoints/16812
5219 * gdb.base/catch-gdb-caused-signals.c: New file.
5220 * gdb.base/catch-gdb-caused-signals.exp: New file.
5222 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5224 * configure: Regenerated.
5225 * configure.ac: Use GDB_AC_TRANSFORM.
5226 * aclocal.m4: sinclude ../transform.m4.
5228 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5230 * lib/dtrace.exp: New file.
5231 * gdb.base/dtrace-probe.exp: Likewise.
5232 * gdb.base/dtrace-probe.d: Likewise.
5233 * gdb.base/dtrace-probe.c: Likewise.
5234 * lib/pdtrace.in: Likewise.
5235 * configure.ac: Output variables with the transformed names of
5236 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5237 * configure: Regenerated.
5239 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5241 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5242 expected message when trying to access $_probe_* convenience
5243 variables while not on a probe.
5245 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5247 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5249 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5251 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5252 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5254 2015-02-10 Doug Evans <xdje42@gmail.com>
5256 * lib/gdb.exp (gdb_load): Always return a result.
5258 2015-02-10 Pedro Alves <palves@redhat.com>
5260 * gdb.threads/signal-sigtrap.c: New file.
5261 * gdb.threads/signal-sigtrap.exp: New file.
5263 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5265 * gdb.trace/no-attach-trace.c: New file.
5266 * gdb.trace/no-attach-trace.exp: New file.
5268 2015-02-09 Mark Wielaard <mjw@redhat.com>
5270 * gdb.dwarf2/atomic.c: New file.
5271 * gdb.dwarf2/atomic-type.exp: Likewise.
5273 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5275 * gdb.btrace/buffer-size.exp: Update "info record" output.
5276 * gdb.btrace/delta.exp: Update "info record" output.
5277 * gdb.btrace/enable.exp: Update "info record" output.
5278 * gdb.btrace/finish.exp: Update "info record" output.
5279 * gdb.btrace/instruction_history.exp: Update "info record" output.
5280 * gdb.btrace/next.exp: Update "info record" output.
5281 * gdb.btrace/nexti.exp: Update "info record" output.
5282 * gdb.btrace/step.exp: Update "info record" output.
5283 * gdb.btrace/stepi.exp: Update "info record" output.
5284 * gdb.btrace/nohist.exp: Update "info record" output.
5286 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5288 * gdb.btrace/buffer-size: New.
5290 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5292 * gdb.btrace/delta.exp: Update "info record" output.
5293 * gdb.btrace/enable.exp: Update "info record" output.
5294 * gdb.btrace/finish.exp: Update "info record" output.
5295 * gdb.btrace/instruction_history.exp: Update "info record" output.
5296 * gdb.btrace/next.exp: Update "info record" output.
5297 * gdb.btrace/nexti.exp: Update "info record" output.
5298 * gdb.btrace/step.exp: Update "info record" output.
5299 * gdb.btrace/stepi.exp: Update "info record" output.
5300 * gdb.btrace/nohist.exp: Update "info record" output.
5302 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5305 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5307 2015-02-06 Pedro Alves <palves@redhat.com>
5309 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5311 (seconds_left, again): New globals.
5312 (main): Wait seconds_left in a 1-second sleep loop instead of
5313 sleeping 180 seconds. If 'again' is set, reset the seconds
5315 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5316 'again' in the inferior before detaching. Print the seconds left.
5317 (options): New global.
5318 (top level): Build program with -DTIMEOUT=$timeout.
5320 2015-02-06 Pedro Alves <palves@redhat.com>
5322 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5323 determine how many seconds to pass to 'alarm'.
5324 * gdb.base/gdb-sigterm.exp (top level): Build program with
5326 (do_test): Return success/failure indication. Add more verbose
5327 logging. Don't fail if 200 single steps are seen. Instead, fail
5328 when the test times out.
5329 (passes): New global.
5330 (top level): Break the testing loop if testing fails on any
5331 iteration. Use gdb_assert.
5333 2015-02-04 Don Breazeal <donb@codesourcery.com>
5335 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5336 and initialize them.
5337 (ipc_cleanup): New function.
5338 (main): Don't declare shmid, semid, and msqid. Add a call to
5339 atexit so that we call ipc_cleanup on exit.
5341 2015-02-04 Pedro Alves <palves@redhat.com>
5343 * boards/native-extended-gdbserver.exp: Remove any target variant
5344 specifications from the board name before clearing the isremote
5345 flag from board_info.
5347 2015-01-31 Doug Evans <xdje42@gmail.com>
5349 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5351 2015-01-31 Gary Benson <gbenson@redhat.com>
5353 * gdb.base/completion.exp: Disable completion limiting for
5354 existing tests. Add new tests to check completion limiting.
5355 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5357 2015-01-31 Doug Evans <xdje42@gmail.com>
5359 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5361 2015-01-31 Doug Evans <xdje42@gmail.com>
5363 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5364 entries. Duplicate file section script entries.
5365 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5366 inlined entries. Add test for safe-path rejection.
5367 * gdb.python/py-section-script.c: Add duplicate inlined section script
5368 entries. Duplicate file section script entries.
5369 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5370 inlined entries. Add test for safe-path rejection.
5372 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5374 * gdb.ada/disc_arr_bound: New testcase.
5376 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5378 * gdb.ada/mi_var_array: New testcase.
5380 2015-01-27 Doug Evans <dje@google.com>
5382 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5383 Add test for objfile.filename, objfile.username after objfile
5386 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5388 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5389 the second test to print the name attribute of value
5390 returned by the call to gdb.lookup_type, and adjust
5391 the expected output accordingly.
5393 2015-01-25 Mark Wielaard <mjw@redhat.com>
5395 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5396 * gdb.base/disp-step-fork.c: Include unistd.h.
5397 * gdb.base/siginfo-obj.c: Include stdio.h.
5398 * gdb.base/siginfo-thread.c: Likewise.
5399 * gdb.mi/non-stop.c: Include unistd.h.
5400 * gdb.mi/nsthrexec.c: Include stdio.h.
5401 * gdb.mi/pthreads.c: Include unistd.h.
5402 * gdb.modula2/unbounded1.c (main): Declare returns int.
5403 * gdb.reverse/consecutive-reverse.c: Likewise.
5404 * gdb.threads/create-fail.c: Include unistd.h.
5405 * gdb.threads/killed.c: Likewise.
5406 * gdb.threads/linux-dp.c: Likewise.
5407 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5408 * gdb.threads/non-ldr-exc-2.c: Likewise.
5409 * gdb.threads/non-ldr-exc-3.c: Likewise.
5410 * gdb.threads/non-ldr-exc-4.c: Likewise.
5411 * gdb.threads/pthreads.c: Include unistd.h.
5412 (main): Declare returns int.
5413 * gdb.threads/tls-main.c (foo): New declaration.
5414 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5416 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5418 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5419 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5421 2015-01-15 Mark Wielaard <mjw@redhat.com>
5423 * gdb.base/noreturn-return.c: New file.
5424 * gdb.base/noreturn-return.exp: New file.
5425 * gdb.base/noreturn-finish.c: New file.
5426 * gdb.base/noreturn-finish.exp: New file.
5428 2015-01-23 Pedro Alves <palves@redhat.com>
5430 * gdb.threads/continue-pending-after-query.c: New file.
5431 * gdb.threads/continue-pending-after-query.exp: New file.
5433 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5434 Simon Marchi <simon.marchi@ericsson.com>
5436 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5437 * gdb.base/valgrind-db-attach.exp: Same.
5438 * gdb.base/valgrind-infcall.exp: Same.
5439 * lib/mi-support.exp (default_mi_gdb_start): Same.
5440 * lib/prompt.exp (default_prompt_gdb_start): Same.
5441 * lib/gdb.exp (default_gdb_spawn): Same.
5442 (gdb_interact): New.
5445 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 * gdb.compile/compile.exp (pointer to jit function): New test.
5449 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5451 * lib/gdb.exp (supports_process_record): Return true for
5453 (supports_reverse): Likewise.
5455 2015-01-15 Don Breazeal <donb@codesourcery.com>
5457 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5458 instead of checking whether the target board is remote and
5459 use spawn_wait_for_attach instead of exec/sleep.
5460 * gdb.base/attach-twice.exp: Likewise.
5462 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5464 * gdb.ada/var_arr_attrs: New testcase.
5466 2015-01-14 Pedro Alves <palves@redhat.com>
5467 Joel Brobecker <brobecker@adacore.com>
5470 * gdb.base/bp-cmds-execution-x-script.c: New file.
5471 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5472 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5474 2015-01-14 Pedro Alves <palves@redhat.com>
5477 * gdb.base/batch-preserve-term-settings.c: New file.
5478 * gdb.base/batch-preserve-term-settings.exp: New file.
5480 2015-01-13 Doug Evans <dje@google.com>
5482 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5485 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5487 * Makefile.in (clean mostlyclean): Do not delete *.py.
5489 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5491 * gdb.python/py-lookup-type.exp: New file.
5493 2015-01-12 Pedro Alves <palves@redhat.com>
5495 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5496 restore GDBFLAGS before returning.
5498 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5500 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5501 is_amd64_regs_target and is_x86_like_target.
5503 2015-01-11 Doug Evans <xdje42@gmail.com>
5505 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5506 is given without an explicit form.
5507 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5509 * gdb.dwarf/corrupt.exp: Ditto.
5510 * gdb.dwarf2/enum-type.exp: Ditto.
5511 * gdb.trace/entry-values.exp: Ditto.
5512 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5514 2015-01-11 Doug Evans <xdje42@gmail.com>
5517 * gdb.base/maint.exp: Remove references to "maint demangle".
5518 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5519 Add tests for explicitly specifying language to demangle.
5520 * gdb.dlang/demangle.exp: Ditto.
5522 2015-01-09 Pedro Alves <palves@redhat.com>
5524 * gdb.threads/non-stop-fair-events.c: New file.
5525 * gdb.threads/non-stop-fair-events.exp: New file.
5527 2015-01-09 Pedro Alves <palves@redhat.com>
5529 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5530 the global scope. Set a breakpoint after all threads are started
5531 rather than stepping over two source lines. Expect the prompt.
5532 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5535 (main): Use threads_started_barrier to wait for all threads to
5536 start. Main thread no longer calls thread_function. Exit after
5538 (loop): New function.
5539 (thread_function): Wait on threads_started_barrier barrier. Call
5540 'loop' at each iteration.
5541 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5542 threads have started, instead of hardcoding number of "next"
5543 steps. Use an access watchpoint instead of a write watchpoint.
5545 2015-01-09 Pedro Alves <palves@redhat.com>
5547 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5548 (thread_func): Wait on barrier.
5549 (main): Wait for all threads to start before stopping GDB.
5550 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5552 (thread1_func, thread2_func): Wait on barrier.
5553 (main): Wait for all threads to start before stopping GDB.
5554 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5556 (thread1_func, thread2_func): Wait on barrier.
5557 (main): Wait for all threads to start before stopping GDB.
5559 2015-01-09 Pedro Alves <palves@redhat.com>
5561 * gdb.threads/attach-many-short-lived-threads.c: New file.
5562 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5564 2014-01-09 Pedro Alves <palves@redhat.com>
5566 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5567 instead of to thread 2.
5568 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5569 Add barrier around each pthread_create call instead of around all
5571 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5572 Set a break on thread_function and have the child threads hit it
5575 2015-01-09 Pedro Alves <palves@redhat.com>
5577 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5578 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5580 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5581 checking whether the target board is remote.
5582 * gdb.multi/multi-attach.exp: Likewise.
5583 * gdb.python/py-sync-interp.exp: Likewise.
5584 * gdb.server/ext-attach.exp: Likewise.
5585 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5586 tests that need to attach, instead of checking whether the target
5587 board is remote at the top of the file.
5589 2015-01-08 Yao Qi <yao@codesourcery.com>
5591 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5593 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5595 Fix testcase compilation.
5596 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5598 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5600 * gdb.python/py-type.exp: Add a couple test about empty
5601 array creation, and negative-length array creation.
5603 2015-01-02 Doug Evans <xdje42@gmail.com>
5605 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5607 2015-01-02 Doug Evans <dje@google.com>
5609 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5611 2014-12-29 Yao Qi <yao@codesourcery.com>
5613 * gdb.trace/entry-values.exp: Update comments. Rename variable
5614 bar_call_foo to returned_from_foo.
5616 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5619 * gdb.linespec/break-asm-file.c: New file.
5620 * gdb.linespec/break-asm-file.exp: New file.
5621 * gdb.linespec/break-asm-file0.s: New file.
5622 * gdb.linespec/break-asm-file1.s: New file.
5624 2014-12-18 Nigel Stephens <nigel@mips.com>
5625 Maciej W. Rozycki <macro@codesourcery.com>
5627 * gdb.base/float.exp: Handle the new output from "info float" on
5630 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5632 Fix MinGW compilation.
5633 * gdb.compile/compile-ops.exp: Update untested message if
5634 !skip_compile_feature_tests.
5635 * gdb.compile/compile-setjmp.exp: Likewise.
5636 * gdb.compile/compile-tls.exp: Likewise.
5637 * gdb.compile/compile.exp: Likewise.
5638 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5639 supported on this host".
5641 2014-12-16 Doug Evans <xdje42@gmail.com>
5643 * boards/stabs.exp: New file.
5645 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5647 * gdb.base/completion.exp: Adjust to format changes of "maint
5648 print user-registers".
5650 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5653 * gdb.arch/aarch64-fp.c: New file.
5654 * gdb.arch/aarch64-fp.exp: New file.
5656 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5658 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5659 r210637, r210913, r211666, r215400, r215817).
5661 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5662 * dg-extract-results.py: New file.
5663 * dg-extract-results.sh: Use it if the environment seems
5666 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5668 * dg-extract-results.py (parse_run): Handle warnings that
5669 are printed before a test harness is run.
5671 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5673 * dg-extract-results.py (Named): Remove __cmp__ method.
5674 (output_variation): Use a key to sort variation.harnesses.
5676 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5678 * dg-extract-results.py: For Python 3, force sys.stdout to
5679 handle surrogate escape sequences.
5680 (safe_open): New function.
5681 (output_segment, main): Use it.
5683 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5685 * dg-extract-results.py (Prog.result_re): Include options
5688 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5690 * dg-extract-results.py (output_variation): Always sort if
5693 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5695 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5696 as long as we get pagination notifications.
5698 2014-12-15 Jason Merrill <jason@redhat.com>
5700 * Makefile.in (check-gdb.%): Restore.
5701 * README: Mention it.
5703 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5705 * gdb.ada/str_uninit: New testcase.
5707 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5710 * gdb.base/vla-stub-define.c: New file.
5711 * gdb.base/vla-stub.c: New file.
5712 * gdb.base/vla-stub.exp: New file.
5714 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5715 Jan Kratochvil <jan.kratochvil@redhat.com>
5716 Tom Tromey <tromey@redhat.com>
5718 * configure.ac: Add gdb.compile/.
5719 * configure: Regenerate.
5720 * gdb.compile/Makefile.in: New file.
5721 * gdb.compile/compile-ops.exp: New file.
5722 * gdb.compile/compile-ops.c: New file.
5723 * gdb.compile/compile-tls.c: New file.
5724 * gdb.compile/compile-tls.exp: New file.
5725 * gdb.compile/compile-constvar.S: New file.
5726 * gdb.compile/compile-constvar.c: New file.
5727 * gdb.compile/compile-mod.c: New file.
5728 * gdb.compile/compile-nodebug.c: New file.
5729 * gdb.compile/compile-setjmp-mod.c: New file.
5730 * gdb.compile/compile-setjmp.c: New file.
5731 * gdb.compile/compile-setjmp.exp: New file.
5732 * gdb.compile/compile-shlib.c: New file.
5733 * gdb.compile/compile.c: New file.
5734 * gdb.compile/compile.exp: New file.
5735 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5737 2014-12-12 Tom Tromey <tromey@redhat.com>
5739 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5740 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5742 2014-12-12 Doug Evans <dje@google.com>
5744 * lib/gdb-python.exp (get_python_valueof): New function.
5745 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5747 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5749 * gdb.base/completion.exp: Add test for completion of "info
5752 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5754 * gdb.base/func-ptrs.c: New file.
5755 * gdb.base/func-ptrs.exp: New file.
5757 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5759 PR breakpoints/17012
5760 * gdb.base/dprintf-detach.c: New file.
5761 * gdb.base/dprintf-detach.exp: New file.
5763 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5765 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5766 * lib/gdb.exp (target_is_gdbserver): New procedure.
5768 2014-12-08 Doug Evans <dje@google.com>
5770 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5772 2014-12-05 Yao Qi <yao@codesourcery.com>
5774 * gdb.guile/scm-error.exp: Remove the third argument to
5775 gdb_remote_download.
5776 * gdb.guile/scm-frame-args.exp: Likewise.
5777 * gdb.guile/scm-section-script.exp: Likewise.
5779 2014-12-05 Yao Qi <yao@codesourcery.com>
5781 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5783 2014-12-04 Doug Evans <dje@google.com>
5785 * gdb.python/py-objfile.exp: Add tests for
5786 objfile.add_separate_debug_file.
5788 2014-12-04 Doug Evans <dje@google.com>
5790 * lib/gdb.exp (get_build_id): New function.
5791 (build_id_debug_filename_get): Rewrite to use it.
5792 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5794 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5796 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5797 `method(long)', not just 0x0.
5798 * gdb.cp/nsalias.exp: Align code labels to 4.
5799 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5800 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5801 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5802 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5803 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5804 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5806 2014-12-02 Doug Evans <dje@google.com>
5809 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5810 * gdb.cp/anon-ns2.cc: ... here. New file.
5811 * gdb.cp/anon-ns.exp: Update.
5813 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5815 * gdb.python/py-events.py (inferior_call_handler): New.
5816 (register_changed_handler, memory_changed_handler): New.
5817 (test_events.invoke): Register new handlers.
5818 * gdb.python/py-events.exp: Add tests for inferior call,
5819 memory_changed and register_changed events.
5821 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5823 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5824 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5825 if the linker doesn't understand this.
5827 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5829 * gdb.python/python.exp: Change expected reply to help().
5831 2014-12-01 Yao Qi <yao@codesourcery.com>
5833 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5834 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5835 * configure: Re-generated.
5837 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5839 * gdb.cp/chained-calls.cc: New file.
5840 * gdb.cp/chained-calls.exp: New file.
5841 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5843 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5845 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5846 * gdb.dwarf2/symtab-producer.exp: Same.
5847 * gdb.gdb/python-interrupts.exp: Same.
5848 * gdb.gdb/python-selftest.exp: Same.
5849 * gdb.python/py-linetable.exp: Same.
5850 * gdb.python/py-type.exp: Same.
5851 * gdb.python/py-value-cc.exp: Same.
5852 * gdb.python/py-value.exp: Same.
5854 2014-11-28 Yao Qi <yao@codesourcery.com>
5856 * gdb.base/break-probes.exp: Match library name prefixed with
5859 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5861 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5862 test expected output. Add parentheses for the call to print.
5863 Remove L suffix from integers.
5865 2014-11-26 Doug Evans <dje@google.com>
5867 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5869 2014-11-22 Yao Qi <yao@codesourcery.com>
5871 * gdb.trace/entry-values.c: Remove asms.
5872 (foo): Add foo_label.
5873 (bar): Add bar_label.
5874 * gdb.trace/entry-values.exp: Remove code computing foo's
5875 length and bar's length.
5876 (Dwarf::assemble): Invoke function_range for bar and use
5877 MACRO_AT_func for foo.
5879 2014-11-22 Yao Qi <yao@codesourcery.com>
5881 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5882 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5883 Use .Lgcc43_procstart instead of gcc43.
5885 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5887 * gdb.ada/n_arr_bound: New testcase.
5889 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5891 PR breakpoints/10737
5892 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5893 test_catch_syscall_multi_arch.
5894 (test_catch_syscall_multi_arch): New function.
5896 2014-11-20 Doug Evans <xdje42@gmail.com>
5898 * gdb.base/maint.exp: Update expected output.
5900 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5902 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5903 4-byte instruction on S390.
5905 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5907 * gdb.ada/arr_arr: New testcase.
5909 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5911 * gdb.ada/pkd_arr_elem: New Testcase.
5913 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5915 * gdb.reverse/break-precsave: Expect completion message for
5917 * gdb.reverse/consecutive-precsave.exp: Likewise.
5918 * gdb.reverse/finish-precsave.exp: Likewise.
5919 * gdb.reverse/i386-precsave.exp: Likewise.
5920 * gdb.reverse/machinestate-precsave.exp: Likewise.
5921 * gdb.reverse/sigall-precsave.exp: Likewise.
5922 * gdb.reverse/solib-precsave.exp: Likewise.
5923 * gdb.reverse/step-precsave.exp: Likewise.
5924 * gdb.reverse/until-precsave.exp: Likewise.
5925 * gdb.reverse/watch-precsave.exp: Likewise.
5927 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929 * gdb.base/bp-permanent.c: Include unistd.h.
5930 * gdb.python/py-framefilter-mi.c (main): Add return type.
5931 * gdb.python/py-framefilter.c (main): Likewise.
5932 * gdb.trace/actions-changed.c (main): Likewise.
5934 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5936 * gdb.mi/until.c: Add eye-catchers.
5937 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5940 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5942 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5943 function header variants in break1.c.
5944 * gdb.base/ena-dis-br.exp: Likewise.
5945 * gdb.base/hbreak2.exp: Likewise.
5946 * gdb.reverse/until-precsave.exp: Drop references to removed
5947 non-prototype function header variants in ur1.c.
5948 * gdb.reverse/until-reverse.exp: Likewise.
5950 2014-11-17 Petr Machata <pmachata@redhat.com>
5952 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5953 ${_cu_offset_size} bytes abbrev offset.
5955 2014-11-15 Doug Evans <xdje42@gmail.com>
5958 * gdb.base/line-symtabs.exp: New file.
5959 * gdb.base/line-symtabs.c: New file.
5960 * gdb.base/line-symtabs.h: New file.
5962 2014-11-14 Yao Qi <yao@codesourcery.com>
5964 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5965 (func): Add label func_label.
5966 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5967 Replace low_pc and high_pc with MACRO_AT_range.
5968 Replace name, low_pc and high_pc with MACRO_AT_func.
5970 2014-11-14 Yao Qi <yao@codesourcery.com>
5972 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5973 Replace name, low_pc and high_pc with MACRO_AT_func.
5975 2014-11-14 Yao Qi <yao@codesourcery.com>
5977 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5978 produce debug information.
5979 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5981 2014-11-14 Yao Qi <yao@codesourcery.com>
5983 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5984 object and get function length.
5985 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5987 (top-level): Replace gdb_compile and clean_restart with
5988 prepare_for_testing.
5989 * gdb.dwarf2/main.c (main): Add label main_label.
5991 2014-11-14 Yao Qi <yao@codesourcery.com>
5993 * lib/dwarf.exp (function_range): New procedure.
5994 (Dwarf::_handle_macro_at_func): New procedure.
5995 (Dwarf::_handle_macro_at_range): New procedure.
5996 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5998 2014-11-14 Yao Qi <yao@codesourcery.com>
6000 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6001 (_handle_attribute): New procedure.
6003 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6006 * gdb.base/call-sc.c (zed): Likewise.
6007 * gdb.base/checkpoint.c (main): Likewise.
6008 * gdb.base/dump.c (main): Likewise.
6009 * gdb.base/gcore.c (main): Likewise.
6010 * gdb.base/huge.c (main): Likewise.
6011 * gdb.base/multi-forks.c (main): Likewise.
6012 * gdb.base/pr10179-a.c (main): Likewise.
6013 * gdb.base/savedregs.c (main): Likewise.
6014 * gdb.base/sigaltstack.c (main): Likewise.
6015 * gdb.base/siginfo.c (main): Likewise.
6016 * gdb.base/structs.c (zed): Likewise.
6017 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6018 * gdb.mi/mi-syn-frame.c (main): Likewise.
6019 * gdb.mi/until.c (foo, main): Likewise.
6020 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6021 * gdb.base/solib-weak.c (foo): Declare.
6022 * gdb.base/attach-twice.c: Include stdio.h.
6023 * gdb.base/weaklib1.c: Likewise.
6024 * gdb.base/weaklib2.c: Likewise.
6025 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6026 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6028 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6029 * gdb.mi/mi-exit-code.c: Likewise.
6030 * gdb.base/break-interp-lib.c: Include string.h.
6031 * gdb.base/coremaker.c: Likewise.
6032 * gdb.base/testenv.c: Likewise.
6033 * gdb.python/py-finish-breakpoint.c: Likewise.
6034 * gdb.base/inferior-died.c: Include sys/wait.h.
6035 * gdb.base/fileio.c: Include time.h.
6036 * gdb.base/async-shell.c: Include unistd.h.
6037 * gdb.base/dprintf-non-stop.c: Likewise.
6038 * gdb.base/info-os.c: Likewise.
6039 * gdb.mi/mi-console.c: Likewise.
6040 * gdb.mi/watch-nonstop.c: Likewise.
6041 * gdb.python/py-events.c: Likewise.
6042 * gdb.base/async.c (baz): Move up before its invocation.
6043 * gdb.base/code_elim2.c (my_global_func): Likewise.
6044 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6045 * gdb.base/advance.c (func2): Likewise.
6047 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6049 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6051 * gdb.base/annota3.c: Likewise.
6052 * gdb.base/async.c: Likewise.
6053 * gdb.base/average.c: Likewise.
6054 * gdb.base/call-ar-st.c: Likewise.
6055 * gdb.base/call-rt-st.c: Likewise.
6056 * gdb.base/call-sc.c: Likewise.
6057 * gdb.base/call-strs.c: Likewise.
6058 * gdb.base/ending-run.c: Likewise.
6059 * gdb.base/execd-prog.c: Likewise.
6060 * gdb.base/exprs.c: Likewise.
6061 * gdb.base/foll-exec.c: Likewise.
6062 * gdb.base/foll-fork.c: Likewise.
6063 * gdb.base/foll-vfork.c: Likewise.
6064 * gdb.base/funcargs.c: Likewise.
6065 * gdb.base/gcore.c: Likewise.
6066 * gdb.base/jump.c: Likewise.
6067 * gdb.base/langs0.c: Likewise.
6068 * gdb.base/langs1.c: Likewise.
6069 * gdb.base/langs2.c: Likewise.
6070 * gdb.base/mips_pro.c: Likewise.
6071 * gdb.base/nodebug.c: Likewise.
6072 * gdb.base/opaque0.c: Likewise.
6073 * gdb.base/opaque1.c: Likewise.
6074 * gdb.base/recurse.c: Likewise.
6075 * gdb.base/run.c: Likewise.
6076 * gdb.base/scope0.c: Likewise.
6077 * gdb.base/scope1.c: Likewise.
6078 * gdb.base/setshow.c: Likewise.
6079 * gdb.base/setvar.c: Likewise.
6080 * gdb.base/shmain.c: Likewise.
6081 * gdb.base/shr1.c: Likewise.
6082 * gdb.base/shr2.c: Likewise.
6083 * gdb.base/sigall.c: Likewise.
6084 * gdb.base/signals.c: Likewise.
6085 * gdb.base/so-indr-cl.c: Likewise.
6086 * gdb.base/solib2.c: Likewise.
6087 * gdb.base/structs.c: Likewise.
6088 * gdb.base/sum.c: Likewise.
6089 * gdb.base/vforked-prog.c: Likewise.
6090 * gdb.base/watchpoint.c: Likewise.
6091 * gdb.reverse/shr2.c: Likewise.
6092 * gdb.reverse/until-reverse.c: Likewise.
6093 * gdb.reverse/ur1.c: Likewise.
6094 * gdb.reverse/watch-reverse.c: Likewise.
6096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6100 * gdb.base/sepdebug.exp: Drop references to removed code.
6102 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6104 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6105 variant. Preserve original line numbering.
6106 * gdb.base/list1.c: Likewise.
6108 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6110 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6112 * gdb.base/break1.c: Likewise.
6113 * gdb.base/break.exp: Drop references to removed code.
6115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6117 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6120 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6122 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6124 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6126 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6127 logic into perform_all_tests() and invoke it with and without
6128 function header prototypes.
6129 (do_function_calls): Remove conditional XFAIL for PR 5318.
6130 (rerun_and_prepare): Remove duplicate code.
6131 (perform_all_tests): New. Main logic moved here.
6133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6135 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6136 code guarded by #ifdef NO_PROTOTYPES.
6137 (t_double_many_args): Likewise.
6138 (DEF_FUNC_MANY_ARGS_1): Likewise.
6139 (DEF_FUNC_VALUES_1): Likewise.
6140 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6141 guarded by #ifdef PROTOTYPES.
6143 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6145 * gdb.mi/mi-console.c: Add eye-catcher.
6146 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6147 instead of literal line number.
6149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6151 * gdb.base/shr2.c: Add eye-catcher.
6152 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6155 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6157 * gdb.base/jump.c: Add eye-catchers.
6158 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6161 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6163 * gdb.base/execd-prog.c: Add eye-catchers.
6164 * gdb.base/foll-exec.c: Likewise.
6165 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6168 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6170 * gdb.base/ending-run.c: Add eye-catchers.
6171 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6172 literal line numbers.
6174 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6176 * gdb.base/call-rt-st.c: Add eye-catchers.
6177 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6178 literal line numbers.
6180 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6182 * gdb.base/call-ar-st.c: Add eye-catchers.
6183 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6184 literal line numbers.
6186 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6188 * gdb.base/average.c: Add eye-catchers.
6189 * gdb.base/sum.c: Likewise.
6190 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6191 regexps dynamically.
6193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6195 * gdb.base/solib1.c: Add eye-catchers.
6196 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6197 literal line numbers.
6199 2014-11-12 Pedro Alves <palves@redhat.com>
6201 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6204 2014-11-12 Pedro Alves <palves@redhat.com>
6206 * gdb.arch/i386-bp_permanent.c: New file.
6207 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6208 (srcfile): Set to i386-bp_permanent.c.
6209 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6210 that stepi does not execute the 'leave' instruction, instead of
6211 testing it does execute.
6212 * gdb.base/bp-permanent.c: New file.
6213 * gdb.base/bp-permanent.exp: New file.
6215 2014-11-10 Doug Evans <xdje42@gmail.com>
6218 * gdb.base/symtab-search-order.exp: New file.
6219 * gdb.base/symtab-search-order.c: New file.
6220 * gdb.base/symtab-search-order-1.c: New file.
6221 * gdb.base/symtab-search-order-shlib-1.c: New file.
6223 2014-11-07 Pedro Alves <palves@redhat.com>
6226 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6229 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6232 * gdb.cp/pr17494.cc: New file.
6233 * gdb.cp/pr17494.exp: New file.
6235 2014-11-02 Yao Qi <yao@codesourcery.com>
6237 * gdb.python/python.exp: Get working directory and match the
6238 output of "set extended-prompt \\w " with it.
6240 2014-10-30 Doug Evans <dje@google.com>
6242 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6244 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6247 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6249 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6250 * gdb.base/realname-expand.exp: Likewise.
6251 * gdb.linespec/macro-relative.exp: Likewise.
6253 2014-10-29 Pedro Alves <palves@redhat.com>
6256 * gdb.threads/schedlock.c (some_function): New function.
6257 (call_function): New global.
6258 (MAYBE_CALL_SOME_FUNCTION): New macro.
6259 (thread_function): Call it.
6260 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6261 and use it instead of a global counter. Adjust all callers.
6262 (get_current_thread): Use "find current thread" for test message
6263 here rather than having all callers pass down the same string.
6264 (goto_loop): New procedure, factored out from ...
6265 (my_continue): ... this.
6266 (step_ten_loops): Change parameter from test message to command to
6268 (list_count): Delete global.
6269 (check_result): New procedure, factored out from duplicate top
6271 (continue tests): Wrap in with_test_prefix.
6272 (test_step): New procedure, factored out from duplicate top level
6274 (top level): Test "step" in combination with all scheduler-locking
6275 modes. Test "next" in combination with all scheduler-locking
6276 modes, and in combination with stepping over a function call or
6278 * gdb.threads/next-bp-other-thread.c: New file.
6279 * gdb.threads/next-bp-other-thread.exp: New file.
6281 2014-10-29 Pedro Alves <palves@redhat.com>
6284 * gdb.python/python.exp: Test a multi-line command that spawns
6286 * gdb.base/multi-line-starts-subshell.exp: New file.
6288 2014-10-29 Yao Qi <yao@codesourcery.com>
6290 * gdb.base/fileio.exp: Make directories on host.
6292 2014-10-29 Yao Qi <yao@codesourcery.com>
6294 * gdb.base/fileio.c (test_write): Close the file.
6296 2014-10-28 Pedro Alves <palves@redhat.com>
6299 * gdb.base/sigstep.c (no_handler): New global.
6300 (main): If 'no_handler is true, set the signal handlers to
6302 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6303 with_sw_watch and no_handler parameters. Handle them.
6304 (top level) <stepping over handler when stopped at a breakpoint
6305 test>: Add a test axis for testing with a software watchpoint, and
6306 another for testing with the signal handler set to SIG_IGN.
6307 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6308 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6310 2014-10-28 Pedro Alves <palves@redhat.com>
6313 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6314 * gdb.base/sigstep.exp (other_handler_location): New global.
6315 (advance): Support stepping into the signal handler, and running
6316 commands while in the handler.
6317 (in_handler_map): New global.
6318 (top level): In the advance test, add combinations for getting
6319 into the handler with stepping commands, and for running commands
6320 in the handler. Add comment descripting the advancei tests.
6322 2014-10-28 Pedro Alves <palves@redhat.com>
6324 * gdb.base/sigstep.exp: Use build_executable instead of
6325 prepare_for_testing.
6326 (top level): Move code that starts GDB, runs to main and creates a
6328 (restart): ... this new procedure.
6329 (top level): Move backtrace from signal handler test to ...
6330 (validate_backtrace): ... this new procedure.
6331 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6332 with_test_prefix. Always restart GDB.
6333 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6334 with_test_prefix. Always restart GDB. No need to delete
6335 breakpoints after the test.
6336 (test_skip_handler): Remove prefix parameter.
6337 (skip_over_handler, breakpoint_to_handler)
6338 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6339 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6340 restart GDB. No need to delete breakpoints after the test.
6341 (top level): Use foreach to call the test procedures with
6344 2014-10-28 Pedro Alves <palves@redhat.com>
6346 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6347 instead of GNATS numbers.
6348 * gdb.base/sigbpt.exp: Likewise.
6349 * gdb.base/siginfo.exp: Likewise.
6350 * gdb.base/sigstep.exp: Likewise.
6352 2014-10-27 Pedro Alves <palves@redhat.com>
6354 * gdb.base/sigstep.c (dummy): New global.
6355 (main): Issue a couple writes to the new global.
6356 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6358 (skip_over_handler): Use test_skip_handler.
6359 (top level): Call skip_over_handler for stepi and nexti too.
6360 (breakpoint_over_handler): Use test_skip_handler.
6361 (top level): Call breakpoint_over_handler for stepi and nexti too.
6363 2014-10-27 Yao Qi <yao@codesourcery.com>
6365 * gdb.trace/tfile.c (adjust_function_address)
6366 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6367 function descriptor.
6369 2014-10-24 Don Breazeal <donb@codesourcery.com>
6371 * gdb.base/foll-fork.exp (test_follow_fork,
6372 catch_fork_child_follow): Check for updated fork messages emitted
6374 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6375 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6376 vfork_and_exec_child_follow_through_step): Check for updated vfork
6377 messages emitted from infrun.c.
6379 2014-10-24 Pedro Alves <palves@redhat.com>
6381 * gdb.base/corefile.exp: Remove references to ultrix.
6382 * gdb.base/interrupt.exp: Likewise.
6383 * gdb.base/whatis.exp: Likewise.
6384 * gdb.gdb/selftest.exp: Likewise.
6385 * gdb.threads/manythreads.exp: Likewise.
6386 * gdb.threads/print-threads.exp: Likewise.
6387 * gdb.threads/pthreads.exp:: Likewise.
6388 * gdb.threads/schedlock.exp: Likewise.
6390 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6392 * gdb.cp/non-trivial-retval.cc: Add a test case.
6393 * gdb.cp/non-trivial-retval.exp: Add a test.
6395 2014-10-20 Yao Qi <yao@codesourcery.com>
6397 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6398 * gdb.python/py-objfile-script-gdb.py: New file.
6399 * gdb.python/py-objfile-script.exp: Update reference to
6400 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6401 of remote_download. Remove the dest file.
6403 2014-10-20 Yao Qi <yao@codesourcery.com>
6405 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6406 * gdb.base/step-line.exp: Likewise.
6407 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6408 * gdb.dwarf2/dw2-basic.exp: Likewise.
6409 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6410 * gdb.dwarf2/dw2-filename.exp: Likewise.
6411 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6412 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6413 * gdb.dwarf2/dw2-producer.exp: Likewise.
6414 * gdb.dwarf2/mac-fileno.exp: Likewise.
6415 * gdb.python/py-frame-args.exp: Likewise.
6416 * gdb.python/py-framefilter.exp: Likewise.
6417 * gdb.python/py-mi.exp: Likewise.
6418 * gdb.python/py-objfile-script.exp: Likewise
6419 * gdb.python/py-pp-integral.exp: Likewise.
6420 * gdb.python/py-pp-re-notag.exp: Likewise.
6421 * gdb.python/py-prettyprint.exp: Likewise.
6422 * gdb.python/py-section-script.exp: Likewise.
6423 * gdb.python/py-typeprint.exp: Likewise.
6424 * gdb.python/py-xmethods.exp: Likewise.
6425 * gdb.stabs/weird.exp: Likewise.
6426 * gdb.xml/tdesc-regs.exp: Likewise.
6428 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6430 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6431 (out_cu): Use addr_len for the size of addresses.
6432 (out_line): Likewise. Size DW_LNE_set_address instruction
6433 according to addr_len.
6434 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6435 (FUNC): Add START_INSNS to definition.
6437 2014-10-18 Yao Qi <yao@codesourcery.com>
6439 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6440 gdb_has_argv0 return true.
6441 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6442 check [target_info exists noargs], check [gdb_has_argv0]
6444 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6445 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6448 2014-10-17 Doug Evans <dje@google.com>
6450 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6452 * gdb.python/py-events.py: Add clear_objfiles event.
6454 2014-10-17 Doug Evans <dje@google.com>
6456 * gdb.python/py-objfile.exp: Test progspace attribute.
6458 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6460 * gdb.guile/scm-breakpoint.exp: Do not assume any
6461 directory separators when matching source file paths.
6462 * gdb.python/py-breakpoint.exp: Likewise.
6463 * gdb.reverse/break-precsave.exp: Likewise.
6464 * gdb.reverse/break-reverse.exp: Likewise.
6465 * gdb.reverse/consecutive-precsave.exp: Likewise.
6466 * gdb.reverse/finish-precsave.exp: Likewise.
6467 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6468 * gdb.reverse/finish-reverse.exp: Likewise.
6469 * gdb.reverse/i386-precsave.exp: Likewise.
6470 * gdb.reverse/i387-env-reverse.exp: Likewise.
6471 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6472 * gdb.reverse/machinestate-precsave.exp: Likewise.
6473 * gdb.reverse/machinestate.exp: Likewise.
6474 * gdb.reverse/sigall-precsave.exp: Likewise.
6475 * gdb.reverse/solib-precsave.exp: Likewise.
6476 * gdb.reverse/step-precsave.exp: Likewise.
6477 * gdb.reverse/until-precsave.exp: Likewise.
6478 * gdb.reverse/watch-precsave.exp: Likewise.
6479 * gdb.reverse/watch-reverse.exp: Likewise.
6481 2014-10-17 Yao Qi <yao@codesourcery.com>
6483 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6484 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6486 2014-10-17 Pedro Alves <palves@redhat.com>
6489 * gdb.base/bg-execution-repeat.c: New file.
6490 * gdb.base/bg-execution-repeat.exp: New file.
6492 2014-10-17 Pedro Alves <palves@redhat.com>
6495 * gdb.base/continue-all-already-running.c: New file.
6496 * gdb.base/continue-all-already-running.exp: New file.
6498 2014-10-17 Pedro Alves <palves@redhat.com>
6501 * gdb.base/annota-input-while-running.c: New file.
6502 * gdb.base/annota-input-while-running.exp: New file.
6504 2014-10-17 Pedro Alves <palves@redhat.com>
6506 * gdb.base/callfuncs.exp: emove references to osf.
6507 * gdb.base/sigall.exp: Likewise.
6508 * gdb.gdb/selftest.exp: Likewise.
6509 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6510 * gdb.mi/non-stop.c: Likewise.
6511 * gdb.mi/pthreads.c: Likewise.
6512 * gdb.reverse/sigall-precsave.exp: Likewise.
6513 * gdb.reverse/sigall-reverse.exp: Likewise.
6514 * gdb.threads/pthreads.c: Likewise.
6515 * gdb.threads/pthreads.exp: Likewise.
6517 2014-10-17 Yao Qi <yao@codesourcery.com>
6519 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6520 check 'target_info exists noargs'.
6521 (test_command_prompt_position): Likewise.
6522 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6524 (progvar_simple_while_test): Likewise.
6525 (progvar_complex_if_while_test): Likewise.
6526 (if_while_breakpoint_command_test): Likewise.
6527 (infrun_breakpoint_command_test): Likewise.
6528 (breakpoint_command_test): Likewise.
6529 (watchpoint_command_test): Likewise.
6530 (bp_deleted_in_command_test): Likewise.
6531 (temporary_breakpoint_commands): Likewise.
6533 2014-10-16 Yao Qi <yao@codesourcery.com>
6535 * gdb.base/remotetimeout.exp: Remove noargs checking.
6537 2014-10-15 Pedro Alves <palves@redhat.com>
6540 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6541 * gdb.base/breakpoint-in-ro-region.exp
6542 (probe_target_hardware_step): New procedure.
6543 (top level): Probe hardware stepping and hardware breakpoint
6544 support. Test stepping through a read-only region, with both
6545 "breakpoint auto-hw" on and off and both "always-inserted" on and
6548 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6550 * gdb.dlang/demangle.exp: Update for demangling changes.
6552 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6554 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6555 * gdb.cp/non-trivial-retval.exp: Add new tests.
6557 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6561 * gdb.cp/non-trivial-retval.cc: New file.
6562 * gdb.cp/non-trivial-retval.exp: New file.
6564 2014-10-15 Yao Qi <yao@codesourcery.com>
6566 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6569 2014-10-15 Yao Qi <yao@codesourcery.com>
6571 * gdb.python/py-symbol.exp: Match file base name if host is
6572 remote, otherwise match file name with dir name.
6573 * gdb.python/py-symtab.exp: Likewise.
6574 * gdb.python/python.exp: Likewise.
6576 2014-10-15 Yao Qi <yao@codesourcery.com>
6578 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6580 * gdb.python/py-symtab.exp: Likewise.
6581 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6584 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6586 * gdb.ada/addr_arith: New testcase.
6588 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6590 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6591 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6592 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6593 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6595 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6597 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6598 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6599 * gdb.arch/stap-eval-lang-ada.exp: New file.
6601 2014-10-14 Yao Qi <yao@codesourcery.com>
6603 * gdb.mi/mi-var-child.c (nothing1): New function.
6604 (nothing2): New function.
6605 (do_children_tests): Set function pointers by nothing1 and
6607 * gdb.mi/mi-var-child.exp: Step over new added statements.
6608 Update test to match the new output.
6609 * gdb.mi/var-cmd.c (nothing1): New function.
6610 (nothing2): New function.
6611 (do_children_tests): Set function pointers by nothing1 and
6613 * gdb.mi/mi-var-display.exp: Update test to match output.
6614 Step to the line specified by $line_dct_nothing.
6615 Increase the number of lines to step.
6617 2014-10-14 Yao Qi <yao@codesourcery.com>
6619 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6621 * gdb.mi/mi2-var-child.exp: Likewise.
6623 2014-10-13 Doug Evans <dje@google.com>
6625 * gdb.python/py-objfile.exp: Change name of file name test.
6627 2014-10-13 Doug Evans <dje@google.com>
6629 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6630 from the start of the CU.
6632 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6633 Yao Qi <yao@codesourcery.com>
6635 Fix "save breakpoints" for "catch" command.
6636 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6637 Remove -nonewline. Match also the added "main" line.
6639 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6641 Fix "save breakpoints" for "disable $bpnum" command.
6642 * gdb.base/save-bp.c (main): Add label.
6643 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6645 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6647 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6649 2014-10-11 Yao Qi <yao@codesourcery.com>
6651 * gdb.server/server-kill.exp: Execute command
6652 "set remote trace-status-packet on" before "tstatus".
6654 2014-10-11 Yao Qi <yao@codesourcery.com>
6656 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6657 (main): Call getppid.
6658 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6659 and continue to it. Read variable "server_pid".
6661 2014-10-11 Yao Qi <yao@codesourcery.com>
6663 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6665 2014-10-11 Yao Qi <yao@codesourcery.com>
6667 * gdb.threads/thread-find.exp: Don't execute command
6669 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6670 * gdb.threads/linux-dp.exp: Don't check the condition
6671 $threads_created equals to zero.
6673 2014-10-10 Pedro Alves <palves@redhat.com>
6675 * gdb.base/bigcore.exp: Remove references to IRIX.
6676 * gdb.base/funcargs.exp: Likewise.
6677 * gdb.base/interrupt.exp: Likewise.
6678 * gdb.base/mips_pro.exp: Likewise.
6679 * gdb.base/nodebug.exp: Likewise.
6680 * gdb.base/setvar.exp: Likewise.
6681 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6683 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6684 Pedro Alves <palves@redhat.com>
6687 * gdb.base/vdso-warning.c: New file.
6688 * gdb.base/vdso-warning.exp: New file.
6690 2014-10-02 Doug Evans <dje@google.com>
6692 * gdb.base/structs.c (main): Don't run forever.
6694 2014-10-02 Pedro Alves <palves@redhat.com>
6696 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6697 (top level) <stop threads 1, stop threads 2>: Use it.
6699 2014-10-02 Pedro Alves <palves@redhat.com>
6701 * gdb.threads/break-while-running.exp (test): Add new
6702 'update_thread_list' argument. Skip "info threads" if false.
6703 (top level): Add new 'update_thread_list' axis.
6705 2014-10-02 Pedro Alves <palves@redhat.com>
6707 PR breakpoints/17431
6708 * gdb.base/execl-update-breakpoints.c: New file.
6709 * gdb.base/execl-update-breakpoints.exp: New file.
6711 2014-10-01 Pedro Alves <palves@redhat.com>
6713 * gdb.base/breakpoint-in-ro-region.c: New file.
6714 * gdb.base/breakpoint-in-ro-region.exp: New file.
6716 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6718 * gdb.mi/mi-exit-code.exp: New file.
6719 * gdb.mi/mi-exit-code.c: New file.
6721 2014-09-30 Yao Qi <yao@codesourcery.com>
6723 * lib/prelink-support.exp (build_executable_own_libs): Error if
6724 the target isn't native.
6726 2014-09-30 Yao Qi <yao@codesourcery.com>
6728 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6731 2014-09-22 Pedro Alves <palves@redhat.com>
6733 * gdb.threads/break-while-running.exp: New file.
6734 * gdb.threads/break-while-running.c: New file.
6736 2014-09-19 Yao Qi <yao@codesourcery.com>
6738 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6739 Invoke test. Restart GDB with --readnow and invoke test again.
6741 2014-09-19 Yao Qi <yao@codesourcery.com>
6743 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6744 proc set_breakpoint_on_gcd_function. Invoke
6745 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6746 invoke set_breakpoint_on_gcd_function again.
6748 2014-09-18 Doug Evans <dje@google.com>
6750 * gdb.dwarf2/symtab-producer.exp: New file.
6752 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6754 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6755 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6756 * gdb.base/global-var-nested-by-dso.c: Likewise.
6757 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6759 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6760 Pedro Alves <palves@redhat.com>
6762 * gdb.base/watch-bitfields.exp: Pass string other than test file
6763 name to prepare_for_testing.
6764 (watch): New procedure.
6765 (expect_watchpoint): Use with_test_prefix.
6766 (top level): Factor out tests to ...
6767 (test_watch_location, test_regular_watch): ... these new
6768 procedures, and use with_test_prefix and gdb_continue_to_end.
6770 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6772 PR breakpoints/12526
6773 * gdb.base/watch-bitfields.exp: New file.
6774 * gdb.base/watch-bitfields.c: New file.
6776 2014-09-16 Pedro Alves <palves@redhat.com>
6778 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6779 software and hardware addresses, not software address against
6782 2014-09-16 Pedro Alves <palves@redhat.com>
6784 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6785 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6787 2014-09-16 Pedro Alves <palves@redhat.com>
6789 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6791 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6792 "*-*-vxworks*" throughout.
6793 * gdb.base/break.exp: Likewise.
6794 * gdb.base/default.exp: Likewise.
6795 * gdb.base/scope.exp: Likewise.
6796 * gdb.base/sepdebug.exp: Likewise.
6797 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6799 * gdb.base/run.c: Likewise.
6800 * gdb.base/sepdebug.c: Likewise.
6801 * gdb.hp/gdb.aCC/run.c: Likewise.
6802 * gdb.reverse/until-reverse.c: Likewise.
6803 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6805 2014-09-16 Yao Qi <yao@codesourcery.com>
6807 * boards/local-remote-host-native.exp: New file.
6809 2014-09-14 Doug Evans <xdje42@gmail.com>
6811 * gdb.threads/queue-signal.c (thread_count): New variable.
6812 (thread_count_mutex, thread_count_condvar): New variables.
6813 (incr_thread_count, wait_all_threads_running): New functions.
6814 (main): Wait for all threads to be in their thread functions.
6816 2014-09-13 Doug Evans <xdje42@gmail.com>
6818 * gdb.threads/queue-signal.c: New file.
6819 * gdb.threads/queue-signal.exp: New file.
6821 2014-09-13 Doug Evans <xdje42@gmail.com>
6823 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6824 be consistent with what default_gdb_init uses.
6825 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6826 the plain text of the prompt. Add some logging printfs.
6827 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6829 2014-09-12 Pedro Alves <palves@redhat.com>
6831 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6832 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6833 * gdb.arch/i386-size-overlap.exp: Likewise.
6834 * gdb.arch/i386-size.exp: Likewise.
6835 * gdb.arch/i386-unwind.exp: Likewise.
6836 * gdb.base/a2-run.exp: Likewise.
6837 * gdb.base/break.exp: Likewise.
6838 * gdb.base/charset.exp: Likewise.
6839 * gdb.base/chng-syms.exp: Likewise.
6840 * gdb.base/commands.exp: Likewise.
6841 * gdb.base/dbx.exp: Likewise.
6842 * gdb.base/find.exp: Likewise.
6843 * gdb.base/funcargs.exp: Likewise.
6844 * gdb.base/jit-simple.exp: Likewise.
6845 * gdb.base/reread.exp: Likewise.
6846 * gdb.base/sepdebug.exp: Likewise.
6847 * gdb.base/step-bt.exp: Likewise.
6848 * gdb.cp/mb-inline.exp: Likewise.
6849 * gdb.cp/mb-templates.exp: Likewise.
6850 * gdb.objc/basicclass.exp: Likewise.
6851 * gdb.threads/killed.exp: Likewise.
6853 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6856 * gdb.arch/powerpc-stackless.S: New file.
6857 * gdb.arch/powerpc-stackless.exp: New file.
6859 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6861 * gdb.base/attach.c: Include unistd.h.
6862 (main): Call alarm. Add label postloop.
6863 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6864 gdb_breakpoint, gdb_continue_to_breakpoint.
6865 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6867 2014-09-11 Pedro Alves <palves@redhat.com>
6870 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6871 * gdb.base/attach.exp (test_command_line_attach_run): New
6873 (top level): Call it.
6875 2014-09-11 Pedro Alves <palves@redhat.com>
6877 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6878 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6879 (do_command_attach_tests): Use spawn_wait_for_attach.
6880 * gdb.base/solib-overlap.exp: Likewise.
6881 * gdb.multi/multi-attach.exp: Likewise.
6882 * gdb.python/py-prompt.exp: Likewise.
6883 * gdb.python/py-sync-interp.exp: Likewise.
6884 * gdb.server/ext-attach.exp: Likewise.
6886 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6888 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6889 command in testcase. Simplify testcase.
6891 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6893 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6895 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6897 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6899 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6901 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6903 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6905 * gdb.dwarf2/dynarr-ptr.c: New file.
6906 * gdb.dwarf2/dynarr-ptr.exp: New file.
6908 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6910 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6911 of 30 rather than hardcoding 120 for a slow test case. Take the
6912 `gdb,timeout' target setting into account for this calculation.
6913 Don't extend the timeout for the test cases that don't need it.
6915 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6917 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6918 a factor of 2 for a slow test case. Take the `gdb,timeout'
6919 target setting into account for this calculation.
6920 * gdb.reverse/until-precsave.exp: Increase the timeout by
6921 a factor of 15 and 3 respectively rather than adding 120
6922 for a pair of slow test cases. Take the `gdb,timeout'
6923 target setting into account for this calculation.
6925 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6927 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6928 timeout, don't pass one down to gdb_expect.
6929 (gdb_expect): Rework timeout selection.
6931 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6933 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6934 exception on timeout.
6935 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6936 (gdbserver_start_extended): Catch any `gdbserver_start' error
6938 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6939 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6940 `gdbserver_gdb_load' error exceptions.
6942 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6944 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6945 120 on waiting for the TCP socket to open.
6947 2014-09-09 Doug Evans <xdje42@gmail.com>
6949 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6950 _caller_matches, _any_caller_is, _any_caller_matches.
6952 2014-09-09 Doug Evans <xdje42@gmail.com>
6954 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6956 2014-09-09 Yao Qi <yao@codesourcery.com>
6958 * gdb.mi/mi-var-display.exp: Set print symbol off.
6960 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6963 * gdb.base/commands.exp: Add tests to verify user-defined
6964 commands with empty bodies.
6965 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6966 python commands in `show user command`.
6967 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6968 scheme commands in `show user command`.
6970 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6973 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6974 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6975 * gdb.python/py-framefilter-invalidarg.exp: New file.
6976 * gdb.python/py-framefilter-invalidarg.py: New file.
6978 2014-09-06 Doug Evans <xdje42@gmail.com>
6981 * gdb.python/py-caller-is.c: New file.
6982 * gdb.python/py-caller-is.exp: New file.
6984 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6987 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6988 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6990 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6993 * gdb.fortran/print-formatted.exp: New file.
6994 * gdb.fortran/print-formatted.f90: Likewise.
6996 2014-09-03 Sasha Smundak <asmundak@google.com>
6998 * gdb.python/py-frame.exp: Test Frame.read_register.
7000 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7003 * gdb.python/py-completion.exp: New file.
7004 * gdb.python/py-completion.py: Likewise.
7006 2014-08-28 Doug Evans <dje@google.com>
7008 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7009 eax,etc. are live with values set by gdb and thus the compiler can't
7011 * gdb.arch/i386-pseudo.c (main): Ditto.
7013 2014-08-27 Doug Evans <dje@google.com>
7015 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7017 2014-08-25 Doug Evans <dje@google.com>
7019 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7022 2014-08-25 Doug Evans <dje@google.com>
7024 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7026 2014-08-24 Yao Qi <yao@codesourcery.com>
7028 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7030 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7032 2014-08-22 Doug Evans <dje@google.com>
7035 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7036 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7037 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7039 2014-08-22 Yao Qi <yao@codesourcery.com>
7041 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7042 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7043 * gdb.python/python.exp: Likewise. Use .py file on the host
7044 instead of the build.
7046 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7048 * gdb.threads/gcore-stale-thread.c: New file.
7049 * gdb.threads/gcore-stale-thread.exp: New file.
7051 2014-08-21 Pedro Alves <palves@redhat.com>
7053 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7054 * gdb.base/gcore-relro-pie.exp: Likewise.
7055 * gdb.base/gcore-relro.exp: Likewise.
7056 * gdb.base/gcore.exp: Likewise.
7057 * gdb.base/print-symbol-loading.exp: Likewise.
7058 * gdb.threads/gcore-thread.exp: Likewise.
7059 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7061 2014-08-20 Pedro Alves <palves@redhat.com>
7062 Jan Kratochvil <jan.kratochvil@redhat.com>
7064 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7066 (EXPECT): Handle READ1 being set.
7067 (all): Depend on EXTRA_RULES.
7068 (check-read1, expect-read1, read1.so, read1): New rules.
7069 * README (Testsuite Parameters): Document the READ1 make variable.
7070 (Race detection): New section.
7071 * configure: Regenerate.
7072 * configure.ac: If build==host==target, and running under a
7073 GNU/glibc system, add read1 to the extra Makefile rules.
7074 (EXTRA_RULES): AC_SUBST it.
7075 * lib/read1.c: New file.
7077 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7079 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7080 the handling of variables declared as a typedef to an array
7081 which a DW_AT_data_location attribute.
7083 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7084 Pedro Alves <palves@redhat.com>
7088 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7091 2014-08-19 Pedro Alves <palves@redhat.com>
7093 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7095 2014-08-19 Yao Qi <yao@codesourcery.com>
7097 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7100 2014-08-18 David Blaikie <dblaikie@gmail.com>
7102 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7104 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7106 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7107 attribute in array range.
7109 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7111 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7113 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7116 * gdb.cp/pr17132.cc: New file.
7117 * gdb.cp/pr17132.exp: New file.
7119 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7121 * gdb.python/py-xmethods.py (A_getarrayind)
7122 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7123 Use 'print' with function call syntax.
7124 (E_method_matcher.match): Fix tab vs space indentation mixup.
7126 2014-08-15 Yao Qi <yao@codesourcery.com>
7128 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7131 2014-08-15 Yao Qi <yao@codesourcery.com>
7133 * gdb.cp/casts.exp: Set print symbol off.
7134 * gdb.cp/class2.exp: Likewise.
7135 * gdb.cp/overload.exp: Likewise.
7136 * gdb.cp/templates.exp: Likewise.
7138 2014-08-11 Doug Evans <dje@google.com>
7140 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7141 (test_load_shlib): Update.
7143 2014-08-09 Yao Qi <yao@codesourcery.com>
7145 * gdb.base/display.exp: Invoke is_address_zero_readable.
7146 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7147 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7148 * gdb.base/hbreak-unmapped.exp: Return if
7149 is_address_zero_readable returns true.
7150 * gdb.base/signest.exp: Likewise.
7151 * gdb.base/signull.exp: Likewise.
7152 * gdb.base/sigbpt.exp: Likewise.
7153 * gdb.guile/scm-disasm.exp: Do the test if
7154 is_address_zero_readable returns false.
7155 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7156 * gdb.python/py-arch.exp: Likewise.
7157 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7158 * lib/gdb.exp (is_address_zero_readable): New proc.
7160 2014-08-09 Yao Qi <yao@codesourcery.com>
7163 * gdb.mi/mi-var-display.exp: Make test messages unique.
7165 2014-08-04 Tom Tromey <tromey@redhat.com>
7167 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7170 2014-08-04 Tom Tromey <tromey@redhat.com>
7172 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7175 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7177 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7178 inner_vla_struct_object_size.
7179 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7182 2014-07-30 Pedro Alves <palves@redhat.com>
7184 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7187 2014-07-29 Yao Qi <yao@codesourcery.com>
7190 * gdb.base/until-nodebug.exp: New.
7192 2014-07-28 Doug Evans <xdje42@gmail.com>
7195 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7196 previously existing parameter, and previously ambiguously spelled
7199 2014-07-28 Will Newton <will.newton@linaro.org>
7201 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7203 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7204 Doug Evans <xdje42@gmail.com>
7207 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7209 2014-07-25 Pedro Alves <palves@redhat.com>
7211 * gdb.threads/signal-command-handle-nopass.c: New file.
7212 * gdb.threads/signal-command-handle-nopass.exp: New file.
7213 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7214 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7215 * gdb.threads/signal-delivered-right-thread.c: New file.
7216 * gdb.threads/signal-delivered-right-thread.exp: New file.
7218 2014-07-25 Pedro Alves <palves@redhat.com>
7220 * gdb.base/double-prompt-target-event-error.exp
7221 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7223 (cancel_pagination_in_target_event): Rework double prompt
7225 * gdb.base/paginate-after-ctrl-c-running.exp
7226 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7228 * gdb.base/paginate-bg-execution.exp
7229 (test_bg_execution_pagination_return)
7230 (test_bg_execution_pagination_cancel): Remove '-notransfer
7232 * gdb.base/paginate-execution-startup.exp
7233 (test_fg_execution_pagination_return)
7234 (test_fg_execution_pagination_cancel): Remove '-notransfer
7236 * gdb.base/paginate-inferior-exit.exp
7237 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7239 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7240 * lib/gdb.exp (pagination_prompt): Run text through
7242 (gdb_test_multiple): Match $pagination_prompt instead of
7244 (string_to_regexp): Move to lib/gdb-utils.exp.
7246 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7248 * gdb.arch/amd64-entry-value-paramref.S: New file.
7249 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7250 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7251 * gdb.arch/amd64-optimout-repeat.S: New file.
7252 * gdb.arch/amd64-optimout-repeat.c: New file.
7253 * gdb.arch/amd64-optimout-repeat.exp: New file.
7255 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7258 * gdb.base/statistics.exp: New file.
7260 2014-07-17 Doug Evans <dje@google.com>
7263 * gdb.base/maint.exp: Update testing of per-command stats.
7265 2014-07-16 Pedro Alves <palves@redhat.com>
7267 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7268 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7269 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7270 (tfile_write_buf): New functions.
7271 (add_memory_block): Rewrite using the above.
7272 (adjust_function_address): New function.
7273 (FUNCTION_ADDRESS): New macro.
7274 (write_basic_trace_file): Remove short_x local, and use
7275 tfile_write_16. Change type of func_addr local to unsigned long
7276 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7277 here. Cast argument of add_memory_block to char pointer.
7278 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7279 (main): Remove parameters.
7280 * gdb.trace/tfile.exp: Remove nowarnings.
7282 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7284 * gdb.base/debug-expr.exp: Test string evaluation with
7285 "debug expression" on.
7287 2014-07-15 Pedro Alves <palves@redhat.com>
7289 * gdb.base/reread.exp: Use clean_restart.
7291 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7293 * gdb.arch/avr-flash-qualifer.c: New.
7294 * gdb.arch/avr-flash-qualifer.exp: New.
7296 2014-07-14 Pedro Alves <palves@redhat.com>
7298 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7299 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7301 2014-07-14 Pedro Alves <palves@redhat.com>
7303 * gdb.base/double-prompt-target-event-error.c: New file.
7304 * gdb.base/double-prompt-target-event-error.exp: New file.
7306 2014-07-14 Pedro Alves <palves@redhat.com>
7309 * gdb.base/paginate-inferior-exit.c: New file.
7310 * gdb.base/paginate-inferior-exit.exp: New file.
7312 2014-07-14 Pedro Alves <palves@redhat.com>
7315 * gdb.base/paginate-bg-execution.c: New file.
7316 * gdb.base/paginate-bg-execution.exp: New file.
7318 2014-07-14 Pedro Alves <palves@redhat.com>
7321 * gdb.base/paginate-execution-startup.c: New file.
7322 * gdb.base/paginate-execution-startup.exp: New file.
7323 * lib/gdb.exp (pagination_prompt): New global.
7324 (default_gdb_spawn): New procedure, factored out from
7326 (default_gdb_start): Adjust to call default_gdb_spawn.
7327 (gdb_spawn): New procedure.
7329 2014-07-14 Pedro Alves <palves@redhat.com>
7331 * lib/gdb.exp (gdb_assert): New procedure.
7332 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7334 2014-07-14 Pedro Alves <palves@redhat.com>
7336 * gdb.base/execution-termios.c: New file.
7337 * gdb.base/execution-termios.exp: New file.
7339 2014-07-14 Tom Tromey <tromey@redhat.com>
7341 * gdb.cp/vla-cxx.cc: New file.
7342 * gdb.cp/vla-cxx.exp: New file.
7344 2014-07-14 Tom Tromey <tromey@redhat.com>
7346 * gdb.reverse/rerun-prec.c: New file.
7347 * gdb.reverse/rerun-prec.exp: New file.
7349 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7350 Maciej W. Rozycki <macro@codesourcery.com>
7352 * lib/gdb-utils.exp: New file.
7353 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7354 inline `gdb_init_command' processing.
7355 (gdb_start_cmd): Likewise.
7356 * lib/mi-support.exp (mi_run_cmd): Likewise.
7357 * README: Document `gdb_init_command' and `gdb_init_commands'.
7359 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7361 Fix false FAIL running under a very long directory name.
7362 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7363 and "set print elements 10000". Twice.
7365 2014-07-11 Yao Qi <yao@codesourcery.com>
7367 * gdb.base/exprs.exp: "set print symbol off".
7369 2014-07-11 Pedro Alves <palves@redhat.com>
7371 * gdb.threads/kill.c: New file.
7372 * gdb.threads/kill.exp: New file.
7374 2014-07-10 Yao Qi <yao@codesourcery.com>
7376 * gdb.trace/tfile.c (write_basic_trace_file)
7377 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7378 address written to trace file.
7380 2014-07-09 Pedro Alves <palves@redhat.com>
7382 * gdb.base/attach-wait-input.exp: New file.
7383 * gdb.base/attach-wait-input.c: New file.
7385 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7387 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7388 setting up test structures.
7389 (main): Call new test function.
7390 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7391 test function, continue into test function and walk test
7394 2014-07-02 Yao Qi <yao@codesourcery.com>
7396 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7397 'bar_start' at the beginning of functions 'foo' and 'bar'
7399 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7400 instead of 'foo' and 'bar'.
7402 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7404 * gdb.btrace/segv.exp: New.
7405 * gdb.btrace/segv.c: New.
7407 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7409 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7412 2014-06-30 Mark Wielaard <mjw@redhat.com>
7414 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7415 vulture, vilify, villar): New volatile array constants.
7416 (vindictive, vegetation): New const volatile array constants.
7417 * gdb.base/volatile.exp: Test volatile and const volatile array
7420 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7422 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7423 target lacks support for awatch, rwatch, or hbreak.
7425 2014-06-27 Yao Qi <yao@codesourcery.com>
7427 * gdb.multi/dummy-frame-restore.exp: New.
7428 * gdb.multi/dummy-frame-restore.c: New.
7430 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7432 * gdb.btrace/gcore.exp: New.
7434 2014-06-23 Pedro Alves <palves@redhat.com>
7436 * gdb.base/watchpoint-reuse-slot.c: New file.
7437 * gdb.base/watchpoint-reuse-slot.exp: New file.
7439 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7441 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7442 progspace's filename in 'info', 'enable' and 'disable' command
7445 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7447 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7448 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7449 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7451 2014-06-20 Gary Benson <gbenson@redhat.com>
7453 * gdb.arch/i386-avx.exp: Fix include file location.
7454 * gdb.arch/i386-sse.exp: Likewise.
7456 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7458 * gdb.dlang/expression.exp: New file.
7460 2014-06-19 Pedro Alves <palves@redhat.com>
7462 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7464 (top level): ... here. Iterate running tests under different
7465 scheduler-locking settings.
7467 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7469 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7470 to DW_FORM_addr and use non-zero addresses.
7472 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7475 * gdb.python/py-xmethods.cc: Add global function call counters and
7476 increment them in their respective functions. Remove "cout"
7478 * gdb.python/py-xmethods.exp: Make tests check the global function
7479 call counters instead of depending on inferior IO.
7481 2014-06-18 Don Breazeal <donb@codesourcery.com>
7483 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7485 (explicit_fork_parent_follow): Deleted procedure.
7486 (explicit_fork_child_follow): Deleted procedure.
7487 (test_follow_fork): New procedure.
7488 (do_fork_tests): Replace calls to deleted procedures with
7489 calls to test_follow_fork and reset GDB for subsequent
7492 2014-06-17 Yao Qi <yao@codesourcery.com>
7494 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7497 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7499 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7500 Initialize ptr and S explicitly.
7501 (skip_type_update_when_not_use_rtti_test): Likewise.
7503 2014-06-16 Keith Seitz <keiths@redhat.com>
7506 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7507 the inferior is started.
7509 2014-06-16 Pedro Alves <palves@redhat.com>
7511 * gdb.base/break-main-file-remove-fail.c: New file.
7512 * gdb.base/break-main-file-remove-fail.exp: New file.
7513 * gdb.base/break-unload-file.exp: Use build_executable instead of
7514 prepare_for_testing.
7515 (test_break): New parameter "initial_load". Handle it.
7516 (top level): Add initial_load cmdline/file axis.
7518 2014-06-12 Tom Tromey <tromey@redhat.com>
7520 * gdb.base/completion.exp: Don't use directory name in test.
7522 2014-06-09 Gary Benson <gbenson@redhat.com>
7524 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7525 separate the always-available ANSI-standard signals from the
7526 signals that require checking.
7528 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7532 2014-06-07 Keith Seitz <keiths@redhat.com>
7536 * gdb.cp/var-tag.cc: New file.
7537 * gdb.cp/var-tag.exp: New file.
7538 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7539 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7540 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7541 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7543 2014-06-06 Doug Evans <xdje42@gmail.com>
7545 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7547 2014-06-06 Pedro Alves <palves@redhat.com>
7549 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7550 in target debug output instead of looking at RSP packets,
7551 disabling the test on any target that uses hardware stepping.
7554 2014-06-06 Pedro Alves <palves@redhat.com>
7556 * gdb.base/break-unload-file.exp: Fix typo.
7558 2014-06-06 Yao Qi <yao@codesourcery.com>
7560 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7561 from "jit_function" to "^jit_function".
7563 2014-06-06 Yao Qi <yao@codesourcery.com>
7565 * gdb.base/async.c (foo): Add one statement.
7566 * gdb.base/async.exp: Get the next instruction address and
7567 match the output of "nexti" by instruction address. Match
7568 the hex address in the output of "finish".
7570 2014-06-06 Gary Benson <gbenson@redhat.com>
7572 * gdb.base/call-signals.c: Remove preprocessor conditionals
7573 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7574 SIGSEGV and SIGTERM.
7575 * gdb.base/sigall.c: Likewise.
7576 * gdb.base/unwindonsignal.c: Likewise.
7577 * gdb.reverse/sigall-reverse.c: Likewise.
7579 2014-06-06 Yao Qi <yao@codesourcery.com>
7581 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7582 readable, skip the test.
7584 2014-06-06 Yao Qi <yao@codesourcery.com>
7586 * gdb.threads/staticthreads.c (thread_function): Move the line
7587 setting breakpoint on forward.
7588 * gdb.threads/staticthreads.exp: Update comments.
7590 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7592 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7593 "history-append! type error".
7595 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7597 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7598 erroneous dprintf expected input.
7600 2014-06-04 Doug Evans <xdje42@gmail.com>
7602 * gdb.guile/scm-generics.exp: Delete.
7604 2014-06-04 Doug Evans <xdje42@gmail.com>
7606 * gdb.guile/scm-breakpoint.exp: Update.
7607 Add tests for breakpoint registration.
7609 2014-06-04 Tom Tromey <tromey@redhat.com>
7611 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7613 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7614 inner_vla_struct, vla_union types. Initialize objects of those
7615 types and compute their sizes.
7617 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7618 Hui Zhu <hui@codesourcery.com>
7620 * gdb.base/fileio.exp: Add test for shell not available as well as
7622 * gdb.base/fileio.c (test_system): Check for shell twice.
7624 2014-06-04 Yao Qi <yao@codesourcery.com>
7626 * gdb.base/auto-connect-native-target.exp: Remove redundant
7627 space from the regexp pattern.
7629 2014-06-04 Yao Qi <yao@codesourcery.com>
7631 * gdb.base/default.exp: Replace "child" with "native" in
7634 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7636 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7637 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7638 * gdb.python/py-xmethods.py: Python script supporting the
7639 new testcase and tests.
7641 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7642 Pedro Alves <palves@redhat.com>
7644 PR breakpoints/17000
7645 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7646 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7648 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7650 * gdb.base/subst.exp: Add tests to verify partial path matching
7653 2014-06-03 Pedro Alves <palves@redhat.com>
7655 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7656 target that doesn't use software single-stepping.
7658 2014-06-03 Pedro Alves <palves@redhat.com>
7660 PR breakpoints/17000
7661 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7662 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7664 2014-06-02 Doug Evans <xdje42@gmail.com>
7666 * gdb.guile/scm-parameter.exp: New file.
7668 2014-06-02 Doug Evans <xdje42@gmail.com>
7670 * gdb.guile/scm-cmd.c: New file.
7671 * gdb.guile/scm-cmd.exp: New file.
7673 2014-06-02 Doug Evans <xdje42@gmail.com>
7675 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7676 pretty-printer lookup.
7677 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7678 (make-pp_s-printer): Call it.
7679 (make-pretty-printer-from-dict): New function.
7680 (lookup-pretty-printer-maker-from-dict): New function.
7681 (*pretty-printer*): Simplify.
7682 (make-objfile-pp_s-printer): New function.
7683 (install-objfile-pretty-printers!): New function.
7684 (make-progspace-pp_s-printer): New function.
7685 (install-progspace-pretty-printers!): New function.
7686 * gdb.guile/scm-progspace.c: New file.
7687 * gdb.guile/scm-progspace.exp: New file.
7689 2014-06-02 Pedro Alves <palves@redhat.com>
7691 * gdb.base/dprintf-bp-same-addr.c: New file.
7692 * gdb.base/dprintf-bp-same-addr.exp: New file.
7694 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7696 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7697 * gdb.arch/powerpc-power.s: Likewise.
7699 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7701 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7703 2014-06-01 Yao Qi <yao@codesourcery.com>
7705 * gdb.base/watchpoint.exp (test_watch_location): Check null
7706 pointer can be dereferenced. If not, do the test, otherwise
7709 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7711 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7713 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7715 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7717 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7718 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7719 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7720 * gdb.arch/amd64-invalid-stack-top.c: New file.
7721 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7723 2014-05-30 Pedro Alves <palves@redhat.com>
7725 PR breakpoints/17000
7726 * gdb.base/sss-bp-on-user-bp.c: New file.
7727 * gdb.base/sss-bp-on-user-bp.exp: New file.
7729 2014-05-30 David Blaikie <dblaikie@gmail.com>
7731 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7732 gnu_inline semantics via attribute.
7733 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7734 source explicitly specifies the required semantics.
7736 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7738 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7740 2014-05-29 Pedro Alves <palves@redhat.com>
7741 Tom Tromey <tromey@redhat.com>
7743 * gdb.base/async-shell.exp: Don't enable target-async.
7744 * gdb.base/async.exp
7745 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7747 (top level): Don't test with "target-async".
7748 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7749 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7750 * gdb.base/inferior-died.exp: Don't enable target-async.
7751 * gdb.base/interrupt-noterm.exp: Likewise.
7752 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7753 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7754 * gdb.mi/mi-nonstop.exp: Likewise.
7755 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7756 * gdb.mi/mi-nsintrall.exp: Likewise.
7757 * gdb.mi/mi-nsmoribund.exp: Likewise.
7758 * gdb.mi/mi-nsthrexec.exp: Likewise.
7759 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7760 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7761 * gdb.python/py-evsignal.exp: Don't enable target-async.
7762 * gdb.python/py-evthreads.exp: Likewise.
7763 * gdb.python/py-prompt.exp: Likewise.
7764 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7765 * gdb.server/solib-list.exp: Don't enable target-async.
7766 * gdb.threads/thread-specific-bp.exp: Likewise.
7767 * lib/mi-support.exp: Adjust to use mi-async.
7769 2014-05-29 Pedro Alves <palves@redhat.com>
7772 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7773 reason, even in sync mode.
7775 2014-05-29 Pedro Alves <palves@redhat.com>
7776 Hui Zhu <hui@codesourcery.com>
7779 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7780 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7781 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7782 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7784 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7786 * config/monitor.exp (gdb_target_monitor): Replace use of
7787 "set remotebaud" by "set serial baud".
7789 2014-05-26 Andy Wingo <wingo@igalia.com>
7791 * gdb.guile/scm-breakpoint.exp:
7792 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7793 properties instead of gdb-object-properties.
7795 2014-05-26 Yao Qi <yao@codesourcery.com>
7797 * gdb.server/no-thread-db.exp: Specify source file name
7798 explicitly when setting a breakpoint.
7800 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7802 * gdb.btrace/vdso.c: New.
7803 * gdb.btrace/vdso.exp: New.
7805 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7807 * gdb.base/gcore.exp (capture_command_output): Move ...
7808 * lib/gdb.exp (capture_command_output): ... here.
7810 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7812 * gdb.btrace/data.exp: Test memory access during btrace replay.
7814 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7816 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7818 2014-05-21 Pedro Alves <palves@redhat.com>
7821 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7822 (top level): Test that output related to execution commands is
7823 sent to the console with CLI commands, but not with MI commands.
7824 Test that breakpoint events are always mirrored to the console.
7825 Also expect the new source line to be output after a "next" in
7826 async mode too. Make it a pass/fail test.
7827 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7829 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7831 2014-05-21 Pedro Alves <palves@redhat.com>
7833 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7834 Use them to test variations of "list" after reaching a breakpoint.
7835 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7836 Test "list" with listsize 10 after reaching a breakpoint.
7837 * gdb.python/python.exp (decode_line current location line
7838 number): Adjust expected line number.
7840 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7842 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7843 behavior for $args, pass it directly to "run".
7845 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7847 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7850 2014-05-21 Pedro Alves <palves@redhat.com>
7852 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7853 auto-connect-native-target off".
7854 * gdb.base/auto-connect-native-target.c: New file.
7855 * gdb.base/auto-connect-native-target.exp: New file.
7857 2014-05-21 Pedro Alves <palves@redhat.com>
7859 * gdb.base/default.exp: Test "target native" instead of "target
7862 2014-05-21 Mark Wielaard <mjw@redhat.com>
7864 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7866 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7868 Fix TLS access for -static -pthread.
7869 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7870 <HAVE_TLS> (thread_function, main): Initialize it.
7871 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7873 <$have_tls != "">: Check TLSVAR.
7875 2014-05-21 Pedro Alves <palves@redhat.com>
7877 * gdb.base/dcache-line-read-error.c: New.
7878 * gdb.base/dcache-line-read-error.exp: New.
7880 2014-05-20 Pedro Alves <palves@redhat.com>
7882 * gdb.base/compare-sections.c: New file.
7883 * gdb.base/compare-sections.exp: New file.
7885 2014-05-20 Pedro Alves <palves@redhat.com>
7887 * gdb.base/break-idempotent.c: New file.
7888 * gdb.base/break-idempotent.exp: New file.
7890 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7892 * gdb.btrace/nohist.exp: New.
7894 2014-05-20 Yao Qi <yao@codesourcery.com>
7896 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7897 gdb.reverse directory and gdb_reverse_timeout exists in board
7899 * README: Document gdb_reverse_timeout.
7901 2014-05-20 Yao Qi <yao@codesourcery.com>
7903 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7904 'test_file_name'. Treat args as a string instead of a list.
7905 (gdb_init): Rename argument 'args' by 'test_file_name'.
7907 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7909 * gdb.arch/powerpc-power.exp: New file.
7910 * gdb.arch/powerpc-power.s: New file.
7912 2014-05-16 Doug Evans <dje@google.com>
7914 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7915 * gdb.base/completion.exp: Check that all expected files exist
7916 before doing file completion.
7918 2014-05-16 Doug Evans <dje@google.com>
7920 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7922 (do_syscall_tests_without_xml): Update.
7924 2014-05-16 Pedro Alves <palves@redhat.com>
7926 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7927 instead of "unknown output after running".
7929 2014-05-16 Yao Qi <yao@codesourcery.com>
7931 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7932 file1.txt from host at the end.
7933 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7935 2014-05-15 Doug Evans <dje@google.com>
7937 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7938 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7939 loading file. Add test for TU lookup.
7941 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7943 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7944 calling "-exec-arguments" or "set args" before running the
7947 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7949 * lib/mi-support.exp (mi_expect_stop): Expect message for
7950 inferiors that exit with non-zero exit code.
7952 2014-05-14 Yao Qi <yao@codesourcery.com>
7954 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7955 match absolute path on remote host.
7956 (test_file_list_exec_source_files): Remove "/" from the
7959 2014-05-14 Yao Qi <yao@codesourcery.com>
7961 * boards/local-remote-host-notty.exp (${board}_file): New
7964 2014-05-07 Kyle McMartin <kyle@redhat.com>
7966 Pushed by Joel Brobecker <brobecker@adacore.com>.
7967 * gdb.arch/aarch64-atomic-inst.c: New file.
7968 * gdb.arch/aarch64-atomic-inst.exp: New file.
7970 2014-05-07 Yao Qi <yao@codesourcery.com>
7972 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7973 in current context" too.
7975 2014-05-05 Keith Seitz <keiths@redhat.com>
7977 * gdb.linespec/ls-dollar.exp: Add test for linespec
7978 file:convenience_variable.
7980 2014-05-05 Yao Qi <yao@codesourcery.com>
7982 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7983 traceframes into tfile and ctf trace files. Read data from
7984 trace file and test collected data.
7985 (gdb_collect_locals_test): Likewise.
7986 (gdb_unavailable_registers_test): Likewise.
7987 (gdb_unavailable_floats): Likewise.
7988 (gdb_collect_globals_test): Likewise.
7989 (top-level): Append "ctf" to trace_file_targets if GDB
7992 2014-05-05 Yao Qi <yao@codesourcery.com>
7994 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7996 (gdb_collect_args_test_1): ... it. New proc.
7997 (gdb_collect_locals_test): Move some code to ...
7998 (gdb_collect_locals_test_1): ... it. New proc.
7999 (gdb_unavailable_registers_test): Move some code to ...
8000 (gdb_unavailable_registers_test_1): ... it. New proc.
8001 (gdb_unavailable_floats): Move some code to ...
8002 (gdb_unavailable_floats_1): ... it. New proc.
8004 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8006 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8007 probes to test for bitness recognition.
8008 * gdb.arch/amd64-stap-optional-prefix.exp
8009 (test_probe_value_without_reg): New procedure.
8010 Add code to test for different kinds of bitness.
8012 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8014 PR breakpoints/16889
8015 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8016 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8018 2014-05-01 Pedro Alves <palves@redhat.com>
8020 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8021 gdb_file_cmd if no file is specified.
8022 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8023 last_loaded_file to set the remote exec-file.
8025 2014-05-01 Pedro Alves <palves@redhat.com>
8027 * boards/local-remote-host.exp: New file.
8029 2014-05-01 Pedro Alves <palves@redhat.com>
8031 * boards/local-remote-host.exp: Rename to ...
8032 * boards/local-remote-host-notty.exp: ... this.
8034 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8036 * gdb.ada/dyn_arrayidx: New testcase.
8038 2014-04-26 Yao Qi <yao@codesourcery.com>
8040 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8041 and compute the length of function main. Save it in
8043 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8044 (top-level): Use gdb_compile to compile objects into
8045 executable and restart GDB. Remove invocation to
8046 prepare_for_testing.
8048 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8049 Pedro Alves <palves@redhat.com>
8052 * gdb.multi/multi-attach.c: New file.
8053 * gdb.multi/multi-attach.exp: New file.
8055 2014-04-25 Pedro Alves <palves@redhat.com>
8057 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8059 (top level): Test that "set remote conditional-breakpoints-packet
8060 off" works as intended.
8061 * gdb.base/dprintf.exp: Test that "set remote
8062 breakpoint-commands-packet off" works as intended.
8063 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8065 (top level): Call it.
8066 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8067 remote fast-tracepoints-packet off" works as intended.
8068 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8069 * lib/gdb.exp (gdb_is_target_remote): ... here.
8071 2014-04-24 David Blaikie <dblaikie@gmail.com>
8073 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8074 ensure clang would not discard them.
8075 * gdb.base/gdbvars.c: Ditto.
8076 * gdb.base/memattr.c: Ditto.
8077 * gdb.base/whatis.c: Ditto.
8078 * gdb.python/py-prettyprint.c: Ditto.
8079 * gdb.trace/actions.c: Ditto.
8080 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8081 ensure clang would not discard it.
8083 2014-04-24 David Blaikie <dblaikie@gmail.com>
8085 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8086 clang to emit the full definition of type required by the test
8087 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8089 2014-04-24 David Blaikie <dblaikie@gmail.com>
8091 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8092 coax Clang into emitting the definition of the type.
8093 * gdb.cp/pr10728-x.h (y): Ditto.
8094 * gdb.cp/pr10728-y.cc (y): Ditto.
8096 2014-04-24 David Blaikie <dblaikie@gmail.com>
8098 * gdb.base/label.exp: XFAIL label related tests under Clang.
8099 * gdb.cp/cplabel.exp: Ditto.
8100 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8101 under Clang those using labels.
8103 2014-04-25 Yao Qi <yao@codesourcery.com>
8105 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8107 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8108 partial_label and double_label.
8110 2014-04-24 David Blaikie <dblaikie@gmail.com>
8112 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8114 2014-04-24 David Blaikie <dblaikie@gmail.com>
8116 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8117 of the function to work across GCC and Clang.
8118 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8119 pointer types (const void ** const V void **).
8121 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8122 Walfred Tedeschi <walfred.tedeschi@intel.com>
8124 * Makefile.in (EXECUTABLES): Added i386-avx512.
8125 * gdb.arch/i386-avx512.c: New file.
8126 * gdb.arch/i386-avx512.exp: Likewise.
8128 2014-04-23 Keith Seitz <keiths@redhat.com>
8130 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8131 (mi_make_breakpoint_table): New procedure.
8132 (mi_create_breakpoint): Use mi_make_breakpoint
8133 and return the result.
8134 (mi_make_breakpoint): New procedure.
8135 (mi_build_kv_pairs): New procedure.
8137 * gdb.mi/mi-break.exp: Remove unused globals,
8138 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8139 All callers updated.
8140 * gdb.mi/mi-dprintf.exp: Use variable to track command
8142 Update all callers of mi_create_breakpoint and use
8143 mi_make_breakpoint_table.
8144 Remove any unused global variables.
8145 * gdb.mi/mi-nonstop.exp: Likewise.
8146 * gdb.mi/mi-nsintrall.exp: Likewise.
8147 * gdb.mi/mi-nsmoribund.exp: Likewise.
8148 * gdb.mi/mi-nsthrexec.exp: Likewise.
8149 * gdb.mi/mi-reverse.exp: Likewise.
8150 * gdb.mi/mi-simplerun.exp: Likewise.
8151 * gdb.mi/mi-stepn.exp: Likewise.
8152 * gdb.mi/mi-syn-frame.exp: Likewise.
8153 * gdb.mi/mi-until.exp: Likewise.
8154 * gdb.mi/mi-var-cp.exp: Likewise.
8155 * gdb.mi/mi-var-display.exp: Likewise.
8156 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8157 * gdb.mi/mi2-var-child.exp: Likewise.
8158 * gdb.mi/mi-vla-c99.exp: Likewise.
8159 * lib/mi-support.exp: Likewise.
8161 From Ian Lance Taylor <iant@cygnus.com>:
8162 * lib/gdb.exp (parse_args): New procedure.
8164 2014-04-23 Pedro Alves <palves@redhat.com>
8166 * gdb.base/break-unload-file.c: New file.
8167 * gdb.base/break-unload-file.exp: New file.
8168 * gdb.base/sym-file-lib.c (baz): New function.
8169 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8171 (load): Store the segment's mapped size.
8172 (unload): New function.
8173 (unload_shlib): New function.
8174 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8175 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8176 set a breakpoint at baz, and call it.
8177 * gdb.base/sym-file.exp: New tests for stale breakpoint
8180 2014-04-23 Pedro Alves <palves@redhat.com>
8182 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8183 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8184 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8185 * gdb.base/hbreak-unmapped.c: New file.
8186 * gdb.base/hbreak-unmapped.exp: New file.
8187 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8188 * lib/gdb.exp (gdb_is_target_remote): ... here.
8190 2014-04-22 Pedro Alves <palves@redhat.com>
8192 * gdb.base/consecutive-step-over.c: New file.
8193 * gdb.base/consecutive-step-over.exp: New file.
8195 2014-04-22 Pedro Alves <palves@redhat.com>
8197 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8198 instead of send_gdb/gdb_expect.
8200 2014-04-22 Yao Qi <yao@codesourcery.com>
8202 * lib/trace-support.exp (generate_tracefile): New procedure.
8203 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8205 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8206 if generate_tracefile returns 1.
8208 2014-04-18 Tom Tromey <palves@redhat.com>
8209 Pedro alves <tromey@redhat.com>
8212 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8213 with a backtrace limit.
8214 * gdb.python/py-frame-inline.exp: Test running to an inline
8215 function with a backtrace limit, and printing the newest frame.
8216 * gdb.python/py-frame-inline.c (main): Call f.
8218 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8220 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8222 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8224 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8225 Drop prefix from unsupported source file path.
8227 2014-04-17 Yao Qi <yao@codesourcery.com>
8229 * lib/gdb.exp (with_target_charset): New proc.
8230 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8231 with_target_charset.
8232 (test_print_strings): Likewise.
8233 (test_repeat_bytes): Likewise.
8234 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8237 2014-04-16 Keith Seitz <keiths@redhat.com>
8240 * gdb.dwarf2/corrupt.c: New file.
8241 * gdb.dwarf2/corrupt.exp: New file.
8243 2014-04-16 Keith Seitz <keiths@redhat.com>
8246 * gdb.cp/namelessclass.cc: New file.
8247 * gdb.cp/namelessclass.exp: New file.
8248 * gdb.cp/namelessclass.S: New file.
8250 2014-04-16 Doug Evans <dje@google.com>
8252 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8254 (gdbserver_default_get_comm_port): New function.
8255 (gdbserver_start): Check if board file provided
8256 "gdbserver,get_comm_port" and use it if so.
8257 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8258 (gdb,socketport): Set to "stdio".
8259 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8260 (stdio_gdbserver_template): Delete.
8261 (${board}_get_remote_address): Update.
8262 (${board}_build_remote_cmd): Delete.
8263 (${board}_get_comm_port): New function.
8264 (${board}_spawn): Update.
8265 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8267 (${board}_get_remote_address): Update.
8268 (${board}_get_comm_port): New function.
8270 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8272 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8273 appearing in any order.
8275 2014-04-15 Doug Evans <dje@google.com>
8277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8278 uninitialized value of "description".
8280 2014-04-15 Keith Seitz <keiths@redhat.com>
8282 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8283 Remove unused globals.
8284 (test_running_the_program): Likewise.
8285 (test_controlled_execution): Likewise.
8286 (test_controlling_breakpoints): Likewise.
8287 (test_program_termination): Likewise.
8289 2014-04-15 Keith Seitz <keiths@redhat.com>
8291 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8293 (test_rbreak_creation_and_listing): Likewise.
8294 (test_ignore_count): Likewise.
8295 (test_error): Likewise.
8297 2014-04-15 Pedro Alves <palves@redhat.com>
8299 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8300 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8302 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8303 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8304 to sym-file-loader.c.
8305 (struct library): Forward declare.
8306 (load_shlib, lookup_function): Change prototypes.
8307 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8308 (translate_offset): Remove declarations.
8309 (get_text_addr): New declaration.
8310 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8311 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8313 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8314 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8315 here from sym-file-loader.h.
8316 (struct library): New structure.
8317 (load_shlib, lookup_function): Change prototypes and adjust to
8318 work with a struct library.
8319 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8320 (translate_offset): Make static.
8321 (get_text_addr): New function.
8322 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8324 2014-04-15 Pedro Alves <palves@redhat.com>
8326 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8328 2014-04-15 Pedro Alves <palves@redhat.com>
8330 * gdb.base/sym-file-loader.c: Include <limits.h>.
8331 (SELF_LINK): New define.
8332 (get_origin): New function.
8333 (load_shlib): Use it.
8334 * gdb.base/sym-file.exp: Don't early return if the target is
8335 remote. Use runto_main, and issue fail is that fails. Use
8337 (shlib_name): Delete.
8338 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8340 2014-04-15 Pedro Alves <palves@redhat.com>
8342 * gdb.base/sym-file.exp: Remove regex characters from test
8343 message. Don't refer to breakpoint numbers in test messages.
8345 2014-04-14 Keith Seitz <keiths@redhat.com>
8348 * gdb.cp/var-tag.cc: New file.
8349 * gdb.cp/var-tag.exp: New file.
8350 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8351 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8352 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8353 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8355 2014-04-14 Tom Tromey <tromey@redhat.com>
8357 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8358 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8360 * gdb.cp/enum-class.exp: New file.
8361 * gdb.cp/enum-class.cc: New file.
8363 2014-04-14 Tom Tromey <tromey@redhat.com>
8365 * gdb.dwarf2/enum-type.exp: New file.
8367 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8369 * gdb.mi/mi-vla-c99.exp: New file.
8370 * gdb.mi/vla.c: New file.
8372 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8374 * gdb.base/vla-datatypes.c: New file.
8375 * gdb.base/vla-datatypes.exp: New file.
8377 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8379 * gdb.base/vla-ptr.c: New file.
8380 * gdb.base/vla-ptr.exp: New file.
8382 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8384 * gdb.dwarf2/count.exp: New file.
8386 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8388 * gdb.base/vla-sideeffect.c: New file.
8389 * gdb.base/vla-sideeffect.exp: New file.
8391 2014-04-14 David Blaikie <dblaikie@gmail.com>
8393 * gdb.mi/non-stop.c: Add return value for non-void function return
8395 * gdb.threads/staticthreads.c: Ditto.
8397 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8398 Doug Evans <xdje42@gmail.com>
8400 * gdb.guile/scm-value.c: Improve test case.
8401 * gdb.guile/scm-value.exp: Add new test.
8403 2014-04-11 David Blaikie <dblaikie@gmail.com>
8405 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8406 override Clang's default.
8408 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8410 Revert the following changes (regressions):
8412 * gdb.base/vla-sideeffect.c: New file.
8413 * gdb.base/vla-sideeffect.exp: New file.
8415 * gdb.dwarf2/count.exp: New file.
8417 * gdb.base/vla-multi.c: New file.
8418 * gdb.base/vla-multi.exp: New file.
8420 * gdb.base/vla-ptr.c: New file.
8421 * gdb.base/vla-ptr.exp: New file.
8423 * gdb.base/vla-datatypes.c: New file.
8424 * gdb.base/vla-datatypes.exp: New file.
8426 * gdb.mi/mi-vla-c99.exp: New file.
8427 * gdb.mi/vla.c: New file.
8429 2014-04-11 Keith Seitz <keiths@redhat.com>
8432 * gdb.cp/cpsizeof.exp: New file.
8433 * gdb.cp/cpsizeof.cc: New file.
8435 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8437 * gdb.mi/mi-vla-c99.exp: New file.
8438 * gdb.mi/vla.c: New file.
8440 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8442 * gdb.base/vla-datatypes.c: New file.
8443 * gdb.base/vla-datatypes.exp: New file.
8445 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8447 * gdb.base/vla-ptr.c: New file.
8448 * gdb.base/vla-ptr.exp: New file.
8450 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8452 * gdb.base/vla-multi.c: New file.
8453 * gdb.base/vla-multi.exp: New file.
8455 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8457 * gdb.dwarf2/count.exp: New file.
8459 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8461 * gdb.base/vla-sideeffect.c: New file.
8462 * gdb.base/vla-sideeffect.exp: New file.
8464 2014-04-11 Yao Qi <yao@codesourcery.com>
8466 * gdb.base/completion.exp: Check file exists before running tests
8469 2014-04-10 Pedro Alves <palves@redhat.com>
8471 * gdb.base/cond-eval-mode.c: New file.
8472 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8473 prepare_for_testing to build the new file. Check result of
8475 (test_break, test_watch): New procedures.
8476 (top level): Use them.
8478 2014-04-08 Pierre Muller <muller@sourceware.org>
8480 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8481 Ctrl-V use for mingw hosts.
8483 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8485 * gdb.python/py-value.c: Improve test case.
8486 * gdb.python/py-value.exp: Add new test.
8488 2014-04-07 David Blaikie <dblaikie@gmail.com>
8490 * lib/compiler.c: Identify the clang compiler.
8491 * lib/compiler.cc: Ditto.
8493 2014-04-03 Yao Qi <yao@codesourcery.com>
8495 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8497 2014-04-01 Anton Blanchard <anton@samba.org>
8499 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8502 2014-04-01 Anton Blanchard <anton@samba.org>
8504 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8505 prepare_for_testing.
8507 2014-04-01 Anton Blanchard <anton@samba.org>
8509 * gdb.arch/ppc64-atomic-inst.c: Remove.
8510 * gdb.arch/ppc64-atomic-inst.S: New file.
8511 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8513 2014-03-31 Doug Evans <dje@google.com>
8515 * gdb.base/print-symbol-loading-lib.c: New file.
8516 * gdb.base/print-symbol-loading-main.c: New file.
8517 * gdb.base/print-symbol-loading.exp: New file.
8519 2014-03-31 Yao Qi <yao@codesourcery.com>
8521 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8523 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8525 * gdb.ada/mi_dyn_arr: New testcase.
8527 2014-03-27 Doug Evans <dje@google.com>
8529 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8531 2014-03-27 Yao Qi <yao@codesourcery.com>
8533 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8534 if target is nios2-*-*.
8536 2014-03-26 Yao Qi <yao@codesourcery.com>
8538 * lib/gdb.exp (readline_is_used): New proc.
8539 * gdb.base/completion.exp: Move tests on command complete up.
8540 Skip the rest of tests if readline is not used.
8541 * gdb.ada/complete.exp: Skp the test if readline is not
8543 * gdb.base/filesym.exp: Likewise.
8544 * gdb.base/macscp.exp: Likewise.
8545 * gdb.base/readline-ask.exp: Likewise.
8546 * gdb.base/readline.exp: Likewise.
8547 * gdb.python/py-cmd.exp: Likewise.
8548 * gdb.trace/tfile.exp: Likewise.
8550 2014-03-26 Yao Qi <yao@codesourcery.com>
8552 * gdb.base/macscp.exp: Fix code format issues.
8554 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8556 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8557 * gdb.asm/powerpc64le.inc: New file.
8559 2014-03-25 Pedro Alves <palves@redhat.com>
8560 Doug Evans <dje@google.com>
8562 * gdb.base/source-execution.c: New file.
8563 * gdb.base/source-execution.exp: New file.
8564 * gdb.base/source-execution.gdb: New file.
8566 2014-03-24 Doug Evans <dje@google.com>
8568 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8571 2014-03-24 Hui Zhu <hui@codesourcery.com>
8572 Pedro Alves <palves@redhat.com>
8574 PR breakpoints/16101
8575 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8576 test pass/fail messages. Detect missing support for dprintf when
8577 breakpoints are actually inserted.
8578 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8579 breakpoints are actually inserted.
8580 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8583 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8585 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8587 2014-03-22 Doug Evans <xdje42@gmail.com>
8589 * gdb.python/python.exp (python not supported): Verify multi-line
8590 python command issues an error.
8591 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8592 guile command issues an error.
8594 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8596 * gdb.threads/thread-specific.exp: Handle the lack of usable
8597 $this_breakpoint and $this_thread.
8599 2014-03-21 Hui Zhu <hui@codesourcery.com>
8601 * gdb.base/attach.exp (do_command_attach_tests): New.
8603 2014-03-20 Tom Tromey <tromey@redhat.com>
8604 Pedro Alves <palves@redhat.com>
8607 * gdb.base/condbreak-call-false.c: New file.
8608 * gdb.base/condbreak-call-false.exp: New file.
8610 2014-03-20 Pedro Alves <palves@redhat.com>
8612 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8614 (block_signals, unblock_signals): Delete.
8615 (child_function_2, main): Remove references to deleted variable
8618 2014-03-20 Pedro Alves <palves@redhat.com>
8620 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8621 Use pthread_kill to signal thread 2.
8622 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8623 Adjust to make the test send itself a signal rather than using the
8624 host's "kill" command.
8626 2014-03-20 Pedro Alves <palves@redhat.com>
8628 * gdb.threads/multiple-step-overs.c: New file.
8629 * gdb.threads/multiple-step-overs.exp: New file.
8630 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8631 Adjust expected infrun debug output.
8633 2014-03-20 Pedro Alves <palves@redhat.com>
8635 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8636 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8638 2014-03-20 Pedro Alves <palves@redhat.com>
8641 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8642 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8643 of gdb_test_multiple.
8644 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8645 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8647 2014-03-20 Pedro Alves <palves@redhat.com>
8649 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8650 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8652 2014-03-19 Pedro Alves <palves@redhat.com>
8654 * gdb.base/async.exp: Remove early return.
8656 2014-03-19 Pedro Alves <palves@redhat.com>
8658 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8660 2014-03-19 Pedro Alves <palves@redhat.com>
8662 * gdb.base/async.exp (test_background): Expect \r\n after
8663 "completed." in the fail pattern.
8665 2014-03-19 Pedro Alves <palves@redhat.com>
8667 * gdb.base/async.exp (test_background): New procedure.
8668 Use it for all background execution command tests.
8670 2014-03-19 Pedro Alves <palves@redhat.com>
8672 * gdb.base/async.exp: Use prepare_for_testing.
8674 2014-03-19 Pedro Alves <palves@redhat.com>
8676 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8679 2014-03-19 Pedro Alves <palves@redhat.com>
8681 * gdb.base/async.c (main): Add "jump here" and "until here" line
8683 * gdb.base/async.exp (jump_here): New global.
8684 (jump& test): Use it.
8685 (until_here): New global.
8686 (until& test): Use it.
8688 2014-03-19 Pedro Alves <palves@redhat.com>
8690 * gdb.base/async.exp: Don't frob gdb_protocol.
8692 2014-03-18 Doug Evans <xdje42@gmail.com>
8694 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8695 Fix spelling of exec-done-display.
8697 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8700 * gdb.base/gdb-sigterm.c: New file.
8701 * gdb.base/gdb-sigterm.exp: New file.
8703 2014-03-18 Pedro Alves <palves@redhat.com>
8706 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8707 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8710 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8712 * gdb.ada/pckd_arr_ren: New testcase.
8714 2014-03-13 Doug Evans <xdje42@gmail.com>
8717 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8718 collect after discarding symbols.
8720 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8721 Doug Evans <xdje42@gmail.com>
8723 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8724 to history survives a gc.
8726 2014-03-13 Pedro Alves <palves@redhat.com>
8728 * gdb.base/default.exp: Don't test "target procfs".
8730 2014-03-13 Pedro Alves <palves@redhat.com>
8732 * gdb.base/default.exp: Update "target child" and "target procfs"
8733 tests to not expect "Unix".
8735 2014-03-12 Tom Tromey <tromey@redhat.com>
8737 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8738 New procs. Add target-async tests.
8739 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8740 Add target-async tests.
8742 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8744 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8745 'func_start' and 'func_end' for the beginning and end of the
8746 function code, respectively.
8747 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8748 'func_end' instead of 'func' and 'main'.
8750 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8752 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8753 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8754 generate the debug info assembler source.
8756 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8758 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8759 * gdb.dwarf2/arr-subrange.exp: Likewise.
8760 * gdb.dwarf2/dwz.exp: Likewise.
8761 * gdb.dwarf2/method-ptr.exp: Likewise.
8762 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8763 * gdb.dwarf2/subrange.exp: Likewise.
8764 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8765 * gdb.dwarf2/implptrpiece.exp: Likewise.
8766 * gdb.dwarf2/nostaticblock.exp: Likewise.
8768 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8770 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8771 directory to absolute path name arguments.
8773 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8775 * gdb.ada/tagged_access: New testcase.
8777 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8779 * gdb.btrace/data.exp: Update expected output.
8781 2014-03-06 Yao Qi <yao@codesourcery.com>
8783 * gdb.trace/pr16508.exp: New file.
8785 2014-03-05 Pedro Alves <palves@redhat.com>
8788 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8790 (top level): Adjust to use it. Add tests that exercise breakpoint
8791 interaction with the code-cache.
8793 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8795 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8796 test for 'history-append!'.
8798 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8800 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8801 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8802 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8803 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8804 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8805 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8807 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8809 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8810 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8811 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8813 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8815 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8817 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8819 * gdb.dwarf2/arr-stride.c: New file.
8820 * gdb.dwarf2/arr-stride.exp: New file.
8822 2014-02-26 Pedro Alves <palves@redhat.com>
8824 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8825 that won't ever trigger. Make sure that GDB reports the correct
8826 breakpoint that caused the stop.
8828 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8831 * gdb.base/auto-load-script: New file.
8832 * gdb.base/auto-load.c: New file.
8833 * gdb.base/auto-load.exp: New file.
8836 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8838 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8840 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8841 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8843 2014-02-24 Doug Evans <dje@google.com>
8845 * lib/gdb.exp (run_on_host): Log error output if program fails.
8847 2014-02-21 Pedro Alves <palves@redhat.com>
8849 * gdb.threads/step-after-sr-lock.c: Rename to ...
8850 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8851 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8852 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8855 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8858 * gdb.arch/amd64-stap-special-operands.exp: New file.
8859 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8860 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8861 * gdb.arch/amd64-stap-triplet.S: Likewise.
8862 * gdb.arch/amd64-stap-triplet.c: Likewise.
8864 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8866 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8867 in .section pseudo-op.
8869 2014-02-20 lin zuojian <manjian2006@gmail.com>
8870 Joel Brobecker <brobecker@adacore.com>
8871 Doug Evans <xdje42@gmail.com>
8874 * gdb.dwarf2/dw2-icycle.S: New file.
8875 * gdb.dwarf2/dw2-icycle.c: New file.
8876 * gdb.dwarf2/dw2-icycle.exp: New file.
8878 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8880 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8881 operations on gdb.Value objects.
8882 * gdb.python/py-value-cc.exp: Add new test to test operations on
8885 2014-02-18 Doug Evans <dje@google.com>
8887 * Makefile.in (TESTS): New variable.
8888 (expanded_tests, expanded_tests_or_none): New variables
8889 (check-single): Pass $(expanded_tests_or_none) to runtest.
8890 (check-parallel): Only run tests in $(TESTS) if non-empty.
8891 (check/no-matching-tests-found): New rule.
8892 * README: Document TESTS makefile variable.
8894 2014-02-18 Doug Evans <dje@google.com>
8896 * Makefile.in (check-parallel): rm -rf outputs temp.
8898 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8900 Fix "ERROR: no fileid for" in the testsuite.
8901 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8903 2014-02-12 Doug Evans <dje@google.com>
8905 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8906 (MISCELLANEOUS): New variable.
8907 (clean): rm -rf $(MISCELLANEOUS).
8908 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8909 dwp live in the same directory as symlinks, with each symlink pointed
8910 to a differently named file in a different directory.
8912 2014-02-11 Doug Evans <dje@google.com>
8914 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8915 of Tcl file commands.
8917 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8919 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8922 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8924 * gdb.ada/tick_length_array_enum_idx: New testcase.
8926 2014-02-10 Doug Evans <xdje42@gmail.com>
8928 * configure.ac (AC_OUTPUT): Add gdb.guile.
8929 * configure: Regenerate.
8930 * lib/gdb-guile.exp: New file.
8931 * lib/gdb.exp (get_target_charset): New function.
8932 * gdb.base/help.exp: Update expected output from "apropos apropos".
8933 * gdb.guile/Makefile.in: New file.
8934 * gdb.guile/guile.exp: New file.
8935 * gdb.guile/scm-arch.c: New file.
8936 * gdb.guile/scm-arch.exp: New file.
8937 * gdb.guile/scm-block.c: New file.
8938 * gdb.guile/scm-block.exp: New file.
8939 * gdb.guile/scm-breakpoint.c: New file.
8940 * gdb.guile/scm-breakpoint.exp: New file.
8941 * gdb.guile/scm-disasm.c: New file.
8942 * gdb.guile/scm-disasm.exp: New file.
8943 * gdb.guile/scm-equal.c: New file.
8944 * gdb.guile/scm-equal.exp: New file.
8945 * gdb.guile/scm-error.exp: New file.
8946 * gdb.guile/scm-error.scm: New file.
8947 * gdb.guile/scm-frame-args.c: New file.
8948 * gdb.guile/scm-frame-args.exp: New file.
8949 * gdb.guile/scm-frame-args.scm: New file.
8950 * gdb.guile/scm-frame-inline.c: New file.
8951 * gdb.guile/scm-frame-inline.exp: New file.
8952 * gdb.guile/scm-frame.c: New file.
8953 * gdb.guile/scm-frame.exp: New file.
8954 * gdb.guile/scm-generics.exp: New file.
8955 * gdb.guile/scm-gsmob.exp: New file.
8956 * gdb.guile/scm-iterator.c: New file.
8957 * gdb.guile/scm-iterator.exp: New file.
8958 * gdb.guile/scm-math.c: New file.
8959 * gdb.guile/scm-math.exp: New file.
8960 * gdb.guile/scm-objfile-script-gdb.in: New file.
8961 * gdb.guile/scm-objfile-script.c: New file.
8962 * gdb.guile/scm-objfile-script.exp: New file.
8963 * gdb.guile/scm-objfile.c: New file.
8964 * gdb.guile/scm-objfile.exp: New file.
8965 * gdb.guile/scm-ports.exp: New file.
8966 * gdb.guile/scm-pretty-print.c: New file.
8967 * gdb.guile/scm-pretty-print.exp: New file.
8968 * gdb.guile/scm-pretty-print.scm: New file.
8969 * gdb.guile/scm-section-script.c: New file.
8970 * gdb.guile/scm-section-script.exp: New file.
8971 * gdb.guile/scm-section-script.scm: New file.
8972 * gdb.guile/scm-symbol.c: New file.
8973 * gdb.guile/scm-symbol.exp: New file.
8974 * gdb.guile/scm-symtab-2.c: New file.
8975 * gdb.guile/scm-symtab.c: New file.
8976 * gdb.guile/scm-symtab.exp: New file.
8977 * gdb.guile/scm-type.c: New file.
8978 * gdb.guile/scm-type.exp: New file.
8979 * gdb.guile/scm-value-cc.cc: New file.
8980 * gdb.guile/scm-value-cc.exp: New file.
8981 * gdb.guile/scm-value.c: New file.
8982 * gdb.guile/scm-value.exp: New file.
8983 * gdb.guile/source2.scm: New file.
8984 * gdb.guile/types-module.cc: New file.
8985 * gdb.guile/types-module.exp: New file.
8987 2014-02-10 Yao Qi <yao@codesourcery.com>
8990 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8991 * configure: Regenerated.
8992 * Makefile.in: New file.
8994 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8996 * gdb.python/py-framefilter.exp: Fix typo.
8998 2014-02-08 Yao Qi <yao@codesourcery.com>
9000 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9001 that no =breakpoint-modified is emitted when breakpoints are
9002 modified through MI commands.
9004 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9005 Pedro Alves <palves@redhat.com>
9007 * gdb.threads/step-after-sr-lock.c: New file.
9008 * gdb.threads/step-after-sr-lock.exp: New file.
9010 2014-02-07 Pedro Alves <palves@redhat.com>
9012 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9014 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9016 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9017 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9019 2014-02-06 Doug Evans <xdje42@gmail.com>
9021 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9024 * gdb.gdb/python-interrupts.exp: New file.
9026 2014-02-05 Yao Qi <yao@codesourcery.com>
9028 * gdb.trace/report.exp (use_collected_data): Test the output
9029 of "info threads" and "info inferiors".
9031 2014-02-05 Yao Qi <yao@codesourcery.com>
9035 2013-05-24 Yao Qi <yao@codesourcery.com>
9037 * gdb.trace/tfile.exp: Test inferior and thread.
9039 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9041 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9043 * gdb.base/step-bt.c: Call hello via function pointer to make
9044 sure its first instruction is executed on powerpc64le-linux.
9046 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9048 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9050 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9052 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9053 of the test patterns for use on little-endian systems.
9055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9057 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9058 (decimal_vector): Fix for little-endian.
9060 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9062 * gdb.arch/sparc-sysstep.exp: New file.
9063 * gdb.arch/sparc-sysstep.c: Likewise.
9065 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9067 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9069 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9071 2014-01-23 Tom Tromey <tromey@redhat.com>
9073 * gdb.ada/array_char_idx: New testcase.
9075 2014-01-23 Tom Tromey <tromey@redhat.com>
9078 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9079 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9082 2014-01-23 Tom Tromey <tromey@redhat.com>
9085 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9086 string from an inferior frame.
9087 * gdb.python/py-framefilter-mi.exp: Update.
9089 2014-01-22 Doug Evans <dje@google.com>
9091 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9093 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9095 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9097 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9099 * gdb.trace/entry-values.exp: Remove excess space character from
9100 regex patterns. Handle s390 call instruction.
9102 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9104 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9105 define "*_start" label. Make "name" static.
9106 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9107 ${name} by references to ${name}_start.
9109 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9111 * gdb.base/info-macros.exp: Remove "debug" from the compile
9114 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9116 * gdb.dlang/demangle.exp: New file.
9118 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9120 * gdb.dlang/primitive-types.exp: New file.
9122 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9124 * configure.ac: Create gdb.dlang/Makefile.
9125 * configure: Regenerate.
9126 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9127 * gdb.dlang/Makefile.in: New file.
9128 * lib/d-support.exp: New file.
9129 * lib/gdb.exp (skip_d_tests): New proc.
9131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9133 * gdb.btrace/delta.exp: Check reverse stepi.
9134 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9135 * gdb.btrace/finish.exp: New.
9136 * gdb.btrace/next.exp: New.
9137 * gdb.btrace/nexti.exp: New.
9138 * gdb.btrace/record_goto.c: Add comments.
9139 * gdb.btrace/step.exp: New.
9140 * gdb.btrace/stepi.exp: New.
9141 * gdb.btrace/multi-thread-step.c: New.
9142 * gdb.btrace/multi-thread-step.exp: New.
9143 * gdb.btrace/rn-dl-bind.c: New.
9144 * gdb.btrace/rn-dl-bind.exp: New.
9145 * gdb.btrace/data.c: New.
9146 * gdb.btrace/data.exp: New.
9147 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9151 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9152 * gdb.btrace/exception.exp: Update.
9153 * gdb.btrace/instruction_history.exp: Update.
9154 * gdb.btrace/record_goto.exp: Update.
9155 * gdb.btrace/tailcall.exp: Update.
9156 * gdb.btrace/unknown_functions.exp: Update.
9157 * gdb.btrace/delta.exp: New.
9159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9161 * gdb.btrace/record_goto.exp: Add backtrace test.
9162 * gdb.btrace/tailcall.exp: Add backtrace test.
9164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9166 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9167 * gdb.btrace/record_goto.c: New.
9168 * gdb.btrace/record_goto.exp: New.
9169 * gdb.btrace/x86-record_goto.S: New.
9171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9173 * gdb.btrace/function_call_history.exp: Update tests.
9174 * gdb.btrace/instruction_history.exp: Update tests.
9176 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9178 * gdb.btrace/function_call_history.exp: Fix expected field
9179 order for "record function-call-history".
9180 Add new tests for "record function-call-history /c".
9181 * gdb.btrace/exception.cc: New.
9182 * gdb.btrace/exception.exp: New.
9183 * gdb.btrace/tailcall.exp: New.
9184 * gdb.btrace/x86-tailcall.S: New.
9185 * gdb.btrace/x86-tailcall.c: New.
9186 * gdb.btrace/unknown_functions.c: New.
9187 * gdb.btrace/unknown_functions.exp: New.
9188 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9192 * gdb.btrace/instruction_history.exp: Update.
9193 * gdb.btrace/function_call_history.exp: Update.
9195 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9197 * gdb.btrace/function_call_history.exp: Fix expected function
9199 * gdb.btrace/instruction_history.exp: Initialize traced.
9200 Remove traced_functions.
9202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9204 * gdb.btrace/function_call_history.exp: Update
9205 * gdb.btrace/instruction_history.exp: Update.
9207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9209 * gdb.btrace/enable.exp: Update expected text.
9211 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9213 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9216 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9218 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9220 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9222 * lib/gdb.exp (supports_process_record): Return true for
9223 arm*-linux*. (supports_reverse): Likewise.
9225 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9229 * gdb.python/py-type.c: Enhance test case.
9230 * gdb.python/py-value-cc.cc: Likewise
9231 * gdb.python/py-type.exp: Add new tests.
9232 * gdb.python/py-value-cc.exp: Likewise
9234 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9235 Pedro Alves <palves@redhat.com>
9237 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9239 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9240 references to ${name}_start by references to ${name}.
9242 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9244 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9246 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9248 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9250 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9251 Pedro Alves <palves@redhat.com>
9253 * gdb.mi/mi-info-os.exp: Connect to the target with
9256 2014-01-08 Pedro Alves <palves@redhat.com>
9258 * gdb.threads/reconnect-signal.c: New file.
9259 * gdb.threads/reconnect-signal.exp: New file.
9261 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9263 * gdb.base/source-dir.exp: New file.
9265 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9267 * gdb.ada/mi_interface: New testcase.
9269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9271 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9272 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9273 gdb.ada/pp-rec-component/pck.ads: New files.
9275 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9277 * gdb.python/py-pp-integral.c: New file.
9278 * gdb.python/py-pp-integral.py: New file.
9279 * gdb.python/py-pp-integral.exp: New file.
9281 For older changes see ChangeLog-1993-2013.
9287 ;; version-control: never
9290 Copyright 2014-2016 Free Software Foundation, Inc.
9291 Copying and distribution of this file, with or without modification,
9292 are permitted provided the copyright notice and this notice are preserved.