1 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6 * configure.ac: Remove checks for the make program.
7 * configure: Re-generate.
9 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11 * gdb.python/py-recurse-unwind.c (main): Add loop.
12 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13 to read_register() and gdb.parse_and_eval(). Make each code
14 call a separate case that can be individually tested.
15 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
16 proc. Call cont_and_backtrace for each of the code paths that
17 we want to test in the unwinder.
19 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
21 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
22 the definition of struct S.
24 2016-11-11 Catherine Moore <clm@codesourcery.com>
26 * gdb.base/dump.exp: Identify verilog format dump tests as such.
28 2016-11-09 Pedro Alves <palves@redhat.com>
30 * gdb.base/commands.exp (runto_or_return): New procedure.
31 (gdbvar_simple_if_test, gdbvar_simple_while_test)
32 (gdbvar_complex_if_while_test, progvar_simple_if_test)
33 (progvar_simple_while_test, progvar_complex_if_while_test)
34 (if_while_breakpoint_command_test)
35 (infrun_breakpoint_command_test, breakpoint_command_test)
36 (user_defined_command_test, watchpoint_command_test)
37 (test_command_prompt_position, redefine_hook_test)
38 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
39 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
40 multi_line_input and multi_line. Remove gdb_expect and
41 gdb_stop_suppressing_tests uses.
42 * lib/gdb.exp (valnum_re): New global.
43 (multi_line_input): New procedure.
45 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
47 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
49 (test_setup): Define with proc_with_prefix.
50 (test_cli_inferior): Likewise.
51 (test_cli_thread): Likewise.
52 (test_cli_frame): Likewise.
53 (test_cli_select_frame): Likewise.
54 (test_cli_up_down): Likewise.
55 (test_mi_thread_select): Likewise.
56 (test_mi_stack_select_frame): Likewise.
57 (test_cli_in_mi_inferior): Likewise.
58 (test_cli_in_mi_thread): Likewise.
59 (test_cli_in_mi_frame): Likewise.
60 (top level): Do not use with_test_prefix_procname.
62 2016-11-09 Pedro Alves <palves@redhat.com>
64 * gdb.base/commands.exp (gdbvar_simple_if_test)
65 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
66 (progvar_simple_if_test, progvar_simple_while_test)
67 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
68 (infrun_breakpoint_command_test, breakpoint_command_test)
69 (user_defined_command_test, watchpoint_command_test)
70 (test_command_prompt_position, deprecated_command_test)
71 (bp_deleted_in_command, temporary_breakpoint_commands)
72 (stray_arg0_test, source_file_with_indented_comment)
73 (recursive_source_test, if_commands_test)
74 (error_clears_commands_left, redefine_hook_test)
75 (redefine_backtrace_test): Use proc_with_prefix.
76 * lib/gdb.exp (proc_with_prefix): New proc.
78 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
80 * gdb.base/tui-layout.c: New file.
81 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
82 disassembly window contains very long lines.
84 2016-11-08 Tom Tromey <tom@tromey.com>
86 * gdb.python/py-value.exp (test_value_creation): Make "long" test
89 2016-11-08 Tom Tromey <tom@tromey.com>
91 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
94 2016-10-29 Manish Goregaokar <manish@mozilla.com>
96 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
98 2016-10-27 Manish Goregaokar <manish@mozilla.com>
100 * gdb.rust/simple.rs: Add test for univariant enums without
101 discriminants and for encoded struct-like enums.
103 2016-10-28 Pedro Alves <palves@redhat.com>
105 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
106 gdb_test_multiple, tighten regexps and match symtabs and line
107 tables incrementally.
109 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
111 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
114 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
116 * gdb.base/exec-invalid-sysroot.exp: New file.
118 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
120 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
122 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
124 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
126 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
128 * gdb.base/killed-outside.exp: Remove $options from a call to
129 `prepare_for_testing'.
131 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
133 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
136 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
138 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
141 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
143 * gdb.trace/mi-trace-save.exp: New file.
145 2016-10-13 Yao Qi <yao.qi@linaro.org>
147 * gdb.base/code_elim.exp (get_var_address): Remove.
148 * gdb.base/relocate.exp: Likewise.
149 * gdb.base/shreloc.exp: Likewise.
150 * lib/gdb.exp (get_var_address): New.
152 2016-10-13 Yao Qi <yao.qi@linaro.org>
154 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
155 floating point tests if $skip_float_test is false.
157 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
159 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
160 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
162 Add 1 to argc so we guarantee distinct initial/modified argc values.
164 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
166 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
168 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
170 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
171 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
172 * gdb.arch/vsx-regs.exp: Likewise.
174 2016-10-07 Yao Qi <yao.qi@linaro.org>
176 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
178 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
180 * gdb.python/python.exp: Test decode_line("*0").
182 2016-10-06 Doug Evans <dje@google.com>
184 * gdb.python/py-value.exp (test_value_creation): Add test for large
185 unsigned 64-bit value.
187 2016-10-06 Tom Tromey <tom@tromey.com>
189 * gdb.compile/compile.exp: Change java tests to rust.
190 * gdb.base/setshow.exp: Change java tests to rust.
191 * gdb.base/default.exp: Remove java from language list.
192 * README (Examples): Update language example.
193 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
195 * lib/gdb.exp (skip_java_tests): Remove.
196 * lib/java.exp: Remove.
199 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
201 * gdb.arch/mips-fcr.exp: New test.
202 * gdb.arch/mips-fcr.c: Source for the new test.
204 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
206 * gdb.base/solib-disc.exp: Use `standard_output_file'
209 2016-10-06 Pedro Alves <palves@redhat.com>
211 * gdb.base/jit-simple-dl.c: New file.
212 * gdb.base/jit-simple-jit.c: New file, factored out from ...
213 * gdb.base/jit-simple.c: ... this.
214 * gdb.base/jit-simple.exp (jit_run): Delete.
215 (build_jit): New proc.
216 (jit_test_reread): Recompile either the main program or the shared
217 library, depending on what is being tested. Skip changing address
218 if caller wants to. Compare before/after addresses. If testing
219 standalone, explicitly load the binary. Test "maint info
221 (top level): Add "standalone vs shared lib" and "change address"
222 vs "same address" axes.
224 2016-10-06 Pedro Alves <palves@redhat.com>
226 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
229 (jit_test_reread): Use with_test_prefix. Reload the main binary
230 explicitly. Compare the before/after addresses of the JIT
233 2016-08-15 Doug Evans <dje@google.com>
235 * gdb.xml/extra-regs.xml: Update, end field now required, default type
236 for single bitfields is bool.
237 * gdb.xml/tdesc-regs.exp: Ditto.
239 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
241 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
243 2016-10-05 Yao Qi <yao.qi@linaro.org>
245 * lib/gdb.exp (support_complex_tests): Return zero if
246 gdb_skip_float_test return true.
248 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
249 Simon Marchi <simon.marchi@ericsson.com>
252 * gdb.mi/user-selected-context-sync.exp: New file.
253 * gdb.mi/user-selected-context-sync.c: New file.
255 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
256 Simon Marchi <simon.marchi@ericsson.com>
259 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
260 =thread-select-event check.
262 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
264 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
265 the compulsory L operand changes.
266 * gdb.arch/powerpc-power.s: Likewise.
268 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
270 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
271 * gdb.base/jit-attach-pie.c: New file.
272 * gdb.base/jit-attach-pie.exp: New file.
274 2016-09-28 Pedro Alves <palves@redhat.com>
276 * gdb.base/infcall-input.c: New file.
277 * gdb.base/infcall-input.exp: New file.
279 2016-09-22 Yao Qi <yao.qi@linaro.org>
281 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
282 (gdb_exit): Rename it to ...
283 (gdbserver_gdb_exit): ... Close GDBserver.
284 (gdb_exit): New proc, call gdbserver_gdb_exit.
285 (mi_gdb_exit): Likewise.
287 2016-09-22 Yao Qi <yao.qi@linaro.org>
289 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
291 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
294 2016-09-22 Yao Qi <yao.qi@linaro.org>
296 * lib/gdbserver-support.exp: Check the existence of
297 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
299 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
301 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
303 2016-09-21 Tom Tromey <tom@tromey.com>
306 * gdb.base/quit.exp: New file.
308 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
310 * .gitignore: New file.
312 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
314 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
317 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
319 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
321 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
323 * gdb.cp/casts.cc (decltype): Move it ...
324 (main): ... with its call to ...
325 * gdb.cp/casts03.cc: ... a new file.
326 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
328 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
330 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
332 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
334 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
335 and sync up the test with tests in gas/testsuite/gas/ppc.
336 * gdb.arch/powerpc-power.exp: Likewise.
338 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
340 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
342 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
343 Jan Kratochvil <jan.kratochvil@redhat.com>
345 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
346 make m1's definition to be different from m2's. Use 'dummy' as an
347 argument for probe 'two'.
349 2016-09-10 Jon Beniston <jon@beniston.com>
351 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
354 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
356 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
357 variable declaration.
358 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
359 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
360 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
361 received HWCAP as its argument.
363 2016-09-06 Pedro Alves <palves@redhat.com>
365 * gdb.base/new-ui-pending-input.c: New file.
366 * gdb.base/new-ui-pending-input.exp: New file.
367 * gdb.exp (clear_gdb_spawn_id): New procedure.
368 (with_spawn_id): Check whether gdb_spawn_id exists before
369 referencing it. If gdb_spawn_id didn't exist on entry, clear it
372 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
374 * gdb.base/float128.c: New file.
375 * gdb.base/float128.exp: Likewise.
376 * gdb.base/floatn.c: Likewise.
377 * gdb.base/floatn.exp: Likewise.
379 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
381 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
383 2016-09-05 Pedro Alves <palves@redhat.com>
386 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
387 unwinders are immediately called as side effect of "source" or
388 "disable unwinder" commands.
389 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
391 2016-09-02 Yao Qi <yao.qi@linaro.org>
393 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
394 is true and $type is "float" or "double".
396 2016-09-02 Yao Qi <yao.qi@linaro.org>
398 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
400 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
401 * gdb.base/call-rt-st.exp: Likewise.
402 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
403 return value instead of gdb,skip_float_test.
404 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
405 (do_function_calls): Use its return value instead of
407 * gdb.base/finish.exp: Likewise.
408 * gdb.base/funcargs.exp: Likewise.
409 * gdb.base/return.exp: Likewise.
410 * gdb.base/return2.exp: Likewise.
411 * gdb.base/varargs.exp: Likewise.
412 * lib/gdb.exp (gdb_skip_float_test): Change it to
413 gdb_caching_proc. Detect the broken ptrace on arm-linux.
415 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
417 * gdb.multi/tids.exp: Test "thread apply all".
419 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
421 * gdb.base/default.exp (tty): Remove.
423 2016-08-24 Kevin Buettner <kevinb@redhat.com>
425 * gdb.python/py-recurse-unwind.c: New file.
426 * gdb.python/py-recurse-unwind.py: New file.
427 * gdb.python/py-recurse-unwind.exp: New file.
429 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
431 * gdb.base/set-inferior-tty.exp: New file.
432 * gdb.base/set-inferior-tty.c: New file.
434 2016-08-23 Pedro Alves <palves@redhat.com>
437 * gdb.base/new-ui-echo.c: New file.
438 * gdb.base/new-ui-echo.exp: New file.
440 2016-08-23 Yao Qi <yao.qi@linaro.org>
442 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
444 * gdb.server/connect-without-multi-process.exp (do_test):
447 2016-08-23 Yao Qi <yao.qi@linaro.org>
449 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
450 standalone_txt. Delete gdb_txt and standalone_txt on host
451 and target. Spawn the binary on target. Copy files from
454 2016-08-22 Pedro Alves <palves@redhat.com>
457 * gdb.base/vdso-warning.exp: Test core dumps too. Use
458 with_test_prefix. Factor out bits to ...
459 (test_no_vdso): ... this new procedure.
461 2016-08-19 Carl Love <cel@us.ibm.com>
463 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
464 maintaining separate logic for constructing the output path.
465 * gdb.arch/powerpc-d128-regs.exp: Likewise.
466 * gdb.arch/ppc-dfp.exp: Likewise.
467 * gdb.arch/ppc-fp.exp: Likewise.
468 * gdb.arch/vsx-regs.exp: Likewise.
469 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
470 binprefix for generating the additional binary files.
472 2016-08-19 Pedro Alves <palves@redhat.com>
474 * gdb.trace/mi-trace-frame-collected.exp
475 (test_trace_frame_collected): On x32, expect two registers.
477 2016-08-18 Carl Love <cel@us.ibm.com>
479 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
480 and sync up the test with tests in gas/testsuite/gas/ppc.
481 * gdb.arch/powerpc-power.exp: Likewise.
483 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
485 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
486 expected error message.
488 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
490 * gdb.multi/remove-inferiors.exp: New file.
491 * gdb.multi/remove-inferiors.c: New file.
493 2016-08-12 Yao Qi <yao.qi@linaro.org>
495 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
498 2016-08-10 Pedro Alves <palves@redhat.com>
501 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
504 2016-08-09 Pedro Alves <palves@redhat.com>
505 Simon Marchi <simon.marchi@ericsson.com>
508 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
509 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
511 2016-08-09 Pedro Alves <palves@redhat.com>
514 * gdb.mi/mi-cmd-error.exp: New file.
516 2016-08-09 Pedro Alves <palves@redhat.com>
519 * gdb.base/signals-state-child.c: New file.
520 * gdb.base/signals-state-child.exp: New file.
521 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
523 2016-08-09 Pedro Alves <palves@redhat.com>
525 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
527 2016-08-03 Tom Tromey <tom@tromey.com>
530 * gdb.python/py-frame-inline.exp: Add Frame.function test.
532 2016-08-01 Yao Qi <yao.qi@linaro.org>
534 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
535 variable mode to "multi-process" if $multi_process is 1, otherwise
536 set it to "single-process".
538 2016-08-01 Yao Qi <yao.qi@linaro.org>
540 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
541 * gdb.cp/cpexprs.exp: Likewise.
542 * gdb.cp/m-static.exp: Likewise.
544 2016-07-26 Tom Tromey <tom@tromey.com>
547 * gdb.threads/tls.exp (check_thread_local): Add python symbol
550 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
552 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
553 selecting assembly source files.
554 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
555 assembly source files.
556 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
557 assembly source files.
558 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
559 selecting assembly source files.
561 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
563 * gdb.base/new-ui.exp (do_test_invalid_args): New
566 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
568 * gdb.btrace/reconnect.c: New file.
569 * gdb.btrace/reconnect.exp: New file.
571 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
573 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
574 to test_catch_syscall_group.
575 (test_catch_syscall_group): New.
577 2016-07-21 Tom Tromey <tom@tromey.com>
579 * gdb.rust/simple.rs (main): Use empty struct expression.
580 * gdb.rust/simple.exp: Add tests for empty struct expression.
582 2016-07-21 Yao Qi <yao.qi@linaro.org>
584 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
585 if gdb_skip_xml_test is true on some targets.
587 2016-07-21 Yao Qi <yao.qi@linaro.org>
589 * gdb.server/solib-list.exp: Unset last_loaded_file.
591 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
594 "step into captured_main (args)".
596 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
598 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
600 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
602 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
604 2016-07-19 Pedro Alves <palves@redhat.com>
606 * gdb.opt/inline-break.exp: Remove optimize=-O2.
607 * gdb.opt/inline-bt.exp: Likewise.
608 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
609 additional_flags=-Winline.
610 * gdb.opt/inline-locals.exp: Likewise.
611 * gdb.opt/inline-markers.c (ATTR): Define.
612 (inlined_fn): Use it.
614 2016-07-19 Yao Qi <yao.qi@linaro.org>
616 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
617 (test_with_self): Remove some code. Remove argument executable.
618 (top-level): Use do_self_tests.
620 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
621 Don Breazeal <donb@codesourcery.com>
623 * gdb.base/maint.exp: Escape paths used in regular expressions.
624 * gdb.stabs/weird.exp: Likewise.
626 2016-07-13 Tom Tromey <tom@tromey.com>
628 PR python/15620, PR python/18620:
629 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
630 (test_bkpt_events): New procs.
632 2016-07-13 Tom Tromey <tom@tromey.com>
635 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
637 (test_watchpoints): Likewise.
638 (test_bkpt_pending): New proc.
640 2016-07-13 Tom Tromey <tom@tromey.com>
643 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
646 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
648 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
649 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
650 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
652 (g): Rename g_end_lbl to g_label.
653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
655 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
657 2016-07-12 Tom Tromey <tom@tromey.com>
660 * gdb.python/py-unwind-maint.exp: Update tests.
662 2016-07-12 Yao Qi <yao.qi@linaro.org>
664 * lib/selftest-support.exp (selftest_setup): Match the output
665 when captured_main is inlined.
667 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
669 * gdb.fortran/derived-types.exp (result_line, result_line_2):
671 (print this%a, print this%b, print this): New tests.
672 * gdb.fortran/derived-types.f90 (this): New object and
675 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
677 * gdb.ada/arraydim.exp: Remove extra directory level in build
680 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
682 * lib/ada.exp: Remove extra directory level in build directory.
683 * gdb.ada/cond_lang.exp: Likewise.
684 * gdb.ada/exec_changed.exp: Likewise.
685 * gdb.ada/lang_switch.exp: Likewise.
687 2016-07-06 Manish Goregaokar <manish@mozilla.com>
689 * simple.rs: Add test for raw pointer subscripting.
690 * simple.exp: Add test expectations.
692 2016-07-05 Yao Qi <yao.qi@linaro.org>
694 * gdb.mi/mi-reverse.exp: Match =record-started output.
696 2016-07-01 Pedro Alves <palves@redhat.com>
698 * gdb.base/jit-reader.exp (info_registers_current_frame): New
700 (jit_reader_test): Test the jit reader's unwinder.
701 * gdb.base/jithost.c (jit_function_00_code): New global.
702 (main): Use memcpy to fill in the mmapped code, instead of poking
704 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
706 (read_debug_info): Save the function's range.
707 (read_sp): New function.
708 (unwind_frame): Use it. Also unwind RBP.
709 (get_frame_id): Use read_sp.
710 (gdb_init_reader): Use calloc instead of malloc.
711 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
712 parameter. Use gdb_test_multiple.
714 2016-07-01 Pedro Alves <palves@redhat.com>
715 Antoine Tremblay <antoine.tremblay@ericsson.com>
717 * gdb.threads/process-dies-while-detaching.c: New file.
718 * gdb.threads/process-dies-while-detaching.exp: New file.
720 2016-07-01 Pedro Alves <palves@redhat.com>
722 * gdb.multi/watchpoint-multi-exit.c: New file.
723 * gdb.multi/watchpoint-multi-exit.exp: New file.
725 2016-06-30 Pedro Alves <palves@redhat.com>
727 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
728 unset inferior_spawn_id.
730 2016-06-30 Pedro Alves <palves@redhat.com>
732 * lib/mi-support.exp (default_mi_gdb_start): Declare global
733 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
735 2016-06-29 Yao Qi <yao.qi@linaro.org>
737 * gdb.base/return.c: Add copyright header.
739 2016-06-29 Tom Tromey <tom@tromey.com>
742 * gdb.python/py-framefilter.exp: Add tests for setting priority
743 and disabling of non-existent frame filter.
745 2016-06-29 Yao Qi <yao.qi@linaro.org>
747 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
750 2016-06-28 Yao Qi <yao.qi@linaro.org>
752 * gdb.base/catch-syscall.exp: Remove check on isnative and target
753 triplets. Start gdb, execute catch syscall, and continue. Check
754 gdb's output to determine catch syscall is supported.
756 2016-06-27 Manish Goregaokar <manish@mozilla.com>
758 * gdb.rust/simple.rs: Add test for returning unit in a function.
759 * gdb.rust/simple.exp: Add expectation for functions returning
762 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
764 * gdb.python/py-breakpoint-create-fail.c,
765 gdb.python/py-breakpoint-create-fail.exp,
766 gdb.python/py-breakpoint-create-fail.py: New testcase.
768 2016-06-25 Manish Goregaokar <manish@mozilla.com>
771 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
772 * gdb.rust/simple.exp: Add test expectations for new NonZero
775 2016-06-24 David Taylor <dtaylor@emc.com>
777 * gdb.base/offsets.exp: New file.
778 * gdb.base/offsets.c: New file.
780 2016-06-23 Tom Tromey <tom@tromey.com>
783 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
784 before any filters are loaded.
786 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
788 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
789 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
791 * gdb.fortran/derived-type-function.exp: New file.
792 * gdb.fortran/derived-type-function.f90: New file.
795 2016-06-21 Pedro Alves <palves@redhat.com>
797 * gdb.base/new-ui.exp: New file.
798 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
799 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
800 (with_spawn_id): New procedure.
802 2016-06-21 Pedro Alves <palves@redhat.com>
804 * gdb.mi/mi-exec-run.exp: New file.
806 2016-06-21 Pedro Alves <palves@redhat.com>
808 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
809 breakpoint command's output on the main UI.
810 (test_break): New procedure, factored out from calls in the top
812 (top level): Use foreach_with_prefix to test MI as main UI and as
815 2016-06-21 Pedro Alves <palves@redhat.com>
817 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
818 (test_awatch_creation_and_listing)
819 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
820 Remove 'type' parameter.
821 (test_watchpoint_all): New parameter mi_mode. Remove
823 (top level): Use foreach_with_prefix, and add main/separate UI MI
826 2016-06-21 Pedro Alves <palves@redhat.com>
828 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
829 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
830 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
831 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
832 (gdb_main_spawn_id, mi_spawn_id): Declare and
834 (mi_create_inferior_pty): New procedure,
835 factored out from default_mi_gdb_start.
836 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
838 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
839 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
840 Use mi_create_inferior_pty.
841 (mi_gdb_start): Use eval to pass down args list.
843 2016-06-21 Pedro Alves <palves@redhat.com>
845 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
846 * gdb.opt/inline-cmds.exp: Add MI tests.
848 2016-06-21 Pedro Alves <palves@redhat.com>
850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
852 2016-06-21 Pedro Alves <palves@redhat.com>
854 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
855 (top level): Use it instead of mi_execute_to.
857 2016-06-21 Pedro Alves <palves@redhat.com>
859 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
860 (cont_handler_str): New.
861 (signal_stop_handler): Set stop_handler_str instead of printing to
863 (continue_handler): Set cont_handler_str instead of printing to
865 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
866 mi_send_resuming_command. Print stop_handler_str and
867 cont_handler_str instead of expecting the python events print
870 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
872 * gdb.base/jit-reader.exp: New file.
873 * gdb.base/jithost.c: New file.
874 * gdb.base/jithost.h: New file.
875 * gdb.base/jitreader.c : New file.
876 * gdb.base/jit-protocol.h: New file.
878 2016-06-17 Yao Qi <yao.qi@linaro.org>
880 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
881 parameters follow_fork and detach_on_fork. Set follow-fork-mode
882 and detach-on-fork. Adjust tests.
883 (top level): Invoke break_cond_on_syscall with combinations of
884 syscall, follow-fork-mode and detach-on-fork.
886 2016-06-17 Yao Qi <yao.qi@linaro.org>
888 * gdb.base/step-over-exit.c: New.
889 * gdb.base/step-over-exit.exp: New.
891 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
893 * gdb.base/float.exp: Add target check for nds32*-*-*.
894 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
896 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
898 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
899 for unsupported target features.
900 * gdb.base/call-rt-st.exp: Likewise.
901 * gdb.base/call-sc.exp: Likewise.
902 * gdb.base/call-signal-resume.exp: Likewise.
903 * gdb.base/call-strs.exp: Likewise.
904 * gdb.base/callexit.exp: Likewise.
905 * gdb.base/callfuncs.exp: Likewise.
906 * gdb.base/nodebug.exp: Likewise.
907 * gdb.base/printcmds.exp: Likewise.
908 * gdb.base/ptype.exp: Likewise.
909 * gdb.base/structs.exp: Likewise.
910 * gdb.base/unwindonsignal.exp: Likewise.
911 * gdb.cp/gdb2495.exp: Likewise.
912 * gdb.cp/templates.exp: Likewise.
913 * gdb.cp/virtfunc.exp: Likewise.
914 * gdb.threads/hand-call-in-threads.exp: Likewise.
915 * gdb.threads/interrupted-hand-call.exp: Likewise.
916 * gdb.threads/thread-unwindonsignal.exp: Likewise.
918 2016-06-10 Tom Tromey <tom@tromey.com>
921 * gdb.rust/expr.exp: Add test for integer constant larger than
924 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
926 * gdb.fortran/nested-funcs.exp: New.
927 * gdb.fortran/nested-funcs.f90: New.
929 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
931 * gdb.base/examine-backward.c: New file.
932 * gdb.base/examine-backward.exp: New file.
934 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
936 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
939 2016-06-02 Tom Tromey <tom@tromey.com>
942 * gdb.python/py-shared.exp: Add solib_name test.
944 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
946 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
948 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
951 * gdb.dwarf2/implref.exp: Rename to...
952 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
953 * gdb.dwarf2/implref-array.c: New file.
954 * gdb.dwarf2/implref-array.exp: Likewise.
955 * gdb.dwarf2/implref-global.c: Likewise.
956 * gdb.dwarf2/implref-global.exp: Likewise.
957 * gdb.dwarf2/implref-struct.c: Likewise.
958 * gdb.dwarf2/implref-struct.exp: Likewise.
960 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
962 * gdb.trace/trace-condition.exp: Add 64bit tests.
964 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
966 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
968 (main): Adapt to 8 to 64 bits types.
969 * gdb.trace/trace-condition.exp: Add new tests.
971 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
973 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
975 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
977 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
978 Move condition tests...
979 * gdb.trace/trace-condition.exp: Here.
981 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
983 * gdb.trace/trace-condition.exp: Add counter-case tests.
985 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
988 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
989 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
991 2016-05-27 Pedro Alves <palves@redhat.com>
993 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
995 (top level): Call it, and bail out of DejaGnu is known to be bad.
997 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
999 * gdb.base/whatis.c: Extend the test case.
1000 * gdb.base/whatis.exp: Add additional tests.
1002 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1004 * gdb.fortran/type.f90: Add pointer variable.
1005 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1007 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1009 * gdb.fortran/vla-type.exp: Fix testcase name.
1011 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1013 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1015 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1017 * gdb.fortran/type.f90: Add nested structures.
1018 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1019 * gdb.fortran/derived-type.exp: Adapt expected output.
1020 * gdb.fortran/vla-type.exp: Adapt expected output.
1022 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1024 * gdb.fortran/whatis_type.exp: Adapt expected output.
1026 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1028 * gdb.fortran/print_type.exp: Fix expected output.
1029 * gdb.fortran/whatis_type.exp: Fix expected output.
1031 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1033 * gdb.fortran/whatis_type.exp: Use multi_line.
1035 2016-05-24 Tom Tromey <tom@tromey.com>
1038 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1039 use value as an index.
1041 2016-05-23 Tom Tromey <tom@tromey.com>
1044 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1047 2016-05-24 Pedro Alves <palves@redhat.com>
1050 * gdb.threads/clone-attach-detach.c: New file.
1051 * gdb.threads/clone-attach-detach.exp: New file.
1053 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1055 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1057 2016-05-23 Tom Tromey <tom@tromey.com>
1059 PR python/19438, PR python/18393:
1060 * gdb.python/py-progspace.exp: Add "dir" test.
1061 * gdb.python/py-objfile.exp: Add "dir" test.
1063 2016-05-23 Yao Qi <yao.qi@linaro.org>
1065 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1066 * gdb.arch/thumb2-it.exp: Likewise.
1068 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1070 * gdb.mi/mi-threads-interrupt.c: New file.
1071 * gdb.mi/mi-threads-interrupt.exp: New file.
1073 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1076 * gdb.mi/mi-async-run.exp: New file.
1077 * gdb.mi/mi-async-run.c: New file.
1079 2016-05-17 Tom Tromey <tom@tromey.com>
1080 Manish Goregaokar <manishsmail@gmail.com>
1082 * lib/rust-support.exp: New file.
1083 * lib/gdb.exp (skip_rust_tests): New proc.
1084 (build_executable_from_specs): Handle rust.
1085 * lib/future.exp (gdb_find_rustc): New proc.
1086 (gdb_default_target_compile): Handle rust.
1087 * gdb.rust/expr.exp: New file.
1088 * gdb.rust/generics.exp: New file.
1089 * gdb.rust/generics.rs: New file.
1090 * gdb.rust/methods.exp: New file.
1091 * gdb.rust/methods.rs: New file.
1092 * gdb.rust/modules.exp: New file.
1093 * gdb.rust/modules.rs: New file.
1094 * gdb.rust/simple.exp: New file.
1095 * gdb.rust/simple.rs: New file.
1097 2016-05-17 Tom Tromey <tom@tromey.com>
1099 * gdb.base/default.exp (set language): Add rust.
1101 2016-05-17 Tom Tromey <tom@tromey.com>
1103 * gdb.gdb/unittest.exp: New file.
1105 2016-05-16 Yao Qi <yao.qi@linaro.org>
1107 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1108 shell_prompt. Update shell_prompt_re.
1110 2016-05-12 Doug Evans <dje@google.com>
1113 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1114 $options when building executable.
1115 * gdb.dwarf2/fission-loclists-pie.S: New file.
1116 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1118 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1120 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1121 of [is_remote target],
1123 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1125 * lib/gdb.exp (use_gdb_stub): New procedure.
1127 2016-05-03 Yunlian Jiang <yunlian@google.com>
1128 Doug Evans <dje@google.com>
1131 * gdb.dwarf2/dwp-sepdebug.c: New file.
1132 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1134 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1136 * gdb.base/detach.exp: Remove is_remote check.
1138 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1140 * gdb.base/annota-input-while-running.exp: Don't check for
1141 [is_remote target]. Enable annotations after running to main.
1142 Remove unused "set test..." line.
1144 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1146 * gdb.trace/trace-enable-disable.exp: New file.
1147 * gdb.trace/trace-enable-disable.c: New file.
1149 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1151 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1152 use it in info sharedlibrary test.
1153 * gdb.trace/ftrace-lock.exp: Likewise.
1154 * gdb.trace/ftrace.exp: Likewise.
1155 * gdb.trace/range-stepping.exp: Likewise.
1156 * gdb.trace/trace-break.exp: Likewise.
1157 * gdb.trace/trace-condition.exp: Likewise.
1158 * gdb.trace/trace-mt.exp: Likewise.
1160 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1162 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1163 (gdb_load_shlib): ... this.
1164 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1166 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1167 * gdb.base/ctxobj.exp: Likewise.
1168 * gdb.base/dprintf-pending.exp: Likewise.
1169 * gdb.base/dso2dso.exp: Likewise.
1170 * gdb.base/fixsection.exp: Likewise.
1171 * gdb.base/gcore-relro.exp: Likewise.
1172 * gdb.base/gdb1555.exp: Likewise.
1173 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1174 * gdb.base/gnu-ifunc.exp: Likewise.
1175 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1176 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1177 * gdb.base/pending.exp: Likewise.
1178 * gdb.base/print-file-var.exp: Likewise.
1179 * gdb.base/print-symbol-loading.exp: Likewise.
1180 * gdb.base/shlib-call.exp: Likewise.
1181 * gdb.base/shreloc.exp: Likewise.
1182 * gdb.base/so-impl-ld.exp: Likewise.
1183 * gdb.base/solib-disc.exp: Likewise.
1184 * gdb.base/solib-nodir.exp: Likewise.
1185 * gdb.base/solib-overlap.exp: Likewise.
1186 * gdb.base/solib-symbol.exp: Likewise.
1187 * gdb.base/solib-weak.exp (do_test): Likewise.
1188 * gdb.base/sym-file.exp: Likewise.
1189 * gdb.base/symtab-search-order.exp: Likewise.
1190 * gdb.base/type-opaque.exp: Likewise.
1191 * gdb.base/unload.exp: Likewise.
1192 * gdb.base/watchpoint-solib.exp: Likewise.
1193 * gdb.compile/compile.exp: Likewise.
1194 * gdb.cp/gdb2384.exp: Likewise.
1195 * gdb.cp/infcall-dlopen.exp: Likewise.
1196 * gdb.cp/re-set-overloaded.exp: Likewise.
1197 * gdb.fortran/library-module.exp: Likewise.
1198 * gdb.opt/solib-intra-step.exp: Likewise.
1199 * gdb.python/py-finish-breakpoint.exp: Likewise.
1200 * gdb.python/py-shared.exp: Likewise.
1201 * gdb.reverse/solib-precsave.exp: Likewise.
1202 * gdb.reverse/solib-reverse.exp: Likewise.
1203 * gdb.server/solib-list.exp: Likewise.
1204 * gdb.threads/dlopen-libpthread.exp: Likewise.
1205 * gdb.threads/tls-shared.exp: Likewise.
1206 * gdb.threads/tls-so_extern.exp: Likewise.
1207 * gdb.trace/change-loc.exp: Likewise.
1208 * gdb.trace/ftrace-lock.exp: Likewise.
1209 * gdb.trace/ftrace.exp: Likewise.
1210 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1211 * gdb.trace/pending.exp: Likewise.
1212 * gdb.trace/range-stepping.exp: Likewise.
1213 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1214 (strace_info_marker): Likewise.
1215 (strace_probe_marker): Likewise.
1216 (strace_trace_on_same_addr): Likewise.
1217 (strace_trace_on_diff_addr): Likewise.
1218 * gdb.trace/trace-break.exp: Likewise.
1219 * gdb.trace/trace-condition.exp: Likewise.
1220 * gdb.trace/trace-mt.exp: Likewise.
1222 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1224 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1225 result of gdb_remote_download.
1226 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1227 * gdb.base/dso2dso.exp: Likewise.
1228 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1229 * gdb.base/print-file-var.exp: Likewise.
1230 * gdb.base/shlib-call.exp: Likewise.
1231 * gdb.base/shreloc.exp: Likewise.
1232 * gdb.base/solib-overlap.exp: Likewise.
1233 * gdb.base/solib-weak.exp (do_test): Likewise.
1234 * gdb.base/unload.exp: Likewise.
1236 2016-04-27 Yao Qi <yao.qi@linaro.org>
1238 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1241 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1243 * vla-type.exp: Print structure from toplevel.
1245 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1247 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1249 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1252 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1254 * gdb.fortran/vla-type.f90: New file.
1255 * gdb.fortran/vla-type.exp: New file.
1257 2016-04-25 Yao Qi <yao.qi@linaro.org>
1259 * gdb.base/branch-to-self.c: New file.
1260 * gdb.base/branch-to-self.exp: New file.
1262 2016-04-22 Yao Qi <yao.qi@linaro.org>
1264 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1267 2016-04-22 Yao Qi <yao.qi@linaro.org>
1269 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1270 * gdb.base/annota3.exp: Likewise.
1272 2016-04-22 Yao Qi <yao.qi@linaro.org>
1274 * gdb.reverse/step-precsave.exp: Do one step and test program
1275 stops in "callee" and do multiple steps until program goes out
1277 * gdb.reverse/step-reverse.exp: Likewise.
1279 2016-04-22 Yao Qi <yao.qi@linaro.org>
1281 * gdb.trace/signal.exp: Also pass if
1282 $tracepoint_hits($i) > $iterations.
1284 2016-04-22 Yao Qi <yao.qi@linaro.org>
1286 * gdb.trace/signal.c: New file.
1287 * gdb.trace/signal.exp: New file.
1289 2016-04-19 Doug Evans <xdje42@gmail.com>
1291 * gdb.base/bad-file.exp: New file.
1293 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1295 * gdb.dwarf2/implref.exp: New file.
1297 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1299 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1300 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1301 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1302 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1303 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1304 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1305 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1306 * lib/fortran.exp (fortran_int4): New procedure.
1307 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1308 (fortran_logical4): Likewise.
1310 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1312 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1314 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1316 * lib/compiler.c: Add Intel specific preprocessor macros.
1317 * lib/compiler.cc: Likewise.
1319 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1321 * gdb.server/connect-with-no-symbol-file.c: New file.
1322 * gdb.server/connect-with-no-symbol-file.exp: New file.
1324 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1326 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1328 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1330 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1331 standard output directory.
1333 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1335 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1337 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1339 * gdb.btrace/instruction_history.c (loop): Add declaration.
1341 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1343 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1345 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1347 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1348 parentheses to print.
1349 (continue_handler): Likewise.
1351 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1353 * gdb.server/solib-list.exp: Remove is_remote check.
1354 Pass shlib= to gdb_compile. Don't link shared library with
1355 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1356 Run binary filename through "readlink -f" on the target.
1358 2016-04-08 Pedro Alves <palves@redhat.com>
1360 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1361 interpreter filename as argument to gdbserver_spawn.
1362 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1363 Return empty if $last_loaded_file does not exist.
1365 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1367 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1368 * gdb.base/jit-main.c: Use exit after usage.
1370 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1372 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1373 GDBHISTSIZE prior to the tests.
1374 * gdb.base/gdbinit-history.exp: Likewise.
1376 2016-04-07 Pedro Alves <palves@redhat.com>
1378 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1379 instead of build_executable. Use gdb_load_shlibs.
1381 2016-04-07 Yao Qi <yao.qi@linaro.org>
1383 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1384 Execute "si" command.
1386 2016-04-07 Yao Qi <yao.qi@linaro.org>
1388 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1389 number instead of the comments on some line.
1391 2016-04-06 Don Breazeal <donb@codesourcery.com>
1393 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1394 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1396 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1398 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1399 standard_output_file. Remove unused binfile variable.
1401 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1403 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1404 * gdb.python/py-mi-objfile.exp: Match "list main" output
1407 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1409 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1412 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1414 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1416 * gdb.trace/ftrace.exp: Likewise.
1417 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1419 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1420 (gdb_load_shlibs): Copy libraries to test directory when testing
1421 natively. Only set solib-search-path if testing remotely.
1422 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1424 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1426 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1427 gdb_download. Use it even if the target is not remote.
1428 * gdb.base/jit.exp (compile_jit_test): Likewise.
1429 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1430 output directory if the destination board is local, otherwise use
1431 the standard remote_download from DejaGnu.
1432 (gdb_download): Remove.
1433 (gdb_load_shlibs): Use gdb_remote_download instead of
1435 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1436 Use gdb_remote_download instead of gdb_download. Use it even if
1437 the target is not remote.
1438 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1439 instead of gdb_download.
1441 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1443 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1444 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1447 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1450 * gdb.base/printcmds.exp: Add artificial arrays tests.
1452 2016-03-31 Pedro Alves <palves@redhat.com>
1455 * gdb.base/jit-main.c: Include unistd.h.
1456 (ATTACH): Define to 0 if not already defined.
1457 (wait_for_gdb, mypid): New globals.
1458 (WAIT_FOR_GDB): New macro.
1459 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1460 some breakpoint locations.
1461 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1463 (one_jit_test): Add REATTACH parameter, and handle it. Use
1464 continue_to_test_location.
1465 (top level): Test attach, and adjusts calls to one_jit_test.
1467 2016-03-31 Pedro Alves <palves@redhat.com>
1470 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1471 BINSUFFIX parameter, and handle it.
1472 (top level): Adjust calls compile_jit_test.
1474 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1477 * gdb.python/py-mi-events-gdb.py: New file.
1478 * gdb.python/py-mi-events.c: New file.
1479 * gdb.python/py-mi-events.exp: New file.
1481 2016-03-30 Yao Qi <yao.qi@linaro.org>
1483 * gdb.reverse/until-precsave.exp: Match function name only.
1484 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1485 Move malloc to a condition block.
1486 * gdb.reverse/until-reverse.exp: Match function name only.
1488 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1490 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1491 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1492 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1493 variable for GPR 0 instead of assuming it is register 0.
1494 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1495 * lib/trace-support.exp: Add s390 registers.
1497 2016-03-29 Yao Qi <yao.qi@linaro.org>
1499 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1501 2016-03-24 Yao Qi <yao.qi@linaro.org>
1503 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1506 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1508 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1509 maintaining separate logic for constructing the output path.
1511 2016-03-16 Don Breazeal <donb@codesourcery.com>
1513 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1514 Retry fork and waitpid on interrupted system call errors.
1515 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1516 Use with_timeout_factor to increase timeout by factor of 10.
1518 2016-03-15 Don Breazeal <donb@codesourcery.com>
1520 * gdb.cp/scope-err.cc: New test program.
1521 * gdb.cp/scope-err.exp: New test script.
1522 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1523 lines and "set breakpoint here" comment.
1524 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1525 Fixed some whitespace and format issues.
1526 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1527 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1529 2016-03-15 Doug Evans <dje@google.com>
1531 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1532 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1533 All callers updated. Add tests for enums, mixed flags register.
1535 2016-03-15 Doug Evans <dje@google.com>
1537 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1538 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1540 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1542 * gdb.base/default.exp: Add $_as_string to the list of expected
1543 convenience functions.
1545 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1547 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1549 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1551 * gdb.python/py-as-string.exp: New file.
1552 * gdb.python/py-as-string.c: New file.
1554 2016-03-09 Pedro Alves <palves@redhat.com>
1556 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1557 signal" -> "Thread NN received signal" output change.
1558 * gdb.threads/ia64-sigill.exp: Likewise.
1559 * gdb.threads/linux-dp.exp: Likewise.
1560 * gdb.threads/manythreads.exp: Likewise.
1561 * gdb.threads/pending-step.exp: Likewise.
1562 * gdb.threads/print-threads.exp: Likewise.
1563 * gdb.threads/sigstep-threads.exp: Likewise.
1564 * gdb.threads/staticthreads.exp: Likewise.
1565 * gdb.threads/tls.exp: Likewise.
1567 2016-03-09 Pedro Alves <palves@redhat.com>
1569 * gdb.base/command-line-input.exp: New file.
1571 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1573 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1574 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1575 * gdb.trace/pending.exp: Accept leading dot before function name.
1576 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1577 * lib/trace-support.exp: Set registers for ppc.
1579 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1581 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1582 use it for disassembly; accept .main in addition to main in backtrace.
1584 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1585 Marcin Kościelnicki <koriakin@0x04.net>
1587 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1588 (gdb_recursion_test_ptr): New global variable.
1589 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1591 (gdb_c_test): Ditto.
1593 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1595 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1598 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1600 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1601 (bar): Add bar_start_lbl label.
1602 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1603 of foo/bar for emitting DWARF and tracing.
1605 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1607 * analyze-racy-logs.py: Set executable bit.
1609 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1611 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1612 (CHECK_TARGET_TMP): Likewise.
1613 (check-single-racy): New rule.
1614 (check-parallel-racy): Likewise.
1615 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1616 (do-check-parallel-racy): New rule.
1617 (check-racy/%.exp): Likewise.
1618 * README (Racy testcases): New section.
1619 * analyze-racy-logs.py: New file.
1621 2016-03-03 Doug Evans <dje@google.com>
1623 * gdb.base/skip.exp: Use with_test_prefix.
1625 2016-03-03 Yao Qi <yao.qi@linaro.org>
1627 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1628 Invoke step_over_syscall "clone" and break_cond_on_syscall
1630 * gdb.base/step-over-clone.c: New file.
1632 2016-03-03 Yao Qi <yao.qi@linaro.org>
1634 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1637 2016-03-03 Yao Qi <yao.qi@linaro.org>
1639 * gdb.base/disp-step-fork.c: Rename to ...
1640 * gdb.base/step-over-fork.c: ... it. New file.
1641 * gdb.base/disp-step-vfork.c: Rename to ...
1642 * gdb.base/step-over-vfork.c: ... it. New file.
1643 * gdb.base/disp-step-syscall.exp: Rename to ...
1644 * gdb.base/step-over-syscall.exp: ... it. New file.
1645 (disp_step_cross_syscall): Rename to ...
1646 (step_over_syscall): ... it.
1648 2016-03-03 Yao Qi <yao.qi@linaro.org>
1650 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1651 If target supports condition evaluation on target, invoke
1652 break_cond_on_syscall for fork and vfork.
1654 2016-03-03 Yao Qi <yao.qi@linaro.org>
1656 * gdb.base/disp-step-syscall.exp: Don't invoke
1657 support_displaced_stepping.
1658 (disp_step_cross_syscall): Test with displaced stepping off and
1661 2016-03-03 Yao Qi <yao.qi@linaro.org>
1663 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1666 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1669 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1671 * gdb.fortran/vla-history.exp: Remove breakpoint.
1673 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1675 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1678 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1680 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1683 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1685 * gdb.mi/vla.f90: Nullify pointer after declaration.
1687 2016-03-01 Pedro Alves <palves@redhat.com>
1689 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1691 2016-03-01 Pedro Alves <palves@redhat.com>
1693 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1694 before anything else.
1695 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1697 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1698 before anything else.
1699 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1701 2016-03-01 Pedro Alves <palves@redhat.com>
1703 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1705 2016-03-01 Yao Qi <yao.qi@linaro.org>
1707 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1708 prepare_for_testing.
1710 2016-03-01 Yao Qi <yao.qi@linaro.org>
1712 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1714 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1716 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1717 manually constructing the output path.
1719 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721 * gdb.arch/s390-stackless.S: New.
1722 * gdb.arch/s390-stackless.exp: New.
1724 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1726 * gdb.dlang/circular.c: New file.
1727 * gdb.dlang/circular.exp: New file.
1729 2016-02-26 Yao Qi <yao.qi@linaro.org>
1731 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1732 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1733 (testcases): Update.
1735 2016-02-26 Yao Qi <yao.qi@linaro.org>
1737 * gdb.reverse/aarch64.c: Rename to ...
1738 * gdb.reverse/insn-reverse.c: ... it.
1739 * gdb.reverse/aarch64.exp: Rename to ...
1740 * gdb.reverse/insn-reverse.exp: ... it.
1742 2016-02-26 Yao Qi <yao.qi@linaro.org>
1744 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1745 (testcase_ftype): New.
1746 (testcases): New array.
1748 (main): Call each element in testcases.
1749 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1750 (read_testcase): New.
1751 Do the tests in a loop.
1753 2016-02-25 Yao Qi <yao.qi@linaro.org>
1755 * gdb.base/branches.c: Remove.
1757 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1760 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1762 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1764 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1766 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1768 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1769 change x86_64 call_insn to 'callq'.
1771 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1773 * gdb.trace/tfile-avx.c: Move to...
1774 * gdb.trace/tracefile-pseudo-reg.c: Here.
1775 * gdb.trace/tfile-avx.exp: Move to...
1776 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1778 2016-02-24 Gary Benson <gbenson@redhat.com>
1780 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1783 2016-02-23 Doug Evans <dje@google.com>
1785 * gdb.base/skip.c (test_skip): New function.
1786 (end_test_skip_file_and_function): New function.
1787 (test_skip_file_and_function): New function.
1788 * gdb.base/skip1.c (test_skip): New function.
1789 (skip1_test_skip_file_and_function): New function.
1790 * gdb.base/skip.exp: Add tests for new skip options.
1791 * gdb.base/skip-solib.exp: Update expected output.
1792 * gdb.perf/skip-command.cc: New file.
1793 * gdb.perf/skip-command.exp: New file.
1794 * gdb.perf/skip-command.py: New file.
1796 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1798 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1799 info registers pattern.
1801 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1803 * lib/future.exp: Add D support.
1804 (gdb_find_gdc): New proc.
1805 (gdb_default_target_compile): Add D support.
1807 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1809 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1811 (trace_speed_test): Determine the iteration count for a time
1812 between 15..30 seconds.
1814 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1816 * gdb.arch/i386-mpx-sigsegv.c: New file.
1817 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1818 * gdb.arch/i386-mpx-simple_segv.c: New file.
1819 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1821 2016-02-18 Yao Qi <yao.qi@linaro.org>
1823 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1824 Don't call setup_kfail.
1826 2016-02-18 Yao Qi <yao.qi@linaro.org>
1828 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1829 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1831 2016-02-16 Doug Evans <dje@google.com>
1833 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1834 * gdb.base/skip1.c: Ditto.
1835 * gdb.base/skip.exp: Whitespace cleanup.
1837 2016-02-16 Don Breazeal <donb@codesourcery.com>
1840 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1841 Remove kfail for PR remote/19496.
1843 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1845 * lib/gdb.exp (standard_temp_file): Return a path specific to
1846 the runtest invocation.
1848 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1850 * gdb.trace/save-trace.exp: Change relative path to be in the
1851 standard output directory.
1853 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1855 * gdb.arch/i386-prologue.c: Add missing prototypes.
1857 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1859 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1860 * gdb.arch/i386-prologue.exp: Likewise.
1861 * gdb.arch/i386-size.exp: Likewise.
1863 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1865 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1866 define object file path.
1867 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1869 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1870 standard_output_file to define binfile.
1872 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1874 Fix compatibility with recent gfortran-5.3.1.
1875 * gdb.fortran/vla-history.exp (print vla1 allocated)
1876 (print vla2 allocated, print $2, print $3): Remove
1877 (print $4): Rename to ...
1878 (print $2): ... here.
1879 (print $9): Rename to ...
1880 (print $5): ... here.
1881 (print $10): Rename to ...
1882 (print $6): ... here.
1883 * gdb.fortran/vla.f90: Add pvla initialization.
1885 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1887 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1889 * gdb.fortran/vla-value-sub.exp: Likewise.
1891 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1893 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1895 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1897 * i386-biarch-core.exp: Define corefile using
1898 standard_output_file.
1900 2016-02-12 Yao Qi <yao.qi@linaro.org>
1902 * gdb.arch/arm-single-step-kernel-helper.c: New.
1903 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1905 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1907 * gdb.btrace/tailcall-only.exp: New.
1908 * gdb.btrace/tailcall-only.c: New.
1909 * gdb.btrace/x86_64-tailcall-only.S: New.
1910 * gdb.btrace/i686-tailcall-only.S: New.
1912 2016-02-11 Pedro Alves <palves@redhat.com>
1914 * README (Parallel testing): Add missing double quotes.
1916 2016-02-11 Pedro Alves <palves@redhat.com>
1918 * README (Parallel testing): New section.
1919 (GDB_PARALLEL): Rewrite.
1920 (FORCE_PARALLEL): Document.
1922 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1924 * gdb.trace/tfile-avx.c: New test.
1925 * gdb.trace/tfile-avx.exp: New test.
1927 2016-02-09 Keith Seitz <keiths@redhat.com>
1929 PR breakpoints/19546
1930 * gdb.base/infcall-exec.c: New file.
1931 * gdb.base/infcall-exec2.c: New file.
1932 * gdb.base/infcall-exec.exp: New file.
1934 2016-02-09 Keith Seitz <keiths@redhat.com>
1936 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1937 (toplevel): Call test_bkpt_address.
1939 2016-02-09 Keith Seitz <keiths@redhat.com>
1942 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1943 (toplevel): Call test_bkpt_address.
1945 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1947 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1949 * configure: Regenerate.
1951 2016-02-09 Pedro Alves <palves@redhat.com>
1953 PR breakpoints/19548
1954 * gdb.base/execl-update-breakpoints.c (some_function): New
1957 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1958 Tighten expected GDB output.
1960 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1962 * Makefile.in (ALL_SUBDIRS): Remove.
1963 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1964 (distclean maintainer-clean realclean): Likewise.
1965 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1966 * configure: Regenerate.
1967 * gdb.ada/Makefile.in: Delete.
1968 * gdb.arch/Makefile.in: Likewise.
1969 * gdb.asm/Makefile.in: Likewise.
1970 * gdb.base/Makefile.in: Likewise.
1971 * gdb.btrace/Makefile.in: Likewise.
1972 * gdb.cell/Makefile.in: Likewise.
1973 * gdb.compile/Makefile.in: Likewise.
1974 * gdb.cp/Makefile.in: Likewise.
1975 * gdb.disasm/Makefile.in: Likewise.
1976 * gdb.dlang/Makefile.in: Likewise.
1977 * gdb.dwarf2/Makefile.in: Likewise.
1978 * gdb.fortran/Makefile.in: Likewise.
1979 * gdb.gdb/Makefile.in: Likewise.
1980 * gdb.go/Makefile.in: Likewise.
1981 * gdb.guile/Makefile.in: Likewise.
1982 * gdb.java/Makefile.in: Likewise.
1983 * gdb.linespec/Makefile.in: Likewise.
1984 * gdb.mi/Makefile.in: Likewise.
1985 * gdb.modula2/Makefile.in: Likewise.
1986 * gdb.multi/Makefile.in: Likewise.
1987 * gdb.objc/Makefile.in: Likewise.
1988 * gdb.opencl/Makefile.in: Likewise.
1989 * gdb.opt/Makefile.in: Likewise.
1990 * gdb.pascal/Makefile.in: Likewise.
1991 * gdb.perf/Makefile.in: Likewise.
1992 * gdb.python/Makefile.in: Likewise.
1993 * gdb.reverse/Makefile.in: Likewise.
1994 * gdb.server/Makefile.in: Likewise.
1995 * gdb.stabs/Makefile.in: Likewise.
1996 * gdb.threads/Makefile.in: Likewise.
1997 * gdb.trace/Makefile.in: Likewise.
1998 * gdb.xml/Makefile.in: Likewise.
1999 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2001 (standard_output_file): Remove check for GDB_PARALLEL, always
2002 return path in outputs/$subdir/$testname.
2004 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2006 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2007 (site.exp): Assign abs_srcdir to tcl's srcdir.
2009 2016-02-04 Yao Qi <yao.qi@linaro.org>
2011 * gdb.base/foll-exec-mode.c: Include limits.h.
2012 (main): Add parameters argc and argv. Get directory from
2014 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2016 * gdb.base/foll-exec.c: Include limits.h.
2017 (main): Add parameters argc and argv.
2018 Get directory from argv[0].
2019 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2020 Adjust tests on the number of lines as source code changed.
2021 * gdb.base/foll-vfork-exit.c: Include limits.h.
2022 (main): Add one line of statement before vfork.
2023 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2024 (main): Add parameters argc and argv. Get directory from
2026 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2027 (setup_gdb): Set tbreak to skip some source lines.
2028 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2029 (main): Add parameters argc and argv. Get directory from
2031 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2033 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2034 (main): Add parameters argc and argv. Get directory from
2036 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2039 2016-02-01 Doug Evans <dje@google.com>
2041 * gdb.base/skip.exp: Clean up multiple references to same test name.
2043 2016-02-01 Pedro Alves <palves@redhat.com>
2046 * gdb.threads/forking-threads-plus-breakpoint.exp
2047 (displaced_stepping_supported): New global.
2048 (probe_displaced_stepping_support): New procedure.
2049 (do_test): Add 'displaced' parameter, and use it.
2050 (top level): Check for displaced stepping support. Add displaced
2051 stepping on/off testing axis.
2053 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2055 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2056 pointer. Don't perform further tests on the unassociated pointer
2057 if the first test fails.
2059 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2061 * gdb.base/max-value-size.c: New file.
2062 * gdb.base/max-value-size.exp: New file.
2063 * gdb.base/huge.exp: Disable max-value-size for this test.
2065 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2067 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2069 2016-01-28 Yao Qi <yao.qi@linaro.org>
2071 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2073 2016-01-25 Pedro Alves <palves@redhat.com>
2076 * gdb.base/fork-running-state.c: New file.
2077 * gdb.base/fork-running-state.exp: New file.
2079 2016-01-25 Pedro Alves <palves@redhat.com>
2082 * gdb.base/catch-fork-kill.c: New file.
2083 * gdb.base/catch-fork-kill.exp: New file.
2085 2016-01-25 Pedro Alves <palves@redhat.com>
2087 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2088 Delete, moved to lib/gdb.exp.
2089 * gdb.threads/forking-threads-plus-breakpoint.exp
2090 (foreach_with_prefix): Likewise.
2091 * gdb.threads/process-dies-while-handling-bp.exp
2092 (foreach_with_prefix): Likewise.
2093 * lib/gdb.exp (foreach_with_prefix): New procedure.
2095 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2097 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2098 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2100 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2102 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2105 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2106 Pedro Alves <palves@redhat.com>
2108 Fix testsuite compatibility with Guile.
2109 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2112 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2114 Fix testsuite compatibility with Guile.
2115 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2116 (thread 1): New test for backtrace through signal handler.
2118 2016-01-22 Yao Qi <yao.qi@linaro.org>
2121 * gdb.base/multi-forks.c: Include
2122 ../lib/unbuffer_output.c
2123 (main): Call gdb_unbuffer_output.
2125 2016-01-21 Doug Evans <dje@google.com>
2127 * lib/ada.exp (gdb_compile_ada): Fix typo.
2129 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2131 * gdb.base/break-fun-addr.exp: New file.
2132 * gdb.base/break-fun-addr1.c: New file.
2133 * gdb.base/break-fun-addr2.c: New file.
2135 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2137 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2138 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2141 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2143 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2144 when GDB can not set the vector return value. Add more comments
2147 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2149 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2152 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2154 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2156 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2158 * Makefile.in (check-single): Pass --status to runtest.
2159 (check/%.exp): Likewise.
2161 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2163 * Makefile.in (check-parallel): Propagate return code from make
2166 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2168 * gdb.trace/ftrace.exp: Fix expected message on continue.
2169 * gdb.trace/pending.exp: Fix expected message on continue.
2170 * gdb.trace/trace-break.exp: Fix expected message on continue.
2172 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2174 * lib/gdb.exp (gdb_test): Remove unused global references.
2176 2016-01-18 Pedro Alves <palves@redhat.com>
2178 * gdb.base/async-shell.exp: Adjust expected output.
2179 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2180 * gdb.base/siginfo-thread.exp: Adjust expected output.
2181 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2182 * gdb.java/jnpe.exp: Adjust expected output.
2183 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2184 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2185 * gdb.threads/leader-exit.exp: Adjust expected output.
2186 * gdb.threads/manythreads.exp: Adjust expected output.
2187 * gdb.threads/pthreads.exp: Adjust expected output.
2188 * gdb.threads/schedlock.exp: Adjust expected output.
2189 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2190 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2192 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2194 * gdb.threads/sigthread.exp: Adjust expected output.
2195 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2197 2016-01-18 Yao Qi <yao.qi@linaro.org>
2199 * gdb.guile/scm-section-script.c: Replace @progbits with
2201 * gdb.python/py-section-script.c: Likewise.
2203 2016-01-15 Pedro Alves <palves@redhat.com>
2205 * gdb.multi/tids.exp: Test star wildcard ranges.
2207 2016-01-15 Pedro Alves <palves@redhat.com>
2209 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2210 command from "thread apply" invocation.
2211 (thr_apply_info_thr_invalid): Default the expected output to the
2213 (top level): Add tests that use convenience variables. Add tests
2214 for "thread apply" with a valid TID list, but missing the command.
2216 2016-01-13 Pedro Alves <palves@redhat.com>
2218 * gdb.base/default.exp: Expect $_gthread as well.
2219 * gdb.multi/tids.exp: Test $_gthread.
2220 * gdb.threads/thread-specific.exp: Test $_gthread.
2222 2016-01-13 Pedro Alves <palves@redhat.com>
2224 * gdb.multi/tids.exp: Test "info threads -gid".
2226 2016-01-13 Pedro Alves <palves@redhat.com>
2228 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2230 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2232 2016-01-07 Pedro Alves <palves@redhat.com>
2234 * gdb.base/break.exp: Adjust to output changes.
2235 * gdb.base/hbreak2.exp: Likewise.
2236 * gdb.base/sepdebug.exp: Likewise.
2237 * gdb.base/watch_thread_num.exp: Likewise.
2238 * gdb.linespec/keywords.exp: Likewise.
2239 * gdb.multi/info-threads.exp: Likewise.
2240 * gdb.threads/thread-find.exp: Likewise.
2241 * gdb.multi/tids.c: New file.
2242 * gdb.multi/tids.exp: New file.
2244 2016-01-13 Pedro Alves <palves@redhat.com>
2246 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2248 2016-01-13 Pedro Alves <palves@redhat.com>
2250 * gdb.base/default.exp: Expect $_inferior as well.
2251 * gdb.multi/base.exp: Test $_inferior.
2253 2016-01-13 Pedro Alves <palves@redhat.com>
2255 PR breakpoints/19388
2256 * gdb.base/catch-signal-siginfo-cond.c: New file.
2257 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2259 2016-01-12 Josh Stone <jistone@redhat.com>
2260 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2262 * gdb.base/catch-syscall.c (do_execve): New variable.
2263 (main): Conditionally trigger an execve.
2264 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2265 (test_catch_syscall_execve): New, check entry/return across execve.
2266 (do_syscall_tests): Call test_catch_syscall_execve.
2268 2016-01-12 Pedro Alves <palves@redhat.com>
2270 * gdb.base/random-signal.exp (do_test): New procedure, with body
2271 of testcase moved in.
2273 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 Pedro Alves <palves@redhat.com>
2276 * gdb.base/funcargs.exp (finish from indirectly called function):
2277 Reintroduce the case for 'First'.
2279 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Pedro Alves <palves@redhat.com>
2282 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2283 (tcatch_vfork_then_child_follow_exec)
2284 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2287 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2289 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2290 and repeats to unlimited.
2291 * gdb.python/py-value.exp: Likewise.
2292 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2293 and repeats to unlimited.
2295 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2297 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2298 and reordering the functions.
2299 * gdb.multi/hangout.c: Likewise.
2300 * gdb.multi/hello.c: Likewise.
2302 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2304 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2306 (SingleStatisticTestResult.report): Use dict.keys instead of
2309 2016-01-06 Pedro Alves <palves@redhat.com>
2311 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2313 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2315 * gdb.btrace/dlopen.exp: New.
2316 * gdb.btrace/dlopen.c: New.
2317 * gdb.btrace/dlopen-dso.c: New.
2319 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2321 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2322 PATTERN argument is optional.
2324 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2326 * lib/ada.exp (target_compile_ada_from_dir): New function.
2327 (gdb_compile_ada): Reimplement avoiding the use of project files.
2328 * gdb.ada/gnat_ada.gpr: Delete.
2329 * gdb.ada/cond_lang.exp: Adjust test to make path before
2331 * gdb.ada/small_reg_param.exp: Likewise.
2333 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2335 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2337 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2339 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2342 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2344 * gdb.base/break.exp: Remove dead code.
2345 * gdb.base/sepdebug.exp: Likewise.
2347 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2349 * gdb.asm/asm-source.exp: Remove HP-UX references.
2350 * gdb.base/annota1.exp: Likewise.
2351 * gdb.base/annota3.exp: Likewise.
2352 * gdb.base/attach.exp: Likewise.
2353 * gdb.base/bigcore.exp: Likewise.
2354 * gdb.base/break.exp: Likewise.
2355 * gdb.base/call-ar-st.exp: Likewise.
2356 * gdb.base/callfuncs.exp: Likewise.
2357 * gdb.base/catch-fork-static.exp: Likewise.
2358 * gdb.base/display.exp: Likewise.
2359 * gdb.base/foll-exec-mode.exp: Likewise.
2360 * gdb.base/foll-exec.exp: Likewise.
2361 * gdb.base/foll-fork.exp: Likewise.
2362 * gdb.base/foll-vfork.exp: Likewise.
2363 * gdb.base/funcargs.exp: Likewise.
2364 * gdb.base/hbreak2.exp: Likewise.
2365 * gdb.base/inferior-died.exp: Likewise.
2366 * gdb.base/interrupt.exp: Likewise.
2367 * gdb.base/multi-forks.exp: Likewise.
2368 * gdb.base/nodebug.exp: Likewise.
2369 * gdb.base/sepdebug.exp: Likewise.
2370 * gdb.base/solib1.c: Likewise.
2371 * gdb.base/step-test.exp: Likewise.
2372 * gdb.mi/non-stop.c: Likewise.
2373 * gdb.mi/pthreads.c: Likewise.
2374 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2375 * gdb.threads/pthreads.c: Likewise.
2376 * gdb.threads/staticthreads.exp: Likewise.
2377 * lib/future.exp: Likewise.
2378 * lib/gdb.exp: Likewise.
2379 * gdb.base/so-indr-cl.c: Remove.
2380 * gdb.base/so-indr-cl.exp: Likewise.
2381 * gdb.base/solib.c: Likewise.
2382 * gdb.base/solib.exp: Likewise.
2383 * gdb.base/solib2.c: Likewise.
2385 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2387 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2388 * gdb.base/call-ar-st.exp: Likewise.
2389 * gdb.base/callfuncs.exp: Likewise.
2390 * gdb.base/condbreak.exp: Likewise.
2391 * gdb.base/constvars.exp: Likewise.
2392 * gdb.base/hbreak2.exp: Likewise.
2393 * gdb.base/langs.exp: Likewise.
2394 * gdb.base/list.exp: Likewise.
2395 * gdb.base/long_long.exp: Likewise.
2396 * gdb.base/ptype.exp: Likewise.
2397 * gdb.base/scope.exp: Likewise.
2398 * gdb.base/signals.exp: Likewise.
2399 * gdb.base/so-impl-ld.exp: Likewise.
2400 * gdb.base/varargs.exp: Likewise.
2401 * gdb.base/volatile.exp: Likewise.
2402 * gdb.base/whatis.exp: Likewise.
2403 * gdb.cp/cplusfuncs.exp: Likewise.
2404 * gdb.cp/inherit.exp: Likewise.
2405 * gdb.cp/local.exp: Likewise.
2406 * gdb.cp/member-ptr.exp: Likewise.
2407 * gdb.cp/method.exp: Likewise.
2408 * gdb.cp/overload.exp: Likewise.
2409 * gdb.cp/templates.exp: Likewise.
2410 * gdb.stabs/weird.exp: Likewise.
2411 * lib/compiler.c: Likewise.
2412 * lib/compiler.cc: Likewise.
2413 * lib/cp-support.exp: Likewise.
2414 * lib/gdb.exp: Likewise.
2416 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2418 * configure.ac: Remove HP-UX case.
2419 * configure: Regenerate.
2421 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2423 * lib/gdb.exp (gdb_compile): Add function doc.
2425 2015-12-17 Pedro Alves <palves@redhat.com>
2428 * gdb.multi/info-threads.exp: New file.
2430 2015-12-15 Yao Qi <yao.qi@linaro.org>
2432 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2435 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2437 * gdb.base/history-duplicates.exp: Skip if no readline support.
2439 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2441 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2443 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2445 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2447 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2449 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2450 ctrl-C if nointerrupts target property is set.
2451 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2452 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2453 * gdb.base/paginate-bg-execution.exp: Likewise.
2454 * gdb.base/paginate-execution-startup.exp: Likewise.
2455 * gdb.base/random-signal.exp: Likewise.
2456 * gdb.base/range-stepping.exp: Likewise.
2457 * gdb.cp/annota2.exp: Likewise.
2458 * gdb.cp/annota3.exp: Likewise.
2459 * gdb.gdb/selftest.exp: Likewise.
2460 * gdb.threads/continue-pending-status.exp: Likewise.
2461 * gdb.threads/leader-exit.exp: Likewise.
2462 * gdb.threads/manythreads.exp: Likewise.
2463 * gdb.threads/pthreads.exp: Likewise.
2464 * gdb.threads/schedlock.exp: Likewise.
2465 * gdb.threads/sigthread.exp: Likewise.
2467 2015-12-11 Don Breazeal <donb@codesourcery.com>
2469 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2471 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2472 * gdb.base/foll-exec.exp (main): Enable for target remote.
2473 * gdb.base/foll-fork.exp (main): Likewise.
2474 * gdb.base/foll-vfork.exp (main): Likewise.
2475 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2476 (proc continue_to_exit_bp_loc): Use clean_restart.
2477 * gdb.base/pie-execl.exp (main): Disable for target remote.
2478 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2479 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2480 * gdb.threads/execl.exp (main): Likewise.
2481 * gdb.threads/fork-child-threads.exp (main): Likewise.
2482 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2484 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2486 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2487 pid.tid style ptids, instead of just tid.
2488 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2489 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2490 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2491 ptids, instead of just tid.
2493 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2495 * gdb.base/list.exp (test_list_forward): Add end of file error
2497 (test_repeat_list_command): Add end of file error test.
2498 (test_list_backwards): Add beginning of file error test.
2500 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2502 * gdb.base/list.exp (test_list_invalid_args): New function,
2503 defined, and called.
2505 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2507 * gdb.base/list.exp (test_list): Make test names unique.
2509 2015-12-11 Yao Qi <yao.qi@linaro.org>
2511 * gdb.base/coremaker2.c: Remove.
2513 2015-12-10 Pedro Alves <palves@redhat.com>
2515 * gdb.multi/base.exp: Remove stale "spaces" references.
2517 2015-12-10 Pedro Alves <palves@redhat.com>
2519 * gdb.multi/base.exp: Don't use nowarnings.
2520 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2521 * gdb.multi/hangout.c: Include stdio.h.
2522 * gdb.multi/hello.c: Include stdlib.h.
2523 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2524 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2525 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2527 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2529 * gdb.dwarf2/dw2-ranges-base.c: New file.
2530 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2531 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2532 support additional line table, and debug ranges generation.
2533 (Dwarf::ranges): New function, generate .debug_ranges.
2534 (Dwarf::lines): Support generating simple line table programs.
2535 (Dwarf::assemble): Initialise new namespace variables.
2537 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2539 * gdb.base/async.exp (proc test_background): Add case for
2540 asynchronous execution not supported.
2542 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2544 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2545 format and change test names to make them unique.
2547 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2548 Pedro Alves <pedro@redhat.com>
2551 Add checking of floatformats setup on x86_64 hosts.
2552 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2553 (smallval, bigval): New labels/constants.
2554 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2555 float" after loading bigval and smallval.
2557 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2559 * gdb.ada/fun_overload_menu.exp: New testcase.
2560 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2562 2015-12-04 Josh Stone <jistone@redhat.com>
2564 * gdb.base/catch-fork-static.exp: New.
2566 2015-12-03 Yao Qi <yao.qi@linaro.org>
2568 * gdb.base/sizeof.c: Don't include stdio.h and
2569 ../lib/unbuffer_output.c.
2570 (main): New variable 'size' and 'value'. Remove printf and
2571 gdb_unbuffer_output. Assign return value to size and value.
2572 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2574 (check_sizeof): Check the result by printing variable 'size'.
2575 (check_valueof): Check the result by printing variable 'value'.
2577 2015-12-01 Yao Qi <yao.qi@linaro.org>
2579 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2580 for aarch64*-*-linux* target.
2582 2015-11-30 Pedro Alves <palves@redhat.com>
2584 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2586 2015-11-30 Pedro Alves <palves@redhat.com>
2588 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2589 Handle non-stop mode vCont replies.
2591 2015-11-30 Pedro Alves <palves@redhat.com>
2593 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2594 prepare_for_testing. Start gdb with "set non-stop on" appended to
2595 GDBFLAGS. Lax expected stop output.
2597 2015-11-27 Yao Qi <yao.qi@linaro.org>
2599 * gdb.arch/arm-neon.exp: New.
2600 * gdb.arch/arm-neon.c: New.
2602 2015-11-27 Yao Qi <yao.qi@linaro.org>
2604 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2606 2015-11-27 Yao Qi <yao.qi@linaro.org>
2608 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2609 frames-invalid annotation.
2611 2015-11-27 Yao Qi <yao.qi@linaro.org>
2613 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2615 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2617 * gdb.threads/names.exp: New file.
2618 * gdb.threads/names.c: New file.
2619 * README: Mention gdb,no_thread_names.
2621 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2624 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2627 2015-11-24 Pedro Alves <palves@redhat.com>
2630 * gdb.base/display.exp: Expect displays to be sorted in ascending
2631 order. Use multi_line.
2632 * gdb.base/solib-display.exp: Likewise.
2634 2015-11-24 Pedro Alves <palves@redhat.com>
2637 * gdb.base/display.exp: Expect displays to be sorted in ascending
2638 order. Use multi_line.
2639 * gdb.base/solib-display.exp: Likewise.
2641 2015-11-24 Pedro Alves <palves@redhat.com>
2644 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2645 threads in ascending order.
2646 * gdb.base/foll-fork.exp: Likewise.
2647 * gdb.base/foll-vfork.exp: Likewise.
2648 * gdb.base/multi-forks.exp: Likewise.
2649 * gdb.mi/mi-nonstop.exp: Likewise.
2650 * gdb.mi/mi-nsintrall.exp: Likewise.
2651 * gdb.multi/base.exp: Likewise.
2652 * gdb.multi/multi-arch.exp: Likewise.
2653 * gdb.python/py-inferior.exp: Likewise.
2654 * gdb.threads/break-while-running.exp: Likewise.
2655 * gdb.threads/execl.exp: Likewise.
2656 * gdb.threads/gcore-thread.exp: Likewise.
2657 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2658 * gdb.threads/kill.exp: Likewise.
2659 * gdb.threads/linux-dp.exp: Likewise.
2660 * gdb.threads/multiple-step-overs.exp: Likewise.
2661 * gdb.threads/next-bp-other-thread.exp: Likewise.
2662 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2663 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2664 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2665 * gdb.threads/thread-find.exp: Likewise.
2666 * gdb.threads/tls.exp: Likewise.
2667 * lib/mi-support.exp (mi_reverse_list): Delete.
2668 (mi_check_thread_states): No longer reverse list.
2670 2015-11-24 Pedro Alves <palves@redhat.com>
2672 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2675 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2677 * gdb.trace/actions.c: Include trace-common.h.
2678 (main): Add a location for a fast tracepoint.
2679 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2680 the normal tracepoints.
2681 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2683 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2685 * save-trace.exp: Factor out code to these...
2686 (gdb_save_tracepoints): New.
2687 (gdb_load_tracepoints): New.
2688 (do_save_load_test): New.
2690 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2692 * gdb.base/asmlabel.exp: New test.
2693 * gdb.base/asmlabel.c: New test case.
2695 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2697 * gdb.base/wrong_frame_bt_full-main.c: New file.
2698 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2699 * gdb.base/wrong_frame_bt_full.exp: New file.
2701 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2703 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2705 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2707 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2708 pstate register when comparing registers values in
2709 sparc64-*-linux-gnu targets to avoid spurious differences.
2711 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2713 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2715 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2717 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2718 as type argument to gdb_compile.
2719 * gdb.base/nested-subp2.exp: Likewise.
2720 * gdb.base/nested-subp3.exp: Likewise.
2722 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2724 * lib/dwarf.exp (_note): Fix left shift of negative value.
2725 * gdb.trace/trace-condition.exp: Likewise.
2727 2015-11-13 Yao Qi <yao.qi@linaro.org>
2729 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2730 comments about d10v.
2731 (test_scalar_returns): Likewise.
2732 * gdb.base/d10v.ld: Remove.
2733 * gdb.base/overlays.exp: Remove the target triplet checking for
2735 * gdb.base/structs.exp (test_struct_returns): Remove the
2736 comments about d10v.
2737 (test_struct_calls): Likewise.
2739 2015-11-13 Yao Qi <yao.qi@linaro.org>
2741 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2742 * gdb.base/gnu_vector.c: Don't include stdio.h.
2743 (main): Don't print res and call add_some_intvecs.
2745 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2747 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2750 (func4): Use FAST_TRACEPOINT_LABEL.
2751 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2754 (thread_function): Use FAST_TRACEPOINT_LABEL.
2755 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2757 (marker): Use FAST_TRACEPOINT_LABEL.
2758 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2759 (pendfunc1): Remove.
2760 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2761 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2763 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2764 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2767 (marker): Use FAST_TRACEPOINT_LABEL.
2768 * gdb.trace/trace-common.h: New header.
2769 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2772 (marker): Use FAST_TRACEPOINT_LABEL.
2773 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2775 (thread_function): Use FAST_TRACEPOINT_LABEL.
2777 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2779 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2781 * gdb.trace/change-loc.exp: Use global pcreg definition.
2782 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2783 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2785 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2786 * gdb.trace/pending.exp: Likewise.
2787 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2788 * gdb.trace/trace-break.exp: Likewise.
2789 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2791 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2792 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2794 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2796 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2798 * gdb.ada/fin_fun_out: New testcase.
2800 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2802 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2803 value associated with DW_AT_byte_size.
2804 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2805 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2808 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2810 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2811 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2813 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2814 gdb.dwarf2/dw2-canonicalize-type.exp,
2815 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2816 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2817 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2818 provided by gdb_target_symbol_prefix_flags_asm.
2819 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2820 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2821 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2822 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2823 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2824 macros where needed). Use this macro for symbols which require
2825 the prefix provided by SYMBOL_PREFIX.
2827 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2829 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2831 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2832 representing expressions, of more than one list element.
2833 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2834 to prepend linker symbol prefix to f.
2835 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2836 table_1 and table_2.
2837 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2838 Likewise, for f and g.
2839 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2841 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2843 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2844 table_1_ptr and table_2_ptr.
2846 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2847 Joel Brobecker <brobecker@adacore.com>
2849 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2851 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2853 * gdb.reverse/s390-mvcle.c: New test.
2854 * gdb.reverse/s390-mvcle.exp: New file.
2855 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2857 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2859 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2861 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2863 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2865 * gdb.reverse/getresuid-reverse.exp: Likewise.
2866 * gdb.reverse/pipe-reverse.exp: Likewise.
2867 * gdb.reverse/readv-reverse.exp: Likewise.
2868 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2869 * gdb.reverse/time-reverse.exp: Likewise.
2870 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2872 2015-10-30 Yao Qi <yao.qi@linaro.org>
2874 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2875 (empty_cycle): Remove.
2876 (main): Don't call empty_cycle. Don't use watch_count_done.
2877 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2878 empty_cycle. Rewrite the code counting HW watchpoints.
2880 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2882 * gdb.reverse/fstatat-reverse.c: New test.
2883 * gdb.reverse/fstatat-reverse.exp: New file.
2884 * gdb.reverse/getresuid-reverse.c: New test.
2885 * gdb.reverse/getresuid-reverse.exp: New file.
2886 * gdb.reverse/pipe-reverse.c: New test.
2887 * gdb.reverse/pipe-reverse.exp: New file.
2888 * gdb.reverse/readv-reverse.c: New test.
2889 * gdb.reverse/readv-reverse.exp: New file.
2890 * gdb.reverse/recvmsg-reverse.c: New test.
2891 * gdb.reverse/recvmsg-reverse.exp: New file.
2892 * gdb.reverse/time-reverse.c: New test.
2893 * gdb.reverse/time-reverse.exp: New file.
2894 * gdb.reverse/waitpid-reverse.c: New test.
2895 * gdb.reverse/waitpid-reverse.exp: New file.
2897 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2899 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2901 2015-10-26 Doug Evans <dje@google.com>
2904 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2905 * gdb.dwarf2/bad-regnum.c: New file.
2906 * gdb.dwarf2/bad-regnum.exp: New file.
2908 2015-10-26 Doug Evans <dje@google.com>
2911 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2914 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2916 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2917 for a change by "Mention language in compile error message".
2919 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2922 * gdb.python/py-type.c (C::a_method): New.
2923 (C::a_const_method): New.
2924 (C::a_static_method): New.
2926 * gdb.python/py-type.exp (test_fields): Test getting fields
2927 from function and method.
2929 2015-10-21 Keven Boell <keven.boell@intel.com>
2931 * gdb.fortran/vla-alloc-assoc.exp: New file.
2932 * gdb.fortran/vla-datatypes.exp: New file.
2933 * gdb.fortran/vla-datatypes.f90: New file.
2934 * gdb.fortran/vla-history.exp: New file.
2935 * gdb.fortran/vla-ptype-sub.exp: New file.
2936 * gdb.fortran/vla-ptype.exp: New file.
2937 * gdb.fortran/vla-sizeof.exp: New file.
2938 * gdb.fortran/vla-sub.f90: New file.
2939 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2940 * gdb.fortran/vla-value-sub-finish.exp: New file.
2941 * gdb.fortran/vla-value-sub.exp: New file.
2942 * gdb.fortran/vla-value.exp: New file.
2943 * gdb.fortran/vla-ptr-info.exp: New file.
2944 * gdb.mi/mi-vla-fortran.exp: New file.
2945 * gdb.mi/vla.f90: New file.
2947 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2949 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2950 of hardwired timeout value.
2952 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 Pedro Alves <palves@redhat.com>
2955 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2956 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2958 2015-10-19 Josh Stone <jistone@redhat.com>
2960 * gdb.base/catch-syscall.c: Include <sched.h>.
2961 (unknown_syscall): New variable.
2962 (main): Trigger a vfork and an unknown syscall.
2963 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2964 (unknown_syscall_number): Likewise.
2965 (check_call_to_syscall): Accept an optional syscall pattern.
2966 (check_return_from_syscall): Likewise.
2967 (check_continue): Likewise.
2968 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2969 (test_catch_syscall_skipping_return): New test toggling off 'catch
2970 syscall' to step over the syscall return, then toggling back on.
2971 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2972 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2973 (do_syscall_tests): Call test_catch_syscall_without_args and
2974 test_catch_syscall_mid_vfork.
2975 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2976 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2978 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2980 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2981 print g_vE): Add new pass patterns.
2982 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2983 print various symbol names for vptr fields.
2985 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2987 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2990 2015-10-12 Yao Qi <yao.qi@linaro.org>
2992 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2994 2015-10-12 Yao Qi <yao.qi@linaro.org>
2996 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2997 is aarch64*-*-linux*.
2999 2015-10-12 Yao Qi <yao.qi@linaro.org>
3001 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3002 (can_relocate_bcond_true): ... it.
3003 (can_relocate_bcond_false): New function.
3005 (can_relocate_bl): Likewise.
3006 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3009 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3011 * gdb.base/nested-addr.c: New file.
3012 * gdb.base/nested-addr.exp: New testcase.
3014 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3016 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3017 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3018 its output. Ignore the output of "record goto begin" and instead
3019 check that GDB is replaying.
3021 2015-10-09 Pedro Alves <palves@redhat.com>
3023 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3024 (top level): Use it in the run with no args test.
3026 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3028 * gdb.dlang/properties.exp: New file.
3030 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3032 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3033 whether or not address 0x1000 is mapped on the target.
3035 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3037 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3040 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3042 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3043 instruction-history test.
3045 2015-09-28 Doug Evans <dje@google.com>
3047 * gdb.base/gcore.c (array_func): Add reference to static_array.
3049 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3051 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3054 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3056 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3057 short or char as base type.
3059 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3061 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3062 to allow any size enum.
3064 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3066 * gdb.ada/array_ptr_renaming.exp: New testcase.
3067 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3068 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3070 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3072 * gdb.trace/ftrace-lock.c: New file.
3073 * gdb.trace/ftrace-lock.exp: New file.
3075 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3077 * gdb.arch/insn-reloc.c: New file.
3078 * gdb.arch/ftrace-insn-reloc.exp: New file.
3080 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3082 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3084 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3085 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3086 * gdb.trace/range-stepping.c: Likewise.
3087 * gdb.trace/trace-break.c: Likewise.
3088 * gdb.trace/trace-mt.c (thread_function): Likewise.
3089 * gdb.trace/ftrace.c (marker): Likewise.
3090 * gdb.trace/trace-condition.c (marker): Likewise.
3091 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3092 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3095 2015-09-18 Doug Evans <xdje42@gmail.com>
3097 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3098 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3100 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3102 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3105 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3107 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3108 the pending breakpoint. Remove timeout override for "Run till
3109 MI pending breakpoint on pendfunc3 on thread 2" test.
3111 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3113 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3116 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3118 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3119 in breakpoint filename pattern.
3121 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3123 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3125 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3127 * gdb.linespec/explicit.exp: Check for readline support for
3128 tab-completion tests. Fix obvious typo.
3130 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3132 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3135 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3137 * gdb.btrace/non-stop.c: New.
3138 * gdb.btrace/non-stop.exp: New.
3140 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3141 Yao Qi <yao.qi@linaro.org>
3143 * gdb.trace/trace-condition.c: New file.
3144 * gdb.trace/trace-condition.exp: New file.
3146 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3148 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3149 for testing bytecode compilation.
3151 2015-09-16 Pedro Alves <palves@redhat.com>
3152 Sandra Loosemore <sandra@codesourcery.com>
3154 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3155 (SECONDS): Redefine.
3156 (main): Call pthread_kill and alarm early.
3157 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3159 (test): If the target can't hardware step and doesn't support
3160 displaced stepping, increase the timeout.
3162 2015-09-16 Pedro Alves <palves@redhat.com>
3164 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3165 (enable_debug): New procedures.
3166 (test): Use them. Bail out if waiting for threads fails.
3167 (top level): Bail out if a test fails.
3169 2015-09-16 Yao Qi <yao.qi@linaro.org>
3171 * gdb.asm/asm-source.exp: Set asm-arch for
3172 aarch64*-*-* target.
3173 * gdb.asm/aarch64.inc: New file.
3175 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3177 * gdb.ada/array_of_variable_length.exp: New testcase.
3178 * gdb.ada/array_of_variable_length/foo.adb: New file.
3179 * gdb.ada/array_of_variable_length/pck.adb: New file.
3180 * gdb.ada/array_of_variable_length/pck.ads: New file.
3182 2015-09-15 Doug Evans <dje@google.com>
3184 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3185 of function static local variable.
3187 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3189 * gdb.threads/tls-so_extern.exp: New test file.
3190 * gdb.threads/tls-so_extern.c: New test file.
3191 * gdb.threads/tls-so_extern_main.c: New test file.
3193 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3195 * gdb.opt/solib-intra-step-lib.c: New file.
3196 * gdb.opt/solib-intra-step-main.c: New file.
3197 * gdb.opt/solib-intra-step.exp: New file.
3199 2015-09-15 Pedro Alves <palves@redhat.com>
3201 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3202 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3204 2015-09-14 Pedro Alves <palves@redhat.com>
3206 * gdb.base/hook-stop-continue.c: Delete.
3207 * gdb.base/hook-stop-continue.exp: Delete.
3208 * gdb.base/hook-stop-frame.c: Delete.
3209 * gdb.base/hook-stop-frame.exp: Delete.
3210 * gdb.base/hook-stop.c: New file.
3211 * gdb.base/hook-stop.exp: New file.
3213 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3215 * gdb.ada/access_to_packed_array.exp: New testcase.
3216 * gdb.ada/access_to_packed_array/foo.adb: New file.
3217 * gdb.ada/access_to_packed_array/pack.adb: New file.
3218 * gdb.ada/access_to_packed_array/pack.ads: New file.
3220 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3222 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3225 2015-09-11 Don Breazeal <donb@codesourcery.com>
3227 * gdb.base/foll-exec.c: Add copyright header. Fix
3229 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3230 (do_exec_tests): Use clean_restart in place of zap_session,
3231 and for test initialization. Fix formatting issues. Use
3232 fail in place of perror.
3233 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3234 an expect statement to match an expression with output from
3235 the program under debug.
3236 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3237 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3238 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3239 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3240 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3242 2015-09-09 Doug Evans <dje@google.com>
3244 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3246 2015-09-09 Doug Evans <dje@google.com>
3248 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3250 2015-09-09 Doug Evans <dje@google.com>
3252 * gdb.base/savedregs.exp: Fix typo.
3254 2015-09-09 Pedro Alves <palves@redhat.com>
3256 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3258 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3260 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3261 command actually switches threads. Give up on remaining
3262 tests if target fails to stop at breakpoint.
3264 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3266 * gdb.ada/funcall_char.exp: New testcase.
3267 * gdb.ada/funcall_char/foo.adb: New file.
3269 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3271 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3272 expected outputs. Add two testcases for completing ambiguous
3274 * gdb.ada/complete/aux_pck.adb: New file.
3275 * gdb.ada/complete/aux_pck.ads: New file.
3276 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3277 Ambiguous_Func functions.
3278 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3279 * gdb.ada/complete/pck.adb: Likewise.
3281 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3283 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3284 failures to run the test program under GDB.
3286 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3288 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3291 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3293 * gdb.base/run-after-attach.exp: New test file.
3294 * gdb.base/run-after-attach.c: New test file.
3296 2015-08-26 Don Breazeal <donb@codesourcery.com>
3298 * gdb.base/foll-exec-2.c: New test program.
3299 * gdb.base/foll-exec-2.exp: New test.
3301 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3303 * gdb.base/nested-subp1.exp: New file.
3304 * gdb.base/nested-subp1.c: New file.
3305 * gdb.base/nested-subp2.exp: New file.
3306 * gdb.base/nested-subp2.c: New file.
3307 * gdb.base/nested-subp3.exp: New file.
3308 * gdb.base/nested-subp3.c: New file.
3310 2015-08-24 Pedro Alves <palves@redhat.com>
3312 * gdb.server/connect-without-multi-process.c: New file.
3313 * gdb.server/connect-without-multi-process.exp: New file.
3315 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3317 * gdb.opt/inline-markers.c: Make z int.
3319 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3321 * gdb.opt/inline-markers.c: Make z volatile.
3323 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3325 * gdb.opt/inline-bt.c: New volatile global z.
3326 * gdb.opt/inline-cmds.c: Likewise.
3327 * gdb.opt/inline-locals.c: Likewise.
3328 * gdb.opt/inline-markers.c: New extern global z.
3330 (inline_fn): Likewise.
3332 2015-08-24 Pedro Alves <palves@redhat.com>
3334 * config/m32r-stub.exp: Remove file.
3335 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3336 * gdb.base/call-rt-st.exp: Likewise.
3337 * gdb.base/call-strs.exp: Likewise.
3338 * gdb.base/default.exp: Remove references to h8300-*-hms and
3340 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3342 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3344 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3345 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3346 and "return" use KFAIL when GDB can not read/write the vector
3349 2015-08-21 Gary Benson <gbenson@redhat.com>
3351 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3353 2015-08-20 Pedro Alves <palves@redhat.com>
3355 * gdb.server/solib-list.exp: No longer expect an interior stop in
3358 2015-08-20 Pedro Alves <palves@redhat.com>
3360 * gdb.server/connect-stopped-target.c: New file.
3361 * gdb.server/connect-stopped-target.exp: New file.
3363 2015-08-20 Pedro Alves <palves@redhat.com>
3365 * gdb.dwarf2/comp-unit-lang.exp: New file.
3366 * gdb.dwarf2/comp-unit-lang.c: New file.
3368 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3370 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3371 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3373 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3375 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3376 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3378 2015-08-18 Doug Evans <dje@google.com>
3379 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3381 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3382 skip_python_tests. New arg prompt_regexp.
3383 (skip_python_tests): New function.
3384 * lib/mi-support.exp (mi_skip_python_tests): New function.
3385 * gdb.python/py-mi-objfile-gdb.py: New file.
3386 * gdb.python/py-mi-objfile.c: New file.
3387 * gdb.python/py-mi-objfile.exp: New file.
3389 2015-08-17 Keith Seitz <keiths@redhat.com>
3391 * gdb.linespec/explicit.exp: Move strace test from here ...
3392 * gdb.trace/strace.exp: ... to here.
3394 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3396 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3397 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3399 2015-08-14 Doug Evans <xdje42@gmail.com>
3401 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3402 inferior before selecting a new file.
3404 2015-08-14 Doug Evans <xdje42@gmail.com>
3406 * gdb.mi/mi-disassemble.exp: Update.
3407 * gdb.base/disasm-optim.S: New file.
3408 * gdb.base/disasm-optim.c: New file.
3409 * gdb.base/disasm-optim.h: New file.
3410 * gdb.base/disasm-optim.exp: New file.
3412 2015-08-14 Keith Seitz <keiths@redhat.com>
3414 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3417 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3419 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3421 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3423 * gdb.ada/fun_renaming.exp: New testcase.
3424 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3425 * gdb.ada/fun_renaming/pack.adb: New file.
3426 * gdb.ada/fun_renaming/pack.ads: New file.
3428 2015-08-12 Keith Seitz <keiths@redhat.com>
3430 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3431 gdb_get_line_number.
3433 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3435 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3436 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3437 gdb.base/dso2dso.exp: New files.
3439 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3440 Pedro Alves <palves@redhat.com>
3441 Keith Seitz <keiths@redhat.com>
3443 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3446 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3448 * gdb.base/gdbhistsize-history.exp
3449 (test_histsize_history_setting): Use save_vars.
3450 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3452 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3453 * gdb.base/readline.exp: Use save_vars.
3455 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3457 * lib/gdb.exp (save_vars): New proc.
3459 2015-08-11 Keith Seitz <keiths@redhat.com>
3461 * gdb.base/help.exp: Update help_breakpoint_text.
3463 2015-08-11 Keith Seitz <keiths@redhat.com>
3465 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3466 (at toplevel): Call test_explicit_breakpoints.
3467 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3469 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3470 breakpoint conditions, "-cond".
3472 2015-08-11 Keith Seitz <keiths@redhat.com>
3474 * gdb.linespec/3explicit.c: New file.
3475 * gdb.linespec/cpexplicit.cc: New file.
3476 * gdb.linespec/cpexplicit.exp: New file.
3477 * gdb.linespec/explicit.c: New file.
3478 * gdb.linespec/explicit.exp: New file.
3479 * gdb.linespec/explicit2.c: New file.
3480 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3481 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3482 before using in the matching pattern.
3483 Clarify that `prefix' is a regular expression.
3485 2015-08-11 Keith Seitz <keiths@redhat.com>
3487 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3489 Add tests for missing ",FMT" and ",".
3491 2015-08-10 Doug Evans <dje@google.com>
3492 Keith Seitz <keiths@redhat.com>
3495 * gdb.base/completion.exp: Add location completer tests.
3497 2015-08-07 Pedro Alves <palves@redhat.com>
3499 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3501 (top level): Run do_test with and without displaced stepping.
3503 2015-08-07 Pedro Alves <palves@redhat.com>
3505 * gdb.base/valgrind-disp-step.c: New file.
3506 * gdb.base/valgrind-disp-step.exp: New file.
3508 2015-08-07 Pedro Alves <palves@redhat.com>
3510 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3512 (main): Add alarm. Run an infinite loop instead of calling
3514 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3516 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3518 (main): Add alarm. Run an infinite loop instead of calling
3520 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3523 2015-08-07 Pedro Alves <palves@redhat.com>
3525 * gdb.base/checkpoint-ns.exp: New file.
3526 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3529 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3531 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3532 * gdb.btrace/instruction_history.exp: Update.
3533 * gdb.btrace/tsx.exp: New.
3534 * gdb.btrace/tsx.c: New.
3536 2015-08-06 Pedro Alves <palves@redhat.com>
3538 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3540 * gdb.reverse/until-precsave.exp: Bump timeouts.
3542 2015-08-06 Pedro Alves <palves@redhat.com>
3544 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3546 2015-08-06 Pedro Alves <palves@redhat.com>
3549 * gdb.threads/process-dies-while-handling-bp.c: New file.
3550 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3552 2015-08-06 Pedro Alves <palves@redhat.com>
3554 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3555 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3557 2015-08-05 Pedro Alves <palves@redhat.com>
3559 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3560 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3562 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3564 * gdb.base/bp-permanent.exp: Report test as unsupported if
3565 the target cannot stop at the permanent breakpoint.
3567 2015-08-03 Doug Evans <dje@google.com>
3569 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3572 2015-08-03 Doug Evans <dje@google.com>
3574 * Makefile.in (workers/%.worker, build-perf): New rule.
3575 (GDB_PERFTEST_MODE): New variable.
3576 (check-perf): Use it.
3577 (clean): Clean up gdb.perf parallel build subdirs.
3578 * lib/build-piece.exp: New file.
3579 * lib/gdb.exp (make_gdb_parallel_path): New function
3580 (standard_output_file, standard_temp_file): Call it.
3581 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3583 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3585 2015-08-03 Doug Evans <dje@google.com>
3587 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3588 (LOG_FILE_NAME): New global.
3589 (TextReporter.__init__): Initialize self.txt_sum.
3590 (TextReporter.report): Add support for multiple data-points.
3591 Move report to perftest.sum, put raw data in perftest.log.
3592 (TextReporter.start): Open sum and log files.
3593 (TextReporter.end): Close sum and log files.
3594 * gdb.perf/lib/perftest/testresult.py
3595 (SingleStatisticTestResult.record): Handle multiple data-points.
3597 2015-07-31 Pedro Alves <palves@redhat.com>
3599 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3600 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3601 kill_wait_spawned_process instead of explicit "kill -9".
3602 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3603 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3604 kill_wait_spawned_process.
3605 * gdb.base/attach-twice.exp: Likewise.
3606 * gdb.base/attach.exp: Likewise.
3607 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3609 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3610 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3611 kill_wait_spawned_process.
3612 * gdb.base/valgrind-infcall.exp: Likewise.
3613 * gdb.multi/multi-attach.exp: Likewise.
3614 * gdb.python/py-prompt.exp: Likewise.
3615 * gdb.python/py-sync-interp.exp: Likewise.
3616 * gdb.server/ext-attach.exp: Likewise.
3617 * gdb.threads/attach-into-signal.exp (corefunc): Use
3618 spawn_wait_for_attach, spawn_id_get_pid and
3619 kill_wait_spawned_process.
3620 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3621 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3622 spawn_id_get_pid and kill_wait_spawned_process.
3623 * gdb.threads/attach-stopped.exp (corefunc): Use
3624 spawn_wait_for_attach, spawn_id_get_pid and
3625 kill_wait_spawned_process.
3626 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3627 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3628 kill_wait_spawned_process instead of explicit "kill -9".
3629 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3630 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3631 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3632 processes. Don't map cygwin/windows pids here. Now returns a
3635 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3637 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3638 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3641 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3643 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3645 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3648 2014-05-21 Mark Wielaard <mjw@redhat.com>
3650 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3652 2015-07-30 Pedro Alves <palves@redhat.com>
3654 * linux-low.c (handle_extended_wait): Set the child's last
3655 reported status to TARGET_WAITKIND_STOPPED.
3657 2015-07-30 Pedro Alves <palves@redhat.com>
3660 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3661 only shows inferior 1.
3663 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3664 Pedro Alves <palves@redhat.com>
3667 * gdb.threads/fork-plus-threads.c: New file.
3668 * gdb.threads/fork-plus-threads.exp: New file.
3670 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3672 * gdb.base/batch-preserve-term-settings.exp
3673 (test_terminal_settings_preserved_after_cli_exit): Use
3676 2015-07-29 Pedro Alves <palves@redhat.com>
3677 Don Breazeal <donb@codesourcery.com>
3679 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3680 output from both inferior_spawn_id and gdb_spawn_id.
3682 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3684 * gdb.threads/attach-into-signal.exp (corefunc): Use
3685 with_test_prefix on nested loops, uniquefying the test messages.
3687 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3689 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3692 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3694 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3696 (test_terminal_settings_preserved_after_sigterm): New test.
3698 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3700 * gdb.base/batch-preserve-term-settings.exp
3701 (test_terminal_settings_preserved_after_cli_exit): New test.
3703 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3705 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3706 manipulation of saved_gdbflags.
3707 (test_terminal_settings_preserved): Remove global declaration of
3708 the unused variable pagination_prompt. Remove manipulation of
3709 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3712 2015-07-29 Pedro Alves <palves@redhat.com>
3714 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3716 2015-07-29 Pedro Alves <palves@redhat.com>
3718 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3721 2015-07-29 Pedro Alves <palves@redhat.com>
3723 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3724 (main): Call gdb_unbuffer_output.
3725 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3726 (main): Call gdb_unbuffer_output.
3727 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3728 (main): Call gdb_unbuffer_output.
3729 * gdb.base/call-strs.exp: Adjust to step over the
3730 gdb_unbuffer_output call.
3731 * gdb.base/catch-gdb-caused-signals.c: Include
3732 "../lib/unbuffer_output.c".
3733 (main): Call gdb_unbuffer_output.
3734 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3735 (main): Call gdb_unbuffer_output.
3736 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3737 (main): Call gdb_unbuffer_output.
3738 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3739 (main): Call gdb_unbuffer_output.
3740 * gdb.base/shlib-call.exp: Adjust to step over the
3741 gdb_unbuffer_output call.
3742 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3743 (main): Call gdb_unbuffer_output.
3744 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3745 (main): Call gdb_unbuffer_output.
3746 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3747 (main): Rename to ...
3749 (main): Reimplement.
3750 * gdb.base/varargs.exp: Run to test instead of to main.
3751 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3752 (main): Call gdb_unbuffer_output.
3754 2015-07-29 Pedro Alves <palves@redhat.com>
3756 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3757 factore out from mi_continue_dprintf. For call-style dprintfs,
3758 expect dprintf output out of $inferior_spawn_id.
3759 (mi_continue_dprintf): Use mi_expect_dprintf.
3760 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3761 (main): Call gdb_unbuffer_output.
3763 2015-07-29 Pedro Alves <palves@redhat.com>
3765 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3766 (default_mi_gdb_start): Set inferior_spawn_id instead of
3767 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3769 (mi_gdb_test): Always expect inferior output from both
3770 $inferior_spawn_id and $gdb_spawn_id.
3772 2015-07-29 Pedro Alves <palves@redhat.com>
3774 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3775 send_inferior and $inferior_spawn_id.
3777 2015-07-29 Pedro Alves <palves@redhat.com>
3779 * gdb.gdb/complaints.exp (test_initial_complaints)
3780 (test_serial_complaints, test_short_complaints): Use
3782 (test_empty_complaint): Handle $inferior_spawn_id !=
3785 2015-07-29 Pedro Alves <palves@redhat.com>
3787 * gdb.base/varargs.exp: Use gdb_test_stdio.
3789 2015-07-29 Pedro Alves <palves@redhat.com>
3791 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3793 2015-07-29 Pedro Alves <palves@redhat.com>
3795 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3797 2015-07-29 Pedro Alves <palves@redhat.com>
3799 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3800 parameter into two new parameters, "inf_result" and "gdb_result".
3801 Expect inferior output and gdb output from $inferior_spawn_id and
3802 $gdb_spawn_id, respectively. Adjust all callers.
3804 2015-07-29 Pedro Alves <palves@redhat.com>
3806 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3807 of gdb_test_sequence.
3809 2015-07-29 Pedro Alves <palves@redhat.com>
3811 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3812 (saw_spurious_output): Expect inferior output from
3813 $inferior_spawn_id. Use gdb_test_stdio.
3815 2015-07-29 Pedro Alves <palves@redhat.com>
3817 * gdb.base/dprintf.exp: Use standard_testfile. Change
3818 prepare_for_testing call.
3819 (srcfile): Don't set.
3820 (restart): New procedure.
3821 (test_dprintf): New procecure, use to continue over dprintfs.
3822 (test_call, test_agent): New procedures, tests moved here.
3823 Restart gdb and recreate dprintfs. Adjust expected output.
3825 2015-07-29 Pedro Alves <palves@redhat.com>
3827 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3829 2015-07-29 Pedro Alves <palves@redhat.com>
3831 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3833 2015-07-29 Pedro Alves <palves@redhat.com>
3835 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3838 2015-07-29 Pedro Alves <palves@redhat.com>
3840 * lib/gdb.exp (gdb_test_stdio): New procedure.
3842 2015-07-29 Pedro Alves <palves@redhat.com>
3844 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3846 2015-07-29 Pedro Alves <palves@redhat.com>
3848 * gdb.base/call-signal-resume.exp: Remove check for
3849 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3850 * gdb.base/unwindonsignal.exp: Likewise.
3851 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3852 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3854 2015-07-29 Pedro Alves <palves@redhat.com>
3856 * gdb.base/siginfo-addr.c (pass): New function.
3857 (handler): Call it iff si_addr is correct.
3858 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3859 Set a breakpoint at "pass" and continue to it.
3861 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3863 * gdb.python/py-objfile.exp: Make some tests have unique names.
3864 * gdb.python/py-pp-registration.exp: Likewise.
3866 2015-07-28 Pedro Alves <palves@redhat.com>
3868 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3870 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3872 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3874 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3876 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3878 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3880 * gdb.base/gdb-sigterm-2.exp: New test.
3882 2015-07-25 Doug Evans <xdje42@gmail.com>
3885 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3886 (workers/%.worker, build-perf): New rule.
3887 (GDB_PERFTEST_MODE): New variable.
3888 (check-perf): Use it.
3889 (clean): Clean up gdb.perf parallel build subdirs.
3890 * lib/build-piece.exp: New file.
3891 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3892 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3894 (standard_temp_file): Ditto.
3895 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3898 2015-07-24 Doug Evans <dje@google.com>
3900 * gdb.perf/lib/perftest/utils.py: New file.
3901 * gdb.perf/gm-hello.cc: New file.
3902 * gdb.perf/gm-pervasive-typedef.cc: New file.
3903 * gdb.perf/gm-pervasive-typedef.h: New file.
3904 * gdb.perf/gm-std.cc: New file.
3905 * gdb.perf/gm-std.h: New file.
3906 * gdb.perf/gm-use-cerr.cc: New file.
3907 * gdb.perf/gm-utils.h: New file.
3908 * gdb.perf/gmonster-null-lookup.py: New file.
3909 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3910 * gdb.perf/gmonster-print-cerr.py: New file.
3911 * gdb.perf/gmonster-ptype-string.py: New file.
3912 * gdb.perf/gmonster-runto-main.py: New file.
3913 * gdb.perf/gmonster-select-file.py: New file.
3914 * gdb.perf/gmonster1-null-lookup.exp: New file.
3915 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3916 * gdb.perf/gmonster1-print-cerr.exp: New file.
3917 * gdb.perf/gmonster1-ptype-string.exp: New file.
3918 * gdb.perf/gmonster1-runto-main.exp: New file.
3919 * gdb.perf/gmonster1-select-file.exp: New file.
3920 * gdb.perf/gmonster1.cc: New file.
3921 * gdb.perf/gmonster1.exp: New file.
3922 * gdb.perf/gmonster2-null-lookup.exp: New file.
3923 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3924 * gdb.perf/gmonster2-print-cerr.exp: New file.
3925 * gdb.perf/gmonster2-ptype-string.exp: New file.
3926 * gdb.perf/gmonster2-runto-main.exp: New file.
3927 * gdb.perf/gmonster2-select-file.exp: New file.
3928 * gdb.perf/gmonster2.cc: New file.
3929 * gdb.perf/gmonster2.exp: New file.
3931 2015-07-24 Doug Evans <dje@google.com>
3933 * gdb.perf/README: New file.
3934 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3935 * lib/gen-perf-test.exp: New file.
3937 2015-07-24 Doug Evans <dje@google.com>
3939 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3940 (PerfTest::startup): New function.
3941 (PerfTest::run): Return result of calling body.
3942 (PerfTest::assemble): Rewrite.
3943 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3944 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3945 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3946 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3947 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3949 2015-07-24 Doug Evans <dje@google.com>
3951 * lib/gdb.exp (clean_restart): Make executable optional.
3953 2015-07-24 Doug Evans <dje@google.com>
3955 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3956 compiler_info references.
3957 * gdb.cp/temargs.exp: Ditto.
3958 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3959 (get_compiler_info): Early exit if already computed. Set compiler_info
3960 to "unknown" if there was a problem.
3961 (test_compiler_info): Add function comment. Call get_compiler_info.
3963 2015-07-24 Doug Evans <dje@google.com>
3965 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3966 (workers/%.worker, build-perf): New rule.
3967 (GDB_PERFTEST_MODE): New variable.
3968 (check-perf): Use it.
3969 (clean): Clean up gdb.perf parallel build subdirs.
3970 * lib/build-piece.exp: New file.
3971 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3972 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3974 (standard_temp_file): Ditto.
3975 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3978 2015-07-24 Doug Evans <dje@google.com>
3980 * lib/future.exp (gdb_default_target_compile): New option
3982 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3985 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3987 * gdb.base/catch-syscall.exp: Call gdb_exit before
3990 2015-07-24 Pedro Alves <palves@redhat.com>
3992 * gdb.python/py-events.exp: Accept output between the stop event
3994 * gdb.python/py-evsignal.exp: Likewise.
3995 * gdb.python/py-evthreads.exp: Likewise.
3997 2015-07-24 Pedro Alves <palves@redhat.com>
4000 * gdb.threads/non-ldr-exit.c: New file.
4001 * gdb.threads/non-ldr-exit.exp: New file.
4003 2015-07-24 Yao Qi <yao.qi@linaro.org>
4005 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4008 2015-07-24 Yao Qi <yao.qi@linaro.org>
4010 * gdb.server/ext-restart.exp: New file.
4012 2015-07-24 Yao Qi <yao.qi@linaro.org>
4014 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4016 * gdb.server/ext-wrapper.exp: New file.
4018 2015-07-23 Doug Evans <dje@google.com>
4020 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4021 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4023 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4025 * gdb.ada/var_arr_typedef.exp: New testcase.
4026 * gdb.ada/var_arr_typedef/pack.adb: New file.
4027 * gdb.ada/var_arr_typedef/pack.ads: New file.
4028 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4030 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4032 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4034 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4036 * gdb.arch/i386-biarch-core.exp: Replace istarget
4037 by "complete set gnutarget". Remove expectation for the "core-file"
4040 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4042 Revert the previous commit:
4043 Tests for validate symbol file using build-id.
4045 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4047 Tests for validate symbol file using build-id.
4048 * gdb.base/solib-mismatch-lib.c: New file.
4049 * gdb.base/solib-mismatch-libmod.c: New file.
4050 * gdb.base/solib-mismatch.c: New file.
4051 * gdb.base/solib-mismatch.exp: New file.
4053 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4055 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4057 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4058 * gdb.base/siginfo.exp: Likewise.
4059 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4061 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4063 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4065 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4067 * gdb.trace/range-stepping.exp: Check that the target supports
4070 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4072 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4074 2015-07-14 Pedro Alves <palves@redhat.com>
4076 * gdb.base/killed-outside.exp: New file.
4077 * gdb.base/killed-outside.c: New file.
4079 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4081 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4083 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4085 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4087 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4088 infcall tests instead of setting up for KFAIL.
4090 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4092 * gdb.btrace/record_goto-step.exp: New.
4094 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4097 * gdb.compile/compile.c (struct struct_type): Add volatile to
4099 * gdb.compile/compile.exp
4100 (compile code struct_object.selffield = &struct_object): Skip further
4101 struct_object tests if this one xfails.
4103 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4106 * gdb.trace/ax.exp: Add test.
4108 2015-07-07 Yao Qi <yao.qi@linaro.org>
4110 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4111 instead of istarget "aarch64*-*-*".
4112 * gdb.arch/aarch64-fp.exp: Likewise.
4113 * gdb.base/float.exp: Likewise.
4114 * gdb.reverse/aarch64.exp: Likewise.
4115 * lib/gdb.exp (is_aarch64_target): New proc.
4117 2015-07-07 Yao Qi <yao.qi@linaro.org>
4119 * lib/gdb.exp (is_aarch32_target): New proc.
4120 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4121 instead of "istarget "arm*-*-*"".
4122 * gdb.arch/arm-disp-step.exp: Likewise.
4123 * gdb.arch/thumb-bx-pc.exp: Likewise.
4124 * gdb.arch/thumb-prologue.exp: Likewise.
4125 * gdb.arch/thumb-singlestep.exp: Likewise.
4126 * gdb.base/disp-step-syscall.exp: Likewise.
4127 * gdb.base/float.exp: Likewise.
4129 2015-07-07 Yao Qi <yao.qi@linaro.org>
4131 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4132 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4134 2015-07-07 Yao Qi <yao.qi@linaro.org>
4136 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4137 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4139 * gdb.multi/multi-arch.exp: Likewise.
4141 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4143 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4146 2015-07-07 Yao Qi <yao.qi@linaro.org>
4148 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4150 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4152 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4153 '[' and ']' characters.
4155 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4157 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4159 2015-06-29 Pedro Alves <palves@redhat.com>
4162 * gdb.threads/hand-call-new-thread.c: New file.
4163 * gdb.threads/hand-call-new-thread.c: New file.
4165 2015-06-26 Keith Seitz <keiths@redhat.com>
4166 Doug Evans <dje@google.com>
4169 * gdb.cp/var-tag-2.cc: New file.
4170 * gdb.cp/var-tag-3.cc: New file.
4171 * gdb.cp/var-tag-4.cc: New file.
4172 * gdb.cp/var-tag.cc: New file.
4173 * gdb.cp/var-tag.exp: New file.
4175 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4177 * gdb.base/history-duplicates.exp: New test.
4179 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4181 * gdb.base/completion.exp: Test the completion of the "focus"
4184 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4186 * gdb.arch/amd64-prologue-skip.S: New file.
4187 * gdb.arch/amd64-prologue-skip.exp: New file.
4189 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4191 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4192 is_address_zero_readable check.
4194 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4196 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4197 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4199 2015-06-24 Yao Qi <yao.qi@linaro.org>
4201 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4204 2015-06-24 Yao Qi <yao.qi@linaro.org>
4206 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4207 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4208 * gdb.base/siginfo-thread.exp: Likewise.
4210 2015-06-22 Yao Qi <yao.qi@linaro.org>
4212 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4214 2015-06-22 Yao Qi <yao.qi@linaro.org>
4216 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4218 (skip_hw_watchpoint_tests): Likewise.
4220 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4222 * gdb.base/gdbinit-history.exp: Test the interaction between
4223 setting GDBHISTSIZE and setting the history size via .gdbinit.
4225 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4228 * gdb.base/gdbhistsize-history.exp: New test.
4230 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4232 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4234 * gdb.base/readline.exp: Likewise.
4236 2015-06-17 Yao Qi <yao.qi@linaro.org>
4238 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4241 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4243 * gdb.base/gdbinit-history.exp: Add test case to check that
4244 an unlimited history file does not get truncated on exit.
4246 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4248 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4249 (VECTOR): New macro. Use it...
4250 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4251 ...for these typedefs.
4252 (int8, char1, int1, double1): New typedefs.
4253 (struct just_int2, struct two_int2): New structures.
4254 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4255 (add_structvecs, add_singlevecs): New functions.
4256 (main): Call add_some_intvecs twice.
4257 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4258 the compile and exit upon failure. Try compiling for the "native"
4259 architecture. Test inferior function calls with vector arguments
4260 and vector return value handling with "finish" and "return".
4262 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4264 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4265 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4267 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4269 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4271 PR breakpoints/16465
4272 * gdb.mi/mi-dprintf-pending.c: New file.
4273 * gdb.mi/mi-dprintf-pending.exp: New test.
4274 * gdb.mi/mi-dprintf-pendshr.c: New file.
4276 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4277 Mircea Gherzan <mircea.gherzan@intel.com>
4279 * gdb.arch/i386-mpx-map.c: New file.
4280 * gdb.arch/i386-mpx-map.exp: New File.
4282 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4284 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4285 * gdb.arch/i386-mpx.exp: Indentation fixed.
4287 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4289 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4290 function and improved indentation.
4291 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4292 gdb_test_multiple. Added additional tests to skip the test.
4294 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4296 * gdb.arch/i386-avx512.c: Change path in include file.
4297 * gdb.arch/i386-avx512.exp: Change include dir path
4299 * gdb.arch/i386-mpx.c: Change path in include file.
4300 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4303 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4305 * gdb.compile/compile-print.exp (compile print *vararray@3)
4306 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4308 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4310 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4311 (do not keep jit in memory): ... this.
4312 (expect 5): Change it to ...
4313 (expect no 5): ... this.
4315 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4318 * gdb.mi/mi-detach.exp: New file.
4320 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4323 * gdb.arch/amd64-tailcall-self.S: New file.
4324 * gdb.arch/amd64-tailcall-self.c: New file.
4325 * gdb.arch/amd64-tailcall-self.exp: New file.
4327 2015-05-28 Don Breazeal <donb@codesourcery.com>
4329 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4330 tests for remote targets by checking is_target_gdbserver.
4332 2015-05-27 Doug Evans <dje@google.com>
4334 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4335 * gdb.dwarf2/opaque-type-lookup.c: New file.
4336 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4338 2015-05-26 Doug Evans <dje@google.com>
4340 * gdb.cp/iostream.cc: New file.
4341 * gdb.cp/iostream.exp: New file.
4343 2015-05-26 Doug Evans <dje@google.com>
4345 * gdb.dwarf2/dw2-op-call.exp: Update.
4346 * gdb.dwarf2/dw4-sig-types.exp: Update.
4347 * gdb.dwarf2/implptr.exp: Update.
4348 * gdb.mi/mi-cmd-param-changed.exp: Update.
4350 2015-05-26 Doug Evans <dje@google.com>
4352 * gdb.python/py-lazy-string.c: New file.
4353 * gdb.python/py-lazy-string.exp: New file.
4354 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4355 (main): Update. Add estring3.
4356 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4357 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4359 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4360 Yao Qi <yao.qi@linaro.org>
4362 * gdb.reverse/aarch64.c: New.
4363 * gdb.reverse/aarch64.exp: New.
4365 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4367 * lib/gdb.exp (supports_process_record): Return true for
4369 (supports_reverse): Likewise.
4371 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4373 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4374 Use with_test_prefix.
4376 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4378 * gdb.base/completion.exp: Add test for completion of layout
4381 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4383 * lib/gdb.exp (skip_tui_tests): New proc.
4384 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4386 2015-05-19 Pedro Alves <palves@redhat.com>
4388 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4389 Save the whole env array instead of just HOME. Unset HISTSIZE in
4390 the environment while testing. Restore whole environment
4393 2015-05-16 Doug Evans <xdje42@gmail.com>
4395 * gdb.guile/scm-ports.c: New file.
4396 * gdb.guile/scm-ports.exp: Add memory port tests.
4398 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4400 * gdb.compile/compile-print.c: New file.
4401 * gdb.compile/compile-print.exp: New file.
4403 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4405 * gdb.compile/compile-ops.exp: Cast param to void.
4406 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4407 (compile code struct_object.selffield = &struct_object): Add xfail.
4409 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4411 * gdb.ada/arr_enum_with_gap: New testcase.
4413 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4415 * gdb.ada/byte_packed_arr: New testcase.
4417 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4419 * gdb.ada/pckd_neg: New testcase.
4421 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4424 * gdb.base/gdbinit-history.exp: New test.
4425 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4426 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4428 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4430 * gdb.python/py-xmethods.cc: Enhance test case.
4431 * gdb.python/py-xmethods.exp: New tests.
4432 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4434 (B_indexoper): Likewise.
4435 (global_dm_list) : Add new xmethod worker functions.
4437 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4439 * gdb.base/coredump-filter.exp: Correctly unset
4440 "coredump_var_addr" array.
4442 2015-05-08 Pedro Alves <palves@redhat.com>
4444 * gdb.server/non-existing-program.exp: Unset spawn_id.
4446 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4449 * gdb.python/py-xmethods.exp: Add tests.
4451 2015-05-08 Yao Qi <yao.qi@linaro.org>
4454 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4455 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4456 function set_coredump_filter, and remove remote_exec call.
4457 Remove argument ipid. Callers update.
4458 (top level): Don't get inferior's PID.
4460 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4462 * gdb.base/watch_thread_num.exp: Skip test on targets without
4465 2015-05-06 Pedro Alves <palves@redhat.com>
4468 * gdb.server/non-existing-program.exp: New file.
4470 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4472 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4474 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4476 * gdb.ada/out_of_line_in_inlined: New testcase.
4478 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4480 * gdb.ada/var_rec_arr: New testcase.
4482 2015-04-30 Yao Qi <yao.qi@linaro.org>
4484 * gdb.base/break-idempotent.exp: If
4485 skip_hw_watchpoint_multi_tests returns true, skip the tests
4486 on "rwatch" and "awatch".
4488 2015-04-30 Yao Qi <yao.qi@linaro.org>
4490 * gdb.base/relativedebug.exp: Invoke gdb command
4491 "info sharedlibrary", and if libc.so doesn't have debug info,
4494 2015-04-29 Doug Evans <dje@google.com>
4496 * gdb.python/py-xmethods.exp: Add ptype tests.
4497 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4498 get_result_type method.
4500 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4502 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4503 the target does not support hardware watchpoints.
4505 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4507 * gdb.base/break-always.exp: Abort testing if writing to memory
4510 2015-04-28 Doug Evans <dje@google.com>
4512 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4513 * gdb.python/py-pp-registration.exp: ... here. New file.
4514 * gdb.python/py-pp-registration.c: New file.
4515 * gdb.python/py-pp-registration.py: New file.
4517 2015-04-28 Doug Evans <dje@google.com>
4519 * gdb.python/py-bad-printers.c: New file.
4520 * gdb.python/py-bad-printers.py: New file.
4521 * gdb.python/py-bad-printers.exp: New file.
4523 2015-04-28 Sasha Smundak <asmundak@google.com>
4525 * gdb.python/py-type.exp: New test.
4527 2015-04-28 Andy Wingo <wingo@igalia.com>
4529 * gdb.python/py-parameter.exp:
4530 * gdb.guile/scm-parameter.exp: Escape the path that we are
4531 matching against, as it might contain characters that are special
4532 to regular expressions.
4534 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4536 * gdb.ada/rec_comp: New testcase.
4538 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4540 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4543 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4545 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4546 new tests for verilog output.
4548 2015-04-24 Yao Qi <yao.qi@linaro.org>
4550 * boards/remote-gdbserver-on-localhost.exp: New file.
4552 2015-04-23 Pedro Alves <palves@redhat.com>
4554 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4555 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4556 "end of file", remove $inferior_spawn_id from the indirect list.
4558 2015-04-23 Pedro Alves <palves@redhat.com>
4560 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4562 2015-04-23 Pedro Alves <palves@redhat.com>
4564 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4565 on $any_spawn_id instead of only on $gdb_spawn_id.
4567 2015-04-21 Pierre Muller <muller@sourceware.org>
4570 * lib/pascal.exp (gpc_compile): Add new option "class".
4571 (fpc_compile): Likewise.
4572 * gdb.pascal/case-insensitive-symbols.pas: New file.
4573 * gdb.pascal/case-insensitive-symbols.exp: New file.
4575 2015-04-20 Gary Benson <gbenson@redhat.com>
4577 * gdb.base/attach.exp: Fix three extended remote failures.
4579 2015-04-17 Gary Benson <gbenson@redhat.com>
4581 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4582 the main executable over the remote protocol.
4584 2015-04-16 Pedro Alves <palves@redhat.com>
4586 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4587 a new gdbserver if gdbserver_reconnect_p is set.
4589 2015-04-16 Pedro Alves <palves@redhat.com>
4591 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4592 is set, don't exit gdbserver.
4594 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4597 appropriate .insn, such that an older assembler can be used.
4598 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4599 the z/Architecture instruction set on 31-bit targets as well.
4601 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4603 * gdb.go/handcall.exp: Remove all logic related to the first
4604 breakpoint and rely on go_runto_main instead.
4605 * gdb.go/strings.exp: Likewise.
4606 * gdb.go/unsafe.exp: Likewise.
4607 * gdb.go/hello.exp: Likewise. Also rename the remaining
4608 breakpoint marker to "breakpoint 1".
4609 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4610 * gdb.go/strings.go: Likewise.
4611 * gdb.go/unsafe.go: Likewise.
4612 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4613 "set breakpoint 2 here" and rename the remaining breakpoint marker
4616 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4618 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4619 if itertools.imap is not present.
4620 * gdb.python/py-objfile.exp: Add parentheses.
4621 * gdb.python/py-type.exp: Same.
4622 * gdb.python/py-unwind-maint.py: Same.
4624 2015-04-15 Yao Qi <yao.qi@linaro.org>
4626 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4627 of ":$ptr_size" and set its form explicitly.
4629 2015-04-15 Pedro Alves <palves@redhat.com>
4630 Yao Qi <yao.qi@linaro.org>
4632 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4633 timeout by factor of 4.
4634 (test_regular_watch): Likewise.
4635 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4636 * gdb.reverse/sigall-reverse.exp: Likewise.
4637 * gdb.reverse/until-precsave.exp: Likewise.
4638 * lib/gdb.exp (with_timeout_factor): New proc.
4639 (gdb_expect): Move some code to ...
4640 (get_largest_timeout): ... here. New procedure.
4642 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4644 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4646 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4648 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4649 to write to the .text section.
4651 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4653 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4654 Handle the case of targets that do not provide PID information.
4656 2015-04-13 Yao Qi <yao.qi@linaro.org>
4658 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4659 and use expect instead of gdb_expect.
4661 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4663 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4664 "coredump_var_addr" to avoid naming conflict with other testcases.
4666 2015-04-10 Pedro Alves <palves@redhat.com>
4668 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4669 gdb_test_sequence and gdb_assert.
4671 2015-04-10 Pedro Alves <palves@redhat.com>
4673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4674 test messages that don't include the breakpoint address.
4676 2015-04-10 Yao Qi <yao.qi@linaro.org>
4678 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4679 false for some offset and width combinations which aren't
4680 supported by linux kernel.
4682 2015-04-10 Pedro Alves <palves@redhat.com>
4684 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4685 procedure, factored out from ...
4686 (top level): ... here. Add "set displaced-stepping" testing axis.
4687 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4688 parameter "displaced". Use it.
4689 (top level): Use foreach and add "set displaced-stepping" testing
4692 2015-04-10 Pedro Alves <palves@redhat.com>
4694 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4696 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4697 both the address of the instruction that triggers the watchpoint
4698 and the address of the instruction immediately after, and use
4699 those addresses for the test. Fix comment.
4701 2015-04-10 Pedro Alves <palves@redhat.com>
4703 * gdb.base/sigstep.exp (breakpoint_to_handler)
4704 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4705 Test "backtrace" in handler.
4706 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4707 (top level): Add new "displaced" test axis to
4708 breakpoint_to_handler, breakpoint_to_handler_entry and
4709 breakpoint_over_handler.
4711 2015-04-10 Pedro Alves <palves@redhat.com>
4714 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4716 2015-04-10 Yao Qi <yao.qi@linaro.org>
4718 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4719 (test_add_rn_pc): New function.
4720 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4721 (top level): Invoke test_add_rn_pc.
4723 2015-04-10 Pedro Alves <palves@redhat.com>
4726 * gdb.base/step-over-no-symbols.exp: New file.
4728 2015-04-09 Andy Wingo <wingo@igalia.com>
4730 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4731 after the Python tests.
4733 2015-04-08 Keith Seitz <keiths@redhat.com>
4736 * gdb.python/py-completion.exp: New tests for completion.
4737 * gdb.python/py-completion.py (CompleteLimit1): New class.
4738 (CompleteLimit2): Likewise.
4739 (CompleteLimit3): Likewise.
4740 (CompleteLimit4): Likewise.
4741 (CompleteLimit5): Likewise.
4742 (CompleteLimit6): Likewise.
4743 (CompleteLimit7): Likewise.
4745 2015-04-08 Pedro Alves <palves@redhat.com>
4749 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4751 (main): Install it as SIGUSR1 handler.
4752 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4753 parameter. Always use "setup" as prefix. Toggle "set
4754 displaced-stepping" off/on depending on global. Don't switch to
4756 (top level): Add displaced stepping "off/on" test axis. Update
4757 "setup" calls. Wrap each subtest with with_test_prefix. Test
4758 continuing with a queued signal in each thread.
4760 2015-04-08 Pedro Alves <palves@redhat.com>
4762 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4763 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4764 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4765 Return early if running to main fails.
4766 * gdb.trace/while-stepping.exp: Likewise.
4768 2015-04-07 Pedro Alves <palves@redhat.com>
4770 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4771 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4772 interact with inferior program.
4774 2015-04-07 Pedro Alves <palves@redhat.com>
4776 * lib/gdb.exp (inferior_spawn_id): New global.
4777 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4778 spawn id after processing the user code.
4779 (default_gdb_start): Set inferior_spawn_id.
4780 (send_inferior): New procedure.
4781 * lib/gdbserver-support.exp (gdbserver_start): Set
4783 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4785 2015-04-07 Pedro Alves <palves@redhat.com>
4787 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4788 * lib/gdbserver-support.exp (gdbserver_start): Make
4789 $server_spawn_id global.
4790 (gdbserver_start): Don't wait for gdbserver's spawn id with
4792 (close_gdbserver): New procedure.
4793 (gdb_exit): Rename the default version and reimplement.
4795 2015-04-07 Pedro Alves <palves@redhat.com>
4797 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4798 append the substituted item, not the original item.
4800 2015-04-07 Pedro Alves <palves@redhat.com>
4802 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4805 2015-04-07 Pedro Alves <palves@redhat.com>
4807 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4808 output appearing once only.
4810 2015-04-07 Pedro Alves <palves@redhat.com>
4812 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4813 that doesn't expect anything. Return early if running to main
4816 2015-04-07 Yao Qi <yao.qi@linaro.org>
4818 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4819 (child_function): Call alarm.
4820 (main): Move call to alarm into the loop.
4821 * gdb.threads/non-stop-fair-events.exp: Build program with
4824 2015-04-06 Doug Evans <xdje42@gmail.com>
4826 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4827 Fix dest parameter to board_info.
4828 (fpc_compile): Ditto.
4829 (gdb_compile_pascal): Rename dest arg to destfile.
4831 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4833 * gdb.ada/funcall_ref.exp: New file.
4834 * gdb.ada/funcall_ref/foo.adb: New file.
4836 2015-04-02 Yao Qi <yao.qi@linaro.org>
4838 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4841 2015-04-02 Gary Benson <gbenson@redhat.com>
4843 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4845 2015-04-01 Sasha Smundak <asmundak@google.com>
4847 * gdb.python/py-unwind-maint.c: New file.
4848 * gdb.python/py-unwind-maint.exp: New test.
4849 * gdb.python/py-unwind-maint.py: New file.
4850 * gdb.python/py-unwind.c: New file.
4851 * gdb.python/py-unwind.exp: New test.
4852 * gdb.python/py-unwind.py: New test.
4854 2015-04-01 Pedro Alves <palves@redhat.com>
4856 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4857 to fail instead of non-existent $test.
4859 2015-04-01 Pedro Alves <palves@redhat.com>
4861 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4862 GDBFLAGS if not empty.
4864 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4866 * gdb.ada/complete.exp: Remove "multi_line".
4867 * gdb.ada/info_exc.exp: Remove "multi_line".
4868 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4869 * gdb.ada/ptype_field.exp: Remove "multi_line".
4870 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4871 * gdb.ada/tagged.exp: Remove "multi_line".
4872 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4874 * gdb.btrace/delta.exp: Likewise.
4875 * gdb.btrace/exception.exp: Likewise.
4876 * gdb.btrace/function_call_history.exp: Likewise.
4877 * gdb.btrace/instruction_history.exp: Likewise.
4878 * gdb.btrace/nohist.exp: Likewise.
4879 * gdb.btrace/record_goto.exp: Likewise.
4880 * gdb.btrace/segv.exp: Likewise.
4881 * gdb.btrace/stepi.exp: Likewise.
4882 * gdb.btrace/tailcall.exp: Likewise.
4883 * gdb.btrace/unknown_functions.exp: Likewise.
4884 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4885 * lib/gdb.exp: Add the "multi_line" helper.
4887 2015-04-01 Pedro Alves <palves@redhat.com>
4889 * gdb.threads/tid-reuse.c: New file.
4890 * gdb.threads/tid-reuse.exp: New file.
4892 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4895 * gdb.base/coredump-filter.c: New file.
4896 * gdb.base/coredump-filter.exp: Likewise.
4898 2015-03-27 Petr Machata <pmachata@redhat.com>
4900 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4901 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4902 (Dwarf::assemble): Initialize them.
4903 (Dwarf::lines): New function.
4905 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4907 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4908 SYMBOL_PREFIX for x86_64-*-cygwin.
4910 2015-03-26 Andy Wingo <wingo@igalia.com>
4913 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4914 const_value but not a location.
4915 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4916 location defined in non-main CUs are visible.
4918 2015-03-26 Yao Qi <yao.qi@linaro.org>
4921 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4922 Add a line number entry for the same line.
4923 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4924 Add a line number entry for the same line.
4926 2015-03-26 Yao Qi <yao.qi@linaro.org>
4928 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4930 (func): Likewise. Add .Lfunc_1 label.
4932 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4937 2015-03-26 Yao Qi <yao.qi@linaro.org>
4939 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4940 Call gdb_compile instead to compile each .s files without debug
4943 2015-03-26 Yao Qi <yao.qi@linaro.org>
4945 * gdb.base/savedregs.exp (process_saved_regs): Make
4946 "Saved registers:" optional in the pattern.
4948 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4950 * gdb.btrace/next.exp: Merged into step.exp.
4951 * gdb.btrace/finish.exp: Merged into step.exp.
4952 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4953 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4954 "record goto" and checking the exact replay position.
4955 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4956 check for "Recording format" in "info record" output.
4957 * gdb.btrace/record_goto.exp: Choose test file based on target.
4958 * gdb.btrace/x86-record_goto.S: Renamed into ...
4959 * gdb.btrace/x86_64-record_goto.S: ... this.
4960 * gdb.btrace/i686-record_goto.S: New.
4961 * gdb.btrace/x86-tailcall.S: Renamed into ...
4962 * gdb.btrace/x86_64-tailcall.S: ... this.
4963 * gdb.btrace/i686-tailcall.S: New.
4964 * gdb.btrace/x86-tailcall.c: Renamed into ...
4965 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4966 separate statements. Update test.
4967 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4968 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4969 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4970 * gdb.btrace/tailcall.exp: Choose test file based on target.
4971 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4973 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4975 * gdb.btrace/exception.exp: Increase BTS buffer size.
4977 2015-03-24 Pedro Alves <palves@redhat.com>
4979 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4981 2015-03-24 Pedro Alves <palves@redhat.com>
4983 * gdb.threads/schedlock.exp (test_step): No longer expect that
4984 "set scheduler-locking step" with "next" over a function call runs
4987 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4989 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4991 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4993 PR breakpoints/16466
4994 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4995 * gdb.mi/mi-pending.c (thread_func): New function.
4996 (int main): Add threading support required.
4997 * gdb.mi/mi-pending.exp: Add tests for this issue.
4998 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4999 (pendfunc2): Remove stdio dependency.
5000 * gdb.mi/mi-pendshr2.c: New file.
5002 2015-03-23 Keith Seitz <keiths@redhat.com>
5004 * gdb.linespec/keywords.c: New file.
5005 * gdb.linespec/keywords.exp: New file.
5007 2015-03-23 Keith Seitz <keiths@redhat.com>
5010 * gdb.dwarf2/staticvirtual.exp: New test.
5012 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5014 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5015 * README: Remove HP-UX and gdb.hp.
5017 * configure: Regenerate.
5018 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5019 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5020 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5021 gdb.hp/gdb.defects/Makefile.
5022 * gdb.hp/Makefile.in: File deleted.
5023 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5024 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5025 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5026 * gdb.hp/gdb.aCC/run.c: File deleted.
5027 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5028 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5029 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5030 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5031 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5032 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5033 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5034 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5035 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5036 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5037 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5038 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5039 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5040 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5041 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5042 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5043 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5044 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5045 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5046 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5047 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5048 * gdb.hp/gdb.compat/average.c: File deleted.
5049 * gdb.hp/gdb.compat/sum.c: File deleted.
5050 * gdb.hp/gdb.compat/xdb.c: File deleted.
5051 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5052 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5053 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5054 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5055 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5056 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5057 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5058 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5059 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5060 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5061 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5062 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5063 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5064 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5065 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5066 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5067 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5068 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5069 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5070 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5071 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5072 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5073 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5074 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5075 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5076 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5077 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5078 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5079 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5080 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5081 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5082 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5083 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5084 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5085 * gdb.hp/tools/odump: File deleted.
5087 2015-03-19 Pedro Alves <palves@redhat.com>
5089 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5090 (saw_thread_3): New globals.
5091 (top level): Increment them when an event for the corresponding
5093 (no thread starvation): New test.
5095 2015-03-19 Pedro Alves <palves@redhat.com>
5097 * gdb.threads/continue-pending-status.c: New file.
5098 * gdb.threads/continue-pending-status.exp: New file.
5100 2015-03-18 Pedro Alves <palves@redhat.com>
5102 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5103 Use gdb_is_target_remote instead of is_remote. Use
5104 gdb_test_multiple instead of gdb_expect. Exit early if
5105 gdb_test_multiple hits its internal matches. Tighten stepi tests
5106 expected output. Fail on exit with any signal, instead of just
5109 2015-03-18 Yao Qi <yao.qi@linaro.org>
5112 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5114 * gdb.base/catch-syscall.exp: Don't skip it on
5115 aarch64*-*-linux* target. Remove elements in all_syscalls.
5116 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5118 (setup_all_syscalls): New proc.
5120 2015-03-16 Yao Qi <yao.qi@linaro.org>
5122 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5123 (top level): Skip tests if valid_addr_p returns false for
5126 2015-03-11 Andy Wingo <wingo@igalia.com>
5128 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5130 2015-03-11 Yao Qi <yao.qi@linaro.org>
5132 * gdb.base/catch-syscall.exp: Fix typo in comments.
5134 2015-03-11 Yao Qi <yao.qi@linaro.org>
5136 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5138 2015-03-09 Pedro Alves <palves@redhat.com>
5140 * dg-extract-results.py: Delete.
5142 2015-03-09 Pedro Alves <palves@redhat.com>
5144 Merge dg-extract-results.sh from GCC upstream (r218843).
5146 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5147 * dg-extract-results.sh: Use --text with grep to avoid issues with
5148 binary files. Fall back to cat -v, if that doesn't work.
5150 2015-03-05 Pedro Alves <palves@redhat.com>
5152 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5154 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5156 * lib/mi-support.exp (mi_expect_interrupt): Accept
5157 alternative event for when in all-stop mode.
5159 2015-03-04 Pedro Alves <palves@redhat.com>
5161 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5163 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5165 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5167 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5169 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5170 regexps for GDB's current line display, accept a hex address
5171 preceding the line number.
5173 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5175 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5176 the 'arch1' variable for "s390*-linux*" targets.
5178 2015-03-04 Pedro Alves <palves@redhat.com>
5180 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5181 (main): Pass missing retval argument to pthread_join call.
5183 2015-03-02 Pedro Alves <palves@redhat.com>
5185 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5186 (top level): Call do_test with non-stop as well.
5188 2015-03-02 Pedro Alves <palves@redhat.com>
5190 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5193 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5195 * gdb.arch/s390-vregs.exp: New test.
5196 * gdb.arch/s390-vregs.S: New file.
5198 2015-02-27 Pedro Alves <palves@redhat.com>
5200 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5201 call to catch_command_errors.
5202 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5203 catch_command_errors.
5205 2015-02-27 Pedro Alves <palves@redhat.com>
5207 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5208 "true" for boolean result.
5209 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5212 2015-02-27 Pedro Alves <palves@redhat.com>
5214 * lib/unbuffer_output.c: New file.
5215 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5216 (main): Call gdb_unbuffer_output.
5218 2015-02-27 Yao Qi <yao.qi@linaro.org>
5220 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5223 2015-02-26 Doug Evans <dje@google.com>
5225 * gdb.cp/class2.cc (Dbase, D): New classes.
5226 (main): New local delta.
5227 * gdb.cp/class2.exp: Test printing delta.
5228 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5229 (dynbar): New global.
5230 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5232 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5234 * gdb.compile/compile-ifunc.c: New file.
5235 * gdb.compile/compile-ifunc.exp: New file.
5237 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5239 * gdb.base/structs.exp: Check for correct struct on finish.
5241 2015-02-26 Yao Qi <yao.qi@linaro.org>
5243 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5246 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5248 * gdb.arch/cordic.ko.bz2: New file.
5249 * gdb.arch/cordic.ko.debug.bz2: New file.
5250 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5252 2015-02-25 Yao Qi <yao.qi@linaro.org>
5254 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5255 aarch64*-*-* target.
5257 2015-02-23 Pedro Alves <palves@redhat.com>
5259 * lib/gdb.exp (delete_breakpoints): Rewrite using
5262 2015-02-23 Pedro Alves <palves@redhat.com>
5264 * gdb.base/info-os.c: Include stdlib.h.
5266 2015-02-22 Doug Evans <xdje42@gmail.com>
5269 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5270 is read after symbols have been re-read.
5271 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5272 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5274 2015-02-21 Doug Evans <dje@google.com>
5276 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5278 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5281 * gdb.arch/i386-biarch-core.core.bz2: New file.
5282 * gdb.arch/i386-biarch-core.exp: New file.
5284 2015-02-21 Pedro Alves <palves@redhat.com>
5286 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5289 2015-02-20 Pedro Alves <palves@redhat.com>
5291 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5294 2015-02-20 Pedro Alves <palves@redhat.com>
5296 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5298 2015-02-20 Pedro Alves <palves@redhat.com>
5300 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5301 clean_restart before gdb_target_supports_trace.
5303 2015-02-20 Pedro Alves <palves@redhat.com>
5306 * gdb.threads/clone-thread_db.c: New file.
5307 * gdb.threads/clone-thread_db.exp: New file.
5309 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5311 PR breakpoints/16812
5312 * gdb.base/catch-gdb-caused-signals.c: New file.
5313 * gdb.base/catch-gdb-caused-signals.exp: New file.
5315 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5317 * configure: Regenerated.
5318 * configure.ac: Use GDB_AC_TRANSFORM.
5319 * aclocal.m4: sinclude ../transform.m4.
5321 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5323 * lib/dtrace.exp: New file.
5324 * gdb.base/dtrace-probe.exp: Likewise.
5325 * gdb.base/dtrace-probe.d: Likewise.
5326 * gdb.base/dtrace-probe.c: Likewise.
5327 * lib/pdtrace.in: Likewise.
5328 * configure.ac: Output variables with the transformed names of
5329 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5330 * configure: Regenerated.
5332 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5334 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5335 expected message when trying to access $_probe_* convenience
5336 variables while not on a probe.
5338 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5340 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5342 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5344 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5345 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5347 2015-02-10 Doug Evans <xdje42@gmail.com>
5349 * lib/gdb.exp (gdb_load): Always return a result.
5351 2015-02-10 Pedro Alves <palves@redhat.com>
5353 * gdb.threads/signal-sigtrap.c: New file.
5354 * gdb.threads/signal-sigtrap.exp: New file.
5356 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5358 * gdb.trace/no-attach-trace.c: New file.
5359 * gdb.trace/no-attach-trace.exp: New file.
5361 2015-02-09 Mark Wielaard <mjw@redhat.com>
5363 * gdb.dwarf2/atomic.c: New file.
5364 * gdb.dwarf2/atomic-type.exp: Likewise.
5366 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5368 * gdb.btrace/buffer-size.exp: Update "info record" output.
5369 * gdb.btrace/delta.exp: Update "info record" output.
5370 * gdb.btrace/enable.exp: Update "info record" output.
5371 * gdb.btrace/finish.exp: Update "info record" output.
5372 * gdb.btrace/instruction_history.exp: Update "info record" output.
5373 * gdb.btrace/next.exp: Update "info record" output.
5374 * gdb.btrace/nexti.exp: Update "info record" output.
5375 * gdb.btrace/step.exp: Update "info record" output.
5376 * gdb.btrace/stepi.exp: Update "info record" output.
5377 * gdb.btrace/nohist.exp: Update "info record" output.
5379 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5381 * gdb.btrace/buffer-size: New.
5383 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5385 * gdb.btrace/delta.exp: Update "info record" output.
5386 * gdb.btrace/enable.exp: Update "info record" output.
5387 * gdb.btrace/finish.exp: Update "info record" output.
5388 * gdb.btrace/instruction_history.exp: Update "info record" output.
5389 * gdb.btrace/next.exp: Update "info record" output.
5390 * gdb.btrace/nexti.exp: Update "info record" output.
5391 * gdb.btrace/step.exp: Update "info record" output.
5392 * gdb.btrace/stepi.exp: Update "info record" output.
5393 * gdb.btrace/nohist.exp: Update "info record" output.
5395 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5398 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5400 2015-02-06 Pedro Alves <palves@redhat.com>
5402 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5404 (seconds_left, again): New globals.
5405 (main): Wait seconds_left in a 1-second sleep loop instead of
5406 sleeping 180 seconds. If 'again' is set, reset the seconds
5408 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5409 'again' in the inferior before detaching. Print the seconds left.
5410 (options): New global.
5411 (top level): Build program with -DTIMEOUT=$timeout.
5413 2015-02-06 Pedro Alves <palves@redhat.com>
5415 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5416 determine how many seconds to pass to 'alarm'.
5417 * gdb.base/gdb-sigterm.exp (top level): Build program with
5419 (do_test): Return success/failure indication. Add more verbose
5420 logging. Don't fail if 200 single steps are seen. Instead, fail
5421 when the test times out.
5422 (passes): New global.
5423 (top level): Break the testing loop if testing fails on any
5424 iteration. Use gdb_assert.
5426 2015-02-04 Don Breazeal <donb@codesourcery.com>
5428 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5429 and initialize them.
5430 (ipc_cleanup): New function.
5431 (main): Don't declare shmid, semid, and msqid. Add a call to
5432 atexit so that we call ipc_cleanup on exit.
5434 2015-02-04 Pedro Alves <palves@redhat.com>
5436 * boards/native-extended-gdbserver.exp: Remove any target variant
5437 specifications from the board name before clearing the isremote
5438 flag from board_info.
5440 2015-01-31 Doug Evans <xdje42@gmail.com>
5442 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5444 2015-01-31 Gary Benson <gbenson@redhat.com>
5446 * gdb.base/completion.exp: Disable completion limiting for
5447 existing tests. Add new tests to check completion limiting.
5448 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5450 2015-01-31 Doug Evans <xdje42@gmail.com>
5452 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5454 2015-01-31 Doug Evans <xdje42@gmail.com>
5456 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5457 entries. Duplicate file section script entries.
5458 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5459 inlined entries. Add test for safe-path rejection.
5460 * gdb.python/py-section-script.c: Add duplicate inlined section script
5461 entries. Duplicate file section script entries.
5462 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5463 inlined entries. Add test for safe-path rejection.
5465 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5467 * gdb.ada/disc_arr_bound: New testcase.
5469 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5471 * gdb.ada/mi_var_array: New testcase.
5473 2015-01-27 Doug Evans <dje@google.com>
5475 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5476 Add test for objfile.filename, objfile.username after objfile
5479 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5481 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5482 the second test to print the name attribute of value
5483 returned by the call to gdb.lookup_type, and adjust
5484 the expected output accordingly.
5486 2015-01-25 Mark Wielaard <mjw@redhat.com>
5488 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5489 * gdb.base/disp-step-fork.c: Include unistd.h.
5490 * gdb.base/siginfo-obj.c: Include stdio.h.
5491 * gdb.base/siginfo-thread.c: Likewise.
5492 * gdb.mi/non-stop.c: Include unistd.h.
5493 * gdb.mi/nsthrexec.c: Include stdio.h.
5494 * gdb.mi/pthreads.c: Include unistd.h.
5495 * gdb.modula2/unbounded1.c (main): Declare returns int.
5496 * gdb.reverse/consecutive-reverse.c: Likewise.
5497 * gdb.threads/create-fail.c: Include unistd.h.
5498 * gdb.threads/killed.c: Likewise.
5499 * gdb.threads/linux-dp.c: Likewise.
5500 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5501 * gdb.threads/non-ldr-exc-2.c: Likewise.
5502 * gdb.threads/non-ldr-exc-3.c: Likewise.
5503 * gdb.threads/non-ldr-exc-4.c: Likewise.
5504 * gdb.threads/pthreads.c: Include unistd.h.
5505 (main): Declare returns int.
5506 * gdb.threads/tls-main.c (foo): New declaration.
5507 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5509 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5511 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5512 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5514 2015-01-15 Mark Wielaard <mjw@redhat.com>
5516 * gdb.base/noreturn-return.c: New file.
5517 * gdb.base/noreturn-return.exp: New file.
5518 * gdb.base/noreturn-finish.c: New file.
5519 * gdb.base/noreturn-finish.exp: New file.
5521 2015-01-23 Pedro Alves <palves@redhat.com>
5523 * gdb.threads/continue-pending-after-query.c: New file.
5524 * gdb.threads/continue-pending-after-query.exp: New file.
5526 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5527 Simon Marchi <simon.marchi@ericsson.com>
5529 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5530 * gdb.base/valgrind-db-attach.exp: Same.
5531 * gdb.base/valgrind-infcall.exp: Same.
5532 * lib/mi-support.exp (default_mi_gdb_start): Same.
5533 * lib/prompt.exp (default_prompt_gdb_start): Same.
5534 * lib/gdb.exp (default_gdb_spawn): Same.
5535 (gdb_interact): New.
5538 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5540 * gdb.compile/compile.exp (pointer to jit function): New test.
5542 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5544 * lib/gdb.exp (supports_process_record): Return true for
5546 (supports_reverse): Likewise.
5548 2015-01-15 Don Breazeal <donb@codesourcery.com>
5550 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5551 instead of checking whether the target board is remote and
5552 use spawn_wait_for_attach instead of exec/sleep.
5553 * gdb.base/attach-twice.exp: Likewise.
5555 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5557 * gdb.ada/var_arr_attrs: New testcase.
5559 2015-01-14 Pedro Alves <palves@redhat.com>
5560 Joel Brobecker <brobecker@adacore.com>
5563 * gdb.base/bp-cmds-execution-x-script.c: New file.
5564 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5565 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5567 2015-01-14 Pedro Alves <palves@redhat.com>
5570 * gdb.base/batch-preserve-term-settings.c: New file.
5571 * gdb.base/batch-preserve-term-settings.exp: New file.
5573 2015-01-13 Doug Evans <dje@google.com>
5575 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5578 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5580 * Makefile.in (clean mostlyclean): Do not delete *.py.
5582 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5584 * gdb.python/py-lookup-type.exp: New file.
5586 2015-01-12 Pedro Alves <palves@redhat.com>
5588 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5589 restore GDBFLAGS before returning.
5591 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5593 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5594 is_amd64_regs_target and is_x86_like_target.
5596 2015-01-11 Doug Evans <xdje42@gmail.com>
5598 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5599 is given without an explicit form.
5600 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5602 * gdb.dwarf/corrupt.exp: Ditto.
5603 * gdb.dwarf2/enum-type.exp: Ditto.
5604 * gdb.trace/entry-values.exp: Ditto.
5605 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5607 2015-01-11 Doug Evans <xdje42@gmail.com>
5610 * gdb.base/maint.exp: Remove references to "maint demangle".
5611 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5612 Add tests for explicitly specifying language to demangle.
5613 * gdb.dlang/demangle.exp: Ditto.
5615 2015-01-09 Pedro Alves <palves@redhat.com>
5617 * gdb.threads/non-stop-fair-events.c: New file.
5618 * gdb.threads/non-stop-fair-events.exp: New file.
5620 2015-01-09 Pedro Alves <palves@redhat.com>
5622 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5623 the global scope. Set a breakpoint after all threads are started
5624 rather than stepping over two source lines. Expect the prompt.
5625 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5628 (main): Use threads_started_barrier to wait for all threads to
5629 start. Main thread no longer calls thread_function. Exit after
5631 (loop): New function.
5632 (thread_function): Wait on threads_started_barrier barrier. Call
5633 'loop' at each iteration.
5634 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5635 threads have started, instead of hardcoding number of "next"
5636 steps. Use an access watchpoint instead of a write watchpoint.
5638 2015-01-09 Pedro Alves <palves@redhat.com>
5640 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5641 (thread_func): Wait on barrier.
5642 (main): Wait for all threads to start before stopping GDB.
5643 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5645 (thread1_func, thread2_func): Wait on barrier.
5646 (main): Wait for all threads to start before stopping GDB.
5647 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5649 (thread1_func, thread2_func): Wait on barrier.
5650 (main): Wait for all threads to start before stopping GDB.
5652 2015-01-09 Pedro Alves <palves@redhat.com>
5654 * gdb.threads/attach-many-short-lived-threads.c: New file.
5655 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5657 2014-01-09 Pedro Alves <palves@redhat.com>
5659 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5660 instead of to thread 2.
5661 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5662 Add barrier around each pthread_create call instead of around all
5664 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5665 Set a break on thread_function and have the child threads hit it
5668 2015-01-09 Pedro Alves <palves@redhat.com>
5670 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5671 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5673 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5674 checking whether the target board is remote.
5675 * gdb.multi/multi-attach.exp: Likewise.
5676 * gdb.python/py-sync-interp.exp: Likewise.
5677 * gdb.server/ext-attach.exp: Likewise.
5678 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5679 tests that need to attach, instead of checking whether the target
5680 board is remote at the top of the file.
5682 2015-01-08 Yao Qi <yao@codesourcery.com>
5684 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5686 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5688 Fix testcase compilation.
5689 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5691 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5693 * gdb.python/py-type.exp: Add a couple test about empty
5694 array creation, and negative-length array creation.
5696 2015-01-02 Doug Evans <xdje42@gmail.com>
5698 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5700 2015-01-02 Doug Evans <dje@google.com>
5702 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5704 2014-12-29 Yao Qi <yao@codesourcery.com>
5706 * gdb.trace/entry-values.exp: Update comments. Rename variable
5707 bar_call_foo to returned_from_foo.
5709 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5712 * gdb.linespec/break-asm-file.c: New file.
5713 * gdb.linespec/break-asm-file.exp: New file.
5714 * gdb.linespec/break-asm-file0.s: New file.
5715 * gdb.linespec/break-asm-file1.s: New file.
5717 2014-12-18 Nigel Stephens <nigel@mips.com>
5718 Maciej W. Rozycki <macro@codesourcery.com>
5720 * gdb.base/float.exp: Handle the new output from "info float" on
5723 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5725 Fix MinGW compilation.
5726 * gdb.compile/compile-ops.exp: Update untested message if
5727 !skip_compile_feature_tests.
5728 * gdb.compile/compile-setjmp.exp: Likewise.
5729 * gdb.compile/compile-tls.exp: Likewise.
5730 * gdb.compile/compile.exp: Likewise.
5731 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5732 supported on this host".
5734 2014-12-16 Doug Evans <xdje42@gmail.com>
5736 * boards/stabs.exp: New file.
5738 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5740 * gdb.base/completion.exp: Adjust to format changes of "maint
5741 print user-registers".
5743 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5746 * gdb.arch/aarch64-fp.c: New file.
5747 * gdb.arch/aarch64-fp.exp: New file.
5749 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5751 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5752 r210637, r210913, r211666, r215400, r215817).
5754 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5755 * dg-extract-results.py: New file.
5756 * dg-extract-results.sh: Use it if the environment seems
5759 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5761 * dg-extract-results.py (parse_run): Handle warnings that
5762 are printed before a test harness is run.
5764 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5766 * dg-extract-results.py (Named): Remove __cmp__ method.
5767 (output_variation): Use a key to sort variation.harnesses.
5769 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5771 * dg-extract-results.py: For Python 3, force sys.stdout to
5772 handle surrogate escape sequences.
5773 (safe_open): New function.
5774 (output_segment, main): Use it.
5776 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5778 * dg-extract-results.py (Prog.result_re): Include options
5781 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5783 * dg-extract-results.py (output_variation): Always sort if
5786 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5788 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5789 as long as we get pagination notifications.
5791 2014-12-15 Jason Merrill <jason@redhat.com>
5793 * Makefile.in (check-gdb.%): Restore.
5794 * README: Mention it.
5796 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5798 * gdb.ada/str_uninit: New testcase.
5800 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5803 * gdb.base/vla-stub-define.c: New file.
5804 * gdb.base/vla-stub.c: New file.
5805 * gdb.base/vla-stub.exp: New file.
5807 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5808 Jan Kratochvil <jan.kratochvil@redhat.com>
5809 Tom Tromey <tromey@redhat.com>
5811 * configure.ac: Add gdb.compile/.
5812 * configure: Regenerate.
5813 * gdb.compile/Makefile.in: New file.
5814 * gdb.compile/compile-ops.exp: New file.
5815 * gdb.compile/compile-ops.c: New file.
5816 * gdb.compile/compile-tls.c: New file.
5817 * gdb.compile/compile-tls.exp: New file.
5818 * gdb.compile/compile-constvar.S: New file.
5819 * gdb.compile/compile-constvar.c: New file.
5820 * gdb.compile/compile-mod.c: New file.
5821 * gdb.compile/compile-nodebug.c: New file.
5822 * gdb.compile/compile-setjmp-mod.c: New file.
5823 * gdb.compile/compile-setjmp.c: New file.
5824 * gdb.compile/compile-setjmp.exp: New file.
5825 * gdb.compile/compile-shlib.c: New file.
5826 * gdb.compile/compile.c: New file.
5827 * gdb.compile/compile.exp: New file.
5828 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5830 2014-12-12 Tom Tromey <tromey@redhat.com>
5832 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5833 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5835 2014-12-12 Doug Evans <dje@google.com>
5837 * lib/gdb-python.exp (get_python_valueof): New function.
5838 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5840 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5842 * gdb.base/completion.exp: Add test for completion of "info
5845 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5847 * gdb.base/func-ptrs.c: New file.
5848 * gdb.base/func-ptrs.exp: New file.
5850 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5852 PR breakpoints/17012
5853 * gdb.base/dprintf-detach.c: New file.
5854 * gdb.base/dprintf-detach.exp: New file.
5856 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5858 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5859 * lib/gdb.exp (target_is_gdbserver): New procedure.
5861 2014-12-08 Doug Evans <dje@google.com>
5863 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5865 2014-12-05 Yao Qi <yao@codesourcery.com>
5867 * gdb.guile/scm-error.exp: Remove the third argument to
5868 gdb_remote_download.
5869 * gdb.guile/scm-frame-args.exp: Likewise.
5870 * gdb.guile/scm-section-script.exp: Likewise.
5872 2014-12-05 Yao Qi <yao@codesourcery.com>
5874 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5876 2014-12-04 Doug Evans <dje@google.com>
5878 * gdb.python/py-objfile.exp: Add tests for
5879 objfile.add_separate_debug_file.
5881 2014-12-04 Doug Evans <dje@google.com>
5883 * lib/gdb.exp (get_build_id): New function.
5884 (build_id_debug_filename_get): Rewrite to use it.
5885 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5887 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5889 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5890 `method(long)', not just 0x0.
5891 * gdb.cp/nsalias.exp: Align code labels to 4.
5892 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5893 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5894 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5895 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5896 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5897 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5899 2014-12-02 Doug Evans <dje@google.com>
5902 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5903 * gdb.cp/anon-ns2.cc: ... here. New file.
5904 * gdb.cp/anon-ns.exp: Update.
5906 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5908 * gdb.python/py-events.py (inferior_call_handler): New.
5909 (register_changed_handler, memory_changed_handler): New.
5910 (test_events.invoke): Register new handlers.
5911 * gdb.python/py-events.exp: Add tests for inferior call,
5912 memory_changed and register_changed events.
5914 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5916 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5917 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5918 if the linker doesn't understand this.
5920 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5922 * gdb.python/python.exp: Change expected reply to help().
5924 2014-12-01 Yao Qi <yao@codesourcery.com>
5926 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5927 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5928 * configure: Re-generated.
5930 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5932 * gdb.cp/chained-calls.cc: New file.
5933 * gdb.cp/chained-calls.exp: New file.
5934 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5936 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5938 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5939 * gdb.dwarf2/symtab-producer.exp: Same.
5940 * gdb.gdb/python-interrupts.exp: Same.
5941 * gdb.gdb/python-selftest.exp: Same.
5942 * gdb.python/py-linetable.exp: Same.
5943 * gdb.python/py-type.exp: Same.
5944 * gdb.python/py-value-cc.exp: Same.
5945 * gdb.python/py-value.exp: Same.
5947 2014-11-28 Yao Qi <yao@codesourcery.com>
5949 * gdb.base/break-probes.exp: Match library name prefixed with
5952 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5954 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5955 test expected output. Add parentheses for the call to print.
5956 Remove L suffix from integers.
5958 2014-11-26 Doug Evans <dje@google.com>
5960 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5962 2014-11-22 Yao Qi <yao@codesourcery.com>
5964 * gdb.trace/entry-values.c: Remove asms.
5965 (foo): Add foo_label.
5966 (bar): Add bar_label.
5967 * gdb.trace/entry-values.exp: Remove code computing foo's
5968 length and bar's length.
5969 (Dwarf::assemble): Invoke function_range for bar and use
5970 MACRO_AT_func for foo.
5972 2014-11-22 Yao Qi <yao@codesourcery.com>
5974 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5975 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5976 Use .Lgcc43_procstart instead of gcc43.
5978 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5980 * gdb.ada/n_arr_bound: New testcase.
5982 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5984 PR breakpoints/10737
5985 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5986 test_catch_syscall_multi_arch.
5987 (test_catch_syscall_multi_arch): New function.
5989 2014-11-20 Doug Evans <xdje42@gmail.com>
5991 * gdb.base/maint.exp: Update expected output.
5993 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5995 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5996 4-byte instruction on S390.
5998 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6000 * gdb.ada/arr_arr: New testcase.
6002 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6004 * gdb.ada/pkd_arr_elem: New Testcase.
6006 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6008 * gdb.reverse/break-precsave: Expect completion message for
6010 * gdb.reverse/consecutive-precsave.exp: Likewise.
6011 * gdb.reverse/finish-precsave.exp: Likewise.
6012 * gdb.reverse/i386-precsave.exp: Likewise.
6013 * gdb.reverse/machinestate-precsave.exp: Likewise.
6014 * gdb.reverse/sigall-precsave.exp: Likewise.
6015 * gdb.reverse/solib-precsave.exp: Likewise.
6016 * gdb.reverse/step-precsave.exp: Likewise.
6017 * gdb.reverse/until-precsave.exp: Likewise.
6018 * gdb.reverse/watch-precsave.exp: Likewise.
6020 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6022 * gdb.base/bp-permanent.c: Include unistd.h.
6023 * gdb.python/py-framefilter-mi.c (main): Add return type.
6024 * gdb.python/py-framefilter.c (main): Likewise.
6025 * gdb.trace/actions-changed.c (main): Likewise.
6027 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6029 * gdb.mi/until.c: Add eye-catchers.
6030 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6033 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6035 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6036 function header variants in break1.c.
6037 * gdb.base/ena-dis-br.exp: Likewise.
6038 * gdb.base/hbreak2.exp: Likewise.
6039 * gdb.reverse/until-precsave.exp: Drop references to removed
6040 non-prototype function header variants in ur1.c.
6041 * gdb.reverse/until-reverse.exp: Likewise.
6043 2014-11-17 Petr Machata <pmachata@redhat.com>
6045 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6046 ${_cu_offset_size} bytes abbrev offset.
6048 2014-11-15 Doug Evans <xdje42@gmail.com>
6051 * gdb.base/line-symtabs.exp: New file.
6052 * gdb.base/line-symtabs.c: New file.
6053 * gdb.base/line-symtabs.h: New file.
6055 2014-11-14 Yao Qi <yao@codesourcery.com>
6057 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6058 (func): Add label func_label.
6059 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6060 Replace low_pc and high_pc with MACRO_AT_range.
6061 Replace name, low_pc and high_pc with MACRO_AT_func.
6063 2014-11-14 Yao Qi <yao@codesourcery.com>
6065 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6066 Replace name, low_pc and high_pc with MACRO_AT_func.
6068 2014-11-14 Yao Qi <yao@codesourcery.com>
6070 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6071 produce debug information.
6072 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6074 2014-11-14 Yao Qi <yao@codesourcery.com>
6076 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6077 object and get function length.
6078 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6080 (top-level): Replace gdb_compile and clean_restart with
6081 prepare_for_testing.
6082 * gdb.dwarf2/main.c (main): Add label main_label.
6084 2014-11-14 Yao Qi <yao@codesourcery.com>
6086 * lib/dwarf.exp (function_range): New procedure.
6087 (Dwarf::_handle_macro_at_func): New procedure.
6088 (Dwarf::_handle_macro_at_range): New procedure.
6089 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6091 2014-11-14 Yao Qi <yao@codesourcery.com>
6093 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6094 (_handle_attribute): New procedure.
6096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6099 * gdb.base/call-sc.c (zed): Likewise.
6100 * gdb.base/checkpoint.c (main): Likewise.
6101 * gdb.base/dump.c (main): Likewise.
6102 * gdb.base/gcore.c (main): Likewise.
6103 * gdb.base/huge.c (main): Likewise.
6104 * gdb.base/multi-forks.c (main): Likewise.
6105 * gdb.base/pr10179-a.c (main): Likewise.
6106 * gdb.base/savedregs.c (main): Likewise.
6107 * gdb.base/sigaltstack.c (main): Likewise.
6108 * gdb.base/siginfo.c (main): Likewise.
6109 * gdb.base/structs.c (zed): Likewise.
6110 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6111 * gdb.mi/mi-syn-frame.c (main): Likewise.
6112 * gdb.mi/until.c (foo, main): Likewise.
6113 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6114 * gdb.base/solib-weak.c (foo): Declare.
6115 * gdb.base/attach-twice.c: Include stdio.h.
6116 * gdb.base/weaklib1.c: Likewise.
6117 * gdb.base/weaklib2.c: Likewise.
6118 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6119 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6121 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6122 * gdb.mi/mi-exit-code.c: Likewise.
6123 * gdb.base/break-interp-lib.c: Include string.h.
6124 * gdb.base/coremaker.c: Likewise.
6125 * gdb.base/testenv.c: Likewise.
6126 * gdb.python/py-finish-breakpoint.c: Likewise.
6127 * gdb.base/inferior-died.c: Include sys/wait.h.
6128 * gdb.base/fileio.c: Include time.h.
6129 * gdb.base/async-shell.c: Include unistd.h.
6130 * gdb.base/dprintf-non-stop.c: Likewise.
6131 * gdb.base/info-os.c: Likewise.
6132 * gdb.mi/mi-console.c: Likewise.
6133 * gdb.mi/watch-nonstop.c: Likewise.
6134 * gdb.python/py-events.c: Likewise.
6135 * gdb.base/async.c (baz): Move up before its invocation.
6136 * gdb.base/code_elim2.c (my_global_func): Likewise.
6137 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6138 * gdb.base/advance.c (func2): Likewise.
6140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6142 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6144 * gdb.base/annota3.c: Likewise.
6145 * gdb.base/async.c: Likewise.
6146 * gdb.base/average.c: Likewise.
6147 * gdb.base/call-ar-st.c: Likewise.
6148 * gdb.base/call-rt-st.c: Likewise.
6149 * gdb.base/call-sc.c: Likewise.
6150 * gdb.base/call-strs.c: Likewise.
6151 * gdb.base/ending-run.c: Likewise.
6152 * gdb.base/execd-prog.c: Likewise.
6153 * gdb.base/exprs.c: Likewise.
6154 * gdb.base/foll-exec.c: Likewise.
6155 * gdb.base/foll-fork.c: Likewise.
6156 * gdb.base/foll-vfork.c: Likewise.
6157 * gdb.base/funcargs.c: Likewise.
6158 * gdb.base/gcore.c: Likewise.
6159 * gdb.base/jump.c: Likewise.
6160 * gdb.base/langs0.c: Likewise.
6161 * gdb.base/langs1.c: Likewise.
6162 * gdb.base/langs2.c: Likewise.
6163 * gdb.base/mips_pro.c: Likewise.
6164 * gdb.base/nodebug.c: Likewise.
6165 * gdb.base/opaque0.c: Likewise.
6166 * gdb.base/opaque1.c: Likewise.
6167 * gdb.base/recurse.c: Likewise.
6168 * gdb.base/run.c: Likewise.
6169 * gdb.base/scope0.c: Likewise.
6170 * gdb.base/scope1.c: Likewise.
6171 * gdb.base/setshow.c: Likewise.
6172 * gdb.base/setvar.c: Likewise.
6173 * gdb.base/shmain.c: Likewise.
6174 * gdb.base/shr1.c: Likewise.
6175 * gdb.base/shr2.c: Likewise.
6176 * gdb.base/sigall.c: Likewise.
6177 * gdb.base/signals.c: Likewise.
6178 * gdb.base/so-indr-cl.c: Likewise.
6179 * gdb.base/solib2.c: Likewise.
6180 * gdb.base/structs.c: Likewise.
6181 * gdb.base/sum.c: Likewise.
6182 * gdb.base/vforked-prog.c: Likewise.
6183 * gdb.base/watchpoint.c: Likewise.
6184 * gdb.reverse/shr2.c: Likewise.
6185 * gdb.reverse/until-reverse.c: Likewise.
6186 * gdb.reverse/ur1.c: Likewise.
6187 * gdb.reverse/watch-reverse.c: Likewise.
6189 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6191 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6193 * gdb.base/sepdebug.exp: Drop references to removed code.
6195 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6197 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6198 variant. Preserve original line numbering.
6199 * gdb.base/list1.c: Likewise.
6201 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6203 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6205 * gdb.base/break1.c: Likewise.
6206 * gdb.base/break.exp: Drop references to removed code.
6208 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6210 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6215 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6217 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6219 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6220 logic into perform_all_tests() and invoke it with and without
6221 function header prototypes.
6222 (do_function_calls): Remove conditional XFAIL for PR 5318.
6223 (rerun_and_prepare): Remove duplicate code.
6224 (perform_all_tests): New. Main logic moved here.
6226 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6228 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6229 code guarded by #ifdef NO_PROTOTYPES.
6230 (t_double_many_args): Likewise.
6231 (DEF_FUNC_MANY_ARGS_1): Likewise.
6232 (DEF_FUNC_VALUES_1): Likewise.
6233 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6234 guarded by #ifdef PROTOTYPES.
6236 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6238 * gdb.mi/mi-console.c: Add eye-catcher.
6239 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6240 instead of literal line number.
6242 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6244 * gdb.base/shr2.c: Add eye-catcher.
6245 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6248 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6250 * gdb.base/jump.c: Add eye-catchers.
6251 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6256 * gdb.base/execd-prog.c: Add eye-catchers.
6257 * gdb.base/foll-exec.c: Likewise.
6258 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6263 * gdb.base/ending-run.c: Add eye-catchers.
6264 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6265 literal line numbers.
6267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6269 * gdb.base/call-rt-st.c: Add eye-catchers.
6270 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6271 literal line numbers.
6273 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6275 * gdb.base/call-ar-st.c: Add eye-catchers.
6276 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6277 literal line numbers.
6279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6281 * gdb.base/average.c: Add eye-catchers.
6282 * gdb.base/sum.c: Likewise.
6283 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6284 regexps dynamically.
6286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6288 * gdb.base/solib1.c: Add eye-catchers.
6289 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6290 literal line numbers.
6292 2014-11-12 Pedro Alves <palves@redhat.com>
6294 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6297 2014-11-12 Pedro Alves <palves@redhat.com>
6299 * gdb.arch/i386-bp_permanent.c: New file.
6300 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6301 (srcfile): Set to i386-bp_permanent.c.
6302 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6303 that stepi does not execute the 'leave' instruction, instead of
6304 testing it does execute.
6305 * gdb.base/bp-permanent.c: New file.
6306 * gdb.base/bp-permanent.exp: New file.
6308 2014-11-10 Doug Evans <xdje42@gmail.com>
6311 * gdb.base/symtab-search-order.exp: New file.
6312 * gdb.base/symtab-search-order.c: New file.
6313 * gdb.base/symtab-search-order-1.c: New file.
6314 * gdb.base/symtab-search-order-shlib-1.c: New file.
6316 2014-11-07 Pedro Alves <palves@redhat.com>
6319 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6322 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6325 * gdb.cp/pr17494.cc: New file.
6326 * gdb.cp/pr17494.exp: New file.
6328 2014-11-02 Yao Qi <yao@codesourcery.com>
6330 * gdb.python/python.exp: Get working directory and match the
6331 output of "set extended-prompt \\w " with it.
6333 2014-10-30 Doug Evans <dje@google.com>
6335 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6337 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6340 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6342 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6343 * gdb.base/realname-expand.exp: Likewise.
6344 * gdb.linespec/macro-relative.exp: Likewise.
6346 2014-10-29 Pedro Alves <palves@redhat.com>
6349 * gdb.threads/schedlock.c (some_function): New function.
6350 (call_function): New global.
6351 (MAYBE_CALL_SOME_FUNCTION): New macro.
6352 (thread_function): Call it.
6353 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6354 and use it instead of a global counter. Adjust all callers.
6355 (get_current_thread): Use "find current thread" for test message
6356 here rather than having all callers pass down the same string.
6357 (goto_loop): New procedure, factored out from ...
6358 (my_continue): ... this.
6359 (step_ten_loops): Change parameter from test message to command to
6361 (list_count): Delete global.
6362 (check_result): New procedure, factored out from duplicate top
6364 (continue tests): Wrap in with_test_prefix.
6365 (test_step): New procedure, factored out from duplicate top level
6367 (top level): Test "step" in combination with all scheduler-locking
6368 modes. Test "next" in combination with all scheduler-locking
6369 modes, and in combination with stepping over a function call or
6371 * gdb.threads/next-bp-other-thread.c: New file.
6372 * gdb.threads/next-bp-other-thread.exp: New file.
6374 2014-10-29 Pedro Alves <palves@redhat.com>
6377 * gdb.python/python.exp: Test a multi-line command that spawns
6379 * gdb.base/multi-line-starts-subshell.exp: New file.
6381 2014-10-29 Yao Qi <yao@codesourcery.com>
6383 * gdb.base/fileio.exp: Make directories on host.
6385 2014-10-29 Yao Qi <yao@codesourcery.com>
6387 * gdb.base/fileio.c (test_write): Close the file.
6389 2014-10-28 Pedro Alves <palves@redhat.com>
6392 * gdb.base/sigstep.c (no_handler): New global.
6393 (main): If 'no_handler is true, set the signal handlers to
6395 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6396 with_sw_watch and no_handler parameters. Handle them.
6397 (top level) <stepping over handler when stopped at a breakpoint
6398 test>: Add a test axis for testing with a software watchpoint, and
6399 another for testing with the signal handler set to SIG_IGN.
6400 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6401 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6403 2014-10-28 Pedro Alves <palves@redhat.com>
6406 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6407 * gdb.base/sigstep.exp (other_handler_location): New global.
6408 (advance): Support stepping into the signal handler, and running
6409 commands while in the handler.
6410 (in_handler_map): New global.
6411 (top level): In the advance test, add combinations for getting
6412 into the handler with stepping commands, and for running commands
6413 in the handler. Add comment descripting the advancei tests.
6415 2014-10-28 Pedro Alves <palves@redhat.com>
6417 * gdb.base/sigstep.exp: Use build_executable instead of
6418 prepare_for_testing.
6419 (top level): Move code that starts GDB, runs to main and creates a
6421 (restart): ... this new procedure.
6422 (top level): Move backtrace from signal handler test to ...
6423 (validate_backtrace): ... this new procedure.
6424 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6425 with_test_prefix. Always restart GDB.
6426 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6427 with_test_prefix. Always restart GDB. No need to delete
6428 breakpoints after the test.
6429 (test_skip_handler): Remove prefix parameter.
6430 (skip_over_handler, breakpoint_to_handler)
6431 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6432 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6433 restart GDB. No need to delete breakpoints after the test.
6434 (top level): Use foreach to call the test procedures with
6437 2014-10-28 Pedro Alves <palves@redhat.com>
6439 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6440 instead of GNATS numbers.
6441 * gdb.base/sigbpt.exp: Likewise.
6442 * gdb.base/siginfo.exp: Likewise.
6443 * gdb.base/sigstep.exp: Likewise.
6445 2014-10-27 Pedro Alves <palves@redhat.com>
6447 * gdb.base/sigstep.c (dummy): New global.
6448 (main): Issue a couple writes to the new global.
6449 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6451 (skip_over_handler): Use test_skip_handler.
6452 (top level): Call skip_over_handler for stepi and nexti too.
6453 (breakpoint_over_handler): Use test_skip_handler.
6454 (top level): Call breakpoint_over_handler for stepi and nexti too.
6456 2014-10-27 Yao Qi <yao@codesourcery.com>
6458 * gdb.trace/tfile.c (adjust_function_address)
6459 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6460 function descriptor.
6462 2014-10-24 Don Breazeal <donb@codesourcery.com>
6464 * gdb.base/foll-fork.exp (test_follow_fork,
6465 catch_fork_child_follow): Check for updated fork messages emitted
6467 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6468 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6469 vfork_and_exec_child_follow_through_step): Check for updated vfork
6470 messages emitted from infrun.c.
6472 2014-10-24 Pedro Alves <palves@redhat.com>
6474 * gdb.base/corefile.exp: Remove references to ultrix.
6475 * gdb.base/interrupt.exp: Likewise.
6476 * gdb.base/whatis.exp: Likewise.
6477 * gdb.gdb/selftest.exp: Likewise.
6478 * gdb.threads/manythreads.exp: Likewise.
6479 * gdb.threads/print-threads.exp: Likewise.
6480 * gdb.threads/pthreads.exp:: Likewise.
6481 * gdb.threads/schedlock.exp: Likewise.
6483 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6485 * gdb.cp/non-trivial-retval.cc: Add a test case.
6486 * gdb.cp/non-trivial-retval.exp: Add a test.
6488 2014-10-20 Yao Qi <yao@codesourcery.com>
6490 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6491 * gdb.python/py-objfile-script-gdb.py: New file.
6492 * gdb.python/py-objfile-script.exp: Update reference to
6493 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6494 of remote_download. Remove the dest file.
6496 2014-10-20 Yao Qi <yao@codesourcery.com>
6498 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6499 * gdb.base/step-line.exp: Likewise.
6500 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6501 * gdb.dwarf2/dw2-basic.exp: Likewise.
6502 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6503 * gdb.dwarf2/dw2-filename.exp: Likewise.
6504 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6505 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6506 * gdb.dwarf2/dw2-producer.exp: Likewise.
6507 * gdb.dwarf2/mac-fileno.exp: Likewise.
6508 * gdb.python/py-frame-args.exp: Likewise.
6509 * gdb.python/py-framefilter.exp: Likewise.
6510 * gdb.python/py-mi.exp: Likewise.
6511 * gdb.python/py-objfile-script.exp: Likewise
6512 * gdb.python/py-pp-integral.exp: Likewise.
6513 * gdb.python/py-pp-re-notag.exp: Likewise.
6514 * gdb.python/py-prettyprint.exp: Likewise.
6515 * gdb.python/py-section-script.exp: Likewise.
6516 * gdb.python/py-typeprint.exp: Likewise.
6517 * gdb.python/py-xmethods.exp: Likewise.
6518 * gdb.stabs/weird.exp: Likewise.
6519 * gdb.xml/tdesc-regs.exp: Likewise.
6521 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6523 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6524 (out_cu): Use addr_len for the size of addresses.
6525 (out_line): Likewise. Size DW_LNE_set_address instruction
6526 according to addr_len.
6527 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6528 (FUNC): Add START_INSNS to definition.
6530 2014-10-18 Yao Qi <yao@codesourcery.com>
6532 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6533 gdb_has_argv0 return true.
6534 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6535 check [target_info exists noargs], check [gdb_has_argv0]
6537 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6538 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6541 2014-10-17 Doug Evans <dje@google.com>
6543 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6545 * gdb.python/py-events.py: Add clear_objfiles event.
6547 2014-10-17 Doug Evans <dje@google.com>
6549 * gdb.python/py-objfile.exp: Test progspace attribute.
6551 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6553 * gdb.guile/scm-breakpoint.exp: Do not assume any
6554 directory separators when matching source file paths.
6555 * gdb.python/py-breakpoint.exp: Likewise.
6556 * gdb.reverse/break-precsave.exp: Likewise.
6557 * gdb.reverse/break-reverse.exp: Likewise.
6558 * gdb.reverse/consecutive-precsave.exp: Likewise.
6559 * gdb.reverse/finish-precsave.exp: Likewise.
6560 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6561 * gdb.reverse/finish-reverse.exp: Likewise.
6562 * gdb.reverse/i386-precsave.exp: Likewise.
6563 * gdb.reverse/i387-env-reverse.exp: Likewise.
6564 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6565 * gdb.reverse/machinestate-precsave.exp: Likewise.
6566 * gdb.reverse/machinestate.exp: Likewise.
6567 * gdb.reverse/sigall-precsave.exp: Likewise.
6568 * gdb.reverse/solib-precsave.exp: Likewise.
6569 * gdb.reverse/step-precsave.exp: Likewise.
6570 * gdb.reverse/until-precsave.exp: Likewise.
6571 * gdb.reverse/watch-precsave.exp: Likewise.
6572 * gdb.reverse/watch-reverse.exp: Likewise.
6574 2014-10-17 Yao Qi <yao@codesourcery.com>
6576 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6577 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6579 2014-10-17 Pedro Alves <palves@redhat.com>
6582 * gdb.base/bg-execution-repeat.c: New file.
6583 * gdb.base/bg-execution-repeat.exp: New file.
6585 2014-10-17 Pedro Alves <palves@redhat.com>
6588 * gdb.base/continue-all-already-running.c: New file.
6589 * gdb.base/continue-all-already-running.exp: New file.
6591 2014-10-17 Pedro Alves <palves@redhat.com>
6594 * gdb.base/annota-input-while-running.c: New file.
6595 * gdb.base/annota-input-while-running.exp: New file.
6597 2014-10-17 Pedro Alves <palves@redhat.com>
6599 * gdb.base/callfuncs.exp: emove references to osf.
6600 * gdb.base/sigall.exp: Likewise.
6601 * gdb.gdb/selftest.exp: Likewise.
6602 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6603 * gdb.mi/non-stop.c: Likewise.
6604 * gdb.mi/pthreads.c: Likewise.
6605 * gdb.reverse/sigall-precsave.exp: Likewise.
6606 * gdb.reverse/sigall-reverse.exp: Likewise.
6607 * gdb.threads/pthreads.c: Likewise.
6608 * gdb.threads/pthreads.exp: Likewise.
6610 2014-10-17 Yao Qi <yao@codesourcery.com>
6612 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6613 check 'target_info exists noargs'.
6614 (test_command_prompt_position): Likewise.
6615 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6617 (progvar_simple_while_test): Likewise.
6618 (progvar_complex_if_while_test): Likewise.
6619 (if_while_breakpoint_command_test): Likewise.
6620 (infrun_breakpoint_command_test): Likewise.
6621 (breakpoint_command_test): Likewise.
6622 (watchpoint_command_test): Likewise.
6623 (bp_deleted_in_command_test): Likewise.
6624 (temporary_breakpoint_commands): Likewise.
6626 2014-10-16 Yao Qi <yao@codesourcery.com>
6628 * gdb.base/remotetimeout.exp: Remove noargs checking.
6630 2014-10-15 Pedro Alves <palves@redhat.com>
6633 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6634 * gdb.base/breakpoint-in-ro-region.exp
6635 (probe_target_hardware_step): New procedure.
6636 (top level): Probe hardware stepping and hardware breakpoint
6637 support. Test stepping through a read-only region, with both
6638 "breakpoint auto-hw" on and off and both "always-inserted" on and
6641 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6643 * gdb.dlang/demangle.exp: Update for demangling changes.
6645 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6647 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6648 * gdb.cp/non-trivial-retval.exp: Add new tests.
6650 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6654 * gdb.cp/non-trivial-retval.cc: New file.
6655 * gdb.cp/non-trivial-retval.exp: New file.
6657 2014-10-15 Yao Qi <yao@codesourcery.com>
6659 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6662 2014-10-15 Yao Qi <yao@codesourcery.com>
6664 * gdb.python/py-symbol.exp: Match file base name if host is
6665 remote, otherwise match file name with dir name.
6666 * gdb.python/py-symtab.exp: Likewise.
6667 * gdb.python/python.exp: Likewise.
6669 2014-10-15 Yao Qi <yao@codesourcery.com>
6671 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6673 * gdb.python/py-symtab.exp: Likewise.
6674 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6677 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6679 * gdb.ada/addr_arith: New testcase.
6681 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6683 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6684 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6685 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6686 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6688 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6690 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6691 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6692 * gdb.arch/stap-eval-lang-ada.exp: New file.
6694 2014-10-14 Yao Qi <yao@codesourcery.com>
6696 * gdb.mi/mi-var-child.c (nothing1): New function.
6697 (nothing2): New function.
6698 (do_children_tests): Set function pointers by nothing1 and
6700 * gdb.mi/mi-var-child.exp: Step over new added statements.
6701 Update test to match the new output.
6702 * gdb.mi/var-cmd.c (nothing1): New function.
6703 (nothing2): New function.
6704 (do_children_tests): Set function pointers by nothing1 and
6706 * gdb.mi/mi-var-display.exp: Update test to match output.
6707 Step to the line specified by $line_dct_nothing.
6708 Increase the number of lines to step.
6710 2014-10-14 Yao Qi <yao@codesourcery.com>
6712 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6714 * gdb.mi/mi2-var-child.exp: Likewise.
6716 2014-10-13 Doug Evans <dje@google.com>
6718 * gdb.python/py-objfile.exp: Change name of file name test.
6720 2014-10-13 Doug Evans <dje@google.com>
6722 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6723 from the start of the CU.
6725 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6726 Yao Qi <yao@codesourcery.com>
6728 Fix "save breakpoints" for "catch" command.
6729 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6730 Remove -nonewline. Match also the added "main" line.
6732 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6734 Fix "save breakpoints" for "disable $bpnum" command.
6735 * gdb.base/save-bp.c (main): Add label.
6736 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6738 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6740 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6742 2014-10-11 Yao Qi <yao@codesourcery.com>
6744 * gdb.server/server-kill.exp: Execute command
6745 "set remote trace-status-packet on" before "tstatus".
6747 2014-10-11 Yao Qi <yao@codesourcery.com>
6749 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6750 (main): Call getppid.
6751 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6752 and continue to it. Read variable "server_pid".
6754 2014-10-11 Yao Qi <yao@codesourcery.com>
6756 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6758 2014-10-11 Yao Qi <yao@codesourcery.com>
6760 * gdb.threads/thread-find.exp: Don't execute command
6762 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6763 * gdb.threads/linux-dp.exp: Don't check the condition
6764 $threads_created equals to zero.
6766 2014-10-10 Pedro Alves <palves@redhat.com>
6768 * gdb.base/bigcore.exp: Remove references to IRIX.
6769 * gdb.base/funcargs.exp: Likewise.
6770 * gdb.base/interrupt.exp: Likewise.
6771 * gdb.base/mips_pro.exp: Likewise.
6772 * gdb.base/nodebug.exp: Likewise.
6773 * gdb.base/setvar.exp: Likewise.
6774 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6776 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6777 Pedro Alves <palves@redhat.com>
6780 * gdb.base/vdso-warning.c: New file.
6781 * gdb.base/vdso-warning.exp: New file.
6783 2014-10-02 Doug Evans <dje@google.com>
6785 * gdb.base/structs.c (main): Don't run forever.
6787 2014-10-02 Pedro Alves <palves@redhat.com>
6789 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6790 (top level) <stop threads 1, stop threads 2>: Use it.
6792 2014-10-02 Pedro Alves <palves@redhat.com>
6794 * gdb.threads/break-while-running.exp (test): Add new
6795 'update_thread_list' argument. Skip "info threads" if false.
6796 (top level): Add new 'update_thread_list' axis.
6798 2014-10-02 Pedro Alves <palves@redhat.com>
6800 PR breakpoints/17431
6801 * gdb.base/execl-update-breakpoints.c: New file.
6802 * gdb.base/execl-update-breakpoints.exp: New file.
6804 2014-10-01 Pedro Alves <palves@redhat.com>
6806 * gdb.base/breakpoint-in-ro-region.c: New file.
6807 * gdb.base/breakpoint-in-ro-region.exp: New file.
6809 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6811 * gdb.mi/mi-exit-code.exp: New file.
6812 * gdb.mi/mi-exit-code.c: New file.
6814 2014-09-30 Yao Qi <yao@codesourcery.com>
6816 * lib/prelink-support.exp (build_executable_own_libs): Error if
6817 the target isn't native.
6819 2014-09-30 Yao Qi <yao@codesourcery.com>
6821 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6824 2014-09-22 Pedro Alves <palves@redhat.com>
6826 * gdb.threads/break-while-running.exp: New file.
6827 * gdb.threads/break-while-running.c: New file.
6829 2014-09-19 Yao Qi <yao@codesourcery.com>
6831 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6832 Invoke test. Restart GDB with --readnow and invoke test again.
6834 2014-09-19 Yao Qi <yao@codesourcery.com>
6836 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6837 proc set_breakpoint_on_gcd_function. Invoke
6838 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6839 invoke set_breakpoint_on_gcd_function again.
6841 2014-09-18 Doug Evans <dje@google.com>
6843 * gdb.dwarf2/symtab-producer.exp: New file.
6845 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6847 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6848 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6849 * gdb.base/global-var-nested-by-dso.c: Likewise.
6850 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6852 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6853 Pedro Alves <palves@redhat.com>
6855 * gdb.base/watch-bitfields.exp: Pass string other than test file
6856 name to prepare_for_testing.
6857 (watch): New procedure.
6858 (expect_watchpoint): Use with_test_prefix.
6859 (top level): Factor out tests to ...
6860 (test_watch_location, test_regular_watch): ... these new
6861 procedures, and use with_test_prefix and gdb_continue_to_end.
6863 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6865 PR breakpoints/12526
6866 * gdb.base/watch-bitfields.exp: New file.
6867 * gdb.base/watch-bitfields.c: New file.
6869 2014-09-16 Pedro Alves <palves@redhat.com>
6871 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6872 software and hardware addresses, not software address against
6875 2014-09-16 Pedro Alves <palves@redhat.com>
6877 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6878 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6880 2014-09-16 Pedro Alves <palves@redhat.com>
6882 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6884 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6885 "*-*-vxworks*" throughout.
6886 * gdb.base/break.exp: Likewise.
6887 * gdb.base/default.exp: Likewise.
6888 * gdb.base/scope.exp: Likewise.
6889 * gdb.base/sepdebug.exp: Likewise.
6890 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6892 * gdb.base/run.c: Likewise.
6893 * gdb.base/sepdebug.c: Likewise.
6894 * gdb.hp/gdb.aCC/run.c: Likewise.
6895 * gdb.reverse/until-reverse.c: Likewise.
6896 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6898 2014-09-16 Yao Qi <yao@codesourcery.com>
6900 * boards/local-remote-host-native.exp: New file.
6902 2014-09-14 Doug Evans <xdje42@gmail.com>
6904 * gdb.threads/queue-signal.c (thread_count): New variable.
6905 (thread_count_mutex, thread_count_condvar): New variables.
6906 (incr_thread_count, wait_all_threads_running): New functions.
6907 (main): Wait for all threads to be in their thread functions.
6909 2014-09-13 Doug Evans <xdje42@gmail.com>
6911 * gdb.threads/queue-signal.c: New file.
6912 * gdb.threads/queue-signal.exp: New file.
6914 2014-09-13 Doug Evans <xdje42@gmail.com>
6916 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6917 be consistent with what default_gdb_init uses.
6918 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6919 the plain text of the prompt. Add some logging printfs.
6920 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6922 2014-09-12 Pedro Alves <palves@redhat.com>
6924 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6925 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6926 * gdb.arch/i386-size-overlap.exp: Likewise.
6927 * gdb.arch/i386-size.exp: Likewise.
6928 * gdb.arch/i386-unwind.exp: Likewise.
6929 * gdb.base/a2-run.exp: Likewise.
6930 * gdb.base/break.exp: Likewise.
6931 * gdb.base/charset.exp: Likewise.
6932 * gdb.base/chng-syms.exp: Likewise.
6933 * gdb.base/commands.exp: Likewise.
6934 * gdb.base/dbx.exp: Likewise.
6935 * gdb.base/find.exp: Likewise.
6936 * gdb.base/funcargs.exp: Likewise.
6937 * gdb.base/jit-simple.exp: Likewise.
6938 * gdb.base/reread.exp: Likewise.
6939 * gdb.base/sepdebug.exp: Likewise.
6940 * gdb.base/step-bt.exp: Likewise.
6941 * gdb.cp/mb-inline.exp: Likewise.
6942 * gdb.cp/mb-templates.exp: Likewise.
6943 * gdb.objc/basicclass.exp: Likewise.
6944 * gdb.threads/killed.exp: Likewise.
6946 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6949 * gdb.arch/powerpc-stackless.S: New file.
6950 * gdb.arch/powerpc-stackless.exp: New file.
6952 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6954 * gdb.base/attach.c: Include unistd.h.
6955 (main): Call alarm. Add label postloop.
6956 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6957 gdb_breakpoint, gdb_continue_to_breakpoint.
6958 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6960 2014-09-11 Pedro Alves <palves@redhat.com>
6963 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6964 * gdb.base/attach.exp (test_command_line_attach_run): New
6966 (top level): Call it.
6968 2014-09-11 Pedro Alves <palves@redhat.com>
6970 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6971 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6972 (do_command_attach_tests): Use spawn_wait_for_attach.
6973 * gdb.base/solib-overlap.exp: Likewise.
6974 * gdb.multi/multi-attach.exp: Likewise.
6975 * gdb.python/py-prompt.exp: Likewise.
6976 * gdb.python/py-sync-interp.exp: Likewise.
6977 * gdb.server/ext-attach.exp: Likewise.
6979 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6981 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6982 command in testcase. Simplify testcase.
6984 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6986 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6988 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6990 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6992 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6994 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6996 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6998 * gdb.dwarf2/dynarr-ptr.c: New file.
6999 * gdb.dwarf2/dynarr-ptr.exp: New file.
7001 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7003 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7004 of 30 rather than hardcoding 120 for a slow test case. Take the
7005 `gdb,timeout' target setting into account for this calculation.
7006 Don't extend the timeout for the test cases that don't need it.
7008 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7010 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7011 a factor of 2 for a slow test case. Take the `gdb,timeout'
7012 target setting into account for this calculation.
7013 * gdb.reverse/until-precsave.exp: Increase the timeout by
7014 a factor of 15 and 3 respectively rather than adding 120
7015 for a pair of slow test cases. Take the `gdb,timeout'
7016 target setting into account for this calculation.
7018 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7020 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7021 timeout, don't pass one down to gdb_expect.
7022 (gdb_expect): Rework timeout selection.
7024 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7026 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7027 exception on timeout.
7028 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7029 (gdbserver_start_extended): Catch any `gdbserver_start' error
7031 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7032 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7033 `gdbserver_gdb_load' error exceptions.
7035 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7037 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7038 120 on waiting for the TCP socket to open.
7040 2014-09-09 Doug Evans <xdje42@gmail.com>
7042 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7043 _caller_matches, _any_caller_is, _any_caller_matches.
7045 2014-09-09 Doug Evans <xdje42@gmail.com>
7047 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7049 2014-09-09 Yao Qi <yao@codesourcery.com>
7051 * gdb.mi/mi-var-display.exp: Set print symbol off.
7053 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7056 * gdb.base/commands.exp: Add tests to verify user-defined
7057 commands with empty bodies.
7058 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7059 python commands in `show user command`.
7060 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7061 scheme commands in `show user command`.
7063 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7066 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7067 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7068 * gdb.python/py-framefilter-invalidarg.exp: New file.
7069 * gdb.python/py-framefilter-invalidarg.py: New file.
7071 2014-09-06 Doug Evans <xdje42@gmail.com>
7074 * gdb.python/py-caller-is.c: New file.
7075 * gdb.python/py-caller-is.exp: New file.
7077 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7080 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7081 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7083 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7086 * gdb.fortran/print-formatted.exp: New file.
7087 * gdb.fortran/print-formatted.f90: Likewise.
7089 2014-09-03 Sasha Smundak <asmundak@google.com>
7091 * gdb.python/py-frame.exp: Test Frame.read_register.
7093 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7096 * gdb.python/py-completion.exp: New file.
7097 * gdb.python/py-completion.py: Likewise.
7099 2014-08-28 Doug Evans <dje@google.com>
7101 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7102 eax,etc. are live with values set by gdb and thus the compiler can't
7104 * gdb.arch/i386-pseudo.c (main): Ditto.
7106 2014-08-27 Doug Evans <dje@google.com>
7108 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7110 2014-08-25 Doug Evans <dje@google.com>
7112 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7115 2014-08-25 Doug Evans <dje@google.com>
7117 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7119 2014-08-24 Yao Qi <yao@codesourcery.com>
7121 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7123 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7125 2014-08-22 Doug Evans <dje@google.com>
7128 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7129 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7130 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7132 2014-08-22 Yao Qi <yao@codesourcery.com>
7134 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7135 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7136 * gdb.python/python.exp: Likewise. Use .py file on the host
7137 instead of the build.
7139 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7141 * gdb.threads/gcore-stale-thread.c: New file.
7142 * gdb.threads/gcore-stale-thread.exp: New file.
7144 2014-08-21 Pedro Alves <palves@redhat.com>
7146 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7147 * gdb.base/gcore-relro-pie.exp: Likewise.
7148 * gdb.base/gcore-relro.exp: Likewise.
7149 * gdb.base/gcore.exp: Likewise.
7150 * gdb.base/print-symbol-loading.exp: Likewise.
7151 * gdb.threads/gcore-thread.exp: Likewise.
7152 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7154 2014-08-20 Pedro Alves <palves@redhat.com>
7155 Jan Kratochvil <jan.kratochvil@redhat.com>
7157 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7159 (EXPECT): Handle READ1 being set.
7160 (all): Depend on EXTRA_RULES.
7161 (check-read1, expect-read1, read1.so, read1): New rules.
7162 * README (Testsuite Parameters): Document the READ1 make variable.
7163 (Race detection): New section.
7164 * configure: Regenerate.
7165 * configure.ac: If build==host==target, and running under a
7166 GNU/glibc system, add read1 to the extra Makefile rules.
7167 (EXTRA_RULES): AC_SUBST it.
7168 * lib/read1.c: New file.
7170 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7172 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7173 the handling of variables declared as a typedef to an array
7174 which a DW_AT_data_location attribute.
7176 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7177 Pedro Alves <palves@redhat.com>
7181 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7184 2014-08-19 Pedro Alves <palves@redhat.com>
7186 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7188 2014-08-19 Yao Qi <yao@codesourcery.com>
7190 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7193 2014-08-18 David Blaikie <dblaikie@gmail.com>
7195 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7197 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7199 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7200 attribute in array range.
7202 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7204 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7206 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7209 * gdb.cp/pr17132.cc: New file.
7210 * gdb.cp/pr17132.exp: New file.
7212 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7214 * gdb.python/py-xmethods.py (A_getarrayind)
7215 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7216 Use 'print' with function call syntax.
7217 (E_method_matcher.match): Fix tab vs space indentation mixup.
7219 2014-08-15 Yao Qi <yao@codesourcery.com>
7221 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7224 2014-08-15 Yao Qi <yao@codesourcery.com>
7226 * gdb.cp/casts.exp: Set print symbol off.
7227 * gdb.cp/class2.exp: Likewise.
7228 * gdb.cp/overload.exp: Likewise.
7229 * gdb.cp/templates.exp: Likewise.
7231 2014-08-11 Doug Evans <dje@google.com>
7233 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7234 (test_load_shlib): Update.
7236 2014-08-09 Yao Qi <yao@codesourcery.com>
7238 * gdb.base/display.exp: Invoke is_address_zero_readable.
7239 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7240 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7241 * gdb.base/hbreak-unmapped.exp: Return if
7242 is_address_zero_readable returns true.
7243 * gdb.base/signest.exp: Likewise.
7244 * gdb.base/signull.exp: Likewise.
7245 * gdb.base/sigbpt.exp: Likewise.
7246 * gdb.guile/scm-disasm.exp: Do the test if
7247 is_address_zero_readable returns false.
7248 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7249 * gdb.python/py-arch.exp: Likewise.
7250 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7251 * lib/gdb.exp (is_address_zero_readable): New proc.
7253 2014-08-09 Yao Qi <yao@codesourcery.com>
7256 * gdb.mi/mi-var-display.exp: Make test messages unique.
7258 2014-08-04 Tom Tromey <tromey@redhat.com>
7260 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7263 2014-08-04 Tom Tromey <tromey@redhat.com>
7265 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7268 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7270 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7271 inner_vla_struct_object_size.
7272 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7275 2014-07-30 Pedro Alves <palves@redhat.com>
7277 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7280 2014-07-29 Yao Qi <yao@codesourcery.com>
7283 * gdb.base/until-nodebug.exp: New.
7285 2014-07-28 Doug Evans <xdje42@gmail.com>
7288 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7289 previously existing parameter, and previously ambiguously spelled
7292 2014-07-28 Will Newton <will.newton@linaro.org>
7294 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7296 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7297 Doug Evans <xdje42@gmail.com>
7300 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7302 2014-07-25 Pedro Alves <palves@redhat.com>
7304 * gdb.threads/signal-command-handle-nopass.c: New file.
7305 * gdb.threads/signal-command-handle-nopass.exp: New file.
7306 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7307 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7308 * gdb.threads/signal-delivered-right-thread.c: New file.
7309 * gdb.threads/signal-delivered-right-thread.exp: New file.
7311 2014-07-25 Pedro Alves <palves@redhat.com>
7313 * gdb.base/double-prompt-target-event-error.exp
7314 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7316 (cancel_pagination_in_target_event): Rework double prompt
7318 * gdb.base/paginate-after-ctrl-c-running.exp
7319 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7321 * gdb.base/paginate-bg-execution.exp
7322 (test_bg_execution_pagination_return)
7323 (test_bg_execution_pagination_cancel): Remove '-notransfer
7325 * gdb.base/paginate-execution-startup.exp
7326 (test_fg_execution_pagination_return)
7327 (test_fg_execution_pagination_cancel): Remove '-notransfer
7329 * gdb.base/paginate-inferior-exit.exp
7330 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7332 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7333 * lib/gdb.exp (pagination_prompt): Run text through
7335 (gdb_test_multiple): Match $pagination_prompt instead of
7337 (string_to_regexp): Move to lib/gdb-utils.exp.
7339 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7341 * gdb.arch/amd64-entry-value-paramref.S: New file.
7342 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7343 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7344 * gdb.arch/amd64-optimout-repeat.S: New file.
7345 * gdb.arch/amd64-optimout-repeat.c: New file.
7346 * gdb.arch/amd64-optimout-repeat.exp: New file.
7348 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7351 * gdb.base/statistics.exp: New file.
7353 2014-07-17 Doug Evans <dje@google.com>
7356 * gdb.base/maint.exp: Update testing of per-command stats.
7358 2014-07-16 Pedro Alves <palves@redhat.com>
7360 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7361 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7362 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7363 (tfile_write_buf): New functions.
7364 (add_memory_block): Rewrite using the above.
7365 (adjust_function_address): New function.
7366 (FUNCTION_ADDRESS): New macro.
7367 (write_basic_trace_file): Remove short_x local, and use
7368 tfile_write_16. Change type of func_addr local to unsigned long
7369 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7370 here. Cast argument of add_memory_block to char pointer.
7371 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7372 (main): Remove parameters.
7373 * gdb.trace/tfile.exp: Remove nowarnings.
7375 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7377 * gdb.base/debug-expr.exp: Test string evaluation with
7378 "debug expression" on.
7380 2014-07-15 Pedro Alves <palves@redhat.com>
7382 * gdb.base/reread.exp: Use clean_restart.
7384 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7386 * gdb.arch/avr-flash-qualifer.c: New.
7387 * gdb.arch/avr-flash-qualifer.exp: New.
7389 2014-07-14 Pedro Alves <palves@redhat.com>
7391 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7392 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7394 2014-07-14 Pedro Alves <palves@redhat.com>
7396 * gdb.base/double-prompt-target-event-error.c: New file.
7397 * gdb.base/double-prompt-target-event-error.exp: New file.
7399 2014-07-14 Pedro Alves <palves@redhat.com>
7402 * gdb.base/paginate-inferior-exit.c: New file.
7403 * gdb.base/paginate-inferior-exit.exp: New file.
7405 2014-07-14 Pedro Alves <palves@redhat.com>
7408 * gdb.base/paginate-bg-execution.c: New file.
7409 * gdb.base/paginate-bg-execution.exp: New file.
7411 2014-07-14 Pedro Alves <palves@redhat.com>
7414 * gdb.base/paginate-execution-startup.c: New file.
7415 * gdb.base/paginate-execution-startup.exp: New file.
7416 * lib/gdb.exp (pagination_prompt): New global.
7417 (default_gdb_spawn): New procedure, factored out from
7419 (default_gdb_start): Adjust to call default_gdb_spawn.
7420 (gdb_spawn): New procedure.
7422 2014-07-14 Pedro Alves <palves@redhat.com>
7424 * lib/gdb.exp (gdb_assert): New procedure.
7425 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7427 2014-07-14 Pedro Alves <palves@redhat.com>
7429 * gdb.base/execution-termios.c: New file.
7430 * gdb.base/execution-termios.exp: New file.
7432 2014-07-14 Tom Tromey <tromey@redhat.com>
7434 * gdb.cp/vla-cxx.cc: New file.
7435 * gdb.cp/vla-cxx.exp: New file.
7437 2014-07-14 Tom Tromey <tromey@redhat.com>
7439 * gdb.reverse/rerun-prec.c: New file.
7440 * gdb.reverse/rerun-prec.exp: New file.
7442 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7443 Maciej W. Rozycki <macro@codesourcery.com>
7445 * lib/gdb-utils.exp: New file.
7446 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7447 inline `gdb_init_command' processing.
7448 (gdb_start_cmd): Likewise.
7449 * lib/mi-support.exp (mi_run_cmd): Likewise.
7450 * README: Document `gdb_init_command' and `gdb_init_commands'.
7452 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7454 Fix false FAIL running under a very long directory name.
7455 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7456 and "set print elements 10000". Twice.
7458 2014-07-11 Yao Qi <yao@codesourcery.com>
7460 * gdb.base/exprs.exp: "set print symbol off".
7462 2014-07-11 Pedro Alves <palves@redhat.com>
7464 * gdb.threads/kill.c: New file.
7465 * gdb.threads/kill.exp: New file.
7467 2014-07-10 Yao Qi <yao@codesourcery.com>
7469 * gdb.trace/tfile.c (write_basic_trace_file)
7470 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7471 address written to trace file.
7473 2014-07-09 Pedro Alves <palves@redhat.com>
7475 * gdb.base/attach-wait-input.exp: New file.
7476 * gdb.base/attach-wait-input.c: New file.
7478 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7480 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7481 setting up test structures.
7482 (main): Call new test function.
7483 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7484 test function, continue into test function and walk test
7487 2014-07-02 Yao Qi <yao@codesourcery.com>
7489 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7490 'bar_start' at the beginning of functions 'foo' and 'bar'
7492 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7493 instead of 'foo' and 'bar'.
7495 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7497 * gdb.btrace/segv.exp: New.
7498 * gdb.btrace/segv.c: New.
7500 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7502 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7505 2014-06-30 Mark Wielaard <mjw@redhat.com>
7507 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7508 vulture, vilify, villar): New volatile array constants.
7509 (vindictive, vegetation): New const volatile array constants.
7510 * gdb.base/volatile.exp: Test volatile and const volatile array
7513 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7515 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7516 target lacks support for awatch, rwatch, or hbreak.
7518 2014-06-27 Yao Qi <yao@codesourcery.com>
7520 * gdb.multi/dummy-frame-restore.exp: New.
7521 * gdb.multi/dummy-frame-restore.c: New.
7523 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7525 * gdb.btrace/gcore.exp: New.
7527 2014-06-23 Pedro Alves <palves@redhat.com>
7529 * gdb.base/watchpoint-reuse-slot.c: New file.
7530 * gdb.base/watchpoint-reuse-slot.exp: New file.
7532 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7534 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7535 progspace's filename in 'info', 'enable' and 'disable' command
7538 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7540 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7541 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7542 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7544 2014-06-20 Gary Benson <gbenson@redhat.com>
7546 * gdb.arch/i386-avx.exp: Fix include file location.
7547 * gdb.arch/i386-sse.exp: Likewise.
7549 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7551 * gdb.dlang/expression.exp: New file.
7553 2014-06-19 Pedro Alves <palves@redhat.com>
7555 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7557 (top level): ... here. Iterate running tests under different
7558 scheduler-locking settings.
7560 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7562 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7563 to DW_FORM_addr and use non-zero addresses.
7565 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7568 * gdb.python/py-xmethods.cc: Add global function call counters and
7569 increment them in their respective functions. Remove "cout"
7571 * gdb.python/py-xmethods.exp: Make tests check the global function
7572 call counters instead of depending on inferior IO.
7574 2014-06-18 Don Breazeal <donb@codesourcery.com>
7576 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7578 (explicit_fork_parent_follow): Deleted procedure.
7579 (explicit_fork_child_follow): Deleted procedure.
7580 (test_follow_fork): New procedure.
7581 (do_fork_tests): Replace calls to deleted procedures with
7582 calls to test_follow_fork and reset GDB for subsequent
7585 2014-06-17 Yao Qi <yao@codesourcery.com>
7587 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7590 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7592 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7593 Initialize ptr and S explicitly.
7594 (skip_type_update_when_not_use_rtti_test): Likewise.
7596 2014-06-16 Keith Seitz <keiths@redhat.com>
7599 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7600 the inferior is started.
7602 2014-06-16 Pedro Alves <palves@redhat.com>
7604 * gdb.base/break-main-file-remove-fail.c: New file.
7605 * gdb.base/break-main-file-remove-fail.exp: New file.
7606 * gdb.base/break-unload-file.exp: Use build_executable instead of
7607 prepare_for_testing.
7608 (test_break): New parameter "initial_load". Handle it.
7609 (top level): Add initial_load cmdline/file axis.
7611 2014-06-12 Tom Tromey <tromey@redhat.com>
7613 * gdb.base/completion.exp: Don't use directory name in test.
7615 2014-06-09 Gary Benson <gbenson@redhat.com>
7617 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7618 separate the always-available ANSI-standard signals from the
7619 signals that require checking.
7621 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7625 2014-06-07 Keith Seitz <keiths@redhat.com>
7629 * gdb.cp/var-tag.cc: New file.
7630 * gdb.cp/var-tag.exp: New file.
7631 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7632 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7633 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7634 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7636 2014-06-06 Doug Evans <xdje42@gmail.com>
7638 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7640 2014-06-06 Pedro Alves <palves@redhat.com>
7642 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7643 in target debug output instead of looking at RSP packets,
7644 disabling the test on any target that uses hardware stepping.
7647 2014-06-06 Pedro Alves <palves@redhat.com>
7649 * gdb.base/break-unload-file.exp: Fix typo.
7651 2014-06-06 Yao Qi <yao@codesourcery.com>
7653 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7654 from "jit_function" to "^jit_function".
7656 2014-06-06 Yao Qi <yao@codesourcery.com>
7658 * gdb.base/async.c (foo): Add one statement.
7659 * gdb.base/async.exp: Get the next instruction address and
7660 match the output of "nexti" by instruction address. Match
7661 the hex address in the output of "finish".
7663 2014-06-06 Gary Benson <gbenson@redhat.com>
7665 * gdb.base/call-signals.c: Remove preprocessor conditionals
7666 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7667 SIGSEGV and SIGTERM.
7668 * gdb.base/sigall.c: Likewise.
7669 * gdb.base/unwindonsignal.c: Likewise.
7670 * gdb.reverse/sigall-reverse.c: Likewise.
7672 2014-06-06 Yao Qi <yao@codesourcery.com>
7674 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7675 readable, skip the test.
7677 2014-06-06 Yao Qi <yao@codesourcery.com>
7679 * gdb.threads/staticthreads.c (thread_function): Move the line
7680 setting breakpoint on forward.
7681 * gdb.threads/staticthreads.exp: Update comments.
7683 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7685 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7686 "history-append! type error".
7688 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7690 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7691 erroneous dprintf expected input.
7693 2014-06-04 Doug Evans <xdje42@gmail.com>
7695 * gdb.guile/scm-generics.exp: Delete.
7697 2014-06-04 Doug Evans <xdje42@gmail.com>
7699 * gdb.guile/scm-breakpoint.exp: Update.
7700 Add tests for breakpoint registration.
7702 2014-06-04 Tom Tromey <tromey@redhat.com>
7704 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7706 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7707 inner_vla_struct, vla_union types. Initialize objects of those
7708 types and compute their sizes.
7710 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7711 Hui Zhu <hui@codesourcery.com>
7713 * gdb.base/fileio.exp: Add test for shell not available as well as
7715 * gdb.base/fileio.c (test_system): Check for shell twice.
7717 2014-06-04 Yao Qi <yao@codesourcery.com>
7719 * gdb.base/auto-connect-native-target.exp: Remove redundant
7720 space from the regexp pattern.
7722 2014-06-04 Yao Qi <yao@codesourcery.com>
7724 * gdb.base/default.exp: Replace "child" with "native" in
7727 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7729 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7730 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7731 * gdb.python/py-xmethods.py: Python script supporting the
7732 new testcase and tests.
7734 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7735 Pedro Alves <palves@redhat.com>
7737 PR breakpoints/17000
7738 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7739 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7741 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7743 * gdb.base/subst.exp: Add tests to verify partial path matching
7746 2014-06-03 Pedro Alves <palves@redhat.com>
7748 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7749 target that doesn't use software single-stepping.
7751 2014-06-03 Pedro Alves <palves@redhat.com>
7753 PR breakpoints/17000
7754 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7755 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7757 2014-06-02 Doug Evans <xdje42@gmail.com>
7759 * gdb.guile/scm-parameter.exp: New file.
7761 2014-06-02 Doug Evans <xdje42@gmail.com>
7763 * gdb.guile/scm-cmd.c: New file.
7764 * gdb.guile/scm-cmd.exp: New file.
7766 2014-06-02 Doug Evans <xdje42@gmail.com>
7768 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7769 pretty-printer lookup.
7770 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7771 (make-pp_s-printer): Call it.
7772 (make-pretty-printer-from-dict): New function.
7773 (lookup-pretty-printer-maker-from-dict): New function.
7774 (*pretty-printer*): Simplify.
7775 (make-objfile-pp_s-printer): New function.
7776 (install-objfile-pretty-printers!): New function.
7777 (make-progspace-pp_s-printer): New function.
7778 (install-progspace-pretty-printers!): New function.
7779 * gdb.guile/scm-progspace.c: New file.
7780 * gdb.guile/scm-progspace.exp: New file.
7782 2014-06-02 Pedro Alves <palves@redhat.com>
7784 * gdb.base/dprintf-bp-same-addr.c: New file.
7785 * gdb.base/dprintf-bp-same-addr.exp: New file.
7787 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7789 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7790 * gdb.arch/powerpc-power.s: Likewise.
7792 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7794 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7796 2014-06-01 Yao Qi <yao@codesourcery.com>
7798 * gdb.base/watchpoint.exp (test_watch_location): Check null
7799 pointer can be dereferenced. If not, do the test, otherwise
7802 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7804 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7806 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7808 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7810 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7811 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7812 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7813 * gdb.arch/amd64-invalid-stack-top.c: New file.
7814 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7816 2014-05-30 Pedro Alves <palves@redhat.com>
7818 PR breakpoints/17000
7819 * gdb.base/sss-bp-on-user-bp.c: New file.
7820 * gdb.base/sss-bp-on-user-bp.exp: New file.
7822 2014-05-30 David Blaikie <dblaikie@gmail.com>
7824 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7825 gnu_inline semantics via attribute.
7826 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7827 source explicitly specifies the required semantics.
7829 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7831 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7833 2014-05-29 Pedro Alves <palves@redhat.com>
7834 Tom Tromey <tromey@redhat.com>
7836 * gdb.base/async-shell.exp: Don't enable target-async.
7837 * gdb.base/async.exp
7838 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7840 (top level): Don't test with "target-async".
7841 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7842 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7843 * gdb.base/inferior-died.exp: Don't enable target-async.
7844 * gdb.base/interrupt-noterm.exp: Likewise.
7845 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7846 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7847 * gdb.mi/mi-nonstop.exp: Likewise.
7848 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7849 * gdb.mi/mi-nsintrall.exp: Likewise.
7850 * gdb.mi/mi-nsmoribund.exp: Likewise.
7851 * gdb.mi/mi-nsthrexec.exp: Likewise.
7852 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7853 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7854 * gdb.python/py-evsignal.exp: Don't enable target-async.
7855 * gdb.python/py-evthreads.exp: Likewise.
7856 * gdb.python/py-prompt.exp: Likewise.
7857 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7858 * gdb.server/solib-list.exp: Don't enable target-async.
7859 * gdb.threads/thread-specific-bp.exp: Likewise.
7860 * lib/mi-support.exp: Adjust to use mi-async.
7862 2014-05-29 Pedro Alves <palves@redhat.com>
7865 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7866 reason, even in sync mode.
7868 2014-05-29 Pedro Alves <palves@redhat.com>
7869 Hui Zhu <hui@codesourcery.com>
7872 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7873 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7874 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7875 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7877 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7879 * config/monitor.exp (gdb_target_monitor): Replace use of
7880 "set remotebaud" by "set serial baud".
7882 2014-05-26 Andy Wingo <wingo@igalia.com>
7884 * gdb.guile/scm-breakpoint.exp:
7885 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7886 properties instead of gdb-object-properties.
7888 2014-05-26 Yao Qi <yao@codesourcery.com>
7890 * gdb.server/no-thread-db.exp: Specify source file name
7891 explicitly when setting a breakpoint.
7893 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7895 * gdb.btrace/vdso.c: New.
7896 * gdb.btrace/vdso.exp: New.
7898 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7900 * gdb.base/gcore.exp (capture_command_output): Move ...
7901 * lib/gdb.exp (capture_command_output): ... here.
7903 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7905 * gdb.btrace/data.exp: Test memory access during btrace replay.
7907 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7909 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7911 2014-05-21 Pedro Alves <palves@redhat.com>
7914 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7915 (top level): Test that output related to execution commands is
7916 sent to the console with CLI commands, but not with MI commands.
7917 Test that breakpoint events are always mirrored to the console.
7918 Also expect the new source line to be output after a "next" in
7919 async mode too. Make it a pass/fail test.
7920 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7922 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7924 2014-05-21 Pedro Alves <palves@redhat.com>
7926 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7927 Use them to test variations of "list" after reaching a breakpoint.
7928 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7929 Test "list" with listsize 10 after reaching a breakpoint.
7930 * gdb.python/python.exp (decode_line current location line
7931 number): Adjust expected line number.
7933 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7935 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7936 behavior for $args, pass it directly to "run".
7938 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7940 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7943 2014-05-21 Pedro Alves <palves@redhat.com>
7945 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7946 auto-connect-native-target off".
7947 * gdb.base/auto-connect-native-target.c: New file.
7948 * gdb.base/auto-connect-native-target.exp: New file.
7950 2014-05-21 Pedro Alves <palves@redhat.com>
7952 * gdb.base/default.exp: Test "target native" instead of "target
7955 2014-05-21 Mark Wielaard <mjw@redhat.com>
7957 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7959 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7961 Fix TLS access for -static -pthread.
7962 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7963 <HAVE_TLS> (thread_function, main): Initialize it.
7964 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7966 <$have_tls != "">: Check TLSVAR.
7968 2014-05-21 Pedro Alves <palves@redhat.com>
7970 * gdb.base/dcache-line-read-error.c: New.
7971 * gdb.base/dcache-line-read-error.exp: New.
7973 2014-05-20 Pedro Alves <palves@redhat.com>
7975 * gdb.base/compare-sections.c: New file.
7976 * gdb.base/compare-sections.exp: New file.
7978 2014-05-20 Pedro Alves <palves@redhat.com>
7980 * gdb.base/break-idempotent.c: New file.
7981 * gdb.base/break-idempotent.exp: New file.
7983 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7985 * gdb.btrace/nohist.exp: New.
7987 2014-05-20 Yao Qi <yao@codesourcery.com>
7989 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7990 gdb.reverse directory and gdb_reverse_timeout exists in board
7992 * README: Document gdb_reverse_timeout.
7994 2014-05-20 Yao Qi <yao@codesourcery.com>
7996 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7997 'test_file_name'. Treat args as a string instead of a list.
7998 (gdb_init): Rename argument 'args' by 'test_file_name'.
8000 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8002 * gdb.arch/powerpc-power.exp: New file.
8003 * gdb.arch/powerpc-power.s: New file.
8005 2014-05-16 Doug Evans <dje@google.com>
8007 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8008 * gdb.base/completion.exp: Check that all expected files exist
8009 before doing file completion.
8011 2014-05-16 Doug Evans <dje@google.com>
8013 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8015 (do_syscall_tests_without_xml): Update.
8017 2014-05-16 Pedro Alves <palves@redhat.com>
8019 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8020 instead of "unknown output after running".
8022 2014-05-16 Yao Qi <yao@codesourcery.com>
8024 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8025 file1.txt from host at the end.
8026 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8028 2014-05-15 Doug Evans <dje@google.com>
8030 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8031 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8032 loading file. Add test for TU lookup.
8034 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8036 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8037 calling "-exec-arguments" or "set args" before running the
8040 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8042 * lib/mi-support.exp (mi_expect_stop): Expect message for
8043 inferiors that exit with non-zero exit code.
8045 2014-05-14 Yao Qi <yao@codesourcery.com>
8047 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8048 match absolute path on remote host.
8049 (test_file_list_exec_source_files): Remove "/" from the
8052 2014-05-14 Yao Qi <yao@codesourcery.com>
8054 * boards/local-remote-host-notty.exp (${board}_file): New
8057 2014-05-07 Kyle McMartin <kyle@redhat.com>
8059 Pushed by Joel Brobecker <brobecker@adacore.com>.
8060 * gdb.arch/aarch64-atomic-inst.c: New file.
8061 * gdb.arch/aarch64-atomic-inst.exp: New file.
8063 2014-05-07 Yao Qi <yao@codesourcery.com>
8065 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8066 in current context" too.
8068 2014-05-05 Keith Seitz <keiths@redhat.com>
8070 * gdb.linespec/ls-dollar.exp: Add test for linespec
8071 file:convenience_variable.
8073 2014-05-05 Yao Qi <yao@codesourcery.com>
8075 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8076 traceframes into tfile and ctf trace files. Read data from
8077 trace file and test collected data.
8078 (gdb_collect_locals_test): Likewise.
8079 (gdb_unavailable_registers_test): Likewise.
8080 (gdb_unavailable_floats): Likewise.
8081 (gdb_collect_globals_test): Likewise.
8082 (top-level): Append "ctf" to trace_file_targets if GDB
8085 2014-05-05 Yao Qi <yao@codesourcery.com>
8087 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8089 (gdb_collect_args_test_1): ... it. New proc.
8090 (gdb_collect_locals_test): Move some code to ...
8091 (gdb_collect_locals_test_1): ... it. New proc.
8092 (gdb_unavailable_registers_test): Move some code to ...
8093 (gdb_unavailable_registers_test_1): ... it. New proc.
8094 (gdb_unavailable_floats): Move some code to ...
8095 (gdb_unavailable_floats_1): ... it. New proc.
8097 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8099 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8100 probes to test for bitness recognition.
8101 * gdb.arch/amd64-stap-optional-prefix.exp
8102 (test_probe_value_without_reg): New procedure.
8103 Add code to test for different kinds of bitness.
8105 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8107 PR breakpoints/16889
8108 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8109 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8111 2014-05-01 Pedro Alves <palves@redhat.com>
8113 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8114 gdb_file_cmd if no file is specified.
8115 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8116 last_loaded_file to set the remote exec-file.
8118 2014-05-01 Pedro Alves <palves@redhat.com>
8120 * boards/local-remote-host.exp: New file.
8122 2014-05-01 Pedro Alves <palves@redhat.com>
8124 * boards/local-remote-host.exp: Rename to ...
8125 * boards/local-remote-host-notty.exp: ... this.
8127 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8129 * gdb.ada/dyn_arrayidx: New testcase.
8131 2014-04-26 Yao Qi <yao@codesourcery.com>
8133 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8134 and compute the length of function main. Save it in
8136 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8137 (top-level): Use gdb_compile to compile objects into
8138 executable and restart GDB. Remove invocation to
8139 prepare_for_testing.
8141 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8142 Pedro Alves <palves@redhat.com>
8145 * gdb.multi/multi-attach.c: New file.
8146 * gdb.multi/multi-attach.exp: New file.
8148 2014-04-25 Pedro Alves <palves@redhat.com>
8150 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8152 (top level): Test that "set remote conditional-breakpoints-packet
8153 off" works as intended.
8154 * gdb.base/dprintf.exp: Test that "set remote
8155 breakpoint-commands-packet off" works as intended.
8156 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8158 (top level): Call it.
8159 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8160 remote fast-tracepoints-packet off" works as intended.
8161 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8162 * lib/gdb.exp (gdb_is_target_remote): ... here.
8164 2014-04-24 David Blaikie <dblaikie@gmail.com>
8166 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8167 ensure clang would not discard them.
8168 * gdb.base/gdbvars.c: Ditto.
8169 * gdb.base/memattr.c: Ditto.
8170 * gdb.base/whatis.c: Ditto.
8171 * gdb.python/py-prettyprint.c: Ditto.
8172 * gdb.trace/actions.c: Ditto.
8173 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8174 ensure clang would not discard it.
8176 2014-04-24 David Blaikie <dblaikie@gmail.com>
8178 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8179 clang to emit the full definition of type required by the test
8180 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8182 2014-04-24 David Blaikie <dblaikie@gmail.com>
8184 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8185 coax Clang into emitting the definition of the type.
8186 * gdb.cp/pr10728-x.h (y): Ditto.
8187 * gdb.cp/pr10728-y.cc (y): Ditto.
8189 2014-04-24 David Blaikie <dblaikie@gmail.com>
8191 * gdb.base/label.exp: XFAIL label related tests under Clang.
8192 * gdb.cp/cplabel.exp: Ditto.
8193 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8194 under Clang those using labels.
8196 2014-04-25 Yao Qi <yao@codesourcery.com>
8198 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8200 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8201 partial_label and double_label.
8203 2014-04-24 David Blaikie <dblaikie@gmail.com>
8205 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8207 2014-04-24 David Blaikie <dblaikie@gmail.com>
8209 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8210 of the function to work across GCC and Clang.
8211 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8212 pointer types (const void ** const V void **).
8214 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8215 Walfred Tedeschi <walfred.tedeschi@intel.com>
8217 * Makefile.in (EXECUTABLES): Added i386-avx512.
8218 * gdb.arch/i386-avx512.c: New file.
8219 * gdb.arch/i386-avx512.exp: Likewise.
8221 2014-04-23 Keith Seitz <keiths@redhat.com>
8223 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8224 (mi_make_breakpoint_table): New procedure.
8225 (mi_create_breakpoint): Use mi_make_breakpoint
8226 and return the result.
8227 (mi_make_breakpoint): New procedure.
8228 (mi_build_kv_pairs): New procedure.
8230 * gdb.mi/mi-break.exp: Remove unused globals,
8231 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8232 All callers updated.
8233 * gdb.mi/mi-dprintf.exp: Use variable to track command
8235 Update all callers of mi_create_breakpoint and use
8236 mi_make_breakpoint_table.
8237 Remove any unused global variables.
8238 * gdb.mi/mi-nonstop.exp: Likewise.
8239 * gdb.mi/mi-nsintrall.exp: Likewise.
8240 * gdb.mi/mi-nsmoribund.exp: Likewise.
8241 * gdb.mi/mi-nsthrexec.exp: Likewise.
8242 * gdb.mi/mi-reverse.exp: Likewise.
8243 * gdb.mi/mi-simplerun.exp: Likewise.
8244 * gdb.mi/mi-stepn.exp: Likewise.
8245 * gdb.mi/mi-syn-frame.exp: Likewise.
8246 * gdb.mi/mi-until.exp: Likewise.
8247 * gdb.mi/mi-var-cp.exp: Likewise.
8248 * gdb.mi/mi-var-display.exp: Likewise.
8249 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8250 * gdb.mi/mi2-var-child.exp: Likewise.
8251 * gdb.mi/mi-vla-c99.exp: Likewise.
8252 * lib/mi-support.exp: Likewise.
8254 From Ian Lance Taylor <iant@cygnus.com>:
8255 * lib/gdb.exp (parse_args): New procedure.
8257 2014-04-23 Pedro Alves <palves@redhat.com>
8259 * gdb.base/break-unload-file.c: New file.
8260 * gdb.base/break-unload-file.exp: New file.
8261 * gdb.base/sym-file-lib.c (baz): New function.
8262 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8264 (load): Store the segment's mapped size.
8265 (unload): New function.
8266 (unload_shlib): New function.
8267 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8268 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8269 set a breakpoint at baz, and call it.
8270 * gdb.base/sym-file.exp: New tests for stale breakpoint
8273 2014-04-23 Pedro Alves <palves@redhat.com>
8275 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8276 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8277 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8278 * gdb.base/hbreak-unmapped.c: New file.
8279 * gdb.base/hbreak-unmapped.exp: New file.
8280 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8281 * lib/gdb.exp (gdb_is_target_remote): ... here.
8283 2014-04-22 Pedro Alves <palves@redhat.com>
8285 * gdb.base/consecutive-step-over.c: New file.
8286 * gdb.base/consecutive-step-over.exp: New file.
8288 2014-04-22 Pedro Alves <palves@redhat.com>
8290 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8291 instead of send_gdb/gdb_expect.
8293 2014-04-22 Yao Qi <yao@codesourcery.com>
8295 * lib/trace-support.exp (generate_tracefile): New procedure.
8296 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8298 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8299 if generate_tracefile returns 1.
8301 2014-04-18 Tom Tromey <palves@redhat.com>
8302 Pedro alves <tromey@redhat.com>
8305 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8306 with a backtrace limit.
8307 * gdb.python/py-frame-inline.exp: Test running to an inline
8308 function with a backtrace limit, and printing the newest frame.
8309 * gdb.python/py-frame-inline.c (main): Call f.
8311 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8313 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8315 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8317 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8318 Drop prefix from unsupported source file path.
8320 2014-04-17 Yao Qi <yao@codesourcery.com>
8322 * lib/gdb.exp (with_target_charset): New proc.
8323 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8324 with_target_charset.
8325 (test_print_strings): Likewise.
8326 (test_repeat_bytes): Likewise.
8327 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8330 2014-04-16 Keith Seitz <keiths@redhat.com>
8333 * gdb.dwarf2/corrupt.c: New file.
8334 * gdb.dwarf2/corrupt.exp: New file.
8336 2014-04-16 Keith Seitz <keiths@redhat.com>
8339 * gdb.cp/namelessclass.cc: New file.
8340 * gdb.cp/namelessclass.exp: New file.
8341 * gdb.cp/namelessclass.S: New file.
8343 2014-04-16 Doug Evans <dje@google.com>
8345 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8347 (gdbserver_default_get_comm_port): New function.
8348 (gdbserver_start): Check if board file provided
8349 "gdbserver,get_comm_port" and use it if so.
8350 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8351 (gdb,socketport): Set to "stdio".
8352 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8353 (stdio_gdbserver_template): Delete.
8354 (${board}_get_remote_address): Update.
8355 (${board}_build_remote_cmd): Delete.
8356 (${board}_get_comm_port): New function.
8357 (${board}_spawn): Update.
8358 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8360 (${board}_get_remote_address): Update.
8361 (${board}_get_comm_port): New function.
8363 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8365 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8366 appearing in any order.
8368 2014-04-15 Doug Evans <dje@google.com>
8370 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8371 uninitialized value of "description".
8373 2014-04-15 Keith Seitz <keiths@redhat.com>
8375 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8376 Remove unused globals.
8377 (test_running_the_program): Likewise.
8378 (test_controlled_execution): Likewise.
8379 (test_controlling_breakpoints): Likewise.
8380 (test_program_termination): Likewise.
8382 2014-04-15 Keith Seitz <keiths@redhat.com>
8384 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8386 (test_rbreak_creation_and_listing): Likewise.
8387 (test_ignore_count): Likewise.
8388 (test_error): Likewise.
8390 2014-04-15 Pedro Alves <palves@redhat.com>
8392 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8393 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8395 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8396 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8397 to sym-file-loader.c.
8398 (struct library): Forward declare.
8399 (load_shlib, lookup_function): Change prototypes.
8400 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8401 (translate_offset): Remove declarations.
8402 (get_text_addr): New declaration.
8403 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8404 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8406 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8407 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8408 here from sym-file-loader.h.
8409 (struct library): New structure.
8410 (load_shlib, lookup_function): Change prototypes and adjust to
8411 work with a struct library.
8412 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8413 (translate_offset): Make static.
8414 (get_text_addr): New function.
8415 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8417 2014-04-15 Pedro Alves <palves@redhat.com>
8419 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8421 2014-04-15 Pedro Alves <palves@redhat.com>
8423 * gdb.base/sym-file-loader.c: Include <limits.h>.
8424 (SELF_LINK): New define.
8425 (get_origin): New function.
8426 (load_shlib): Use it.
8427 * gdb.base/sym-file.exp: Don't early return if the target is
8428 remote. Use runto_main, and issue fail is that fails. Use
8430 (shlib_name): Delete.
8431 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8433 2014-04-15 Pedro Alves <palves@redhat.com>
8435 * gdb.base/sym-file.exp: Remove regex characters from test
8436 message. Don't refer to breakpoint numbers in test messages.
8438 2014-04-14 Keith Seitz <keiths@redhat.com>
8441 * gdb.cp/var-tag.cc: New file.
8442 * gdb.cp/var-tag.exp: New file.
8443 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8444 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8445 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8446 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8448 2014-04-14 Tom Tromey <tromey@redhat.com>
8450 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8451 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8453 * gdb.cp/enum-class.exp: New file.
8454 * gdb.cp/enum-class.cc: New file.
8456 2014-04-14 Tom Tromey <tromey@redhat.com>
8458 * gdb.dwarf2/enum-type.exp: New file.
8460 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8462 * gdb.mi/mi-vla-c99.exp: New file.
8463 * gdb.mi/vla.c: New file.
8465 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8467 * gdb.base/vla-datatypes.c: New file.
8468 * gdb.base/vla-datatypes.exp: New file.
8470 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8472 * gdb.base/vla-ptr.c: New file.
8473 * gdb.base/vla-ptr.exp: New file.
8475 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8477 * gdb.dwarf2/count.exp: New file.
8479 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8481 * gdb.base/vla-sideeffect.c: New file.
8482 * gdb.base/vla-sideeffect.exp: New file.
8484 2014-04-14 David Blaikie <dblaikie@gmail.com>
8486 * gdb.mi/non-stop.c: Add return value for non-void function return
8488 * gdb.threads/staticthreads.c: Ditto.
8490 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8491 Doug Evans <xdje42@gmail.com>
8493 * gdb.guile/scm-value.c: Improve test case.
8494 * gdb.guile/scm-value.exp: Add new test.
8496 2014-04-11 David Blaikie <dblaikie@gmail.com>
8498 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8499 override Clang's default.
8501 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8503 Revert the following changes (regressions):
8505 * gdb.base/vla-sideeffect.c: New file.
8506 * gdb.base/vla-sideeffect.exp: New file.
8508 * gdb.dwarf2/count.exp: New file.
8510 * gdb.base/vla-multi.c: New file.
8511 * gdb.base/vla-multi.exp: New file.
8513 * gdb.base/vla-ptr.c: New file.
8514 * gdb.base/vla-ptr.exp: New file.
8516 * gdb.base/vla-datatypes.c: New file.
8517 * gdb.base/vla-datatypes.exp: New file.
8519 * gdb.mi/mi-vla-c99.exp: New file.
8520 * gdb.mi/vla.c: New file.
8522 2014-04-11 Keith Seitz <keiths@redhat.com>
8525 * gdb.cp/cpsizeof.exp: New file.
8526 * gdb.cp/cpsizeof.cc: New file.
8528 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8530 * gdb.mi/mi-vla-c99.exp: New file.
8531 * gdb.mi/vla.c: New file.
8533 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8535 * gdb.base/vla-datatypes.c: New file.
8536 * gdb.base/vla-datatypes.exp: New file.
8538 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8540 * gdb.base/vla-ptr.c: New file.
8541 * gdb.base/vla-ptr.exp: New file.
8543 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8545 * gdb.base/vla-multi.c: New file.
8546 * gdb.base/vla-multi.exp: New file.
8548 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8550 * gdb.dwarf2/count.exp: New file.
8552 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8554 * gdb.base/vla-sideeffect.c: New file.
8555 * gdb.base/vla-sideeffect.exp: New file.
8557 2014-04-11 Yao Qi <yao@codesourcery.com>
8559 * gdb.base/completion.exp: Check file exists before running tests
8562 2014-04-10 Pedro Alves <palves@redhat.com>
8564 * gdb.base/cond-eval-mode.c: New file.
8565 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8566 prepare_for_testing to build the new file. Check result of
8568 (test_break, test_watch): New procedures.
8569 (top level): Use them.
8571 2014-04-08 Pierre Muller <muller@sourceware.org>
8573 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8574 Ctrl-V use for mingw hosts.
8576 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8578 * gdb.python/py-value.c: Improve test case.
8579 * gdb.python/py-value.exp: Add new test.
8581 2014-04-07 David Blaikie <dblaikie@gmail.com>
8583 * lib/compiler.c: Identify the clang compiler.
8584 * lib/compiler.cc: Ditto.
8586 2014-04-03 Yao Qi <yao@codesourcery.com>
8588 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8590 2014-04-01 Anton Blanchard <anton@samba.org>
8592 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8595 2014-04-01 Anton Blanchard <anton@samba.org>
8597 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8598 prepare_for_testing.
8600 2014-04-01 Anton Blanchard <anton@samba.org>
8602 * gdb.arch/ppc64-atomic-inst.c: Remove.
8603 * gdb.arch/ppc64-atomic-inst.S: New file.
8604 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8606 2014-03-31 Doug Evans <dje@google.com>
8608 * gdb.base/print-symbol-loading-lib.c: New file.
8609 * gdb.base/print-symbol-loading-main.c: New file.
8610 * gdb.base/print-symbol-loading.exp: New file.
8612 2014-03-31 Yao Qi <yao@codesourcery.com>
8614 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8616 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8618 * gdb.ada/mi_dyn_arr: New testcase.
8620 2014-03-27 Doug Evans <dje@google.com>
8622 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8624 2014-03-27 Yao Qi <yao@codesourcery.com>
8626 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8627 if target is nios2-*-*.
8629 2014-03-26 Yao Qi <yao@codesourcery.com>
8631 * lib/gdb.exp (readline_is_used): New proc.
8632 * gdb.base/completion.exp: Move tests on command complete up.
8633 Skip the rest of tests if readline is not used.
8634 * gdb.ada/complete.exp: Skp the test if readline is not
8636 * gdb.base/filesym.exp: Likewise.
8637 * gdb.base/macscp.exp: Likewise.
8638 * gdb.base/readline-ask.exp: Likewise.
8639 * gdb.base/readline.exp: Likewise.
8640 * gdb.python/py-cmd.exp: Likewise.
8641 * gdb.trace/tfile.exp: Likewise.
8643 2014-03-26 Yao Qi <yao@codesourcery.com>
8645 * gdb.base/macscp.exp: Fix code format issues.
8647 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8649 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8650 * gdb.asm/powerpc64le.inc: New file.
8652 2014-03-25 Pedro Alves <palves@redhat.com>
8653 Doug Evans <dje@google.com>
8655 * gdb.base/source-execution.c: New file.
8656 * gdb.base/source-execution.exp: New file.
8657 * gdb.base/source-execution.gdb: New file.
8659 2014-03-24 Doug Evans <dje@google.com>
8661 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8664 2014-03-24 Hui Zhu <hui@codesourcery.com>
8665 Pedro Alves <palves@redhat.com>
8667 PR breakpoints/16101
8668 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8669 test pass/fail messages. Detect missing support for dprintf when
8670 breakpoints are actually inserted.
8671 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8672 breakpoints are actually inserted.
8673 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8676 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8678 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8680 2014-03-22 Doug Evans <xdje42@gmail.com>
8682 * gdb.python/python.exp (python not supported): Verify multi-line
8683 python command issues an error.
8684 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8685 guile command issues an error.
8687 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8689 * gdb.threads/thread-specific.exp: Handle the lack of usable
8690 $this_breakpoint and $this_thread.
8692 2014-03-21 Hui Zhu <hui@codesourcery.com>
8694 * gdb.base/attach.exp (do_command_attach_tests): New.
8696 2014-03-20 Tom Tromey <tromey@redhat.com>
8697 Pedro Alves <palves@redhat.com>
8700 * gdb.base/condbreak-call-false.c: New file.
8701 * gdb.base/condbreak-call-false.exp: New file.
8703 2014-03-20 Pedro Alves <palves@redhat.com>
8705 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8707 (block_signals, unblock_signals): Delete.
8708 (child_function_2, main): Remove references to deleted variable
8711 2014-03-20 Pedro Alves <palves@redhat.com>
8713 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8714 Use pthread_kill to signal thread 2.
8715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8716 Adjust to make the test send itself a signal rather than using the
8717 host's "kill" command.
8719 2014-03-20 Pedro Alves <palves@redhat.com>
8721 * gdb.threads/multiple-step-overs.c: New file.
8722 * gdb.threads/multiple-step-overs.exp: New file.
8723 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8724 Adjust expected infrun debug output.
8726 2014-03-20 Pedro Alves <palves@redhat.com>
8728 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8729 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8731 2014-03-20 Pedro Alves <palves@redhat.com>
8734 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8735 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8736 of gdb_test_multiple.
8737 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8738 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8740 2014-03-20 Pedro Alves <palves@redhat.com>
8742 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8743 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8745 2014-03-19 Pedro Alves <palves@redhat.com>
8747 * gdb.base/async.exp: Remove early return.
8749 2014-03-19 Pedro Alves <palves@redhat.com>
8751 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8753 2014-03-19 Pedro Alves <palves@redhat.com>
8755 * gdb.base/async.exp (test_background): Expect \r\n after
8756 "completed." in the fail pattern.
8758 2014-03-19 Pedro Alves <palves@redhat.com>
8760 * gdb.base/async.exp (test_background): New procedure.
8761 Use it for all background execution command tests.
8763 2014-03-19 Pedro Alves <palves@redhat.com>
8765 * gdb.base/async.exp: Use prepare_for_testing.
8767 2014-03-19 Pedro Alves <palves@redhat.com>
8769 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8772 2014-03-19 Pedro Alves <palves@redhat.com>
8774 * gdb.base/async.c (main): Add "jump here" and "until here" line
8776 * gdb.base/async.exp (jump_here): New global.
8777 (jump& test): Use it.
8778 (until_here): New global.
8779 (until& test): Use it.
8781 2014-03-19 Pedro Alves <palves@redhat.com>
8783 * gdb.base/async.exp: Don't frob gdb_protocol.
8785 2014-03-18 Doug Evans <xdje42@gmail.com>
8787 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8788 Fix spelling of exec-done-display.
8790 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8793 * gdb.base/gdb-sigterm.c: New file.
8794 * gdb.base/gdb-sigterm.exp: New file.
8796 2014-03-18 Pedro Alves <palves@redhat.com>
8799 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8800 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8803 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8805 * gdb.ada/pckd_arr_ren: New testcase.
8807 2014-03-13 Doug Evans <xdje42@gmail.com>
8810 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8811 collect after discarding symbols.
8813 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8814 Doug Evans <xdje42@gmail.com>
8816 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8817 to history survives a gc.
8819 2014-03-13 Pedro Alves <palves@redhat.com>
8821 * gdb.base/default.exp: Don't test "target procfs".
8823 2014-03-13 Pedro Alves <palves@redhat.com>
8825 * gdb.base/default.exp: Update "target child" and "target procfs"
8826 tests to not expect "Unix".
8828 2014-03-12 Tom Tromey <tromey@redhat.com>
8830 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8831 New procs. Add target-async tests.
8832 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8833 Add target-async tests.
8835 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8837 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8838 'func_start' and 'func_end' for the beginning and end of the
8839 function code, respectively.
8840 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8841 'func_end' instead of 'func' and 'main'.
8843 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8845 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8846 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8847 generate the debug info assembler source.
8849 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8851 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8852 * gdb.dwarf2/arr-subrange.exp: Likewise.
8853 * gdb.dwarf2/dwz.exp: Likewise.
8854 * gdb.dwarf2/method-ptr.exp: Likewise.
8855 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8856 * gdb.dwarf2/subrange.exp: Likewise.
8857 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8858 * gdb.dwarf2/implptrpiece.exp: Likewise.
8859 * gdb.dwarf2/nostaticblock.exp: Likewise.
8861 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8863 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8864 directory to absolute path name arguments.
8866 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8868 * gdb.ada/tagged_access: New testcase.
8870 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8872 * gdb.btrace/data.exp: Update expected output.
8874 2014-03-06 Yao Qi <yao@codesourcery.com>
8876 * gdb.trace/pr16508.exp: New file.
8878 2014-03-05 Pedro Alves <palves@redhat.com>
8881 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8883 (top level): Adjust to use it. Add tests that exercise breakpoint
8884 interaction with the code-cache.
8886 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8888 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8889 test for 'history-append!'.
8891 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8893 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8894 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8895 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8896 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8897 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8898 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8900 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8902 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8903 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8904 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8906 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8908 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8910 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8912 * gdb.dwarf2/arr-stride.c: New file.
8913 * gdb.dwarf2/arr-stride.exp: New file.
8915 2014-02-26 Pedro Alves <palves@redhat.com>
8917 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8918 that won't ever trigger. Make sure that GDB reports the correct
8919 breakpoint that caused the stop.
8921 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8924 * gdb.base/auto-load-script: New file.
8925 * gdb.base/auto-load.c: New file.
8926 * gdb.base/auto-load.exp: New file.
8929 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8931 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8933 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8934 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8936 2014-02-24 Doug Evans <dje@google.com>
8938 * lib/gdb.exp (run_on_host): Log error output if program fails.
8940 2014-02-21 Pedro Alves <palves@redhat.com>
8942 * gdb.threads/step-after-sr-lock.c: Rename to ...
8943 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8944 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8945 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8948 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8951 * gdb.arch/amd64-stap-special-operands.exp: New file.
8952 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8953 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8954 * gdb.arch/amd64-stap-triplet.S: Likewise.
8955 * gdb.arch/amd64-stap-triplet.c: Likewise.
8957 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8959 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8960 in .section pseudo-op.
8962 2014-02-20 lin zuojian <manjian2006@gmail.com>
8963 Joel Brobecker <brobecker@adacore.com>
8964 Doug Evans <xdje42@gmail.com>
8967 * gdb.dwarf2/dw2-icycle.S: New file.
8968 * gdb.dwarf2/dw2-icycle.c: New file.
8969 * gdb.dwarf2/dw2-icycle.exp: New file.
8971 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8973 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8974 operations on gdb.Value objects.
8975 * gdb.python/py-value-cc.exp: Add new test to test operations on
8978 2014-02-18 Doug Evans <dje@google.com>
8980 * Makefile.in (TESTS): New variable.
8981 (expanded_tests, expanded_tests_or_none): New variables
8982 (check-single): Pass $(expanded_tests_or_none) to runtest.
8983 (check-parallel): Only run tests in $(TESTS) if non-empty.
8984 (check/no-matching-tests-found): New rule.
8985 * README: Document TESTS makefile variable.
8987 2014-02-18 Doug Evans <dje@google.com>
8989 * Makefile.in (check-parallel): rm -rf outputs temp.
8991 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8993 Fix "ERROR: no fileid for" in the testsuite.
8994 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8996 2014-02-12 Doug Evans <dje@google.com>
8998 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8999 (MISCELLANEOUS): New variable.
9000 (clean): rm -rf $(MISCELLANEOUS).
9001 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9002 dwp live in the same directory as symlinks, with each symlink pointed
9003 to a differently named file in a different directory.
9005 2014-02-11 Doug Evans <dje@google.com>
9007 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9008 of Tcl file commands.
9010 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9012 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9015 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9017 * gdb.ada/tick_length_array_enum_idx: New testcase.
9019 2014-02-10 Doug Evans <xdje42@gmail.com>
9021 * configure.ac (AC_OUTPUT): Add gdb.guile.
9022 * configure: Regenerate.
9023 * lib/gdb-guile.exp: New file.
9024 * lib/gdb.exp (get_target_charset): New function.
9025 * gdb.base/help.exp: Update expected output from "apropos apropos".
9026 * gdb.guile/Makefile.in: New file.
9027 * gdb.guile/guile.exp: New file.
9028 * gdb.guile/scm-arch.c: New file.
9029 * gdb.guile/scm-arch.exp: New file.
9030 * gdb.guile/scm-block.c: New file.
9031 * gdb.guile/scm-block.exp: New file.
9032 * gdb.guile/scm-breakpoint.c: New file.
9033 * gdb.guile/scm-breakpoint.exp: New file.
9034 * gdb.guile/scm-disasm.c: New file.
9035 * gdb.guile/scm-disasm.exp: New file.
9036 * gdb.guile/scm-equal.c: New file.
9037 * gdb.guile/scm-equal.exp: New file.
9038 * gdb.guile/scm-error.exp: New file.
9039 * gdb.guile/scm-error.scm: New file.
9040 * gdb.guile/scm-frame-args.c: New file.
9041 * gdb.guile/scm-frame-args.exp: New file.
9042 * gdb.guile/scm-frame-args.scm: New file.
9043 * gdb.guile/scm-frame-inline.c: New file.
9044 * gdb.guile/scm-frame-inline.exp: New file.
9045 * gdb.guile/scm-frame.c: New file.
9046 * gdb.guile/scm-frame.exp: New file.
9047 * gdb.guile/scm-generics.exp: New file.
9048 * gdb.guile/scm-gsmob.exp: New file.
9049 * gdb.guile/scm-iterator.c: New file.
9050 * gdb.guile/scm-iterator.exp: New file.
9051 * gdb.guile/scm-math.c: New file.
9052 * gdb.guile/scm-math.exp: New file.
9053 * gdb.guile/scm-objfile-script-gdb.in: New file.
9054 * gdb.guile/scm-objfile-script.c: New file.
9055 * gdb.guile/scm-objfile-script.exp: New file.
9056 * gdb.guile/scm-objfile.c: New file.
9057 * gdb.guile/scm-objfile.exp: New file.
9058 * gdb.guile/scm-ports.exp: New file.
9059 * gdb.guile/scm-pretty-print.c: New file.
9060 * gdb.guile/scm-pretty-print.exp: New file.
9061 * gdb.guile/scm-pretty-print.scm: New file.
9062 * gdb.guile/scm-section-script.c: New file.
9063 * gdb.guile/scm-section-script.exp: New file.
9064 * gdb.guile/scm-section-script.scm: New file.
9065 * gdb.guile/scm-symbol.c: New file.
9066 * gdb.guile/scm-symbol.exp: New file.
9067 * gdb.guile/scm-symtab-2.c: New file.
9068 * gdb.guile/scm-symtab.c: New file.
9069 * gdb.guile/scm-symtab.exp: New file.
9070 * gdb.guile/scm-type.c: New file.
9071 * gdb.guile/scm-type.exp: New file.
9072 * gdb.guile/scm-value-cc.cc: New file.
9073 * gdb.guile/scm-value-cc.exp: New file.
9074 * gdb.guile/scm-value.c: New file.
9075 * gdb.guile/scm-value.exp: New file.
9076 * gdb.guile/source2.scm: New file.
9077 * gdb.guile/types-module.cc: New file.
9078 * gdb.guile/types-module.exp: New file.
9080 2014-02-10 Yao Qi <yao@codesourcery.com>
9083 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9084 * configure: Regenerated.
9085 * Makefile.in: New file.
9087 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9089 * gdb.python/py-framefilter.exp: Fix typo.
9091 2014-02-08 Yao Qi <yao@codesourcery.com>
9093 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9094 that no =breakpoint-modified is emitted when breakpoints are
9095 modified through MI commands.
9097 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9098 Pedro Alves <palves@redhat.com>
9100 * gdb.threads/step-after-sr-lock.c: New file.
9101 * gdb.threads/step-after-sr-lock.exp: New file.
9103 2014-02-07 Pedro Alves <palves@redhat.com>
9105 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9107 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9109 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9110 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9112 2014-02-06 Doug Evans <xdje42@gmail.com>
9114 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9117 * gdb.gdb/python-interrupts.exp: New file.
9119 2014-02-05 Yao Qi <yao@codesourcery.com>
9121 * gdb.trace/report.exp (use_collected_data): Test the output
9122 of "info threads" and "info inferiors".
9124 2014-02-05 Yao Qi <yao@codesourcery.com>
9128 2013-05-24 Yao Qi <yao@codesourcery.com>
9130 * gdb.trace/tfile.exp: Test inferior and thread.
9132 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9134 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9136 * gdb.base/step-bt.c: Call hello via function pointer to make
9137 sure its first instruction is executed on powerpc64le-linux.
9139 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9141 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9143 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9145 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9146 of the test patterns for use on little-endian systems.
9148 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9150 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9151 (decimal_vector): Fix for little-endian.
9153 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9155 * gdb.arch/sparc-sysstep.exp: New file.
9156 * gdb.arch/sparc-sysstep.c: Likewise.
9158 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9160 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9162 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9164 2014-01-23 Tom Tromey <tromey@redhat.com>
9166 * gdb.ada/array_char_idx: New testcase.
9168 2014-01-23 Tom Tromey <tromey@redhat.com>
9171 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9172 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9175 2014-01-23 Tom Tromey <tromey@redhat.com>
9178 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9179 string from an inferior frame.
9180 * gdb.python/py-framefilter-mi.exp: Update.
9182 2014-01-22 Doug Evans <dje@google.com>
9184 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9186 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9188 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9190 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9192 * gdb.trace/entry-values.exp: Remove excess space character from
9193 regex patterns. Handle s390 call instruction.
9195 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9197 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9198 define "*_start" label. Make "name" static.
9199 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9200 ${name} by references to ${name}_start.
9202 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9204 * gdb.base/info-macros.exp: Remove "debug" from the compile
9207 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9209 * gdb.dlang/demangle.exp: New file.
9211 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9213 * gdb.dlang/primitive-types.exp: New file.
9215 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9217 * configure.ac: Create gdb.dlang/Makefile.
9218 * configure: Regenerate.
9219 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9220 * gdb.dlang/Makefile.in: New file.
9221 * lib/d-support.exp: New file.
9222 * lib/gdb.exp (skip_d_tests): New proc.
9224 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9226 * gdb.btrace/delta.exp: Check reverse stepi.
9227 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9228 * gdb.btrace/finish.exp: New.
9229 * gdb.btrace/next.exp: New.
9230 * gdb.btrace/nexti.exp: New.
9231 * gdb.btrace/record_goto.c: Add comments.
9232 * gdb.btrace/step.exp: New.
9233 * gdb.btrace/stepi.exp: New.
9234 * gdb.btrace/multi-thread-step.c: New.
9235 * gdb.btrace/multi-thread-step.exp: New.
9236 * gdb.btrace/rn-dl-bind.c: New.
9237 * gdb.btrace/rn-dl-bind.exp: New.
9238 * gdb.btrace/data.c: New.
9239 * gdb.btrace/data.exp: New.
9240 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9242 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9244 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9245 * gdb.btrace/exception.exp: Update.
9246 * gdb.btrace/instruction_history.exp: Update.
9247 * gdb.btrace/record_goto.exp: Update.
9248 * gdb.btrace/tailcall.exp: Update.
9249 * gdb.btrace/unknown_functions.exp: Update.
9250 * gdb.btrace/delta.exp: New.
9252 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9254 * gdb.btrace/record_goto.exp: Add backtrace test.
9255 * gdb.btrace/tailcall.exp: Add backtrace test.
9257 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9259 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9260 * gdb.btrace/record_goto.c: New.
9261 * gdb.btrace/record_goto.exp: New.
9262 * gdb.btrace/x86-record_goto.S: New.
9264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9266 * gdb.btrace/function_call_history.exp: Update tests.
9267 * gdb.btrace/instruction_history.exp: Update tests.
9269 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9271 * gdb.btrace/function_call_history.exp: Fix expected field
9272 order for "record function-call-history".
9273 Add new tests for "record function-call-history /c".
9274 * gdb.btrace/exception.cc: New.
9275 * gdb.btrace/exception.exp: New.
9276 * gdb.btrace/tailcall.exp: New.
9277 * gdb.btrace/x86-tailcall.S: New.
9278 * gdb.btrace/x86-tailcall.c: New.
9279 * gdb.btrace/unknown_functions.c: New.
9280 * gdb.btrace/unknown_functions.exp: New.
9281 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9285 * gdb.btrace/instruction_history.exp: Update.
9286 * gdb.btrace/function_call_history.exp: Update.
9288 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9290 * gdb.btrace/function_call_history.exp: Fix expected function
9292 * gdb.btrace/instruction_history.exp: Initialize traced.
9293 Remove traced_functions.
9295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9297 * gdb.btrace/function_call_history.exp: Update
9298 * gdb.btrace/instruction_history.exp: Update.
9300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9302 * gdb.btrace/enable.exp: Update expected text.
9304 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9306 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9309 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9311 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9313 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9315 * lib/gdb.exp (supports_process_record): Return true for
9316 arm*-linux*. (supports_reverse): Likewise.
9318 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9322 * gdb.python/py-type.c: Enhance test case.
9323 * gdb.python/py-value-cc.cc: Likewise
9324 * gdb.python/py-type.exp: Add new tests.
9325 * gdb.python/py-value-cc.exp: Likewise
9327 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9328 Pedro Alves <palves@redhat.com>
9330 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9332 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9333 references to ${name}_start by references to ${name}.
9335 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9337 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9339 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9341 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9343 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9344 Pedro Alves <palves@redhat.com>
9346 * gdb.mi/mi-info-os.exp: Connect to the target with
9349 2014-01-08 Pedro Alves <palves@redhat.com>
9351 * gdb.threads/reconnect-signal.c: New file.
9352 * gdb.threads/reconnect-signal.exp: New file.
9354 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9356 * gdb.base/source-dir.exp: New file.
9358 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9360 * gdb.ada/mi_interface: New testcase.
9362 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9364 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9365 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9366 gdb.ada/pp-rec-component/pck.ads: New files.
9368 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9370 * gdb.python/py-pp-integral.c: New file.
9371 * gdb.python/py-pp-integral.py: New file.
9372 * gdb.python/py-pp-integral.exp: New file.
9374 For older changes see ChangeLog-1993-2013.
9380 ;; version-control: never
9383 Copyright 2014-2016 Free Software Foundation, Inc.
9384 Copying and distribution of this file, with or without modification,
9385 are permitted provided the copyright notice and this notice are preserved.