1 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5 (test_setup): Define with proc_with_prefix.
6 (test_cli_inferior): Likewise.
7 (test_cli_thread): Likewise.
8 (test_cli_frame): Likewise.
9 (test_cli_select_frame): Likewise.
10 (test_cli_up_down): Likewise.
11 (test_mi_thread_select): Likewise.
12 (test_mi_stack_select_frame): Likewise.
13 (test_cli_in_mi_inferior): Likewise.
14 (test_cli_in_mi_thread): Likewise.
15 (test_cli_in_mi_frame): Likewise.
16 (top level): Do not use with_test_prefix_procname.
18 2016-11-09 Pedro Alves <palves@redhat.com>
20 * gdb.base/commands.exp (gdbvar_simple_if_test)
21 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
22 (progvar_simple_if_test, progvar_simple_while_test)
23 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
24 (infrun_breakpoint_command_test, breakpoint_command_test)
25 (user_defined_command_test, watchpoint_command_test)
26 (test_command_prompt_position, deprecated_command_test)
27 (bp_deleted_in_command, temporary_breakpoint_commands)
28 (stray_arg0_test, source_file_with_indented_comment)
29 (recursive_source_test, if_commands_test)
30 (error_clears_commands_left, redefine_hook_test)
31 (redefine_backtrace_test): Use proc_with_prefix.
32 * lib/gdb.exp (proc_with_prefix): New proc.
34 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
36 * gdb.base/tui-layout.c: New file.
37 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
38 disassembly window contains very long lines.
40 2016-11-08 Tom Tromey <tom@tromey.com>
42 * gdb.python/py-value.exp (test_value_creation): Make "long" test
45 2016-11-08 Tom Tromey <tom@tromey.com>
47 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
50 2016-10-29 Manish Goregaokar <manish@mozilla.com>
52 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
54 2016-10-27 Manish Goregaokar <manish@mozilla.com>
56 * gdb.rust/simple.rs: Add test for univariant enums without
57 discriminants and for encoded struct-like enums.
59 2016-10-28 Pedro Alves <palves@redhat.com>
61 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
62 gdb_test_multiple, tighten regexps and match symtabs and line
65 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
67 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
70 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
72 * gdb.base/exec-invalid-sysroot.exp: New file.
74 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
76 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
78 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
80 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
82 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
84 * gdb.base/killed-outside.exp: Remove $options from a call to
85 `prepare_for_testing'.
87 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
89 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
92 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
94 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
97 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
99 * gdb.trace/mi-trace-save.exp: New file.
101 2016-10-13 Yao Qi <yao.qi@linaro.org>
103 * gdb.base/code_elim.exp (get_var_address): Remove.
104 * gdb.base/relocate.exp: Likewise.
105 * gdb.base/shreloc.exp: Likewise.
106 * lib/gdb.exp (get_var_address): New.
108 2016-10-13 Yao Qi <yao.qi@linaro.org>
110 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
111 floating point tests if $skip_float_test is false.
113 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
115 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
116 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
118 Add 1 to argc so we guarantee distinct initial/modified argc values.
120 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
122 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
124 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
126 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
127 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
128 * gdb.arch/vsx-regs.exp: Likewise.
130 2016-10-07 Yao Qi <yao.qi@linaro.org>
132 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
134 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
136 * gdb.python/python.exp: Test decode_line("*0").
138 2016-10-06 Doug Evans <dje@google.com>
140 * gdb.python/py-value.exp (test_value_creation): Add test for large
141 unsigned 64-bit value.
143 2016-10-06 Tom Tromey <tom@tromey.com>
145 * gdb.compile/compile.exp: Change java tests to rust.
146 * gdb.base/setshow.exp: Change java tests to rust.
147 * gdb.base/default.exp: Remove java from language list.
148 * README (Examples): Update language example.
149 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
151 * lib/gdb.exp (skip_java_tests): Remove.
152 * lib/java.exp: Remove.
155 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
157 * gdb.arch/mips-fcr.exp: New test.
158 * gdb.arch/mips-fcr.c: Source for the new test.
160 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
162 * gdb.base/solib-disc.exp: Use `standard_output_file'
165 2016-10-06 Pedro Alves <palves@redhat.com>
167 * gdb.base/jit-simple-dl.c: New file.
168 * gdb.base/jit-simple-jit.c: New file, factored out from ...
169 * gdb.base/jit-simple.c: ... this.
170 * gdb.base/jit-simple.exp (jit_run): Delete.
171 (build_jit): New proc.
172 (jit_test_reread): Recompile either the main program or the shared
173 library, depending on what is being tested. Skip changing address
174 if caller wants to. Compare before/after addresses. If testing
175 standalone, explicitly load the binary. Test "maint info
177 (top level): Add "standalone vs shared lib" and "change address"
178 vs "same address" axes.
180 2016-10-06 Pedro Alves <palves@redhat.com>
182 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
185 (jit_test_reread): Use with_test_prefix. Reload the main binary
186 explicitly. Compare the before/after addresses of the JIT
189 2016-08-15 Doug Evans <dje@google.com>
191 * gdb.xml/extra-regs.xml: Update, end field now required, default type
192 for single bitfields is bool.
193 * gdb.xml/tdesc-regs.exp: Ditto.
195 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
197 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
199 2016-10-05 Yao Qi <yao.qi@linaro.org>
201 * lib/gdb.exp (support_complex_tests): Return zero if
202 gdb_skip_float_test return true.
204 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
205 Simon Marchi <simon.marchi@ericsson.com>
208 * gdb.mi/user-selected-context-sync.exp: New file.
209 * gdb.mi/user-selected-context-sync.c: New file.
211 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
212 Simon Marchi <simon.marchi@ericsson.com>
215 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
216 =thread-select-event check.
218 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
220 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
221 the compulsory L operand changes.
222 * gdb.arch/powerpc-power.s: Likewise.
224 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
226 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
227 * gdb.base/jit-attach-pie.c: New file.
228 * gdb.base/jit-attach-pie.exp: New file.
230 2016-09-28 Pedro Alves <palves@redhat.com>
232 * gdb.base/infcall-input.c: New file.
233 * gdb.base/infcall-input.exp: New file.
235 2016-09-22 Yao Qi <yao.qi@linaro.org>
237 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
238 (gdb_exit): Rename it to ...
239 (gdbserver_gdb_exit): ... Close GDBserver.
240 (gdb_exit): New proc, call gdbserver_gdb_exit.
241 (mi_gdb_exit): Likewise.
243 2016-09-22 Yao Qi <yao.qi@linaro.org>
245 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
247 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
250 2016-09-22 Yao Qi <yao.qi@linaro.org>
252 * lib/gdbserver-support.exp: Check the existence of
253 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
255 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
257 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
259 2016-09-21 Tom Tromey <tom@tromey.com>
262 * gdb.base/quit.exp: New file.
264 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
266 * .gitignore: New file.
268 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
270 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
273 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
275 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
277 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
279 * gdb.cp/casts.cc (decltype): Move it ...
280 (main): ... with its call to ...
281 * gdb.cp/casts03.cc: ... a new file.
282 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
284 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
286 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
288 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
290 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
291 and sync up the test with tests in gas/testsuite/gas/ppc.
292 * gdb.arch/powerpc-power.exp: Likewise.
294 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
296 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
298 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
299 Jan Kratochvil <jan.kratochvil@redhat.com>
301 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
302 make m1's definition to be different from m2's. Use 'dummy' as an
303 argument for probe 'two'.
305 2016-09-10 Jon Beniston <jon@beniston.com>
307 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
310 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
312 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
313 variable declaration.
314 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
315 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
316 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
317 received HWCAP as its argument.
319 2016-09-06 Pedro Alves <palves@redhat.com>
321 * gdb.base/new-ui-pending-input.c: New file.
322 * gdb.base/new-ui-pending-input.exp: New file.
323 * gdb.exp (clear_gdb_spawn_id): New procedure.
324 (with_spawn_id): Check whether gdb_spawn_id exists before
325 referencing it. If gdb_spawn_id didn't exist on entry, clear it
328 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
330 * gdb.base/float128.c: New file.
331 * gdb.base/float128.exp: Likewise.
332 * gdb.base/floatn.c: Likewise.
333 * gdb.base/floatn.exp: Likewise.
335 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
337 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
339 2016-09-05 Pedro Alves <palves@redhat.com>
342 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
343 unwinders are immediately called as side effect of "source" or
344 "disable unwinder" commands.
345 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
347 2016-09-02 Yao Qi <yao.qi@linaro.org>
349 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
350 is true and $type is "float" or "double".
352 2016-09-02 Yao Qi <yao.qi@linaro.org>
354 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
356 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
357 * gdb.base/call-rt-st.exp: Likewise.
358 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
359 return value instead of gdb,skip_float_test.
360 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
361 (do_function_calls): Use its return value instead of
363 * gdb.base/finish.exp: Likewise.
364 * gdb.base/funcargs.exp: Likewise.
365 * gdb.base/return.exp: Likewise.
366 * gdb.base/return2.exp: Likewise.
367 * gdb.base/varargs.exp: Likewise.
368 * lib/gdb.exp (gdb_skip_float_test): Change it to
369 gdb_caching_proc. Detect the broken ptrace on arm-linux.
371 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
373 * gdb.multi/tids.exp: Test "thread apply all".
375 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
377 * gdb.base/default.exp (tty): Remove.
379 2016-08-24 Kevin Buettner <kevinb@redhat.com>
381 * gdb.python/py-recurse-unwind.c: New file.
382 * gdb.python/py-recurse-unwind.py: New file.
383 * gdb.python/py-recurse-unwind.exp: New file.
385 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
387 * gdb.base/set-inferior-tty.exp: New file.
388 * gdb.base/set-inferior-tty.c: New file.
390 2016-08-23 Pedro Alves <palves@redhat.com>
393 * gdb.base/new-ui-echo.c: New file.
394 * gdb.base/new-ui-echo.exp: New file.
396 2016-08-23 Yao Qi <yao.qi@linaro.org>
398 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
400 * gdb.server/connect-without-multi-process.exp (do_test):
403 2016-08-23 Yao Qi <yao.qi@linaro.org>
405 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
406 standalone_txt. Delete gdb_txt and standalone_txt on host
407 and target. Spawn the binary on target. Copy files from
410 2016-08-22 Pedro Alves <palves@redhat.com>
413 * gdb.base/vdso-warning.exp: Test core dumps too. Use
414 with_test_prefix. Factor out bits to ...
415 (test_no_vdso): ... this new procedure.
417 2016-08-19 Carl Love <cel@us.ibm.com>
419 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
420 maintaining separate logic for constructing the output path.
421 * gdb.arch/powerpc-d128-regs.exp: Likewise.
422 * gdb.arch/ppc-dfp.exp: Likewise.
423 * gdb.arch/ppc-fp.exp: Likewise.
424 * gdb.arch/vsx-regs.exp: Likewise.
425 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
426 binprefix for generating the additional binary files.
428 2016-08-19 Pedro Alves <palves@redhat.com>
430 * gdb.trace/mi-trace-frame-collected.exp
431 (test_trace_frame_collected): On x32, expect two registers.
433 2016-08-18 Carl Love <cel@us.ibm.com>
435 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
436 and sync up the test with tests in gas/testsuite/gas/ppc.
437 * gdb.arch/powerpc-power.exp: Likewise.
439 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
441 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
442 expected error message.
444 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
446 * gdb.multi/remove-inferiors.exp: New file.
447 * gdb.multi/remove-inferiors.c: New file.
449 2016-08-12 Yao Qi <yao.qi@linaro.org>
451 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
454 2016-08-10 Pedro Alves <palves@redhat.com>
457 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
460 2016-08-09 Pedro Alves <palves@redhat.com>
461 Simon Marchi <simon.marchi@ericsson.com>
464 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
465 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
467 2016-08-09 Pedro Alves <palves@redhat.com>
470 * gdb.mi/mi-cmd-error.exp: New file.
472 2016-08-09 Pedro Alves <palves@redhat.com>
475 * gdb.base/signals-state-child.c: New file.
476 * gdb.base/signals-state-child.exp: New file.
477 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
479 2016-08-09 Pedro Alves <palves@redhat.com>
481 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
483 2016-08-03 Tom Tromey <tom@tromey.com>
486 * gdb.python/py-frame-inline.exp: Add Frame.function test.
488 2016-08-01 Yao Qi <yao.qi@linaro.org>
490 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
491 variable mode to "multi-process" if $multi_process is 1, otherwise
492 set it to "single-process".
494 2016-08-01 Yao Qi <yao.qi@linaro.org>
496 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
497 * gdb.cp/cpexprs.exp: Likewise.
498 * gdb.cp/m-static.exp: Likewise.
500 2016-07-26 Tom Tromey <tom@tromey.com>
503 * gdb.threads/tls.exp (check_thread_local): Add python symbol
506 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
508 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
509 selecting assembly source files.
510 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
511 assembly source files.
512 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
513 assembly source files.
514 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
515 selecting assembly source files.
517 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
519 * gdb.base/new-ui.exp (do_test_invalid_args): New
522 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
524 * gdb.btrace/reconnect.c: New file.
525 * gdb.btrace/reconnect.exp: New file.
527 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
529 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
530 to test_catch_syscall_group.
531 (test_catch_syscall_group): New.
533 2016-07-21 Tom Tromey <tom@tromey.com>
535 * gdb.rust/simple.rs (main): Use empty struct expression.
536 * gdb.rust/simple.exp: Add tests for empty struct expression.
538 2016-07-21 Yao Qi <yao.qi@linaro.org>
540 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
541 if gdb_skip_xml_test is true on some targets.
543 2016-07-21 Yao Qi <yao.qi@linaro.org>
545 * gdb.server/solib-list.exp: Unset last_loaded_file.
547 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
549 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
550 "step into captured_main (args)".
552 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
554 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
556 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
558 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
560 2016-07-19 Pedro Alves <palves@redhat.com>
562 * gdb.opt/inline-break.exp: Remove optimize=-O2.
563 * gdb.opt/inline-bt.exp: Likewise.
564 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
565 additional_flags=-Winline.
566 * gdb.opt/inline-locals.exp: Likewise.
567 * gdb.opt/inline-markers.c (ATTR): Define.
568 (inlined_fn): Use it.
570 2016-07-19 Yao Qi <yao.qi@linaro.org>
572 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
573 (test_with_self): Remove some code. Remove argument executable.
574 (top-level): Use do_self_tests.
576 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
577 Don Breazeal <donb@codesourcery.com>
579 * gdb.base/maint.exp: Escape paths used in regular expressions.
580 * gdb.stabs/weird.exp: Likewise.
582 2016-07-13 Tom Tromey <tom@tromey.com>
584 PR python/15620, PR python/18620:
585 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
586 (test_bkpt_events): New procs.
588 2016-07-13 Tom Tromey <tom@tromey.com>
591 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
593 (test_watchpoints): Likewise.
594 (test_bkpt_pending): New proc.
596 2016-07-13 Tom Tromey <tom@tromey.com>
599 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
602 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
605 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
606 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
608 (g): Rename g_end_lbl to g_label.
609 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
611 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
613 2016-07-12 Tom Tromey <tom@tromey.com>
616 * gdb.python/py-unwind-maint.exp: Update tests.
618 2016-07-12 Yao Qi <yao.qi@linaro.org>
620 * lib/selftest-support.exp (selftest_setup): Match the output
621 when captured_main is inlined.
623 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
625 * gdb.fortran/derived-types.exp (result_line, result_line_2):
627 (print this%a, print this%b, print this): New tests.
628 * gdb.fortran/derived-types.f90 (this): New object and
631 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
633 * gdb.ada/arraydim.exp: Remove extra directory level in build
636 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
638 * lib/ada.exp: Remove extra directory level in build directory.
639 * gdb.ada/cond_lang.exp: Likewise.
640 * gdb.ada/exec_changed.exp: Likewise.
641 * gdb.ada/lang_switch.exp: Likewise.
643 2016-07-06 Manish Goregaokar <manish@mozilla.com>
645 * simple.rs: Add test for raw pointer subscripting.
646 * simple.exp: Add test expectations.
648 2016-07-05 Yao Qi <yao.qi@linaro.org>
650 * gdb.mi/mi-reverse.exp: Match =record-started output.
652 2016-07-01 Pedro Alves <palves@redhat.com>
654 * gdb.base/jit-reader.exp (info_registers_current_frame): New
656 (jit_reader_test): Test the jit reader's unwinder.
657 * gdb.base/jithost.c (jit_function_00_code): New global.
658 (main): Use memcpy to fill in the mmapped code, instead of poking
660 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
662 (read_debug_info): Save the function's range.
663 (read_sp): New function.
664 (unwind_frame): Use it. Also unwind RBP.
665 (get_frame_id): Use read_sp.
666 (gdb_init_reader): Use calloc instead of malloc.
667 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
668 parameter. Use gdb_test_multiple.
670 2016-07-01 Pedro Alves <palves@redhat.com>
671 Antoine Tremblay <antoine.tremblay@ericsson.com>
673 * gdb.threads/process-dies-while-detaching.c: New file.
674 * gdb.threads/process-dies-while-detaching.exp: New file.
676 2016-07-01 Pedro Alves <palves@redhat.com>
678 * gdb.multi/watchpoint-multi-exit.c: New file.
679 * gdb.multi/watchpoint-multi-exit.exp: New file.
681 2016-06-30 Pedro Alves <palves@redhat.com>
683 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
684 unset inferior_spawn_id.
686 2016-06-30 Pedro Alves <palves@redhat.com>
688 * lib/mi-support.exp (default_mi_gdb_start): Declare global
689 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
691 2016-06-29 Yao Qi <yao.qi@linaro.org>
693 * gdb.base/return.c: Add copyright header.
695 2016-06-29 Tom Tromey <tom@tromey.com>
698 * gdb.python/py-framefilter.exp: Add tests for setting priority
699 and disabling of non-existent frame filter.
701 2016-06-29 Yao Qi <yao.qi@linaro.org>
703 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
706 2016-06-28 Yao Qi <yao.qi@linaro.org>
708 * gdb.base/catch-syscall.exp: Remove check on isnative and target
709 triplets. Start gdb, execute catch syscall, and continue. Check
710 gdb's output to determine catch syscall is supported.
712 2016-06-27 Manish Goregaokar <manish@mozilla.com>
714 * gdb.rust/simple.rs: Add test for returning unit in a function.
715 * gdb.rust/simple.exp: Add expectation for functions returning
718 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
720 * gdb.python/py-breakpoint-create-fail.c,
721 gdb.python/py-breakpoint-create-fail.exp,
722 gdb.python/py-breakpoint-create-fail.py: New testcase.
724 2016-06-25 Manish Goregaokar <manish@mozilla.com>
727 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
728 * gdb.rust/simple.exp: Add test expectations for new NonZero
731 2016-06-24 David Taylor <dtaylor@emc.com>
733 * gdb.base/offsets.exp: New file.
734 * gdb.base/offsets.c: New file.
736 2016-06-23 Tom Tromey <tom@tromey.com>
739 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
740 before any filters are loaded.
742 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
744 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
745 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
747 * gdb.fortran/derived-type-function.exp: New file.
748 * gdb.fortran/derived-type-function.f90: New file.
751 2016-06-21 Pedro Alves <palves@redhat.com>
753 * gdb.base/new-ui.exp: New file.
754 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
755 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
756 (with_spawn_id): New procedure.
758 2016-06-21 Pedro Alves <palves@redhat.com>
760 * gdb.mi/mi-exec-run.exp: New file.
762 2016-06-21 Pedro Alves <palves@redhat.com>
764 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
765 breakpoint command's output on the main UI.
766 (test_break): New procedure, factored out from calls in the top
768 (top level): Use foreach_with_prefix to test MI as main UI and as
771 2016-06-21 Pedro Alves <palves@redhat.com>
773 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
774 (test_awatch_creation_and_listing)
775 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
776 Remove 'type' parameter.
777 (test_watchpoint_all): New parameter mi_mode. Remove
779 (top level): Use foreach_with_prefix, and add main/separate UI MI
782 2016-06-21 Pedro Alves <palves@redhat.com>
784 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
785 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
786 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
787 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
788 (gdb_main_spawn_id, mi_spawn_id): Declare and
790 (mi_create_inferior_pty): New procedure,
791 factored out from default_mi_gdb_start.
792 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
794 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
795 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
796 Use mi_create_inferior_pty.
797 (mi_gdb_start): Use eval to pass down args list.
799 2016-06-21 Pedro Alves <palves@redhat.com>
801 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
802 * gdb.opt/inline-cmds.exp: Add MI tests.
804 2016-06-21 Pedro Alves <palves@redhat.com>
806 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
808 2016-06-21 Pedro Alves <palves@redhat.com>
810 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
811 (top level): Use it instead of mi_execute_to.
813 2016-06-21 Pedro Alves <palves@redhat.com>
815 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
816 (cont_handler_str): New.
817 (signal_stop_handler): Set stop_handler_str instead of printing to
819 (continue_handler): Set cont_handler_str instead of printing to
821 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
822 mi_send_resuming_command. Print stop_handler_str and
823 cont_handler_str instead of expecting the python events print
826 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
828 * gdb.base/jit-reader.exp: New file.
829 * gdb.base/jithost.c: New file.
830 * gdb.base/jithost.h: New file.
831 * gdb.base/jitreader.c : New file.
832 * gdb.base/jit-protocol.h: New file.
834 2016-06-17 Yao Qi <yao.qi@linaro.org>
836 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
837 parameters follow_fork and detach_on_fork. Set follow-fork-mode
838 and detach-on-fork. Adjust tests.
839 (top level): Invoke break_cond_on_syscall with combinations of
840 syscall, follow-fork-mode and detach-on-fork.
842 2016-06-17 Yao Qi <yao.qi@linaro.org>
844 * gdb.base/step-over-exit.c: New.
845 * gdb.base/step-over-exit.exp: New.
847 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
849 * gdb.base/float.exp: Add target check for nds32*-*-*.
850 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
852 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
854 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
855 for unsupported target features.
856 * gdb.base/call-rt-st.exp: Likewise.
857 * gdb.base/call-sc.exp: Likewise.
858 * gdb.base/call-signal-resume.exp: Likewise.
859 * gdb.base/call-strs.exp: Likewise.
860 * gdb.base/callexit.exp: Likewise.
861 * gdb.base/callfuncs.exp: Likewise.
862 * gdb.base/nodebug.exp: Likewise.
863 * gdb.base/printcmds.exp: Likewise.
864 * gdb.base/ptype.exp: Likewise.
865 * gdb.base/structs.exp: Likewise.
866 * gdb.base/unwindonsignal.exp: Likewise.
867 * gdb.cp/gdb2495.exp: Likewise.
868 * gdb.cp/templates.exp: Likewise.
869 * gdb.cp/virtfunc.exp: Likewise.
870 * gdb.threads/hand-call-in-threads.exp: Likewise.
871 * gdb.threads/interrupted-hand-call.exp: Likewise.
872 * gdb.threads/thread-unwindonsignal.exp: Likewise.
874 2016-06-10 Tom Tromey <tom@tromey.com>
877 * gdb.rust/expr.exp: Add test for integer constant larger than
880 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
882 * gdb.fortran/nested-funcs.exp: New.
883 * gdb.fortran/nested-funcs.f90: New.
885 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
887 * gdb.base/examine-backward.c: New file.
888 * gdb.base/examine-backward.exp: New file.
890 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
892 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
895 2016-06-02 Tom Tromey <tom@tromey.com>
898 * gdb.python/py-shared.exp: Add solib_name test.
900 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
902 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
904 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
907 * gdb.dwarf2/implref.exp: Rename to...
908 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
909 * gdb.dwarf2/implref-array.c: New file.
910 * gdb.dwarf2/implref-array.exp: Likewise.
911 * gdb.dwarf2/implref-global.c: Likewise.
912 * gdb.dwarf2/implref-global.exp: Likewise.
913 * gdb.dwarf2/implref-struct.c: Likewise.
914 * gdb.dwarf2/implref-struct.exp: Likewise.
916 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
918 * gdb.trace/trace-condition.exp: Add 64bit tests.
920 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
922 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
924 (main): Adapt to 8 to 64 bits types.
925 * gdb.trace/trace-condition.exp: Add new tests.
927 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
929 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
931 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
933 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
934 Move condition tests...
935 * gdb.trace/trace-condition.exp: Here.
937 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
939 * gdb.trace/trace-condition.exp: Add counter-case tests.
941 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
944 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
945 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
947 2016-05-27 Pedro Alves <palves@redhat.com>
949 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
951 (top level): Call it, and bail out of DejaGnu is known to be bad.
953 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
955 * gdb.base/whatis.c: Extend the test case.
956 * gdb.base/whatis.exp: Add additional tests.
958 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
960 * gdb.fortran/type.f90: Add pointer variable.
961 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
963 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
965 * gdb.fortran/vla-type.exp: Fix testcase name.
967 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
969 * gdb.fortran/vla-type.exp: Access elements in nested structs.
971 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
973 * gdb.fortran/type.f90: Add nested structures.
974 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
975 * gdb.fortran/derived-type.exp: Adapt expected output.
976 * gdb.fortran/vla-type.exp: Adapt expected output.
978 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
980 * gdb.fortran/whatis_type.exp: Adapt expected output.
982 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
984 * gdb.fortran/print_type.exp: Fix expected output.
985 * gdb.fortran/whatis_type.exp: Fix expected output.
987 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
989 * gdb.fortran/whatis_type.exp: Use multi_line.
991 2016-05-24 Tom Tromey <tom@tromey.com>
994 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
995 use value as an index.
997 2016-05-23 Tom Tromey <tom@tromey.com>
1000 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1003 2016-05-24 Pedro Alves <palves@redhat.com>
1006 * gdb.threads/clone-attach-detach.c: New file.
1007 * gdb.threads/clone-attach-detach.exp: New file.
1009 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1011 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1013 2016-05-23 Tom Tromey <tom@tromey.com>
1015 PR python/19438, PR python/18393:
1016 * gdb.python/py-progspace.exp: Add "dir" test.
1017 * gdb.python/py-objfile.exp: Add "dir" test.
1019 2016-05-23 Yao Qi <yao.qi@linaro.org>
1021 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1022 * gdb.arch/thumb2-it.exp: Likewise.
1024 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1026 * gdb.mi/mi-threads-interrupt.c: New file.
1027 * gdb.mi/mi-threads-interrupt.exp: New file.
1029 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1032 * gdb.mi/mi-async-run.exp: New file.
1033 * gdb.mi/mi-async-run.c: New file.
1035 2016-05-17 Tom Tromey <tom@tromey.com>
1036 Manish Goregaokar <manishsmail@gmail.com>
1038 * lib/rust-support.exp: New file.
1039 * lib/gdb.exp (skip_rust_tests): New proc.
1040 (build_executable_from_specs): Handle rust.
1041 * lib/future.exp (gdb_find_rustc): New proc.
1042 (gdb_default_target_compile): Handle rust.
1043 * gdb.rust/expr.exp: New file.
1044 * gdb.rust/generics.exp: New file.
1045 * gdb.rust/generics.rs: New file.
1046 * gdb.rust/methods.exp: New file.
1047 * gdb.rust/methods.rs: New file.
1048 * gdb.rust/modules.exp: New file.
1049 * gdb.rust/modules.rs: New file.
1050 * gdb.rust/simple.exp: New file.
1051 * gdb.rust/simple.rs: New file.
1053 2016-05-17 Tom Tromey <tom@tromey.com>
1055 * gdb.base/default.exp (set language): Add rust.
1057 2016-05-17 Tom Tromey <tom@tromey.com>
1059 * gdb.gdb/unittest.exp: New file.
1061 2016-05-16 Yao Qi <yao.qi@linaro.org>
1063 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1064 shell_prompt. Update shell_prompt_re.
1066 2016-05-12 Doug Evans <dje@google.com>
1069 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1070 $options when building executable.
1071 * gdb.dwarf2/fission-loclists-pie.S: New file.
1072 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1074 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1076 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1077 of [is_remote target],
1079 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1081 * lib/gdb.exp (use_gdb_stub): New procedure.
1083 2016-05-03 Yunlian Jiang <yunlian@google.com>
1084 Doug Evans <dje@google.com>
1087 * gdb.dwarf2/dwp-sepdebug.c: New file.
1088 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1090 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1092 * gdb.base/detach.exp: Remove is_remote check.
1094 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1096 * gdb.base/annota-input-while-running.exp: Don't check for
1097 [is_remote target]. Enable annotations after running to main.
1098 Remove unused "set test..." line.
1100 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1102 * gdb.trace/trace-enable-disable.exp: New file.
1103 * gdb.trace/trace-enable-disable.c: New file.
1105 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1107 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1108 use it in info sharedlibrary test.
1109 * gdb.trace/ftrace-lock.exp: Likewise.
1110 * gdb.trace/ftrace.exp: Likewise.
1111 * gdb.trace/range-stepping.exp: Likewise.
1112 * gdb.trace/trace-break.exp: Likewise.
1113 * gdb.trace/trace-condition.exp: Likewise.
1114 * gdb.trace/trace-mt.exp: Likewise.
1116 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1118 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1119 (gdb_load_shlib): ... this.
1120 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1122 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1123 * gdb.base/ctxobj.exp: Likewise.
1124 * gdb.base/dprintf-pending.exp: Likewise.
1125 * gdb.base/dso2dso.exp: Likewise.
1126 * gdb.base/fixsection.exp: Likewise.
1127 * gdb.base/gcore-relro.exp: Likewise.
1128 * gdb.base/gdb1555.exp: Likewise.
1129 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1130 * gdb.base/gnu-ifunc.exp: Likewise.
1131 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1132 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1133 * gdb.base/pending.exp: Likewise.
1134 * gdb.base/print-file-var.exp: Likewise.
1135 * gdb.base/print-symbol-loading.exp: Likewise.
1136 * gdb.base/shlib-call.exp: Likewise.
1137 * gdb.base/shreloc.exp: Likewise.
1138 * gdb.base/so-impl-ld.exp: Likewise.
1139 * gdb.base/solib-disc.exp: Likewise.
1140 * gdb.base/solib-nodir.exp: Likewise.
1141 * gdb.base/solib-overlap.exp: Likewise.
1142 * gdb.base/solib-symbol.exp: Likewise.
1143 * gdb.base/solib-weak.exp (do_test): Likewise.
1144 * gdb.base/sym-file.exp: Likewise.
1145 * gdb.base/symtab-search-order.exp: Likewise.
1146 * gdb.base/type-opaque.exp: Likewise.
1147 * gdb.base/unload.exp: Likewise.
1148 * gdb.base/watchpoint-solib.exp: Likewise.
1149 * gdb.compile/compile.exp: Likewise.
1150 * gdb.cp/gdb2384.exp: Likewise.
1151 * gdb.cp/infcall-dlopen.exp: Likewise.
1152 * gdb.cp/re-set-overloaded.exp: Likewise.
1153 * gdb.fortran/library-module.exp: Likewise.
1154 * gdb.opt/solib-intra-step.exp: Likewise.
1155 * gdb.python/py-finish-breakpoint.exp: Likewise.
1156 * gdb.python/py-shared.exp: Likewise.
1157 * gdb.reverse/solib-precsave.exp: Likewise.
1158 * gdb.reverse/solib-reverse.exp: Likewise.
1159 * gdb.server/solib-list.exp: Likewise.
1160 * gdb.threads/dlopen-libpthread.exp: Likewise.
1161 * gdb.threads/tls-shared.exp: Likewise.
1162 * gdb.threads/tls-so_extern.exp: Likewise.
1163 * gdb.trace/change-loc.exp: Likewise.
1164 * gdb.trace/ftrace-lock.exp: Likewise.
1165 * gdb.trace/ftrace.exp: Likewise.
1166 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1167 * gdb.trace/pending.exp: Likewise.
1168 * gdb.trace/range-stepping.exp: Likewise.
1169 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1170 (strace_info_marker): Likewise.
1171 (strace_probe_marker): Likewise.
1172 (strace_trace_on_same_addr): Likewise.
1173 (strace_trace_on_diff_addr): Likewise.
1174 * gdb.trace/trace-break.exp: Likewise.
1175 * gdb.trace/trace-condition.exp: Likewise.
1176 * gdb.trace/trace-mt.exp: Likewise.
1178 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1180 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1181 result of gdb_remote_download.
1182 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1183 * gdb.base/dso2dso.exp: Likewise.
1184 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1185 * gdb.base/print-file-var.exp: Likewise.
1186 * gdb.base/shlib-call.exp: Likewise.
1187 * gdb.base/shreloc.exp: Likewise.
1188 * gdb.base/solib-overlap.exp: Likewise.
1189 * gdb.base/solib-weak.exp (do_test): Likewise.
1190 * gdb.base/unload.exp: Likewise.
1192 2016-04-27 Yao Qi <yao.qi@linaro.org>
1194 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1197 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1199 * vla-type.exp: Print structure from toplevel.
1201 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1203 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1205 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1208 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1210 * gdb.fortran/vla-type.f90: New file.
1211 * gdb.fortran/vla-type.exp: New file.
1213 2016-04-25 Yao Qi <yao.qi@linaro.org>
1215 * gdb.base/branch-to-self.c: New file.
1216 * gdb.base/branch-to-self.exp: New file.
1218 2016-04-22 Yao Qi <yao.qi@linaro.org>
1220 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1223 2016-04-22 Yao Qi <yao.qi@linaro.org>
1225 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1226 * gdb.base/annota3.exp: Likewise.
1228 2016-04-22 Yao Qi <yao.qi@linaro.org>
1230 * gdb.reverse/step-precsave.exp: Do one step and test program
1231 stops in "callee" and do multiple steps until program goes out
1233 * gdb.reverse/step-reverse.exp: Likewise.
1235 2016-04-22 Yao Qi <yao.qi@linaro.org>
1237 * gdb.trace/signal.exp: Also pass if
1238 $tracepoint_hits($i) > $iterations.
1240 2016-04-22 Yao Qi <yao.qi@linaro.org>
1242 * gdb.trace/signal.c: New file.
1243 * gdb.trace/signal.exp: New file.
1245 2016-04-19 Doug Evans <xdje42@gmail.com>
1247 * gdb.base/bad-file.exp: New file.
1249 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1251 * gdb.dwarf2/implref.exp: New file.
1253 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1255 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1256 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1257 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1258 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1259 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1260 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1261 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1262 * lib/fortran.exp (fortran_int4): New procedure.
1263 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1264 (fortran_logical4): Likewise.
1266 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1268 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1270 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1272 * lib/compiler.c: Add Intel specific preprocessor macros.
1273 * lib/compiler.cc: Likewise.
1275 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1277 * gdb.server/connect-with-no-symbol-file.c: New file.
1278 * gdb.server/connect-with-no-symbol-file.exp: New file.
1280 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1282 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1284 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1286 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1287 standard output directory.
1289 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1291 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1293 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1295 * gdb.btrace/instruction_history.c (loop): Add declaration.
1297 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1299 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1301 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1303 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1304 parentheses to print.
1305 (continue_handler): Likewise.
1307 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1309 * gdb.server/solib-list.exp: Remove is_remote check.
1310 Pass shlib= to gdb_compile. Don't link shared library with
1311 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1312 Run binary filename through "readlink -f" on the target.
1314 2016-04-08 Pedro Alves <palves@redhat.com>
1316 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1317 interpreter filename as argument to gdbserver_spawn.
1318 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1319 Return empty if $last_loaded_file does not exist.
1321 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1324 * gdb.base/jit-main.c: Use exit after usage.
1326 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1328 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1329 GDBHISTSIZE prior to the tests.
1330 * gdb.base/gdbinit-history.exp: Likewise.
1332 2016-04-07 Pedro Alves <palves@redhat.com>
1334 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1335 instead of build_executable. Use gdb_load_shlibs.
1337 2016-04-07 Yao Qi <yao.qi@linaro.org>
1339 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1340 Execute "si" command.
1342 2016-04-07 Yao Qi <yao.qi@linaro.org>
1344 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1345 number instead of the comments on some line.
1347 2016-04-06 Don Breazeal <donb@codesourcery.com>
1349 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1350 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1352 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1354 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1355 standard_output_file. Remove unused binfile variable.
1357 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1359 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1360 * gdb.python/py-mi-objfile.exp: Match "list main" output
1363 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1365 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1368 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1370 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1372 * gdb.trace/ftrace.exp: Likewise.
1373 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1375 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1376 (gdb_load_shlibs): Copy libraries to test directory when testing
1377 natively. Only set solib-search-path if testing remotely.
1378 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1380 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1382 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1383 gdb_download. Use it even if the target is not remote.
1384 * gdb.base/jit.exp (compile_jit_test): Likewise.
1385 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1386 output directory if the destination board is local, otherwise use
1387 the standard remote_download from DejaGnu.
1388 (gdb_download): Remove.
1389 (gdb_load_shlibs): Use gdb_remote_download instead of
1391 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1392 Use gdb_remote_download instead of gdb_download. Use it even if
1393 the target is not remote.
1394 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1395 instead of gdb_download.
1397 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1399 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1400 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1403 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1406 * gdb.base/printcmds.exp: Add artificial arrays tests.
1408 2016-03-31 Pedro Alves <palves@redhat.com>
1411 * gdb.base/jit-main.c: Include unistd.h.
1412 (ATTACH): Define to 0 if not already defined.
1413 (wait_for_gdb, mypid): New globals.
1414 (WAIT_FOR_GDB): New macro.
1415 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1416 some breakpoint locations.
1417 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1419 (one_jit_test): Add REATTACH parameter, and handle it. Use
1420 continue_to_test_location.
1421 (top level): Test attach, and adjusts calls to one_jit_test.
1423 2016-03-31 Pedro Alves <palves@redhat.com>
1426 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1427 BINSUFFIX parameter, and handle it.
1428 (top level): Adjust calls compile_jit_test.
1430 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1433 * gdb.python/py-mi-events-gdb.py: New file.
1434 * gdb.python/py-mi-events.c: New file.
1435 * gdb.python/py-mi-events.exp: New file.
1437 2016-03-30 Yao Qi <yao.qi@linaro.org>
1439 * gdb.reverse/until-precsave.exp: Match function name only.
1440 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1441 Move malloc to a condition block.
1442 * gdb.reverse/until-reverse.exp: Match function name only.
1444 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1446 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1447 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1448 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1449 variable for GPR 0 instead of assuming it is register 0.
1450 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1451 * lib/trace-support.exp: Add s390 registers.
1453 2016-03-29 Yao Qi <yao.qi@linaro.org>
1455 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1457 2016-03-24 Yao Qi <yao.qi@linaro.org>
1459 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1462 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1464 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1465 maintaining separate logic for constructing the output path.
1467 2016-03-16 Don Breazeal <donb@codesourcery.com>
1469 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1470 Retry fork and waitpid on interrupted system call errors.
1471 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1472 Use with_timeout_factor to increase timeout by factor of 10.
1474 2016-03-15 Don Breazeal <donb@codesourcery.com>
1476 * gdb.cp/scope-err.cc: New test program.
1477 * gdb.cp/scope-err.exp: New test script.
1478 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1479 lines and "set breakpoint here" comment.
1480 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1481 Fixed some whitespace and format issues.
1482 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1483 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1485 2016-03-15 Doug Evans <dje@google.com>
1487 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1488 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1489 All callers updated. Add tests for enums, mixed flags register.
1491 2016-03-15 Doug Evans <dje@google.com>
1493 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1494 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1496 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1498 * gdb.base/default.exp: Add $_as_string to the list of expected
1499 convenience functions.
1501 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1503 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1505 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1507 * gdb.python/py-as-string.exp: New file.
1508 * gdb.python/py-as-string.c: New file.
1510 2016-03-09 Pedro Alves <palves@redhat.com>
1512 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1513 signal" -> "Thread NN received signal" output change.
1514 * gdb.threads/ia64-sigill.exp: Likewise.
1515 * gdb.threads/linux-dp.exp: Likewise.
1516 * gdb.threads/manythreads.exp: Likewise.
1517 * gdb.threads/pending-step.exp: Likewise.
1518 * gdb.threads/print-threads.exp: Likewise.
1519 * gdb.threads/sigstep-threads.exp: Likewise.
1520 * gdb.threads/staticthreads.exp: Likewise.
1521 * gdb.threads/tls.exp: Likewise.
1523 2016-03-09 Pedro Alves <palves@redhat.com>
1525 * gdb.base/command-line-input.exp: New file.
1527 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1529 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1530 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1531 * gdb.trace/pending.exp: Accept leading dot before function name.
1532 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1533 * lib/trace-support.exp: Set registers for ppc.
1535 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1537 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1538 use it for disassembly; accept .main in addition to main in backtrace.
1540 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1541 Marcin Kościelnicki <koriakin@0x04.net>
1543 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1544 (gdb_recursion_test_ptr): New global variable.
1545 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1547 (gdb_c_test): Ditto.
1549 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1551 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1554 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1556 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1557 (bar): Add bar_start_lbl label.
1558 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1559 of foo/bar for emitting DWARF and tracing.
1561 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1563 * analyze-racy-logs.py: Set executable bit.
1565 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1567 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1568 (CHECK_TARGET_TMP): Likewise.
1569 (check-single-racy): New rule.
1570 (check-parallel-racy): Likewise.
1571 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1572 (do-check-parallel-racy): New rule.
1573 (check-racy/%.exp): Likewise.
1574 * README (Racy testcases): New section.
1575 * analyze-racy-logs.py: New file.
1577 2016-03-03 Doug Evans <dje@google.com>
1579 * gdb.base/skip.exp: Use with_test_prefix.
1581 2016-03-03 Yao Qi <yao.qi@linaro.org>
1583 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1584 Invoke step_over_syscall "clone" and break_cond_on_syscall
1586 * gdb.base/step-over-clone.c: New file.
1588 2016-03-03 Yao Qi <yao.qi@linaro.org>
1590 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1593 2016-03-03 Yao Qi <yao.qi@linaro.org>
1595 * gdb.base/disp-step-fork.c: Rename to ...
1596 * gdb.base/step-over-fork.c: ... it. New file.
1597 * gdb.base/disp-step-vfork.c: Rename to ...
1598 * gdb.base/step-over-vfork.c: ... it. New file.
1599 * gdb.base/disp-step-syscall.exp: Rename to ...
1600 * gdb.base/step-over-syscall.exp: ... it. New file.
1601 (disp_step_cross_syscall): Rename to ...
1602 (step_over_syscall): ... it.
1604 2016-03-03 Yao Qi <yao.qi@linaro.org>
1606 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1607 If target supports condition evaluation on target, invoke
1608 break_cond_on_syscall for fork and vfork.
1610 2016-03-03 Yao Qi <yao.qi@linaro.org>
1612 * gdb.base/disp-step-syscall.exp: Don't invoke
1613 support_displaced_stepping.
1614 (disp_step_cross_syscall): Test with displaced stepping off and
1617 2016-03-03 Yao Qi <yao.qi@linaro.org>
1619 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1622 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1625 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1627 * gdb.fortran/vla-history.exp: Remove breakpoint.
1629 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1631 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1634 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1636 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1639 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1641 * gdb.mi/vla.f90: Nullify pointer after declaration.
1643 2016-03-01 Pedro Alves <palves@redhat.com>
1645 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1647 2016-03-01 Pedro Alves <palves@redhat.com>
1649 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1650 before anything else.
1651 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1653 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1654 before anything else.
1655 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1657 2016-03-01 Pedro Alves <palves@redhat.com>
1659 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1661 2016-03-01 Yao Qi <yao.qi@linaro.org>
1663 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1664 prepare_for_testing.
1666 2016-03-01 Yao Qi <yao.qi@linaro.org>
1668 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1670 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1672 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1673 manually constructing the output path.
1675 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1677 * gdb.arch/s390-stackless.S: New.
1678 * gdb.arch/s390-stackless.exp: New.
1680 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1682 * gdb.dlang/circular.c: New file.
1683 * gdb.dlang/circular.exp: New file.
1685 2016-02-26 Yao Qi <yao.qi@linaro.org>
1687 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1688 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1689 (testcases): Update.
1691 2016-02-26 Yao Qi <yao.qi@linaro.org>
1693 * gdb.reverse/aarch64.c: Rename to ...
1694 * gdb.reverse/insn-reverse.c: ... it.
1695 * gdb.reverse/aarch64.exp: Rename to ...
1696 * gdb.reverse/insn-reverse.exp: ... it.
1698 2016-02-26 Yao Qi <yao.qi@linaro.org>
1700 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1701 (testcase_ftype): New.
1702 (testcases): New array.
1704 (main): Call each element in testcases.
1705 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1706 (read_testcase): New.
1707 Do the tests in a loop.
1709 2016-02-25 Yao Qi <yao.qi@linaro.org>
1711 * gdb.base/branches.c: Remove.
1713 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1716 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1718 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1720 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1722 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1724 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1725 change x86_64 call_insn to 'callq'.
1727 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1729 * gdb.trace/tfile-avx.c: Move to...
1730 * gdb.trace/tracefile-pseudo-reg.c: Here.
1731 * gdb.trace/tfile-avx.exp: Move to...
1732 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1734 2016-02-24 Gary Benson <gbenson@redhat.com>
1736 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1739 2016-02-23 Doug Evans <dje@google.com>
1741 * gdb.base/skip.c (test_skip): New function.
1742 (end_test_skip_file_and_function): New function.
1743 (test_skip_file_and_function): New function.
1744 * gdb.base/skip1.c (test_skip): New function.
1745 (skip1_test_skip_file_and_function): New function.
1746 * gdb.base/skip.exp: Add tests for new skip options.
1747 * gdb.base/skip-solib.exp: Update expected output.
1748 * gdb.perf/skip-command.cc: New file.
1749 * gdb.perf/skip-command.exp: New file.
1750 * gdb.perf/skip-command.py: New file.
1752 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1754 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1755 info registers pattern.
1757 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1759 * lib/future.exp: Add D support.
1760 (gdb_find_gdc): New proc.
1761 (gdb_default_target_compile): Add D support.
1763 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1765 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1767 (trace_speed_test): Determine the iteration count for a time
1768 between 15..30 seconds.
1770 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1772 * gdb.arch/i386-mpx-sigsegv.c: New file.
1773 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1774 * gdb.arch/i386-mpx-simple_segv.c: New file.
1775 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1777 2016-02-18 Yao Qi <yao.qi@linaro.org>
1779 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1780 Don't call setup_kfail.
1782 2016-02-18 Yao Qi <yao.qi@linaro.org>
1784 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1785 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1787 2016-02-16 Doug Evans <dje@google.com>
1789 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1790 * gdb.base/skip1.c: Ditto.
1791 * gdb.base/skip.exp: Whitespace cleanup.
1793 2016-02-16 Don Breazeal <donb@codesourcery.com>
1796 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1797 Remove kfail for PR remote/19496.
1799 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1801 * lib/gdb.exp (standard_temp_file): Return a path specific to
1802 the runtest invocation.
1804 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1806 * gdb.trace/save-trace.exp: Change relative path to be in the
1807 standard output directory.
1809 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1811 * gdb.arch/i386-prologue.c: Add missing prototypes.
1813 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1815 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1816 * gdb.arch/i386-prologue.exp: Likewise.
1817 * gdb.arch/i386-size.exp: Likewise.
1819 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1821 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1822 define object file path.
1823 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1825 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1826 standard_output_file to define binfile.
1828 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 Fix compatibility with recent gfortran-5.3.1.
1831 * gdb.fortran/vla-history.exp (print vla1 allocated)
1832 (print vla2 allocated, print $2, print $3): Remove
1833 (print $4): Rename to ...
1834 (print $2): ... here.
1835 (print $9): Rename to ...
1836 (print $5): ... here.
1837 (print $10): Rename to ...
1838 (print $6): ... here.
1839 * gdb.fortran/vla.f90: Add pvla initialization.
1841 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1843 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1845 * gdb.fortran/vla-value-sub.exp: Likewise.
1847 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1849 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1851 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1853 * i386-biarch-core.exp: Define corefile using
1854 standard_output_file.
1856 2016-02-12 Yao Qi <yao.qi@linaro.org>
1858 * gdb.arch/arm-single-step-kernel-helper.c: New.
1859 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1861 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1863 * gdb.btrace/tailcall-only.exp: New.
1864 * gdb.btrace/tailcall-only.c: New.
1865 * gdb.btrace/x86_64-tailcall-only.S: New.
1866 * gdb.btrace/i686-tailcall-only.S: New.
1868 2016-02-11 Pedro Alves <palves@redhat.com>
1870 * README (Parallel testing): Add missing double quotes.
1872 2016-02-11 Pedro Alves <palves@redhat.com>
1874 * README (Parallel testing): New section.
1875 (GDB_PARALLEL): Rewrite.
1876 (FORCE_PARALLEL): Document.
1878 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1880 * gdb.trace/tfile-avx.c: New test.
1881 * gdb.trace/tfile-avx.exp: New test.
1883 2016-02-09 Keith Seitz <keiths@redhat.com>
1885 PR breakpoints/19546
1886 * gdb.base/infcall-exec.c: New file.
1887 * gdb.base/infcall-exec2.c: New file.
1888 * gdb.base/infcall-exec.exp: New file.
1890 2016-02-09 Keith Seitz <keiths@redhat.com>
1892 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1893 (toplevel): Call test_bkpt_address.
1895 2016-02-09 Keith Seitz <keiths@redhat.com>
1898 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1899 (toplevel): Call test_bkpt_address.
1901 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1903 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1905 * configure: Regenerate.
1907 2016-02-09 Pedro Alves <palves@redhat.com>
1909 PR breakpoints/19548
1910 * gdb.base/execl-update-breakpoints.c (some_function): New
1913 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1914 Tighten expected GDB output.
1916 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1918 * Makefile.in (ALL_SUBDIRS): Remove.
1919 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1920 (distclean maintainer-clean realclean): Likewise.
1921 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1922 * configure: Regenerate.
1923 * gdb.ada/Makefile.in: Delete.
1924 * gdb.arch/Makefile.in: Likewise.
1925 * gdb.asm/Makefile.in: Likewise.
1926 * gdb.base/Makefile.in: Likewise.
1927 * gdb.btrace/Makefile.in: Likewise.
1928 * gdb.cell/Makefile.in: Likewise.
1929 * gdb.compile/Makefile.in: Likewise.
1930 * gdb.cp/Makefile.in: Likewise.
1931 * gdb.disasm/Makefile.in: Likewise.
1932 * gdb.dlang/Makefile.in: Likewise.
1933 * gdb.dwarf2/Makefile.in: Likewise.
1934 * gdb.fortran/Makefile.in: Likewise.
1935 * gdb.gdb/Makefile.in: Likewise.
1936 * gdb.go/Makefile.in: Likewise.
1937 * gdb.guile/Makefile.in: Likewise.
1938 * gdb.java/Makefile.in: Likewise.
1939 * gdb.linespec/Makefile.in: Likewise.
1940 * gdb.mi/Makefile.in: Likewise.
1941 * gdb.modula2/Makefile.in: Likewise.
1942 * gdb.multi/Makefile.in: Likewise.
1943 * gdb.objc/Makefile.in: Likewise.
1944 * gdb.opencl/Makefile.in: Likewise.
1945 * gdb.opt/Makefile.in: Likewise.
1946 * gdb.pascal/Makefile.in: Likewise.
1947 * gdb.perf/Makefile.in: Likewise.
1948 * gdb.python/Makefile.in: Likewise.
1949 * gdb.reverse/Makefile.in: Likewise.
1950 * gdb.server/Makefile.in: Likewise.
1951 * gdb.stabs/Makefile.in: Likewise.
1952 * gdb.threads/Makefile.in: Likewise.
1953 * gdb.trace/Makefile.in: Likewise.
1954 * gdb.xml/Makefile.in: Likewise.
1955 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1957 (standard_output_file): Remove check for GDB_PARALLEL, always
1958 return path in outputs/$subdir/$testname.
1960 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1962 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1963 (site.exp): Assign abs_srcdir to tcl's srcdir.
1965 2016-02-04 Yao Qi <yao.qi@linaro.org>
1967 * gdb.base/foll-exec-mode.c: Include limits.h.
1968 (main): Add parameters argc and argv. Get directory from
1970 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1972 * gdb.base/foll-exec.c: Include limits.h.
1973 (main): Add parameters argc and argv.
1974 Get directory from argv[0].
1975 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1976 Adjust tests on the number of lines as source code changed.
1977 * gdb.base/foll-vfork-exit.c: Include limits.h.
1978 (main): Add one line of statement before vfork.
1979 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1980 (main): Add parameters argc and argv. Get directory from
1982 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1983 (setup_gdb): Set tbreak to skip some source lines.
1984 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1985 (main): Add parameters argc and argv. Get directory from
1987 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1989 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1990 (main): Add parameters argc and argv. Get directory from
1992 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1995 2016-02-01 Doug Evans <dje@google.com>
1997 * gdb.base/skip.exp: Clean up multiple references to same test name.
1999 2016-02-01 Pedro Alves <palves@redhat.com>
2002 * gdb.threads/forking-threads-plus-breakpoint.exp
2003 (displaced_stepping_supported): New global.
2004 (probe_displaced_stepping_support): New procedure.
2005 (do_test): Add 'displaced' parameter, and use it.
2006 (top level): Check for displaced stepping support. Add displaced
2007 stepping on/off testing axis.
2009 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2011 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2012 pointer. Don't perform further tests on the unassociated pointer
2013 if the first test fails.
2015 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2017 * gdb.base/max-value-size.c: New file.
2018 * gdb.base/max-value-size.exp: New file.
2019 * gdb.base/huge.exp: Disable max-value-size for this test.
2021 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2023 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2025 2016-01-28 Yao Qi <yao.qi@linaro.org>
2027 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2029 2016-01-25 Pedro Alves <palves@redhat.com>
2032 * gdb.base/fork-running-state.c: New file.
2033 * gdb.base/fork-running-state.exp: New file.
2035 2016-01-25 Pedro Alves <palves@redhat.com>
2038 * gdb.base/catch-fork-kill.c: New file.
2039 * gdb.base/catch-fork-kill.exp: New file.
2041 2016-01-25 Pedro Alves <palves@redhat.com>
2043 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2044 Delete, moved to lib/gdb.exp.
2045 * gdb.threads/forking-threads-plus-breakpoint.exp
2046 (foreach_with_prefix): Likewise.
2047 * gdb.threads/process-dies-while-handling-bp.exp
2048 (foreach_with_prefix): Likewise.
2049 * lib/gdb.exp (foreach_with_prefix): New procedure.
2051 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2053 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2054 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2056 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2058 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2061 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2062 Pedro Alves <palves@redhat.com>
2064 Fix testsuite compatibility with Guile.
2065 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2068 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2070 Fix testsuite compatibility with Guile.
2071 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2072 (thread 1): New test for backtrace through signal handler.
2074 2016-01-22 Yao Qi <yao.qi@linaro.org>
2077 * gdb.base/multi-forks.c: Include
2078 ../lib/unbuffer_output.c
2079 (main): Call gdb_unbuffer_output.
2081 2016-01-21 Doug Evans <dje@google.com>
2083 * lib/ada.exp (gdb_compile_ada): Fix typo.
2085 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2087 * gdb.base/break-fun-addr.exp: New file.
2088 * gdb.base/break-fun-addr1.c: New file.
2089 * gdb.base/break-fun-addr2.c: New file.
2091 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2093 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2094 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2097 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2099 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2100 when GDB can not set the vector return value. Add more comments
2103 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2105 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2108 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2110 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2112 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2114 * Makefile.in (check-single): Pass --status to runtest.
2115 (check/%.exp): Likewise.
2117 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2119 * Makefile.in (check-parallel): Propagate return code from make
2122 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2124 * gdb.trace/ftrace.exp: Fix expected message on continue.
2125 * gdb.trace/pending.exp: Fix expected message on continue.
2126 * gdb.trace/trace-break.exp: Fix expected message on continue.
2128 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2130 * lib/gdb.exp (gdb_test): Remove unused global references.
2132 2016-01-18 Pedro Alves <palves@redhat.com>
2134 * gdb.base/async-shell.exp: Adjust expected output.
2135 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2136 * gdb.base/siginfo-thread.exp: Adjust expected output.
2137 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2138 * gdb.java/jnpe.exp: Adjust expected output.
2139 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2140 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2141 * gdb.threads/leader-exit.exp: Adjust expected output.
2142 * gdb.threads/manythreads.exp: Adjust expected output.
2143 * gdb.threads/pthreads.exp: Adjust expected output.
2144 * gdb.threads/schedlock.exp: Adjust expected output.
2145 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2146 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2148 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2150 * gdb.threads/sigthread.exp: Adjust expected output.
2151 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2153 2016-01-18 Yao Qi <yao.qi@linaro.org>
2155 * gdb.guile/scm-section-script.c: Replace @progbits with
2157 * gdb.python/py-section-script.c: Likewise.
2159 2016-01-15 Pedro Alves <palves@redhat.com>
2161 * gdb.multi/tids.exp: Test star wildcard ranges.
2163 2016-01-15 Pedro Alves <palves@redhat.com>
2165 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2166 command from "thread apply" invocation.
2167 (thr_apply_info_thr_invalid): Default the expected output to the
2169 (top level): Add tests that use convenience variables. Add tests
2170 for "thread apply" with a valid TID list, but missing the command.
2172 2016-01-13 Pedro Alves <palves@redhat.com>
2174 * gdb.base/default.exp: Expect $_gthread as well.
2175 * gdb.multi/tids.exp: Test $_gthread.
2176 * gdb.threads/thread-specific.exp: Test $_gthread.
2178 2016-01-13 Pedro Alves <palves@redhat.com>
2180 * gdb.multi/tids.exp: Test "info threads -gid".
2182 2016-01-13 Pedro Alves <palves@redhat.com>
2184 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2186 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2188 2016-01-07 Pedro Alves <palves@redhat.com>
2190 * gdb.base/break.exp: Adjust to output changes.
2191 * gdb.base/hbreak2.exp: Likewise.
2192 * gdb.base/sepdebug.exp: Likewise.
2193 * gdb.base/watch_thread_num.exp: Likewise.
2194 * gdb.linespec/keywords.exp: Likewise.
2195 * gdb.multi/info-threads.exp: Likewise.
2196 * gdb.threads/thread-find.exp: Likewise.
2197 * gdb.multi/tids.c: New file.
2198 * gdb.multi/tids.exp: New file.
2200 2016-01-13 Pedro Alves <palves@redhat.com>
2202 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2204 2016-01-13 Pedro Alves <palves@redhat.com>
2206 * gdb.base/default.exp: Expect $_inferior as well.
2207 * gdb.multi/base.exp: Test $_inferior.
2209 2016-01-13 Pedro Alves <palves@redhat.com>
2211 PR breakpoints/19388
2212 * gdb.base/catch-signal-siginfo-cond.c: New file.
2213 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2215 2016-01-12 Josh Stone <jistone@redhat.com>
2216 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2218 * gdb.base/catch-syscall.c (do_execve): New variable.
2219 (main): Conditionally trigger an execve.
2220 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2221 (test_catch_syscall_execve): New, check entry/return across execve.
2222 (do_syscall_tests): Call test_catch_syscall_execve.
2224 2016-01-12 Pedro Alves <palves@redhat.com>
2226 * gdb.base/random-signal.exp (do_test): New procedure, with body
2227 of testcase moved in.
2229 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2230 Pedro Alves <palves@redhat.com>
2232 * gdb.base/funcargs.exp (finish from indirectly called function):
2233 Reintroduce the case for 'First'.
2235 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2236 Pedro Alves <palves@redhat.com>
2238 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2239 (tcatch_vfork_then_child_follow_exec)
2240 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2243 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2245 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2246 and repeats to unlimited.
2247 * gdb.python/py-value.exp: Likewise.
2248 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2249 and repeats to unlimited.
2251 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2253 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2254 and reordering the functions.
2255 * gdb.multi/hangout.c: Likewise.
2256 * gdb.multi/hello.c: Likewise.
2258 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2260 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2262 (SingleStatisticTestResult.report): Use dict.keys instead of
2265 2016-01-06 Pedro Alves <palves@redhat.com>
2267 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2269 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2271 * gdb.btrace/dlopen.exp: New.
2272 * gdb.btrace/dlopen.c: New.
2273 * gdb.btrace/dlopen-dso.c: New.
2275 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2277 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2278 PATTERN argument is optional.
2280 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2282 * lib/ada.exp (target_compile_ada_from_dir): New function.
2283 (gdb_compile_ada): Reimplement avoiding the use of project files.
2284 * gdb.ada/gnat_ada.gpr: Delete.
2285 * gdb.ada/cond_lang.exp: Adjust test to make path before
2287 * gdb.ada/small_reg_param.exp: Likewise.
2289 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2291 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2293 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2295 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2298 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2300 * gdb.base/break.exp: Remove dead code.
2301 * gdb.base/sepdebug.exp: Likewise.
2303 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2305 * gdb.asm/asm-source.exp: Remove HP-UX references.
2306 * gdb.base/annota1.exp: Likewise.
2307 * gdb.base/annota3.exp: Likewise.
2308 * gdb.base/attach.exp: Likewise.
2309 * gdb.base/bigcore.exp: Likewise.
2310 * gdb.base/break.exp: Likewise.
2311 * gdb.base/call-ar-st.exp: Likewise.
2312 * gdb.base/callfuncs.exp: Likewise.
2313 * gdb.base/catch-fork-static.exp: Likewise.
2314 * gdb.base/display.exp: Likewise.
2315 * gdb.base/foll-exec-mode.exp: Likewise.
2316 * gdb.base/foll-exec.exp: Likewise.
2317 * gdb.base/foll-fork.exp: Likewise.
2318 * gdb.base/foll-vfork.exp: Likewise.
2319 * gdb.base/funcargs.exp: Likewise.
2320 * gdb.base/hbreak2.exp: Likewise.
2321 * gdb.base/inferior-died.exp: Likewise.
2322 * gdb.base/interrupt.exp: Likewise.
2323 * gdb.base/multi-forks.exp: Likewise.
2324 * gdb.base/nodebug.exp: Likewise.
2325 * gdb.base/sepdebug.exp: Likewise.
2326 * gdb.base/solib1.c: Likewise.
2327 * gdb.base/step-test.exp: Likewise.
2328 * gdb.mi/non-stop.c: Likewise.
2329 * gdb.mi/pthreads.c: Likewise.
2330 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2331 * gdb.threads/pthreads.c: Likewise.
2332 * gdb.threads/staticthreads.exp: Likewise.
2333 * lib/future.exp: Likewise.
2334 * lib/gdb.exp: Likewise.
2335 * gdb.base/so-indr-cl.c: Remove.
2336 * gdb.base/so-indr-cl.exp: Likewise.
2337 * gdb.base/solib.c: Likewise.
2338 * gdb.base/solib.exp: Likewise.
2339 * gdb.base/solib2.c: Likewise.
2341 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2343 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2344 * gdb.base/call-ar-st.exp: Likewise.
2345 * gdb.base/callfuncs.exp: Likewise.
2346 * gdb.base/condbreak.exp: Likewise.
2347 * gdb.base/constvars.exp: Likewise.
2348 * gdb.base/hbreak2.exp: Likewise.
2349 * gdb.base/langs.exp: Likewise.
2350 * gdb.base/list.exp: Likewise.
2351 * gdb.base/long_long.exp: Likewise.
2352 * gdb.base/ptype.exp: Likewise.
2353 * gdb.base/scope.exp: Likewise.
2354 * gdb.base/signals.exp: Likewise.
2355 * gdb.base/so-impl-ld.exp: Likewise.
2356 * gdb.base/varargs.exp: Likewise.
2357 * gdb.base/volatile.exp: Likewise.
2358 * gdb.base/whatis.exp: Likewise.
2359 * gdb.cp/cplusfuncs.exp: Likewise.
2360 * gdb.cp/inherit.exp: Likewise.
2361 * gdb.cp/local.exp: Likewise.
2362 * gdb.cp/member-ptr.exp: Likewise.
2363 * gdb.cp/method.exp: Likewise.
2364 * gdb.cp/overload.exp: Likewise.
2365 * gdb.cp/templates.exp: Likewise.
2366 * gdb.stabs/weird.exp: Likewise.
2367 * lib/compiler.c: Likewise.
2368 * lib/compiler.cc: Likewise.
2369 * lib/cp-support.exp: Likewise.
2370 * lib/gdb.exp: Likewise.
2372 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2374 * configure.ac: Remove HP-UX case.
2375 * configure: Regenerate.
2377 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2379 * lib/gdb.exp (gdb_compile): Add function doc.
2381 2015-12-17 Pedro Alves <palves@redhat.com>
2384 * gdb.multi/info-threads.exp: New file.
2386 2015-12-15 Yao Qi <yao.qi@linaro.org>
2388 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2391 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2393 * gdb.base/history-duplicates.exp: Skip if no readline support.
2395 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2397 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2399 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2401 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2403 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2405 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2406 ctrl-C if nointerrupts target property is set.
2407 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2408 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2409 * gdb.base/paginate-bg-execution.exp: Likewise.
2410 * gdb.base/paginate-execution-startup.exp: Likewise.
2411 * gdb.base/random-signal.exp: Likewise.
2412 * gdb.base/range-stepping.exp: Likewise.
2413 * gdb.cp/annota2.exp: Likewise.
2414 * gdb.cp/annota3.exp: Likewise.
2415 * gdb.gdb/selftest.exp: Likewise.
2416 * gdb.threads/continue-pending-status.exp: Likewise.
2417 * gdb.threads/leader-exit.exp: Likewise.
2418 * gdb.threads/manythreads.exp: Likewise.
2419 * gdb.threads/pthreads.exp: Likewise.
2420 * gdb.threads/schedlock.exp: Likewise.
2421 * gdb.threads/sigthread.exp: Likewise.
2423 2015-12-11 Don Breazeal <donb@codesourcery.com>
2425 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2427 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2428 * gdb.base/foll-exec.exp (main): Enable for target remote.
2429 * gdb.base/foll-fork.exp (main): Likewise.
2430 * gdb.base/foll-vfork.exp (main): Likewise.
2431 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2432 (proc continue_to_exit_bp_loc): Use clean_restart.
2433 * gdb.base/pie-execl.exp (main): Disable for target remote.
2434 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2435 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2436 * gdb.threads/execl.exp (main): Likewise.
2437 * gdb.threads/fork-child-threads.exp (main): Likewise.
2438 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2440 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2442 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2443 pid.tid style ptids, instead of just tid.
2444 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2445 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2446 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2447 ptids, instead of just tid.
2449 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2451 * gdb.base/list.exp (test_list_forward): Add end of file error
2453 (test_repeat_list_command): Add end of file error test.
2454 (test_list_backwards): Add beginning of file error test.
2456 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2458 * gdb.base/list.exp (test_list_invalid_args): New function,
2459 defined, and called.
2461 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2463 * gdb.base/list.exp (test_list): Make test names unique.
2465 2015-12-11 Yao Qi <yao.qi@linaro.org>
2467 * gdb.base/coremaker2.c: Remove.
2469 2015-12-10 Pedro Alves <palves@redhat.com>
2471 * gdb.multi/base.exp: Remove stale "spaces" references.
2473 2015-12-10 Pedro Alves <palves@redhat.com>
2475 * gdb.multi/base.exp: Don't use nowarnings.
2476 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2477 * gdb.multi/hangout.c: Include stdio.h.
2478 * gdb.multi/hello.c: Include stdlib.h.
2479 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2480 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2481 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2483 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2485 * gdb.dwarf2/dw2-ranges-base.c: New file.
2486 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2487 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2488 support additional line table, and debug ranges generation.
2489 (Dwarf::ranges): New function, generate .debug_ranges.
2490 (Dwarf::lines): Support generating simple line table programs.
2491 (Dwarf::assemble): Initialise new namespace variables.
2493 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2495 * gdb.base/async.exp (proc test_background): Add case for
2496 asynchronous execution not supported.
2498 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2500 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2501 format and change test names to make them unique.
2503 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2504 Pedro Alves <pedro@redhat.com>
2507 Add checking of floatformats setup on x86_64 hosts.
2508 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2509 (smallval, bigval): New labels/constants.
2510 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2511 float" after loading bigval and smallval.
2513 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2515 * gdb.ada/fun_overload_menu.exp: New testcase.
2516 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2518 2015-12-04 Josh Stone <jistone@redhat.com>
2520 * gdb.base/catch-fork-static.exp: New.
2522 2015-12-03 Yao Qi <yao.qi@linaro.org>
2524 * gdb.base/sizeof.c: Don't include stdio.h and
2525 ../lib/unbuffer_output.c.
2526 (main): New variable 'size' and 'value'. Remove printf and
2527 gdb_unbuffer_output. Assign return value to size and value.
2528 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2530 (check_sizeof): Check the result by printing variable 'size'.
2531 (check_valueof): Check the result by printing variable 'value'.
2533 2015-12-01 Yao Qi <yao.qi@linaro.org>
2535 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2536 for aarch64*-*-linux* target.
2538 2015-11-30 Pedro Alves <palves@redhat.com>
2540 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2542 2015-11-30 Pedro Alves <palves@redhat.com>
2544 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2545 Handle non-stop mode vCont replies.
2547 2015-11-30 Pedro Alves <palves@redhat.com>
2549 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2550 prepare_for_testing. Start gdb with "set non-stop on" appended to
2551 GDBFLAGS. Lax expected stop output.
2553 2015-11-27 Yao Qi <yao.qi@linaro.org>
2555 * gdb.arch/arm-neon.exp: New.
2556 * gdb.arch/arm-neon.c: New.
2558 2015-11-27 Yao Qi <yao.qi@linaro.org>
2560 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2562 2015-11-27 Yao Qi <yao.qi@linaro.org>
2564 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2565 frames-invalid annotation.
2567 2015-11-27 Yao Qi <yao.qi@linaro.org>
2569 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2571 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2573 * gdb.threads/names.exp: New file.
2574 * gdb.threads/names.c: New file.
2575 * README: Mention gdb,no_thread_names.
2577 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2580 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2583 2015-11-24 Pedro Alves <palves@redhat.com>
2586 * gdb.base/display.exp: Expect displays to be sorted in ascending
2587 order. Use multi_line.
2588 * gdb.base/solib-display.exp: Likewise.
2590 2015-11-24 Pedro Alves <palves@redhat.com>
2593 * gdb.base/display.exp: Expect displays to be sorted in ascending
2594 order. Use multi_line.
2595 * gdb.base/solib-display.exp: Likewise.
2597 2015-11-24 Pedro Alves <palves@redhat.com>
2600 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2601 threads in ascending order.
2602 * gdb.base/foll-fork.exp: Likewise.
2603 * gdb.base/foll-vfork.exp: Likewise.
2604 * gdb.base/multi-forks.exp: Likewise.
2605 * gdb.mi/mi-nonstop.exp: Likewise.
2606 * gdb.mi/mi-nsintrall.exp: Likewise.
2607 * gdb.multi/base.exp: Likewise.
2608 * gdb.multi/multi-arch.exp: Likewise.
2609 * gdb.python/py-inferior.exp: Likewise.
2610 * gdb.threads/break-while-running.exp: Likewise.
2611 * gdb.threads/execl.exp: Likewise.
2612 * gdb.threads/gcore-thread.exp: Likewise.
2613 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2614 * gdb.threads/kill.exp: Likewise.
2615 * gdb.threads/linux-dp.exp: Likewise.
2616 * gdb.threads/multiple-step-overs.exp: Likewise.
2617 * gdb.threads/next-bp-other-thread.exp: Likewise.
2618 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2619 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2620 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2621 * gdb.threads/thread-find.exp: Likewise.
2622 * gdb.threads/tls.exp: Likewise.
2623 * lib/mi-support.exp (mi_reverse_list): Delete.
2624 (mi_check_thread_states): No longer reverse list.
2626 2015-11-24 Pedro Alves <palves@redhat.com>
2628 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2631 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2633 * gdb.trace/actions.c: Include trace-common.h.
2634 (main): Add a location for a fast tracepoint.
2635 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2636 the normal tracepoints.
2637 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2639 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2641 * save-trace.exp: Factor out code to these...
2642 (gdb_save_tracepoints): New.
2643 (gdb_load_tracepoints): New.
2644 (do_save_load_test): New.
2646 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2648 * gdb.base/asmlabel.exp: New test.
2649 * gdb.base/asmlabel.c: New test case.
2651 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2653 * gdb.base/wrong_frame_bt_full-main.c: New file.
2654 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2655 * gdb.base/wrong_frame_bt_full.exp: New file.
2657 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2659 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2661 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2663 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2664 pstate register when comparing registers values in
2665 sparc64-*-linux-gnu targets to avoid spurious differences.
2667 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2669 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2671 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2673 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2674 as type argument to gdb_compile.
2675 * gdb.base/nested-subp2.exp: Likewise.
2676 * gdb.base/nested-subp3.exp: Likewise.
2678 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2680 * lib/dwarf.exp (_note): Fix left shift of negative value.
2681 * gdb.trace/trace-condition.exp: Likewise.
2683 2015-11-13 Yao Qi <yao.qi@linaro.org>
2685 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2686 comments about d10v.
2687 (test_scalar_returns): Likewise.
2688 * gdb.base/d10v.ld: Remove.
2689 * gdb.base/overlays.exp: Remove the target triplet checking for
2691 * gdb.base/structs.exp (test_struct_returns): Remove the
2692 comments about d10v.
2693 (test_struct_calls): Likewise.
2695 2015-11-13 Yao Qi <yao.qi@linaro.org>
2697 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2698 * gdb.base/gnu_vector.c: Don't include stdio.h.
2699 (main): Don't print res and call add_some_intvecs.
2701 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2703 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2706 (func4): Use FAST_TRACEPOINT_LABEL.
2707 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2710 (thread_function): Use FAST_TRACEPOINT_LABEL.
2711 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2713 (marker): Use FAST_TRACEPOINT_LABEL.
2714 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2715 (pendfunc1): Remove.
2716 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2717 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2719 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2720 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2723 (marker): Use FAST_TRACEPOINT_LABEL.
2724 * gdb.trace/trace-common.h: New header.
2725 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2728 (marker): Use FAST_TRACEPOINT_LABEL.
2729 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2731 (thread_function): Use FAST_TRACEPOINT_LABEL.
2733 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2735 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2737 * gdb.trace/change-loc.exp: Use global pcreg definition.
2738 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2739 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2741 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2742 * gdb.trace/pending.exp: Likewise.
2743 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2744 * gdb.trace/trace-break.exp: Likewise.
2745 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2747 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2748 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2750 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2752 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2754 * gdb.ada/fin_fun_out: New testcase.
2756 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2758 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2759 value associated with DW_AT_byte_size.
2760 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2761 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2764 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2766 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2767 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2769 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2770 gdb.dwarf2/dw2-canonicalize-type.exp,
2771 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2772 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2773 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2774 provided by gdb_target_symbol_prefix_flags_asm.
2775 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2776 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2777 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2778 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2779 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2780 macros where needed). Use this macro for symbols which require
2781 the prefix provided by SYMBOL_PREFIX.
2783 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2785 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2787 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2788 representing expressions, of more than one list element.
2789 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2790 to prepend linker symbol prefix to f.
2791 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2792 table_1 and table_2.
2793 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2794 Likewise, for f and g.
2795 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2797 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2799 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2800 table_1_ptr and table_2_ptr.
2802 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2803 Joel Brobecker <brobecker@adacore.com>
2805 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2807 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2809 * gdb.reverse/s390-mvcle.c: New test.
2810 * gdb.reverse/s390-mvcle.exp: New file.
2811 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2813 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2815 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2817 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2819 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2821 * gdb.reverse/getresuid-reverse.exp: Likewise.
2822 * gdb.reverse/pipe-reverse.exp: Likewise.
2823 * gdb.reverse/readv-reverse.exp: Likewise.
2824 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2825 * gdb.reverse/time-reverse.exp: Likewise.
2826 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2828 2015-10-30 Yao Qi <yao.qi@linaro.org>
2830 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2831 (empty_cycle): Remove.
2832 (main): Don't call empty_cycle. Don't use watch_count_done.
2833 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2834 empty_cycle. Rewrite the code counting HW watchpoints.
2836 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2838 * gdb.reverse/fstatat-reverse.c: New test.
2839 * gdb.reverse/fstatat-reverse.exp: New file.
2840 * gdb.reverse/getresuid-reverse.c: New test.
2841 * gdb.reverse/getresuid-reverse.exp: New file.
2842 * gdb.reverse/pipe-reverse.c: New test.
2843 * gdb.reverse/pipe-reverse.exp: New file.
2844 * gdb.reverse/readv-reverse.c: New test.
2845 * gdb.reverse/readv-reverse.exp: New file.
2846 * gdb.reverse/recvmsg-reverse.c: New test.
2847 * gdb.reverse/recvmsg-reverse.exp: New file.
2848 * gdb.reverse/time-reverse.c: New test.
2849 * gdb.reverse/time-reverse.exp: New file.
2850 * gdb.reverse/waitpid-reverse.c: New test.
2851 * gdb.reverse/waitpid-reverse.exp: New file.
2853 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2855 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2857 2015-10-26 Doug Evans <dje@google.com>
2860 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2861 * gdb.dwarf2/bad-regnum.c: New file.
2862 * gdb.dwarf2/bad-regnum.exp: New file.
2864 2015-10-26 Doug Evans <dje@google.com>
2867 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2870 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2872 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2873 for a change by "Mention language in compile error message".
2875 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2878 * gdb.python/py-type.c (C::a_method): New.
2879 (C::a_const_method): New.
2880 (C::a_static_method): New.
2882 * gdb.python/py-type.exp (test_fields): Test getting fields
2883 from function and method.
2885 2015-10-21 Keven Boell <keven.boell@intel.com>
2887 * gdb.fortran/vla-alloc-assoc.exp: New file.
2888 * gdb.fortran/vla-datatypes.exp: New file.
2889 * gdb.fortran/vla-datatypes.f90: New file.
2890 * gdb.fortran/vla-history.exp: New file.
2891 * gdb.fortran/vla-ptype-sub.exp: New file.
2892 * gdb.fortran/vla-ptype.exp: New file.
2893 * gdb.fortran/vla-sizeof.exp: New file.
2894 * gdb.fortran/vla-sub.f90: New file.
2895 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2896 * gdb.fortran/vla-value-sub-finish.exp: New file.
2897 * gdb.fortran/vla-value-sub.exp: New file.
2898 * gdb.fortran/vla-value.exp: New file.
2899 * gdb.fortran/vla-ptr-info.exp: New file.
2900 * gdb.mi/mi-vla-fortran.exp: New file.
2901 * gdb.mi/vla.f90: New file.
2903 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2905 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2906 of hardwired timeout value.
2908 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2909 Pedro Alves <palves@redhat.com>
2911 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2912 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2914 2015-10-19 Josh Stone <jistone@redhat.com>
2916 * gdb.base/catch-syscall.c: Include <sched.h>.
2917 (unknown_syscall): New variable.
2918 (main): Trigger a vfork and an unknown syscall.
2919 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2920 (unknown_syscall_number): Likewise.
2921 (check_call_to_syscall): Accept an optional syscall pattern.
2922 (check_return_from_syscall): Likewise.
2923 (check_continue): Likewise.
2924 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2925 (test_catch_syscall_skipping_return): New test toggling off 'catch
2926 syscall' to step over the syscall return, then toggling back on.
2927 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2928 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2929 (do_syscall_tests): Call test_catch_syscall_without_args and
2930 test_catch_syscall_mid_vfork.
2931 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2932 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2934 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2936 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2937 print g_vE): Add new pass patterns.
2938 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2939 print various symbol names for vptr fields.
2941 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2943 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2946 2015-10-12 Yao Qi <yao.qi@linaro.org>
2948 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2950 2015-10-12 Yao Qi <yao.qi@linaro.org>
2952 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2953 is aarch64*-*-linux*.
2955 2015-10-12 Yao Qi <yao.qi@linaro.org>
2957 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2958 (can_relocate_bcond_true): ... it.
2959 (can_relocate_bcond_false): New function.
2961 (can_relocate_bl): Likewise.
2962 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2965 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2967 * gdb.base/nested-addr.c: New file.
2968 * gdb.base/nested-addr.exp: New testcase.
2970 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2972 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2973 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2974 its output. Ignore the output of "record goto begin" and instead
2975 check that GDB is replaying.
2977 2015-10-09 Pedro Alves <palves@redhat.com>
2979 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2980 (top level): Use it in the run with no args test.
2982 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2984 * gdb.dlang/properties.exp: New file.
2986 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2988 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2989 whether or not address 0x1000 is mapped on the target.
2991 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2993 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2996 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2998 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2999 instruction-history test.
3001 2015-09-28 Doug Evans <dje@google.com>
3003 * gdb.base/gcore.c (array_func): Add reference to static_array.
3005 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3007 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3010 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3012 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3013 short or char as base type.
3015 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3017 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3018 to allow any size enum.
3020 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3022 * gdb.ada/array_ptr_renaming.exp: New testcase.
3023 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3024 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3026 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3028 * gdb.trace/ftrace-lock.c: New file.
3029 * gdb.trace/ftrace-lock.exp: New file.
3031 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3033 * gdb.arch/insn-reloc.c: New file.
3034 * gdb.arch/ftrace-insn-reloc.exp: New file.
3036 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3038 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3040 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3041 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3042 * gdb.trace/range-stepping.c: Likewise.
3043 * gdb.trace/trace-break.c: Likewise.
3044 * gdb.trace/trace-mt.c (thread_function): Likewise.
3045 * gdb.trace/ftrace.c (marker): Likewise.
3046 * gdb.trace/trace-condition.c (marker): Likewise.
3047 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3048 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3051 2015-09-18 Doug Evans <xdje42@gmail.com>
3053 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3054 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3056 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3058 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3061 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3063 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3064 the pending breakpoint. Remove timeout override for "Run till
3065 MI pending breakpoint on pendfunc3 on thread 2" test.
3067 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3069 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3072 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3074 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3075 in breakpoint filename pattern.
3077 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3079 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3081 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3083 * gdb.linespec/explicit.exp: Check for readline support for
3084 tab-completion tests. Fix obvious typo.
3086 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3088 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3091 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3093 * gdb.btrace/non-stop.c: New.
3094 * gdb.btrace/non-stop.exp: New.
3096 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3097 Yao Qi <yao.qi@linaro.org>
3099 * gdb.trace/trace-condition.c: New file.
3100 * gdb.trace/trace-condition.exp: New file.
3102 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3104 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3105 for testing bytecode compilation.
3107 2015-09-16 Pedro Alves <palves@redhat.com>
3108 Sandra Loosemore <sandra@codesourcery.com>
3110 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3111 (SECONDS): Redefine.
3112 (main): Call pthread_kill and alarm early.
3113 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3115 (test): If the target can't hardware step and doesn't support
3116 displaced stepping, increase the timeout.
3118 2015-09-16 Pedro Alves <palves@redhat.com>
3120 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3121 (enable_debug): New procedures.
3122 (test): Use them. Bail out if waiting for threads fails.
3123 (top level): Bail out if a test fails.
3125 2015-09-16 Yao Qi <yao.qi@linaro.org>
3127 * gdb.asm/asm-source.exp: Set asm-arch for
3128 aarch64*-*-* target.
3129 * gdb.asm/aarch64.inc: New file.
3131 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3133 * gdb.ada/array_of_variable_length.exp: New testcase.
3134 * gdb.ada/array_of_variable_length/foo.adb: New file.
3135 * gdb.ada/array_of_variable_length/pck.adb: New file.
3136 * gdb.ada/array_of_variable_length/pck.ads: New file.
3138 2015-09-15 Doug Evans <dje@google.com>
3140 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3141 of function static local variable.
3143 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3145 * gdb.threads/tls-so_extern.exp: New test file.
3146 * gdb.threads/tls-so_extern.c: New test file.
3147 * gdb.threads/tls-so_extern_main.c: New test file.
3149 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3151 * gdb.opt/solib-intra-step-lib.c: New file.
3152 * gdb.opt/solib-intra-step-main.c: New file.
3153 * gdb.opt/solib-intra-step.exp: New file.
3155 2015-09-15 Pedro Alves <palves@redhat.com>
3157 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3158 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3160 2015-09-14 Pedro Alves <palves@redhat.com>
3162 * gdb.base/hook-stop-continue.c: Delete.
3163 * gdb.base/hook-stop-continue.exp: Delete.
3164 * gdb.base/hook-stop-frame.c: Delete.
3165 * gdb.base/hook-stop-frame.exp: Delete.
3166 * gdb.base/hook-stop.c: New file.
3167 * gdb.base/hook-stop.exp: New file.
3169 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3171 * gdb.ada/access_to_packed_array.exp: New testcase.
3172 * gdb.ada/access_to_packed_array/foo.adb: New file.
3173 * gdb.ada/access_to_packed_array/pack.adb: New file.
3174 * gdb.ada/access_to_packed_array/pack.ads: New file.
3176 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3178 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3181 2015-09-11 Don Breazeal <donb@codesourcery.com>
3183 * gdb.base/foll-exec.c: Add copyright header. Fix
3185 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3186 (do_exec_tests): Use clean_restart in place of zap_session,
3187 and for test initialization. Fix formatting issues. Use
3188 fail in place of perror.
3189 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3190 an expect statement to match an expression with output from
3191 the program under debug.
3192 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3193 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3194 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3195 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3196 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3198 2015-09-09 Doug Evans <dje@google.com>
3200 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3202 2015-09-09 Doug Evans <dje@google.com>
3204 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3206 2015-09-09 Doug Evans <dje@google.com>
3208 * gdb.base/savedregs.exp: Fix typo.
3210 2015-09-09 Pedro Alves <palves@redhat.com>
3212 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3214 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3216 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3217 command actually switches threads. Give up on remaining
3218 tests if target fails to stop at breakpoint.
3220 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3222 * gdb.ada/funcall_char.exp: New testcase.
3223 * gdb.ada/funcall_char/foo.adb: New file.
3225 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3227 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3228 expected outputs. Add two testcases for completing ambiguous
3230 * gdb.ada/complete/aux_pck.adb: New file.
3231 * gdb.ada/complete/aux_pck.ads: New file.
3232 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3233 Ambiguous_Func functions.
3234 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3235 * gdb.ada/complete/pck.adb: Likewise.
3237 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3239 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3240 failures to run the test program under GDB.
3242 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3244 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3247 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3249 * gdb.base/run-after-attach.exp: New test file.
3250 * gdb.base/run-after-attach.c: New test file.
3252 2015-08-26 Don Breazeal <donb@codesourcery.com>
3254 * gdb.base/foll-exec-2.c: New test program.
3255 * gdb.base/foll-exec-2.exp: New test.
3257 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3259 * gdb.base/nested-subp1.exp: New file.
3260 * gdb.base/nested-subp1.c: New file.
3261 * gdb.base/nested-subp2.exp: New file.
3262 * gdb.base/nested-subp2.c: New file.
3263 * gdb.base/nested-subp3.exp: New file.
3264 * gdb.base/nested-subp3.c: New file.
3266 2015-08-24 Pedro Alves <palves@redhat.com>
3268 * gdb.server/connect-without-multi-process.c: New file.
3269 * gdb.server/connect-without-multi-process.exp: New file.
3271 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3273 * gdb.opt/inline-markers.c: Make z int.
3275 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3277 * gdb.opt/inline-markers.c: Make z volatile.
3279 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3281 * gdb.opt/inline-bt.c: New volatile global z.
3282 * gdb.opt/inline-cmds.c: Likewise.
3283 * gdb.opt/inline-locals.c: Likewise.
3284 * gdb.opt/inline-markers.c: New extern global z.
3286 (inline_fn): Likewise.
3288 2015-08-24 Pedro Alves <palves@redhat.com>
3290 * config/m32r-stub.exp: Remove file.
3291 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3292 * gdb.base/call-rt-st.exp: Likewise.
3293 * gdb.base/call-strs.exp: Likewise.
3294 * gdb.base/default.exp: Remove references to h8300-*-hms and
3296 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3298 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3301 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3302 and "return" use KFAIL when GDB can not read/write the vector
3305 2015-08-21 Gary Benson <gbenson@redhat.com>
3307 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3309 2015-08-20 Pedro Alves <palves@redhat.com>
3311 * gdb.server/solib-list.exp: No longer expect an interior stop in
3314 2015-08-20 Pedro Alves <palves@redhat.com>
3316 * gdb.server/connect-stopped-target.c: New file.
3317 * gdb.server/connect-stopped-target.exp: New file.
3319 2015-08-20 Pedro Alves <palves@redhat.com>
3321 * gdb.dwarf2/comp-unit-lang.exp: New file.
3322 * gdb.dwarf2/comp-unit-lang.c: New file.
3324 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3326 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3327 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3329 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3331 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3332 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3334 2015-08-18 Doug Evans <dje@google.com>
3335 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3337 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3338 skip_python_tests. New arg prompt_regexp.
3339 (skip_python_tests): New function.
3340 * lib/mi-support.exp (mi_skip_python_tests): New function.
3341 * gdb.python/py-mi-objfile-gdb.py: New file.
3342 * gdb.python/py-mi-objfile.c: New file.
3343 * gdb.python/py-mi-objfile.exp: New file.
3345 2015-08-17 Keith Seitz <keiths@redhat.com>
3347 * gdb.linespec/explicit.exp: Move strace test from here ...
3348 * gdb.trace/strace.exp: ... to here.
3350 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3352 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3353 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3355 2015-08-14 Doug Evans <xdje42@gmail.com>
3357 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3358 inferior before selecting a new file.
3360 2015-08-14 Doug Evans <xdje42@gmail.com>
3362 * gdb.mi/mi-disassemble.exp: Update.
3363 * gdb.base/disasm-optim.S: New file.
3364 * gdb.base/disasm-optim.c: New file.
3365 * gdb.base/disasm-optim.h: New file.
3366 * gdb.base/disasm-optim.exp: New file.
3368 2015-08-14 Keith Seitz <keiths@redhat.com>
3370 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3373 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3375 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3377 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3379 * gdb.ada/fun_renaming.exp: New testcase.
3380 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3381 * gdb.ada/fun_renaming/pack.adb: New file.
3382 * gdb.ada/fun_renaming/pack.ads: New file.
3384 2015-08-12 Keith Seitz <keiths@redhat.com>
3386 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3387 gdb_get_line_number.
3389 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3391 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3392 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3393 gdb.base/dso2dso.exp: New files.
3395 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3396 Pedro Alves <palves@redhat.com>
3397 Keith Seitz <keiths@redhat.com>
3399 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3402 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3404 * gdb.base/gdbhistsize-history.exp
3405 (test_histsize_history_setting): Use save_vars.
3406 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3408 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3409 * gdb.base/readline.exp: Use save_vars.
3411 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3413 * lib/gdb.exp (save_vars): New proc.
3415 2015-08-11 Keith Seitz <keiths@redhat.com>
3417 * gdb.base/help.exp: Update help_breakpoint_text.
3419 2015-08-11 Keith Seitz <keiths@redhat.com>
3421 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3422 (at toplevel): Call test_explicit_breakpoints.
3423 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3425 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3426 breakpoint conditions, "-cond".
3428 2015-08-11 Keith Seitz <keiths@redhat.com>
3430 * gdb.linespec/3explicit.c: New file.
3431 * gdb.linespec/cpexplicit.cc: New file.
3432 * gdb.linespec/cpexplicit.exp: New file.
3433 * gdb.linespec/explicit.c: New file.
3434 * gdb.linespec/explicit.exp: New file.
3435 * gdb.linespec/explicit2.c: New file.
3436 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3437 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3438 before using in the matching pattern.
3439 Clarify that `prefix' is a regular expression.
3441 2015-08-11 Keith Seitz <keiths@redhat.com>
3443 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3445 Add tests for missing ",FMT" and ",".
3447 2015-08-10 Doug Evans <dje@google.com>
3448 Keith Seitz <keiths@redhat.com>
3451 * gdb.base/completion.exp: Add location completer tests.
3453 2015-08-07 Pedro Alves <palves@redhat.com>
3455 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3457 (top level): Run do_test with and without displaced stepping.
3459 2015-08-07 Pedro Alves <palves@redhat.com>
3461 * gdb.base/valgrind-disp-step.c: New file.
3462 * gdb.base/valgrind-disp-step.exp: New file.
3464 2015-08-07 Pedro Alves <palves@redhat.com>
3466 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3468 (main): Add alarm. Run an infinite loop instead of calling
3470 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3472 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3474 (main): Add alarm. Run an infinite loop instead of calling
3476 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3479 2015-08-07 Pedro Alves <palves@redhat.com>
3481 * gdb.base/checkpoint-ns.exp: New file.
3482 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3485 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3487 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3488 * gdb.btrace/instruction_history.exp: Update.
3489 * gdb.btrace/tsx.exp: New.
3490 * gdb.btrace/tsx.c: New.
3492 2015-08-06 Pedro Alves <palves@redhat.com>
3494 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3496 * gdb.reverse/until-precsave.exp: Bump timeouts.
3498 2015-08-06 Pedro Alves <palves@redhat.com>
3500 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3502 2015-08-06 Pedro Alves <palves@redhat.com>
3505 * gdb.threads/process-dies-while-handling-bp.c: New file.
3506 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3508 2015-08-06 Pedro Alves <palves@redhat.com>
3510 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3511 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3513 2015-08-05 Pedro Alves <palves@redhat.com>
3515 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3516 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3518 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3520 * gdb.base/bp-permanent.exp: Report test as unsupported if
3521 the target cannot stop at the permanent breakpoint.
3523 2015-08-03 Doug Evans <dje@google.com>
3525 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3528 2015-08-03 Doug Evans <dje@google.com>
3530 * Makefile.in (workers/%.worker, build-perf): New rule.
3531 (GDB_PERFTEST_MODE): New variable.
3532 (check-perf): Use it.
3533 (clean): Clean up gdb.perf parallel build subdirs.
3534 * lib/build-piece.exp: New file.
3535 * lib/gdb.exp (make_gdb_parallel_path): New function
3536 (standard_output_file, standard_temp_file): Call it.
3537 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3539 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3541 2015-08-03 Doug Evans <dje@google.com>
3543 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3544 (LOG_FILE_NAME): New global.
3545 (TextReporter.__init__): Initialize self.txt_sum.
3546 (TextReporter.report): Add support for multiple data-points.
3547 Move report to perftest.sum, put raw data in perftest.log.
3548 (TextReporter.start): Open sum and log files.
3549 (TextReporter.end): Close sum and log files.
3550 * gdb.perf/lib/perftest/testresult.py
3551 (SingleStatisticTestResult.record): Handle multiple data-points.
3553 2015-07-31 Pedro Alves <palves@redhat.com>
3555 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3556 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3557 kill_wait_spawned_process instead of explicit "kill -9".
3558 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3559 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3560 kill_wait_spawned_process.
3561 * gdb.base/attach-twice.exp: Likewise.
3562 * gdb.base/attach.exp: Likewise.
3563 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3565 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3566 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3567 kill_wait_spawned_process.
3568 * gdb.base/valgrind-infcall.exp: Likewise.
3569 * gdb.multi/multi-attach.exp: Likewise.
3570 * gdb.python/py-prompt.exp: Likewise.
3571 * gdb.python/py-sync-interp.exp: Likewise.
3572 * gdb.server/ext-attach.exp: Likewise.
3573 * gdb.threads/attach-into-signal.exp (corefunc): Use
3574 spawn_wait_for_attach, spawn_id_get_pid and
3575 kill_wait_spawned_process.
3576 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3577 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3578 spawn_id_get_pid and kill_wait_spawned_process.
3579 * gdb.threads/attach-stopped.exp (corefunc): Use
3580 spawn_wait_for_attach, spawn_id_get_pid and
3581 kill_wait_spawned_process.
3582 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3583 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3584 kill_wait_spawned_process instead of explicit "kill -9".
3585 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3586 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3587 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3588 processes. Don't map cygwin/windows pids here. Now returns a
3591 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3593 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3594 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3597 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3599 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3601 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3604 2014-05-21 Mark Wielaard <mjw@redhat.com>
3606 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3608 2015-07-30 Pedro Alves <palves@redhat.com>
3610 * linux-low.c (handle_extended_wait): Set the child's last
3611 reported status to TARGET_WAITKIND_STOPPED.
3613 2015-07-30 Pedro Alves <palves@redhat.com>
3616 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3617 only shows inferior 1.
3619 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3620 Pedro Alves <palves@redhat.com>
3623 * gdb.threads/fork-plus-threads.c: New file.
3624 * gdb.threads/fork-plus-threads.exp: New file.
3626 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3628 * gdb.base/batch-preserve-term-settings.exp
3629 (test_terminal_settings_preserved_after_cli_exit): Use
3632 2015-07-29 Pedro Alves <palves@redhat.com>
3633 Don Breazeal <donb@codesourcery.com>
3635 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3636 output from both inferior_spawn_id and gdb_spawn_id.
3638 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3640 * gdb.threads/attach-into-signal.exp (corefunc): Use
3641 with_test_prefix on nested loops, uniquefying the test messages.
3643 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3645 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3648 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3650 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3652 (test_terminal_settings_preserved_after_sigterm): New test.
3654 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3656 * gdb.base/batch-preserve-term-settings.exp
3657 (test_terminal_settings_preserved_after_cli_exit): New test.
3659 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3661 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3662 manipulation of saved_gdbflags.
3663 (test_terminal_settings_preserved): Remove global declaration of
3664 the unused variable pagination_prompt. Remove manipulation of
3665 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3668 2015-07-29 Pedro Alves <palves@redhat.com>
3670 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3672 2015-07-29 Pedro Alves <palves@redhat.com>
3674 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3677 2015-07-29 Pedro Alves <palves@redhat.com>
3679 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3680 (main): Call gdb_unbuffer_output.
3681 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3682 (main): Call gdb_unbuffer_output.
3683 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3684 (main): Call gdb_unbuffer_output.
3685 * gdb.base/call-strs.exp: Adjust to step over the
3686 gdb_unbuffer_output call.
3687 * gdb.base/catch-gdb-caused-signals.c: Include
3688 "../lib/unbuffer_output.c".
3689 (main): Call gdb_unbuffer_output.
3690 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3691 (main): Call gdb_unbuffer_output.
3692 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3693 (main): Call gdb_unbuffer_output.
3694 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3695 (main): Call gdb_unbuffer_output.
3696 * gdb.base/shlib-call.exp: Adjust to step over the
3697 gdb_unbuffer_output call.
3698 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3699 (main): Call gdb_unbuffer_output.
3700 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3701 (main): Call gdb_unbuffer_output.
3702 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3703 (main): Rename to ...
3705 (main): Reimplement.
3706 * gdb.base/varargs.exp: Run to test instead of to main.
3707 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3708 (main): Call gdb_unbuffer_output.
3710 2015-07-29 Pedro Alves <palves@redhat.com>
3712 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3713 factore out from mi_continue_dprintf. For call-style dprintfs,
3714 expect dprintf output out of $inferior_spawn_id.
3715 (mi_continue_dprintf): Use mi_expect_dprintf.
3716 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3717 (main): Call gdb_unbuffer_output.
3719 2015-07-29 Pedro Alves <palves@redhat.com>
3721 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3722 (default_mi_gdb_start): Set inferior_spawn_id instead of
3723 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3725 (mi_gdb_test): Always expect inferior output from both
3726 $inferior_spawn_id and $gdb_spawn_id.
3728 2015-07-29 Pedro Alves <palves@redhat.com>
3730 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3731 send_inferior and $inferior_spawn_id.
3733 2015-07-29 Pedro Alves <palves@redhat.com>
3735 * gdb.gdb/complaints.exp (test_initial_complaints)
3736 (test_serial_complaints, test_short_complaints): Use
3738 (test_empty_complaint): Handle $inferior_spawn_id !=
3741 2015-07-29 Pedro Alves <palves@redhat.com>
3743 * gdb.base/varargs.exp: Use gdb_test_stdio.
3745 2015-07-29 Pedro Alves <palves@redhat.com>
3747 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3749 2015-07-29 Pedro Alves <palves@redhat.com>
3751 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3753 2015-07-29 Pedro Alves <palves@redhat.com>
3755 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3756 parameter into two new parameters, "inf_result" and "gdb_result".
3757 Expect inferior output and gdb output from $inferior_spawn_id and
3758 $gdb_spawn_id, respectively. Adjust all callers.
3760 2015-07-29 Pedro Alves <palves@redhat.com>
3762 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3763 of gdb_test_sequence.
3765 2015-07-29 Pedro Alves <palves@redhat.com>
3767 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3768 (saw_spurious_output): Expect inferior output from
3769 $inferior_spawn_id. Use gdb_test_stdio.
3771 2015-07-29 Pedro Alves <palves@redhat.com>
3773 * gdb.base/dprintf.exp: Use standard_testfile. Change
3774 prepare_for_testing call.
3775 (srcfile): Don't set.
3776 (restart): New procedure.
3777 (test_dprintf): New procecure, use to continue over dprintfs.
3778 (test_call, test_agent): New procedures, tests moved here.
3779 Restart gdb and recreate dprintfs. Adjust expected output.
3781 2015-07-29 Pedro Alves <palves@redhat.com>
3783 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3785 2015-07-29 Pedro Alves <palves@redhat.com>
3787 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3789 2015-07-29 Pedro Alves <palves@redhat.com>
3791 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3794 2015-07-29 Pedro Alves <palves@redhat.com>
3796 * lib/gdb.exp (gdb_test_stdio): New procedure.
3798 2015-07-29 Pedro Alves <palves@redhat.com>
3800 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3802 2015-07-29 Pedro Alves <palves@redhat.com>
3804 * gdb.base/call-signal-resume.exp: Remove check for
3805 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3806 * gdb.base/unwindonsignal.exp: Likewise.
3807 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3808 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3810 2015-07-29 Pedro Alves <palves@redhat.com>
3812 * gdb.base/siginfo-addr.c (pass): New function.
3813 (handler): Call it iff si_addr is correct.
3814 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3815 Set a breakpoint at "pass" and continue to it.
3817 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3819 * gdb.python/py-objfile.exp: Make some tests have unique names.
3820 * gdb.python/py-pp-registration.exp: Likewise.
3822 2015-07-28 Pedro Alves <palves@redhat.com>
3824 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3826 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3828 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3830 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3832 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3834 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3836 * gdb.base/gdb-sigterm-2.exp: New test.
3838 2015-07-25 Doug Evans <xdje42@gmail.com>
3841 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3842 (workers/%.worker, build-perf): New rule.
3843 (GDB_PERFTEST_MODE): New variable.
3844 (check-perf): Use it.
3845 (clean): Clean up gdb.perf parallel build subdirs.
3846 * lib/build-piece.exp: New file.
3847 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3848 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3850 (standard_temp_file): Ditto.
3851 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3854 2015-07-24 Doug Evans <dje@google.com>
3856 * gdb.perf/lib/perftest/utils.py: New file.
3857 * gdb.perf/gm-hello.cc: New file.
3858 * gdb.perf/gm-pervasive-typedef.cc: New file.
3859 * gdb.perf/gm-pervasive-typedef.h: New file.
3860 * gdb.perf/gm-std.cc: New file.
3861 * gdb.perf/gm-std.h: New file.
3862 * gdb.perf/gm-use-cerr.cc: New file.
3863 * gdb.perf/gm-utils.h: New file.
3864 * gdb.perf/gmonster-null-lookup.py: New file.
3865 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3866 * gdb.perf/gmonster-print-cerr.py: New file.
3867 * gdb.perf/gmonster-ptype-string.py: New file.
3868 * gdb.perf/gmonster-runto-main.py: New file.
3869 * gdb.perf/gmonster-select-file.py: New file.
3870 * gdb.perf/gmonster1-null-lookup.exp: New file.
3871 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3872 * gdb.perf/gmonster1-print-cerr.exp: New file.
3873 * gdb.perf/gmonster1-ptype-string.exp: New file.
3874 * gdb.perf/gmonster1-runto-main.exp: New file.
3875 * gdb.perf/gmonster1-select-file.exp: New file.
3876 * gdb.perf/gmonster1.cc: New file.
3877 * gdb.perf/gmonster1.exp: New file.
3878 * gdb.perf/gmonster2-null-lookup.exp: New file.
3879 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3880 * gdb.perf/gmonster2-print-cerr.exp: New file.
3881 * gdb.perf/gmonster2-ptype-string.exp: New file.
3882 * gdb.perf/gmonster2-runto-main.exp: New file.
3883 * gdb.perf/gmonster2-select-file.exp: New file.
3884 * gdb.perf/gmonster2.cc: New file.
3885 * gdb.perf/gmonster2.exp: New file.
3887 2015-07-24 Doug Evans <dje@google.com>
3889 * gdb.perf/README: New file.
3890 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3891 * lib/gen-perf-test.exp: New file.
3893 2015-07-24 Doug Evans <dje@google.com>
3895 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3896 (PerfTest::startup): New function.
3897 (PerfTest::run): Return result of calling body.
3898 (PerfTest::assemble): Rewrite.
3899 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3900 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3901 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3902 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3903 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3905 2015-07-24 Doug Evans <dje@google.com>
3907 * lib/gdb.exp (clean_restart): Make executable optional.
3909 2015-07-24 Doug Evans <dje@google.com>
3911 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3912 compiler_info references.
3913 * gdb.cp/temargs.exp: Ditto.
3914 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3915 (get_compiler_info): Early exit if already computed. Set compiler_info
3916 to "unknown" if there was a problem.
3917 (test_compiler_info): Add function comment. Call get_compiler_info.
3919 2015-07-24 Doug Evans <dje@google.com>
3921 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3922 (workers/%.worker, build-perf): New rule.
3923 (GDB_PERFTEST_MODE): New variable.
3924 (check-perf): Use it.
3925 (clean): Clean up gdb.perf parallel build subdirs.
3926 * lib/build-piece.exp: New file.
3927 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3928 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3930 (standard_temp_file): Ditto.
3931 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3934 2015-07-24 Doug Evans <dje@google.com>
3936 * lib/future.exp (gdb_default_target_compile): New option
3938 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3941 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3943 * gdb.base/catch-syscall.exp: Call gdb_exit before
3946 2015-07-24 Pedro Alves <palves@redhat.com>
3948 * gdb.python/py-events.exp: Accept output between the stop event
3950 * gdb.python/py-evsignal.exp: Likewise.
3951 * gdb.python/py-evthreads.exp: Likewise.
3953 2015-07-24 Pedro Alves <palves@redhat.com>
3956 * gdb.threads/non-ldr-exit.c: New file.
3957 * gdb.threads/non-ldr-exit.exp: New file.
3959 2015-07-24 Yao Qi <yao.qi@linaro.org>
3961 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3964 2015-07-24 Yao Qi <yao.qi@linaro.org>
3966 * gdb.server/ext-restart.exp: New file.
3968 2015-07-24 Yao Qi <yao.qi@linaro.org>
3970 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3972 * gdb.server/ext-wrapper.exp: New file.
3974 2015-07-23 Doug Evans <dje@google.com>
3976 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3977 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3979 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3981 * gdb.ada/var_arr_typedef.exp: New testcase.
3982 * gdb.ada/var_arr_typedef/pack.adb: New file.
3983 * gdb.ada/var_arr_typedef/pack.ads: New file.
3984 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3986 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3988 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3990 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3992 * gdb.arch/i386-biarch-core.exp: Replace istarget
3993 by "complete set gnutarget". Remove expectation for the "core-file"
3996 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3998 Revert the previous commit:
3999 Tests for validate symbol file using build-id.
4001 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4003 Tests for validate symbol file using build-id.
4004 * gdb.base/solib-mismatch-lib.c: New file.
4005 * gdb.base/solib-mismatch-libmod.c: New file.
4006 * gdb.base/solib-mismatch.c: New file.
4007 * gdb.base/solib-mismatch.exp: New file.
4009 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4011 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4013 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4014 * gdb.base/siginfo.exp: Likewise.
4015 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4017 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4019 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4021 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4023 * gdb.trace/range-stepping.exp: Check that the target supports
4026 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4028 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4030 2015-07-14 Pedro Alves <palves@redhat.com>
4032 * gdb.base/killed-outside.exp: New file.
4033 * gdb.base/killed-outside.c: New file.
4035 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4037 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4039 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4041 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4043 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4044 infcall tests instead of setting up for KFAIL.
4046 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4048 * gdb.btrace/record_goto-step.exp: New.
4050 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4053 * gdb.compile/compile.c (struct struct_type): Add volatile to
4055 * gdb.compile/compile.exp
4056 (compile code struct_object.selffield = &struct_object): Skip further
4057 struct_object tests if this one xfails.
4059 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4062 * gdb.trace/ax.exp: Add test.
4064 2015-07-07 Yao Qi <yao.qi@linaro.org>
4066 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4067 instead of istarget "aarch64*-*-*".
4068 * gdb.arch/aarch64-fp.exp: Likewise.
4069 * gdb.base/float.exp: Likewise.
4070 * gdb.reverse/aarch64.exp: Likewise.
4071 * lib/gdb.exp (is_aarch64_target): New proc.
4073 2015-07-07 Yao Qi <yao.qi@linaro.org>
4075 * lib/gdb.exp (is_aarch32_target): New proc.
4076 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4077 instead of "istarget "arm*-*-*"".
4078 * gdb.arch/arm-disp-step.exp: Likewise.
4079 * gdb.arch/thumb-bx-pc.exp: Likewise.
4080 * gdb.arch/thumb-prologue.exp: Likewise.
4081 * gdb.arch/thumb-singlestep.exp: Likewise.
4082 * gdb.base/disp-step-syscall.exp: Likewise.
4083 * gdb.base/float.exp: Likewise.
4085 2015-07-07 Yao Qi <yao.qi@linaro.org>
4087 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4088 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4090 2015-07-07 Yao Qi <yao.qi@linaro.org>
4092 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4093 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4095 * gdb.multi/multi-arch.exp: Likewise.
4097 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4099 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4102 2015-07-07 Yao Qi <yao.qi@linaro.org>
4104 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4106 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4108 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4109 '[' and ']' characters.
4111 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4113 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4115 2015-06-29 Pedro Alves <palves@redhat.com>
4118 * gdb.threads/hand-call-new-thread.c: New file.
4119 * gdb.threads/hand-call-new-thread.c: New file.
4121 2015-06-26 Keith Seitz <keiths@redhat.com>
4122 Doug Evans <dje@google.com>
4125 * gdb.cp/var-tag-2.cc: New file.
4126 * gdb.cp/var-tag-3.cc: New file.
4127 * gdb.cp/var-tag-4.cc: New file.
4128 * gdb.cp/var-tag.cc: New file.
4129 * gdb.cp/var-tag.exp: New file.
4131 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4133 * gdb.base/history-duplicates.exp: New test.
4135 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4137 * gdb.base/completion.exp: Test the completion of the "focus"
4140 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4142 * gdb.arch/amd64-prologue-skip.S: New file.
4143 * gdb.arch/amd64-prologue-skip.exp: New file.
4145 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4147 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4148 is_address_zero_readable check.
4150 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4152 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4153 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4155 2015-06-24 Yao Qi <yao.qi@linaro.org>
4157 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4160 2015-06-24 Yao Qi <yao.qi@linaro.org>
4162 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4163 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4164 * gdb.base/siginfo-thread.exp: Likewise.
4166 2015-06-22 Yao Qi <yao.qi@linaro.org>
4168 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4170 2015-06-22 Yao Qi <yao.qi@linaro.org>
4172 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4174 (skip_hw_watchpoint_tests): Likewise.
4176 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4178 * gdb.base/gdbinit-history.exp: Test the interaction between
4179 setting GDBHISTSIZE and setting the history size via .gdbinit.
4181 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4184 * gdb.base/gdbhistsize-history.exp: New test.
4186 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4188 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4190 * gdb.base/readline.exp: Likewise.
4192 2015-06-17 Yao Qi <yao.qi@linaro.org>
4194 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4197 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4199 * gdb.base/gdbinit-history.exp: Add test case to check that
4200 an unlimited history file does not get truncated on exit.
4202 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4204 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4205 (VECTOR): New macro. Use it...
4206 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4207 ...for these typedefs.
4208 (int8, char1, int1, double1): New typedefs.
4209 (struct just_int2, struct two_int2): New structures.
4210 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4211 (add_structvecs, add_singlevecs): New functions.
4212 (main): Call add_some_intvecs twice.
4213 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4214 the compile and exit upon failure. Try compiling for the "native"
4215 architecture. Test inferior function calls with vector arguments
4216 and vector return value handling with "finish" and "return".
4218 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4220 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4221 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4223 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4225 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4227 PR breakpoints/16465
4228 * gdb.mi/mi-dprintf-pending.c: New file.
4229 * gdb.mi/mi-dprintf-pending.exp: New test.
4230 * gdb.mi/mi-dprintf-pendshr.c: New file.
4232 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4233 Mircea Gherzan <mircea.gherzan@intel.com>
4235 * gdb.arch/i386-mpx-map.c: New file.
4236 * gdb.arch/i386-mpx-map.exp: New File.
4238 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4240 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4241 * gdb.arch/i386-mpx.exp: Indentation fixed.
4243 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4245 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4246 function and improved indentation.
4247 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4248 gdb_test_multiple. Added additional tests to skip the test.
4250 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4252 * gdb.arch/i386-avx512.c: Change path in include file.
4253 * gdb.arch/i386-avx512.exp: Change include dir path
4255 * gdb.arch/i386-mpx.c: Change path in include file.
4256 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4259 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4261 * gdb.compile/compile-print.exp (compile print *vararray@3)
4262 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4264 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4266 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4267 (do not keep jit in memory): ... this.
4268 (expect 5): Change it to ...
4269 (expect no 5): ... this.
4271 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4274 * gdb.mi/mi-detach.exp: New file.
4276 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4279 * gdb.arch/amd64-tailcall-self.S: New file.
4280 * gdb.arch/amd64-tailcall-self.c: New file.
4281 * gdb.arch/amd64-tailcall-self.exp: New file.
4283 2015-05-28 Don Breazeal <donb@codesourcery.com>
4285 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4286 tests for remote targets by checking is_target_gdbserver.
4288 2015-05-27 Doug Evans <dje@google.com>
4290 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4291 * gdb.dwarf2/opaque-type-lookup.c: New file.
4292 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4294 2015-05-26 Doug Evans <dje@google.com>
4296 * gdb.cp/iostream.cc: New file.
4297 * gdb.cp/iostream.exp: New file.
4299 2015-05-26 Doug Evans <dje@google.com>
4301 * gdb.dwarf2/dw2-op-call.exp: Update.
4302 * gdb.dwarf2/dw4-sig-types.exp: Update.
4303 * gdb.dwarf2/implptr.exp: Update.
4304 * gdb.mi/mi-cmd-param-changed.exp: Update.
4306 2015-05-26 Doug Evans <dje@google.com>
4308 * gdb.python/py-lazy-string.c: New file.
4309 * gdb.python/py-lazy-string.exp: New file.
4310 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4311 (main): Update. Add estring3.
4312 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4313 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4315 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4316 Yao Qi <yao.qi@linaro.org>
4318 * gdb.reverse/aarch64.c: New.
4319 * gdb.reverse/aarch64.exp: New.
4321 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4323 * lib/gdb.exp (supports_process_record): Return true for
4325 (supports_reverse): Likewise.
4327 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4329 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4330 Use with_test_prefix.
4332 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4334 * gdb.base/completion.exp: Add test for completion of layout
4337 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4339 * lib/gdb.exp (skip_tui_tests): New proc.
4340 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4342 2015-05-19 Pedro Alves <palves@redhat.com>
4344 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4345 Save the whole env array instead of just HOME. Unset HISTSIZE in
4346 the environment while testing. Restore whole environment
4349 2015-05-16 Doug Evans <xdje42@gmail.com>
4351 * gdb.guile/scm-ports.c: New file.
4352 * gdb.guile/scm-ports.exp: Add memory port tests.
4354 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4356 * gdb.compile/compile-print.c: New file.
4357 * gdb.compile/compile-print.exp: New file.
4359 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4361 * gdb.compile/compile-ops.exp: Cast param to void.
4362 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4363 (compile code struct_object.selffield = &struct_object): Add xfail.
4365 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4367 * gdb.ada/arr_enum_with_gap: New testcase.
4369 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4371 * gdb.ada/byte_packed_arr: New testcase.
4373 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4375 * gdb.ada/pckd_neg: New testcase.
4377 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4380 * gdb.base/gdbinit-history.exp: New test.
4381 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4382 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4384 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4386 * gdb.python/py-xmethods.cc: Enhance test case.
4387 * gdb.python/py-xmethods.exp: New tests.
4388 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4390 (B_indexoper): Likewise.
4391 (global_dm_list) : Add new xmethod worker functions.
4393 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4395 * gdb.base/coredump-filter.exp: Correctly unset
4396 "coredump_var_addr" array.
4398 2015-05-08 Pedro Alves <palves@redhat.com>
4400 * gdb.server/non-existing-program.exp: Unset spawn_id.
4402 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4405 * gdb.python/py-xmethods.exp: Add tests.
4407 2015-05-08 Yao Qi <yao.qi@linaro.org>
4410 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4411 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4412 function set_coredump_filter, and remove remote_exec call.
4413 Remove argument ipid. Callers update.
4414 (top level): Don't get inferior's PID.
4416 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4418 * gdb.base/watch_thread_num.exp: Skip test on targets without
4421 2015-05-06 Pedro Alves <palves@redhat.com>
4424 * gdb.server/non-existing-program.exp: New file.
4426 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4428 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4430 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4432 * gdb.ada/out_of_line_in_inlined: New testcase.
4434 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4436 * gdb.ada/var_rec_arr: New testcase.
4438 2015-04-30 Yao Qi <yao.qi@linaro.org>
4440 * gdb.base/break-idempotent.exp: If
4441 skip_hw_watchpoint_multi_tests returns true, skip the tests
4442 on "rwatch" and "awatch".
4444 2015-04-30 Yao Qi <yao.qi@linaro.org>
4446 * gdb.base/relativedebug.exp: Invoke gdb command
4447 "info sharedlibrary", and if libc.so doesn't have debug info,
4450 2015-04-29 Doug Evans <dje@google.com>
4452 * gdb.python/py-xmethods.exp: Add ptype tests.
4453 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4454 get_result_type method.
4456 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4458 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4459 the target does not support hardware watchpoints.
4461 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4463 * gdb.base/break-always.exp: Abort testing if writing to memory
4466 2015-04-28 Doug Evans <dje@google.com>
4468 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4469 * gdb.python/py-pp-registration.exp: ... here. New file.
4470 * gdb.python/py-pp-registration.c: New file.
4471 * gdb.python/py-pp-registration.py: New file.
4473 2015-04-28 Doug Evans <dje@google.com>
4475 * gdb.python/py-bad-printers.c: New file.
4476 * gdb.python/py-bad-printers.py: New file.
4477 * gdb.python/py-bad-printers.exp: New file.
4479 2015-04-28 Sasha Smundak <asmundak@google.com>
4481 * gdb.python/py-type.exp: New test.
4483 2015-04-28 Andy Wingo <wingo@igalia.com>
4485 * gdb.python/py-parameter.exp:
4486 * gdb.guile/scm-parameter.exp: Escape the path that we are
4487 matching against, as it might contain characters that are special
4488 to regular expressions.
4490 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4492 * gdb.ada/rec_comp: New testcase.
4494 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4496 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4499 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4501 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4502 new tests for verilog output.
4504 2015-04-24 Yao Qi <yao.qi@linaro.org>
4506 * boards/remote-gdbserver-on-localhost.exp: New file.
4508 2015-04-23 Pedro Alves <palves@redhat.com>
4510 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4511 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4512 "end of file", remove $inferior_spawn_id from the indirect list.
4514 2015-04-23 Pedro Alves <palves@redhat.com>
4516 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4518 2015-04-23 Pedro Alves <palves@redhat.com>
4520 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4521 on $any_spawn_id instead of only on $gdb_spawn_id.
4523 2015-04-21 Pierre Muller <muller@sourceware.org>
4526 * lib/pascal.exp (gpc_compile): Add new option "class".
4527 (fpc_compile): Likewise.
4528 * gdb.pascal/case-insensitive-symbols.pas: New file.
4529 * gdb.pascal/case-insensitive-symbols.exp: New file.
4531 2015-04-20 Gary Benson <gbenson@redhat.com>
4533 * gdb.base/attach.exp: Fix three extended remote failures.
4535 2015-04-17 Gary Benson <gbenson@redhat.com>
4537 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4538 the main executable over the remote protocol.
4540 2015-04-16 Pedro Alves <palves@redhat.com>
4542 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4543 a new gdbserver if gdbserver_reconnect_p is set.
4545 2015-04-16 Pedro Alves <palves@redhat.com>
4547 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4548 is set, don't exit gdbserver.
4550 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4552 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4553 appropriate .insn, such that an older assembler can be used.
4554 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4555 the z/Architecture instruction set on 31-bit targets as well.
4557 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4559 * gdb.go/handcall.exp: Remove all logic related to the first
4560 breakpoint and rely on go_runto_main instead.
4561 * gdb.go/strings.exp: Likewise.
4562 * gdb.go/unsafe.exp: Likewise.
4563 * gdb.go/hello.exp: Likewise. Also rename the remaining
4564 breakpoint marker to "breakpoint 1".
4565 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4566 * gdb.go/strings.go: Likewise.
4567 * gdb.go/unsafe.go: Likewise.
4568 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4569 "set breakpoint 2 here" and rename the remaining breakpoint marker
4572 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4574 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4575 if itertools.imap is not present.
4576 * gdb.python/py-objfile.exp: Add parentheses.
4577 * gdb.python/py-type.exp: Same.
4578 * gdb.python/py-unwind-maint.py: Same.
4580 2015-04-15 Yao Qi <yao.qi@linaro.org>
4582 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4583 of ":$ptr_size" and set its form explicitly.
4585 2015-04-15 Pedro Alves <palves@redhat.com>
4586 Yao Qi <yao.qi@linaro.org>
4588 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4589 timeout by factor of 4.
4590 (test_regular_watch): Likewise.
4591 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4592 * gdb.reverse/sigall-reverse.exp: Likewise.
4593 * gdb.reverse/until-precsave.exp: Likewise.
4594 * lib/gdb.exp (with_timeout_factor): New proc.
4595 (gdb_expect): Move some code to ...
4596 (get_largest_timeout): ... here. New procedure.
4598 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4600 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4602 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4604 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4605 to write to the .text section.
4607 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4609 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4610 Handle the case of targets that do not provide PID information.
4612 2015-04-13 Yao Qi <yao.qi@linaro.org>
4614 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4615 and use expect instead of gdb_expect.
4617 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4619 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4620 "coredump_var_addr" to avoid naming conflict with other testcases.
4622 2015-04-10 Pedro Alves <palves@redhat.com>
4624 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4625 gdb_test_sequence and gdb_assert.
4627 2015-04-10 Pedro Alves <palves@redhat.com>
4629 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4630 test messages that don't include the breakpoint address.
4632 2015-04-10 Yao Qi <yao.qi@linaro.org>
4634 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4635 false for some offset and width combinations which aren't
4636 supported by linux kernel.
4638 2015-04-10 Pedro Alves <palves@redhat.com>
4640 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4641 procedure, factored out from ...
4642 (top level): ... here. Add "set displaced-stepping" testing axis.
4643 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4644 parameter "displaced". Use it.
4645 (top level): Use foreach and add "set displaced-stepping" testing
4648 2015-04-10 Pedro Alves <palves@redhat.com>
4650 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4652 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4653 both the address of the instruction that triggers the watchpoint
4654 and the address of the instruction immediately after, and use
4655 those addresses for the test. Fix comment.
4657 2015-04-10 Pedro Alves <palves@redhat.com>
4659 * gdb.base/sigstep.exp (breakpoint_to_handler)
4660 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4661 Test "backtrace" in handler.
4662 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4663 (top level): Add new "displaced" test axis to
4664 breakpoint_to_handler, breakpoint_to_handler_entry and
4665 breakpoint_over_handler.
4667 2015-04-10 Pedro Alves <palves@redhat.com>
4670 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4672 2015-04-10 Yao Qi <yao.qi@linaro.org>
4674 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4675 (test_add_rn_pc): New function.
4676 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4677 (top level): Invoke test_add_rn_pc.
4679 2015-04-10 Pedro Alves <palves@redhat.com>
4682 * gdb.base/step-over-no-symbols.exp: New file.
4684 2015-04-09 Andy Wingo <wingo@igalia.com>
4686 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4687 after the Python tests.
4689 2015-04-08 Keith Seitz <keiths@redhat.com>
4692 * gdb.python/py-completion.exp: New tests for completion.
4693 * gdb.python/py-completion.py (CompleteLimit1): New class.
4694 (CompleteLimit2): Likewise.
4695 (CompleteLimit3): Likewise.
4696 (CompleteLimit4): Likewise.
4697 (CompleteLimit5): Likewise.
4698 (CompleteLimit6): Likewise.
4699 (CompleteLimit7): Likewise.
4701 2015-04-08 Pedro Alves <palves@redhat.com>
4705 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4707 (main): Install it as SIGUSR1 handler.
4708 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4709 parameter. Always use "setup" as prefix. Toggle "set
4710 displaced-stepping" off/on depending on global. Don't switch to
4712 (top level): Add displaced stepping "off/on" test axis. Update
4713 "setup" calls. Wrap each subtest with with_test_prefix. Test
4714 continuing with a queued signal in each thread.
4716 2015-04-08 Pedro Alves <palves@redhat.com>
4718 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4719 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4720 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4721 Return early if running to main fails.
4722 * gdb.trace/while-stepping.exp: Likewise.
4724 2015-04-07 Pedro Alves <palves@redhat.com>
4726 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4727 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4728 interact with inferior program.
4730 2015-04-07 Pedro Alves <palves@redhat.com>
4732 * lib/gdb.exp (inferior_spawn_id): New global.
4733 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4734 spawn id after processing the user code.
4735 (default_gdb_start): Set inferior_spawn_id.
4736 (send_inferior): New procedure.
4737 * lib/gdbserver-support.exp (gdbserver_start): Set
4739 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4741 2015-04-07 Pedro Alves <palves@redhat.com>
4743 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4744 * lib/gdbserver-support.exp (gdbserver_start): Make
4745 $server_spawn_id global.
4746 (gdbserver_start): Don't wait for gdbserver's spawn id with
4748 (close_gdbserver): New procedure.
4749 (gdb_exit): Rename the default version and reimplement.
4751 2015-04-07 Pedro Alves <palves@redhat.com>
4753 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4754 append the substituted item, not the original item.
4756 2015-04-07 Pedro Alves <palves@redhat.com>
4758 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4761 2015-04-07 Pedro Alves <palves@redhat.com>
4763 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4764 output appearing once only.
4766 2015-04-07 Pedro Alves <palves@redhat.com>
4768 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4769 that doesn't expect anything. Return early if running to main
4772 2015-04-07 Yao Qi <yao.qi@linaro.org>
4774 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4775 (child_function): Call alarm.
4776 (main): Move call to alarm into the loop.
4777 * gdb.threads/non-stop-fair-events.exp: Build program with
4780 2015-04-06 Doug Evans <xdje42@gmail.com>
4782 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4783 Fix dest parameter to board_info.
4784 (fpc_compile): Ditto.
4785 (gdb_compile_pascal): Rename dest arg to destfile.
4787 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4789 * gdb.ada/funcall_ref.exp: New file.
4790 * gdb.ada/funcall_ref/foo.adb: New file.
4792 2015-04-02 Yao Qi <yao.qi@linaro.org>
4794 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4797 2015-04-02 Gary Benson <gbenson@redhat.com>
4799 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4801 2015-04-01 Sasha Smundak <asmundak@google.com>
4803 * gdb.python/py-unwind-maint.c: New file.
4804 * gdb.python/py-unwind-maint.exp: New test.
4805 * gdb.python/py-unwind-maint.py: New file.
4806 * gdb.python/py-unwind.c: New file.
4807 * gdb.python/py-unwind.exp: New test.
4808 * gdb.python/py-unwind.py: New test.
4810 2015-04-01 Pedro Alves <palves@redhat.com>
4812 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4813 to fail instead of non-existent $test.
4815 2015-04-01 Pedro Alves <palves@redhat.com>
4817 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4818 GDBFLAGS if not empty.
4820 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4822 * gdb.ada/complete.exp: Remove "multi_line".
4823 * gdb.ada/info_exc.exp: Remove "multi_line".
4824 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4825 * gdb.ada/ptype_field.exp: Remove "multi_line".
4826 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4827 * gdb.ada/tagged.exp: Remove "multi_line".
4828 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4830 * gdb.btrace/delta.exp: Likewise.
4831 * gdb.btrace/exception.exp: Likewise.
4832 * gdb.btrace/function_call_history.exp: Likewise.
4833 * gdb.btrace/instruction_history.exp: Likewise.
4834 * gdb.btrace/nohist.exp: Likewise.
4835 * gdb.btrace/record_goto.exp: Likewise.
4836 * gdb.btrace/segv.exp: Likewise.
4837 * gdb.btrace/stepi.exp: Likewise.
4838 * gdb.btrace/tailcall.exp: Likewise.
4839 * gdb.btrace/unknown_functions.exp: Likewise.
4840 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4841 * lib/gdb.exp: Add the "multi_line" helper.
4843 2015-04-01 Pedro Alves <palves@redhat.com>
4845 * gdb.threads/tid-reuse.c: New file.
4846 * gdb.threads/tid-reuse.exp: New file.
4848 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4851 * gdb.base/coredump-filter.c: New file.
4852 * gdb.base/coredump-filter.exp: Likewise.
4854 2015-03-27 Petr Machata <pmachata@redhat.com>
4856 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4857 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4858 (Dwarf::assemble): Initialize them.
4859 (Dwarf::lines): New function.
4861 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4863 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4864 SYMBOL_PREFIX for x86_64-*-cygwin.
4866 2015-03-26 Andy Wingo <wingo@igalia.com>
4869 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4870 const_value but not a location.
4871 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4872 location defined in non-main CUs are visible.
4874 2015-03-26 Yao Qi <yao.qi@linaro.org>
4877 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4878 Add a line number entry for the same line.
4879 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4880 Add a line number entry for the same line.
4882 2015-03-26 Yao Qi <yao.qi@linaro.org>
4884 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4886 (func): Likewise. Add .Lfunc_1 label.
4888 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4893 2015-03-26 Yao Qi <yao.qi@linaro.org>
4895 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4896 Call gdb_compile instead to compile each .s files without debug
4899 2015-03-26 Yao Qi <yao.qi@linaro.org>
4901 * gdb.base/savedregs.exp (process_saved_regs): Make
4902 "Saved registers:" optional in the pattern.
4904 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4906 * gdb.btrace/next.exp: Merged into step.exp.
4907 * gdb.btrace/finish.exp: Merged into step.exp.
4908 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4909 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4910 "record goto" and checking the exact replay position.
4911 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4912 check for "Recording format" in "info record" output.
4913 * gdb.btrace/record_goto.exp: Choose test file based on target.
4914 * gdb.btrace/x86-record_goto.S: Renamed into ...
4915 * gdb.btrace/x86_64-record_goto.S: ... this.
4916 * gdb.btrace/i686-record_goto.S: New.
4917 * gdb.btrace/x86-tailcall.S: Renamed into ...
4918 * gdb.btrace/x86_64-tailcall.S: ... this.
4919 * gdb.btrace/i686-tailcall.S: New.
4920 * gdb.btrace/x86-tailcall.c: Renamed into ...
4921 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4922 separate statements. Update test.
4923 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4924 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4925 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4926 * gdb.btrace/tailcall.exp: Choose test file based on target.
4927 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4929 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4931 * gdb.btrace/exception.exp: Increase BTS buffer size.
4933 2015-03-24 Pedro Alves <palves@redhat.com>
4935 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4937 2015-03-24 Pedro Alves <palves@redhat.com>
4939 * gdb.threads/schedlock.exp (test_step): No longer expect that
4940 "set scheduler-locking step" with "next" over a function call runs
4943 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4945 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4947 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4949 PR breakpoints/16466
4950 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4951 * gdb.mi/mi-pending.c (thread_func): New function.
4952 (int main): Add threading support required.
4953 * gdb.mi/mi-pending.exp: Add tests for this issue.
4954 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4955 (pendfunc2): Remove stdio dependency.
4956 * gdb.mi/mi-pendshr2.c: New file.
4958 2015-03-23 Keith Seitz <keiths@redhat.com>
4960 * gdb.linespec/keywords.c: New file.
4961 * gdb.linespec/keywords.exp: New file.
4963 2015-03-23 Keith Seitz <keiths@redhat.com>
4966 * gdb.dwarf2/staticvirtual.exp: New test.
4968 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4970 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4971 * README: Remove HP-UX and gdb.hp.
4973 * configure: Regenerate.
4974 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4975 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4976 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4977 gdb.hp/gdb.defects/Makefile.
4978 * gdb.hp/Makefile.in: File deleted.
4979 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4980 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4981 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4982 * gdb.hp/gdb.aCC/run.c: File deleted.
4983 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4984 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4985 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4986 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4987 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4988 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4989 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4990 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4991 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4992 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4993 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4994 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4995 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4996 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4997 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4998 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4999 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5000 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5001 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5002 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5003 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5004 * gdb.hp/gdb.compat/average.c: File deleted.
5005 * gdb.hp/gdb.compat/sum.c: File deleted.
5006 * gdb.hp/gdb.compat/xdb.c: File deleted.
5007 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5008 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5009 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5010 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5011 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5012 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5013 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5014 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5015 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5016 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5017 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5018 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5019 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5020 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5021 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5022 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5023 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5024 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5025 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5026 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5027 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5028 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5029 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5030 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5031 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5032 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5033 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5034 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5035 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5036 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5037 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5038 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5039 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5040 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5041 * gdb.hp/tools/odump: File deleted.
5043 2015-03-19 Pedro Alves <palves@redhat.com>
5045 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5046 (saw_thread_3): New globals.
5047 (top level): Increment them when an event for the corresponding
5049 (no thread starvation): New test.
5051 2015-03-19 Pedro Alves <palves@redhat.com>
5053 * gdb.threads/continue-pending-status.c: New file.
5054 * gdb.threads/continue-pending-status.exp: New file.
5056 2015-03-18 Pedro Alves <palves@redhat.com>
5058 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5059 Use gdb_is_target_remote instead of is_remote. Use
5060 gdb_test_multiple instead of gdb_expect. Exit early if
5061 gdb_test_multiple hits its internal matches. Tighten stepi tests
5062 expected output. Fail on exit with any signal, instead of just
5065 2015-03-18 Yao Qi <yao.qi@linaro.org>
5068 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5070 * gdb.base/catch-syscall.exp: Don't skip it on
5071 aarch64*-*-linux* target. Remove elements in all_syscalls.
5072 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5074 (setup_all_syscalls): New proc.
5076 2015-03-16 Yao Qi <yao.qi@linaro.org>
5078 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5079 (top level): Skip tests if valid_addr_p returns false for
5082 2015-03-11 Andy Wingo <wingo@igalia.com>
5084 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5086 2015-03-11 Yao Qi <yao.qi@linaro.org>
5088 * gdb.base/catch-syscall.exp: Fix typo in comments.
5090 2015-03-11 Yao Qi <yao.qi@linaro.org>
5092 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5094 2015-03-09 Pedro Alves <palves@redhat.com>
5096 * dg-extract-results.py: Delete.
5098 2015-03-09 Pedro Alves <palves@redhat.com>
5100 Merge dg-extract-results.sh from GCC upstream (r218843).
5102 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5103 * dg-extract-results.sh: Use --text with grep to avoid issues with
5104 binary files. Fall back to cat -v, if that doesn't work.
5106 2015-03-05 Pedro Alves <palves@redhat.com>
5108 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5110 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5112 * lib/mi-support.exp (mi_expect_interrupt): Accept
5113 alternative event for when in all-stop mode.
5115 2015-03-04 Pedro Alves <palves@redhat.com>
5117 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5119 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5121 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5123 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5125 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5126 regexps for GDB's current line display, accept a hex address
5127 preceding the line number.
5129 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5131 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5132 the 'arch1' variable for "s390*-linux*" targets.
5134 2015-03-04 Pedro Alves <palves@redhat.com>
5136 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5137 (main): Pass missing retval argument to pthread_join call.
5139 2015-03-02 Pedro Alves <palves@redhat.com>
5141 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5142 (top level): Call do_test with non-stop as well.
5144 2015-03-02 Pedro Alves <palves@redhat.com>
5146 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5149 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5151 * gdb.arch/s390-vregs.exp: New test.
5152 * gdb.arch/s390-vregs.S: New file.
5154 2015-02-27 Pedro Alves <palves@redhat.com>
5156 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5157 call to catch_command_errors.
5158 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5159 catch_command_errors.
5161 2015-02-27 Pedro Alves <palves@redhat.com>
5163 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5164 "true" for boolean result.
5165 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5168 2015-02-27 Pedro Alves <palves@redhat.com>
5170 * lib/unbuffer_output.c: New file.
5171 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5172 (main): Call gdb_unbuffer_output.
5174 2015-02-27 Yao Qi <yao.qi@linaro.org>
5176 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5179 2015-02-26 Doug Evans <dje@google.com>
5181 * gdb.cp/class2.cc (Dbase, D): New classes.
5182 (main): New local delta.
5183 * gdb.cp/class2.exp: Test printing delta.
5184 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5185 (dynbar): New global.
5186 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5188 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5190 * gdb.compile/compile-ifunc.c: New file.
5191 * gdb.compile/compile-ifunc.exp: New file.
5193 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5195 * gdb.base/structs.exp: Check for correct struct on finish.
5197 2015-02-26 Yao Qi <yao.qi@linaro.org>
5199 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5202 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5204 * gdb.arch/cordic.ko.bz2: New file.
5205 * gdb.arch/cordic.ko.debug.bz2: New file.
5206 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5208 2015-02-25 Yao Qi <yao.qi@linaro.org>
5210 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5211 aarch64*-*-* target.
5213 2015-02-23 Pedro Alves <palves@redhat.com>
5215 * lib/gdb.exp (delete_breakpoints): Rewrite using
5218 2015-02-23 Pedro Alves <palves@redhat.com>
5220 * gdb.base/info-os.c: Include stdlib.h.
5222 2015-02-22 Doug Evans <xdje42@gmail.com>
5225 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5226 is read after symbols have been re-read.
5227 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5228 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5230 2015-02-21 Doug Evans <dje@google.com>
5232 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5234 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5237 * gdb.arch/i386-biarch-core.core.bz2: New file.
5238 * gdb.arch/i386-biarch-core.exp: New file.
5240 2015-02-21 Pedro Alves <palves@redhat.com>
5242 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5245 2015-02-20 Pedro Alves <palves@redhat.com>
5247 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5250 2015-02-20 Pedro Alves <palves@redhat.com>
5252 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5254 2015-02-20 Pedro Alves <palves@redhat.com>
5256 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5257 clean_restart before gdb_target_supports_trace.
5259 2015-02-20 Pedro Alves <palves@redhat.com>
5262 * gdb.threads/clone-thread_db.c: New file.
5263 * gdb.threads/clone-thread_db.exp: New file.
5265 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5267 PR breakpoints/16812
5268 * gdb.base/catch-gdb-caused-signals.c: New file.
5269 * gdb.base/catch-gdb-caused-signals.exp: New file.
5271 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5273 * configure: Regenerated.
5274 * configure.ac: Use GDB_AC_TRANSFORM.
5275 * aclocal.m4: sinclude ../transform.m4.
5277 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5279 * lib/dtrace.exp: New file.
5280 * gdb.base/dtrace-probe.exp: Likewise.
5281 * gdb.base/dtrace-probe.d: Likewise.
5282 * gdb.base/dtrace-probe.c: Likewise.
5283 * lib/pdtrace.in: Likewise.
5284 * configure.ac: Output variables with the transformed names of
5285 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5286 * configure: Regenerated.
5288 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5290 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5291 expected message when trying to access $_probe_* convenience
5292 variables while not on a probe.
5294 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5296 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5298 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5300 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5301 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5303 2015-02-10 Doug Evans <xdje42@gmail.com>
5305 * lib/gdb.exp (gdb_load): Always return a result.
5307 2015-02-10 Pedro Alves <palves@redhat.com>
5309 * gdb.threads/signal-sigtrap.c: New file.
5310 * gdb.threads/signal-sigtrap.exp: New file.
5312 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5314 * gdb.trace/no-attach-trace.c: New file.
5315 * gdb.trace/no-attach-trace.exp: New file.
5317 2015-02-09 Mark Wielaard <mjw@redhat.com>
5319 * gdb.dwarf2/atomic.c: New file.
5320 * gdb.dwarf2/atomic-type.exp: Likewise.
5322 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5324 * gdb.btrace/buffer-size.exp: Update "info record" output.
5325 * gdb.btrace/delta.exp: Update "info record" output.
5326 * gdb.btrace/enable.exp: Update "info record" output.
5327 * gdb.btrace/finish.exp: Update "info record" output.
5328 * gdb.btrace/instruction_history.exp: Update "info record" output.
5329 * gdb.btrace/next.exp: Update "info record" output.
5330 * gdb.btrace/nexti.exp: Update "info record" output.
5331 * gdb.btrace/step.exp: Update "info record" output.
5332 * gdb.btrace/stepi.exp: Update "info record" output.
5333 * gdb.btrace/nohist.exp: Update "info record" output.
5335 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5337 * gdb.btrace/buffer-size: New.
5339 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5341 * gdb.btrace/delta.exp: Update "info record" output.
5342 * gdb.btrace/enable.exp: Update "info record" output.
5343 * gdb.btrace/finish.exp: Update "info record" output.
5344 * gdb.btrace/instruction_history.exp: Update "info record" output.
5345 * gdb.btrace/next.exp: Update "info record" output.
5346 * gdb.btrace/nexti.exp: Update "info record" output.
5347 * gdb.btrace/step.exp: Update "info record" output.
5348 * gdb.btrace/stepi.exp: Update "info record" output.
5349 * gdb.btrace/nohist.exp: Update "info record" output.
5351 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5354 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5356 2015-02-06 Pedro Alves <palves@redhat.com>
5358 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5360 (seconds_left, again): New globals.
5361 (main): Wait seconds_left in a 1-second sleep loop instead of
5362 sleeping 180 seconds. If 'again' is set, reset the seconds
5364 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5365 'again' in the inferior before detaching. Print the seconds left.
5366 (options): New global.
5367 (top level): Build program with -DTIMEOUT=$timeout.
5369 2015-02-06 Pedro Alves <palves@redhat.com>
5371 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5372 determine how many seconds to pass to 'alarm'.
5373 * gdb.base/gdb-sigterm.exp (top level): Build program with
5375 (do_test): Return success/failure indication. Add more verbose
5376 logging. Don't fail if 200 single steps are seen. Instead, fail
5377 when the test times out.
5378 (passes): New global.
5379 (top level): Break the testing loop if testing fails on any
5380 iteration. Use gdb_assert.
5382 2015-02-04 Don Breazeal <donb@codesourcery.com>
5384 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5385 and initialize them.
5386 (ipc_cleanup): New function.
5387 (main): Don't declare shmid, semid, and msqid. Add a call to
5388 atexit so that we call ipc_cleanup on exit.
5390 2015-02-04 Pedro Alves <palves@redhat.com>
5392 * boards/native-extended-gdbserver.exp: Remove any target variant
5393 specifications from the board name before clearing the isremote
5394 flag from board_info.
5396 2015-01-31 Doug Evans <xdje42@gmail.com>
5398 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5400 2015-01-31 Gary Benson <gbenson@redhat.com>
5402 * gdb.base/completion.exp: Disable completion limiting for
5403 existing tests. Add new tests to check completion limiting.
5404 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5406 2015-01-31 Doug Evans <xdje42@gmail.com>
5408 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5410 2015-01-31 Doug Evans <xdje42@gmail.com>
5412 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5413 entries. Duplicate file section script entries.
5414 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5415 inlined entries. Add test for safe-path rejection.
5416 * gdb.python/py-section-script.c: Add duplicate inlined section script
5417 entries. Duplicate file section script entries.
5418 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5419 inlined entries. Add test for safe-path rejection.
5421 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5423 * gdb.ada/disc_arr_bound: New testcase.
5425 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5427 * gdb.ada/mi_var_array: New testcase.
5429 2015-01-27 Doug Evans <dje@google.com>
5431 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5432 Add test for objfile.filename, objfile.username after objfile
5435 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5437 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5438 the second test to print the name attribute of value
5439 returned by the call to gdb.lookup_type, and adjust
5440 the expected output accordingly.
5442 2015-01-25 Mark Wielaard <mjw@redhat.com>
5444 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5445 * gdb.base/disp-step-fork.c: Include unistd.h.
5446 * gdb.base/siginfo-obj.c: Include stdio.h.
5447 * gdb.base/siginfo-thread.c: Likewise.
5448 * gdb.mi/non-stop.c: Include unistd.h.
5449 * gdb.mi/nsthrexec.c: Include stdio.h.
5450 * gdb.mi/pthreads.c: Include unistd.h.
5451 * gdb.modula2/unbounded1.c (main): Declare returns int.
5452 * gdb.reverse/consecutive-reverse.c: Likewise.
5453 * gdb.threads/create-fail.c: Include unistd.h.
5454 * gdb.threads/killed.c: Likewise.
5455 * gdb.threads/linux-dp.c: Likewise.
5456 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5457 * gdb.threads/non-ldr-exc-2.c: Likewise.
5458 * gdb.threads/non-ldr-exc-3.c: Likewise.
5459 * gdb.threads/non-ldr-exc-4.c: Likewise.
5460 * gdb.threads/pthreads.c: Include unistd.h.
5461 (main): Declare returns int.
5462 * gdb.threads/tls-main.c (foo): New declaration.
5463 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5465 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5467 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5468 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5470 2015-01-15 Mark Wielaard <mjw@redhat.com>
5472 * gdb.base/noreturn-return.c: New file.
5473 * gdb.base/noreturn-return.exp: New file.
5474 * gdb.base/noreturn-finish.c: New file.
5475 * gdb.base/noreturn-finish.exp: New file.
5477 2015-01-23 Pedro Alves <palves@redhat.com>
5479 * gdb.threads/continue-pending-after-query.c: New file.
5480 * gdb.threads/continue-pending-after-query.exp: New file.
5482 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5483 Simon Marchi <simon.marchi@ericsson.com>
5485 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5486 * gdb.base/valgrind-db-attach.exp: Same.
5487 * gdb.base/valgrind-infcall.exp: Same.
5488 * lib/mi-support.exp (default_mi_gdb_start): Same.
5489 * lib/prompt.exp (default_prompt_gdb_start): Same.
5490 * lib/gdb.exp (default_gdb_spawn): Same.
5491 (gdb_interact): New.
5494 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5496 * gdb.compile/compile.exp (pointer to jit function): New test.
5498 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5500 * lib/gdb.exp (supports_process_record): Return true for
5502 (supports_reverse): Likewise.
5504 2015-01-15 Don Breazeal <donb@codesourcery.com>
5506 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5507 instead of checking whether the target board is remote and
5508 use spawn_wait_for_attach instead of exec/sleep.
5509 * gdb.base/attach-twice.exp: Likewise.
5511 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5513 * gdb.ada/var_arr_attrs: New testcase.
5515 2015-01-14 Pedro Alves <palves@redhat.com>
5516 Joel Brobecker <brobecker@adacore.com>
5519 * gdb.base/bp-cmds-execution-x-script.c: New file.
5520 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5521 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5523 2015-01-14 Pedro Alves <palves@redhat.com>
5526 * gdb.base/batch-preserve-term-settings.c: New file.
5527 * gdb.base/batch-preserve-term-settings.exp: New file.
5529 2015-01-13 Doug Evans <dje@google.com>
5531 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5534 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5536 * Makefile.in (clean mostlyclean): Do not delete *.py.
5538 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5540 * gdb.python/py-lookup-type.exp: New file.
5542 2015-01-12 Pedro Alves <palves@redhat.com>
5544 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5545 restore GDBFLAGS before returning.
5547 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5549 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5550 is_amd64_regs_target and is_x86_like_target.
5552 2015-01-11 Doug Evans <xdje42@gmail.com>
5554 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5555 is given without an explicit form.
5556 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5558 * gdb.dwarf/corrupt.exp: Ditto.
5559 * gdb.dwarf2/enum-type.exp: Ditto.
5560 * gdb.trace/entry-values.exp: Ditto.
5561 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5563 2015-01-11 Doug Evans <xdje42@gmail.com>
5566 * gdb.base/maint.exp: Remove references to "maint demangle".
5567 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5568 Add tests for explicitly specifying language to demangle.
5569 * gdb.dlang/demangle.exp: Ditto.
5571 2015-01-09 Pedro Alves <palves@redhat.com>
5573 * gdb.threads/non-stop-fair-events.c: New file.
5574 * gdb.threads/non-stop-fair-events.exp: New file.
5576 2015-01-09 Pedro Alves <palves@redhat.com>
5578 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5579 the global scope. Set a breakpoint after all threads are started
5580 rather than stepping over two source lines. Expect the prompt.
5581 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5584 (main): Use threads_started_barrier to wait for all threads to
5585 start. Main thread no longer calls thread_function. Exit after
5587 (loop): New function.
5588 (thread_function): Wait on threads_started_barrier barrier. Call
5589 'loop' at each iteration.
5590 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5591 threads have started, instead of hardcoding number of "next"
5592 steps. Use an access watchpoint instead of a write watchpoint.
5594 2015-01-09 Pedro Alves <palves@redhat.com>
5596 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5597 (thread_func): Wait on barrier.
5598 (main): Wait for all threads to start before stopping GDB.
5599 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5601 (thread1_func, thread2_func): Wait on barrier.
5602 (main): Wait for all threads to start before stopping GDB.
5603 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5605 (thread1_func, thread2_func): Wait on barrier.
5606 (main): Wait for all threads to start before stopping GDB.
5608 2015-01-09 Pedro Alves <palves@redhat.com>
5610 * gdb.threads/attach-many-short-lived-threads.c: New file.
5611 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5613 2014-01-09 Pedro Alves <palves@redhat.com>
5615 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5616 instead of to thread 2.
5617 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5618 Add barrier around each pthread_create call instead of around all
5620 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5621 Set a break on thread_function and have the child threads hit it
5624 2015-01-09 Pedro Alves <palves@redhat.com>
5626 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5627 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5629 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5630 checking whether the target board is remote.
5631 * gdb.multi/multi-attach.exp: Likewise.
5632 * gdb.python/py-sync-interp.exp: Likewise.
5633 * gdb.server/ext-attach.exp: Likewise.
5634 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5635 tests that need to attach, instead of checking whether the target
5636 board is remote at the top of the file.
5638 2015-01-08 Yao Qi <yao@codesourcery.com>
5640 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5642 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5644 Fix testcase compilation.
5645 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5647 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5649 * gdb.python/py-type.exp: Add a couple test about empty
5650 array creation, and negative-length array creation.
5652 2015-01-02 Doug Evans <xdje42@gmail.com>
5654 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5656 2015-01-02 Doug Evans <dje@google.com>
5658 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5660 2014-12-29 Yao Qi <yao@codesourcery.com>
5662 * gdb.trace/entry-values.exp: Update comments. Rename variable
5663 bar_call_foo to returned_from_foo.
5665 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5668 * gdb.linespec/break-asm-file.c: New file.
5669 * gdb.linespec/break-asm-file.exp: New file.
5670 * gdb.linespec/break-asm-file0.s: New file.
5671 * gdb.linespec/break-asm-file1.s: New file.
5673 2014-12-18 Nigel Stephens <nigel@mips.com>
5674 Maciej W. Rozycki <macro@codesourcery.com>
5676 * gdb.base/float.exp: Handle the new output from "info float" on
5679 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5681 Fix MinGW compilation.
5682 * gdb.compile/compile-ops.exp: Update untested message if
5683 !skip_compile_feature_tests.
5684 * gdb.compile/compile-setjmp.exp: Likewise.
5685 * gdb.compile/compile-tls.exp: Likewise.
5686 * gdb.compile/compile.exp: Likewise.
5687 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5688 supported on this host".
5690 2014-12-16 Doug Evans <xdje42@gmail.com>
5692 * boards/stabs.exp: New file.
5694 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5696 * gdb.base/completion.exp: Adjust to format changes of "maint
5697 print user-registers".
5699 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5702 * gdb.arch/aarch64-fp.c: New file.
5703 * gdb.arch/aarch64-fp.exp: New file.
5705 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5707 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5708 r210637, r210913, r211666, r215400, r215817).
5710 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5711 * dg-extract-results.py: New file.
5712 * dg-extract-results.sh: Use it if the environment seems
5715 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5717 * dg-extract-results.py (parse_run): Handle warnings that
5718 are printed before a test harness is run.
5720 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5722 * dg-extract-results.py (Named): Remove __cmp__ method.
5723 (output_variation): Use a key to sort variation.harnesses.
5725 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5727 * dg-extract-results.py: For Python 3, force sys.stdout to
5728 handle surrogate escape sequences.
5729 (safe_open): New function.
5730 (output_segment, main): Use it.
5732 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5734 * dg-extract-results.py (Prog.result_re): Include options
5737 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5739 * dg-extract-results.py (output_variation): Always sort if
5742 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5744 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5745 as long as we get pagination notifications.
5747 2014-12-15 Jason Merrill <jason@redhat.com>
5749 * Makefile.in (check-gdb.%): Restore.
5750 * README: Mention it.
5752 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5754 * gdb.ada/str_uninit: New testcase.
5756 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5759 * gdb.base/vla-stub-define.c: New file.
5760 * gdb.base/vla-stub.c: New file.
5761 * gdb.base/vla-stub.exp: New file.
5763 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5764 Jan Kratochvil <jan.kratochvil@redhat.com>
5765 Tom Tromey <tromey@redhat.com>
5767 * configure.ac: Add gdb.compile/.
5768 * configure: Regenerate.
5769 * gdb.compile/Makefile.in: New file.
5770 * gdb.compile/compile-ops.exp: New file.
5771 * gdb.compile/compile-ops.c: New file.
5772 * gdb.compile/compile-tls.c: New file.
5773 * gdb.compile/compile-tls.exp: New file.
5774 * gdb.compile/compile-constvar.S: New file.
5775 * gdb.compile/compile-constvar.c: New file.
5776 * gdb.compile/compile-mod.c: New file.
5777 * gdb.compile/compile-nodebug.c: New file.
5778 * gdb.compile/compile-setjmp-mod.c: New file.
5779 * gdb.compile/compile-setjmp.c: New file.
5780 * gdb.compile/compile-setjmp.exp: New file.
5781 * gdb.compile/compile-shlib.c: New file.
5782 * gdb.compile/compile.c: New file.
5783 * gdb.compile/compile.exp: New file.
5784 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5786 2014-12-12 Tom Tromey <tromey@redhat.com>
5788 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5789 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5791 2014-12-12 Doug Evans <dje@google.com>
5793 * lib/gdb-python.exp (get_python_valueof): New function.
5794 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5796 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5798 * gdb.base/completion.exp: Add test for completion of "info
5801 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5803 * gdb.base/func-ptrs.c: New file.
5804 * gdb.base/func-ptrs.exp: New file.
5806 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5808 PR breakpoints/17012
5809 * gdb.base/dprintf-detach.c: New file.
5810 * gdb.base/dprintf-detach.exp: New file.
5812 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5814 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5815 * lib/gdb.exp (target_is_gdbserver): New procedure.
5817 2014-12-08 Doug Evans <dje@google.com>
5819 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5821 2014-12-05 Yao Qi <yao@codesourcery.com>
5823 * gdb.guile/scm-error.exp: Remove the third argument to
5824 gdb_remote_download.
5825 * gdb.guile/scm-frame-args.exp: Likewise.
5826 * gdb.guile/scm-section-script.exp: Likewise.
5828 2014-12-05 Yao Qi <yao@codesourcery.com>
5830 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5832 2014-12-04 Doug Evans <dje@google.com>
5834 * gdb.python/py-objfile.exp: Add tests for
5835 objfile.add_separate_debug_file.
5837 2014-12-04 Doug Evans <dje@google.com>
5839 * lib/gdb.exp (get_build_id): New function.
5840 (build_id_debug_filename_get): Rewrite to use it.
5841 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5843 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5845 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5846 `method(long)', not just 0x0.
5847 * gdb.cp/nsalias.exp: Align code labels to 4.
5848 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5849 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5850 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5851 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5852 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5853 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5855 2014-12-02 Doug Evans <dje@google.com>
5858 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5859 * gdb.cp/anon-ns2.cc: ... here. New file.
5860 * gdb.cp/anon-ns.exp: Update.
5862 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5864 * gdb.python/py-events.py (inferior_call_handler): New.
5865 (register_changed_handler, memory_changed_handler): New.
5866 (test_events.invoke): Register new handlers.
5867 * gdb.python/py-events.exp: Add tests for inferior call,
5868 memory_changed and register_changed events.
5870 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5872 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5873 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5874 if the linker doesn't understand this.
5876 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5878 * gdb.python/python.exp: Change expected reply to help().
5880 2014-12-01 Yao Qi <yao@codesourcery.com>
5882 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5883 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5884 * configure: Re-generated.
5886 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5888 * gdb.cp/chained-calls.cc: New file.
5889 * gdb.cp/chained-calls.exp: New file.
5890 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5892 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5894 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5895 * gdb.dwarf2/symtab-producer.exp: Same.
5896 * gdb.gdb/python-interrupts.exp: Same.
5897 * gdb.gdb/python-selftest.exp: Same.
5898 * gdb.python/py-linetable.exp: Same.
5899 * gdb.python/py-type.exp: Same.
5900 * gdb.python/py-value-cc.exp: Same.
5901 * gdb.python/py-value.exp: Same.
5903 2014-11-28 Yao Qi <yao@codesourcery.com>
5905 * gdb.base/break-probes.exp: Match library name prefixed with
5908 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5910 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5911 test expected output. Add parentheses for the call to print.
5912 Remove L suffix from integers.
5914 2014-11-26 Doug Evans <dje@google.com>
5916 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5918 2014-11-22 Yao Qi <yao@codesourcery.com>
5920 * gdb.trace/entry-values.c: Remove asms.
5921 (foo): Add foo_label.
5922 (bar): Add bar_label.
5923 * gdb.trace/entry-values.exp: Remove code computing foo's
5924 length and bar's length.
5925 (Dwarf::assemble): Invoke function_range for bar and use
5926 MACRO_AT_func for foo.
5928 2014-11-22 Yao Qi <yao@codesourcery.com>
5930 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5931 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5932 Use .Lgcc43_procstart instead of gcc43.
5934 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5936 * gdb.ada/n_arr_bound: New testcase.
5938 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5940 PR breakpoints/10737
5941 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5942 test_catch_syscall_multi_arch.
5943 (test_catch_syscall_multi_arch): New function.
5945 2014-11-20 Doug Evans <xdje42@gmail.com>
5947 * gdb.base/maint.exp: Update expected output.
5949 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5952 4-byte instruction on S390.
5954 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5956 * gdb.ada/arr_arr: New testcase.
5958 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5960 * gdb.ada/pkd_arr_elem: New Testcase.
5962 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5964 * gdb.reverse/break-precsave: Expect completion message for
5966 * gdb.reverse/consecutive-precsave.exp: Likewise.
5967 * gdb.reverse/finish-precsave.exp: Likewise.
5968 * gdb.reverse/i386-precsave.exp: Likewise.
5969 * gdb.reverse/machinestate-precsave.exp: Likewise.
5970 * gdb.reverse/sigall-precsave.exp: Likewise.
5971 * gdb.reverse/solib-precsave.exp: Likewise.
5972 * gdb.reverse/step-precsave.exp: Likewise.
5973 * gdb.reverse/until-precsave.exp: Likewise.
5974 * gdb.reverse/watch-precsave.exp: Likewise.
5976 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5978 * gdb.base/bp-permanent.c: Include unistd.h.
5979 * gdb.python/py-framefilter-mi.c (main): Add return type.
5980 * gdb.python/py-framefilter.c (main): Likewise.
5981 * gdb.trace/actions-changed.c (main): Likewise.
5983 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5985 * gdb.mi/until.c: Add eye-catchers.
5986 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5989 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5991 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5992 function header variants in break1.c.
5993 * gdb.base/ena-dis-br.exp: Likewise.
5994 * gdb.base/hbreak2.exp: Likewise.
5995 * gdb.reverse/until-precsave.exp: Drop references to removed
5996 non-prototype function header variants in ur1.c.
5997 * gdb.reverse/until-reverse.exp: Likewise.
5999 2014-11-17 Petr Machata <pmachata@redhat.com>
6001 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6002 ${_cu_offset_size} bytes abbrev offset.
6004 2014-11-15 Doug Evans <xdje42@gmail.com>
6007 * gdb.base/line-symtabs.exp: New file.
6008 * gdb.base/line-symtabs.c: New file.
6009 * gdb.base/line-symtabs.h: New file.
6011 2014-11-14 Yao Qi <yao@codesourcery.com>
6013 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6014 (func): Add label func_label.
6015 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6016 Replace low_pc and high_pc with MACRO_AT_range.
6017 Replace name, low_pc and high_pc with MACRO_AT_func.
6019 2014-11-14 Yao Qi <yao@codesourcery.com>
6021 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6022 Replace name, low_pc and high_pc with MACRO_AT_func.
6024 2014-11-14 Yao Qi <yao@codesourcery.com>
6026 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6027 produce debug information.
6028 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6030 2014-11-14 Yao Qi <yao@codesourcery.com>
6032 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6033 object and get function length.
6034 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6036 (top-level): Replace gdb_compile and clean_restart with
6037 prepare_for_testing.
6038 * gdb.dwarf2/main.c (main): Add label main_label.
6040 2014-11-14 Yao Qi <yao@codesourcery.com>
6042 * lib/dwarf.exp (function_range): New procedure.
6043 (Dwarf::_handle_macro_at_func): New procedure.
6044 (Dwarf::_handle_macro_at_range): New procedure.
6045 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6047 2014-11-14 Yao Qi <yao@codesourcery.com>
6049 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6050 (_handle_attribute): New procedure.
6052 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6054 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6055 * gdb.base/call-sc.c (zed): Likewise.
6056 * gdb.base/checkpoint.c (main): Likewise.
6057 * gdb.base/dump.c (main): Likewise.
6058 * gdb.base/gcore.c (main): Likewise.
6059 * gdb.base/huge.c (main): Likewise.
6060 * gdb.base/multi-forks.c (main): Likewise.
6061 * gdb.base/pr10179-a.c (main): Likewise.
6062 * gdb.base/savedregs.c (main): Likewise.
6063 * gdb.base/sigaltstack.c (main): Likewise.
6064 * gdb.base/siginfo.c (main): Likewise.
6065 * gdb.base/structs.c (zed): Likewise.
6066 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6067 * gdb.mi/mi-syn-frame.c (main): Likewise.
6068 * gdb.mi/until.c (foo, main): Likewise.
6069 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6070 * gdb.base/solib-weak.c (foo): Declare.
6071 * gdb.base/attach-twice.c: Include stdio.h.
6072 * gdb.base/weaklib1.c: Likewise.
6073 * gdb.base/weaklib2.c: Likewise.
6074 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6075 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6077 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6078 * gdb.mi/mi-exit-code.c: Likewise.
6079 * gdb.base/break-interp-lib.c: Include string.h.
6080 * gdb.base/coremaker.c: Likewise.
6081 * gdb.base/testenv.c: Likewise.
6082 * gdb.python/py-finish-breakpoint.c: Likewise.
6083 * gdb.base/inferior-died.c: Include sys/wait.h.
6084 * gdb.base/fileio.c: Include time.h.
6085 * gdb.base/async-shell.c: Include unistd.h.
6086 * gdb.base/dprintf-non-stop.c: Likewise.
6087 * gdb.base/info-os.c: Likewise.
6088 * gdb.mi/mi-console.c: Likewise.
6089 * gdb.mi/watch-nonstop.c: Likewise.
6090 * gdb.python/py-events.c: Likewise.
6091 * gdb.base/async.c (baz): Move up before its invocation.
6092 * gdb.base/code_elim2.c (my_global_func): Likewise.
6093 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6094 * gdb.base/advance.c (func2): Likewise.
6096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6100 * gdb.base/annota3.c: Likewise.
6101 * gdb.base/async.c: Likewise.
6102 * gdb.base/average.c: Likewise.
6103 * gdb.base/call-ar-st.c: Likewise.
6104 * gdb.base/call-rt-st.c: Likewise.
6105 * gdb.base/call-sc.c: Likewise.
6106 * gdb.base/call-strs.c: Likewise.
6107 * gdb.base/ending-run.c: Likewise.
6108 * gdb.base/execd-prog.c: Likewise.
6109 * gdb.base/exprs.c: Likewise.
6110 * gdb.base/foll-exec.c: Likewise.
6111 * gdb.base/foll-fork.c: Likewise.
6112 * gdb.base/foll-vfork.c: Likewise.
6113 * gdb.base/funcargs.c: Likewise.
6114 * gdb.base/gcore.c: Likewise.
6115 * gdb.base/jump.c: Likewise.
6116 * gdb.base/langs0.c: Likewise.
6117 * gdb.base/langs1.c: Likewise.
6118 * gdb.base/langs2.c: Likewise.
6119 * gdb.base/mips_pro.c: Likewise.
6120 * gdb.base/nodebug.c: Likewise.
6121 * gdb.base/opaque0.c: Likewise.
6122 * gdb.base/opaque1.c: Likewise.
6123 * gdb.base/recurse.c: Likewise.
6124 * gdb.base/run.c: Likewise.
6125 * gdb.base/scope0.c: Likewise.
6126 * gdb.base/scope1.c: Likewise.
6127 * gdb.base/setshow.c: Likewise.
6128 * gdb.base/setvar.c: Likewise.
6129 * gdb.base/shmain.c: Likewise.
6130 * gdb.base/shr1.c: Likewise.
6131 * gdb.base/shr2.c: Likewise.
6132 * gdb.base/sigall.c: Likewise.
6133 * gdb.base/signals.c: Likewise.
6134 * gdb.base/so-indr-cl.c: Likewise.
6135 * gdb.base/solib2.c: Likewise.
6136 * gdb.base/structs.c: Likewise.
6137 * gdb.base/sum.c: Likewise.
6138 * gdb.base/vforked-prog.c: Likewise.
6139 * gdb.base/watchpoint.c: Likewise.
6140 * gdb.reverse/shr2.c: Likewise.
6141 * gdb.reverse/until-reverse.c: Likewise.
6142 * gdb.reverse/ur1.c: Likewise.
6143 * gdb.reverse/watch-reverse.c: Likewise.
6145 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6147 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6149 * gdb.base/sepdebug.exp: Drop references to removed code.
6151 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6153 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6154 variant. Preserve original line numbering.
6155 * gdb.base/list1.c: Likewise.
6157 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6159 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6161 * gdb.base/break1.c: Likewise.
6162 * gdb.base/break.exp: Drop references to removed code.
6164 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6171 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6173 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6175 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6176 logic into perform_all_tests() and invoke it with and without
6177 function header prototypes.
6178 (do_function_calls): Remove conditional XFAIL for PR 5318.
6179 (rerun_and_prepare): Remove duplicate code.
6180 (perform_all_tests): New. Main logic moved here.
6182 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6184 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6185 code guarded by #ifdef NO_PROTOTYPES.
6186 (t_double_many_args): Likewise.
6187 (DEF_FUNC_MANY_ARGS_1): Likewise.
6188 (DEF_FUNC_VALUES_1): Likewise.
6189 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6190 guarded by #ifdef PROTOTYPES.
6192 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6194 * gdb.mi/mi-console.c: Add eye-catcher.
6195 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6196 instead of literal line number.
6198 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6200 * gdb.base/shr2.c: Add eye-catcher.
6201 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6206 * gdb.base/jump.c: Add eye-catchers.
6207 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6210 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6212 * gdb.base/execd-prog.c: Add eye-catchers.
6213 * gdb.base/foll-exec.c: Likewise.
6214 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6217 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6219 * gdb.base/ending-run.c: Add eye-catchers.
6220 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6221 literal line numbers.
6223 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225 * gdb.base/call-rt-st.c: Add eye-catchers.
6226 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6227 literal line numbers.
6229 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6231 * gdb.base/call-ar-st.c: Add eye-catchers.
6232 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6233 literal line numbers.
6235 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6237 * gdb.base/average.c: Add eye-catchers.
6238 * gdb.base/sum.c: Likewise.
6239 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6240 regexps dynamically.
6242 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6244 * gdb.base/solib1.c: Add eye-catchers.
6245 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6246 literal line numbers.
6248 2014-11-12 Pedro Alves <palves@redhat.com>
6250 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6253 2014-11-12 Pedro Alves <palves@redhat.com>
6255 * gdb.arch/i386-bp_permanent.c: New file.
6256 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6257 (srcfile): Set to i386-bp_permanent.c.
6258 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6259 that stepi does not execute the 'leave' instruction, instead of
6260 testing it does execute.
6261 * gdb.base/bp-permanent.c: New file.
6262 * gdb.base/bp-permanent.exp: New file.
6264 2014-11-10 Doug Evans <xdje42@gmail.com>
6267 * gdb.base/symtab-search-order.exp: New file.
6268 * gdb.base/symtab-search-order.c: New file.
6269 * gdb.base/symtab-search-order-1.c: New file.
6270 * gdb.base/symtab-search-order-shlib-1.c: New file.
6272 2014-11-07 Pedro Alves <palves@redhat.com>
6275 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6278 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6281 * gdb.cp/pr17494.cc: New file.
6282 * gdb.cp/pr17494.exp: New file.
6284 2014-11-02 Yao Qi <yao@codesourcery.com>
6286 * gdb.python/python.exp: Get working directory and match the
6287 output of "set extended-prompt \\w " with it.
6289 2014-10-30 Doug Evans <dje@google.com>
6291 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6293 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6296 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6298 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6299 * gdb.base/realname-expand.exp: Likewise.
6300 * gdb.linespec/macro-relative.exp: Likewise.
6302 2014-10-29 Pedro Alves <palves@redhat.com>
6305 * gdb.threads/schedlock.c (some_function): New function.
6306 (call_function): New global.
6307 (MAYBE_CALL_SOME_FUNCTION): New macro.
6308 (thread_function): Call it.
6309 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6310 and use it instead of a global counter. Adjust all callers.
6311 (get_current_thread): Use "find current thread" for test message
6312 here rather than having all callers pass down the same string.
6313 (goto_loop): New procedure, factored out from ...
6314 (my_continue): ... this.
6315 (step_ten_loops): Change parameter from test message to command to
6317 (list_count): Delete global.
6318 (check_result): New procedure, factored out from duplicate top
6320 (continue tests): Wrap in with_test_prefix.
6321 (test_step): New procedure, factored out from duplicate top level
6323 (top level): Test "step" in combination with all scheduler-locking
6324 modes. Test "next" in combination with all scheduler-locking
6325 modes, and in combination with stepping over a function call or
6327 * gdb.threads/next-bp-other-thread.c: New file.
6328 * gdb.threads/next-bp-other-thread.exp: New file.
6330 2014-10-29 Pedro Alves <palves@redhat.com>
6333 * gdb.python/python.exp: Test a multi-line command that spawns
6335 * gdb.base/multi-line-starts-subshell.exp: New file.
6337 2014-10-29 Yao Qi <yao@codesourcery.com>
6339 * gdb.base/fileio.exp: Make directories on host.
6341 2014-10-29 Yao Qi <yao@codesourcery.com>
6343 * gdb.base/fileio.c (test_write): Close the file.
6345 2014-10-28 Pedro Alves <palves@redhat.com>
6348 * gdb.base/sigstep.c (no_handler): New global.
6349 (main): If 'no_handler is true, set the signal handlers to
6351 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6352 with_sw_watch and no_handler parameters. Handle them.
6353 (top level) <stepping over handler when stopped at a breakpoint
6354 test>: Add a test axis for testing with a software watchpoint, and
6355 another for testing with the signal handler set to SIG_IGN.
6356 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6357 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6359 2014-10-28 Pedro Alves <palves@redhat.com>
6362 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6363 * gdb.base/sigstep.exp (other_handler_location): New global.
6364 (advance): Support stepping into the signal handler, and running
6365 commands while in the handler.
6366 (in_handler_map): New global.
6367 (top level): In the advance test, add combinations for getting
6368 into the handler with stepping commands, and for running commands
6369 in the handler. Add comment descripting the advancei tests.
6371 2014-10-28 Pedro Alves <palves@redhat.com>
6373 * gdb.base/sigstep.exp: Use build_executable instead of
6374 prepare_for_testing.
6375 (top level): Move code that starts GDB, runs to main and creates a
6377 (restart): ... this new procedure.
6378 (top level): Move backtrace from signal handler test to ...
6379 (validate_backtrace): ... this new procedure.
6380 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6381 with_test_prefix. Always restart GDB.
6382 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6383 with_test_prefix. Always restart GDB. No need to delete
6384 breakpoints after the test.
6385 (test_skip_handler): Remove prefix parameter.
6386 (skip_over_handler, breakpoint_to_handler)
6387 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6388 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6389 restart GDB. No need to delete breakpoints after the test.
6390 (top level): Use foreach to call the test procedures with
6393 2014-10-28 Pedro Alves <palves@redhat.com>
6395 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6396 instead of GNATS numbers.
6397 * gdb.base/sigbpt.exp: Likewise.
6398 * gdb.base/siginfo.exp: Likewise.
6399 * gdb.base/sigstep.exp: Likewise.
6401 2014-10-27 Pedro Alves <palves@redhat.com>
6403 * gdb.base/sigstep.c (dummy): New global.
6404 (main): Issue a couple writes to the new global.
6405 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6407 (skip_over_handler): Use test_skip_handler.
6408 (top level): Call skip_over_handler for stepi and nexti too.
6409 (breakpoint_over_handler): Use test_skip_handler.
6410 (top level): Call breakpoint_over_handler for stepi and nexti too.
6412 2014-10-27 Yao Qi <yao@codesourcery.com>
6414 * gdb.trace/tfile.c (adjust_function_address)
6415 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6416 function descriptor.
6418 2014-10-24 Don Breazeal <donb@codesourcery.com>
6420 * gdb.base/foll-fork.exp (test_follow_fork,
6421 catch_fork_child_follow): Check for updated fork messages emitted
6423 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6424 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6425 vfork_and_exec_child_follow_through_step): Check for updated vfork
6426 messages emitted from infrun.c.
6428 2014-10-24 Pedro Alves <palves@redhat.com>
6430 * gdb.base/corefile.exp: Remove references to ultrix.
6431 * gdb.base/interrupt.exp: Likewise.
6432 * gdb.base/whatis.exp: Likewise.
6433 * gdb.gdb/selftest.exp: Likewise.
6434 * gdb.threads/manythreads.exp: Likewise.
6435 * gdb.threads/print-threads.exp: Likewise.
6436 * gdb.threads/pthreads.exp:: Likewise.
6437 * gdb.threads/schedlock.exp: Likewise.
6439 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6441 * gdb.cp/non-trivial-retval.cc: Add a test case.
6442 * gdb.cp/non-trivial-retval.exp: Add a test.
6444 2014-10-20 Yao Qi <yao@codesourcery.com>
6446 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6447 * gdb.python/py-objfile-script-gdb.py: New file.
6448 * gdb.python/py-objfile-script.exp: Update reference to
6449 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6450 of remote_download. Remove the dest file.
6452 2014-10-20 Yao Qi <yao@codesourcery.com>
6454 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6455 * gdb.base/step-line.exp: Likewise.
6456 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6457 * gdb.dwarf2/dw2-basic.exp: Likewise.
6458 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6459 * gdb.dwarf2/dw2-filename.exp: Likewise.
6460 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6461 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6462 * gdb.dwarf2/dw2-producer.exp: Likewise.
6463 * gdb.dwarf2/mac-fileno.exp: Likewise.
6464 * gdb.python/py-frame-args.exp: Likewise.
6465 * gdb.python/py-framefilter.exp: Likewise.
6466 * gdb.python/py-mi.exp: Likewise.
6467 * gdb.python/py-objfile-script.exp: Likewise
6468 * gdb.python/py-pp-integral.exp: Likewise.
6469 * gdb.python/py-pp-re-notag.exp: Likewise.
6470 * gdb.python/py-prettyprint.exp: Likewise.
6471 * gdb.python/py-section-script.exp: Likewise.
6472 * gdb.python/py-typeprint.exp: Likewise.
6473 * gdb.python/py-xmethods.exp: Likewise.
6474 * gdb.stabs/weird.exp: Likewise.
6475 * gdb.xml/tdesc-regs.exp: Likewise.
6477 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6479 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6480 (out_cu): Use addr_len for the size of addresses.
6481 (out_line): Likewise. Size DW_LNE_set_address instruction
6482 according to addr_len.
6483 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6484 (FUNC): Add START_INSNS to definition.
6486 2014-10-18 Yao Qi <yao@codesourcery.com>
6488 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6489 gdb_has_argv0 return true.
6490 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6491 check [target_info exists noargs], check [gdb_has_argv0]
6493 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6494 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6497 2014-10-17 Doug Evans <dje@google.com>
6499 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6501 * gdb.python/py-events.py: Add clear_objfiles event.
6503 2014-10-17 Doug Evans <dje@google.com>
6505 * gdb.python/py-objfile.exp: Test progspace attribute.
6507 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6509 * gdb.guile/scm-breakpoint.exp: Do not assume any
6510 directory separators when matching source file paths.
6511 * gdb.python/py-breakpoint.exp: Likewise.
6512 * gdb.reverse/break-precsave.exp: Likewise.
6513 * gdb.reverse/break-reverse.exp: Likewise.
6514 * gdb.reverse/consecutive-precsave.exp: Likewise.
6515 * gdb.reverse/finish-precsave.exp: Likewise.
6516 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6517 * gdb.reverse/finish-reverse.exp: Likewise.
6518 * gdb.reverse/i386-precsave.exp: Likewise.
6519 * gdb.reverse/i387-env-reverse.exp: Likewise.
6520 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6521 * gdb.reverse/machinestate-precsave.exp: Likewise.
6522 * gdb.reverse/machinestate.exp: Likewise.
6523 * gdb.reverse/sigall-precsave.exp: Likewise.
6524 * gdb.reverse/solib-precsave.exp: Likewise.
6525 * gdb.reverse/step-precsave.exp: Likewise.
6526 * gdb.reverse/until-precsave.exp: Likewise.
6527 * gdb.reverse/watch-precsave.exp: Likewise.
6528 * gdb.reverse/watch-reverse.exp: Likewise.
6530 2014-10-17 Yao Qi <yao@codesourcery.com>
6532 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6533 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6535 2014-10-17 Pedro Alves <palves@redhat.com>
6538 * gdb.base/bg-execution-repeat.c: New file.
6539 * gdb.base/bg-execution-repeat.exp: New file.
6541 2014-10-17 Pedro Alves <palves@redhat.com>
6544 * gdb.base/continue-all-already-running.c: New file.
6545 * gdb.base/continue-all-already-running.exp: New file.
6547 2014-10-17 Pedro Alves <palves@redhat.com>
6550 * gdb.base/annota-input-while-running.c: New file.
6551 * gdb.base/annota-input-while-running.exp: New file.
6553 2014-10-17 Pedro Alves <palves@redhat.com>
6555 * gdb.base/callfuncs.exp: emove references to osf.
6556 * gdb.base/sigall.exp: Likewise.
6557 * gdb.gdb/selftest.exp: Likewise.
6558 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6559 * gdb.mi/non-stop.c: Likewise.
6560 * gdb.mi/pthreads.c: Likewise.
6561 * gdb.reverse/sigall-precsave.exp: Likewise.
6562 * gdb.reverse/sigall-reverse.exp: Likewise.
6563 * gdb.threads/pthreads.c: Likewise.
6564 * gdb.threads/pthreads.exp: Likewise.
6566 2014-10-17 Yao Qi <yao@codesourcery.com>
6568 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6569 check 'target_info exists noargs'.
6570 (test_command_prompt_position): Likewise.
6571 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6573 (progvar_simple_while_test): Likewise.
6574 (progvar_complex_if_while_test): Likewise.
6575 (if_while_breakpoint_command_test): Likewise.
6576 (infrun_breakpoint_command_test): Likewise.
6577 (breakpoint_command_test): Likewise.
6578 (watchpoint_command_test): Likewise.
6579 (bp_deleted_in_command_test): Likewise.
6580 (temporary_breakpoint_commands): Likewise.
6582 2014-10-16 Yao Qi <yao@codesourcery.com>
6584 * gdb.base/remotetimeout.exp: Remove noargs checking.
6586 2014-10-15 Pedro Alves <palves@redhat.com>
6589 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6590 * gdb.base/breakpoint-in-ro-region.exp
6591 (probe_target_hardware_step): New procedure.
6592 (top level): Probe hardware stepping and hardware breakpoint
6593 support. Test stepping through a read-only region, with both
6594 "breakpoint auto-hw" on and off and both "always-inserted" on and
6597 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6599 * gdb.dlang/demangle.exp: Update for demangling changes.
6601 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6603 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6604 * gdb.cp/non-trivial-retval.exp: Add new tests.
6606 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6610 * gdb.cp/non-trivial-retval.cc: New file.
6611 * gdb.cp/non-trivial-retval.exp: New file.
6613 2014-10-15 Yao Qi <yao@codesourcery.com>
6615 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6618 2014-10-15 Yao Qi <yao@codesourcery.com>
6620 * gdb.python/py-symbol.exp: Match file base name if host is
6621 remote, otherwise match file name with dir name.
6622 * gdb.python/py-symtab.exp: Likewise.
6623 * gdb.python/python.exp: Likewise.
6625 2014-10-15 Yao Qi <yao@codesourcery.com>
6627 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6629 * gdb.python/py-symtab.exp: Likewise.
6630 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6633 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6635 * gdb.ada/addr_arith: New testcase.
6637 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6639 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6640 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6641 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6642 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6644 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6646 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6647 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6648 * gdb.arch/stap-eval-lang-ada.exp: New file.
6650 2014-10-14 Yao Qi <yao@codesourcery.com>
6652 * gdb.mi/mi-var-child.c (nothing1): New function.
6653 (nothing2): New function.
6654 (do_children_tests): Set function pointers by nothing1 and
6656 * gdb.mi/mi-var-child.exp: Step over new added statements.
6657 Update test to match the new output.
6658 * gdb.mi/var-cmd.c (nothing1): New function.
6659 (nothing2): New function.
6660 (do_children_tests): Set function pointers by nothing1 and
6662 * gdb.mi/mi-var-display.exp: Update test to match output.
6663 Step to the line specified by $line_dct_nothing.
6664 Increase the number of lines to step.
6666 2014-10-14 Yao Qi <yao@codesourcery.com>
6668 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6670 * gdb.mi/mi2-var-child.exp: Likewise.
6672 2014-10-13 Doug Evans <dje@google.com>
6674 * gdb.python/py-objfile.exp: Change name of file name test.
6676 2014-10-13 Doug Evans <dje@google.com>
6678 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6679 from the start of the CU.
6681 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6682 Yao Qi <yao@codesourcery.com>
6684 Fix "save breakpoints" for "catch" command.
6685 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6686 Remove -nonewline. Match also the added "main" line.
6688 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6690 Fix "save breakpoints" for "disable $bpnum" command.
6691 * gdb.base/save-bp.c (main): Add label.
6692 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6694 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6696 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6698 2014-10-11 Yao Qi <yao@codesourcery.com>
6700 * gdb.server/server-kill.exp: Execute command
6701 "set remote trace-status-packet on" before "tstatus".
6703 2014-10-11 Yao Qi <yao@codesourcery.com>
6705 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6706 (main): Call getppid.
6707 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6708 and continue to it. Read variable "server_pid".
6710 2014-10-11 Yao Qi <yao@codesourcery.com>
6712 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6714 2014-10-11 Yao Qi <yao@codesourcery.com>
6716 * gdb.threads/thread-find.exp: Don't execute command
6718 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6719 * gdb.threads/linux-dp.exp: Don't check the condition
6720 $threads_created equals to zero.
6722 2014-10-10 Pedro Alves <palves@redhat.com>
6724 * gdb.base/bigcore.exp: Remove references to IRIX.
6725 * gdb.base/funcargs.exp: Likewise.
6726 * gdb.base/interrupt.exp: Likewise.
6727 * gdb.base/mips_pro.exp: Likewise.
6728 * gdb.base/nodebug.exp: Likewise.
6729 * gdb.base/setvar.exp: Likewise.
6730 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6732 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6733 Pedro Alves <palves@redhat.com>
6736 * gdb.base/vdso-warning.c: New file.
6737 * gdb.base/vdso-warning.exp: New file.
6739 2014-10-02 Doug Evans <dje@google.com>
6741 * gdb.base/structs.c (main): Don't run forever.
6743 2014-10-02 Pedro Alves <palves@redhat.com>
6745 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6746 (top level) <stop threads 1, stop threads 2>: Use it.
6748 2014-10-02 Pedro Alves <palves@redhat.com>
6750 * gdb.threads/break-while-running.exp (test): Add new
6751 'update_thread_list' argument. Skip "info threads" if false.
6752 (top level): Add new 'update_thread_list' axis.
6754 2014-10-02 Pedro Alves <palves@redhat.com>
6756 PR breakpoints/17431
6757 * gdb.base/execl-update-breakpoints.c: New file.
6758 * gdb.base/execl-update-breakpoints.exp: New file.
6760 2014-10-01 Pedro Alves <palves@redhat.com>
6762 * gdb.base/breakpoint-in-ro-region.c: New file.
6763 * gdb.base/breakpoint-in-ro-region.exp: New file.
6765 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6767 * gdb.mi/mi-exit-code.exp: New file.
6768 * gdb.mi/mi-exit-code.c: New file.
6770 2014-09-30 Yao Qi <yao@codesourcery.com>
6772 * lib/prelink-support.exp (build_executable_own_libs): Error if
6773 the target isn't native.
6775 2014-09-30 Yao Qi <yao@codesourcery.com>
6777 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6780 2014-09-22 Pedro Alves <palves@redhat.com>
6782 * gdb.threads/break-while-running.exp: New file.
6783 * gdb.threads/break-while-running.c: New file.
6785 2014-09-19 Yao Qi <yao@codesourcery.com>
6787 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6788 Invoke test. Restart GDB with --readnow and invoke test again.
6790 2014-09-19 Yao Qi <yao@codesourcery.com>
6792 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6793 proc set_breakpoint_on_gcd_function. Invoke
6794 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6795 invoke set_breakpoint_on_gcd_function again.
6797 2014-09-18 Doug Evans <dje@google.com>
6799 * gdb.dwarf2/symtab-producer.exp: New file.
6801 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6803 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6804 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6805 * gdb.base/global-var-nested-by-dso.c: Likewise.
6806 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6808 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6809 Pedro Alves <palves@redhat.com>
6811 * gdb.base/watch-bitfields.exp: Pass string other than test file
6812 name to prepare_for_testing.
6813 (watch): New procedure.
6814 (expect_watchpoint): Use with_test_prefix.
6815 (top level): Factor out tests to ...
6816 (test_watch_location, test_regular_watch): ... these new
6817 procedures, and use with_test_prefix and gdb_continue_to_end.
6819 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6821 PR breakpoints/12526
6822 * gdb.base/watch-bitfields.exp: New file.
6823 * gdb.base/watch-bitfields.c: New file.
6825 2014-09-16 Pedro Alves <palves@redhat.com>
6827 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6828 software and hardware addresses, not software address against
6831 2014-09-16 Pedro Alves <palves@redhat.com>
6833 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6834 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6836 2014-09-16 Pedro Alves <palves@redhat.com>
6838 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6840 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6841 "*-*-vxworks*" throughout.
6842 * gdb.base/break.exp: Likewise.
6843 * gdb.base/default.exp: Likewise.
6844 * gdb.base/scope.exp: Likewise.
6845 * gdb.base/sepdebug.exp: Likewise.
6846 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6848 * gdb.base/run.c: Likewise.
6849 * gdb.base/sepdebug.c: Likewise.
6850 * gdb.hp/gdb.aCC/run.c: Likewise.
6851 * gdb.reverse/until-reverse.c: Likewise.
6852 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6854 2014-09-16 Yao Qi <yao@codesourcery.com>
6856 * boards/local-remote-host-native.exp: New file.
6858 2014-09-14 Doug Evans <xdje42@gmail.com>
6860 * gdb.threads/queue-signal.c (thread_count): New variable.
6861 (thread_count_mutex, thread_count_condvar): New variables.
6862 (incr_thread_count, wait_all_threads_running): New functions.
6863 (main): Wait for all threads to be in their thread functions.
6865 2014-09-13 Doug Evans <xdje42@gmail.com>
6867 * gdb.threads/queue-signal.c: New file.
6868 * gdb.threads/queue-signal.exp: New file.
6870 2014-09-13 Doug Evans <xdje42@gmail.com>
6872 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6873 be consistent with what default_gdb_init uses.
6874 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6875 the plain text of the prompt. Add some logging printfs.
6876 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6878 2014-09-12 Pedro Alves <palves@redhat.com>
6880 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6881 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6882 * gdb.arch/i386-size-overlap.exp: Likewise.
6883 * gdb.arch/i386-size.exp: Likewise.
6884 * gdb.arch/i386-unwind.exp: Likewise.
6885 * gdb.base/a2-run.exp: Likewise.
6886 * gdb.base/break.exp: Likewise.
6887 * gdb.base/charset.exp: Likewise.
6888 * gdb.base/chng-syms.exp: Likewise.
6889 * gdb.base/commands.exp: Likewise.
6890 * gdb.base/dbx.exp: Likewise.
6891 * gdb.base/find.exp: Likewise.
6892 * gdb.base/funcargs.exp: Likewise.
6893 * gdb.base/jit-simple.exp: Likewise.
6894 * gdb.base/reread.exp: Likewise.
6895 * gdb.base/sepdebug.exp: Likewise.
6896 * gdb.base/step-bt.exp: Likewise.
6897 * gdb.cp/mb-inline.exp: Likewise.
6898 * gdb.cp/mb-templates.exp: Likewise.
6899 * gdb.objc/basicclass.exp: Likewise.
6900 * gdb.threads/killed.exp: Likewise.
6902 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6905 * gdb.arch/powerpc-stackless.S: New file.
6906 * gdb.arch/powerpc-stackless.exp: New file.
6908 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6910 * gdb.base/attach.c: Include unistd.h.
6911 (main): Call alarm. Add label postloop.
6912 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6913 gdb_breakpoint, gdb_continue_to_breakpoint.
6914 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6916 2014-09-11 Pedro Alves <palves@redhat.com>
6919 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6920 * gdb.base/attach.exp (test_command_line_attach_run): New
6922 (top level): Call it.
6924 2014-09-11 Pedro Alves <palves@redhat.com>
6926 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6927 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6928 (do_command_attach_tests): Use spawn_wait_for_attach.
6929 * gdb.base/solib-overlap.exp: Likewise.
6930 * gdb.multi/multi-attach.exp: Likewise.
6931 * gdb.python/py-prompt.exp: Likewise.
6932 * gdb.python/py-sync-interp.exp: Likewise.
6933 * gdb.server/ext-attach.exp: Likewise.
6935 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6937 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6938 command in testcase. Simplify testcase.
6940 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6942 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6944 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6946 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6948 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6950 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6952 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6954 * gdb.dwarf2/dynarr-ptr.c: New file.
6955 * gdb.dwarf2/dynarr-ptr.exp: New file.
6957 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6959 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6960 of 30 rather than hardcoding 120 for a slow test case. Take the
6961 `gdb,timeout' target setting into account for this calculation.
6962 Don't extend the timeout for the test cases that don't need it.
6964 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6966 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6967 a factor of 2 for a slow test case. Take the `gdb,timeout'
6968 target setting into account for this calculation.
6969 * gdb.reverse/until-precsave.exp: Increase the timeout by
6970 a factor of 15 and 3 respectively rather than adding 120
6971 for a pair of slow test cases. Take the `gdb,timeout'
6972 target setting into account for this calculation.
6974 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6976 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6977 timeout, don't pass one down to gdb_expect.
6978 (gdb_expect): Rework timeout selection.
6980 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6982 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6983 exception on timeout.
6984 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6985 (gdbserver_start_extended): Catch any `gdbserver_start' error
6987 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6988 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6989 `gdbserver_gdb_load' error exceptions.
6991 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6993 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6994 120 on waiting for the TCP socket to open.
6996 2014-09-09 Doug Evans <xdje42@gmail.com>
6998 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6999 _caller_matches, _any_caller_is, _any_caller_matches.
7001 2014-09-09 Doug Evans <xdje42@gmail.com>
7003 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7005 2014-09-09 Yao Qi <yao@codesourcery.com>
7007 * gdb.mi/mi-var-display.exp: Set print symbol off.
7009 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7012 * gdb.base/commands.exp: Add tests to verify user-defined
7013 commands with empty bodies.
7014 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7015 python commands in `show user command`.
7016 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7017 scheme commands in `show user command`.
7019 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7022 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7023 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7024 * gdb.python/py-framefilter-invalidarg.exp: New file.
7025 * gdb.python/py-framefilter-invalidarg.py: New file.
7027 2014-09-06 Doug Evans <xdje42@gmail.com>
7030 * gdb.python/py-caller-is.c: New file.
7031 * gdb.python/py-caller-is.exp: New file.
7033 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7036 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7037 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7039 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7042 * gdb.fortran/print-formatted.exp: New file.
7043 * gdb.fortran/print-formatted.f90: Likewise.
7045 2014-09-03 Sasha Smundak <asmundak@google.com>
7047 * gdb.python/py-frame.exp: Test Frame.read_register.
7049 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7052 * gdb.python/py-completion.exp: New file.
7053 * gdb.python/py-completion.py: Likewise.
7055 2014-08-28 Doug Evans <dje@google.com>
7057 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7058 eax,etc. are live with values set by gdb and thus the compiler can't
7060 * gdb.arch/i386-pseudo.c (main): Ditto.
7062 2014-08-27 Doug Evans <dje@google.com>
7064 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7066 2014-08-25 Doug Evans <dje@google.com>
7068 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7071 2014-08-25 Doug Evans <dje@google.com>
7073 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7075 2014-08-24 Yao Qi <yao@codesourcery.com>
7077 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7079 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7081 2014-08-22 Doug Evans <dje@google.com>
7084 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7085 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7086 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7088 2014-08-22 Yao Qi <yao@codesourcery.com>
7090 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7091 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7092 * gdb.python/python.exp: Likewise. Use .py file on the host
7093 instead of the build.
7095 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7097 * gdb.threads/gcore-stale-thread.c: New file.
7098 * gdb.threads/gcore-stale-thread.exp: New file.
7100 2014-08-21 Pedro Alves <palves@redhat.com>
7102 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7103 * gdb.base/gcore-relro-pie.exp: Likewise.
7104 * gdb.base/gcore-relro.exp: Likewise.
7105 * gdb.base/gcore.exp: Likewise.
7106 * gdb.base/print-symbol-loading.exp: Likewise.
7107 * gdb.threads/gcore-thread.exp: Likewise.
7108 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7110 2014-08-20 Pedro Alves <palves@redhat.com>
7111 Jan Kratochvil <jan.kratochvil@redhat.com>
7113 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7115 (EXPECT): Handle READ1 being set.
7116 (all): Depend on EXTRA_RULES.
7117 (check-read1, expect-read1, read1.so, read1): New rules.
7118 * README (Testsuite Parameters): Document the READ1 make variable.
7119 (Race detection): New section.
7120 * configure: Regenerate.
7121 * configure.ac: If build==host==target, and running under a
7122 GNU/glibc system, add read1 to the extra Makefile rules.
7123 (EXTRA_RULES): AC_SUBST it.
7124 * lib/read1.c: New file.
7126 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7128 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7129 the handling of variables declared as a typedef to an array
7130 which a DW_AT_data_location attribute.
7132 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7133 Pedro Alves <palves@redhat.com>
7137 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7140 2014-08-19 Pedro Alves <palves@redhat.com>
7142 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7144 2014-08-19 Yao Qi <yao@codesourcery.com>
7146 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7149 2014-08-18 David Blaikie <dblaikie@gmail.com>
7151 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7153 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7155 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7156 attribute in array range.
7158 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7160 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7162 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7165 * gdb.cp/pr17132.cc: New file.
7166 * gdb.cp/pr17132.exp: New file.
7168 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7170 * gdb.python/py-xmethods.py (A_getarrayind)
7171 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7172 Use 'print' with function call syntax.
7173 (E_method_matcher.match): Fix tab vs space indentation mixup.
7175 2014-08-15 Yao Qi <yao@codesourcery.com>
7177 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7180 2014-08-15 Yao Qi <yao@codesourcery.com>
7182 * gdb.cp/casts.exp: Set print symbol off.
7183 * gdb.cp/class2.exp: Likewise.
7184 * gdb.cp/overload.exp: Likewise.
7185 * gdb.cp/templates.exp: Likewise.
7187 2014-08-11 Doug Evans <dje@google.com>
7189 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7190 (test_load_shlib): Update.
7192 2014-08-09 Yao Qi <yao@codesourcery.com>
7194 * gdb.base/display.exp: Invoke is_address_zero_readable.
7195 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7196 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7197 * gdb.base/hbreak-unmapped.exp: Return if
7198 is_address_zero_readable returns true.
7199 * gdb.base/signest.exp: Likewise.
7200 * gdb.base/signull.exp: Likewise.
7201 * gdb.base/sigbpt.exp: Likewise.
7202 * gdb.guile/scm-disasm.exp: Do the test if
7203 is_address_zero_readable returns false.
7204 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7205 * gdb.python/py-arch.exp: Likewise.
7206 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7207 * lib/gdb.exp (is_address_zero_readable): New proc.
7209 2014-08-09 Yao Qi <yao@codesourcery.com>
7212 * gdb.mi/mi-var-display.exp: Make test messages unique.
7214 2014-08-04 Tom Tromey <tromey@redhat.com>
7216 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7219 2014-08-04 Tom Tromey <tromey@redhat.com>
7221 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7224 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7226 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7227 inner_vla_struct_object_size.
7228 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7231 2014-07-30 Pedro Alves <palves@redhat.com>
7233 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7236 2014-07-29 Yao Qi <yao@codesourcery.com>
7239 * gdb.base/until-nodebug.exp: New.
7241 2014-07-28 Doug Evans <xdje42@gmail.com>
7244 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7245 previously existing parameter, and previously ambiguously spelled
7248 2014-07-28 Will Newton <will.newton@linaro.org>
7250 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7252 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7253 Doug Evans <xdje42@gmail.com>
7256 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7258 2014-07-25 Pedro Alves <palves@redhat.com>
7260 * gdb.threads/signal-command-handle-nopass.c: New file.
7261 * gdb.threads/signal-command-handle-nopass.exp: New file.
7262 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7263 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7264 * gdb.threads/signal-delivered-right-thread.c: New file.
7265 * gdb.threads/signal-delivered-right-thread.exp: New file.
7267 2014-07-25 Pedro Alves <palves@redhat.com>
7269 * gdb.base/double-prompt-target-event-error.exp
7270 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7272 (cancel_pagination_in_target_event): Rework double prompt
7274 * gdb.base/paginate-after-ctrl-c-running.exp
7275 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7277 * gdb.base/paginate-bg-execution.exp
7278 (test_bg_execution_pagination_return)
7279 (test_bg_execution_pagination_cancel): Remove '-notransfer
7281 * gdb.base/paginate-execution-startup.exp
7282 (test_fg_execution_pagination_return)
7283 (test_fg_execution_pagination_cancel): Remove '-notransfer
7285 * gdb.base/paginate-inferior-exit.exp
7286 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7288 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7289 * lib/gdb.exp (pagination_prompt): Run text through
7291 (gdb_test_multiple): Match $pagination_prompt instead of
7293 (string_to_regexp): Move to lib/gdb-utils.exp.
7295 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7297 * gdb.arch/amd64-entry-value-paramref.S: New file.
7298 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7299 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7300 * gdb.arch/amd64-optimout-repeat.S: New file.
7301 * gdb.arch/amd64-optimout-repeat.c: New file.
7302 * gdb.arch/amd64-optimout-repeat.exp: New file.
7304 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7307 * gdb.base/statistics.exp: New file.
7309 2014-07-17 Doug Evans <dje@google.com>
7312 * gdb.base/maint.exp: Update testing of per-command stats.
7314 2014-07-16 Pedro Alves <palves@redhat.com>
7316 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7317 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7318 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7319 (tfile_write_buf): New functions.
7320 (add_memory_block): Rewrite using the above.
7321 (adjust_function_address): New function.
7322 (FUNCTION_ADDRESS): New macro.
7323 (write_basic_trace_file): Remove short_x local, and use
7324 tfile_write_16. Change type of func_addr local to unsigned long
7325 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7326 here. Cast argument of add_memory_block to char pointer.
7327 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7328 (main): Remove parameters.
7329 * gdb.trace/tfile.exp: Remove nowarnings.
7331 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7333 * gdb.base/debug-expr.exp: Test string evaluation with
7334 "debug expression" on.
7336 2014-07-15 Pedro Alves <palves@redhat.com>
7338 * gdb.base/reread.exp: Use clean_restart.
7340 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7342 * gdb.arch/avr-flash-qualifer.c: New.
7343 * gdb.arch/avr-flash-qualifer.exp: New.
7345 2014-07-14 Pedro Alves <palves@redhat.com>
7347 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7348 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7350 2014-07-14 Pedro Alves <palves@redhat.com>
7352 * gdb.base/double-prompt-target-event-error.c: New file.
7353 * gdb.base/double-prompt-target-event-error.exp: New file.
7355 2014-07-14 Pedro Alves <palves@redhat.com>
7358 * gdb.base/paginate-inferior-exit.c: New file.
7359 * gdb.base/paginate-inferior-exit.exp: New file.
7361 2014-07-14 Pedro Alves <palves@redhat.com>
7364 * gdb.base/paginate-bg-execution.c: New file.
7365 * gdb.base/paginate-bg-execution.exp: New file.
7367 2014-07-14 Pedro Alves <palves@redhat.com>
7370 * gdb.base/paginate-execution-startup.c: New file.
7371 * gdb.base/paginate-execution-startup.exp: New file.
7372 * lib/gdb.exp (pagination_prompt): New global.
7373 (default_gdb_spawn): New procedure, factored out from
7375 (default_gdb_start): Adjust to call default_gdb_spawn.
7376 (gdb_spawn): New procedure.
7378 2014-07-14 Pedro Alves <palves@redhat.com>
7380 * lib/gdb.exp (gdb_assert): New procedure.
7381 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7383 2014-07-14 Pedro Alves <palves@redhat.com>
7385 * gdb.base/execution-termios.c: New file.
7386 * gdb.base/execution-termios.exp: New file.
7388 2014-07-14 Tom Tromey <tromey@redhat.com>
7390 * gdb.cp/vla-cxx.cc: New file.
7391 * gdb.cp/vla-cxx.exp: New file.
7393 2014-07-14 Tom Tromey <tromey@redhat.com>
7395 * gdb.reverse/rerun-prec.c: New file.
7396 * gdb.reverse/rerun-prec.exp: New file.
7398 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7399 Maciej W. Rozycki <macro@codesourcery.com>
7401 * lib/gdb-utils.exp: New file.
7402 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7403 inline `gdb_init_command' processing.
7404 (gdb_start_cmd): Likewise.
7405 * lib/mi-support.exp (mi_run_cmd): Likewise.
7406 * README: Document `gdb_init_command' and `gdb_init_commands'.
7408 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7410 Fix false FAIL running under a very long directory name.
7411 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7412 and "set print elements 10000". Twice.
7414 2014-07-11 Yao Qi <yao@codesourcery.com>
7416 * gdb.base/exprs.exp: "set print symbol off".
7418 2014-07-11 Pedro Alves <palves@redhat.com>
7420 * gdb.threads/kill.c: New file.
7421 * gdb.threads/kill.exp: New file.
7423 2014-07-10 Yao Qi <yao@codesourcery.com>
7425 * gdb.trace/tfile.c (write_basic_trace_file)
7426 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7427 address written to trace file.
7429 2014-07-09 Pedro Alves <palves@redhat.com>
7431 * gdb.base/attach-wait-input.exp: New file.
7432 * gdb.base/attach-wait-input.c: New file.
7434 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7436 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7437 setting up test structures.
7438 (main): Call new test function.
7439 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7440 test function, continue into test function and walk test
7443 2014-07-02 Yao Qi <yao@codesourcery.com>
7445 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7446 'bar_start' at the beginning of functions 'foo' and 'bar'
7448 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7449 instead of 'foo' and 'bar'.
7451 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7453 * gdb.btrace/segv.exp: New.
7454 * gdb.btrace/segv.c: New.
7456 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7458 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7461 2014-06-30 Mark Wielaard <mjw@redhat.com>
7463 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7464 vulture, vilify, villar): New volatile array constants.
7465 (vindictive, vegetation): New const volatile array constants.
7466 * gdb.base/volatile.exp: Test volatile and const volatile array
7469 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7471 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7472 target lacks support for awatch, rwatch, or hbreak.
7474 2014-06-27 Yao Qi <yao@codesourcery.com>
7476 * gdb.multi/dummy-frame-restore.exp: New.
7477 * gdb.multi/dummy-frame-restore.c: New.
7479 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7481 * gdb.btrace/gcore.exp: New.
7483 2014-06-23 Pedro Alves <palves@redhat.com>
7485 * gdb.base/watchpoint-reuse-slot.c: New file.
7486 * gdb.base/watchpoint-reuse-slot.exp: New file.
7488 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7490 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7491 progspace's filename in 'info', 'enable' and 'disable' command
7494 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7496 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7497 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7498 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7500 2014-06-20 Gary Benson <gbenson@redhat.com>
7502 * gdb.arch/i386-avx.exp: Fix include file location.
7503 * gdb.arch/i386-sse.exp: Likewise.
7505 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7507 * gdb.dlang/expression.exp: New file.
7509 2014-06-19 Pedro Alves <palves@redhat.com>
7511 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7513 (top level): ... here. Iterate running tests under different
7514 scheduler-locking settings.
7516 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7518 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7519 to DW_FORM_addr and use non-zero addresses.
7521 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7524 * gdb.python/py-xmethods.cc: Add global function call counters and
7525 increment them in their respective functions. Remove "cout"
7527 * gdb.python/py-xmethods.exp: Make tests check the global function
7528 call counters instead of depending on inferior IO.
7530 2014-06-18 Don Breazeal <donb@codesourcery.com>
7532 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7534 (explicit_fork_parent_follow): Deleted procedure.
7535 (explicit_fork_child_follow): Deleted procedure.
7536 (test_follow_fork): New procedure.
7537 (do_fork_tests): Replace calls to deleted procedures with
7538 calls to test_follow_fork and reset GDB for subsequent
7541 2014-06-17 Yao Qi <yao@codesourcery.com>
7543 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7546 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7548 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7549 Initialize ptr and S explicitly.
7550 (skip_type_update_when_not_use_rtti_test): Likewise.
7552 2014-06-16 Keith Seitz <keiths@redhat.com>
7555 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7556 the inferior is started.
7558 2014-06-16 Pedro Alves <palves@redhat.com>
7560 * gdb.base/break-main-file-remove-fail.c: New file.
7561 * gdb.base/break-main-file-remove-fail.exp: New file.
7562 * gdb.base/break-unload-file.exp: Use build_executable instead of
7563 prepare_for_testing.
7564 (test_break): New parameter "initial_load". Handle it.
7565 (top level): Add initial_load cmdline/file axis.
7567 2014-06-12 Tom Tromey <tromey@redhat.com>
7569 * gdb.base/completion.exp: Don't use directory name in test.
7571 2014-06-09 Gary Benson <gbenson@redhat.com>
7573 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7574 separate the always-available ANSI-standard signals from the
7575 signals that require checking.
7577 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7581 2014-06-07 Keith Seitz <keiths@redhat.com>
7585 * gdb.cp/var-tag.cc: New file.
7586 * gdb.cp/var-tag.exp: New file.
7587 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7588 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7589 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7590 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7592 2014-06-06 Doug Evans <xdje42@gmail.com>
7594 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7596 2014-06-06 Pedro Alves <palves@redhat.com>
7598 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7599 in target debug output instead of looking at RSP packets,
7600 disabling the test on any target that uses hardware stepping.
7603 2014-06-06 Pedro Alves <palves@redhat.com>
7605 * gdb.base/break-unload-file.exp: Fix typo.
7607 2014-06-06 Yao Qi <yao@codesourcery.com>
7609 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7610 from "jit_function" to "^jit_function".
7612 2014-06-06 Yao Qi <yao@codesourcery.com>
7614 * gdb.base/async.c (foo): Add one statement.
7615 * gdb.base/async.exp: Get the next instruction address and
7616 match the output of "nexti" by instruction address. Match
7617 the hex address in the output of "finish".
7619 2014-06-06 Gary Benson <gbenson@redhat.com>
7621 * gdb.base/call-signals.c: Remove preprocessor conditionals
7622 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7623 SIGSEGV and SIGTERM.
7624 * gdb.base/sigall.c: Likewise.
7625 * gdb.base/unwindonsignal.c: Likewise.
7626 * gdb.reverse/sigall-reverse.c: Likewise.
7628 2014-06-06 Yao Qi <yao@codesourcery.com>
7630 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7631 readable, skip the test.
7633 2014-06-06 Yao Qi <yao@codesourcery.com>
7635 * gdb.threads/staticthreads.c (thread_function): Move the line
7636 setting breakpoint on forward.
7637 * gdb.threads/staticthreads.exp: Update comments.
7639 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7641 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7642 "history-append! type error".
7644 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7646 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7647 erroneous dprintf expected input.
7649 2014-06-04 Doug Evans <xdje42@gmail.com>
7651 * gdb.guile/scm-generics.exp: Delete.
7653 2014-06-04 Doug Evans <xdje42@gmail.com>
7655 * gdb.guile/scm-breakpoint.exp: Update.
7656 Add tests for breakpoint registration.
7658 2014-06-04 Tom Tromey <tromey@redhat.com>
7660 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7662 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7663 inner_vla_struct, vla_union types. Initialize objects of those
7664 types and compute their sizes.
7666 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7667 Hui Zhu <hui@codesourcery.com>
7669 * gdb.base/fileio.exp: Add test for shell not available as well as
7671 * gdb.base/fileio.c (test_system): Check for shell twice.
7673 2014-06-04 Yao Qi <yao@codesourcery.com>
7675 * gdb.base/auto-connect-native-target.exp: Remove redundant
7676 space from the regexp pattern.
7678 2014-06-04 Yao Qi <yao@codesourcery.com>
7680 * gdb.base/default.exp: Replace "child" with "native" in
7683 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7685 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7686 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7687 * gdb.python/py-xmethods.py: Python script supporting the
7688 new testcase and tests.
7690 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7691 Pedro Alves <palves@redhat.com>
7693 PR breakpoints/17000
7694 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7695 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7697 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7699 * gdb.base/subst.exp: Add tests to verify partial path matching
7702 2014-06-03 Pedro Alves <palves@redhat.com>
7704 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7705 target that doesn't use software single-stepping.
7707 2014-06-03 Pedro Alves <palves@redhat.com>
7709 PR breakpoints/17000
7710 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7711 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7713 2014-06-02 Doug Evans <xdje42@gmail.com>
7715 * gdb.guile/scm-parameter.exp: New file.
7717 2014-06-02 Doug Evans <xdje42@gmail.com>
7719 * gdb.guile/scm-cmd.c: New file.
7720 * gdb.guile/scm-cmd.exp: New file.
7722 2014-06-02 Doug Evans <xdje42@gmail.com>
7724 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7725 pretty-printer lookup.
7726 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7727 (make-pp_s-printer): Call it.
7728 (make-pretty-printer-from-dict): New function.
7729 (lookup-pretty-printer-maker-from-dict): New function.
7730 (*pretty-printer*): Simplify.
7731 (make-objfile-pp_s-printer): New function.
7732 (install-objfile-pretty-printers!): New function.
7733 (make-progspace-pp_s-printer): New function.
7734 (install-progspace-pretty-printers!): New function.
7735 * gdb.guile/scm-progspace.c: New file.
7736 * gdb.guile/scm-progspace.exp: New file.
7738 2014-06-02 Pedro Alves <palves@redhat.com>
7740 * gdb.base/dprintf-bp-same-addr.c: New file.
7741 * gdb.base/dprintf-bp-same-addr.exp: New file.
7743 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7745 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7746 * gdb.arch/powerpc-power.s: Likewise.
7748 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7750 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7752 2014-06-01 Yao Qi <yao@codesourcery.com>
7754 * gdb.base/watchpoint.exp (test_watch_location): Check null
7755 pointer can be dereferenced. If not, do the test, otherwise
7758 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7760 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7762 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7764 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7766 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7767 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7768 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7769 * gdb.arch/amd64-invalid-stack-top.c: New file.
7770 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7772 2014-05-30 Pedro Alves <palves@redhat.com>
7774 PR breakpoints/17000
7775 * gdb.base/sss-bp-on-user-bp.c: New file.
7776 * gdb.base/sss-bp-on-user-bp.exp: New file.
7778 2014-05-30 David Blaikie <dblaikie@gmail.com>
7780 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7781 gnu_inline semantics via attribute.
7782 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7783 source explicitly specifies the required semantics.
7785 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7787 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7789 2014-05-29 Pedro Alves <palves@redhat.com>
7790 Tom Tromey <tromey@redhat.com>
7792 * gdb.base/async-shell.exp: Don't enable target-async.
7793 * gdb.base/async.exp
7794 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7796 (top level): Don't test with "target-async".
7797 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7798 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7799 * gdb.base/inferior-died.exp: Don't enable target-async.
7800 * gdb.base/interrupt-noterm.exp: Likewise.
7801 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7802 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7803 * gdb.mi/mi-nonstop.exp: Likewise.
7804 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7805 * gdb.mi/mi-nsintrall.exp: Likewise.
7806 * gdb.mi/mi-nsmoribund.exp: Likewise.
7807 * gdb.mi/mi-nsthrexec.exp: Likewise.
7808 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7809 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7810 * gdb.python/py-evsignal.exp: Don't enable target-async.
7811 * gdb.python/py-evthreads.exp: Likewise.
7812 * gdb.python/py-prompt.exp: Likewise.
7813 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7814 * gdb.server/solib-list.exp: Don't enable target-async.
7815 * gdb.threads/thread-specific-bp.exp: Likewise.
7816 * lib/mi-support.exp: Adjust to use mi-async.
7818 2014-05-29 Pedro Alves <palves@redhat.com>
7821 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7822 reason, even in sync mode.
7824 2014-05-29 Pedro Alves <palves@redhat.com>
7825 Hui Zhu <hui@codesourcery.com>
7828 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7829 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7830 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7831 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7833 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7835 * config/monitor.exp (gdb_target_monitor): Replace use of
7836 "set remotebaud" by "set serial baud".
7838 2014-05-26 Andy Wingo <wingo@igalia.com>
7840 * gdb.guile/scm-breakpoint.exp:
7841 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7842 properties instead of gdb-object-properties.
7844 2014-05-26 Yao Qi <yao@codesourcery.com>
7846 * gdb.server/no-thread-db.exp: Specify source file name
7847 explicitly when setting a breakpoint.
7849 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7851 * gdb.btrace/vdso.c: New.
7852 * gdb.btrace/vdso.exp: New.
7854 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7856 * gdb.base/gcore.exp (capture_command_output): Move ...
7857 * lib/gdb.exp (capture_command_output): ... here.
7859 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7861 * gdb.btrace/data.exp: Test memory access during btrace replay.
7863 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7865 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7867 2014-05-21 Pedro Alves <palves@redhat.com>
7870 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7871 (top level): Test that output related to execution commands is
7872 sent to the console with CLI commands, but not with MI commands.
7873 Test that breakpoint events are always mirrored to the console.
7874 Also expect the new source line to be output after a "next" in
7875 async mode too. Make it a pass/fail test.
7876 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7878 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7880 2014-05-21 Pedro Alves <palves@redhat.com>
7882 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7883 Use them to test variations of "list" after reaching a breakpoint.
7884 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7885 Test "list" with listsize 10 after reaching a breakpoint.
7886 * gdb.python/python.exp (decode_line current location line
7887 number): Adjust expected line number.
7889 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7891 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7892 behavior for $args, pass it directly to "run".
7894 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7896 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7899 2014-05-21 Pedro Alves <palves@redhat.com>
7901 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7902 auto-connect-native-target off".
7903 * gdb.base/auto-connect-native-target.c: New file.
7904 * gdb.base/auto-connect-native-target.exp: New file.
7906 2014-05-21 Pedro Alves <palves@redhat.com>
7908 * gdb.base/default.exp: Test "target native" instead of "target
7911 2014-05-21 Mark Wielaard <mjw@redhat.com>
7913 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7915 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7917 Fix TLS access for -static -pthread.
7918 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7919 <HAVE_TLS> (thread_function, main): Initialize it.
7920 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7922 <$have_tls != "">: Check TLSVAR.
7924 2014-05-21 Pedro Alves <palves@redhat.com>
7926 * gdb.base/dcache-line-read-error.c: New.
7927 * gdb.base/dcache-line-read-error.exp: New.
7929 2014-05-20 Pedro Alves <palves@redhat.com>
7931 * gdb.base/compare-sections.c: New file.
7932 * gdb.base/compare-sections.exp: New file.
7934 2014-05-20 Pedro Alves <palves@redhat.com>
7936 * gdb.base/break-idempotent.c: New file.
7937 * gdb.base/break-idempotent.exp: New file.
7939 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7941 * gdb.btrace/nohist.exp: New.
7943 2014-05-20 Yao Qi <yao@codesourcery.com>
7945 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7946 gdb.reverse directory and gdb_reverse_timeout exists in board
7948 * README: Document gdb_reverse_timeout.
7950 2014-05-20 Yao Qi <yao@codesourcery.com>
7952 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7953 'test_file_name'. Treat args as a string instead of a list.
7954 (gdb_init): Rename argument 'args' by 'test_file_name'.
7956 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7958 * gdb.arch/powerpc-power.exp: New file.
7959 * gdb.arch/powerpc-power.s: New file.
7961 2014-05-16 Doug Evans <dje@google.com>
7963 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7964 * gdb.base/completion.exp: Check that all expected files exist
7965 before doing file completion.
7967 2014-05-16 Doug Evans <dje@google.com>
7969 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7971 (do_syscall_tests_without_xml): Update.
7973 2014-05-16 Pedro Alves <palves@redhat.com>
7975 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7976 instead of "unknown output after running".
7978 2014-05-16 Yao Qi <yao@codesourcery.com>
7980 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7981 file1.txt from host at the end.
7982 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7984 2014-05-15 Doug Evans <dje@google.com>
7986 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7987 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7988 loading file. Add test for TU lookup.
7990 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7992 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7993 calling "-exec-arguments" or "set args" before running the
7996 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7998 * lib/mi-support.exp (mi_expect_stop): Expect message for
7999 inferiors that exit with non-zero exit code.
8001 2014-05-14 Yao Qi <yao@codesourcery.com>
8003 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8004 match absolute path on remote host.
8005 (test_file_list_exec_source_files): Remove "/" from the
8008 2014-05-14 Yao Qi <yao@codesourcery.com>
8010 * boards/local-remote-host-notty.exp (${board}_file): New
8013 2014-05-07 Kyle McMartin <kyle@redhat.com>
8015 Pushed by Joel Brobecker <brobecker@adacore.com>.
8016 * gdb.arch/aarch64-atomic-inst.c: New file.
8017 * gdb.arch/aarch64-atomic-inst.exp: New file.
8019 2014-05-07 Yao Qi <yao@codesourcery.com>
8021 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8022 in current context" too.
8024 2014-05-05 Keith Seitz <keiths@redhat.com>
8026 * gdb.linespec/ls-dollar.exp: Add test for linespec
8027 file:convenience_variable.
8029 2014-05-05 Yao Qi <yao@codesourcery.com>
8031 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8032 traceframes into tfile and ctf trace files. Read data from
8033 trace file and test collected data.
8034 (gdb_collect_locals_test): Likewise.
8035 (gdb_unavailable_registers_test): Likewise.
8036 (gdb_unavailable_floats): Likewise.
8037 (gdb_collect_globals_test): Likewise.
8038 (top-level): Append "ctf" to trace_file_targets if GDB
8041 2014-05-05 Yao Qi <yao@codesourcery.com>
8043 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8045 (gdb_collect_args_test_1): ... it. New proc.
8046 (gdb_collect_locals_test): Move some code to ...
8047 (gdb_collect_locals_test_1): ... it. New proc.
8048 (gdb_unavailable_registers_test): Move some code to ...
8049 (gdb_unavailable_registers_test_1): ... it. New proc.
8050 (gdb_unavailable_floats): Move some code to ...
8051 (gdb_unavailable_floats_1): ... it. New proc.
8053 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8055 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8056 probes to test for bitness recognition.
8057 * gdb.arch/amd64-stap-optional-prefix.exp
8058 (test_probe_value_without_reg): New procedure.
8059 Add code to test for different kinds of bitness.
8061 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8063 PR breakpoints/16889
8064 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8065 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8067 2014-05-01 Pedro Alves <palves@redhat.com>
8069 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8070 gdb_file_cmd if no file is specified.
8071 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8072 last_loaded_file to set the remote exec-file.
8074 2014-05-01 Pedro Alves <palves@redhat.com>
8076 * boards/local-remote-host.exp: New file.
8078 2014-05-01 Pedro Alves <palves@redhat.com>
8080 * boards/local-remote-host.exp: Rename to ...
8081 * boards/local-remote-host-notty.exp: ... this.
8083 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8085 * gdb.ada/dyn_arrayidx: New testcase.
8087 2014-04-26 Yao Qi <yao@codesourcery.com>
8089 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8090 and compute the length of function main. Save it in
8092 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8093 (top-level): Use gdb_compile to compile objects into
8094 executable and restart GDB. Remove invocation to
8095 prepare_for_testing.
8097 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8098 Pedro Alves <palves@redhat.com>
8101 * gdb.multi/multi-attach.c: New file.
8102 * gdb.multi/multi-attach.exp: New file.
8104 2014-04-25 Pedro Alves <palves@redhat.com>
8106 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8108 (top level): Test that "set remote conditional-breakpoints-packet
8109 off" works as intended.
8110 * gdb.base/dprintf.exp: Test that "set remote
8111 breakpoint-commands-packet off" works as intended.
8112 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8114 (top level): Call it.
8115 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8116 remote fast-tracepoints-packet off" works as intended.
8117 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8118 * lib/gdb.exp (gdb_is_target_remote): ... here.
8120 2014-04-24 David Blaikie <dblaikie@gmail.com>
8122 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8123 ensure clang would not discard them.
8124 * gdb.base/gdbvars.c: Ditto.
8125 * gdb.base/memattr.c: Ditto.
8126 * gdb.base/whatis.c: Ditto.
8127 * gdb.python/py-prettyprint.c: Ditto.
8128 * gdb.trace/actions.c: Ditto.
8129 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8130 ensure clang would not discard it.
8132 2014-04-24 David Blaikie <dblaikie@gmail.com>
8134 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8135 clang to emit the full definition of type required by the test
8136 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8138 2014-04-24 David Blaikie <dblaikie@gmail.com>
8140 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8141 coax Clang into emitting the definition of the type.
8142 * gdb.cp/pr10728-x.h (y): Ditto.
8143 * gdb.cp/pr10728-y.cc (y): Ditto.
8145 2014-04-24 David Blaikie <dblaikie@gmail.com>
8147 * gdb.base/label.exp: XFAIL label related tests under Clang.
8148 * gdb.cp/cplabel.exp: Ditto.
8149 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8150 under Clang those using labels.
8152 2014-04-25 Yao Qi <yao@codesourcery.com>
8154 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8156 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8157 partial_label and double_label.
8159 2014-04-24 David Blaikie <dblaikie@gmail.com>
8161 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8163 2014-04-24 David Blaikie <dblaikie@gmail.com>
8165 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8166 of the function to work across GCC and Clang.
8167 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8168 pointer types (const void ** const V void **).
8170 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8171 Walfred Tedeschi <walfred.tedeschi@intel.com>
8173 * Makefile.in (EXECUTABLES): Added i386-avx512.
8174 * gdb.arch/i386-avx512.c: New file.
8175 * gdb.arch/i386-avx512.exp: Likewise.
8177 2014-04-23 Keith Seitz <keiths@redhat.com>
8179 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8180 (mi_make_breakpoint_table): New procedure.
8181 (mi_create_breakpoint): Use mi_make_breakpoint
8182 and return the result.
8183 (mi_make_breakpoint): New procedure.
8184 (mi_build_kv_pairs): New procedure.
8186 * gdb.mi/mi-break.exp: Remove unused globals,
8187 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8188 All callers updated.
8189 * gdb.mi/mi-dprintf.exp: Use variable to track command
8191 Update all callers of mi_create_breakpoint and use
8192 mi_make_breakpoint_table.
8193 Remove any unused global variables.
8194 * gdb.mi/mi-nonstop.exp: Likewise.
8195 * gdb.mi/mi-nsintrall.exp: Likewise.
8196 * gdb.mi/mi-nsmoribund.exp: Likewise.
8197 * gdb.mi/mi-nsthrexec.exp: Likewise.
8198 * gdb.mi/mi-reverse.exp: Likewise.
8199 * gdb.mi/mi-simplerun.exp: Likewise.
8200 * gdb.mi/mi-stepn.exp: Likewise.
8201 * gdb.mi/mi-syn-frame.exp: Likewise.
8202 * gdb.mi/mi-until.exp: Likewise.
8203 * gdb.mi/mi-var-cp.exp: Likewise.
8204 * gdb.mi/mi-var-display.exp: Likewise.
8205 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8206 * gdb.mi/mi2-var-child.exp: Likewise.
8207 * gdb.mi/mi-vla-c99.exp: Likewise.
8208 * lib/mi-support.exp: Likewise.
8210 From Ian Lance Taylor <iant@cygnus.com>:
8211 * lib/gdb.exp (parse_args): New procedure.
8213 2014-04-23 Pedro Alves <palves@redhat.com>
8215 * gdb.base/break-unload-file.c: New file.
8216 * gdb.base/break-unload-file.exp: New file.
8217 * gdb.base/sym-file-lib.c (baz): New function.
8218 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8220 (load): Store the segment's mapped size.
8221 (unload): New function.
8222 (unload_shlib): New function.
8223 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8224 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8225 set a breakpoint at baz, and call it.
8226 * gdb.base/sym-file.exp: New tests for stale breakpoint
8229 2014-04-23 Pedro Alves <palves@redhat.com>
8231 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8232 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8233 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8234 * gdb.base/hbreak-unmapped.c: New file.
8235 * gdb.base/hbreak-unmapped.exp: New file.
8236 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8237 * lib/gdb.exp (gdb_is_target_remote): ... here.
8239 2014-04-22 Pedro Alves <palves@redhat.com>
8241 * gdb.base/consecutive-step-over.c: New file.
8242 * gdb.base/consecutive-step-over.exp: New file.
8244 2014-04-22 Pedro Alves <palves@redhat.com>
8246 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8247 instead of send_gdb/gdb_expect.
8249 2014-04-22 Yao Qi <yao@codesourcery.com>
8251 * lib/trace-support.exp (generate_tracefile): New procedure.
8252 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8254 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8255 if generate_tracefile returns 1.
8257 2014-04-18 Tom Tromey <palves@redhat.com>
8258 Pedro alves <tromey@redhat.com>
8261 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8262 with a backtrace limit.
8263 * gdb.python/py-frame-inline.exp: Test running to an inline
8264 function with a backtrace limit, and printing the newest frame.
8265 * gdb.python/py-frame-inline.c (main): Call f.
8267 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8269 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8271 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8273 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8274 Drop prefix from unsupported source file path.
8276 2014-04-17 Yao Qi <yao@codesourcery.com>
8278 * lib/gdb.exp (with_target_charset): New proc.
8279 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8280 with_target_charset.
8281 (test_print_strings): Likewise.
8282 (test_repeat_bytes): Likewise.
8283 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8286 2014-04-16 Keith Seitz <keiths@redhat.com>
8289 * gdb.dwarf2/corrupt.c: New file.
8290 * gdb.dwarf2/corrupt.exp: New file.
8292 2014-04-16 Keith Seitz <keiths@redhat.com>
8295 * gdb.cp/namelessclass.cc: New file.
8296 * gdb.cp/namelessclass.exp: New file.
8297 * gdb.cp/namelessclass.S: New file.
8299 2014-04-16 Doug Evans <dje@google.com>
8301 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8303 (gdbserver_default_get_comm_port): New function.
8304 (gdbserver_start): Check if board file provided
8305 "gdbserver,get_comm_port" and use it if so.
8306 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8307 (gdb,socketport): Set to "stdio".
8308 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8309 (stdio_gdbserver_template): Delete.
8310 (${board}_get_remote_address): Update.
8311 (${board}_build_remote_cmd): Delete.
8312 (${board}_get_comm_port): New function.
8313 (${board}_spawn): Update.
8314 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8316 (${board}_get_remote_address): Update.
8317 (${board}_get_comm_port): New function.
8319 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8321 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8322 appearing in any order.
8324 2014-04-15 Doug Evans <dje@google.com>
8326 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8327 uninitialized value of "description".
8329 2014-04-15 Keith Seitz <keiths@redhat.com>
8331 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8332 Remove unused globals.
8333 (test_running_the_program): Likewise.
8334 (test_controlled_execution): Likewise.
8335 (test_controlling_breakpoints): Likewise.
8336 (test_program_termination): Likewise.
8338 2014-04-15 Keith Seitz <keiths@redhat.com>
8340 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8342 (test_rbreak_creation_and_listing): Likewise.
8343 (test_ignore_count): Likewise.
8344 (test_error): Likewise.
8346 2014-04-15 Pedro Alves <palves@redhat.com>
8348 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8349 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8351 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8352 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8353 to sym-file-loader.c.
8354 (struct library): Forward declare.
8355 (load_shlib, lookup_function): Change prototypes.
8356 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8357 (translate_offset): Remove declarations.
8358 (get_text_addr): New declaration.
8359 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8360 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8362 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8363 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8364 here from sym-file-loader.h.
8365 (struct library): New structure.
8366 (load_shlib, lookup_function): Change prototypes and adjust to
8367 work with a struct library.
8368 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8369 (translate_offset): Make static.
8370 (get_text_addr): New function.
8371 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8373 2014-04-15 Pedro Alves <palves@redhat.com>
8375 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8377 2014-04-15 Pedro Alves <palves@redhat.com>
8379 * gdb.base/sym-file-loader.c: Include <limits.h>.
8380 (SELF_LINK): New define.
8381 (get_origin): New function.
8382 (load_shlib): Use it.
8383 * gdb.base/sym-file.exp: Don't early return if the target is
8384 remote. Use runto_main, and issue fail is that fails. Use
8386 (shlib_name): Delete.
8387 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8389 2014-04-15 Pedro Alves <palves@redhat.com>
8391 * gdb.base/sym-file.exp: Remove regex characters from test
8392 message. Don't refer to breakpoint numbers in test messages.
8394 2014-04-14 Keith Seitz <keiths@redhat.com>
8397 * gdb.cp/var-tag.cc: New file.
8398 * gdb.cp/var-tag.exp: New file.
8399 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8400 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8401 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8402 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8404 2014-04-14 Tom Tromey <tromey@redhat.com>
8406 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8407 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8409 * gdb.cp/enum-class.exp: New file.
8410 * gdb.cp/enum-class.cc: New file.
8412 2014-04-14 Tom Tromey <tromey@redhat.com>
8414 * gdb.dwarf2/enum-type.exp: New file.
8416 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8418 * gdb.mi/mi-vla-c99.exp: New file.
8419 * gdb.mi/vla.c: New file.
8421 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8423 * gdb.base/vla-datatypes.c: New file.
8424 * gdb.base/vla-datatypes.exp: New file.
8426 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8428 * gdb.base/vla-ptr.c: New file.
8429 * gdb.base/vla-ptr.exp: New file.
8431 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8433 * gdb.dwarf2/count.exp: New file.
8435 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8437 * gdb.base/vla-sideeffect.c: New file.
8438 * gdb.base/vla-sideeffect.exp: New file.
8440 2014-04-14 David Blaikie <dblaikie@gmail.com>
8442 * gdb.mi/non-stop.c: Add return value for non-void function return
8444 * gdb.threads/staticthreads.c: Ditto.
8446 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8447 Doug Evans <xdje42@gmail.com>
8449 * gdb.guile/scm-value.c: Improve test case.
8450 * gdb.guile/scm-value.exp: Add new test.
8452 2014-04-11 David Blaikie <dblaikie@gmail.com>
8454 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8455 override Clang's default.
8457 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8459 Revert the following changes (regressions):
8461 * gdb.base/vla-sideeffect.c: New file.
8462 * gdb.base/vla-sideeffect.exp: New file.
8464 * gdb.dwarf2/count.exp: New file.
8466 * gdb.base/vla-multi.c: New file.
8467 * gdb.base/vla-multi.exp: New file.
8469 * gdb.base/vla-ptr.c: New file.
8470 * gdb.base/vla-ptr.exp: New file.
8472 * gdb.base/vla-datatypes.c: New file.
8473 * gdb.base/vla-datatypes.exp: New file.
8475 * gdb.mi/mi-vla-c99.exp: New file.
8476 * gdb.mi/vla.c: New file.
8478 2014-04-11 Keith Seitz <keiths@redhat.com>
8481 * gdb.cp/cpsizeof.exp: New file.
8482 * gdb.cp/cpsizeof.cc: New file.
8484 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8486 * gdb.mi/mi-vla-c99.exp: New file.
8487 * gdb.mi/vla.c: New file.
8489 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8491 * gdb.base/vla-datatypes.c: New file.
8492 * gdb.base/vla-datatypes.exp: New file.
8494 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8496 * gdb.base/vla-ptr.c: New file.
8497 * gdb.base/vla-ptr.exp: New file.
8499 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8501 * gdb.base/vla-multi.c: New file.
8502 * gdb.base/vla-multi.exp: New file.
8504 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8506 * gdb.dwarf2/count.exp: New file.
8508 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8510 * gdb.base/vla-sideeffect.c: New file.
8511 * gdb.base/vla-sideeffect.exp: New file.
8513 2014-04-11 Yao Qi <yao@codesourcery.com>
8515 * gdb.base/completion.exp: Check file exists before running tests
8518 2014-04-10 Pedro Alves <palves@redhat.com>
8520 * gdb.base/cond-eval-mode.c: New file.
8521 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8522 prepare_for_testing to build the new file. Check result of
8524 (test_break, test_watch): New procedures.
8525 (top level): Use them.
8527 2014-04-08 Pierre Muller <muller@sourceware.org>
8529 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8530 Ctrl-V use for mingw hosts.
8532 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8534 * gdb.python/py-value.c: Improve test case.
8535 * gdb.python/py-value.exp: Add new test.
8537 2014-04-07 David Blaikie <dblaikie@gmail.com>
8539 * lib/compiler.c: Identify the clang compiler.
8540 * lib/compiler.cc: Ditto.
8542 2014-04-03 Yao Qi <yao@codesourcery.com>
8544 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8546 2014-04-01 Anton Blanchard <anton@samba.org>
8548 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8551 2014-04-01 Anton Blanchard <anton@samba.org>
8553 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8554 prepare_for_testing.
8556 2014-04-01 Anton Blanchard <anton@samba.org>
8558 * gdb.arch/ppc64-atomic-inst.c: Remove.
8559 * gdb.arch/ppc64-atomic-inst.S: New file.
8560 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8562 2014-03-31 Doug Evans <dje@google.com>
8564 * gdb.base/print-symbol-loading-lib.c: New file.
8565 * gdb.base/print-symbol-loading-main.c: New file.
8566 * gdb.base/print-symbol-loading.exp: New file.
8568 2014-03-31 Yao Qi <yao@codesourcery.com>
8570 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8572 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8574 * gdb.ada/mi_dyn_arr: New testcase.
8576 2014-03-27 Doug Evans <dje@google.com>
8578 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8580 2014-03-27 Yao Qi <yao@codesourcery.com>
8582 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8583 if target is nios2-*-*.
8585 2014-03-26 Yao Qi <yao@codesourcery.com>
8587 * lib/gdb.exp (readline_is_used): New proc.
8588 * gdb.base/completion.exp: Move tests on command complete up.
8589 Skip the rest of tests if readline is not used.
8590 * gdb.ada/complete.exp: Skp the test if readline is not
8592 * gdb.base/filesym.exp: Likewise.
8593 * gdb.base/macscp.exp: Likewise.
8594 * gdb.base/readline-ask.exp: Likewise.
8595 * gdb.base/readline.exp: Likewise.
8596 * gdb.python/py-cmd.exp: Likewise.
8597 * gdb.trace/tfile.exp: Likewise.
8599 2014-03-26 Yao Qi <yao@codesourcery.com>
8601 * gdb.base/macscp.exp: Fix code format issues.
8603 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8605 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8606 * gdb.asm/powerpc64le.inc: New file.
8608 2014-03-25 Pedro Alves <palves@redhat.com>
8609 Doug Evans <dje@google.com>
8611 * gdb.base/source-execution.c: New file.
8612 * gdb.base/source-execution.exp: New file.
8613 * gdb.base/source-execution.gdb: New file.
8615 2014-03-24 Doug Evans <dje@google.com>
8617 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8620 2014-03-24 Hui Zhu <hui@codesourcery.com>
8621 Pedro Alves <palves@redhat.com>
8623 PR breakpoints/16101
8624 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8625 test pass/fail messages. Detect missing support for dprintf when
8626 breakpoints are actually inserted.
8627 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8628 breakpoints are actually inserted.
8629 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8632 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8634 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8636 2014-03-22 Doug Evans <xdje42@gmail.com>
8638 * gdb.python/python.exp (python not supported): Verify multi-line
8639 python command issues an error.
8640 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8641 guile command issues an error.
8643 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8645 * gdb.threads/thread-specific.exp: Handle the lack of usable
8646 $this_breakpoint and $this_thread.
8648 2014-03-21 Hui Zhu <hui@codesourcery.com>
8650 * gdb.base/attach.exp (do_command_attach_tests): New.
8652 2014-03-20 Tom Tromey <tromey@redhat.com>
8653 Pedro Alves <palves@redhat.com>
8656 * gdb.base/condbreak-call-false.c: New file.
8657 * gdb.base/condbreak-call-false.exp: New file.
8659 2014-03-20 Pedro Alves <palves@redhat.com>
8661 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8663 (block_signals, unblock_signals): Delete.
8664 (child_function_2, main): Remove references to deleted variable
8667 2014-03-20 Pedro Alves <palves@redhat.com>
8669 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8670 Use pthread_kill to signal thread 2.
8671 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8672 Adjust to make the test send itself a signal rather than using the
8673 host's "kill" command.
8675 2014-03-20 Pedro Alves <palves@redhat.com>
8677 * gdb.threads/multiple-step-overs.c: New file.
8678 * gdb.threads/multiple-step-overs.exp: New file.
8679 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8680 Adjust expected infrun debug output.
8682 2014-03-20 Pedro Alves <palves@redhat.com>
8684 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8685 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8687 2014-03-20 Pedro Alves <palves@redhat.com>
8690 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8691 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8692 of gdb_test_multiple.
8693 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8694 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8696 2014-03-20 Pedro Alves <palves@redhat.com>
8698 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8699 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8701 2014-03-19 Pedro Alves <palves@redhat.com>
8703 * gdb.base/async.exp: Remove early return.
8705 2014-03-19 Pedro Alves <palves@redhat.com>
8707 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8709 2014-03-19 Pedro Alves <palves@redhat.com>
8711 * gdb.base/async.exp (test_background): Expect \r\n after
8712 "completed." in the fail pattern.
8714 2014-03-19 Pedro Alves <palves@redhat.com>
8716 * gdb.base/async.exp (test_background): New procedure.
8717 Use it for all background execution command tests.
8719 2014-03-19 Pedro Alves <palves@redhat.com>
8721 * gdb.base/async.exp: Use prepare_for_testing.
8723 2014-03-19 Pedro Alves <palves@redhat.com>
8725 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8728 2014-03-19 Pedro Alves <palves@redhat.com>
8730 * gdb.base/async.c (main): Add "jump here" and "until here" line
8732 * gdb.base/async.exp (jump_here): New global.
8733 (jump& test): Use it.
8734 (until_here): New global.
8735 (until& test): Use it.
8737 2014-03-19 Pedro Alves <palves@redhat.com>
8739 * gdb.base/async.exp: Don't frob gdb_protocol.
8741 2014-03-18 Doug Evans <xdje42@gmail.com>
8743 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8744 Fix spelling of exec-done-display.
8746 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8749 * gdb.base/gdb-sigterm.c: New file.
8750 * gdb.base/gdb-sigterm.exp: New file.
8752 2014-03-18 Pedro Alves <palves@redhat.com>
8755 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8756 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8759 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8761 * gdb.ada/pckd_arr_ren: New testcase.
8763 2014-03-13 Doug Evans <xdje42@gmail.com>
8766 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8767 collect after discarding symbols.
8769 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8770 Doug Evans <xdje42@gmail.com>
8772 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8773 to history survives a gc.
8775 2014-03-13 Pedro Alves <palves@redhat.com>
8777 * gdb.base/default.exp: Don't test "target procfs".
8779 2014-03-13 Pedro Alves <palves@redhat.com>
8781 * gdb.base/default.exp: Update "target child" and "target procfs"
8782 tests to not expect "Unix".
8784 2014-03-12 Tom Tromey <tromey@redhat.com>
8786 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8787 New procs. Add target-async tests.
8788 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8789 Add target-async tests.
8791 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8793 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8794 'func_start' and 'func_end' for the beginning and end of the
8795 function code, respectively.
8796 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8797 'func_end' instead of 'func' and 'main'.
8799 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8801 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8802 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8803 generate the debug info assembler source.
8805 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8807 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8808 * gdb.dwarf2/arr-subrange.exp: Likewise.
8809 * gdb.dwarf2/dwz.exp: Likewise.
8810 * gdb.dwarf2/method-ptr.exp: Likewise.
8811 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8812 * gdb.dwarf2/subrange.exp: Likewise.
8813 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8814 * gdb.dwarf2/implptrpiece.exp: Likewise.
8815 * gdb.dwarf2/nostaticblock.exp: Likewise.
8817 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8819 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8820 directory to absolute path name arguments.
8822 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8824 * gdb.ada/tagged_access: New testcase.
8826 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8828 * gdb.btrace/data.exp: Update expected output.
8830 2014-03-06 Yao Qi <yao@codesourcery.com>
8832 * gdb.trace/pr16508.exp: New file.
8834 2014-03-05 Pedro Alves <palves@redhat.com>
8837 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8839 (top level): Adjust to use it. Add tests that exercise breakpoint
8840 interaction with the code-cache.
8842 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8844 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8845 test for 'history-append!'.
8847 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8849 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8850 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8851 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8852 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8853 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8854 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8856 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8858 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8859 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8860 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8862 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8864 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8866 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8868 * gdb.dwarf2/arr-stride.c: New file.
8869 * gdb.dwarf2/arr-stride.exp: New file.
8871 2014-02-26 Pedro Alves <palves@redhat.com>
8873 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8874 that won't ever trigger. Make sure that GDB reports the correct
8875 breakpoint that caused the stop.
8877 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8880 * gdb.base/auto-load-script: New file.
8881 * gdb.base/auto-load.c: New file.
8882 * gdb.base/auto-load.exp: New file.
8885 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8887 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8889 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8890 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8892 2014-02-24 Doug Evans <dje@google.com>
8894 * lib/gdb.exp (run_on_host): Log error output if program fails.
8896 2014-02-21 Pedro Alves <palves@redhat.com>
8898 * gdb.threads/step-after-sr-lock.c: Rename to ...
8899 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8900 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8904 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8907 * gdb.arch/amd64-stap-special-operands.exp: New file.
8908 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8909 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8910 * gdb.arch/amd64-stap-triplet.S: Likewise.
8911 * gdb.arch/amd64-stap-triplet.c: Likewise.
8913 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8915 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8916 in .section pseudo-op.
8918 2014-02-20 lin zuojian <manjian2006@gmail.com>
8919 Joel Brobecker <brobecker@adacore.com>
8920 Doug Evans <xdje42@gmail.com>
8923 * gdb.dwarf2/dw2-icycle.S: New file.
8924 * gdb.dwarf2/dw2-icycle.c: New file.
8925 * gdb.dwarf2/dw2-icycle.exp: New file.
8927 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8929 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8930 operations on gdb.Value objects.
8931 * gdb.python/py-value-cc.exp: Add new test to test operations on
8934 2014-02-18 Doug Evans <dje@google.com>
8936 * Makefile.in (TESTS): New variable.
8937 (expanded_tests, expanded_tests_or_none): New variables
8938 (check-single): Pass $(expanded_tests_or_none) to runtest.
8939 (check-parallel): Only run tests in $(TESTS) if non-empty.
8940 (check/no-matching-tests-found): New rule.
8941 * README: Document TESTS makefile variable.
8943 2014-02-18 Doug Evans <dje@google.com>
8945 * Makefile.in (check-parallel): rm -rf outputs temp.
8947 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8949 Fix "ERROR: no fileid for" in the testsuite.
8950 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8952 2014-02-12 Doug Evans <dje@google.com>
8954 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8955 (MISCELLANEOUS): New variable.
8956 (clean): rm -rf $(MISCELLANEOUS).
8957 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8958 dwp live in the same directory as symlinks, with each symlink pointed
8959 to a differently named file in a different directory.
8961 2014-02-11 Doug Evans <dje@google.com>
8963 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8964 of Tcl file commands.
8966 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8968 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8971 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8973 * gdb.ada/tick_length_array_enum_idx: New testcase.
8975 2014-02-10 Doug Evans <xdje42@gmail.com>
8977 * configure.ac (AC_OUTPUT): Add gdb.guile.
8978 * configure: Regenerate.
8979 * lib/gdb-guile.exp: New file.
8980 * lib/gdb.exp (get_target_charset): New function.
8981 * gdb.base/help.exp: Update expected output from "apropos apropos".
8982 * gdb.guile/Makefile.in: New file.
8983 * gdb.guile/guile.exp: New file.
8984 * gdb.guile/scm-arch.c: New file.
8985 * gdb.guile/scm-arch.exp: New file.
8986 * gdb.guile/scm-block.c: New file.
8987 * gdb.guile/scm-block.exp: New file.
8988 * gdb.guile/scm-breakpoint.c: New file.
8989 * gdb.guile/scm-breakpoint.exp: New file.
8990 * gdb.guile/scm-disasm.c: New file.
8991 * gdb.guile/scm-disasm.exp: New file.
8992 * gdb.guile/scm-equal.c: New file.
8993 * gdb.guile/scm-equal.exp: New file.
8994 * gdb.guile/scm-error.exp: New file.
8995 * gdb.guile/scm-error.scm: New file.
8996 * gdb.guile/scm-frame-args.c: New file.
8997 * gdb.guile/scm-frame-args.exp: New file.
8998 * gdb.guile/scm-frame-args.scm: New file.
8999 * gdb.guile/scm-frame-inline.c: New file.
9000 * gdb.guile/scm-frame-inline.exp: New file.
9001 * gdb.guile/scm-frame.c: New file.
9002 * gdb.guile/scm-frame.exp: New file.
9003 * gdb.guile/scm-generics.exp: New file.
9004 * gdb.guile/scm-gsmob.exp: New file.
9005 * gdb.guile/scm-iterator.c: New file.
9006 * gdb.guile/scm-iterator.exp: New file.
9007 * gdb.guile/scm-math.c: New file.
9008 * gdb.guile/scm-math.exp: New file.
9009 * gdb.guile/scm-objfile-script-gdb.in: New file.
9010 * gdb.guile/scm-objfile-script.c: New file.
9011 * gdb.guile/scm-objfile-script.exp: New file.
9012 * gdb.guile/scm-objfile.c: New file.
9013 * gdb.guile/scm-objfile.exp: New file.
9014 * gdb.guile/scm-ports.exp: New file.
9015 * gdb.guile/scm-pretty-print.c: New file.
9016 * gdb.guile/scm-pretty-print.exp: New file.
9017 * gdb.guile/scm-pretty-print.scm: New file.
9018 * gdb.guile/scm-section-script.c: New file.
9019 * gdb.guile/scm-section-script.exp: New file.
9020 * gdb.guile/scm-section-script.scm: New file.
9021 * gdb.guile/scm-symbol.c: New file.
9022 * gdb.guile/scm-symbol.exp: New file.
9023 * gdb.guile/scm-symtab-2.c: New file.
9024 * gdb.guile/scm-symtab.c: New file.
9025 * gdb.guile/scm-symtab.exp: New file.
9026 * gdb.guile/scm-type.c: New file.
9027 * gdb.guile/scm-type.exp: New file.
9028 * gdb.guile/scm-value-cc.cc: New file.
9029 * gdb.guile/scm-value-cc.exp: New file.
9030 * gdb.guile/scm-value.c: New file.
9031 * gdb.guile/scm-value.exp: New file.
9032 * gdb.guile/source2.scm: New file.
9033 * gdb.guile/types-module.cc: New file.
9034 * gdb.guile/types-module.exp: New file.
9036 2014-02-10 Yao Qi <yao@codesourcery.com>
9039 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9040 * configure: Regenerated.
9041 * Makefile.in: New file.
9043 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9045 * gdb.python/py-framefilter.exp: Fix typo.
9047 2014-02-08 Yao Qi <yao@codesourcery.com>
9049 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9050 that no =breakpoint-modified is emitted when breakpoints are
9051 modified through MI commands.
9053 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9054 Pedro Alves <palves@redhat.com>
9056 * gdb.threads/step-after-sr-lock.c: New file.
9057 * gdb.threads/step-after-sr-lock.exp: New file.
9059 2014-02-07 Pedro Alves <palves@redhat.com>
9061 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9063 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9065 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9066 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9068 2014-02-06 Doug Evans <xdje42@gmail.com>
9070 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9073 * gdb.gdb/python-interrupts.exp: New file.
9075 2014-02-05 Yao Qi <yao@codesourcery.com>
9077 * gdb.trace/report.exp (use_collected_data): Test the output
9078 of "info threads" and "info inferiors".
9080 2014-02-05 Yao Qi <yao@codesourcery.com>
9084 2013-05-24 Yao Qi <yao@codesourcery.com>
9086 * gdb.trace/tfile.exp: Test inferior and thread.
9088 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9090 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9092 * gdb.base/step-bt.c: Call hello via function pointer to make
9093 sure its first instruction is executed on powerpc64le-linux.
9095 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9097 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9099 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9101 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9102 of the test patterns for use on little-endian systems.
9104 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9106 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9107 (decimal_vector): Fix for little-endian.
9109 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9111 * gdb.arch/sparc-sysstep.exp: New file.
9112 * gdb.arch/sparc-sysstep.c: Likewise.
9114 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9116 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9118 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9120 2014-01-23 Tom Tromey <tromey@redhat.com>
9122 * gdb.ada/array_char_idx: New testcase.
9124 2014-01-23 Tom Tromey <tromey@redhat.com>
9127 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9128 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9131 2014-01-23 Tom Tromey <tromey@redhat.com>
9134 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9135 string from an inferior frame.
9136 * gdb.python/py-framefilter-mi.exp: Update.
9138 2014-01-22 Doug Evans <dje@google.com>
9140 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9142 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9144 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9146 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9148 * gdb.trace/entry-values.exp: Remove excess space character from
9149 regex patterns. Handle s390 call instruction.
9151 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9153 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9154 define "*_start" label. Make "name" static.
9155 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9156 ${name} by references to ${name}_start.
9158 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9160 * gdb.base/info-macros.exp: Remove "debug" from the compile
9163 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9165 * gdb.dlang/demangle.exp: New file.
9167 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9169 * gdb.dlang/primitive-types.exp: New file.
9171 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9173 * configure.ac: Create gdb.dlang/Makefile.
9174 * configure: Regenerate.
9175 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9176 * gdb.dlang/Makefile.in: New file.
9177 * lib/d-support.exp: New file.
9178 * lib/gdb.exp (skip_d_tests): New proc.
9180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9182 * gdb.btrace/delta.exp: Check reverse stepi.
9183 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9184 * gdb.btrace/finish.exp: New.
9185 * gdb.btrace/next.exp: New.
9186 * gdb.btrace/nexti.exp: New.
9187 * gdb.btrace/record_goto.c: Add comments.
9188 * gdb.btrace/step.exp: New.
9189 * gdb.btrace/stepi.exp: New.
9190 * gdb.btrace/multi-thread-step.c: New.
9191 * gdb.btrace/multi-thread-step.exp: New.
9192 * gdb.btrace/rn-dl-bind.c: New.
9193 * gdb.btrace/rn-dl-bind.exp: New.
9194 * gdb.btrace/data.c: New.
9195 * gdb.btrace/data.exp: New.
9196 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9198 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9200 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9201 * gdb.btrace/exception.exp: Update.
9202 * gdb.btrace/instruction_history.exp: Update.
9203 * gdb.btrace/record_goto.exp: Update.
9204 * gdb.btrace/tailcall.exp: Update.
9205 * gdb.btrace/unknown_functions.exp: Update.
9206 * gdb.btrace/delta.exp: New.
9208 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9210 * gdb.btrace/record_goto.exp: Add backtrace test.
9211 * gdb.btrace/tailcall.exp: Add backtrace test.
9213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9215 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9216 * gdb.btrace/record_goto.c: New.
9217 * gdb.btrace/record_goto.exp: New.
9218 * gdb.btrace/x86-record_goto.S: New.
9220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9222 * gdb.btrace/function_call_history.exp: Update tests.
9223 * gdb.btrace/instruction_history.exp: Update tests.
9225 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9227 * gdb.btrace/function_call_history.exp: Fix expected field
9228 order for "record function-call-history".
9229 Add new tests for "record function-call-history /c".
9230 * gdb.btrace/exception.cc: New.
9231 * gdb.btrace/exception.exp: New.
9232 * gdb.btrace/tailcall.exp: New.
9233 * gdb.btrace/x86-tailcall.S: New.
9234 * gdb.btrace/x86-tailcall.c: New.
9235 * gdb.btrace/unknown_functions.c: New.
9236 * gdb.btrace/unknown_functions.exp: New.
9237 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9239 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9241 * gdb.btrace/instruction_history.exp: Update.
9242 * gdb.btrace/function_call_history.exp: Update.
9244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9246 * gdb.btrace/function_call_history.exp: Fix expected function
9248 * gdb.btrace/instruction_history.exp: Initialize traced.
9249 Remove traced_functions.
9251 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9253 * gdb.btrace/function_call_history.exp: Update
9254 * gdb.btrace/instruction_history.exp: Update.
9256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9258 * gdb.btrace/enable.exp: Update expected text.
9260 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9262 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9265 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9267 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9269 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9271 * lib/gdb.exp (supports_process_record): Return true for
9272 arm*-linux*. (supports_reverse): Likewise.
9274 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9278 * gdb.python/py-type.c: Enhance test case.
9279 * gdb.python/py-value-cc.cc: Likewise
9280 * gdb.python/py-type.exp: Add new tests.
9281 * gdb.python/py-value-cc.exp: Likewise
9283 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9284 Pedro Alves <palves@redhat.com>
9286 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9288 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9289 references to ${name}_start by references to ${name}.
9291 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9293 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9295 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9297 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9299 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9300 Pedro Alves <palves@redhat.com>
9302 * gdb.mi/mi-info-os.exp: Connect to the target with
9305 2014-01-08 Pedro Alves <palves@redhat.com>
9307 * gdb.threads/reconnect-signal.c: New file.
9308 * gdb.threads/reconnect-signal.exp: New file.
9310 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9312 * gdb.base/source-dir.exp: New file.
9314 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9316 * gdb.ada/mi_interface: New testcase.
9318 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9320 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9321 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9322 gdb.ada/pp-rec-component/pck.ads: New files.
9324 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9326 * gdb.python/py-pp-integral.c: New file.
9327 * gdb.python/py-pp-integral.py: New file.
9328 * gdb.python/py-pp-integral.exp: New file.
9330 For older changes see ChangeLog-1993-2013.
9336 ;; version-control: never
9339 Copyright 2014-2016 Free Software Foundation, Inc.
9340 Copying and distribution of this file, with or without modification,
9341 are permitted provided the copyright notice and this notice are preserved.