1 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11 * gdb.base/killed-outside.exp: Remove $options from a call to
12 `prepare_for_testing'.
14 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
16 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
19 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
21 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
24 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
26 * gdb.trace/mi-trace-save.exp: New file.
28 2016-10-13 Yao Qi <yao.qi@linaro.org>
30 * gdb.base/code_elim.exp (get_var_address): Remove.
31 * gdb.base/relocate.exp: Likewise.
32 * gdb.base/shreloc.exp: Likewise.
33 * lib/gdb.exp (get_var_address): New.
35 2016-10-13 Yao Qi <yao.qi@linaro.org>
37 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
38 floating point tests if $skip_float_test is false.
40 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
42 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
43 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
45 Add 1 to argc so we guarantee distinct initial/modified argc values.
47 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
49 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
51 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
53 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
54 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
55 * gdb.arch/vsx-regs.exp: Likewise.
57 2016-10-07 Yao Qi <yao.qi@linaro.org>
59 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
61 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
63 * gdb.python/python.exp: Test decode_line("*0").
65 2016-10-06 Doug Evans <dje@google.com>
67 * gdb.python/py-value.exp (test_value_creation): Add test for large
68 unsigned 64-bit value.
70 2016-10-06 Tom Tromey <tom@tromey.com>
72 * gdb.compile/compile.exp: Change java tests to rust.
73 * gdb.base/setshow.exp: Change java tests to rust.
74 * gdb.base/default.exp: Remove java from language list.
75 * README (Examples): Update language example.
76 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
78 * lib/gdb.exp (skip_java_tests): Remove.
79 * lib/java.exp: Remove.
82 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
84 * gdb.arch/mips-fcr.exp: New test.
85 * gdb.arch/mips-fcr.c: Source for the new test.
87 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
89 * gdb.base/solib-disc.exp: Use `standard_output_file'
92 2016-10-06 Pedro Alves <palves@redhat.com>
94 * gdb.base/jit-simple-dl.c: New file.
95 * gdb.base/jit-simple-jit.c: New file, factored out from ...
96 * gdb.base/jit-simple.c: ... this.
97 * gdb.base/jit-simple.exp (jit_run): Delete.
98 (build_jit): New proc.
99 (jit_test_reread): Recompile either the main program or the shared
100 library, depending on what is being tested. Skip changing address
101 if caller wants to. Compare before/after addresses. If testing
102 standalone, explicitly load the binary. Test "maint info
104 (top level): Add "standalone vs shared lib" and "change address"
105 vs "same address" axes.
107 2016-10-06 Pedro Alves <palves@redhat.com>
109 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
112 (jit_test_reread): Use with_test_prefix. Reload the main binary
113 explicitly. Compare the before/after addresses of the JIT
116 2016-08-15 Doug Evans <dje@google.com>
118 * gdb.xml/extra-regs.xml: Update, end field now required, default type
119 for single bitfields is bool.
120 * gdb.xml/tdesc-regs.exp: Ditto.
122 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
124 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
126 2016-10-05 Yao Qi <yao.qi@linaro.org>
128 * lib/gdb.exp (support_complex_tests): Return zero if
129 gdb_skip_float_test return true.
131 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
132 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
135 * gdb.mi/user-selected-context-sync.exp: New file.
136 * gdb.mi/user-selected-context-sync.c: New file.
138 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
139 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
142 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
143 =thread-select-event check.
145 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
147 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
148 the compulsory L operand changes.
149 * gdb.arch/powerpc-power.s: Likewise.
151 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
153 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
154 * gdb.base/jit-attach-pie.c: New file.
155 * gdb.base/jit-attach-pie.exp: New file.
157 2016-09-28 Pedro Alves <palves@redhat.com>
159 * gdb.base/infcall-input.c: New file.
160 * gdb.base/infcall-input.exp: New file.
162 2016-09-22 Yao Qi <yao.qi@linaro.org>
164 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
165 (gdb_exit): Rename it to ...
166 (gdbserver_gdb_exit): ... Close GDBserver.
167 (gdb_exit): New proc, call gdbserver_gdb_exit.
168 (mi_gdb_exit): Likewise.
170 2016-09-22 Yao Qi <yao.qi@linaro.org>
172 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
174 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
177 2016-09-22 Yao Qi <yao.qi@linaro.org>
179 * lib/gdbserver-support.exp: Check the existence of
180 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
182 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
184 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
186 2016-09-21 Tom Tromey <tom@tromey.com>
189 * gdb.base/quit.exp: New file.
191 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
193 * .gitignore: New file.
195 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
197 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
200 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
202 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
204 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
206 * gdb.cp/casts.cc (decltype): Move it ...
207 (main): ... with its call to ...
208 * gdb.cp/casts03.cc: ... a new file.
209 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
211 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
213 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
215 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
217 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
218 and sync up the test with tests in gas/testsuite/gas/ppc.
219 * gdb.arch/powerpc-power.exp: Likewise.
221 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
223 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
225 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
226 Jan Kratochvil <jan.kratochvil@redhat.com>
228 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
229 make m1's definition to be different from m2's. Use 'dummy' as an
230 argument for probe 'two'.
232 2016-09-10 Jon Beniston <jon@beniston.com>
234 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
237 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
239 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
240 variable declaration.
241 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
242 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
243 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
244 received HWCAP as its argument.
246 2016-09-06 Pedro Alves <palves@redhat.com>
248 * gdb.base/new-ui-pending-input.c: New file.
249 * gdb.base/new-ui-pending-input.exp: New file.
250 * gdb.exp (clear_gdb_spawn_id): New procedure.
251 (with_spawn_id): Check whether gdb_spawn_id exists before
252 referencing it. If gdb_spawn_id didn't exist on entry, clear it
255 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
257 * gdb.base/float128.c: New file.
258 * gdb.base/float128.exp: Likewise.
259 * gdb.base/floatn.c: Likewise.
260 * gdb.base/floatn.exp: Likewise.
262 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
264 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
266 2016-09-05 Pedro Alves <palves@redhat.com>
269 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
270 unwinders are immediately called as side effect of "source" or
271 "disable unwinder" commands.
272 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
274 2016-09-02 Yao Qi <yao.qi@linaro.org>
276 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
277 is true and $type is "float" or "double".
279 2016-09-02 Yao Qi <yao.qi@linaro.org>
281 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
283 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
284 * gdb.base/call-rt-st.exp: Likewise.
285 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
286 return value instead of gdb,skip_float_test.
287 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
288 (do_function_calls): Use its return value instead of
290 * gdb.base/finish.exp: Likewise.
291 * gdb.base/funcargs.exp: Likewise.
292 * gdb.base/return.exp: Likewise.
293 * gdb.base/return2.exp: Likewise.
294 * gdb.base/varargs.exp: Likewise.
295 * lib/gdb.exp (gdb_skip_float_test): Change it to
296 gdb_caching_proc. Detect the broken ptrace on arm-linux.
298 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
300 * gdb.multi/tids.exp: Test "thread apply all".
302 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
304 * gdb.base/default.exp (tty): Remove.
306 2016-08-24 Kevin Buettner <kevinb@redhat.com>
308 * gdb.python/py-recurse-unwind.c: New file.
309 * gdb.python/py-recurse-unwind.py: New file.
310 * gdb.python/py-recurse-unwind.exp: New file.
312 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
314 * gdb.base/set-inferior-tty.exp: New file.
315 * gdb.base/set-inferior-tty.c: New file.
317 2016-08-23 Pedro Alves <palves@redhat.com>
320 * gdb.base/new-ui-echo.c: New file.
321 * gdb.base/new-ui-echo.exp: New file.
323 2016-08-23 Yao Qi <yao.qi@linaro.org>
325 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
327 * gdb.server/connect-without-multi-process.exp (do_test):
330 2016-08-23 Yao Qi <yao.qi@linaro.org>
332 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
333 standalone_txt. Delete gdb_txt and standalone_txt on host
334 and target. Spawn the binary on target. Copy files from
337 2016-08-22 Pedro Alves <palves@redhat.com>
340 * gdb.base/vdso-warning.exp: Test core dumps too. Use
341 with_test_prefix. Factor out bits to ...
342 (test_no_vdso): ... this new procedure.
344 2016-08-19 Carl Love <cel@us.ibm.com>
346 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
347 maintaining separate logic for constructing the output path.
348 * gdb.arch/powerpc-d128-regs.exp: Likewise.
349 * gdb.arch/ppc-dfp.exp: Likewise.
350 * gdb.arch/ppc-fp.exp: Likewise.
351 * gdb.arch/vsx-regs.exp: Likewise.
352 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
353 binprefix for generating the additional binary files.
355 2016-08-19 Pedro Alves <palves@redhat.com>
357 * gdb.trace/mi-trace-frame-collected.exp
358 (test_trace_frame_collected): On x32, expect two registers.
360 2016-08-18 Carl Love <cel@us.ibm.com>
362 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
363 and sync up the test with tests in gas/testsuite/gas/ppc.
364 * gdb.arch/powerpc-power.exp: Likewise.
366 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
368 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
369 expected error message.
371 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
373 * gdb.multi/remove-inferiors.exp: New file.
374 * gdb.multi/remove-inferiors.c: New file.
376 2016-08-12 Yao Qi <yao.qi@linaro.org>
378 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
381 2016-08-10 Pedro Alves <palves@redhat.com>
384 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
387 2016-08-09 Pedro Alves <palves@redhat.com>
388 Simon Marchi <simon.marchi@ericsson.com>
391 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
392 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
394 2016-08-09 Pedro Alves <palves@redhat.com>
397 * gdb.mi/mi-cmd-error.exp: New file.
399 2016-08-09 Pedro Alves <palves@redhat.com>
402 * gdb.base/signals-state-child.c: New file.
403 * gdb.base/signals-state-child.exp: New file.
404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
406 2016-08-09 Pedro Alves <palves@redhat.com>
408 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
410 2016-08-03 Tom Tromey <tom@tromey.com>
413 * gdb.python/py-frame-inline.exp: Add Frame.function test.
415 2016-08-01 Yao Qi <yao.qi@linaro.org>
417 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
418 variable mode to "multi-process" if $multi_process is 1, otherwise
419 set it to "single-process".
421 2016-08-01 Yao Qi <yao.qi@linaro.org>
423 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
424 * gdb.cp/cpexprs.exp: Likewise.
425 * gdb.cp/m-static.exp: Likewise.
427 2016-07-26 Tom Tromey <tom@tromey.com>
430 * gdb.threads/tls.exp (check_thread_local): Add python symbol
433 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
435 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
436 selecting assembly source files.
437 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
438 assembly source files.
439 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
440 assembly source files.
441 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
442 selecting assembly source files.
444 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
446 * gdb.base/new-ui.exp (do_test_invalid_args): New
449 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
451 * gdb.btrace/reconnect.c: New file.
452 * gdb.btrace/reconnect.exp: New file.
454 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
456 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
457 to test_catch_syscall_group.
458 (test_catch_syscall_group): New.
460 2016-07-21 Tom Tromey <tom@tromey.com>
462 * gdb.rust/simple.rs (main): Use empty struct expression.
463 * gdb.rust/simple.exp: Add tests for empty struct expression.
465 2016-07-21 Yao Qi <yao.qi@linaro.org>
467 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
468 if gdb_skip_xml_test is true on some targets.
470 2016-07-21 Yao Qi <yao.qi@linaro.org>
472 * gdb.server/solib-list.exp: Unset last_loaded_file.
474 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
476 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
477 "step into captured_main (args)".
479 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
481 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
483 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
485 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
487 2016-07-19 Pedro Alves <palves@redhat.com>
489 * gdb.opt/inline-break.exp: Remove optimize=-O2.
490 * gdb.opt/inline-bt.exp: Likewise.
491 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
492 additional_flags=-Winline.
493 * gdb.opt/inline-locals.exp: Likewise.
494 * gdb.opt/inline-markers.c (ATTR): Define.
495 (inlined_fn): Use it.
497 2016-07-19 Yao Qi <yao.qi@linaro.org>
499 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
500 (test_with_self): Remove some code. Remove argument executable.
501 (top-level): Use do_self_tests.
503 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
504 Don Breazeal <donb@codesourcery.com>
506 * gdb.base/maint.exp: Escape paths used in regular expressions.
507 * gdb.stabs/weird.exp: Likewise.
509 2016-07-13 Tom Tromey <tom@tromey.com>
511 PR python/15620, PR python/18620:
512 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
513 (test_bkpt_events): New procs.
515 2016-07-13 Tom Tromey <tom@tromey.com>
518 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
520 (test_watchpoints): Likewise.
521 (test_bkpt_pending): New proc.
523 2016-07-13 Tom Tromey <tom@tromey.com>
526 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
529 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
531 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
532 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
533 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
535 (g): Rename g_end_lbl to g_label.
536 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
538 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
540 2016-07-12 Tom Tromey <tom@tromey.com>
543 * gdb.python/py-unwind-maint.exp: Update tests.
545 2016-07-12 Yao Qi <yao.qi@linaro.org>
547 * lib/selftest-support.exp (selftest_setup): Match the output
548 when captured_main is inlined.
550 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
552 * gdb.fortran/derived-types.exp (result_line, result_line_2):
554 (print this%a, print this%b, print this): New tests.
555 * gdb.fortran/derived-types.f90 (this): New object and
558 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
560 * gdb.ada/arraydim.exp: Remove extra directory level in build
563 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
565 * lib/ada.exp: Remove extra directory level in build directory.
566 * gdb.ada/cond_lang.exp: Likewise.
567 * gdb.ada/exec_changed.exp: Likewise.
568 * gdb.ada/lang_switch.exp: Likewise.
570 2016-07-06 Manish Goregaokar <manish@mozilla.com>
572 * simple.rs: Add test for raw pointer subscripting
573 * simple.exp: Add test expectations
575 2016-07-05 Yao Qi <yao.qi@linaro.org>
577 * gdb.mi/mi-reverse.exp: Match =record-started output.
579 2016-07-01 Pedro Alves <palves@redhat.com>
581 * gdb.base/jit-reader.exp (info_registers_current_frame): New
583 (jit_reader_test): Test the jit reader's unwinder.
584 * gdb.base/jithost.c (jit_function_00_code): New global.
585 (main): Use memcpy to fill in the mmapped code, instead of poking
587 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
589 (read_debug_info): Save the function's range.
590 (read_sp): New function.
591 (unwind_frame): Use it. Also unwind RBP.
592 (get_frame_id): Use read_sp.
593 (gdb_init_reader): Use calloc instead of malloc.
594 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
595 parameter. Use gdb_test_multiple.
597 2016-07-01 Pedro Alves <palves@redhat.com>
598 Antoine Tremblay <antoine.tremblay@ericsson.com>
600 * gdb.threads/process-dies-while-detaching.c: New file.
601 * gdb.threads/process-dies-while-detaching.exp: New file.
603 2016-07-01 Pedro Alves <palves@redhat.com>
605 * gdb.multi/watchpoint-multi-exit.c: New file.
606 * gdb.multi/watchpoint-multi-exit.exp: New file.
608 2016-06-30 Pedro Alves <palves@redhat.com>
610 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
611 unset inferior_spawn_id.
613 2016-06-30 Pedro Alves <palves@redhat.com>
615 * lib/mi-support.exp (default_mi_gdb_start): Declare global
616 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
618 2016-06-29 Yao Qi <yao.qi@linaro.org>
620 * gdb.base/return.c: Add copyright header.
622 2016-06-29 Tom Tromey <tom@tromey.com>
625 * gdb.python/py-framefilter.exp: Add tests for setting priority
626 and disabling of non-existent frame filter.
628 2016-06-29 Yao Qi <yao.qi@linaro.org>
630 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
633 2016-06-28 Yao Qi <yao.qi@linaro.org>
635 * gdb.base/catch-syscall.exp: Remove check on isnative and target
636 triplets. Start gdb, execute catch syscall, and continue. Check
637 gdb's output to determine catch syscall is supported.
639 2016-06-27 Manish Goregaokar <manish@mozilla.com>
641 * gdb.rust/simple.rs: Add test for returning unit in a function.
642 * gdb.rust/simple.exp: Add expectation for functions returning
645 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
647 * gdb.python/py-breakpoint-create-fail.c,
648 gdb.python/py-breakpoint-create-fail.exp,
649 gdb.python/py-breakpoint-create-fail.py: New testcase.
651 2016-06-25 Manish Goregaokar <manish@mozilla.com>
654 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
655 * gdb.rust/simple.exp: Add test expectations for new NonZero
658 2016-06-24 David Taylor <dtaylor@emc.com>
660 * gdb.base/offsets.exp: New file.
661 * gdb.base/offsets.c: New file.
663 2016-06-23 Tom Tromey <tom@tromey.com>
666 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
667 before any filters are loaded.
669 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
671 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
672 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
674 * gdb.fortran/derived-type-function.exp: New file.
675 * gdb.fortran/derived-type-function.f90: New file.
678 2016-06-21 Pedro Alves <palves@redhat.com>
680 * gdb.base/new-ui.exp: New file.
681 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
682 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
683 (with_spawn_id): New procedure.
685 2016-06-21 Pedro Alves <palves@redhat.com>
687 * gdb.mi/mi-exec-run.exp: New file.
689 2016-06-21 Pedro Alves <palves@redhat.com>
691 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
692 breakpoint command's output on the main UI.
693 (test_break): New procedure, factored out from calls in the top
695 (top level): Use foreach_with_prefix to test MI as main UI and as
698 2016-06-21 Pedro Alves <palves@redhat.com>
700 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
701 (test_awatch_creation_and_listing)
702 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
703 Remove 'type' parameter.
704 (test_watchpoint_all): New parameter mi_mode. Remove
706 (top level): Use foreach_with_prefix, and add main/separate UI MI
709 2016-06-21 Pedro Alves <palves@redhat.com>
711 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
712 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
713 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
714 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
715 (gdb_main_spawn_id, mi_spawn_id): Declare and
717 (mi_create_inferior_pty): New procedure,
718 factored out from default_mi_gdb_start.
719 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
721 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
722 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
723 Use mi_create_inferior_pty.
724 (mi_gdb_start): Use eval to pass down args list.
726 2016-06-21 Pedro Alves <palves@redhat.com>
728 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
729 * gdb.opt/inline-cmds.exp: Add MI tests.
731 2016-06-21 Pedro Alves <palves@redhat.com>
733 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
735 2016-06-21 Pedro Alves <palves@redhat.com>
737 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
738 (top level): Use it instead of mi_execute_to.
740 2016-06-21 Pedro Alves <palves@redhat.com>
742 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
743 (cont_handler_str): New.
744 (signal_stop_handler): Set stop_handler_str instead of printing to
746 (continue_handler): Set cont_handler_str instead of printing to
748 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
749 mi_send_resuming_command. Print stop_handler_str and
750 cont_handler_str instead of expecting the python events print
753 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
755 * gdb.base/jit-reader.exp: New file.
756 * gdb.base/jithost.c: New file.
757 * gdb.base/jithost.h: New file.
758 * gdb.base/jitreader.c : New file.
759 * gdb.base/jit-protocol.h: New file.
761 2016-06-17 Yao Qi <yao.qi@linaro.org>
763 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
764 parameters follow_fork and detach_on_fork. Set follow-fork-mode
765 and detach-on-fork. Adjust tests.
766 (top level): Invoke break_cond_on_syscall with combinations of
767 syscall, follow-fork-mode and detach-on-fork.
769 2016-06-17 Yao Qi <yao.qi@linaro.org>
771 * gdb.base/step-over-exit.c: New.
772 * gdb.base/step-over-exit.exp: New.
774 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
776 * gdb.base/float.exp: Add target check for nds32*-*-*.
777 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
779 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
781 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
782 for unsupported target features.
783 * gdb.base/call-rt-st.exp: Likewise.
784 * gdb.base/call-sc.exp: Likewise.
785 * gdb.base/call-signal-resume.exp: Likewise.
786 * gdb.base/call-strs.exp: Likewise.
787 * gdb.base/callexit.exp: Likewise.
788 * gdb.base/callfuncs.exp: Likewise.
789 * gdb.base/nodebug.exp: Likewise.
790 * gdb.base/printcmds.exp: Likewise.
791 * gdb.base/ptype.exp: Likewise.
792 * gdb.base/structs.exp: Likewise.
793 * gdb.base/unwindonsignal.exp: Likewise.
794 * gdb.cp/gdb2495.exp: Likewise.
795 * gdb.cp/templates.exp: Likewise.
796 * gdb.cp/virtfunc.exp: Likewise.
797 * gdb.threads/hand-call-in-threads.exp: Likewise.
798 * gdb.threads/interrupted-hand-call.exp: Likewise.
799 * gdb.threads/thread-unwindonsignal.exp: Likewise.
801 2016-06-10 Tom Tromey <tom@tromey.com>
804 * gdb.rust/expr.exp: Add test for integer constant larger than
807 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
809 * gdb.fortran/nested-funcs.exp: New.
810 * gdb.fortran/nested-funcs.f90: New.
812 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
814 * gdb.base/examine-backward.c: New file.
815 * gdb.base/examine-backward.exp: New file.
817 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
819 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
822 2016-06-02 Tom Tromey <tom@tromey.com>
825 * gdb.python/py-shared.exp: Add solib_name test.
827 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
829 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
831 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
834 * gdb.dwarf2/implref.exp: Rename to...
835 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
836 * gdb.dwarf2/implref-array.c: New file.
837 * gdb.dwarf2/implref-array.exp: Likewise.
838 * gdb.dwarf2/implref-global.c: Likewise.
839 * gdb.dwarf2/implref-global.exp: Likewise.
840 * gdb.dwarf2/implref-struct.c: Likewise.
841 * gdb.dwarf2/implref-struct.exp: Likewise.
843 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
845 * gdb.trace/trace-condition.exp: Add 64bit tests.
847 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
849 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
851 (main): Adapt to 8 to 64 bits types.
852 * gdb.trace/trace-condition.exp: Add new tests.
854 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
856 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
858 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
860 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
861 Move condition tests...
862 * gdb.trace/trace-condition.exp: Here.
864 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
866 * gdb.trace/trace-condition.exp: Add counter-case tests.
868 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
871 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
872 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
874 2016-05-27 Pedro Alves <palves@redhat.com>
876 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
878 (top level): Call it, and bail out of DejaGnu is known to be bad.
880 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
882 * gdb.base/whatis.c: Extend the test case.
883 * gdb.base/whatis.exp: Add additional tests.
885 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
887 * gdb.fortran/type.f90: Add pointer variable.
888 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
890 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
892 * gdb.fortran/vla-type.exp: Fix testcase name.
894 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
896 * gdb.fortran/vla-type.exp: Access elements in nested structs.
898 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
900 * gdb.fortran/type.f90: Add nested structures.
901 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
902 * gdb.fortran/derived-type.exp: Adapt expected output.
903 * gdb.fortran/vla-type.exp: Adapt expected output.
905 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
907 * gdb.fortran/whatis_type.exp: Adapt expected output.
909 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
911 * gdb.fortran/print_type.exp: Fix expected output.
912 * gdb.fortran/whatis_type.exp: Fix expected output.
914 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
916 * gdb.fortran/whatis_type.exp: Use multi_line.
918 2016-05-24 Tom Tromey <tom@tromey.com>
921 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
922 use value as an index.
924 2016-05-23 Tom Tromey <tom@tromey.com>
927 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
930 2016-05-24 Pedro Alves <palves@redhat.com>
933 * gdb.threads/clone-attach-detach.c: New file.
934 * gdb.threads/clone-attach-detach.exp: New file.
936 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
938 * gdb.base/annota-input-while-running.exp: Fix syntax error.
940 2016-05-23 Tom Tromey <tom@tromey.com>
942 PR python/19438, PR python/18393:
943 * gdb.python/py-progspace.exp: Add "dir" test.
944 * gdb.python/py-objfile.exp: Add "dir" test.
946 2016-05-23 Yao Qi <yao.qi@linaro.org>
948 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
949 * gdb.arch/thumb2-it.exp: Likewise.
951 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
953 * gdb.mi/mi-threads-interrupt.c: New file.
954 * gdb.mi/mi-threads-interrupt.exp: New file.
956 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
959 * gdb.mi/mi-async-run.exp: New file.
960 * gdb.mi/mi-async-run.c: New file.
962 2016-05-17 Tom Tromey <tom@tromey.com>
963 Manish Goregaokar <manishsmail@gmail.com>
965 * lib/rust-support.exp: New file.
966 * lib/gdb.exp (skip_rust_tests): New proc.
967 (build_executable_from_specs): Handle rust.
968 * lib/future.exp (gdb_find_rustc): New proc.
969 (gdb_default_target_compile): Handle rust.
970 * gdb.rust/expr.exp: New file.
971 * gdb.rust/generics.exp: New file.
972 * gdb.rust/generics.rs: New file.
973 * gdb.rust/methods.exp: New file.
974 * gdb.rust/methods.rs: New file.
975 * gdb.rust/modules.exp: New file.
976 * gdb.rust/modules.rs: New file.
977 * gdb.rust/simple.exp: New file.
978 * gdb.rust/simple.rs: New file.
980 2016-05-17 Tom Tromey <tom@tromey.com>
982 * gdb.base/default.exp (set language): Add rust.
984 2016-05-17 Tom Tromey <tom@tromey.com>
986 * gdb.gdb/unittest.exp: New file.
988 2016-05-16 Yao Qi <yao.qi@linaro.org>
990 * gdb.base/batch-preserve-term-settings.exp: Remove variable
991 shell_prompt. Update shell_prompt_re.
993 2016-05-12 Doug Evans <dje@google.com>
996 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
997 $options when building executable.
998 * gdb.dwarf2/fission-loclists-pie.S: New file.
999 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1001 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1003 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1004 of [is_remote target],
1006 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1008 * lib/gdb.exp (use_gdb_stub): New procedure.
1010 2016-05-03 Yunlian Jiang <yunlian@google.com>
1011 Doug Evans <dje@google.com>
1014 * gdb.dwarf2/dwp-sepdebug.c: New file.
1015 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1017 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1019 * gdb.base/detach.exp: Remove is_remote check.
1021 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1023 * gdb.base/annota-input-while-running.exp: Don't check for
1024 [is_remote target]. Enable annotations after running to main.
1025 Remove unused "set test..." line.
1027 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1029 * gdb.trace/trace-enable-disable.exp: New file.
1030 * gdb.trace/trace-enable-disable.c: New file.
1032 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1034 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1035 use it in info sharedlibrary test.
1036 * gdb.trace/ftrace-lock.exp: Likewise.
1037 * gdb.trace/ftrace.exp: Likewise.
1038 * gdb.trace/range-stepping.exp: Likewise.
1039 * gdb.trace/trace-break.exp: Likewise.
1040 * gdb.trace/trace-condition.exp: Likewise.
1041 * gdb.trace/trace-mt.exp: Likewise.
1043 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1045 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1046 (gdb_load_shlib): ... this.
1047 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1049 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1050 * gdb.base/ctxobj.exp: Likewise.
1051 * gdb.base/dprintf-pending.exp: Likewise.
1052 * gdb.base/dso2dso.exp: Likewise.
1053 * gdb.base/fixsection.exp: Likewise.
1054 * gdb.base/gcore-relro.exp: Likewise.
1055 * gdb.base/gdb1555.exp: Likewise.
1056 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1057 * gdb.base/gnu-ifunc.exp: Likewise.
1058 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1059 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1060 * gdb.base/pending.exp: Likewise.
1061 * gdb.base/print-file-var.exp: Likewise.
1062 * gdb.base/print-symbol-loading.exp: Likewise.
1063 * gdb.base/shlib-call.exp: Likewise.
1064 * gdb.base/shreloc.exp: Likewise.
1065 * gdb.base/so-impl-ld.exp: Likewise.
1066 * gdb.base/solib-disc.exp: Likewise.
1067 * gdb.base/solib-nodir.exp: Likewise.
1068 * gdb.base/solib-overlap.exp: Likewise.
1069 * gdb.base/solib-symbol.exp: Likewise.
1070 * gdb.base/solib-weak.exp (do_test): Likewise.
1071 * gdb.base/sym-file.exp: Likewise.
1072 * gdb.base/symtab-search-order.exp: Likewise.
1073 * gdb.base/type-opaque.exp: Likewise.
1074 * gdb.base/unload.exp: Likewise.
1075 * gdb.base/watchpoint-solib.exp: Likewise.
1076 * gdb.compile/compile.exp: Likewise.
1077 * gdb.cp/gdb2384.exp: Likewise.
1078 * gdb.cp/infcall-dlopen.exp: Likewise.
1079 * gdb.cp/re-set-overloaded.exp: Likewise.
1080 * gdb.fortran/library-module.exp: Likewise.
1081 * gdb.opt/solib-intra-step.exp: Likewise.
1082 * gdb.python/py-finish-breakpoint.exp: Likewise.
1083 * gdb.python/py-shared.exp: Likewise.
1084 * gdb.reverse/solib-precsave.exp: Likewise.
1085 * gdb.reverse/solib-reverse.exp: Likewise.
1086 * gdb.server/solib-list.exp: Likewise.
1087 * gdb.threads/dlopen-libpthread.exp: Likewise.
1088 * gdb.threads/tls-shared.exp: Likewise.
1089 * gdb.threads/tls-so_extern.exp: Likewise.
1090 * gdb.trace/change-loc.exp: Likewise.
1091 * gdb.trace/ftrace-lock.exp: Likewise.
1092 * gdb.trace/ftrace.exp: Likewise.
1093 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1094 * gdb.trace/pending.exp: Likewise.
1095 * gdb.trace/range-stepping.exp: Likewise.
1096 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1097 (strace_info_marker): Likewise.
1098 (strace_probe_marker): Likewise.
1099 (strace_trace_on_same_addr): Likewise.
1100 (strace_trace_on_diff_addr): Likewise.
1101 * gdb.trace/trace-break.exp: Likewise.
1102 * gdb.trace/trace-condition.exp: Likewise.
1103 * gdb.trace/trace-mt.exp: Likewise.
1105 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1107 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1108 result of gdb_remote_download.
1109 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1110 * gdb.base/dso2dso.exp: Likewise.
1111 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1112 * gdb.base/print-file-var.exp: Likewise.
1113 * gdb.base/shlib-call.exp: Likewise.
1114 * gdb.base/shreloc.exp: Likewise.
1115 * gdb.base/solib-overlap.exp: Likewise.
1116 * gdb.base/solib-weak.exp (do_test): Likewise.
1117 * gdb.base/unload.exp: Likewise.
1119 2016-04-27 Yao Qi <yao.qi@linaro.org>
1121 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1124 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1126 * vla-type.exp: Print structure from toplevel.
1128 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1130 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1132 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1135 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1137 * gdb.fortran/vla-type.f90: New file.
1138 * gdb.fortran/vla-type.exp: New file.
1140 2016-04-25 Yao Qi <yao.qi@linaro.org>
1142 * gdb.base/branch-to-self.c: New file.
1143 * gdb.base/branch-to-self.exp: New file.
1145 2016-04-22 Yao Qi <yao.qi@linaro.org>
1147 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1150 2016-04-22 Yao Qi <yao.qi@linaro.org>
1152 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1153 * gdb.base/annota3.exp: Likewise.
1155 2016-04-22 Yao Qi <yao.qi@linaro.org>
1157 * gdb.reverse/step-precsave.exp: Do one step and test program
1158 stops in "callee" and do multiple steps until program goes out
1160 * gdb.reverse/step-reverse.exp: Likewise.
1162 2016-04-22 Yao Qi <yao.qi@linaro.org>
1164 * gdb.trace/signal.exp: Also pass if
1165 $tracepoint_hits($i) > $iterations.
1167 2016-04-22 Yao Qi <yao.qi@linaro.org>
1169 * gdb.trace/signal.c: New file.
1170 * gdb.trace/signal.exp: New file.
1172 2016-04-19 Doug Evans <xdje42@gmail.com>
1174 * gdb.base/bad-file.exp: New file.
1176 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1178 * gdb.dwarf2/implref.exp: New file.
1180 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1182 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1183 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1184 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1185 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1186 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1187 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1188 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1189 * lib/fortran.exp (fortran_int4): New procedure.
1190 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1191 (fortran_logical4): Likewise.
1193 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1195 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1197 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1199 * lib/compiler.c: Add Intel specific preprocessor macros.
1200 * lib/compiler.cc: Likewise.
1202 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1204 * gdb.server/connect-with-no-symbol-file.c: New file.
1205 * gdb.server/connect-with-no-symbol-file.exp: New file.
1207 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1209 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1211 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1213 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1214 standard output directory.
1216 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1218 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1220 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1222 * gdb.btrace/instruction_history.c (loop): Add declaration.
1224 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1226 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1228 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1230 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1231 parentheses to print.
1232 (continue_handler): Likewise.
1234 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1236 * gdb.server/solib-list.exp: Remove is_remote check.
1237 Pass shlib= to gdb_compile. Don't link shared library with
1238 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1239 Run binary filename through "readlink -f" on the target.
1241 2016-04-08 Pedro Alves <palves@redhat.com>
1243 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1244 interpreter filename as argument to gdbserver_spawn.
1245 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1246 Return empty if $last_loaded_file does not exist.
1248 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1250 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1251 * gdb.base/jit-main.c: Use exit after usage.
1253 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1255 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1256 GDBHISTSIZE prior to the tests.
1257 * gdb.base/gdbinit-history.exp: Likewise.
1259 2016-04-07 Pedro Alves <palves@redhat.com>
1261 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1262 instead of build_executable. Use gdb_load_shlibs.
1264 2016-04-07 Yao Qi <yao.qi@linaro.org>
1266 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1267 Execute "si" command.
1269 2016-04-07 Yao Qi <yao.qi@linaro.org>
1271 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1272 number instead of the comments on some line.
1274 2016-04-06 Don Breazeal <donb@codesourcery.com>
1276 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1277 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1279 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1281 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1282 standard_output_file. Remove unused binfile variable.
1284 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1286 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1287 * gdb.python/py-mi-objfile.exp: Match "list main" output
1290 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1292 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1295 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1297 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1299 * gdb.trace/ftrace.exp: Likewise.
1300 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1302 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1303 (gdb_load_shlibs): Copy libraries to test directory when testing
1304 natively. Only set solib-search-path if testing remotely.
1305 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1307 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1309 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1310 gdb_download. Use it even if the target is not remote.
1311 * gdb.base/jit.exp (compile_jit_test): Likewise.
1312 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1313 output directory if the destination board is local, otherwise use
1314 the standard remote_download from DejaGnu.
1315 (gdb_download): Remove.
1316 (gdb_load_shlibs): Use gdb_remote_download instead of
1318 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1319 Use gdb_remote_download instead of gdb_download. Use it even if
1320 the target is not remote.
1321 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1322 instead of gdb_download.
1324 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1326 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1327 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1330 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1333 * gdb.base/printcmds.exp: Add artificial arrays tests.
1335 2016-03-31 Pedro Alves <palves@redhat.com>
1338 * gdb.base/jit-main.c: Include unistd.h.
1339 (ATTACH): Define to 0 if not already defined.
1340 (wait_for_gdb, mypid): New globals.
1341 (WAIT_FOR_GDB): New macro.
1342 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1343 some breakpoint locations.
1344 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1346 (one_jit_test): Add REATTACH parameter, and handle it. Use
1347 continue_to_test_location.
1348 (top level): Test attach, and adjusts calls to one_jit_test.
1350 2016-03-31 Pedro Alves <palves@redhat.com>
1353 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1354 BINSUFFIX parameter, and handle it.
1355 (top level): Adjust calls compile_jit_test.
1357 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1360 * gdb.python/py-mi-events-gdb.py: New file.
1361 * gdb.python/py-mi-events.c: New file.
1362 * gdb.python/py-mi-events.exp: New file.
1364 2016-03-30 Yao Qi <yao.qi@linaro.org>
1366 * gdb.reverse/until-precsave.exp: Match function name only.
1367 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1368 Move malloc to a condition block.
1369 * gdb.reverse/until-reverse.exp: Match function name only.
1371 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1373 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1374 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1375 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1376 variable for GPR 0 instead of assuming it is register 0.
1377 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1378 * lib/trace-support.exp: Add s390 registers.
1380 2016-03-29 Yao Qi <yao.qi@linaro.org>
1382 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1384 2016-03-24 Yao Qi <yao.qi@linaro.org>
1386 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1389 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1391 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1392 maintaining separate logic for constructing the output path.
1394 2016-03-16 Don Breazeal <donb@codesourcery.com>
1396 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1397 Retry fork and waitpid on interrupted system call errors.
1398 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1399 Use with_timeout_factor to increase timeout by factor of 10.
1401 2016-03-15 Don Breazeal <donb@codesourcery.com>
1403 * gdb.cp/scope-err.cc: New test program.
1404 * gdb.cp/scope-err.exp: New test script.
1405 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1406 lines and "set breakpoint here" comment.
1407 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1408 Fixed some whitespace and format issues.
1409 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1410 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1412 2016-03-15 Doug Evans <dje@google.com>
1414 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1415 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1416 All callers updated. Add tests for enums, mixed flags register.
1418 2016-03-15 Doug Evans <dje@google.com>
1420 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1421 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1423 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1425 * gdb.base/default.exp: Add $_as_string to the list of expected
1426 convenience functions.
1428 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1430 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1432 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1434 * gdb.python/py-as-string.exp: New file.
1435 * gdb.python/py-as-string.c: New file.
1437 2016-03-09 Pedro Alves <palves@redhat.com>
1439 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1440 signal" -> "Thread NN received signal" output change.
1441 * gdb.threads/ia64-sigill.exp: Likewise.
1442 * gdb.threads/linux-dp.exp: Likewise.
1443 * gdb.threads/manythreads.exp: Likewise.
1444 * gdb.threads/pending-step.exp: Likewise.
1445 * gdb.threads/print-threads.exp: Likewise.
1446 * gdb.threads/sigstep-threads.exp: Likewise.
1447 * gdb.threads/staticthreads.exp: Likewise.
1448 * gdb.threads/tls.exp: Likewise.
1450 2016-03-09 Pedro Alves <palves@redhat.com>
1452 * gdb.base/command-line-input.exp: New file.
1454 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1456 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1457 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1458 * gdb.trace/pending.exp: Accept leading dot before function name.
1459 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1460 * lib/trace-support.exp: Set registers for ppc.
1462 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1464 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1465 use it for disassembly; accept .main in addition to main in backtrace.
1467 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1468 Marcin Kościelnicki <koriakin@0x04.net>
1470 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1471 (gdb_recursion_test_ptr): New global variable.
1472 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1474 (gdb_c_test): Ditto.
1476 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1478 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1481 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1483 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1484 (bar): Add bar_start_lbl label.
1485 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1486 of foo/bar for emitting DWARF and tracing.
1488 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1490 * analyze-racy-logs.py: Set executable bit.
1492 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1494 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1495 (CHECK_TARGET_TMP): Likewise.
1496 (check-single-racy): New rule.
1497 (check-parallel-racy): Likewise.
1498 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1499 (do-check-parallel-racy): New rule.
1500 (check-racy/%.exp): Likewise.
1501 * README (Racy testcases): New section.
1502 * analyze-racy-logs.py: New file.
1504 2016-03-03 Doug Evans <dje@google.com>
1506 * gdb.base/skip.exp: Use with_test_prefix.
1508 2016-03-03 Yao Qi <yao.qi@linaro.org>
1510 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1511 Invoke step_over_syscall "clone" and break_cond_on_syscall
1513 * gdb.base/step-over-clone.c: New file.
1515 2016-03-03 Yao Qi <yao.qi@linaro.org>
1517 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1520 2016-03-03 Yao Qi <yao.qi@linaro.org>
1522 * gdb.base/disp-step-fork.c: Rename to ...
1523 * gdb.base/step-over-fork.c: ... it. New file.
1524 * gdb.base/disp-step-vfork.c: Rename to ...
1525 * gdb.base/step-over-vfork.c: ... it. New file.
1526 * gdb.base/disp-step-syscall.exp: Rename to ...
1527 * gdb.base/step-over-syscall.exp: ... it. New file.
1528 (disp_step_cross_syscall): Rename to ...
1529 (step_over_syscall): ... it.
1531 2016-03-03 Yao Qi <yao.qi@linaro.org>
1533 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1534 If target supports condition evaluation on target, invoke
1535 break_cond_on_syscall for fork and vfork.
1537 2016-03-03 Yao Qi <yao.qi@linaro.org>
1539 * gdb.base/disp-step-syscall.exp: Don't invoke
1540 support_displaced_stepping.
1541 (disp_step_cross_syscall): Test with displaced stepping off and
1544 2016-03-03 Yao Qi <yao.qi@linaro.org>
1546 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1549 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1552 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1554 * gdb.fortran/vla-history.exp: Remove breakpoint.
1556 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1558 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1561 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1563 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1566 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1568 * gdb.mi/vla.f90: Nullify pointer after declaration.
1570 2016-03-01 Pedro Alves <palves@redhat.com>
1572 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1574 2016-03-01 Pedro Alves <palves@redhat.com>
1576 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1577 before anything else.
1578 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1580 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1581 before anything else.
1582 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1584 2016-03-01 Pedro Alves <palves@redhat.com>
1586 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1588 2016-03-01 Yao Qi <yao.qi@linaro.org>
1590 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1591 prepare_for_testing.
1593 2016-03-01 Yao Qi <yao.qi@linaro.org>
1595 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1597 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1599 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1600 manually constructing the output path.
1602 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1604 * gdb.arch/s390-stackless.S: New.
1605 * gdb.arch/s390-stackless.exp: New.
1607 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1609 * gdb.dlang/circular.c: New file.
1610 * gdb.dlang/circular.exp: New file.
1612 2016-02-26 Yao Qi <yao.qi@linaro.org>
1614 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1615 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1616 (testcases): Update.
1618 2016-02-26 Yao Qi <yao.qi@linaro.org>
1620 * gdb.reverse/aarch64.c: Rename to ...
1621 * gdb.reverse/insn-reverse.c: ... it.
1622 * gdb.reverse/aarch64.exp: Rename to ...
1623 * gdb.reverse/insn-reverse.exp: ... it.
1625 2016-02-26 Yao Qi <yao.qi@linaro.org>
1627 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1628 (testcase_ftype): New.
1629 (testcases): New array.
1631 (main): Call each element in testcases.
1632 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1633 (read_testcase): New.
1634 Do the tests in a loop.
1636 2016-02-25 Yao Qi <yao.qi@linaro.org>
1638 * gdb.base/branches.c: Remove.
1640 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1643 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1645 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1647 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1649 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1651 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1652 change x86_64 call_insn to 'callq'.
1654 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1656 * gdb.trace/tfile-avx.c: Move to...
1657 * gdb.trace/tracefile-pseudo-reg.c: Here.
1658 * gdb.trace/tfile-avx.exp: Move to...
1659 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1661 2016-02-24 Gary Benson <gbenson@redhat.com>
1663 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1666 2016-02-23 Doug Evans <dje@google.com>
1668 * gdb.base/skip.c (test_skip): New function.
1669 (end_test_skip_file_and_function): New function.
1670 (test_skip_file_and_function): New function.
1671 * gdb.base/skip1.c (test_skip): New function.
1672 (skip1_test_skip_file_and_function): New function.
1673 * gdb.base/skip.exp: Add tests for new skip options.
1674 * gdb.base/skip-solib.exp: Update expected output.
1675 * gdb.perf/skip-command.cc: New file.
1676 * gdb.perf/skip-command.exp: New file.
1677 * gdb.perf/skip-command.py: New file.
1679 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1681 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1682 info registers pattern.
1684 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1686 * lib/future.exp: Add D support.
1687 (gdb_find_gdc): New proc.
1688 (gdb_default_target_compile): Add D support.
1690 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1692 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1694 (trace_speed_test): Determine the iteration count for a time
1695 between 15..30 seconds.
1697 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1699 * gdb.arch/i386-mpx-sigsegv.c: New file.
1700 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1701 * gdb.arch/i386-mpx-simple_segv.c: New file.
1702 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1704 2016-02-18 Yao Qi <yao.qi@linaro.org>
1706 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1707 Don't call setup_kfail.
1709 2016-02-18 Yao Qi <yao.qi@linaro.org>
1711 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1712 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1714 2016-02-16 Doug Evans <dje@google.com>
1716 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1717 * gdb.base/skip1.c: Ditto.
1718 * gdb.base/skip.exp: Whitespace cleanup.
1720 2016-02-16 Don Breazeal <donb@codesourcery.com>
1723 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1724 Remove kfail for PR remote/19496.
1726 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1728 * lib/gdb.exp (standard_temp_file): Return a path specific to
1729 the runtest invocation.
1731 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1733 * gdb.trace/save-trace.exp: Change relative path to be in the
1734 standard output directory.
1736 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1738 * gdb.arch/i386-prologue.c: Add missing prototypes.
1740 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1742 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1743 * gdb.arch/i386-prologue.exp: Likewise.
1744 * gdb.arch/i386-size.exp: Likewise.
1746 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1748 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1749 define object file path.
1750 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1752 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1753 standard_output_file to define binfile.
1755 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1757 Fix compatibility with recent gfortran-5.3.1.
1758 * gdb.fortran/vla-history.exp (print vla1 allocated)
1759 (print vla2 allocated, print $2, print $3): Remove
1760 (print $4): Rename to ...
1761 (print $2): ... here.
1762 (print $9): Rename to ...
1763 (print $5): ... here.
1764 (print $10): Rename to ...
1765 (print $6): ... here.
1766 * gdb.fortran/vla.f90: Add pvla initialization.
1768 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1770 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1772 * gdb.fortran/vla-value-sub.exp: Likewise.
1774 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1776 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1778 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1780 * i386-biarch-core.exp: Define corefile using
1781 standard_output_file.
1783 2016-02-12 Yao Qi <yao.qi@linaro.org>
1785 * gdb.arch/arm-single-step-kernel-helper.c: New.
1786 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1788 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1790 * gdb.btrace/tailcall-only.exp: New.
1791 * gdb.btrace/tailcall-only.c: New.
1792 * gdb.btrace/x86_64-tailcall-only.S: New.
1793 * gdb.btrace/i686-tailcall-only.S: New.
1795 2016-02-11 Pedro Alves <palves@redhat.com>
1797 * README (Parallel testing): Add missing double quotes.
1799 2016-02-11 Pedro Alves <palves@redhat.com>
1801 * README (Parallel testing): New section.
1802 (GDB_PARALLEL): Rewrite.
1803 (FORCE_PARALLEL): Document.
1805 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1807 * gdb.trace/tfile-avx.c: New test.
1808 * gdb.trace/tfile-avx.exp: New test.
1810 2016-02-09 Keith Seitz <keiths@redhat.com>
1812 PR breakpoints/19546
1813 * gdb.base/infcall-exec.c: New file.
1814 * gdb.base/infcall-exec2.c: New file.
1815 * gdb.base/infcall-exec.exp: New file.
1817 2016-02-09 Keith Seitz <keiths@redhat.com>
1819 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1820 (toplevel): Call test_bkpt_address.
1822 2016-02-09 Keith Seitz <keiths@redhat.com>
1825 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1826 (toplevel): Call test_bkpt_address.
1828 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1830 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1832 * configure: Regenerate.
1834 2016-02-09 Pedro Alves <palves@redhat.com>
1836 PR breakpoints/19548
1837 * gdb.base/execl-update-breakpoints.c (some_function): New
1840 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1841 Tighten expected GDB output.
1843 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1845 * Makefile.in (ALL_SUBDIRS): Remove.
1846 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1847 (distclean maintainer-clean realclean): Likewise.
1848 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1849 * configure: Regenerate.
1850 * gdb.ada/Makefile.in: Delete.
1851 * gdb.arch/Makefile.in: Likewise.
1852 * gdb.asm/Makefile.in: Likewise.
1853 * gdb.base/Makefile.in: Likewise.
1854 * gdb.btrace/Makefile.in: Likewise.
1855 * gdb.cell/Makefile.in: Likewise.
1856 * gdb.compile/Makefile.in: Likewise.
1857 * gdb.cp/Makefile.in: Likewise.
1858 * gdb.disasm/Makefile.in: Likewise.
1859 * gdb.dlang/Makefile.in: Likewise.
1860 * gdb.dwarf2/Makefile.in: Likewise.
1861 * gdb.fortran/Makefile.in: Likewise.
1862 * gdb.gdb/Makefile.in: Likewise.
1863 * gdb.go/Makefile.in: Likewise.
1864 * gdb.guile/Makefile.in: Likewise.
1865 * gdb.java/Makefile.in: Likewise.
1866 * gdb.linespec/Makefile.in: Likewise.
1867 * gdb.mi/Makefile.in: Likewise.
1868 * gdb.modula2/Makefile.in: Likewise.
1869 * gdb.multi/Makefile.in: Likewise.
1870 * gdb.objc/Makefile.in: Likewise.
1871 * gdb.opencl/Makefile.in: Likewise.
1872 * gdb.opt/Makefile.in: Likewise.
1873 * gdb.pascal/Makefile.in: Likewise.
1874 * gdb.perf/Makefile.in: Likewise.
1875 * gdb.python/Makefile.in: Likewise.
1876 * gdb.reverse/Makefile.in: Likewise.
1877 * gdb.server/Makefile.in: Likewise.
1878 * gdb.stabs/Makefile.in: Likewise.
1879 * gdb.threads/Makefile.in: Likewise.
1880 * gdb.trace/Makefile.in: Likewise.
1881 * gdb.xml/Makefile.in: Likewise.
1882 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1884 (standard_output_file): Remove check for GDB_PARALLEL, always
1885 return path in outputs/$subdir/$testname.
1887 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1889 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1890 (site.exp): Assign abs_srcdir to tcl's srcdir.
1892 2016-02-04 Yao Qi <yao.qi@linaro.org>
1894 * gdb.base/foll-exec-mode.c: Include limits.h.
1895 (main): Add parameters argc and argv. Get directory from
1897 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1899 * gdb.base/foll-exec.c: Include limits.h.
1900 (main): Add parameters argc and argv.
1901 Get directory from argv[0].
1902 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1903 Adjust tests on the number of lines as source code changed.
1904 * gdb.base/foll-vfork-exit.c: Include limits.h.
1905 (main): Add one line of statement before vfork.
1906 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1907 (main): Add parameters argc and argv. Get directory from
1909 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1910 (setup_gdb): Set tbreak to skip some source lines.
1911 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1912 (main): Add parameters argc and argv. Get directory from
1914 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1916 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1917 (main): Add parameters argc and argv. Get directory from
1919 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1922 2016-02-01 Doug Evans <dje@google.com>
1924 * gdb.base/skip.exp: Clean up multiple references to same test name.
1926 2016-02-01 Pedro Alves <palves@redhat.com>
1929 * gdb.threads/forking-threads-plus-breakpoint.exp
1930 (displaced_stepping_supported): New global.
1931 (probe_displaced_stepping_support): New procedure.
1932 (do_test): Add 'displaced' parameter, and use it.
1933 (top level): Check for displaced stepping support. Add displaced
1934 stepping on/off testing axis.
1936 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1938 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1939 pointer. Don't perform further tests on the unassociated pointer
1940 if the first test fails.
1942 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1944 * gdb.base/max-value-size.c: New file.
1945 * gdb.base/max-value-size.exp: New file.
1946 * gdb.base/huge.exp: Disable max-value-size for this test.
1948 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1950 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1952 2016-01-28 Yao Qi <yao.qi@linaro.org>
1954 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1956 2016-01-25 Pedro Alves <palves@redhat.com>
1959 * gdb.base/fork-running-state.c: New file.
1960 * gdb.base/fork-running-state.exp: New file.
1962 2016-01-25 Pedro Alves <palves@redhat.com>
1965 * gdb.base/catch-fork-kill.c: New file.
1966 * gdb.base/catch-fork-kill.exp: New file.
1968 2016-01-25 Pedro Alves <palves@redhat.com>
1970 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1971 Delete, moved to lib/gdb.exp.
1972 * gdb.threads/forking-threads-plus-breakpoint.exp
1973 (foreach_with_prefix): Likewise.
1974 * gdb.threads/process-dies-while-handling-bp.exp
1975 (foreach_with_prefix): Likewise.
1976 * lib/gdb.exp (foreach_with_prefix): New procedure.
1978 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1980 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1981 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1983 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1985 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1988 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1989 Pedro Alves <palves@redhat.com>
1991 Fix testsuite compatibility with Guile.
1992 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1995 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1997 Fix testsuite compatibility with Guile.
1998 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1999 (thread 1): New test for backtrace through signal handler.
2001 2016-01-22 Yao Qi <yao.qi@linaro.org>
2004 * gdb.base/multi-forks.c: Include
2005 ../lib/unbuffer_output.c
2006 (main): Call gdb_unbuffer_output.
2008 2016-01-21 Doug Evans <dje@google.com>
2010 * lib/ada.exp (gdb_compile_ada): Fix typo.
2012 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2014 * gdb.base/break-fun-addr.exp: New file.
2015 * gdb.base/break-fun-addr1.c: New file.
2016 * gdb.base/break-fun-addr2.c: New file.
2018 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2020 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2021 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2024 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2026 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2027 when GDB can not set the vector return value. Add more comments
2030 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2032 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2035 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2037 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2039 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2041 * Makefile.in (check-single): Pass --status to runtest.
2042 (check/%.exp): Likewise.
2044 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2046 * Makefile.in (check-parallel): Propagate return code from make
2049 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2051 * gdb.trace/ftrace.exp: Fix expected message on continue.
2052 * gdb.trace/pending.exp: Fix expected message on continue.
2053 * gdb.trace/trace-break.exp: Fix expected message on continue.
2055 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2057 * lib/gdb.exp (gdb_test): Remove unused global references.
2059 2016-01-18 Pedro Alves <palves@redhat.com>
2061 * gdb.base/async-shell.exp: Adjust expected output.
2062 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2063 * gdb.base/siginfo-thread.exp: Adjust expected output.
2064 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2065 * gdb.java/jnpe.exp: Adjust expected output.
2066 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2067 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2068 * gdb.threads/leader-exit.exp: Adjust expected output.
2069 * gdb.threads/manythreads.exp: Adjust expected output.
2070 * gdb.threads/pthreads.exp: Adjust expected output.
2071 * gdb.threads/schedlock.exp: Adjust expected output.
2072 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2073 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2075 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2077 * gdb.threads/sigthread.exp: Adjust expected output.
2078 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2080 2016-01-18 Yao Qi <yao.qi@linaro.org>
2082 * gdb.guile/scm-section-script.c: Replace @progbits with
2084 * gdb.python/py-section-script.c: Likewise.
2086 2016-01-15 Pedro Alves <palves@redhat.com>
2088 * gdb.multi/tids.exp: Test star wildcard ranges.
2090 2016-01-15 Pedro Alves <palves@redhat.com>
2092 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2093 command from "thread apply" invocation.
2094 (thr_apply_info_thr_invalid): Default the expected output to the
2096 (top level): Add tests that use convenience variables. Add tests
2097 for "thread apply" with a valid TID list, but missing the command.
2099 2016-01-13 Pedro Alves <palves@redhat.com>
2101 * gdb.base/default.exp: Expect $_gthread as well.
2102 * gdb.multi/tids.exp: Test $_gthread.
2103 * gdb.threads/thread-specific.exp: Test $_gthread.
2105 2016-01-13 Pedro Alves <palves@redhat.com>
2107 * gdb.multi/tids.exp: Test "info threads -gid".
2109 2016-01-13 Pedro Alves <palves@redhat.com>
2111 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2113 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2115 2016-01-07 Pedro Alves <palves@redhat.com>
2117 * gdb.base/break.exp: Adjust to output changes.
2118 * gdb.base/hbreak2.exp: Likewise.
2119 * gdb.base/sepdebug.exp: Likewise.
2120 * gdb.base/watch_thread_num.exp: Likewise.
2121 * gdb.linespec/keywords.exp: Likewise.
2122 * gdb.multi/info-threads.exp: Likewise.
2123 * gdb.threads/thread-find.exp: Likewise.
2124 * gdb.multi/tids.c: New file.
2125 * gdb.multi/tids.exp: New file.
2127 2016-01-13 Pedro Alves <palves@redhat.com>
2129 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2131 2016-01-13 Pedro Alves <palves@redhat.com>
2133 * gdb.base/default.exp: Expect $_inferior as well.
2134 * gdb.multi/base.exp: Test $_inferior.
2136 2016-01-13 Pedro Alves <palves@redhat.com>
2138 PR breakpoints/19388
2139 * gdb.base/catch-signal-siginfo-cond.c: New file.
2140 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2142 2016-01-12 Josh Stone <jistone@redhat.com>
2143 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2145 * gdb.base/catch-syscall.c (do_execve): New variable.
2146 (main): Conditionally trigger an execve.
2147 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2148 (test_catch_syscall_execve): New, check entry/return across execve.
2149 (do_syscall_tests): Call test_catch_syscall_execve.
2151 2016-01-12 Pedro Alves <palves@redhat.com>
2153 * gdb.base/random-signal.exp (do_test): New procedure, with body
2154 of testcase moved in.
2156 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2157 Pedro Alves <palves@redhat.com>
2159 * gdb.base/funcargs.exp (finish from indirectly called function):
2160 Reintroduce the case for 'First'.
2162 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2163 Pedro Alves <palves@redhat.com>
2165 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2166 (tcatch_vfork_then_child_follow_exec)
2167 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2170 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2173 and repeats to unlimited.
2174 * gdb.python/py-value.exp: Likewise.
2175 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2176 and repeats to unlimited.
2178 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2180 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2181 and reordering the functions.
2182 * gdb.multi/hangout.c: Likewise.
2183 * gdb.multi/hello.c: Likewise.
2185 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2187 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2189 (SingleStatisticTestResult.report): Use dict.keys instead of
2192 2016-01-06 Pedro Alves <palves@redhat.com>
2194 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2196 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2198 * gdb.btrace/dlopen.exp: New.
2199 * gdb.btrace/dlopen.c: New.
2200 * gdb.btrace/dlopen-dso.c: New.
2202 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2204 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2205 PATTERN argument is optional.
2207 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2209 * lib/ada.exp (target_compile_ada_from_dir): New function.
2210 (gdb_compile_ada): Reimplement avoiding the use of project files.
2211 * gdb.ada/gnat_ada.gpr: Delete.
2212 * gdb.ada/cond_lang.exp: Adjust test to make path before
2214 * gdb.ada/small_reg_param.exp: Likewise.
2216 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2218 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2220 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2222 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2225 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2227 * gdb.base/break.exp: Remove dead code.
2228 * gdb.base/sepdebug.exp: Likewise.
2230 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2232 * gdb.asm/asm-source.exp: Remove HP-UX references.
2233 * gdb.base/annota1.exp: Likewise.
2234 * gdb.base/annota3.exp: Likewise.
2235 * gdb.base/attach.exp: Likewise.
2236 * gdb.base/bigcore.exp: Likewise.
2237 * gdb.base/break.exp: Likewise.
2238 * gdb.base/call-ar-st.exp: Likewise.
2239 * gdb.base/callfuncs.exp: Likewise.
2240 * gdb.base/catch-fork-static.exp: Likewise.
2241 * gdb.base/display.exp: Likewise.
2242 * gdb.base/foll-exec-mode.exp: Likewise.
2243 * gdb.base/foll-exec.exp: Likewise.
2244 * gdb.base/foll-fork.exp: Likewise.
2245 * gdb.base/foll-vfork.exp: Likewise.
2246 * gdb.base/funcargs.exp: Likewise.
2247 * gdb.base/hbreak2.exp: Likewise.
2248 * gdb.base/inferior-died.exp: Likewise.
2249 * gdb.base/interrupt.exp: Likewise.
2250 * gdb.base/multi-forks.exp: Likewise.
2251 * gdb.base/nodebug.exp: Likewise.
2252 * gdb.base/sepdebug.exp: Likewise.
2253 * gdb.base/solib1.c: Likewise.
2254 * gdb.base/step-test.exp: Likewise.
2255 * gdb.mi/non-stop.c: Likewise.
2256 * gdb.mi/pthreads.c: Likewise.
2257 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2258 * gdb.threads/pthreads.c: Likewise.
2259 * gdb.threads/staticthreads.exp: Likewise.
2260 * lib/future.exp: Likewise.
2261 * lib/gdb.exp: Likewise.
2262 * gdb.base/so-indr-cl.c: Remove.
2263 * gdb.base/so-indr-cl.exp: Likewise.
2264 * gdb.base/solib.c: Likewise.
2265 * gdb.base/solib.exp: Likewise.
2266 * gdb.base/solib2.c: Likewise.
2268 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2270 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2271 * gdb.base/call-ar-st.exp: Likewise.
2272 * gdb.base/callfuncs.exp: Likewise.
2273 * gdb.base/condbreak.exp: Likewise.
2274 * gdb.base/constvars.exp: Likewise.
2275 * gdb.base/hbreak2.exp: Likewise.
2276 * gdb.base/langs.exp: Likewise.
2277 * gdb.base/list.exp: Likewise.
2278 * gdb.base/long_long.exp: Likewise.
2279 * gdb.base/ptype.exp: Likewise.
2280 * gdb.base/scope.exp: Likewise.
2281 * gdb.base/signals.exp: Likewise.
2282 * gdb.base/so-impl-ld.exp: Likewise.
2283 * gdb.base/varargs.exp: Likewise.
2284 * gdb.base/volatile.exp: Likewise.
2285 * gdb.base/whatis.exp: Likewise.
2286 * gdb.cp/cplusfuncs.exp: Likewise.
2287 * gdb.cp/inherit.exp: Likewise.
2288 * gdb.cp/local.exp: Likewise.
2289 * gdb.cp/member-ptr.exp: Likewise.
2290 * gdb.cp/method.exp: Likewise.
2291 * gdb.cp/overload.exp: Likewise.
2292 * gdb.cp/templates.exp: Likewise.
2293 * gdb.stabs/weird.exp: Likewise.
2294 * lib/compiler.c: Likewise.
2295 * lib/compiler.cc: Likewise.
2296 * lib/cp-support.exp: Likewise.
2297 * lib/gdb.exp: Likewise.
2299 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2301 * configure.ac: Remove HP-UX case.
2302 * configure: Regenerate.
2304 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2306 * lib/gdb.exp (gdb_compile): Add function doc.
2308 2015-12-17 Pedro Alves <palves@redhat.com>
2311 * gdb.multi/info-threads.exp: New file.
2313 2015-12-15 Yao Qi <yao.qi@linaro.org>
2315 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2318 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2320 * gdb.base/history-duplicates.exp: Skip if no readline support.
2322 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2324 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2326 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2328 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2330 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2332 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2333 ctrl-C if nointerrupts target property is set.
2334 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2335 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2336 * gdb.base/paginate-bg-execution.exp: Likewise.
2337 * gdb.base/paginate-execution-startup.exp: Likewise.
2338 * gdb.base/random-signal.exp: Likewise.
2339 * gdb.base/range-stepping.exp: Likewise.
2340 * gdb.cp/annota2.exp: Likewise.
2341 * gdb.cp/annota3.exp: Likewise.
2342 * gdb.gdb/selftest.exp: Likewise.
2343 * gdb.threads/continue-pending-status.exp: Likewise.
2344 * gdb.threads/leader-exit.exp: Likewise.
2345 * gdb.threads/manythreads.exp: Likewise.
2346 * gdb.threads/pthreads.exp: Likewise.
2347 * gdb.threads/schedlock.exp: Likewise.
2348 * gdb.threads/sigthread.exp: Likewise.
2350 2015-12-11 Don Breazeal <donb@codesourcery.com>
2352 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2354 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2355 * gdb.base/foll-exec.exp (main): Enable for target remote.
2356 * gdb.base/foll-fork.exp (main): Likewise.
2357 * gdb.base/foll-vfork.exp (main): Likewise.
2358 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2359 (proc continue_to_exit_bp_loc): Use clean_restart.
2360 * gdb.base/pie-execl.exp (main): Disable for target remote.
2361 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2362 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2363 * gdb.threads/execl.exp (main): Likewise.
2364 * gdb.threads/fork-child-threads.exp (main): Likewise.
2365 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2367 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2369 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2370 pid.tid style ptids, instead of just tid.
2371 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2372 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2373 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2374 ptids, instead of just tid.
2376 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2378 * gdb.base/list.exp (test_list_forward): Add end of file error
2380 (test_repeat_list_command): Add end of file error test.
2381 (test_list_backwards): Add beginning of file error test.
2383 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2385 * gdb.base/list.exp (test_list_invalid_args): New function,
2386 defined, and called.
2388 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2390 * gdb.base/list.exp (test_list): Make test names unique.
2392 2015-12-11 Yao Qi <yao.qi@linaro.org>
2394 * gdb.base/coremaker2.c: Remove.
2396 2015-12-10 Pedro Alves <palves@redhat.com>
2398 * gdb.multi/base.exp: Remove stale "spaces" references.
2400 2015-12-10 Pedro Alves <palves@redhat.com>
2402 * gdb.multi/base.exp: Don't use nowarnings.
2403 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2404 * gdb.multi/hangout.c: Include stdio.h.
2405 * gdb.multi/hello.c: Include stdlib.h.
2406 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2407 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2408 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2410 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2412 * gdb.dwarf2/dw2-ranges-base.c: New file.
2413 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2414 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2415 support additional line table, and debug ranges generation.
2416 (Dwarf::ranges): New function, generate .debug_ranges.
2417 (Dwarf::lines): Support generating simple line table programs.
2418 (Dwarf::assemble): Initialise new namespace variables.
2420 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2422 * gdb.base/async.exp (proc test_background): Add case for
2423 asynchronous execution not supported.
2425 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2427 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2428 format and change test names to make them unique.
2430 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2431 Pedro Alves <pedro@redhat.com>
2434 Add checking of floatformats setup on x86_64 hosts.
2435 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2436 (smallval, bigval): New labels/constants.
2437 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2438 float" after loading bigval and smallval.
2440 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2442 * gdb.ada/fun_overload_menu.exp: New testcase.
2443 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2445 2015-12-04 Josh Stone <jistone@redhat.com>
2447 * gdb.base/catch-fork-static.exp: New.
2449 2015-12-03 Yao Qi <yao.qi@linaro.org>
2451 * gdb.base/sizeof.c: Don't include stdio.h and
2452 ../lib/unbuffer_output.c.
2453 (main): New variable 'size' and 'value'. Remove printf and
2454 gdb_unbuffer_output. Assign return value to size and value.
2455 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2457 (check_sizeof): Check the result by printing variable 'size'.
2458 (check_valueof): Check the result by printing variable 'value'.
2460 2015-12-01 Yao Qi <yao.qi@linaro.org>
2462 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2463 for aarch64*-*-linux* target.
2465 2015-11-30 Pedro Alves <palves@redhat.com>
2467 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2469 2015-11-30 Pedro Alves <palves@redhat.com>
2471 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2472 Handle non-stop mode vCont replies.
2474 2015-11-30 Pedro Alves <palves@redhat.com>
2476 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2477 prepare_for_testing. Start gdb with "set non-stop on" appended to
2478 GDBFLAGS. Lax expected stop output.
2480 2015-11-27 Yao Qi <yao.qi@linaro.org>
2482 * gdb.arch/arm-neon.exp: New.
2483 * gdb.arch/arm-neon.c: New.
2485 2015-11-27 Yao Qi <yao.qi@linaro.org>
2487 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2489 2015-11-27 Yao Qi <yao.qi@linaro.org>
2491 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2492 frames-invalid annotation.
2494 2015-11-27 Yao Qi <yao.qi@linaro.org>
2496 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2498 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2500 * gdb.threads/names.exp: New file.
2501 * gdb.threads/names.c: New file.
2502 * README: Mention gdb,no_thread_names.
2504 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2507 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2510 2015-11-24 Pedro Alves <palves@redhat.com>
2513 * gdb.base/display.exp: Expect displays to be sorted in ascending
2514 order. Use multi_line.
2515 * gdb.base/solib-display.exp: Likewise.
2517 2015-11-24 Pedro Alves <palves@redhat.com>
2520 * gdb.base/display.exp: Expect displays to be sorted in ascending
2521 order. Use multi_line.
2522 * gdb.base/solib-display.exp: Likewise.
2524 2015-11-24 Pedro Alves <palves@redhat.com>
2527 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2528 threads in ascending order.
2529 * gdb.base/foll-fork.exp: Likewise.
2530 * gdb.base/foll-vfork.exp: Likewise.
2531 * gdb.base/multi-forks.exp: Likewise.
2532 * gdb.mi/mi-nonstop.exp: Likewise.
2533 * gdb.mi/mi-nsintrall.exp: Likewise.
2534 * gdb.multi/base.exp: Likewise.
2535 * gdb.multi/multi-arch.exp: Likewise.
2536 * gdb.python/py-inferior.exp: Likewise.
2537 * gdb.threads/break-while-running.exp: Likewise.
2538 * gdb.threads/execl.exp: Likewise.
2539 * gdb.threads/gcore-thread.exp: Likewise.
2540 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2541 * gdb.threads/kill.exp: Likewise.
2542 * gdb.threads/linux-dp.exp: Likewise.
2543 * gdb.threads/multiple-step-overs.exp: Likewise.
2544 * gdb.threads/next-bp-other-thread.exp: Likewise.
2545 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2546 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2547 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2548 * gdb.threads/thread-find.exp: Likewise.
2549 * gdb.threads/tls.exp: Likewise.
2550 * lib/mi-support.exp (mi_reverse_list): Delete.
2551 (mi_check_thread_states): No longer reverse list.
2553 2015-11-24 Pedro Alves <palves@redhat.com>
2555 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2558 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2560 * gdb.trace/actions.c: Include trace-common.h.
2561 (main): Add a location for a fast tracepoint.
2562 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2563 the normal tracepoints.
2564 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2566 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2568 * save-trace.exp: Factor out code to these...
2569 (gdb_save_tracepoints): New.
2570 (gdb_load_tracepoints): New.
2571 (do_save_load_test): New.
2573 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2575 * gdb.base/asmlabel.exp: New test.
2576 * gdb.base/asmlabel.c: New test case.
2578 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2580 * gdb.base/wrong_frame_bt_full-main.c: New file.
2581 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2582 * gdb.base/wrong_frame_bt_full.exp: New file.
2584 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2586 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2588 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2590 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2591 pstate register when comparing registers values in
2592 sparc64-*-linux-gnu targets to avoid spurious differences.
2594 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2596 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2598 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2600 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2601 as type argument to gdb_compile.
2602 * gdb.base/nested-subp2.exp: Likewise.
2603 * gdb.base/nested-subp3.exp: Likewise.
2605 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2607 * lib/dwarf.exp (_note): Fix left shift of negative value.
2608 * gdb.trace/trace-condition.exp: Likewise.
2610 2015-11-13 Yao Qi <yao.qi@linaro.org>
2612 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2613 comments about d10v.
2614 (test_scalar_returns): Likewise.
2615 * gdb.base/d10v.ld: Remove.
2616 * gdb.base/overlays.exp: Remove the target triplet checking for
2618 * gdb.base/structs.exp (test_struct_returns): Remove the
2619 comments about d10v.
2620 (test_struct_calls): Likewise.
2622 2015-11-13 Yao Qi <yao.qi@linaro.org>
2624 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2625 * gdb.base/gnu_vector.c: Don't include stdio.h.
2626 (main): Don't print res and call add_some_intvecs.
2628 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2630 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2633 (func4): Use FAST_TRACEPOINT_LABEL.
2634 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2637 (thread_function): Use FAST_TRACEPOINT_LABEL.
2638 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2640 (marker): Use FAST_TRACEPOINT_LABEL.
2641 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2642 (pendfunc1): Remove.
2643 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2644 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2646 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2647 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2650 (marker): Use FAST_TRACEPOINT_LABEL.
2651 * gdb.trace/trace-common.h: New header.
2652 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2655 (marker): Use FAST_TRACEPOINT_LABEL.
2656 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2658 (thread_function): Use FAST_TRACEPOINT_LABEL.
2660 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2662 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2664 * gdb.trace/change-loc.exp: Use global pcreg definition.
2665 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2666 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2668 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2669 * gdb.trace/pending.exp: Likewise.
2670 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2671 * gdb.trace/trace-break.exp: Likewise.
2672 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2674 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2675 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2677 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2679 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2681 * gdb.ada/fin_fun_out: New testcase.
2683 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2685 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2686 value associated with DW_AT_byte_size.
2687 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2688 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2691 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2693 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2694 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2696 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2697 gdb.dwarf2/dw2-canonicalize-type.exp,
2698 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2699 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2700 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2701 provided by gdb_target_symbol_prefix_flags_asm.
2702 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2703 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2704 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2705 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2706 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2707 macros where needed). Use this macro for symbols which require
2708 the prefix provided by SYMBOL_PREFIX.
2710 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2712 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2714 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2715 representing expressions, of more than one list element.
2716 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2717 to prepend linker symbol prefix to f.
2718 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2719 table_1 and table_2.
2720 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2721 Likewise, for f and g.
2722 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2724 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2726 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2727 table_1_ptr and table_2_ptr.
2729 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 Joel Brobecker <brobecker@adacore.com>
2732 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2734 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2736 * gdb.reverse/s390-mvcle.c: New test.
2737 * gdb.reverse/s390-mvcle.exp: New file.
2738 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2740 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2742 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2744 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2746 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2748 * gdb.reverse/getresuid-reverse.exp: Likewise.
2749 * gdb.reverse/pipe-reverse.exp: Likewise.
2750 * gdb.reverse/readv-reverse.exp: Likewise.
2751 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2752 * gdb.reverse/time-reverse.exp: Likewise.
2753 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2755 2015-10-30 Yao Qi <yao.qi@linaro.org>
2757 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2758 (empty_cycle): Remove.
2759 (main): Don't call empty_cycle. Don't use watch_count_done.
2760 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2761 empty_cycle. Rewrite the code counting HW watchpoints.
2763 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2765 * gdb.reverse/fstatat-reverse.c: New test.
2766 * gdb.reverse/fstatat-reverse.exp: New file.
2767 * gdb.reverse/getresuid-reverse.c: New test.
2768 * gdb.reverse/getresuid-reverse.exp: New file.
2769 * gdb.reverse/pipe-reverse.c: New test.
2770 * gdb.reverse/pipe-reverse.exp: New file.
2771 * gdb.reverse/readv-reverse.c: New test.
2772 * gdb.reverse/readv-reverse.exp: New file.
2773 * gdb.reverse/recvmsg-reverse.c: New test.
2774 * gdb.reverse/recvmsg-reverse.exp: New file.
2775 * gdb.reverse/time-reverse.c: New test.
2776 * gdb.reverse/time-reverse.exp: New file.
2777 * gdb.reverse/waitpid-reverse.c: New test.
2778 * gdb.reverse/waitpid-reverse.exp: New file.
2780 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2782 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2784 2015-10-26 Doug Evans <dje@google.com>
2787 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2788 * gdb.dwarf2/bad-regnum.c: New file.
2789 * gdb.dwarf2/bad-regnum.exp: New file.
2791 2015-10-26 Doug Evans <dje@google.com>
2794 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2797 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2799 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2800 for a change by "Mention language in compile error message".
2802 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2805 * gdb.python/py-type.c (C::a_method): New.
2806 (C::a_const_method): New.
2807 (C::a_static_method): New.
2809 * gdb.python/py-type.exp (test_fields): Test getting fields
2810 from function and method.
2812 2015-10-21 Keven Boell <keven.boell@intel.com>
2814 * gdb.fortran/vla-alloc-assoc.exp: New file.
2815 * gdb.fortran/vla-datatypes.exp: New file.
2816 * gdb.fortran/vla-datatypes.f90: New file.
2817 * gdb.fortran/vla-history.exp: New file.
2818 * gdb.fortran/vla-ptype-sub.exp: New file.
2819 * gdb.fortran/vla-ptype.exp: New file.
2820 * gdb.fortran/vla-sizeof.exp: New file.
2821 * gdb.fortran/vla-sub.f90: New file.
2822 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2823 * gdb.fortran/vla-value-sub-finish.exp: New file.
2824 * gdb.fortran/vla-value-sub.exp: New file.
2825 * gdb.fortran/vla-value.exp: New file.
2826 * gdb.fortran/vla-ptr-info.exp: New file.
2827 * gdb.mi/mi-vla-fortran.exp: New file.
2828 * gdb.mi/vla.f90: New file.
2830 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2832 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2833 of hardwired timeout value.
2835 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2836 Pedro Alves <palves@redhat.com>
2838 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2839 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2841 2015-10-19 Josh Stone <jistone@redhat.com>
2843 * gdb.base/catch-syscall.c: Include <sched.h>.
2844 (unknown_syscall): New variable.
2845 (main): Trigger a vfork and an unknown syscall.
2846 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2847 (unknown_syscall_number): Likewise.
2848 (check_call_to_syscall): Accept an optional syscall pattern.
2849 (check_return_from_syscall): Likewise.
2850 (check_continue): Likewise.
2851 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2852 (test_catch_syscall_skipping_return): New test toggling off 'catch
2853 syscall' to step over the syscall return, then toggling back on.
2854 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2855 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2856 (do_syscall_tests): Call test_catch_syscall_without_args and
2857 test_catch_syscall_mid_vfork.
2858 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2859 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2861 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2863 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2864 print g_vE): Add new pass patterns.
2865 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2866 print various symbol names for vptr fields.
2868 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2870 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2873 2015-10-12 Yao Qi <yao.qi@linaro.org>
2875 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2877 2015-10-12 Yao Qi <yao.qi@linaro.org>
2879 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2880 is aarch64*-*-linux*.
2882 2015-10-12 Yao Qi <yao.qi@linaro.org>
2884 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2885 (can_relocate_bcond_true): ... it.
2886 (can_relocate_bcond_false): New function.
2888 (can_relocate_bl): Likewise.
2889 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2892 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2894 * gdb.base/nested-addr.c: New file.
2895 * gdb.base/nested-addr.exp: New testcase.
2897 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2899 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2900 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2901 its output. Ignore the output of "record goto begin" and instead
2902 check that GDB is replaying.
2904 2015-10-09 Pedro Alves <palves@redhat.com>
2906 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2907 (top level): Use it in the run with no args test.
2909 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2911 * gdb.dlang/properties.exp: New file.
2913 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2915 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2916 whether or not address 0x1000 is mapped on the target.
2918 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2920 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2923 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2925 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2926 instruction-history test.
2928 2015-09-28 Doug Evans <dje@google.com>
2930 * gdb.base/gcore.c (array_func): Add reference to static_array.
2932 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2937 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2939 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2940 short or char as base type.
2942 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2944 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2945 to allow any size enum.
2947 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2949 * gdb.ada/array_ptr_renaming.exp: New testcase.
2950 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2951 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2953 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2955 * gdb.trace/ftrace-lock.c: New file.
2956 * gdb.trace/ftrace-lock.exp: New file.
2958 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2960 * gdb.arch/insn-reloc.c: New file.
2961 * gdb.arch/ftrace-insn-reloc.exp: New file.
2963 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2965 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2967 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2968 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2969 * gdb.trace/range-stepping.c: Likewise.
2970 * gdb.trace/trace-break.c: Likewise.
2971 * gdb.trace/trace-mt.c (thread_function): Likewise.
2972 * gdb.trace/ftrace.c (marker): Likewise.
2973 * gdb.trace/trace-condition.c (marker): Likewise.
2974 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2975 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2978 2015-09-18 Doug Evans <xdje42@gmail.com>
2980 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2981 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2983 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2985 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2988 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2990 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2991 the pending breakpoint. Remove timeout override for "Run till
2992 MI pending breakpoint on pendfunc3 on thread 2" test.
2994 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2996 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2999 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3001 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3002 in breakpoint filename pattern.
3004 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3006 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3008 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3010 * gdb.linespec/explicit.exp: Check for readline support for
3011 tab-completion tests. Fix obvious typo.
3013 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3015 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3018 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3020 * gdb.btrace/non-stop.c: New.
3021 * gdb.btrace/non-stop.exp: New.
3023 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3024 Yao Qi <yao.qi@linaro.org>
3026 * gdb.trace/trace-condition.c: New file.
3027 * gdb.trace/trace-condition.exp: New file.
3029 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3031 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3032 for testing bytecode compilation.
3034 2015-09-16 Pedro Alves <palves@redhat.com>
3035 Sandra Loosemore <sandra@codesourcery.com>
3037 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3038 (SECONDS): Redefine.
3039 (main): Call pthread_kill and alarm early.
3040 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3042 (test): If the target can't hardware step and doesn't support
3043 displaced stepping, increase the timeout.
3045 2015-09-16 Pedro Alves <palves@redhat.com>
3047 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3048 (enable_debug): New procedures.
3049 (test): Use them. Bail out if waiting for threads fails.
3050 (top level): Bail out if a test fails.
3052 2015-09-16 Yao Qi <yao.qi@linaro.org>
3054 * gdb.asm/asm-source.exp: Set asm-arch for
3055 aarch64*-*-* target.
3056 * gdb.asm/aarch64.inc: New file.
3058 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3060 * gdb.ada/array_of_variable_length.exp: New testcase.
3061 * gdb.ada/array_of_variable_length/foo.adb: New file.
3062 * gdb.ada/array_of_variable_length/pck.adb: New file.
3063 * gdb.ada/array_of_variable_length/pck.ads: New file.
3065 2015-09-15 Doug Evans <dje@google.com>
3067 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3068 of function static local variable.
3070 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3072 * gdb.threads/tls-so_extern.exp: New test file.
3073 * gdb.threads/tls-so_extern.c: New test file.
3074 * gdb.threads/tls-so_extern_main.c: New test file.
3076 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3078 * gdb.opt/solib-intra-step-lib.c: New file.
3079 * gdb.opt/solib-intra-step-main.c: New file.
3080 * gdb.opt/solib-intra-step.exp: New file.
3082 2015-09-15 Pedro Alves <palves@redhat.com>
3084 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3085 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3087 2015-09-14 Pedro Alves <palves@redhat.com>
3089 * gdb.base/hook-stop-continue.c: Delete.
3090 * gdb.base/hook-stop-continue.exp: Delete.
3091 * gdb.base/hook-stop-frame.c: Delete.
3092 * gdb.base/hook-stop-frame.exp: Delete.
3093 * gdb.base/hook-stop.c: New file.
3094 * gdb.base/hook-stop.exp: New file.
3096 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3098 * gdb.ada/access_to_packed_array.exp: New testcase.
3099 * gdb.ada/access_to_packed_array/foo.adb: New file.
3100 * gdb.ada/access_to_packed_array/pack.adb: New file.
3101 * gdb.ada/access_to_packed_array/pack.ads: New file.
3103 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3105 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3108 2015-09-11 Don Breazeal <donb@codesourcery.com>
3110 * gdb.base/foll-exec.c: Add copyright header. Fix
3112 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3113 (do_exec_tests): Use clean_restart in place of zap_session,
3114 and for test initialization. Fix formatting issues. Use
3115 fail in place of perror.
3116 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3117 an expect statement to match an expression with output from
3118 the program under debug.
3119 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3120 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3121 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3122 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3123 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3125 2015-09-09 Doug Evans <dje@google.com>
3127 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3129 2015-09-09 Doug Evans <dje@google.com>
3131 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3133 2015-09-09 Doug Evans <dje@google.com>
3135 * gdb.base/savedregs.exp: Fix typo.
3137 2015-09-09 Pedro Alves <palves@redhat.com>
3139 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3141 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3143 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3144 command actually switches threads. Give up on remaining
3145 tests if target fails to stop at breakpoint.
3147 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3149 * gdb.ada/funcall_char.exp: New testcase.
3150 * gdb.ada/funcall_char/foo.adb: New file.
3152 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3154 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3155 expected outputs. Add two testcases for completing ambiguous
3157 * gdb.ada/complete/aux_pck.adb: New file.
3158 * gdb.ada/complete/aux_pck.ads: New file.
3159 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3160 Ambiguous_Func functions.
3161 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3162 * gdb.ada/complete/pck.adb: Likewise.
3164 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3166 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3167 failures to run the test program under GDB.
3169 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3171 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3174 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3176 * gdb.base/run-after-attach.exp: New test file.
3177 * gdb.base/run-after-attach.c: New test file.
3179 2015-08-26 Don Breazeal <donb@codesourcery.com>
3181 * gdb.base/foll-exec-2.c: New test program.
3182 * gdb.base/foll-exec-2.exp: New test.
3184 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3186 * gdb.base/nested-subp1.exp: New file.
3187 * gdb.base/nested-subp1.c: New file.
3188 * gdb.base/nested-subp2.exp: New file.
3189 * gdb.base/nested-subp2.c: New file.
3190 * gdb.base/nested-subp3.exp: New file.
3191 * gdb.base/nested-subp3.c: New file.
3193 2015-08-24 Pedro Alves <palves@redhat.com>
3195 * gdb.server/connect-without-multi-process.c: New file.
3196 * gdb.server/connect-without-multi-process.exp: New file.
3198 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3200 * gdb.opt/inline-markers.c: Make z int.
3202 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3204 * gdb.opt/inline-markers.c: Make z volatile.
3206 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3208 * gdb.opt/inline-bt.c: New volatile global z.
3209 * gdb.opt/inline-cmds.c: Likewise.
3210 * gdb.opt/inline-locals.c: Likewise.
3211 * gdb.opt/inline-markers.c: New extern global z.
3213 (inline_fn): Likewise.
3215 2015-08-24 Pedro Alves <palves@redhat.com>
3217 * config/m32r-stub.exp: Remove file.
3218 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3219 * gdb.base/call-rt-st.exp: Likewise.
3220 * gdb.base/call-strs.exp: Likewise.
3221 * gdb.base/default.exp: Remove references to h8300-*-hms and
3223 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3225 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3227 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3228 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3229 and "return" use KFAIL when GDB can not read/write the vector
3232 2015-08-21 Gary Benson <gbenson@redhat.com>
3234 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3236 2015-08-20 Pedro Alves <palves@redhat.com>
3238 * gdb.server/solib-list.exp: No longer expect an interior stop in
3241 2015-08-20 Pedro Alves <palves@redhat.com>
3243 * gdb.server/connect-stopped-target.c: New file.
3244 * gdb.server/connect-stopped-target.exp: New file.
3246 2015-08-20 Pedro Alves <palves@redhat.com>
3248 * gdb.dwarf2/comp-unit-lang.exp: New file.
3249 * gdb.dwarf2/comp-unit-lang.c: New file.
3251 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3253 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3254 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3256 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3258 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3259 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3261 2015-08-18 Doug Evans <dje@google.com>
3262 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3264 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3265 skip_python_tests. New arg prompt_regexp.
3266 (skip_python_tests): New function.
3267 * lib/mi-support.exp (mi_skip_python_tests): New function.
3268 * gdb.python/py-mi-objfile-gdb.py: New file.
3269 * gdb.python/py-mi-objfile.c: New file.
3270 * gdb.python/py-mi-objfile.exp: New file.
3272 2015-08-17 Keith Seitz <keiths@redhat.com>
3274 * gdb.linespec/explicit.exp: Move strace test from here ...
3275 * gdb.trace/strace.exp: ... to here.
3277 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3279 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3280 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3282 2015-08-14 Doug Evans <xdje42@gmail.com>
3284 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3285 inferior before selecting a new file.
3287 2015-08-14 Doug Evans <xdje42@gmail.com>
3289 * gdb.mi/mi-disassemble.exp: Update.
3290 * gdb.base/disasm-optim.S: New file.
3291 * gdb.base/disasm-optim.c: New file.
3292 * gdb.base/disasm-optim.h: New file.
3293 * gdb.base/disasm-optim.exp: New file.
3295 2015-08-14 Keith Seitz <keiths@redhat.com>
3297 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3300 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3302 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3304 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3306 * gdb.ada/fun_renaming.exp: New testcase.
3307 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3308 * gdb.ada/fun_renaming/pack.adb: New file.
3309 * gdb.ada/fun_renaming/pack.ads: New file.
3311 2015-08-12 Keith Seitz <keiths@redhat.com>
3313 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3314 gdb_get_line_number.
3316 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3318 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3319 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3320 gdb.base/dso2dso.exp: New files.
3322 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3323 Pedro Alves <palves@redhat.com>
3324 Keith Seitz <keiths@redhat.com>
3326 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3329 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3331 * gdb.base/gdbhistsize-history.exp
3332 (test_histsize_history_setting): Use save_vars.
3333 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3335 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3336 * gdb.base/readline.exp: Use save_vars.
3338 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3340 * lib/gdb.exp (save_vars): New proc.
3342 2015-08-11 Keith Seitz <keiths@redhat.com>
3344 * gdb.base/help.exp: Update help_breakpoint_text.
3346 2015-08-11 Keith Seitz <keiths@redhat.com>
3348 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3349 (at toplevel): Call test_explicit_breakpoints.
3350 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3352 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3353 breakpoint conditions, "-cond".
3355 2015-08-11 Keith Seitz <keiths@redhat.com>
3357 * gdb.linespec/3explicit.c: New file.
3358 * gdb.linespec/cpexplicit.cc: New file.
3359 * gdb.linespec/cpexplicit.exp: New file.
3360 * gdb.linespec/explicit.c: New file.
3361 * gdb.linespec/explicit.exp: New file.
3362 * gdb.linespec/explicit2.c: New file.
3363 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3364 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3365 before using in the matching pattern.
3366 Clarify that `prefix' is a regular expression.
3368 2015-08-11 Keith Seitz <keiths@redhat.com>
3370 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3372 Add tests for missing ",FMT" and ",".
3374 2015-08-10 Doug Evans <dje@google.com>
3375 Keith Seitz <keiths@redhat.com>
3378 * gdb.base/completion.exp: Add location completer tests.
3380 2015-08-07 Pedro Alves <palves@redhat.com>
3382 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3384 (top level): Run do_test with and without displaced stepping.
3386 2015-08-07 Pedro Alves <palves@redhat.com>
3388 * gdb.base/valgrind-disp-step.c: New file.
3389 * gdb.base/valgrind-disp-step.exp: New file.
3391 2015-08-07 Pedro Alves <palves@redhat.com>
3393 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3395 (main): Add alarm. Run an infinite loop instead of calling
3397 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3399 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3401 (main): Add alarm. Run an infinite loop instead of calling
3403 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3406 2015-08-07 Pedro Alves <palves@redhat.com>
3408 * gdb.base/checkpoint-ns.exp: New file.
3409 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3412 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3414 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3415 * gdb.btrace/instruction_history.exp: Update.
3416 * gdb.btrace/tsx.exp: New.
3417 * gdb.btrace/tsx.c: New.
3419 2015-08-06 Pedro Alves <palves@redhat.com>
3421 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3423 * gdb.reverse/until-precsave.exp: Bump timeouts.
3425 2015-08-06 Pedro Alves <palves@redhat.com>
3427 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3429 2015-08-06 Pedro Alves <palves@redhat.com>
3432 * gdb.threads/process-dies-while-handling-bp.c: New file.
3433 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3435 2015-08-06 Pedro Alves <palves@redhat.com>
3437 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3438 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3440 2015-08-05 Pedro Alves <palves@redhat.com>
3442 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3443 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3445 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3447 * gdb.base/bp-permanent.exp: Report test as unsupported if
3448 the target cannot stop at the permanent breakpoint.
3450 2015-08-03 Doug Evans <dje@google.com>
3452 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3455 2015-08-03 Doug Evans <dje@google.com>
3457 * Makefile.in (workers/%.worker, build-perf): New rule.
3458 (GDB_PERFTEST_MODE): New variable.
3459 (check-perf): Use it.
3460 (clean): Clean up gdb.perf parallel build subdirs.
3461 * lib/build-piece.exp: New file.
3462 * lib/gdb.exp (make_gdb_parallel_path): New function
3463 (standard_output_file, standard_temp_file): Call it.
3464 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3466 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3468 2015-08-03 Doug Evans <dje@google.com>
3470 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3471 (LOG_FILE_NAME): New global.
3472 (TextReporter.__init__): Initialize self.txt_sum.
3473 (TextReporter.report): Add support for multiple data-points.
3474 Move report to perftest.sum, put raw data in perftest.log.
3475 (TextReporter.start): Open sum and log files.
3476 (TextReporter.end): Close sum and log files.
3477 * gdb.perf/lib/perftest/testresult.py
3478 (SingleStatisticTestResult.record): Handle multiple data-points.
3480 2015-07-31 Pedro Alves <palves@redhat.com>
3482 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3483 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3484 kill_wait_spawned_process instead of explicit "kill -9".
3485 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3486 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3487 kill_wait_spawned_process.
3488 * gdb.base/attach-twice.exp: Likewise.
3489 * gdb.base/attach.exp: Likewise.
3490 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3492 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3493 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3494 kill_wait_spawned_process.
3495 * gdb.base/valgrind-infcall.exp: Likewise.
3496 * gdb.multi/multi-attach.exp: Likewise.
3497 * gdb.python/py-prompt.exp: Likewise.
3498 * gdb.python/py-sync-interp.exp: Likewise.
3499 * gdb.server/ext-attach.exp: Likewise.
3500 * gdb.threads/attach-into-signal.exp (corefunc): Use
3501 spawn_wait_for_attach, spawn_id_get_pid and
3502 kill_wait_spawned_process.
3503 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3504 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3505 spawn_id_get_pid and kill_wait_spawned_process.
3506 * gdb.threads/attach-stopped.exp (corefunc): Use
3507 spawn_wait_for_attach, spawn_id_get_pid and
3508 kill_wait_spawned_process.
3509 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3510 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3511 kill_wait_spawned_process instead of explicit "kill -9".
3512 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3513 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3514 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3515 processes. Don't map cygwin/windows pids here. Now returns a
3518 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3520 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3521 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3524 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3526 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3528 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3531 2014-05-21 Mark Wielaard <mjw@redhat.com>
3533 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3535 2015-07-30 Pedro Alves <palves@redhat.com>
3537 * linux-low.c (handle_extended_wait): Set the child's last
3538 reported status to TARGET_WAITKIND_STOPPED.
3540 2015-07-30 Pedro Alves <palves@redhat.com>
3543 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3544 only shows inferior 1.
3546 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3547 Pedro Alves <palves@redhat.com>
3550 * gdb.threads/fork-plus-threads.c: New file.
3551 * gdb.threads/fork-plus-threads.exp: New file.
3553 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3555 * gdb.base/batch-preserve-term-settings.exp
3556 (test_terminal_settings_preserved_after_cli_exit): Use
3559 2015-07-29 Pedro Alves <palves@redhat.com>
3560 Don Breazeal <donb@codesourcery.com>
3562 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3563 output from both inferior_spawn_id and gdb_spawn_id.
3565 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3567 * gdb.threads/attach-into-signal.exp (corefunc): Use
3568 with_test_prefix on nested loops, uniquefying the test messages.
3570 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3572 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3575 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3577 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3579 (test_terminal_settings_preserved_after_sigterm): New test.
3581 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3583 * gdb.base/batch-preserve-term-settings.exp
3584 (test_terminal_settings_preserved_after_cli_exit): New test.
3586 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3588 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3589 manipulation of saved_gdbflags.
3590 (test_terminal_settings_preserved): Remove global declaration of
3591 the unused variable pagination_prompt. Remove manipulation of
3592 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3595 2015-07-29 Pedro Alves <palves@redhat.com>
3597 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3599 2015-07-29 Pedro Alves <palves@redhat.com>
3601 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3604 2015-07-29 Pedro Alves <palves@redhat.com>
3606 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3607 (main): Call gdb_unbuffer_output.
3608 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3609 (main): Call gdb_unbuffer_output.
3610 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3611 (main): Call gdb_unbuffer_output.
3612 * gdb.base/call-strs.exp: Adjust to step over the
3613 gdb_unbuffer_output call.
3614 * gdb.base/catch-gdb-caused-signals.c: Include
3615 "../lib/unbuffer_output.c".
3616 (main): Call gdb_unbuffer_output.
3617 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3618 (main): Call gdb_unbuffer_output.
3619 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3622 (main): Call gdb_unbuffer_output.
3623 * gdb.base/shlib-call.exp: Adjust to step over the
3624 gdb_unbuffer_output call.
3625 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3626 (main): Call gdb_unbuffer_output.
3627 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3628 (main): Call gdb_unbuffer_output.
3629 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3630 (main): Rename to ...
3632 (main): Reimplement.
3633 * gdb.base/varargs.exp: Run to test instead of to main.
3634 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3637 2015-07-29 Pedro Alves <palves@redhat.com>
3639 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3640 factore out from mi_continue_dprintf. For call-style dprintfs,
3641 expect dprintf output out of $inferior_spawn_id.
3642 (mi_continue_dprintf): Use mi_expect_dprintf.
3643 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3646 2015-07-29 Pedro Alves <palves@redhat.com>
3648 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3649 (default_mi_gdb_start): Set inferior_spawn_id instead of
3650 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3652 (mi_gdb_test): Always expect inferior output from both
3653 $inferior_spawn_id and $gdb_spawn_id.
3655 2015-07-29 Pedro Alves <palves@redhat.com>
3657 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3658 send_inferior and $inferior_spawn_id.
3660 2015-07-29 Pedro Alves <palves@redhat.com>
3662 * gdb.gdb/complaints.exp (test_initial_complaints)
3663 (test_serial_complaints, test_short_complaints): Use
3665 (test_empty_complaint): Handle $inferior_spawn_id !=
3668 2015-07-29 Pedro Alves <palves@redhat.com>
3670 * gdb.base/varargs.exp: Use gdb_test_stdio.
3672 2015-07-29 Pedro Alves <palves@redhat.com>
3674 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3676 2015-07-29 Pedro Alves <palves@redhat.com>
3678 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3680 2015-07-29 Pedro Alves <palves@redhat.com>
3682 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3683 parameter into two new parameters, "inf_result" and "gdb_result".
3684 Expect inferior output and gdb output from $inferior_spawn_id and
3685 $gdb_spawn_id, respectively. Adjust all callers.
3687 2015-07-29 Pedro Alves <palves@redhat.com>
3689 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3690 of gdb_test_sequence.
3692 2015-07-29 Pedro Alves <palves@redhat.com>
3694 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3695 (saw_spurious_output): Expect inferior output from
3696 $inferior_spawn_id. Use gdb_test_stdio.
3698 2015-07-29 Pedro Alves <palves@redhat.com>
3700 * gdb.base/dprintf.exp: Use standard_testfile. Change
3701 prepare_for_testing call.
3702 (srcfile): Don't set.
3703 (restart): New procedure.
3704 (test_dprintf): New procecure, use to continue over dprintfs.
3705 (test_call, test_agent): New procedures, tests moved here.
3706 Restart gdb and recreate dprintfs. Adjust expected output.
3708 2015-07-29 Pedro Alves <palves@redhat.com>
3710 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3712 2015-07-29 Pedro Alves <palves@redhat.com>
3714 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3716 2015-07-29 Pedro Alves <palves@redhat.com>
3718 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3721 2015-07-29 Pedro Alves <palves@redhat.com>
3723 * lib/gdb.exp (gdb_test_stdio): New procedure.
3725 2015-07-29 Pedro Alves <palves@redhat.com>
3727 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3729 2015-07-29 Pedro Alves <palves@redhat.com>
3731 * gdb.base/call-signal-resume.exp: Remove check for
3732 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3733 * gdb.base/unwindonsignal.exp: Likewise.
3734 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3735 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3737 2015-07-29 Pedro Alves <palves@redhat.com>
3739 * gdb.base/siginfo-addr.c (pass): New function.
3740 (handler): Call it iff si_addr is correct.
3741 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3742 Set a breakpoint at "pass" and continue to it.
3744 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3746 * gdb.python/py-objfile.exp: Make some tests have unique names.
3747 * gdb.python/py-pp-registration.exp: Likewise.
3749 2015-07-28 Pedro Alves <palves@redhat.com>
3751 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3753 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3755 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3757 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3759 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3761 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3763 * gdb.base/gdb-sigterm-2.exp: New test.
3765 2015-07-25 Doug Evans <xdje42@gmail.com>
3768 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3769 (workers/%.worker, build-perf): New rule.
3770 (GDB_PERFTEST_MODE): New variable.
3771 (check-perf): Use it.
3772 (clean): Clean up gdb.perf parallel build subdirs.
3773 * lib/build-piece.exp: New file.
3774 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3775 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3777 (standard_temp_file): Ditto.
3778 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3781 2015-07-24 Doug Evans <dje@google.com>
3783 * gdb.perf/lib/perftest/utils.py: New file.
3784 * gdb.perf/gm-hello.cc: New file.
3785 * gdb.perf/gm-pervasive-typedef.cc: New file.
3786 * gdb.perf/gm-pervasive-typedef.h: New file.
3787 * gdb.perf/gm-std.cc: New file.
3788 * gdb.perf/gm-std.h: New file.
3789 * gdb.perf/gm-use-cerr.cc: New file.
3790 * gdb.perf/gm-utils.h: New file.
3791 * gdb.perf/gmonster-null-lookup.py: New file.
3792 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3793 * gdb.perf/gmonster-print-cerr.py: New file.
3794 * gdb.perf/gmonster-ptype-string.py: New file.
3795 * gdb.perf/gmonster-runto-main.py: New file.
3796 * gdb.perf/gmonster-select-file.py: New file.
3797 * gdb.perf/gmonster1-null-lookup.exp: New file.
3798 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3799 * gdb.perf/gmonster1-print-cerr.exp: New file.
3800 * gdb.perf/gmonster1-ptype-string.exp: New file.
3801 * gdb.perf/gmonster1-runto-main.exp: New file.
3802 * gdb.perf/gmonster1-select-file.exp: New file.
3803 * gdb.perf/gmonster1.cc: New file.
3804 * gdb.perf/gmonster1.exp: New file.
3805 * gdb.perf/gmonster2-null-lookup.exp: New file.
3806 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3807 * gdb.perf/gmonster2-print-cerr.exp: New file.
3808 * gdb.perf/gmonster2-ptype-string.exp: New file.
3809 * gdb.perf/gmonster2-runto-main.exp: New file.
3810 * gdb.perf/gmonster2-select-file.exp: New file.
3811 * gdb.perf/gmonster2.cc: New file.
3812 * gdb.perf/gmonster2.exp: New file.
3814 2015-07-24 Doug Evans <dje@google.com>
3816 * gdb.perf/README: New file.
3817 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3818 * lib/gen-perf-test.exp: New file.
3820 2015-07-24 Doug Evans <dje@google.com>
3822 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3823 (PerfTest::startup): New function.
3824 (PerfTest::run): Return result of calling body.
3825 (PerfTest::assemble): Rewrite.
3826 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3827 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3828 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3829 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3830 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3832 2015-07-24 Doug Evans <dje@google.com>
3834 * lib/gdb.exp (clean_restart): Make executable optional.
3836 2015-07-24 Doug Evans <dje@google.com>
3838 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3839 compiler_info references.
3840 * gdb.cp/temargs.exp: Ditto.
3841 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3842 (get_compiler_info): Early exit if already computed. Set compiler_info
3843 to "unknown" if there was a problem.
3844 (test_compiler_info): Add function comment. Call get_compiler_info.
3846 2015-07-24 Doug Evans <dje@google.com>
3848 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3849 (workers/%.worker, build-perf): New rule.
3850 (GDB_PERFTEST_MODE): New variable.
3851 (check-perf): Use it.
3852 (clean): Clean up gdb.perf parallel build subdirs.
3853 * lib/build-piece.exp: New file.
3854 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3855 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3857 (standard_temp_file): Ditto.
3858 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3861 2015-07-24 Doug Evans <dje@google.com>
3863 * lib/future.exp (gdb_default_target_compile): New option
3865 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3868 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3870 * gdb.base/catch-syscall.exp: Call gdb_exit before
3873 2015-07-24 Pedro Alves <palves@redhat.com>
3875 * gdb.python/py-events.exp: Accept output between the stop event
3877 * gdb.python/py-evsignal.exp: Likewise.
3878 * gdb.python/py-evthreads.exp: Likewise.
3880 2015-07-24 Pedro Alves <palves@redhat.com>
3883 * gdb.threads/non-ldr-exit.c: New file.
3884 * gdb.threads/non-ldr-exit.exp: New file.
3886 2015-07-24 Yao Qi <yao.qi@linaro.org>
3888 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3891 2015-07-24 Yao Qi <yao.qi@linaro.org>
3893 * gdb.server/ext-restart.exp: New file.
3895 2015-07-24 Yao Qi <yao.qi@linaro.org>
3897 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3899 * gdb.server/ext-wrapper.exp: New file.
3901 2015-07-23 Doug Evans <dje@google.com>
3903 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3904 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3906 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3908 * gdb.ada/var_arr_typedef.exp: New testcase.
3909 * gdb.ada/var_arr_typedef/pack.adb: New file.
3910 * gdb.ada/var_arr_typedef/pack.ads: New file.
3911 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3913 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3915 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3917 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3919 * gdb.arch/i386-biarch-core.exp: Replace istarget
3920 by "complete set gnutarget". Remove expectation for the "core-file"
3923 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3925 Revert the previous commit:
3926 Tests for validate symbol file using build-id.
3928 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3930 Tests for validate symbol file using build-id.
3931 * gdb.base/solib-mismatch-lib.c: New file.
3932 * gdb.base/solib-mismatch-libmod.c: New file.
3933 * gdb.base/solib-mismatch.c: New file.
3934 * gdb.base/solib-mismatch.exp: New file.
3936 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3938 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3940 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3941 * gdb.base/siginfo.exp: Likewise.
3942 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3944 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3946 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3948 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3950 * gdb.trace/range-stepping.exp: Check that the target supports
3953 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3955 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3957 2015-07-14 Pedro Alves <palves@redhat.com>
3959 * gdb.base/killed-outside.exp: New file.
3960 * gdb.base/killed-outside.c: New file.
3962 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3966 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3968 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3970 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3971 infcall tests instead of setting up for KFAIL.
3973 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3975 * gdb.btrace/record_goto-step.exp: New.
3977 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3980 * gdb.compile/compile.c (struct struct_type): Add volatile to
3982 * gdb.compile/compile.exp
3983 (compile code struct_object.selffield = &struct_object): Skip further
3984 struct_object tests if this one xfails.
3986 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3989 * gdb.trace/ax.exp: Add test.
3991 2015-07-07 Yao Qi <yao.qi@linaro.org>
3993 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3994 instead of istarget "aarch64*-*-*".
3995 * gdb.arch/aarch64-fp.exp: Likewise.
3996 * gdb.base/float.exp: Likewise.
3997 * gdb.reverse/aarch64.exp: Likewise.
3998 * lib/gdb.exp (is_aarch64_target): New proc.
4000 2015-07-07 Yao Qi <yao.qi@linaro.org>
4002 * lib/gdb.exp (is_aarch32_target): New proc.
4003 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4004 instead of "istarget "arm*-*-*"".
4005 * gdb.arch/arm-disp-step.exp: Likewise.
4006 * gdb.arch/thumb-bx-pc.exp: Likewise.
4007 * gdb.arch/thumb-prologue.exp: Likewise.
4008 * gdb.arch/thumb-singlestep.exp: Likewise.
4009 * gdb.base/disp-step-syscall.exp: Likewise.
4010 * gdb.base/float.exp: Likewise.
4012 2015-07-07 Yao Qi <yao.qi@linaro.org>
4014 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4015 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4017 2015-07-07 Yao Qi <yao.qi@linaro.org>
4019 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4020 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4022 * gdb.multi/multi-arch.exp: Likewise.
4024 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4026 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4029 2015-07-07 Yao Qi <yao.qi@linaro.org>
4031 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4033 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4035 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4036 '[' and ']' characters.
4038 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4040 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4042 2015-06-29 Pedro Alves <palves@redhat.com>
4045 * gdb.threads/hand-call-new-thread.c: New file.
4046 * gdb.threads/hand-call-new-thread.c: New file.
4048 2015-06-26 Keith Seitz <keiths@redhat.com>
4049 Doug Evans <dje@google.com>
4052 * gdb.cp/var-tag-2.cc: New file.
4053 * gdb.cp/var-tag-3.cc: New file.
4054 * gdb.cp/var-tag-4.cc: New file.
4055 * gdb.cp/var-tag.cc: New file.
4056 * gdb.cp/var-tag.exp: New file.
4058 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4060 * gdb.base/history-duplicates.exp: New test.
4062 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4064 * gdb.base/completion.exp: Test the completion of the "focus"
4067 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4069 * gdb.arch/amd64-prologue-skip.S: New file.
4070 * gdb.arch/amd64-prologue-skip.exp: New file.
4072 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4074 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4075 is_address_zero_readable check.
4077 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4079 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4080 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4082 2015-06-24 Yao Qi <yao.qi@linaro.org>
4084 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4087 2015-06-24 Yao Qi <yao.qi@linaro.org>
4089 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4090 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4091 * gdb.base/siginfo-thread.exp: Likewise.
4093 2015-06-22 Yao Qi <yao.qi@linaro.org>
4095 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4097 2015-06-22 Yao Qi <yao.qi@linaro.org>
4099 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4101 (skip_hw_watchpoint_tests): Likewise.
4103 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4105 * gdb.base/gdbinit-history.exp: Test the interaction between
4106 setting GDBHISTSIZE and setting the history size via .gdbinit.
4108 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4111 * gdb.base/gdbhistsize-history.exp: New test.
4113 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4115 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4117 * gdb.base/readline.exp: Likewise.
4119 2015-06-17 Yao Qi <yao.qi@linaro.org>
4121 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4124 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4126 * gdb.base/gdbinit-history.exp: Add test case to check that
4127 an unlimited history file does not get truncated on exit.
4129 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4131 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4132 (VECTOR): New macro. Use it...
4133 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4134 ...for these typedefs.
4135 (int8, char1, int1, double1): New typedefs.
4136 (struct just_int2, struct two_int2): New structures.
4137 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4138 (add_structvecs, add_singlevecs): New functions.
4139 (main): Call add_some_intvecs twice.
4140 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4141 the compile and exit upon failure. Try compiling for the "native"
4142 architecture. Test inferior function calls with vector arguments
4143 and vector return value handling with "finish" and "return".
4145 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4147 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4148 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4150 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4152 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4154 PR breakpoints/16465
4155 * gdb.mi/mi-dprintf-pending.c: New file.
4156 * gdb.mi/mi-dprintf-pending.exp: New test.
4157 * gdb.mi/mi-dprintf-pendshr.c: New file.
4159 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4160 Mircea Gherzan <mircea.gherzan@intel.com>
4162 * gdb.arch/i386-mpx-map.c: New file.
4163 * gdb.arch/i386-mpx-map.exp: New File.
4165 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4167 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4168 * gdb.arch/i386-mpx.exp: Indentation fixed.
4170 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4172 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4173 function and improved indentation.
4174 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4175 gdb_test_multiple. Added additional tests to skip the test.
4177 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4179 * gdb.arch/i386-avx512.c: Change path in include file.
4180 * gdb.arch/i386-avx512.exp: Change include dir path
4182 * gdb.arch/i386-mpx.c: Change path in include file.
4183 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4186 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4188 * gdb.compile/compile-print.exp (compile print *vararray@3)
4189 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4191 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4193 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4194 (do not keep jit in memory): ... this.
4195 (expect 5): Change it to ...
4196 (expect no 5): ... this.
4198 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4201 * gdb.mi/mi-detach.exp: New file.
4203 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4206 * gdb.arch/amd64-tailcall-self.S: New file.
4207 * gdb.arch/amd64-tailcall-self.c: New file.
4208 * gdb.arch/amd64-tailcall-self.exp: New file.
4210 2015-05-28 Don Breazeal <donb@codesourcery.com>
4212 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4213 tests for remote targets by checking is_target_gdbserver.
4215 2015-05-27 Doug Evans <dje@google.com>
4217 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4218 * gdb.dwarf2/opaque-type-lookup.c: New file.
4219 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4221 2015-05-26 Doug Evans <dje@google.com>
4223 * gdb.cp/iostream.cc: New file.
4224 * gdb.cp/iostream.exp: New file.
4226 2015-05-26 Doug Evans <dje@google.com>
4228 * gdb.dwarf2/dw2-op-call.exp: Update.
4229 * gdb.dwarf2/dw4-sig-types.exp: Update.
4230 * gdb.dwarf2/implptr.exp: Update.
4231 * gdb.mi/mi-cmd-param-changed.exp: Update.
4233 2015-05-26 Doug Evans <dje@google.com>
4235 * gdb.python/py-lazy-string.c: New file.
4236 * gdb.python/py-lazy-string.exp: New file.
4237 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4238 (main): Update. Add estring3.
4239 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4240 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4242 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4243 Yao Qi <yao.qi@linaro.org>
4245 * gdb.reverse/aarch64.c: New.
4246 * gdb.reverse/aarch64.exp: New.
4248 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4250 * lib/gdb.exp (supports_process_record): Return true for
4252 (supports_reverse): Likewise.
4254 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4256 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4257 Use with_test_prefix.
4259 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4261 * gdb.base/completion.exp: Add test for completion of layout
4264 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4266 * lib/gdb.exp (skip_tui_tests): New proc.
4267 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4269 2015-05-19 Pedro Alves <palves@redhat.com>
4271 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4272 Save the whole env array instead of just HOME. Unset HISTSIZE in
4273 the environment while testing. Restore whole environment
4276 2015-05-16 Doug Evans <xdje42@gmail.com>
4278 * gdb.guile/scm-ports.c: New file.
4279 * gdb.guile/scm-ports.exp: Add memory port tests.
4281 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4283 * gdb.compile/compile-print.c: New file.
4284 * gdb.compile/compile-print.exp: New file.
4286 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4288 * gdb.compile/compile-ops.exp: Cast param to void.
4289 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4290 (compile code struct_object.selffield = &struct_object): Add xfail.
4292 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4294 * gdb.ada/arr_enum_with_gap: New testcase.
4296 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4298 * gdb.ada/byte_packed_arr: New testcase.
4300 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4302 * gdb.ada/pckd_neg: New testcase.
4304 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4307 * gdb.base/gdbinit-history.exp: New test.
4308 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4309 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4311 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4313 * gdb.python/py-xmethods.cc: Enhance test case.
4314 * gdb.python/py-xmethods.exp: New tests.
4315 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4317 (B_indexoper): Likewise.
4318 (global_dm_list) : Add new xmethod worker functions.
4320 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4322 * gdb.base/coredump-filter.exp: Correctly unset
4323 "coredump_var_addr" array.
4325 2015-05-08 Pedro Alves <palves@redhat.com>
4327 * gdb.server/non-existing-program.exp: Unset spawn_id.
4329 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4332 * gdb.python/py-xmethods.exp: Add tests.
4334 2015-05-08 Yao Qi <yao.qi@linaro.org>
4337 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4338 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4339 function set_coredump_filter, and remove remote_exec call.
4340 Remove argument ipid. Callers update.
4341 (top level): Don't get inferior's PID.
4343 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4345 * gdb.base/watch_thread_num.exp: Skip test on targets without
4348 2015-05-06 Pedro Alves <palves@redhat.com>
4351 * gdb.server/non-existing-program.exp: New file.
4353 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4355 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4357 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4359 * gdb.ada/out_of_line_in_inlined: New testcase.
4361 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4363 * gdb.ada/var_rec_arr: New testcase.
4365 2015-04-30 Yao Qi <yao.qi@linaro.org>
4367 * gdb.base/break-idempotent.exp: If
4368 skip_hw_watchpoint_multi_tests returns true, skip the tests
4369 on "rwatch" and "awatch".
4371 2015-04-30 Yao Qi <yao.qi@linaro.org>
4373 * gdb.base/relativedebug.exp: Invoke gdb command
4374 "info sharedlibrary", and if libc.so doesn't have debug info,
4377 2015-04-29 Doug Evans <dje@google.com>
4379 * gdb.python/py-xmethods.exp: Add ptype tests.
4380 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4381 get_result_type method.
4383 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4385 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4386 the target does not support hardware watchpoints.
4388 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4390 * gdb.base/break-always.exp: Abort testing if writing to memory
4393 2015-04-28 Doug Evans <dje@google.com>
4395 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4396 * gdb.python/py-pp-registration.exp: ... here. New file.
4397 * gdb.python/py-pp-registration.c: New file.
4398 * gdb.python/py-pp-registration.py: New file.
4400 2015-04-28 Doug Evans <dje@google.com>
4402 * gdb.python/py-bad-printers.c: New file.
4403 * gdb.python/py-bad-printers.py: New file.
4404 * gdb.python/py-bad-printers.exp: New file.
4406 2015-04-28 Sasha Smundak <asmundak@google.com>
4408 * gdb.python/py-type.exp: New test.
4410 2015-04-28 Andy Wingo <wingo@igalia.com>
4412 * gdb.python/py-parameter.exp:
4413 * gdb.guile/scm-parameter.exp: Escape the path that we are
4414 matching against, as it might contain characters that are special
4415 to regular expressions.
4417 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4419 * gdb.ada/rec_comp: New testcase.
4421 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4423 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4426 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4428 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4429 new tests for verilog output.
4431 2015-04-24 Yao Qi <yao.qi@linaro.org>
4433 * boards/remote-gdbserver-on-localhost.exp: New file.
4435 2015-04-23 Pedro Alves <palves@redhat.com>
4437 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4438 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4439 "end of file", remove $inferior_spawn_id from the indirect list.
4441 2015-04-23 Pedro Alves <palves@redhat.com>
4443 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4445 2015-04-23 Pedro Alves <palves@redhat.com>
4447 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4448 on $any_spawn_id instead of only on $gdb_spawn_id.
4450 2015-04-21 Pierre Muller <muller@sourceware.org>
4453 * lib/pascal.exp (gpc_compile): Add new option "class".
4454 (fpc_compile): Likewise.
4455 * gdb.pascal/case-insensitive-symbols.pas: New file.
4456 * gdb.pascal/case-insensitive-symbols.exp: New file.
4458 2015-04-20 Gary Benson <gbenson@redhat.com>
4460 * gdb.base/attach.exp: Fix three extended remote failures.
4462 2015-04-17 Gary Benson <gbenson@redhat.com>
4464 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4465 the main executable over the remote protocol.
4467 2015-04-16 Pedro Alves <palves@redhat.com>
4469 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4470 a new gdbserver if gdbserver_reconnect_p is set.
4472 2015-04-16 Pedro Alves <palves@redhat.com>
4474 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4475 is set, don't exit gdbserver.
4477 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4479 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4480 appropriate .insn, such that an older assembler can be used.
4481 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4482 the z/Architecture instruction set on 31-bit targets as well.
4484 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4486 * gdb.go/handcall.exp: Remove all logic related to the first
4487 breakpoint and rely on go_runto_main instead.
4488 * gdb.go/strings.exp: Likewise.
4489 * gdb.go/unsafe.exp: Likewise.
4490 * gdb.go/hello.exp: Likewise. Also rename the remaining
4491 breakpoint marker to "breakpoint 1".
4492 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4493 * gdb.go/strings.go: Likewise.
4494 * gdb.go/unsafe.go: Likewise.
4495 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4496 "set breakpoint 2 here" and rename the remaining breakpoint marker
4499 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4501 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4502 if itertools.imap is not present.
4503 * gdb.python/py-objfile.exp: Add parentheses.
4504 * gdb.python/py-type.exp: Same.
4505 * gdb.python/py-unwind-maint.py: Same.
4507 2015-04-15 Yao Qi <yao.qi@linaro.org>
4509 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4510 of ":$ptr_size" and set its form explicitly.
4512 2015-04-15 Pedro Alves <palves@redhat.com>
4513 Yao Qi <yao.qi@linaro.org>
4515 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4516 timeout by factor of 4.
4517 (test_regular_watch): Likewise.
4518 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4519 * gdb.reverse/sigall-reverse.exp: Likewise.
4520 * gdb.reverse/until-precsave.exp: Likewise.
4521 * lib/gdb.exp (with_timeout_factor): New proc.
4522 (gdb_expect): Move some code to ...
4523 (get_largest_timeout): ... here. New procedure.
4525 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4527 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4529 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4531 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4532 to write to the .text section.
4534 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4536 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4537 Handle the case of targets that do not provide PID information.
4539 2015-04-13 Yao Qi <yao.qi@linaro.org>
4541 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4542 and use expect instead of gdb_expect.
4544 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4546 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4547 "coredump_var_addr" to avoid naming conflict with other testcases.
4549 2015-04-10 Pedro Alves <palves@redhat.com>
4551 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4552 gdb_test_sequence and gdb_assert.
4554 2015-04-10 Pedro Alves <palves@redhat.com>
4556 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4557 test messages that don't include the breakpoint address.
4559 2015-04-10 Yao Qi <yao.qi@linaro.org>
4561 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4562 false for some offset and width combinations which aren't
4563 supported by linux kernel.
4565 2015-04-10 Pedro Alves <palves@redhat.com>
4567 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4568 procedure, factored out from ...
4569 (top level): ... here. Add "set displaced-stepping" testing axis.
4570 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4571 parameter "displaced". Use it.
4572 (top level): Use foreach and add "set displaced-stepping" testing
4575 2015-04-10 Pedro Alves <palves@redhat.com>
4577 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4579 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4580 both the address of the instruction that triggers the watchpoint
4581 and the address of the instruction immediately after, and use
4582 those addresses for the test. Fix comment.
4584 2015-04-10 Pedro Alves <palves@redhat.com>
4586 * gdb.base/sigstep.exp (breakpoint_to_handler)
4587 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4588 Test "backtrace" in handler.
4589 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4590 (top level): Add new "displaced" test axis to
4591 breakpoint_to_handler, breakpoint_to_handler_entry and
4592 breakpoint_over_handler.
4594 2015-04-10 Pedro Alves <palves@redhat.com>
4597 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4599 2015-04-10 Yao Qi <yao.qi@linaro.org>
4601 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4602 (test_add_rn_pc): New function.
4603 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4604 (top level): Invoke test_add_rn_pc.
4606 2015-04-10 Pedro Alves <palves@redhat.com>
4609 * gdb.base/step-over-no-symbols.exp: New file.
4611 2015-04-09 Andy Wingo <wingo@igalia.com>
4613 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4614 after the Python tests.
4616 2015-04-08 Keith Seitz <keiths@redhat.com>
4619 * gdb.python/py-completion.exp: New tests for completion.
4620 * gdb.python/py-completion.py (CompleteLimit1): New class.
4621 (CompleteLimit2): Likewise.
4622 (CompleteLimit3): Likewise.
4623 (CompleteLimit4): Likewise.
4624 (CompleteLimit5): Likewise.
4625 (CompleteLimit6): Likewise.
4626 (CompleteLimit7): Likewise.
4628 2015-04-08 Pedro Alves <palves@redhat.com>
4632 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4634 (main): Install it as SIGUSR1 handler.
4635 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4636 parameter. Always use "setup" as prefix. Toggle "set
4637 displaced-stepping" off/on depending on global. Don't switch to
4639 (top level): Add displaced stepping "off/on" test axis. Update
4640 "setup" calls. Wrap each subtest with with_test_prefix. Test
4641 continuing with a queued signal in each thread.
4643 2015-04-08 Pedro Alves <palves@redhat.com>
4645 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4646 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4647 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4648 Return early if running to main fails.
4649 * gdb.trace/while-stepping.exp: Likewise.
4651 2015-04-07 Pedro Alves <palves@redhat.com>
4653 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4654 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4655 interact with inferior program.
4657 2015-04-07 Pedro Alves <palves@redhat.com>
4659 * lib/gdb.exp (inferior_spawn_id): New global.
4660 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4661 spawn id after processing the user code.
4662 (default_gdb_start): Set inferior_spawn_id.
4663 (send_inferior): New procedure.
4664 * lib/gdbserver-support.exp (gdbserver_start): Set
4666 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4668 2015-04-07 Pedro Alves <palves@redhat.com>
4670 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4671 * lib/gdbserver-support.exp (gdbserver_start): Make
4672 $server_spawn_id global.
4673 (gdbserver_start): Don't wait for gdbserver's spawn id with
4675 (close_gdbserver): New procedure.
4676 (gdb_exit): Rename the default version and reimplement.
4678 2015-04-07 Pedro Alves <palves@redhat.com>
4680 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4681 append the substituted item, not the original item.
4683 2015-04-07 Pedro Alves <palves@redhat.com>
4685 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4688 2015-04-07 Pedro Alves <palves@redhat.com>
4690 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4691 output appearing once only.
4693 2015-04-07 Pedro Alves <palves@redhat.com>
4695 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4696 that doesn't expect anything. Return early if running to main
4699 2015-04-07 Yao Qi <yao.qi@linaro.org>
4701 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4702 (child_function): Call alarm.
4703 (main): Move call to alarm into the loop.
4704 * gdb.threads/non-stop-fair-events.exp: Build program with
4707 2015-04-06 Doug Evans <xdje42@gmail.com>
4709 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4710 Fix dest parameter to board_info.
4711 (fpc_compile): Ditto.
4712 (gdb_compile_pascal): Rename dest arg to destfile.
4714 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4716 * gdb.ada/funcall_ref.exp: New file.
4717 * gdb.ada/funcall_ref/foo.adb: New file.
4719 2015-04-02 Yao Qi <yao.qi@linaro.org>
4721 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4724 2015-04-02 Gary Benson <gbenson@redhat.com>
4726 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4728 2015-04-01 Sasha Smundak <asmundak@google.com>
4730 * gdb.python/py-unwind-maint.c: New file.
4731 * gdb.python/py-unwind-maint.exp: New test.
4732 * gdb.python/py-unwind-maint.py: New file.
4733 * gdb.python/py-unwind.c: New file.
4734 * gdb.python/py-unwind.exp: New test.
4735 * gdb.python/py-unwind.py: New test.
4737 2015-04-01 Pedro Alves <palves@redhat.com>
4739 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4740 to fail instead of non-existent $test.
4742 2015-04-01 Pedro Alves <palves@redhat.com>
4744 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4745 GDBFLAGS if not empty.
4747 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4749 * gdb.ada/complete.exp: Remove "multi_line".
4750 * gdb.ada/info_exc.exp: Remove "multi_line".
4751 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4752 * gdb.ada/ptype_field.exp: Remove "multi_line".
4753 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4754 * gdb.ada/tagged.exp: Remove "multi_line".
4755 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4757 * gdb.btrace/delta.exp: Likewise.
4758 * gdb.btrace/exception.exp: Likewise.
4759 * gdb.btrace/function_call_history.exp: Likewise.
4760 * gdb.btrace/instruction_history.exp: Likewise.
4761 * gdb.btrace/nohist.exp: Likewise.
4762 * gdb.btrace/record_goto.exp: Likewise.
4763 * gdb.btrace/segv.exp: Likewise.
4764 * gdb.btrace/stepi.exp: Likewise.
4765 * gdb.btrace/tailcall.exp: Likewise.
4766 * gdb.btrace/unknown_functions.exp: Likewise.
4767 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4768 * lib/gdb.exp: Add the "multi_line" helper.
4770 2015-04-01 Pedro Alves <palves@redhat.com>
4772 * gdb.threads/tid-reuse.c: New file.
4773 * gdb.threads/tid-reuse.exp: New file.
4775 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4778 * gdb.base/coredump-filter.c: New file.
4779 * gdb.base/coredump-filter.exp: Likewise.
4781 2015-03-27 Petr Machata <pmachata@redhat.com>
4783 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4784 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4785 (Dwarf::assemble): Initialize them.
4786 (Dwarf::lines): New function.
4788 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4790 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4791 SYMBOL_PREFIX for x86_64-*-cygwin.
4793 2015-03-26 Andy Wingo <wingo@igalia.com>
4796 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4797 const_value but not a location.
4798 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4799 location defined in non-main CUs are visible.
4801 2015-03-26 Yao Qi <yao.qi@linaro.org>
4804 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4805 Add a line number entry for the same line.
4806 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4807 Add a line number entry for the same line.
4809 2015-03-26 Yao Qi <yao.qi@linaro.org>
4811 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4813 (func): Likewise. Add .Lfunc_1 label.
4815 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4820 2015-03-26 Yao Qi <yao.qi@linaro.org>
4822 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4823 Call gdb_compile instead to compile each .s files without debug
4826 2015-03-26 Yao Qi <yao.qi@linaro.org>
4828 * gdb.base/savedregs.exp (process_saved_regs): Make
4829 "Saved registers:" optional in the pattern.
4831 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4833 * gdb.btrace/next.exp: Merged into step.exp.
4834 * gdb.btrace/finish.exp: Merged into step.exp.
4835 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4836 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4837 "record goto" and checking the exact replay position.
4838 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4839 check for "Recording format" in "info record" output.
4840 * gdb.btrace/record_goto.exp: Choose test file based on target.
4841 * gdb.btrace/x86-record_goto.S: Renamed into ...
4842 * gdb.btrace/x86_64-record_goto.S: ... this.
4843 * gdb.btrace/i686-record_goto.S: New.
4844 * gdb.btrace/x86-tailcall.S: Renamed into ...
4845 * gdb.btrace/x86_64-tailcall.S: ... this.
4846 * gdb.btrace/i686-tailcall.S: New.
4847 * gdb.btrace/x86-tailcall.c: Renamed into ...
4848 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4849 separate statements. Update test.
4850 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4851 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4852 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4853 * gdb.btrace/tailcall.exp: Choose test file based on target.
4854 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4856 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4858 * gdb.btrace/exception.exp: Increase BTS buffer size.
4860 2015-03-24 Pedro Alves <palves@redhat.com>
4862 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4864 2015-03-24 Pedro Alves <palves@redhat.com>
4866 * gdb.threads/schedlock.exp (test_step): No longer expect that
4867 "set scheduler-locking step" with "next" over a function call runs
4870 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4872 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4874 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4876 PR breakpoints/16466
4877 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4878 * gdb.mi/mi-pending.c (thread_func): New function.
4879 (int main): Add threading support required.
4880 * gdb.mi/mi-pending.exp: Add tests for this issue.
4881 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4882 (pendfunc2): Remove stdio dependency.
4883 * gdb.mi/mi-pendshr2.c: New file.
4885 2015-03-23 Keith Seitz <keiths@redhat.com>
4887 * gdb.linespec/keywords.c: New file.
4888 * gdb.linespec/keywords.exp: New file.
4890 2015-03-23 Keith Seitz <keiths@redhat.com>
4893 * gdb.dwarf2/staticvirtual.exp: New test.
4895 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4897 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4898 * README: Remove HP-UX and gdb.hp.
4900 * configure: Regenerate.
4901 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4902 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4903 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4904 gdb.hp/gdb.defects/Makefile.
4905 * gdb.hp/Makefile.in: File deleted.
4906 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4907 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4908 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4909 * gdb.hp/gdb.aCC/run.c: File deleted.
4910 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4911 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4912 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4913 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4914 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4915 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4916 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4917 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4918 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4919 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4920 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4921 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4922 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4923 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4924 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4925 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4926 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4927 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4928 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4929 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4930 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4931 * gdb.hp/gdb.compat/average.c: File deleted.
4932 * gdb.hp/gdb.compat/sum.c: File deleted.
4933 * gdb.hp/gdb.compat/xdb.c: File deleted.
4934 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4935 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4936 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4937 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4938 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4939 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4940 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4941 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4942 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4943 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4944 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4945 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4946 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4947 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4948 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4949 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4950 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4951 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4952 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4953 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4954 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4955 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4956 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4957 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4958 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4959 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4960 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4961 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4962 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4963 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4964 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4965 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4966 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4967 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4968 * gdb.hp/tools/odump: File deleted.
4970 2015-03-19 Pedro Alves <palves@redhat.com>
4972 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4973 (saw_thread_3): New globals.
4974 (top level): Increment them when an event for the corresponding
4976 (no thread starvation): New test.
4978 2015-03-19 Pedro Alves <palves@redhat.com>
4980 * gdb.threads/continue-pending-status.c: New file.
4981 * gdb.threads/continue-pending-status.exp: New file.
4983 2015-03-18 Pedro Alves <palves@redhat.com>
4985 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4986 Use gdb_is_target_remote instead of is_remote. Use
4987 gdb_test_multiple instead of gdb_expect. Exit early if
4988 gdb_test_multiple hits its internal matches. Tighten stepi tests
4989 expected output. Fail on exit with any signal, instead of just
4992 2015-03-18 Yao Qi <yao.qi@linaro.org>
4995 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4997 * gdb.base/catch-syscall.exp: Don't skip it on
4998 aarch64*-*-linux* target. Remove elements in all_syscalls.
4999 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5001 (setup_all_syscalls): New proc.
5003 2015-03-16 Yao Qi <yao.qi@linaro.org>
5005 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5006 (top level): Skip tests if valid_addr_p returns false for
5009 2015-03-11 Andy Wingo <wingo@igalia.com>
5011 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5013 2015-03-11 Yao Qi <yao.qi@linaro.org>
5015 * gdb.base/catch-syscall.exp: Fix typo in comments.
5017 2015-03-11 Yao Qi <yao.qi@linaro.org>
5019 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5021 2015-03-09 Pedro Alves <palves@redhat.com>
5023 * dg-extract-results.py: Delete.
5025 2015-03-09 Pedro Alves <palves@redhat.com>
5027 Merge dg-extract-results.sh from GCC upstream (r218843).
5029 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5030 * dg-extract-results.sh: Use --text with grep to avoid issues with
5031 binary files. Fall back to cat -v, if that doesn't work.
5033 2015-03-05 Pedro Alves <palves@redhat.com>
5035 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5037 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5039 * lib/mi-support.exp (mi_expect_interrupt): Accept
5040 alternative event for when in all-stop mode.
5042 2015-03-04 Pedro Alves <palves@redhat.com>
5044 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5046 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5048 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5050 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5052 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5053 regexps for GDB's current line display, accept a hex address
5054 preceding the line number.
5056 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5058 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5059 the 'arch1' variable for "s390*-linux*" targets.
5061 2015-03-04 Pedro Alves <palves@redhat.com>
5063 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5064 (main): Pass missing retval argument to pthread_join call.
5066 2015-03-02 Pedro Alves <palves@redhat.com>
5068 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5069 (top level): Call do_test with non-stop as well.
5071 2015-03-02 Pedro Alves <palves@redhat.com>
5073 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5076 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5078 * gdb.arch/s390-vregs.exp: New test.
5079 * gdb.arch/s390-vregs.S: New file.
5081 2015-02-27 Pedro Alves <palves@redhat.com>
5083 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5084 call to catch_command_errors.
5085 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5086 catch_command_errors.
5088 2015-02-27 Pedro Alves <palves@redhat.com>
5090 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5091 "true" for boolean result.
5092 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5095 2015-02-27 Pedro Alves <palves@redhat.com>
5097 * lib/unbuffer_output.c: New file.
5098 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5099 (main): Call gdb_unbuffer_output.
5101 2015-02-27 Yao Qi <yao.qi@linaro.org>
5103 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5106 2015-02-26 Doug Evans <dje@google.com>
5108 * gdb.cp/class2.cc (Dbase, D): New classes.
5109 (main): New local delta.
5110 * gdb.cp/class2.exp: Test printing delta.
5111 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5112 (dynbar): New global.
5113 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5115 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5117 * gdb.compile/compile-ifunc.c: New file.
5118 * gdb.compile/compile-ifunc.exp: New file.
5120 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5122 * gdb.base/structs.exp: Check for correct struct on finish.
5124 2015-02-26 Yao Qi <yao.qi@linaro.org>
5126 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5129 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5131 * gdb.arch/cordic.ko.bz2: New file.
5132 * gdb.arch/cordic.ko.debug.bz2: New file.
5133 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5135 2015-02-25 Yao Qi <yao.qi@linaro.org>
5137 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5138 aarch64*-*-* target.
5140 2015-02-23 Pedro Alves <palves@redhat.com>
5142 * lib/gdb.exp (delete_breakpoints): Rewrite using
5145 2015-02-23 Pedro Alves <palves@redhat.com>
5147 * gdb.base/info-os.c: Include stdlib.h.
5149 2015-02-22 Doug Evans <xdje42@gmail.com>
5152 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5153 is read after symbols have been re-read.
5154 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5155 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5157 2015-02-21 Doug Evans <dje@google.com>
5159 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5161 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5164 * gdb.arch/i386-biarch-core.core.bz2: New file.
5165 * gdb.arch/i386-biarch-core.exp: New file.
5167 2015-02-21 Pedro Alves <palves@redhat.com>
5169 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5172 2015-02-20 Pedro Alves <palves@redhat.com>
5174 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5177 2015-02-20 Pedro Alves <palves@redhat.com>
5179 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5181 2015-02-20 Pedro Alves <palves@redhat.com>
5183 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5184 clean_restart before gdb_target_supports_trace.
5186 2015-02-20 Pedro Alves <palves@redhat.com>
5189 * gdb.threads/clone-thread_db.c: New file.
5190 * gdb.threads/clone-thread_db.exp: New file.
5192 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5194 PR breakpoints/16812
5195 * gdb.base/catch-gdb-caused-signals.c: New file.
5196 * gdb.base/catch-gdb-caused-signals.exp: New file.
5198 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5200 * configure: Regenerated.
5201 * configure.ac: Use GDB_AC_TRANSFORM.
5202 * aclocal.m4: sinclude ../transform.m4.
5204 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5206 * lib/dtrace.exp: New file.
5207 * gdb.base/dtrace-probe.exp: Likewise.
5208 * gdb.base/dtrace-probe.d: Likewise.
5209 * gdb.base/dtrace-probe.c: Likewise.
5210 * lib/pdtrace.in: Likewise.
5211 * configure.ac: Output variables with the transformed names of
5212 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5213 * configure: Regenerated.
5215 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5217 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5218 expected message when trying to access $_probe_* convenience
5219 variables while not on a probe.
5221 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5223 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5225 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5227 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5228 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5230 2015-02-10 Doug Evans <xdje42@gmail.com>
5232 * lib/gdb.exp (gdb_load): Always return a result.
5234 2015-02-10 Pedro Alves <palves@redhat.com>
5236 * gdb.threads/signal-sigtrap.c: New file.
5237 * gdb.threads/signal-sigtrap.exp: New file.
5239 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5241 * gdb.trace/no-attach-trace.c: New file.
5242 * gdb.trace/no-attach-trace.exp: New file.
5244 2015-02-09 Mark Wielaard <mjw@redhat.com>
5246 * gdb.dwarf2/atomic.c: New file.
5247 * gdb.dwarf2/atomic-type.exp: Likewise.
5249 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5251 * gdb.btrace/buffer-size.exp: Update "info record" output.
5252 * gdb.btrace/delta.exp: Update "info record" output.
5253 * gdb.btrace/enable.exp: Update "info record" output.
5254 * gdb.btrace/finish.exp: Update "info record" output.
5255 * gdb.btrace/instruction_history.exp: Update "info record" output.
5256 * gdb.btrace/next.exp: Update "info record" output.
5257 * gdb.btrace/nexti.exp: Update "info record" output.
5258 * gdb.btrace/step.exp: Update "info record" output.
5259 * gdb.btrace/stepi.exp: Update "info record" output.
5260 * gdb.btrace/nohist.exp: Update "info record" output.
5262 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5264 * gdb.btrace/buffer-size: New.
5266 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5268 * gdb.btrace/delta.exp: Update "info record" output.
5269 * gdb.btrace/enable.exp: Update "info record" output.
5270 * gdb.btrace/finish.exp: Update "info record" output.
5271 * gdb.btrace/instruction_history.exp: Update "info record" output.
5272 * gdb.btrace/next.exp: Update "info record" output.
5273 * gdb.btrace/nexti.exp: Update "info record" output.
5274 * gdb.btrace/step.exp: Update "info record" output.
5275 * gdb.btrace/stepi.exp: Update "info record" output.
5276 * gdb.btrace/nohist.exp: Update "info record" output.
5278 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5281 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5283 2015-02-06 Pedro Alves <palves@redhat.com>
5285 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5287 (seconds_left, again): New globals.
5288 (main): Wait seconds_left in a 1-second sleep loop instead of
5289 sleeping 180 seconds. If 'again' is set, reset the seconds
5291 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5292 'again' in the inferior before detaching. Print the seconds left.
5293 (options): New global.
5294 (top level): Build program with -DTIMEOUT=$timeout.
5296 2015-02-06 Pedro Alves <palves@redhat.com>
5298 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5299 determine how many seconds to pass to 'alarm'.
5300 * gdb.base/gdb-sigterm.exp (top level): Build program with
5302 (do_test): Return success/failure indication. Add more verbose
5303 logging. Don't fail if 200 single steps are seen. Instead, fail
5304 when the test times out.
5305 (passes): New global.
5306 (top level): Break the testing loop if testing fails on any
5307 iteration. Use gdb_assert.
5309 2015-02-04 Don Breazeal <donb@codesourcery.com>
5311 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5312 and initialize them.
5313 (ipc_cleanup): New function.
5314 (main): Don't declare shmid, semid, and msqid. Add a call to
5315 atexit so that we call ipc_cleanup on exit.
5317 2015-02-04 Pedro Alves <palves@redhat.com>
5319 * boards/native-extended-gdbserver.exp: Remove any target variant
5320 specifications from the board name before clearing the isremote
5321 flag from board_info.
5323 2015-01-31 Doug Evans <xdje42@gmail.com>
5325 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5327 2015-01-31 Gary Benson <gbenson@redhat.com>
5329 * gdb.base/completion.exp: Disable completion limiting for
5330 existing tests. Add new tests to check completion limiting.
5331 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5333 2015-01-31 Doug Evans <xdje42@gmail.com>
5335 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5337 2015-01-31 Doug Evans <xdje42@gmail.com>
5339 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5340 entries. Duplicate file section script entries.
5341 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5342 inlined entries. Add test for safe-path rejection.
5343 * gdb.python/py-section-script.c: Add duplicate inlined section script
5344 entries. Duplicate file section script entries.
5345 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5346 inlined entries. Add test for safe-path rejection.
5348 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5350 * gdb.ada/disc_arr_bound: New testcase.
5352 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5354 * gdb.ada/mi_var_array: New testcase.
5356 2015-01-27 Doug Evans <dje@google.com>
5358 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5359 Add test for objfile.filename, objfile.username after objfile
5362 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5364 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5365 the second test to print the name attribute of value
5366 returned by the call to gdb.lookup_type, and adjust
5367 the expected output accordingly.
5369 2015-01-25 Mark Wielaard <mjw@redhat.com>
5371 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5372 * gdb.base/disp-step-fork.c: Include unistd.h.
5373 * gdb.base/siginfo-obj.c: Include stdio.h.
5374 * gdb.base/siginfo-thread.c: Likewise.
5375 * gdb.mi/non-stop.c: Include unistd.h.
5376 * gdb.mi/nsthrexec.c: Include stdio.h.
5377 * gdb.mi/pthreads.c: Include unistd.h.
5378 * gdb.modula2/unbounded1.c (main): Declare returns int.
5379 * gdb.reverse/consecutive-reverse.c: Likewise.
5380 * gdb.threads/create-fail.c: Include unistd.h.
5381 * gdb.threads/killed.c: Likewise.
5382 * gdb.threads/linux-dp.c: Likewise.
5383 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5384 * gdb.threads/non-ldr-exc-2.c: Likewise.
5385 * gdb.threads/non-ldr-exc-3.c: Likewise.
5386 * gdb.threads/non-ldr-exc-4.c: Likewise.
5387 * gdb.threads/pthreads.c: Include unistd.h.
5388 (main): Declare returns int.
5389 * gdb.threads/tls-main.c (foo): New declaration.
5390 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5392 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5394 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5395 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5397 2015-01-15 Mark Wielaard <mjw@redhat.com>
5399 * gdb.base/noreturn-return.c: New file.
5400 * gdb.base/noreturn-return.exp: New file.
5401 * gdb.base/noreturn-finish.c: New file.
5402 * gdb.base/noreturn-finish.exp: New file.
5404 2015-01-23 Pedro Alves <palves@redhat.com>
5406 * gdb.threads/continue-pending-after-query.c: New file.
5407 * gdb.threads/continue-pending-after-query.exp: New file.
5409 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5410 Simon Marchi <simon.marchi@ericsson.com>
5412 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5413 * gdb.base/valgrind-db-attach.exp: Same.
5414 * gdb.base/valgrind-infcall.exp: Same.
5415 * lib/mi-support.exp (default_mi_gdb_start): Same.
5416 * lib/prompt.exp (default_prompt_gdb_start): Same.
5417 * lib/gdb.exp (default_gdb_spawn): Same.
5418 (gdb_interact): New.
5421 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5423 * gdb.compile/compile.exp (pointer to jit function): New test.
5425 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5427 * lib/gdb.exp (supports_process_record): Return true for
5429 (supports_reverse): Likewise.
5431 2015-01-15 Don Breazeal <donb@codesourcery.com>
5433 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5434 instead of checking whether the target board is remote and
5435 use spawn_wait_for_attach instead of exec/sleep.
5436 * gdb.base/attach-twice.exp: Likewise.
5438 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5440 * gdb.ada/var_arr_attrs: New testcase.
5442 2015-01-14 Pedro Alves <palves@redhat.com>
5443 Joel Brobecker <brobecker@adacore.com>
5446 * gdb.base/bp-cmds-execution-x-script.c: New file.
5447 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5448 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5450 2015-01-14 Pedro Alves <palves@redhat.com>
5453 * gdb.base/batch-preserve-term-settings.c: New file.
5454 * gdb.base/batch-preserve-term-settings.exp: New file.
5456 2015-01-13 Doug Evans <dje@google.com>
5458 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5461 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5463 * Makefile.in (clean mostlyclean): Do not delete *.py.
5465 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5467 * gdb.python/py-lookup-type.exp: New file.
5469 2015-01-12 Pedro Alves <palves@redhat.com>
5471 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5472 restore GDBFLAGS before returning.
5474 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5476 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5477 is_amd64_regs_target and is_x86_like_target.
5479 2015-01-11 Doug Evans <xdje42@gmail.com>
5481 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5482 is given without an explicit form.
5483 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5485 * gdb.dwarf/corrupt.exp: Ditto.
5486 * gdb.dwarf2/enum-type.exp: Ditto.
5487 * gdb.trace/entry-values.exp: Ditto.
5488 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5490 2015-01-11 Doug Evans <xdje42@gmail.com>
5493 * gdb.base/maint.exp: Remove references to "maint demangle".
5494 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5495 Add tests for explicitly specifying language to demangle.
5496 * gdb.dlang/demangle.exp: Ditto.
5498 2015-01-09 Pedro Alves <palves@redhat.com>
5500 * gdb.threads/non-stop-fair-events.c: New file.
5501 * gdb.threads/non-stop-fair-events.exp: New file.
5503 2015-01-09 Pedro Alves <palves@redhat.com>
5505 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5506 the global scope. Set a breakpoint after all threads are started
5507 rather than stepping over two source lines. Expect the prompt.
5508 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5511 (main): Use threads_started_barrier to wait for all threads to
5512 start. Main thread no longer calls thread_function. Exit after
5514 (loop): New function.
5515 (thread_function): Wait on threads_started_barrier barrier. Call
5516 'loop' at each iteration.
5517 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5518 threads have started, instead of hardcoding number of "next"
5519 steps. Use an access watchpoint instead of a write watchpoint.
5521 2015-01-09 Pedro Alves <palves@redhat.com>
5523 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5524 (thread_func): Wait on barrier.
5525 (main): Wait for all threads to start before stopping GDB.
5526 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5528 (thread1_func, thread2_func): Wait on barrier.
5529 (main): Wait for all threads to start before stopping GDB.
5530 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5532 (thread1_func, thread2_func): Wait on barrier.
5533 (main): Wait for all threads to start before stopping GDB.
5535 2015-01-09 Pedro Alves <palves@redhat.com>
5537 * gdb.threads/attach-many-short-lived-threads.c: New file.
5538 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5540 2014-01-09 Pedro Alves <palves@redhat.com>
5542 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5543 instead of to thread 2.
5544 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5545 Add barrier around each pthread_create call instead of around all
5547 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5548 Set a break on thread_function and have the child threads hit it
5551 2015-01-09 Pedro Alves <palves@redhat.com>
5553 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5554 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5556 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5557 checking whether the target board is remote.
5558 * gdb.multi/multi-attach.exp: Likewise.
5559 * gdb.python/py-sync-interp.exp: Likewise.
5560 * gdb.server/ext-attach.exp: Likewise.
5561 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5562 tests that need to attach, instead of checking whether the target
5563 board is remote at the top of the file.
5565 2015-01-08 Yao Qi <yao@codesourcery.com>
5567 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5569 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5571 Fix testcase compilation.
5572 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5574 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5576 * gdb.python/py-type.exp: Add a couple test about empty
5577 array creation, and negative-length array creation.
5579 2015-01-02 Doug Evans <xdje42@gmail.com>
5581 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5583 2015-01-02 Doug Evans <dje@google.com>
5585 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5587 2014-12-29 Yao Qi <yao@codesourcery.com>
5589 * gdb.trace/entry-values.exp: Update comments. Rename variable
5590 bar_call_foo to returned_from_foo.
5592 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5595 * gdb.linespec/break-asm-file.c: New file.
5596 * gdb.linespec/break-asm-file.exp: New file.
5597 * gdb.linespec/break-asm-file0.s: New file.
5598 * gdb.linespec/break-asm-file1.s: New file.
5600 2014-12-18 Nigel Stephens <nigel@mips.com>
5601 Maciej W. Rozycki <macro@codesourcery.com>
5603 * gdb.base/float.exp: Handle the new output from "info float" on
5606 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5608 Fix MinGW compilation.
5609 * gdb.compile/compile-ops.exp: Update untested message if
5610 !skip_compile_feature_tests.
5611 * gdb.compile/compile-setjmp.exp: Likewise.
5612 * gdb.compile/compile-tls.exp: Likewise.
5613 * gdb.compile/compile.exp: Likewise.
5614 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5615 supported on this host".
5617 2014-12-16 Doug Evans <xdje42@gmail.com>
5619 * boards/stabs.exp: New file.
5621 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5623 * gdb.base/completion.exp: Adjust to format changes of "maint
5624 print user-registers".
5626 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5629 * gdb.arch/aarch64-fp.c: New file.
5630 * gdb.arch/aarch64-fp.exp: New file.
5632 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5634 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5635 r210637, r210913, r211666, r215400, r215817).
5637 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5638 * dg-extract-results.py: New file.
5639 * dg-extract-results.sh: Use it if the environment seems
5642 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5644 * dg-extract-results.py (parse_run): Handle warnings that
5645 are printed before a test harness is run.
5647 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5649 * dg-extract-results.py (Named): Remove __cmp__ method.
5650 (output_variation): Use a key to sort variation.harnesses.
5652 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5654 * dg-extract-results.py: For Python 3, force sys.stdout to
5655 handle surrogate escape sequences.
5656 (safe_open): New function.
5657 (output_segment, main): Use it.
5659 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5661 * dg-extract-results.py (Prog.result_re): Include options
5664 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5666 * dg-extract-results.py (output_variation): Always sort if
5669 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5671 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5672 as long as we get pagination notifications.
5674 2014-12-15 Jason Merrill <jason@redhat.com>
5676 * Makefile.in (check-gdb.%): Restore.
5677 * README: Mention it.
5679 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5681 * gdb.ada/str_uninit: New testcase.
5683 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5686 * gdb.base/vla-stub-define.c: New file.
5687 * gdb.base/vla-stub.c: New file.
5688 * gdb.base/vla-stub.exp: New file.
5690 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5691 Jan Kratochvil <jan.kratochvil@redhat.com>
5692 Tom Tromey <tromey@redhat.com>
5694 * configure.ac: Add gdb.compile/.
5695 * configure: Regenerate.
5696 * gdb.compile/Makefile.in: New file.
5697 * gdb.compile/compile-ops.exp: New file.
5698 * gdb.compile/compile-ops.c: New file.
5699 * gdb.compile/compile-tls.c: New file.
5700 * gdb.compile/compile-tls.exp: New file.
5701 * gdb.compile/compile-constvar.S: New file.
5702 * gdb.compile/compile-constvar.c: New file.
5703 * gdb.compile/compile-mod.c: New file.
5704 * gdb.compile/compile-nodebug.c: New file.
5705 * gdb.compile/compile-setjmp-mod.c: New file.
5706 * gdb.compile/compile-setjmp.c: New file.
5707 * gdb.compile/compile-setjmp.exp: New file.
5708 * gdb.compile/compile-shlib.c: New file.
5709 * gdb.compile/compile.c: New file.
5710 * gdb.compile/compile.exp: New file.
5711 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5713 2014-12-12 Tom Tromey <tromey@redhat.com>
5715 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5716 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5718 2014-12-12 Doug Evans <dje@google.com>
5720 * lib/gdb-python.exp (get_python_valueof): New function.
5721 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5723 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5725 * gdb.base/completion.exp: Add test for completion of "info
5728 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5730 * gdb.base/func-ptrs.c: New file.
5731 * gdb.base/func-ptrs.exp: New file.
5733 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5735 PR breakpoints/17012
5736 * gdb.base/dprintf-detach.c: New file.
5737 * gdb.base/dprintf-detach.exp: New file.
5739 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5741 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5742 * lib/gdb.exp (target_is_gdbserver): New procedure.
5744 2014-12-08 Doug Evans <dje@google.com>
5746 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5748 2014-12-05 Yao Qi <yao@codesourcery.com>
5750 * gdb.guile/scm-error.exp: Remove the third argument to
5751 gdb_remote_download.
5752 * gdb.guile/scm-frame-args.exp: Likewise.
5753 * gdb.guile/scm-section-script.exp: Likewise.
5755 2014-12-05 Yao Qi <yao@codesourcery.com>
5757 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5759 2014-12-04 Doug Evans <dje@google.com>
5761 * gdb.python/py-objfile.exp: Add tests for
5762 objfile.add_separate_debug_file.
5764 2014-12-04 Doug Evans <dje@google.com>
5766 * lib/gdb.exp (get_build_id): New function.
5767 (build_id_debug_filename_get): Rewrite to use it.
5768 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5770 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5772 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5773 `method(long)', not just 0x0.
5774 * gdb.cp/nsalias.exp: Align code labels to 4.
5775 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5776 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5777 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5778 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5779 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5780 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5782 2014-12-02 Doug Evans <dje@google.com>
5785 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5786 * gdb.cp/anon-ns2.cc: ... here. New file.
5787 * gdb.cp/anon-ns.exp: Update.
5789 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5791 * gdb.python/py-events.py (inferior_call_handler): New.
5792 (register_changed_handler, memory_changed_handler): New.
5793 (test_events.invoke): Register new handlers.
5794 * gdb.python/py-events.exp: Add tests for inferior call,
5795 memory_changed and register_changed events.
5797 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5799 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5800 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5801 if the linker doesn't understand this.
5803 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5805 * gdb.python/python.exp: Change expected reply to help().
5807 2014-12-01 Yao Qi <yao@codesourcery.com>
5809 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5810 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5811 * configure: Re-generated.
5813 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5815 * gdb.cp/chained-calls.cc: New file.
5816 * gdb.cp/chained-calls.exp: New file.
5817 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5819 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5821 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5822 * gdb.dwarf2/symtab-producer.exp: Same.
5823 * gdb.gdb/python-interrupts.exp: Same.
5824 * gdb.gdb/python-selftest.exp: Same.
5825 * gdb.python/py-linetable.exp: Same.
5826 * gdb.python/py-type.exp: Same.
5827 * gdb.python/py-value-cc.exp: Same.
5828 * gdb.python/py-value.exp: Same.
5830 2014-11-28 Yao Qi <yao@codesourcery.com>
5832 * gdb.base/break-probes.exp: Match library name prefixed with
5835 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5837 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5838 test expected output. Add parentheses for the call to print.
5839 Remove L suffix from integers.
5841 2014-11-26 Doug Evans <dje@google.com>
5843 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5845 2014-11-22 Yao Qi <yao@codesourcery.com>
5847 * gdb.trace/entry-values.c: Remove asms.
5848 (foo): Add foo_label.
5849 (bar): Add bar_label.
5850 * gdb.trace/entry-values.exp: Remove code computing foo's
5851 length and bar's length.
5852 (Dwarf::assemble): Invoke function_range for bar and use
5853 MACRO_AT_func for foo.
5855 2014-11-22 Yao Qi <yao@codesourcery.com>
5857 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5858 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5859 Use .Lgcc43_procstart instead of gcc43.
5861 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5863 * gdb.ada/n_arr_bound: New testcase.
5865 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5867 PR breakpoints/10737
5868 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5869 test_catch_syscall_multi_arch.
5870 (test_catch_syscall_multi_arch): New function.
5872 2014-11-20 Doug Evans <xdje42@gmail.com>
5874 * gdb.base/maint.exp: Update expected output.
5876 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5878 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5879 4-byte instruction on S390.
5881 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5883 * gdb.ada/arr_arr: New testcase.
5885 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5887 * gdb.ada/pkd_arr_elem: New Testcase.
5889 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5891 * gdb.reverse/break-precsave: Expect completion message for
5893 * gdb.reverse/consecutive-precsave.exp: Likewise.
5894 * gdb.reverse/finish-precsave.exp: Likewise.
5895 * gdb.reverse/i386-precsave.exp: Likewise.
5896 * gdb.reverse/machinestate-precsave.exp: Likewise.
5897 * gdb.reverse/sigall-precsave.exp: Likewise.
5898 * gdb.reverse/solib-precsave.exp: Likewise.
5899 * gdb.reverse/step-precsave.exp: Likewise.
5900 * gdb.reverse/until-precsave.exp: Likewise.
5901 * gdb.reverse/watch-precsave.exp: Likewise.
5903 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5905 * gdb.base/bp-permanent.c: Include unistd.h.
5906 * gdb.python/py-framefilter-mi.c (main): Add return type.
5907 * gdb.python/py-framefilter.c (main): Likewise.
5908 * gdb.trace/actions-changed.c (main): Likewise.
5910 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5912 * gdb.mi/until.c: Add eye-catchers.
5913 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5916 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5918 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5919 function header variants in break1.c.
5920 * gdb.base/ena-dis-br.exp: Likewise.
5921 * gdb.base/hbreak2.exp: Likewise.
5922 * gdb.reverse/until-precsave.exp: Drop references to removed
5923 non-prototype function header variants in ur1.c.
5924 * gdb.reverse/until-reverse.exp: Likewise.
5926 2014-11-17 Petr Machata <pmachata@redhat.com>
5928 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5929 ${_cu_offset_size} bytes abbrev offset.
5931 2014-11-15 Doug Evans <xdje42@gmail.com>
5934 * gdb.base/line-symtabs.exp: New file.
5935 * gdb.base/line-symtabs.c: New file.
5936 * gdb.base/line-symtabs.h: New file.
5938 2014-11-14 Yao Qi <yao@codesourcery.com>
5940 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5941 (func): Add label func_label.
5942 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5943 Replace low_pc and high_pc with MACRO_AT_range.
5944 Replace name, low_pc and high_pc with MACRO_AT_func.
5946 2014-11-14 Yao Qi <yao@codesourcery.com>
5948 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5949 Replace name, low_pc and high_pc with MACRO_AT_func.
5951 2014-11-14 Yao Qi <yao@codesourcery.com>
5953 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5954 produce debug information.
5955 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5957 2014-11-14 Yao Qi <yao@codesourcery.com>
5959 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5960 object and get function length.
5961 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5963 (top-level): Replace gdb_compile and clean_restart with
5964 prepare_for_testing.
5965 * gdb.dwarf2/main.c (main): Add label main_label.
5967 2014-11-14 Yao Qi <yao@codesourcery.com>
5969 * lib/dwarf.exp (function_range): New procedure.
5970 (Dwarf::_handle_macro_at_func): New procedure.
5971 (Dwarf::_handle_macro_at_range): New procedure.
5972 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5974 2014-11-14 Yao Qi <yao@codesourcery.com>
5976 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5977 (_handle_attribute): New procedure.
5979 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5981 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5982 * gdb.base/call-sc.c (zed): Likewise.
5983 * gdb.base/checkpoint.c (main): Likewise.
5984 * gdb.base/dump.c (main): Likewise.
5985 * gdb.base/gcore.c (main): Likewise.
5986 * gdb.base/huge.c (main): Likewise.
5987 * gdb.base/multi-forks.c (main): Likewise.
5988 * gdb.base/pr10179-a.c (main): Likewise.
5989 * gdb.base/savedregs.c (main): Likewise.
5990 * gdb.base/sigaltstack.c (main): Likewise.
5991 * gdb.base/siginfo.c (main): Likewise.
5992 * gdb.base/structs.c (zed): Likewise.
5993 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5994 * gdb.mi/mi-syn-frame.c (main): Likewise.
5995 * gdb.mi/until.c (foo, main): Likewise.
5996 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5997 * gdb.base/solib-weak.c (foo): Declare.
5998 * gdb.base/attach-twice.c: Include stdio.h.
5999 * gdb.base/weaklib1.c: Likewise.
6000 * gdb.base/weaklib2.c: Likewise.
6001 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6002 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6004 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6005 * gdb.mi/mi-exit-code.c: Likewise.
6006 * gdb.base/break-interp-lib.c: Include string.h.
6007 * gdb.base/coremaker.c: Likewise.
6008 * gdb.base/testenv.c: Likewise.
6009 * gdb.python/py-finish-breakpoint.c: Likewise.
6010 * gdb.base/inferior-died.c: Include sys/wait.h.
6011 * gdb.base/fileio.c: Include time.h.
6012 * gdb.base/async-shell.c: Include unistd.h.
6013 * gdb.base/dprintf-non-stop.c: Likewise.
6014 * gdb.base/info-os.c: Likewise.
6015 * gdb.mi/mi-console.c: Likewise.
6016 * gdb.mi/watch-nonstop.c: Likewise.
6017 * gdb.python/py-events.c: Likewise.
6018 * gdb.base/async.c (baz): Move up before its invocation.
6019 * gdb.base/code_elim2.c (my_global_func): Likewise.
6020 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6021 * gdb.base/advance.c (func2): Likewise.
6023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6025 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6027 * gdb.base/annota3.c: Likewise.
6028 * gdb.base/async.c: Likewise.
6029 * gdb.base/average.c: Likewise.
6030 * gdb.base/call-ar-st.c: Likewise.
6031 * gdb.base/call-rt-st.c: Likewise.
6032 * gdb.base/call-sc.c: Likewise.
6033 * gdb.base/call-strs.c: Likewise.
6034 * gdb.base/ending-run.c: Likewise.
6035 * gdb.base/execd-prog.c: Likewise.
6036 * gdb.base/exprs.c: Likewise.
6037 * gdb.base/foll-exec.c: Likewise.
6038 * gdb.base/foll-fork.c: Likewise.
6039 * gdb.base/foll-vfork.c: Likewise.
6040 * gdb.base/funcargs.c: Likewise.
6041 * gdb.base/gcore.c: Likewise.
6042 * gdb.base/jump.c: Likewise.
6043 * gdb.base/langs0.c: Likewise.
6044 * gdb.base/langs1.c: Likewise.
6045 * gdb.base/langs2.c: Likewise.
6046 * gdb.base/mips_pro.c: Likewise.
6047 * gdb.base/nodebug.c: Likewise.
6048 * gdb.base/opaque0.c: Likewise.
6049 * gdb.base/opaque1.c: Likewise.
6050 * gdb.base/recurse.c: Likewise.
6051 * gdb.base/run.c: Likewise.
6052 * gdb.base/scope0.c: Likewise.
6053 * gdb.base/scope1.c: Likewise.
6054 * gdb.base/setshow.c: Likewise.
6055 * gdb.base/setvar.c: Likewise.
6056 * gdb.base/shmain.c: Likewise.
6057 * gdb.base/shr1.c: Likewise.
6058 * gdb.base/shr2.c: Likewise.
6059 * gdb.base/sigall.c: Likewise.
6060 * gdb.base/signals.c: Likewise.
6061 * gdb.base/so-indr-cl.c: Likewise.
6062 * gdb.base/solib2.c: Likewise.
6063 * gdb.base/structs.c: Likewise.
6064 * gdb.base/sum.c: Likewise.
6065 * gdb.base/vforked-prog.c: Likewise.
6066 * gdb.base/watchpoint.c: Likewise.
6067 * gdb.reverse/shr2.c: Likewise.
6068 * gdb.reverse/until-reverse.c: Likewise.
6069 * gdb.reverse/ur1.c: Likewise.
6070 * gdb.reverse/watch-reverse.c: Likewise.
6072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6074 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6076 * gdb.base/sepdebug.exp: Drop references to removed code.
6078 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6080 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6081 variant. Preserve original line numbering.
6082 * gdb.base/list1.c: Likewise.
6084 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6086 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6088 * gdb.base/break1.c: Likewise.
6089 * gdb.base/break.exp: Drop references to removed code.
6091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6100 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6102 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6103 logic into perform_all_tests() and invoke it with and without
6104 function header prototypes.
6105 (do_function_calls): Remove conditional XFAIL for PR 5318.
6106 (rerun_and_prepare): Remove duplicate code.
6107 (perform_all_tests): New. Main logic moved here.
6109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6111 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6112 code guarded by #ifdef NO_PROTOTYPES.
6113 (t_double_many_args): Likewise.
6114 (DEF_FUNC_MANY_ARGS_1): Likewise.
6115 (DEF_FUNC_VALUES_1): Likewise.
6116 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6117 guarded by #ifdef PROTOTYPES.
6119 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6121 * gdb.mi/mi-console.c: Add eye-catcher.
6122 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6123 instead of literal line number.
6125 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6127 * gdb.base/shr2.c: Add eye-catcher.
6128 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6131 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6133 * gdb.base/jump.c: Add eye-catchers.
6134 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6137 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6139 * gdb.base/execd-prog.c: Add eye-catchers.
6140 * gdb.base/foll-exec.c: Likewise.
6141 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6144 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6146 * gdb.base/ending-run.c: Add eye-catchers.
6147 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6148 literal line numbers.
6150 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6152 * gdb.base/call-rt-st.c: Add eye-catchers.
6153 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6154 literal line numbers.
6156 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6158 * gdb.base/call-ar-st.c: Add eye-catchers.
6159 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6160 literal line numbers.
6162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6164 * gdb.base/average.c: Add eye-catchers.
6165 * gdb.base/sum.c: Likewise.
6166 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6167 regexps dynamically.
6169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6171 * gdb.base/solib1.c: Add eye-catchers.
6172 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6173 literal line numbers.
6175 2014-11-12 Pedro Alves <palves@redhat.com>
6177 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6180 2014-11-12 Pedro Alves <palves@redhat.com>
6182 * gdb.arch/i386-bp_permanent.c: New file.
6183 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6184 (srcfile): Set to i386-bp_permanent.c.
6185 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6186 that stepi does not execute the 'leave' instruction, instead of
6187 testing it does execute.
6188 * gdb.base/bp-permanent.c: New file.
6189 * gdb.base/bp-permanent.exp: New file.
6191 2014-11-10 Doug Evans <xdje42@gmail.com>
6194 * gdb.base/symtab-search-order.exp: New file.
6195 * gdb.base/symtab-search-order.c: New file.
6196 * gdb.base/symtab-search-order-1.c: New file.
6197 * gdb.base/symtab-search-order-shlib-1.c: New file.
6199 2014-11-07 Pedro Alves <palves@redhat.com>
6202 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6205 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6208 * gdb.cp/pr17494.cc: New file.
6209 * gdb.cp/pr17494.exp: New file.
6211 2014-11-02 Yao Qi <yao@codesourcery.com>
6213 * gdb.python/python.exp: Get working directory and match the
6214 output of "set extended-prompt \\w " with it.
6216 2014-10-30 Doug Evans <dje@google.com>
6218 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6220 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6223 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6225 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6226 * gdb.base/realname-expand.exp: Likewise.
6227 * gdb.linespec/macro-relative.exp: Likewise.
6229 2014-10-29 Pedro Alves <palves@redhat.com>
6232 * gdb.threads/schedlock.c (some_function): New function.
6233 (call_function): New global.
6234 (MAYBE_CALL_SOME_FUNCTION): New macro.
6235 (thread_function): Call it.
6236 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6237 and use it instead of a global counter. Adjust all callers.
6238 (get_current_thread): Use "find current thread" for test message
6239 here rather than having all callers pass down the same string.
6240 (goto_loop): New procedure, factored out from ...
6241 (my_continue): ... this.
6242 (step_ten_loops): Change parameter from test message to command to
6244 (list_count): Delete global.
6245 (check_result): New procedure, factored out from duplicate top
6247 (continue tests): Wrap in with_test_prefix.
6248 (test_step): New procedure, factored out from duplicate top level
6250 (top level): Test "step" in combination with all scheduler-locking
6251 modes. Test "next" in combination with all scheduler-locking
6252 modes, and in combination with stepping over a function call or
6254 * gdb.threads/next-bp-other-thread.c: New file.
6255 * gdb.threads/next-bp-other-thread.exp: New file.
6257 2014-10-29 Pedro Alves <palves@redhat.com>
6260 * gdb.python/python.exp: Test a multi-line command that spawns
6262 * gdb.base/multi-line-starts-subshell.exp: New file.
6264 2014-10-29 Yao Qi <yao@codesourcery.com>
6266 * gdb.base/fileio.exp: Make directories on host.
6268 2014-10-29 Yao Qi <yao@codesourcery.com>
6270 * gdb.base/fileio.c (test_write): Close the file.
6272 2014-10-28 Pedro Alves <palves@redhat.com>
6275 * gdb.base/sigstep.c (no_handler): New global.
6276 (main): If 'no_handler is true, set the signal handlers to
6278 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6279 with_sw_watch and no_handler parameters. Handle them.
6280 (top level) <stepping over handler when stopped at a breakpoint
6281 test>: Add a test axis for testing with a software watchpoint, and
6282 another for testing with the signal handler set to SIG_IGN.
6283 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6284 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6286 2014-10-28 Pedro Alves <palves@redhat.com>
6289 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6290 * gdb.base/sigstep.exp (other_handler_location): New global.
6291 (advance): Support stepping into the signal handler, and running
6292 commands while in the handler.
6293 (in_handler_map): New global.
6294 (top level): In the advance test, add combinations for getting
6295 into the handler with stepping commands, and for running commands
6296 in the handler. Add comment descripting the advancei tests.
6298 2014-10-28 Pedro Alves <palves@redhat.com>
6300 * gdb.base/sigstep.exp: Use build_executable instead of
6301 prepare_for_testing.
6302 (top level): Move code that starts GDB, runs to main and creates a
6304 (restart): ... this new procedure.
6305 (top level): Move backtrace from signal handler test to ...
6306 (validate_backtrace): ... this new procedure.
6307 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6308 with_test_prefix. Always restart GDB.
6309 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6310 with_test_prefix. Always restart GDB. No need to delete
6311 breakpoints after the test.
6312 (test_skip_handler): Remove prefix parameter.
6313 (skip_over_handler, breakpoint_to_handler)
6314 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6315 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6316 restart GDB. No need to delete breakpoints after the test.
6317 (top level): Use foreach to call the test procedures with
6320 2014-10-28 Pedro Alves <palves@redhat.com>
6322 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6323 instead of GNATS numbers.
6324 * gdb.base/sigbpt.exp: Likewise.
6325 * gdb.base/siginfo.exp: Likewise.
6326 * gdb.base/sigstep.exp: Likewise.
6328 2014-10-27 Pedro Alves <palves@redhat.com>
6330 * gdb.base/sigstep.c (dummy): New global.
6331 (main): Issue a couple writes to the new global.
6332 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6334 (skip_over_handler): Use test_skip_handler.
6335 (top level): Call skip_over_handler for stepi and nexti too.
6336 (breakpoint_over_handler): Use test_skip_handler.
6337 (top level): Call breakpoint_over_handler for stepi and nexti too.
6339 2014-10-27 Yao Qi <yao@codesourcery.com>
6341 * gdb.trace/tfile.c (adjust_function_address)
6342 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6343 function descriptor.
6345 2014-10-24 Don Breazeal <donb@codesourcery.com>
6347 * gdb.base/foll-fork.exp (test_follow_fork,
6348 catch_fork_child_follow): Check for updated fork messages emitted
6350 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6351 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6352 vfork_and_exec_child_follow_through_step): Check for updated vfork
6353 messages emitted from infrun.c.
6355 2014-10-24 Pedro Alves <palves@redhat.com>
6357 * gdb.base/corefile.exp: Remove references to ultrix.
6358 * gdb.base/interrupt.exp: Likewise.
6359 * gdb.base/whatis.exp: Likewise.
6360 * gdb.gdb/selftest.exp: Likewise.
6361 * gdb.threads/manythreads.exp: Likewise.
6362 * gdb.threads/print-threads.exp: Likewise.
6363 * gdb.threads/pthreads.exp:: Likewise.
6364 * gdb.threads/schedlock.exp: Likewise.
6366 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6368 * gdb.cp/non-trivial-retval.cc: Add a test case.
6369 * gdb.cp/non-trivial-retval.exp: Add a test.
6371 2014-10-20 Yao Qi <yao@codesourcery.com>
6373 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6374 * gdb.python/py-objfile-script-gdb.py: New file.
6375 * gdb.python/py-objfile-script.exp: Update reference to
6376 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6377 of remote_download. Remove the dest file.
6379 2014-10-20 Yao Qi <yao@codesourcery.com>
6381 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6382 * gdb.base/step-line.exp: Likewise.
6383 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6384 * gdb.dwarf2/dw2-basic.exp: Likewise.
6385 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6386 * gdb.dwarf2/dw2-filename.exp: Likewise.
6387 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6388 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6389 * gdb.dwarf2/dw2-producer.exp: Likewise.
6390 * gdb.dwarf2/mac-fileno.exp: Likewise.
6391 * gdb.python/py-frame-args.exp: Likewise.
6392 * gdb.python/py-framefilter.exp: Likewise.
6393 * gdb.python/py-mi.exp: Likewise.
6394 * gdb.python/py-objfile-script.exp: Likewise
6395 * gdb.python/py-pp-integral.exp: Likewise.
6396 * gdb.python/py-pp-re-notag.exp: Likewise.
6397 * gdb.python/py-prettyprint.exp: Likewise.
6398 * gdb.python/py-section-script.exp: Likewise.
6399 * gdb.python/py-typeprint.exp: Likewise.
6400 * gdb.python/py-xmethods.exp: Likewise.
6401 * gdb.stabs/weird.exp: Likewise.
6402 * gdb.xml/tdesc-regs.exp: Likewise.
6404 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6406 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6407 (out_cu): Use addr_len for the size of addresses.
6408 (out_line): Likewise. Size DW_LNE_set_address instruction
6409 according to addr_len.
6410 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6411 (FUNC): Add START_INSNS to definition.
6413 2014-10-18 Yao Qi <yao@codesourcery.com>
6415 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6416 gdb_has_argv0 return true.
6417 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6418 check [target_info exists noargs], check [gdb_has_argv0]
6420 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6421 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6424 2014-10-17 Doug Evans <dje@google.com>
6426 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6428 * gdb.python/py-events.py: Add clear_objfiles event.
6430 2014-10-17 Doug Evans <dje@google.com>
6432 * gdb.python/py-objfile.exp: Test progspace attribute.
6434 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6436 * gdb.guile/scm-breakpoint.exp: Do not assume any
6437 directory separators when matching source file paths.
6438 * gdb.python/py-breakpoint.exp: Likewise.
6439 * gdb.reverse/break-precsave.exp: Likewise.
6440 * gdb.reverse/break-reverse.exp: Likewise.
6441 * gdb.reverse/consecutive-precsave.exp: Likewise.
6442 * gdb.reverse/finish-precsave.exp: Likewise.
6443 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6444 * gdb.reverse/finish-reverse.exp: Likewise.
6445 * gdb.reverse/i386-precsave.exp: Likewise.
6446 * gdb.reverse/i387-env-reverse.exp: Likewise.
6447 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6448 * gdb.reverse/machinestate-precsave.exp: Likewise.
6449 * gdb.reverse/machinestate.exp: Likewise.
6450 * gdb.reverse/sigall-precsave.exp: Likewise.
6451 * gdb.reverse/solib-precsave.exp: Likewise.
6452 * gdb.reverse/step-precsave.exp: Likewise.
6453 * gdb.reverse/until-precsave.exp: Likewise.
6454 * gdb.reverse/watch-precsave.exp: Likewise.
6455 * gdb.reverse/watch-reverse.exp: Likewise.
6457 2014-10-17 Yao Qi <yao@codesourcery.com>
6459 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6460 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6462 2014-10-17 Pedro Alves <palves@redhat.com>
6465 * gdb.base/bg-execution-repeat.c: New file.
6466 * gdb.base/bg-execution-repeat.exp: New file.
6468 2014-10-17 Pedro Alves <palves@redhat.com>
6471 * gdb.base/continue-all-already-running.c: New file.
6472 * gdb.base/continue-all-already-running.exp: New file.
6474 2014-10-17 Pedro Alves <palves@redhat.com>
6477 * gdb.base/annota-input-while-running.c: New file.
6478 * gdb.base/annota-input-while-running.exp: New file.
6480 2014-10-17 Pedro Alves <palves@redhat.com>
6482 * gdb.base/callfuncs.exp: emove references to osf.
6483 * gdb.base/sigall.exp: Likewise.
6484 * gdb.gdb/selftest.exp: Likewise.
6485 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6486 * gdb.mi/non-stop.c: Likewise.
6487 * gdb.mi/pthreads.c: Likewise.
6488 * gdb.reverse/sigall-precsave.exp: Likewise.
6489 * gdb.reverse/sigall-reverse.exp: Likewise.
6490 * gdb.threads/pthreads.c: Likewise.
6491 * gdb.threads/pthreads.exp: Likewise.
6493 2014-10-17 Yao Qi <yao@codesourcery.com>
6495 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6496 check 'target_info exists noargs'.
6497 (test_command_prompt_position): Likewise.
6498 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6500 (progvar_simple_while_test): Likewise.
6501 (progvar_complex_if_while_test): Likewise.
6502 (if_while_breakpoint_command_test): Likewise.
6503 (infrun_breakpoint_command_test): Likewise.
6504 (breakpoint_command_test): Likewise.
6505 (watchpoint_command_test): Likewise.
6506 (bp_deleted_in_command_test): Likewise.
6507 (temporary_breakpoint_commands): Likewise.
6509 2014-10-16 Yao Qi <yao@codesourcery.com>
6511 * gdb.base/remotetimeout.exp: Remove noargs checking.
6513 2014-10-15 Pedro Alves <palves@redhat.com>
6516 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6517 * gdb.base/breakpoint-in-ro-region.exp
6518 (probe_target_hardware_step): New procedure.
6519 (top level): Probe hardware stepping and hardware breakpoint
6520 support. Test stepping through a read-only region, with both
6521 "breakpoint auto-hw" on and off and both "always-inserted" on and
6524 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6526 * gdb.dlang/demangle.exp: Update for demangling changes.
6528 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6530 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6531 * gdb.cp/non-trivial-retval.exp: Add new tests.
6533 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6537 * gdb.cp/non-trivial-retval.cc: New file.
6538 * gdb.cp/non-trivial-retval.exp: New file.
6540 2014-10-15 Yao Qi <yao@codesourcery.com>
6542 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6545 2014-10-15 Yao Qi <yao@codesourcery.com>
6547 * gdb.python/py-symbol.exp: Match file base name if host is
6548 remote, otherwise match file name with dir name.
6549 * gdb.python/py-symtab.exp: Likewise.
6550 * gdb.python/python.exp: Likewise.
6552 2014-10-15 Yao Qi <yao@codesourcery.com>
6554 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6556 * gdb.python/py-symtab.exp: Likewise.
6557 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6560 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6562 * gdb.ada/addr_arith: New testcase.
6564 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6566 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6567 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6568 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6569 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6571 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6573 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6574 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6575 * gdb.arch/stap-eval-lang-ada.exp: New file.
6577 2014-10-14 Yao Qi <yao@codesourcery.com>
6579 * gdb.mi/mi-var-child.c (nothing1): New function.
6580 (nothing2): New function.
6581 (do_children_tests): Set function pointers by nothing1 and
6583 * gdb.mi/mi-var-child.exp: Step over new added statements.
6584 Update test to match the new output.
6585 * gdb.mi/var-cmd.c (nothing1): New function.
6586 (nothing2): New function.
6587 (do_children_tests): Set function pointers by nothing1 and
6589 * gdb.mi/mi-var-display.exp: Update test to match output.
6590 Step to the line specified by $line_dct_nothing.
6591 Increase the number of lines to step.
6593 2014-10-14 Yao Qi <yao@codesourcery.com>
6595 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6597 * gdb.mi/mi2-var-child.exp: Likewise.
6599 2014-10-13 Doug Evans <dje@google.com>
6601 * gdb.python/py-objfile.exp: Change name of file name test.
6603 2014-10-13 Doug Evans <dje@google.com>
6605 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6606 from the start of the CU.
6608 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6609 Yao Qi <yao@codesourcery.com>
6611 Fix "save breakpoints" for "catch" command.
6612 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6613 Remove -nonewline. Match also the added "main" line.
6615 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6617 Fix "save breakpoints" for "disable $bpnum" command.
6618 * gdb.base/save-bp.c (main): Add label.
6619 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6621 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6623 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6625 2014-10-11 Yao Qi <yao@codesourcery.com>
6627 * gdb.server/server-kill.exp: Execute command
6628 "set remote trace-status-packet on" before "tstatus".
6630 2014-10-11 Yao Qi <yao@codesourcery.com>
6632 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6633 (main): Call getppid.
6634 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6635 and continue to it. Read variable "server_pid".
6637 2014-10-11 Yao Qi <yao@codesourcery.com>
6639 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6641 2014-10-11 Yao Qi <yao@codesourcery.com>
6643 * gdb.threads/thread-find.exp: Don't execute command
6645 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6646 * gdb.threads/linux-dp.exp: Don't check the condition
6647 $threads_created equals to zero.
6649 2014-10-10 Pedro Alves <palves@redhat.com>
6651 * gdb.base/bigcore.exp: Remove references to IRIX.
6652 * gdb.base/funcargs.exp: Likewise.
6653 * gdb.base/interrupt.exp: Likewise.
6654 * gdb.base/mips_pro.exp: Likewise.
6655 * gdb.base/nodebug.exp: Likewise.
6656 * gdb.base/setvar.exp: Likewise.
6657 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6659 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6660 Pedro Alves <palves@redhat.com>
6663 * gdb.base/vdso-warning.c: New file.
6664 * gdb.base/vdso-warning.exp: New file.
6666 2014-10-02 Doug Evans <dje@google.com>
6668 * gdb.base/structs.c (main): Don't run forever.
6670 2014-10-02 Pedro Alves <palves@redhat.com>
6672 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6673 (top level) <stop threads 1, stop threads 2>: Use it.
6675 2014-10-02 Pedro Alves <palves@redhat.com>
6677 * gdb.threads/break-while-running.exp (test): Add new
6678 'update_thread_list' argument. Skip "info threads" if false.
6679 (top level): Add new 'update_thread_list' axis.
6681 2014-10-02 Pedro Alves <palves@redhat.com>
6683 PR breakpoints/17431
6684 * gdb.base/execl-update-breakpoints.c: New file.
6685 * gdb.base/execl-update-breakpoints.exp: New file.
6687 2014-10-01 Pedro Alves <palves@redhat.com>
6689 * gdb.base/breakpoint-in-ro-region.c: New file.
6690 * gdb.base/breakpoint-in-ro-region.exp: New file.
6692 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6694 * gdb.mi/mi-exit-code.exp: New file.
6695 * gdb.mi/mi-exit-code.c: New file.
6697 2014-09-30 Yao Qi <yao@codesourcery.com>
6699 * lib/prelink-support.exp (build_executable_own_libs): Error if
6700 the target isn't native.
6702 2014-09-30 Yao Qi <yao@codesourcery.com>
6704 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6707 2014-09-22 Pedro Alves <palves@redhat.com>
6709 * gdb.threads/break-while-running.exp: New file.
6710 * gdb.threads/break-while-running.c: New file.
6712 2014-09-19 Yao Qi <yao@codesourcery.com>
6714 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6715 Invoke test. Restart GDB with --readnow and invoke test again.
6717 2014-09-19 Yao Qi <yao@codesourcery.com>
6719 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6720 proc set_breakpoint_on_gcd_function. Invoke
6721 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6722 invoke set_breakpoint_on_gcd_function again.
6724 2014-09-18 Doug Evans <dje@google.com>
6726 * gdb.dwarf2/symtab-producer.exp: New file.
6728 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6730 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6731 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6732 * gdb.base/global-var-nested-by-dso.c: Likewise.
6733 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6735 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6736 Pedro Alves <palves@redhat.com>
6738 * gdb.base/watch-bitfields.exp: Pass string other than test file
6739 name to prepare_for_testing.
6740 (watch): New procedure.
6741 (expect_watchpoint): Use with_test_prefix.
6742 (top level): Factor out tests to ...
6743 (test_watch_location, test_regular_watch): ... these new
6744 procedures, and use with_test_prefix and gdb_continue_to_end.
6746 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6748 PR breakpoints/12526
6749 * gdb.base/watch-bitfields.exp: New file.
6750 * gdb.base/watch-bitfields.c: New file.
6752 2014-09-16 Pedro Alves <palves@redhat.com>
6754 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6755 software and hardware addresses, not software address against
6758 2014-09-16 Pedro Alves <palves@redhat.com>
6760 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6761 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6763 2014-09-16 Pedro Alves <palves@redhat.com>
6765 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6767 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6768 "*-*-vxworks*" throughout.
6769 * gdb.base/break.exp: Likewise.
6770 * gdb.base/default.exp: Likewise.
6771 * gdb.base/scope.exp: Likewise.
6772 * gdb.base/sepdebug.exp: Likewise.
6773 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6775 * gdb.base/run.c: Likewise.
6776 * gdb.base/sepdebug.c: Likewise.
6777 * gdb.hp/gdb.aCC/run.c: Likewise.
6778 * gdb.reverse/until-reverse.c: Likewise.
6779 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6781 2014-09-16 Yao Qi <yao@codesourcery.com>
6783 * boards/local-remote-host-native.exp: New file.
6785 2014-09-14 Doug Evans <xdje42@gmail.com>
6787 * gdb.threads/queue-signal.c (thread_count): New variable.
6788 (thread_count_mutex, thread_count_condvar): New variables.
6789 (incr_thread_count, wait_all_threads_running): New functions.
6790 (main): Wait for all threads to be in their thread functions.
6792 2014-09-13 Doug Evans <xdje42@gmail.com>
6794 * gdb.threads/queue-signal.c: New file.
6795 * gdb.threads/queue-signal.exp: New file.
6797 2014-09-13 Doug Evans <xdje42@gmail.com>
6799 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6800 be consistent with what default_gdb_init uses.
6801 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6802 the plain text of the prompt. Add some logging printfs.
6803 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6805 2014-09-12 Pedro Alves <palves@redhat.com>
6807 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6808 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6809 * gdb.arch/i386-size-overlap.exp: Likewise.
6810 * gdb.arch/i386-size.exp: Likewise.
6811 * gdb.arch/i386-unwind.exp: Likewise.
6812 * gdb.base/a2-run.exp: Likewise.
6813 * gdb.base/break.exp: Likewise.
6814 * gdb.base/charset.exp: Likewise.
6815 * gdb.base/chng-syms.exp: Likewise.
6816 * gdb.base/commands.exp: Likewise.
6817 * gdb.base/dbx.exp: Likewise.
6818 * gdb.base/find.exp: Likewise.
6819 * gdb.base/funcargs.exp: Likewise.
6820 * gdb.base/jit-simple.exp: Likewise.
6821 * gdb.base/reread.exp: Likewise.
6822 * gdb.base/sepdebug.exp: Likewise.
6823 * gdb.base/step-bt.exp: Likewise.
6824 * gdb.cp/mb-inline.exp: Likewise.
6825 * gdb.cp/mb-templates.exp: Likewise.
6826 * gdb.objc/basicclass.exp: Likewise.
6827 * gdb.threads/killed.exp: Likewise.
6829 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6832 * gdb.arch/powerpc-stackless.S: New file.
6833 * gdb.arch/powerpc-stackless.exp: New file.
6835 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6837 * gdb.base/attach.c: Include unistd.h.
6838 (main): Call alarm. Add label postloop.
6839 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6840 gdb_breakpoint, gdb_continue_to_breakpoint.
6841 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6843 2014-09-11 Pedro Alves <palves@redhat.com>
6846 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6847 * gdb.base/attach.exp (test_command_line_attach_run): New
6849 (top level): Call it.
6851 2014-09-11 Pedro Alves <palves@redhat.com>
6853 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6854 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6855 (do_command_attach_tests): Use spawn_wait_for_attach.
6856 * gdb.base/solib-overlap.exp: Likewise.
6857 * gdb.multi/multi-attach.exp: Likewise.
6858 * gdb.python/py-prompt.exp: Likewise.
6859 * gdb.python/py-sync-interp.exp: Likewise.
6860 * gdb.server/ext-attach.exp: Likewise.
6862 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6864 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6865 command in testcase. Simplify testcase.
6867 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6869 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6871 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6873 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6875 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6877 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6879 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6881 * gdb.dwarf2/dynarr-ptr.c: New file.
6882 * gdb.dwarf2/dynarr-ptr.exp: New file.
6884 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6886 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6887 of 30 rather than hardcoding 120 for a slow test case. Take the
6888 `gdb,timeout' target setting into account for this calculation.
6889 Don't extend the timeout for the test cases that don't need it.
6891 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6893 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6894 a factor of 2 for a slow test case. Take the `gdb,timeout'
6895 target setting into account for this calculation.
6896 * gdb.reverse/until-precsave.exp: Increase the timeout by
6897 a factor of 15 and 3 respectively rather than adding 120
6898 for a pair of slow test cases. Take the `gdb,timeout'
6899 target setting into account for this calculation.
6901 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6903 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6904 timeout, don't pass one down to gdb_expect.
6905 (gdb_expect): Rework timeout selection.
6907 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6909 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6910 exception on timeout.
6911 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6912 (gdbserver_start_extended): Catch any `gdbserver_start' error
6914 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6915 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6916 `gdbserver_gdb_load' error exceptions.
6918 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6920 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6921 120 on waiting for the TCP socket to open.
6923 2014-09-09 Doug Evans <xdje42@gmail.com>
6925 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6926 _caller_matches, _any_caller_is, _any_caller_matches.
6928 2014-09-09 Doug Evans <xdje42@gmail.com>
6930 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6932 2014-09-09 Yao Qi <yao@codesourcery.com>
6934 * gdb.mi/mi-var-display.exp: Set print symbol off.
6936 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6939 * gdb.base/commands.exp: Add tests to verify user-defined
6940 commands with empty bodies.
6941 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6942 python commands in `show user command`.
6943 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6944 scheme commands in `show user command`.
6946 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6949 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6950 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6951 * gdb.python/py-framefilter-invalidarg.exp: New file.
6952 * gdb.python/py-framefilter-invalidarg.py: New file.
6954 2014-09-06 Doug Evans <xdje42@gmail.com>
6957 * gdb.python/py-caller-is.c: New file.
6958 * gdb.python/py-caller-is.exp: New file.
6960 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6963 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6964 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6966 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6969 * gdb.fortran/print-formatted.exp: New file.
6970 * gdb.fortran/print-formatted.f90: Likewise.
6972 2014-09-03 Sasha Smundak <asmundak@google.com>
6974 * gdb.python/py-frame.exp: Test Frame.read_register.
6976 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6979 * gdb.python/py-completion.exp: New file.
6980 * gdb.python/py-completion.py: Likewise.
6982 2014-08-28 Doug Evans <dje@google.com>
6984 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6985 eax,etc. are live with values set by gdb and thus the compiler can't
6987 * gdb.arch/i386-pseudo.c (main): Ditto.
6989 2014-08-27 Doug Evans <dje@google.com>
6991 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6993 2014-08-25 Doug Evans <dje@google.com>
6995 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6998 2014-08-25 Doug Evans <dje@google.com>
7000 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7002 2014-08-24 Yao Qi <yao@codesourcery.com>
7004 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7006 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7008 2014-08-22 Doug Evans <dje@google.com>
7011 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7012 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7013 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7015 2014-08-22 Yao Qi <yao@codesourcery.com>
7017 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7018 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7019 * gdb.python/python.exp: Likewise. Use .py file on the host
7020 instead of the build.
7022 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7024 * gdb.threads/gcore-stale-thread.c: New file.
7025 * gdb.threads/gcore-stale-thread.exp: New file.
7027 2014-08-21 Pedro Alves <palves@redhat.com>
7029 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7030 * gdb.base/gcore-relro-pie.exp: Likewise.
7031 * gdb.base/gcore-relro.exp: Likewise.
7032 * gdb.base/gcore.exp: Likewise.
7033 * gdb.base/print-symbol-loading.exp: Likewise.
7034 * gdb.threads/gcore-thread.exp: Likewise.
7035 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7037 2014-08-20 Pedro Alves <palves@redhat.com>
7038 Jan Kratochvil <jan.kratochvil@redhat.com>
7040 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7042 (EXPECT): Handle READ1 being set.
7043 (all): Depend on EXTRA_RULES.
7044 (check-read1, expect-read1, read1.so, read1): New rules.
7045 * README (Testsuite Parameters): Document the READ1 make variable.
7046 (Race detection): New section.
7047 * configure: Regenerate.
7048 * configure.ac: If build==host==target, and running under a
7049 GNU/glibc system, add read1 to the extra Makefile rules.
7050 (EXTRA_RULES): AC_SUBST it.
7051 * lib/read1.c: New file.
7053 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7055 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7056 the handling of variables declared as a typedef to an array
7057 which a DW_AT_data_location attribute.
7059 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7060 Pedro Alves <palves@redhat.com>
7064 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7067 2014-08-19 Pedro Alves <palves@redhat.com>
7069 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7071 2014-08-19 Yao Qi <yao@codesourcery.com>
7073 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7076 2014-08-18 David Blaikie <dblaikie@gmail.com>
7078 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7080 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7082 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7083 attribute in array range.
7085 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7087 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7089 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7092 * gdb.cp/pr17132.cc: New file.
7093 * gdb.cp/pr17132.exp: New file.
7095 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7097 * gdb.python/py-xmethods.py (A_getarrayind)
7098 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7099 Use 'print' with function call syntax.
7100 (E_method_matcher.match): Fix tab vs space indentation mixup.
7102 2014-08-15 Yao Qi <yao@codesourcery.com>
7104 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7107 2014-08-15 Yao Qi <yao@codesourcery.com>
7109 * gdb.cp/casts.exp: Set print symbol off.
7110 * gdb.cp/class2.exp: Likewise.
7111 * gdb.cp/overload.exp: Likewise.
7112 * gdb.cp/templates.exp: Likewise.
7114 2014-08-11 Doug Evans <dje@google.com>
7116 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7117 (test_load_shlib): Update.
7119 2014-08-09 Yao Qi <yao@codesourcery.com>
7121 * gdb.base/display.exp: Invoke is_address_zero_readable.
7122 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7124 * gdb.base/hbreak-unmapped.exp: Return if
7125 is_address_zero_readable returns true.
7126 * gdb.base/signest.exp: Likewise.
7127 * gdb.base/signull.exp: Likewise.
7128 * gdb.base/sigbpt.exp: Likewise.
7129 * gdb.guile/scm-disasm.exp: Do the test if
7130 is_address_zero_readable returns false.
7131 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7132 * gdb.python/py-arch.exp: Likewise.
7133 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7134 * lib/gdb.exp (is_address_zero_readable): New proc.
7136 2014-08-09 Yao Qi <yao@codesourcery.com>
7139 * gdb.mi/mi-var-display.exp: Make test messages unique.
7141 2014-08-04 Tom Tromey <tromey@redhat.com>
7143 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7146 2014-08-04 Tom Tromey <tromey@redhat.com>
7148 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7151 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7153 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7154 inner_vla_struct_object_size.
7155 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7158 2014-07-30 Pedro Alves <palves@redhat.com>
7160 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7163 2014-07-29 Yao Qi <yao@codesourcery.com>
7166 * gdb.base/until-nodebug.exp: New.
7168 2014-07-28 Doug Evans <xdje42@gmail.com>
7171 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7172 previously existing parameter, and previously ambiguously spelled
7175 2014-07-28 Will Newton <will.newton@linaro.org>
7177 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7179 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7180 Doug Evans <xdje42@gmail.com>
7183 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7185 2014-07-25 Pedro Alves <palves@redhat.com>
7187 * gdb.threads/signal-command-handle-nopass.c: New file.
7188 * gdb.threads/signal-command-handle-nopass.exp: New file.
7189 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7190 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7191 * gdb.threads/signal-delivered-right-thread.c: New file.
7192 * gdb.threads/signal-delivered-right-thread.exp: New file.
7194 2014-07-25 Pedro Alves <palves@redhat.com>
7196 * gdb.base/double-prompt-target-event-error.exp
7197 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7199 (cancel_pagination_in_target_event): Rework double prompt
7201 * gdb.base/paginate-after-ctrl-c-running.exp
7202 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7204 * gdb.base/paginate-bg-execution.exp
7205 (test_bg_execution_pagination_return)
7206 (test_bg_execution_pagination_cancel): Remove '-notransfer
7208 * gdb.base/paginate-execution-startup.exp
7209 (test_fg_execution_pagination_return)
7210 (test_fg_execution_pagination_cancel): Remove '-notransfer
7212 * gdb.base/paginate-inferior-exit.exp
7213 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7215 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7216 * lib/gdb.exp (pagination_prompt): Run text through
7218 (gdb_test_multiple): Match $pagination_prompt instead of
7220 (string_to_regexp): Move to lib/gdb-utils.exp.
7222 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7224 * gdb.arch/amd64-entry-value-paramref.S: New file.
7225 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7226 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7227 * gdb.arch/amd64-optimout-repeat.S: New file.
7228 * gdb.arch/amd64-optimout-repeat.c: New file.
7229 * gdb.arch/amd64-optimout-repeat.exp: New file.
7231 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7234 * gdb.base/statistics.exp: New file.
7236 2014-07-17 Doug Evans <dje@google.com>
7239 * gdb.base/maint.exp: Update testing of per-command stats.
7241 2014-07-16 Pedro Alves <palves@redhat.com>
7243 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7244 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7245 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7246 (tfile_write_buf): New functions.
7247 (add_memory_block): Rewrite using the above.
7248 (adjust_function_address): New function.
7249 (FUNCTION_ADDRESS): New macro.
7250 (write_basic_trace_file): Remove short_x local, and use
7251 tfile_write_16. Change type of func_addr local to unsigned long
7252 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7253 here. Cast argument of add_memory_block to char pointer.
7254 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7255 (main): Remove parameters.
7256 * gdb.trace/tfile.exp: Remove nowarnings.
7258 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7260 * gdb.base/debug-expr.exp: Test string evaluation with
7261 "debug expression" on.
7263 2014-07-15 Pedro Alves <palves@redhat.com>
7265 * gdb.base/reread.exp: Use clean_restart.
7267 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7269 * gdb.arch/avr-flash-qualifer.c: New.
7270 * gdb.arch/avr-flash-qualifer.exp: New.
7272 2014-07-14 Pedro Alves <palves@redhat.com>
7274 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7275 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7277 2014-07-14 Pedro Alves <palves@redhat.com>
7279 * gdb.base/double-prompt-target-event-error.c: New file.
7280 * gdb.base/double-prompt-target-event-error.exp: New file.
7282 2014-07-14 Pedro Alves <palves@redhat.com>
7285 * gdb.base/paginate-inferior-exit.c: New file.
7286 * gdb.base/paginate-inferior-exit.exp: New file.
7288 2014-07-14 Pedro Alves <palves@redhat.com>
7291 * gdb.base/paginate-bg-execution.c: New file.
7292 * gdb.base/paginate-bg-execution.exp: New file.
7294 2014-07-14 Pedro Alves <palves@redhat.com>
7297 * gdb.base/paginate-execution-startup.c: New file.
7298 * gdb.base/paginate-execution-startup.exp: New file.
7299 * lib/gdb.exp (pagination_prompt): New global.
7300 (default_gdb_spawn): New procedure, factored out from
7302 (default_gdb_start): Adjust to call default_gdb_spawn.
7303 (gdb_spawn): New procedure.
7305 2014-07-14 Pedro Alves <palves@redhat.com>
7307 * lib/gdb.exp (gdb_assert): New procedure.
7308 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7310 2014-07-14 Pedro Alves <palves@redhat.com>
7312 * gdb.base/execution-termios.c: New file.
7313 * gdb.base/execution-termios.exp: New file.
7315 2014-07-14 Tom Tromey <tromey@redhat.com>
7317 * gdb.cp/vla-cxx.cc: New file.
7318 * gdb.cp/vla-cxx.exp: New file.
7320 2014-07-14 Tom Tromey <tromey@redhat.com>
7322 * gdb.reverse/rerun-prec.c: New file.
7323 * gdb.reverse/rerun-prec.exp: New file.
7325 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7326 Maciej W. Rozycki <macro@codesourcery.com>
7328 * lib/gdb-utils.exp: New file.
7329 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7330 inline `gdb_init_command' processing.
7331 (gdb_start_cmd): Likewise.
7332 * lib/mi-support.exp (mi_run_cmd): Likewise.
7333 * README: Document `gdb_init_command' and `gdb_init_commands'.
7335 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7337 Fix false FAIL running under a very long directory name.
7338 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7339 and "set print elements 10000". Twice.
7341 2014-07-11 Yao Qi <yao@codesourcery.com>
7343 * gdb.base/exprs.exp: "set print symbol off".
7345 2014-07-11 Pedro Alves <palves@redhat.com>
7347 * gdb.threads/kill.c: New file.
7348 * gdb.threads/kill.exp: New file.
7350 2014-07-10 Yao Qi <yao@codesourcery.com>
7352 * gdb.trace/tfile.c (write_basic_trace_file)
7353 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7354 address written to trace file.
7356 2014-07-09 Pedro Alves <palves@redhat.com>
7358 * gdb.base/attach-wait-input.exp: New file.
7359 * gdb.base/attach-wait-input.c: New file.
7361 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7363 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7364 setting up test structures.
7365 (main): Call new test function.
7366 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7367 test function, continue into test function and walk test
7370 2014-07-02 Yao Qi <yao@codesourcery.com>
7372 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7373 'bar_start' at the beginning of functions 'foo' and 'bar'
7375 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7376 instead of 'foo' and 'bar'.
7378 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7380 * gdb.btrace/segv.exp: New.
7381 * gdb.btrace/segv.c: New.
7383 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7385 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7388 2014-06-30 Mark Wielaard <mjw@redhat.com>
7390 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7391 vulture, vilify, villar): New volatile array constants.
7392 (vindictive, vegetation): New const volatile array constants.
7393 * gdb.base/volatile.exp: Test volatile and const volatile array
7396 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7398 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7399 target lacks support for awatch, rwatch, or hbreak.
7401 2014-06-27 Yao Qi <yao@codesourcery.com>
7403 * gdb.multi/dummy-frame-restore.exp: New.
7404 * gdb.multi/dummy-frame-restore.c: New.
7406 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7408 * gdb.btrace/gcore.exp: New.
7410 2014-06-23 Pedro Alves <palves@redhat.com>
7412 * gdb.base/watchpoint-reuse-slot.c: New file.
7413 * gdb.base/watchpoint-reuse-slot.exp: New file.
7415 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7417 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7418 progspace's filename in 'info', 'enable' and 'disable' command
7421 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7423 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7424 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7425 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7427 2014-06-20 Gary Benson <gbenson@redhat.com>
7429 * gdb.arch/i386-avx.exp: Fix include file location.
7430 * gdb.arch/i386-sse.exp: Likewise.
7432 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7434 * gdb.dlang/expression.exp: New file.
7436 2014-06-19 Pedro Alves <palves@redhat.com>
7438 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7440 (top level): ... here. Iterate running tests under different
7441 scheduler-locking settings.
7443 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7445 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7446 to DW_FORM_addr and use non-zero addresses.
7448 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7451 * gdb.python/py-xmethods.cc: Add global function call counters and
7452 increment them in their respective functions. Remove "cout"
7454 * gdb.python/py-xmethods.exp: Make tests check the global function
7455 call counters instead of depending on inferior IO.
7457 2014-06-18 Don Breazeal <donb@codesourcery.com>
7459 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7461 (explicit_fork_parent_follow): Deleted procedure.
7462 (explicit_fork_child_follow): Deleted procedure.
7463 (test_follow_fork): New procedure.
7464 (do_fork_tests): Replace calls to deleted procedures with
7465 calls to test_follow_fork and reset GDB for subsequent
7468 2014-06-17 Yao Qi <yao@codesourcery.com>
7470 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7473 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7475 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7476 Initialize ptr and S explicitly.
7477 (skip_type_update_when_not_use_rtti_test): Likewise.
7479 2014-06-16 Keith Seitz <keiths@redhat.com>
7482 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7483 the inferior is started.
7485 2014-06-16 Pedro Alves <palves@redhat.com>
7487 * gdb.base/break-main-file-remove-fail.c: New file.
7488 * gdb.base/break-main-file-remove-fail.exp: New file.
7489 * gdb.base/break-unload-file.exp: Use build_executable instead of
7490 prepare_for_testing.
7491 (test_break): New parameter "initial_load". Handle it.
7492 (top level): Add initial_load cmdline/file axis.
7494 2014-06-12 Tom Tromey <tromey@redhat.com>
7496 * gdb.base/completion.exp: Don't use directory name in test.
7498 2014-06-09 Gary Benson <gbenson@redhat.com>
7500 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7501 separate the always-available ANSI-standard signals from the
7502 signals that require checking.
7504 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7508 2014-06-07 Keith Seitz <keiths@redhat.com>
7512 * gdb.cp/var-tag.cc: New file.
7513 * gdb.cp/var-tag.exp: New file.
7514 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7515 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7516 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7517 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7519 2014-06-06 Doug Evans <xdje42@gmail.com>
7521 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7523 2014-06-06 Pedro Alves <palves@redhat.com>
7525 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7526 in target debug output instead of looking at RSP packets,
7527 disabling the test on any target that uses hardware stepping.
7530 2014-06-06 Pedro Alves <palves@redhat.com>
7532 * gdb.base/break-unload-file.exp: Fix typo.
7534 2014-06-06 Yao Qi <yao@codesourcery.com>
7536 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7537 from "jit_function" to "^jit_function".
7539 2014-06-06 Yao Qi <yao@codesourcery.com>
7541 * gdb.base/async.c (foo): Add one statement.
7542 * gdb.base/async.exp: Get the next instruction address and
7543 match the output of "nexti" by instruction address. Match
7544 the hex address in the output of "finish".
7546 2014-06-06 Gary Benson <gbenson@redhat.com>
7548 * gdb.base/call-signals.c: Remove preprocessor conditionals
7549 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7550 SIGSEGV and SIGTERM.
7551 * gdb.base/sigall.c: Likewise.
7552 * gdb.base/unwindonsignal.c: Likewise.
7553 * gdb.reverse/sigall-reverse.c: Likewise.
7555 2014-06-06 Yao Qi <yao@codesourcery.com>
7557 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7558 readable, skip the test.
7560 2014-06-06 Yao Qi <yao@codesourcery.com>
7562 * gdb.threads/staticthreads.c (thread_function): Move the line
7563 setting breakpoint on forward.
7564 * gdb.threads/staticthreads.exp: Update comments.
7566 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7568 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7569 "history-append! type error".
7571 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7573 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7574 erroneous dprintf expected input.
7576 2014-06-04 Doug Evans <xdje42@gmail.com>
7578 * gdb.guile/scm-generics.exp: Delete.
7580 2014-06-04 Doug Evans <xdje42@gmail.com>
7582 * gdb.guile/scm-breakpoint.exp: Update.
7583 Add tests for breakpoint registration.
7585 2014-06-04 Tom Tromey <tromey@redhat.com>
7587 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7589 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7590 inner_vla_struct, vla_union types. Initialize objects of those
7591 types and compute their sizes.
7593 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7594 Hui Zhu <hui@codesourcery.com>
7596 * gdb.base/fileio.exp: Add test for shell not available as well as
7598 * gdb.base/fileio.c (test_system): Check for shell twice.
7600 2014-06-04 Yao Qi <yao@codesourcery.com>
7602 * gdb.base/auto-connect-native-target.exp: Remove redundant
7603 space from the regexp pattern.
7605 2014-06-04 Yao Qi <yao@codesourcery.com>
7607 * gdb.base/default.exp: Replace "child" with "native" in
7610 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7612 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7613 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7614 * gdb.python/py-xmethods.py: Python script supporting the
7615 new testcase and tests.
7617 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7618 Pedro Alves <palves@redhat.com>
7620 PR breakpoints/17000
7621 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7622 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7624 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7626 * gdb.base/subst.exp: Add tests to verify partial path matching
7629 2014-06-03 Pedro Alves <palves@redhat.com>
7631 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7632 target that doesn't use software single-stepping.
7634 2014-06-03 Pedro Alves <palves@redhat.com>
7636 PR breakpoints/17000
7637 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7638 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7640 2014-06-02 Doug Evans <xdje42@gmail.com>
7642 * gdb.guile/scm-parameter.exp: New file.
7644 2014-06-02 Doug Evans <xdje42@gmail.com>
7646 * gdb.guile/scm-cmd.c: New file.
7647 * gdb.guile/scm-cmd.exp: New file.
7649 2014-06-02 Doug Evans <xdje42@gmail.com>
7651 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7652 pretty-printer lookup.
7653 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7654 (make-pp_s-printer): Call it.
7655 (make-pretty-printer-from-dict): New function.
7656 (lookup-pretty-printer-maker-from-dict): New function.
7657 (*pretty-printer*): Simplify.
7658 (make-objfile-pp_s-printer): New function.
7659 (install-objfile-pretty-printers!): New function.
7660 (make-progspace-pp_s-printer): New function.
7661 (install-progspace-pretty-printers!): New function.
7662 * gdb.guile/scm-progspace.c: New file.
7663 * gdb.guile/scm-progspace.exp: New file.
7665 2014-06-02 Pedro Alves <palves@redhat.com>
7667 * gdb.base/dprintf-bp-same-addr.c: New file.
7668 * gdb.base/dprintf-bp-same-addr.exp: New file.
7670 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7672 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7673 * gdb.arch/powerpc-power.s: Likewise.
7675 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7677 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7679 2014-06-01 Yao Qi <yao@codesourcery.com>
7681 * gdb.base/watchpoint.exp (test_watch_location): Check null
7682 pointer can be dereferenced. If not, do the test, otherwise
7685 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7687 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7689 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7691 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7693 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7694 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7695 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7696 * gdb.arch/amd64-invalid-stack-top.c: New file.
7697 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7699 2014-05-30 Pedro Alves <palves@redhat.com>
7701 PR breakpoints/17000
7702 * gdb.base/sss-bp-on-user-bp.c: New file.
7703 * gdb.base/sss-bp-on-user-bp.exp: New file.
7705 2014-05-30 David Blaikie <dblaikie@gmail.com>
7707 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7708 gnu_inline semantics via attribute.
7709 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7710 source explicitly specifies the required semantics.
7712 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7714 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7716 2014-05-29 Pedro Alves <palves@redhat.com>
7717 Tom Tromey <tromey@redhat.com>
7719 * gdb.base/async-shell.exp: Don't enable target-async.
7720 * gdb.base/async.exp
7721 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7723 (top level): Don't test with "target-async".
7724 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7725 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7726 * gdb.base/inferior-died.exp: Don't enable target-async.
7727 * gdb.base/interrupt-noterm.exp: Likewise.
7728 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7729 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7730 * gdb.mi/mi-nonstop.exp: Likewise.
7731 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7732 * gdb.mi/mi-nsintrall.exp: Likewise.
7733 * gdb.mi/mi-nsmoribund.exp: Likewise.
7734 * gdb.mi/mi-nsthrexec.exp: Likewise.
7735 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7736 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7737 * gdb.python/py-evsignal.exp: Don't enable target-async.
7738 * gdb.python/py-evthreads.exp: Likewise.
7739 * gdb.python/py-prompt.exp: Likewise.
7740 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7741 * gdb.server/solib-list.exp: Don't enable target-async.
7742 * gdb.threads/thread-specific-bp.exp: Likewise.
7743 * lib/mi-support.exp: Adjust to use mi-async.
7745 2014-05-29 Pedro Alves <palves@redhat.com>
7748 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7749 reason, even in sync mode.
7751 2014-05-29 Pedro Alves <palves@redhat.com>
7752 Hui Zhu <hui@codesourcery.com>
7755 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7756 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7757 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7758 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7760 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7762 * config/monitor.exp (gdb_target_monitor): Replace use of
7763 "set remotebaud" by "set serial baud".
7765 2014-05-26 Andy Wingo <wingo@igalia.com>
7767 * gdb.guile/scm-breakpoint.exp:
7768 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7769 properties instead of gdb-object-properties.
7771 2014-05-26 Yao Qi <yao@codesourcery.com>
7773 * gdb.server/no-thread-db.exp: Specify source file name
7774 explicitly when setting a breakpoint.
7776 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7778 * gdb.btrace/vdso.c: New.
7779 * gdb.btrace/vdso.exp: New.
7781 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7783 * gdb.base/gcore.exp (capture_command_output): Move ...
7784 * lib/gdb.exp (capture_command_output): ... here.
7786 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7788 * gdb.btrace/data.exp: Test memory access during btrace replay.
7790 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7792 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7794 2014-05-21 Pedro Alves <palves@redhat.com>
7797 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7798 (top level): Test that output related to execution commands is
7799 sent to the console with CLI commands, but not with MI commands.
7800 Test that breakpoint events are always mirrored to the console.
7801 Also expect the new source line to be output after a "next" in
7802 async mode too. Make it a pass/fail test.
7803 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7805 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7807 2014-05-21 Pedro Alves <palves@redhat.com>
7809 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7810 Use them to test variations of "list" after reaching a breakpoint.
7811 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7812 Test "list" with listsize 10 after reaching a breakpoint.
7813 * gdb.python/python.exp (decode_line current location line
7814 number): Adjust expected line number.
7816 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7818 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7819 behavior for $args, pass it directly to "run".
7821 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7823 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7826 2014-05-21 Pedro Alves <palves@redhat.com>
7828 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7829 auto-connect-native-target off".
7830 * gdb.base/auto-connect-native-target.c: New file.
7831 * gdb.base/auto-connect-native-target.exp: New file.
7833 2014-05-21 Pedro Alves <palves@redhat.com>
7835 * gdb.base/default.exp: Test "target native" instead of "target
7838 2014-05-21 Mark Wielaard <mjw@redhat.com>
7840 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7842 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7844 Fix TLS access for -static -pthread.
7845 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7846 <HAVE_TLS> (thread_function, main): Initialize it.
7847 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7849 <$have_tls != "">: Check TLSVAR.
7851 2014-05-21 Pedro Alves <palves@redhat.com>
7853 * gdb.base/dcache-line-read-error.c: New.
7854 * gdb.base/dcache-line-read-error.exp: New.
7856 2014-05-20 Pedro Alves <palves@redhat.com>
7858 * gdb.base/compare-sections.c: New file.
7859 * gdb.base/compare-sections.exp: New file.
7861 2014-05-20 Pedro Alves <palves@redhat.com>
7863 * gdb.base/break-idempotent.c: New file.
7864 * gdb.base/break-idempotent.exp: New file.
7866 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7868 * gdb.btrace/nohist.exp: New.
7870 2014-05-20 Yao Qi <yao@codesourcery.com>
7872 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7873 gdb.reverse directory and gdb_reverse_timeout exists in board
7875 * README: Document gdb_reverse_timeout.
7877 2014-05-20 Yao Qi <yao@codesourcery.com>
7879 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7880 'test_file_name'. Treat args as a string instead of a list.
7881 (gdb_init): Rename argument 'args' by 'test_file_name'.
7883 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7885 * gdb.arch/powerpc-power.exp: New file.
7886 * gdb.arch/powerpc-power.s: New file.
7888 2014-05-16 Doug Evans <dje@google.com>
7890 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7891 * gdb.base/completion.exp: Check that all expected files exist
7892 before doing file completion.
7894 2014-05-16 Doug Evans <dje@google.com>
7896 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7898 (do_syscall_tests_without_xml): Update.
7900 2014-05-16 Pedro Alves <palves@redhat.com>
7902 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7903 instead of "unknown output after running".
7905 2014-05-16 Yao Qi <yao@codesourcery.com>
7907 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7908 file1.txt from host at the end.
7909 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7911 2014-05-15 Doug Evans <dje@google.com>
7913 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7914 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7915 loading file. Add test for TU lookup.
7917 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7919 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7920 calling "-exec-arguments" or "set args" before running the
7923 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7925 * lib/mi-support.exp (mi_expect_stop): Expect message for
7926 inferiors that exit with non-zero exit code.
7928 2014-05-14 Yao Qi <yao@codesourcery.com>
7930 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7931 match absolute path on remote host.
7932 (test_file_list_exec_source_files): Remove "/" from the
7935 2014-05-14 Yao Qi <yao@codesourcery.com>
7937 * boards/local-remote-host-notty.exp (${board}_file): New
7940 2014-05-07 Kyle McMartin <kyle@redhat.com>
7942 Pushed by Joel Brobecker <brobecker@adacore.com>.
7943 * gdb.arch/aarch64-atomic-inst.c: New file.
7944 * gdb.arch/aarch64-atomic-inst.exp: New file.
7946 2014-05-07 Yao Qi <yao@codesourcery.com>
7948 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7949 in current context" too.
7951 2014-05-05 Keith Seitz <keiths@redhat.com>
7953 * gdb.linespec/ls-dollar.exp: Add test for linespec
7954 file:convenience_variable.
7956 2014-05-05 Yao Qi <yao@codesourcery.com>
7958 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7959 traceframes into tfile and ctf trace files. Read data from
7960 trace file and test collected data.
7961 (gdb_collect_locals_test): Likewise.
7962 (gdb_unavailable_registers_test): Likewise.
7963 (gdb_unavailable_floats): Likewise.
7964 (gdb_collect_globals_test): Likewise.
7965 (top-level): Append "ctf" to trace_file_targets if GDB
7968 2014-05-05 Yao Qi <yao@codesourcery.com>
7970 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7972 (gdb_collect_args_test_1): ... it. New proc.
7973 (gdb_collect_locals_test): Move some code to ...
7974 (gdb_collect_locals_test_1): ... it. New proc.
7975 (gdb_unavailable_registers_test): Move some code to ...
7976 (gdb_unavailable_registers_test_1): ... it. New proc.
7977 (gdb_unavailable_floats): Move some code to ...
7978 (gdb_unavailable_floats_1): ... it. New proc.
7980 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7982 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7983 probes to test for bitness recognition.
7984 * gdb.arch/amd64-stap-optional-prefix.exp
7985 (test_probe_value_without_reg): New procedure.
7986 Add code to test for different kinds of bitness.
7988 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7990 PR breakpoints/16889
7991 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7992 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7994 2014-05-01 Pedro Alves <palves@redhat.com>
7996 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7997 gdb_file_cmd if no file is specified.
7998 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7999 last_loaded_file to set the remote exec-file.
8001 2014-05-01 Pedro Alves <palves@redhat.com>
8003 * boards/local-remote-host.exp: New file.
8005 2014-05-01 Pedro Alves <palves@redhat.com>
8007 * boards/local-remote-host.exp: Rename to ...
8008 * boards/local-remote-host-notty.exp: ... this.
8010 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8012 * gdb.ada/dyn_arrayidx: New testcase.
8014 2014-04-26 Yao Qi <yao@codesourcery.com>
8016 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8017 and compute the length of function main. Save it in
8019 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8020 (top-level): Use gdb_compile to compile objects into
8021 executable and restart GDB. Remove invocation to
8022 prepare_for_testing.
8024 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8025 Pedro Alves <palves@redhat.com>
8028 * gdb.multi/multi-attach.c: New file.
8029 * gdb.multi/multi-attach.exp: New file.
8031 2014-04-25 Pedro Alves <palves@redhat.com>
8033 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8035 (top level): Test that "set remote conditional-breakpoints-packet
8036 off" works as intended.
8037 * gdb.base/dprintf.exp: Test that "set remote
8038 breakpoint-commands-packet off" works as intended.
8039 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8041 (top level): Call it.
8042 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8043 remote fast-tracepoints-packet off" works as intended.
8044 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8045 * lib/gdb.exp (gdb_is_target_remote): ... here.
8047 2014-04-24 David Blaikie <dblaikie@gmail.com>
8049 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8050 ensure clang would not discard them.
8051 * gdb.base/gdbvars.c: Ditto.
8052 * gdb.base/memattr.c: Ditto.
8053 * gdb.base/whatis.c: Ditto.
8054 * gdb.python/py-prettyprint.c: Ditto.
8055 * gdb.trace/actions.c: Ditto.
8056 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8057 ensure clang would not discard it.
8059 2014-04-24 David Blaikie <dblaikie@gmail.com>
8061 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8062 clang to emit the full definition of type required by the test
8063 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8065 2014-04-24 David Blaikie <dblaikie@gmail.com>
8067 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8068 coax Clang into emitting the definition of the type.
8069 * gdb.cp/pr10728-x.h (y): Ditto.
8070 * gdb.cp/pr10728-y.cc (y): Ditto.
8072 2014-04-24 David Blaikie <dblaikie@gmail.com>
8074 * gdb.base/label.exp: XFAIL label related tests under Clang.
8075 * gdb.cp/cplabel.exp: Ditto.
8076 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8077 under Clang those using labels.
8079 2014-04-25 Yao Qi <yao@codesourcery.com>
8081 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8083 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8084 partial_label and double_label.
8086 2014-04-24 David Blaikie <dblaikie@gmail.com>
8088 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8090 2014-04-24 David Blaikie <dblaikie@gmail.com>
8092 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8093 of the function to work across GCC and Clang.
8094 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8095 pointer types (const void ** const V void **).
8097 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8098 Walfred Tedeschi <walfred.tedeschi@intel.com>
8100 * Makefile.in (EXECUTABLES): Added i386-avx512.
8101 * gdb.arch/i386-avx512.c: New file.
8102 * gdb.arch/i386-avx512.exp: Likewise.
8104 2014-04-23 Keith Seitz <keiths@redhat.com>
8106 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8107 (mi_make_breakpoint_table): New procedure.
8108 (mi_create_breakpoint): Use mi_make_breakpoint
8109 and return the result.
8110 (mi_make_breakpoint): New procedure.
8111 (mi_build_kv_pairs): New procedure.
8113 * gdb.mi/mi-break.exp: Remove unused globals,
8114 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8115 All callers updated.
8116 * gdb.mi/mi-dprintf.exp: Use variable to track command
8118 Update all callers of mi_create_breakpoint and use
8119 mi_make_breakpoint_table.
8120 Remove any unused global variables.
8121 * gdb.mi/mi-nonstop.exp: Likewise.
8122 * gdb.mi/mi-nsintrall.exp: Likewise.
8123 * gdb.mi/mi-nsmoribund.exp: Likewise.
8124 * gdb.mi/mi-nsthrexec.exp: Likewise.
8125 * gdb.mi/mi-reverse.exp: Likewise.
8126 * gdb.mi/mi-simplerun.exp: Likewise.
8127 * gdb.mi/mi-stepn.exp: Likewise.
8128 * gdb.mi/mi-syn-frame.exp: Likewise.
8129 * gdb.mi/mi-until.exp: Likewise.
8130 * gdb.mi/mi-var-cp.exp: Likewise.
8131 * gdb.mi/mi-var-display.exp: Likewise.
8132 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8133 * gdb.mi/mi2-var-child.exp: Likewise.
8134 * gdb.mi/mi-vla-c99.exp: Likewise.
8135 * lib/mi-support.exp: Likewise.
8137 From Ian Lance Taylor <iant@cygnus.com>:
8138 * lib/gdb.exp (parse_args): New procedure.
8140 2014-04-23 Pedro Alves <palves@redhat.com>
8142 * gdb.base/break-unload-file.c: New file.
8143 * gdb.base/break-unload-file.exp: New file.
8144 * gdb.base/sym-file-lib.c (baz): New function.
8145 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8147 (load): Store the segment's mapped size.
8148 (unload): New function.
8149 (unload_shlib): New function.
8150 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8151 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8152 set a breakpoint at baz, and call it.
8153 * gdb.base/sym-file.exp: New tests for stale breakpoint
8156 2014-04-23 Pedro Alves <palves@redhat.com>
8158 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8159 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8160 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8161 * gdb.base/hbreak-unmapped.c: New file.
8162 * gdb.base/hbreak-unmapped.exp: New file.
8163 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8164 * lib/gdb.exp (gdb_is_target_remote): ... here.
8166 2014-04-22 Pedro Alves <palves@redhat.com>
8168 * gdb.base/consecutive-step-over.c: New file.
8169 * gdb.base/consecutive-step-over.exp: New file.
8171 2014-04-22 Pedro Alves <palves@redhat.com>
8173 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8174 instead of send_gdb/gdb_expect.
8176 2014-04-22 Yao Qi <yao@codesourcery.com>
8178 * lib/trace-support.exp (generate_tracefile): New procedure.
8179 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8181 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8182 if generate_tracefile returns 1.
8184 2014-04-18 Tom Tromey <palves@redhat.com>
8185 Pedro alves <tromey@redhat.com>
8188 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8189 with a backtrace limit.
8190 * gdb.python/py-frame-inline.exp: Test running to an inline
8191 function with a backtrace limit, and printing the newest frame.
8192 * gdb.python/py-frame-inline.c (main): Call f.
8194 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8196 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8198 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8200 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8201 Drop prefix from unsupported source file path.
8203 2014-04-17 Yao Qi <yao@codesourcery.com>
8205 * lib/gdb.exp (with_target_charset): New proc.
8206 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8207 with_target_charset.
8208 (test_print_strings): Likewise.
8209 (test_repeat_bytes): Likewise.
8210 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8213 2014-04-16 Keith Seitz <keiths@redhat.com>
8216 * gdb.dwarf2/corrupt.c: New file.
8217 * gdb.dwarf2/corrupt.exp: New file.
8219 2014-04-16 Keith Seitz <keiths@redhat.com>
8222 * gdb.cp/namelessclass.cc: New file.
8223 * gdb.cp/namelessclass.exp: New file.
8224 * gdb.cp/namelessclass.S: New file.
8226 2014-04-16 Doug Evans <dje@google.com>
8228 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8230 (gdbserver_default_get_comm_port): New function.
8231 (gdbserver_start): Check if board file provided
8232 "gdbserver,get_comm_port" and use it if so.
8233 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8234 (gdb,socketport): Set to "stdio".
8235 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8236 (stdio_gdbserver_template): Delete.
8237 (${board}_get_remote_address): Update.
8238 (${board}_build_remote_cmd): Delete.
8239 (${board}_get_comm_port): New function.
8240 (${board}_spawn): Update.
8241 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8243 (${board}_get_remote_address): Update.
8244 (${board}_get_comm_port): New function.
8246 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8248 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8249 appearing in any order.
8251 2014-04-15 Doug Evans <dje@google.com>
8253 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8254 uninitialized value of "description".
8256 2014-04-15 Keith Seitz <keiths@redhat.com>
8258 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8259 Remove unused globals.
8260 (test_running_the_program): Likewise.
8261 (test_controlled_execution): Likewise.
8262 (test_controlling_breakpoints): Likewise.
8263 (test_program_termination): Likewise.
8265 2014-04-15 Keith Seitz <keiths@redhat.com>
8267 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8269 (test_rbreak_creation_and_listing): Likewise.
8270 (test_ignore_count): Likewise.
8271 (test_error): Likewise.
8273 2014-04-15 Pedro Alves <palves@redhat.com>
8275 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8276 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8278 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8279 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8280 to sym-file-loader.c.
8281 (struct library): Forward declare.
8282 (load_shlib, lookup_function): Change prototypes.
8283 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8284 (translate_offset): Remove declarations.
8285 (get_text_addr): New declaration.
8286 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8287 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8289 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8290 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8291 here from sym-file-loader.h.
8292 (struct library): New structure.
8293 (load_shlib, lookup_function): Change prototypes and adjust to
8294 work with a struct library.
8295 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8296 (translate_offset): Make static.
8297 (get_text_addr): New function.
8298 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8300 2014-04-15 Pedro Alves <palves@redhat.com>
8302 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8304 2014-04-15 Pedro Alves <palves@redhat.com>
8306 * gdb.base/sym-file-loader.c: Include <limits.h>.
8307 (SELF_LINK): New define.
8308 (get_origin): New function.
8309 (load_shlib): Use it.
8310 * gdb.base/sym-file.exp: Don't early return if the target is
8311 remote. Use runto_main, and issue fail is that fails. Use
8313 (shlib_name): Delete.
8314 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8316 2014-04-15 Pedro Alves <palves@redhat.com>
8318 * gdb.base/sym-file.exp: Remove regex characters from test
8319 message. Don't refer to breakpoint numbers in test messages.
8321 2014-04-14 Keith Seitz <keiths@redhat.com>
8324 * gdb.cp/var-tag.cc: New file.
8325 * gdb.cp/var-tag.exp: New file.
8326 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8327 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8328 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8329 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8331 2014-04-14 Tom Tromey <tromey@redhat.com>
8333 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8334 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8336 * gdb.cp/enum-class.exp: New file.
8337 * gdb.cp/enum-class.cc: New file.
8339 2014-04-14 Tom Tromey <tromey@redhat.com>
8341 * gdb.dwarf2/enum-type.exp: New file.
8343 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8345 * gdb.mi/mi-vla-c99.exp: New file.
8346 * gdb.mi/vla.c: New file.
8348 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8350 * gdb.base/vla-datatypes.c: New file.
8351 * gdb.base/vla-datatypes.exp: New file.
8353 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8355 * gdb.base/vla-ptr.c: New file.
8356 * gdb.base/vla-ptr.exp: New file.
8358 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8360 * gdb.dwarf2/count.exp: New file.
8362 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8364 * gdb.base/vla-sideeffect.c: New file.
8365 * gdb.base/vla-sideeffect.exp: New file.
8367 2014-04-14 David Blaikie <dblaikie@gmail.com>
8369 * gdb.mi/non-stop.c: Add return value for non-void function return
8371 * gdb.threads/staticthreads.c: Ditto.
8373 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8374 Doug Evans <xdje42@gmail.com>
8376 * gdb.guile/scm-value.c: Improve test case.
8377 * gdb.guile/scm-value.exp: Add new test.
8379 2014-04-11 David Blaikie <dblaikie@gmail.com>
8381 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8382 override Clang's default.
8384 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8386 Revert the following changes (regressions):
8388 * gdb.base/vla-sideeffect.c: New file.
8389 * gdb.base/vla-sideeffect.exp: New file.
8391 * gdb.dwarf2/count.exp: New file.
8393 * gdb.base/vla-multi.c: New file.
8394 * gdb.base/vla-multi.exp: New file.
8396 * gdb.base/vla-ptr.c: New file.
8397 * gdb.base/vla-ptr.exp: New file.
8399 * gdb.base/vla-datatypes.c: New file.
8400 * gdb.base/vla-datatypes.exp: New file.
8402 * gdb.mi/mi-vla-c99.exp: New file.
8403 * gdb.mi/vla.c: New file.
8405 2014-04-11 Keith Seitz <keiths@redhat.com>
8408 * gdb.cp/cpsizeof.exp: New file.
8409 * gdb.cp/cpsizeof.cc: New file.
8411 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8413 * gdb.mi/mi-vla-c99.exp: New file.
8414 * gdb.mi/vla.c: New file.
8416 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8418 * gdb.base/vla-datatypes.c: New file.
8419 * gdb.base/vla-datatypes.exp: New file.
8421 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8423 * gdb.base/vla-ptr.c: New file.
8424 * gdb.base/vla-ptr.exp: New file.
8426 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8428 * gdb.base/vla-multi.c: New file.
8429 * gdb.base/vla-multi.exp: New file.
8431 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8433 * gdb.dwarf2/count.exp: New file.
8435 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8437 * gdb.base/vla-sideeffect.c: New file.
8438 * gdb.base/vla-sideeffect.exp: New file.
8440 2014-04-11 Yao Qi <yao@codesourcery.com>
8442 * gdb.base/completion.exp: Check file exists before running tests
8445 2014-04-10 Pedro Alves <palves@redhat.com>
8447 * gdb.base/cond-eval-mode.c: New file.
8448 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8449 prepare_for_testing to build the new file. Check result of
8451 (test_break, test_watch): New procedures.
8452 (top level): Use them.
8454 2014-04-08 Pierre Muller <muller@sourceware.org>
8456 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8457 Ctrl-V use for mingw hosts.
8459 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8461 * gdb.python/py-value.c: Improve test case.
8462 * gdb.python/py-value.exp: Add new test.
8464 2014-04-07 David Blaikie <dblaikie@gmail.com>
8466 * lib/compiler.c: Identify the clang compiler.
8467 * lib/compiler.cc: Ditto.
8469 2014-04-03 Yao Qi <yao@codesourcery.com>
8471 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8473 2014-04-01 Anton Blanchard <anton@samba.org>
8475 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8478 2014-04-01 Anton Blanchard <anton@samba.org>
8480 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8481 prepare_for_testing.
8483 2014-04-01 Anton Blanchard <anton@samba.org>
8485 * gdb.arch/ppc64-atomic-inst.c: Remove.
8486 * gdb.arch/ppc64-atomic-inst.S: New file.
8487 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8489 2014-03-31 Doug Evans <dje@google.com>
8491 * gdb.base/print-symbol-loading-lib.c: New file.
8492 * gdb.base/print-symbol-loading-main.c: New file.
8493 * gdb.base/print-symbol-loading.exp: New file.
8495 2014-03-31 Yao Qi <yao@codesourcery.com>
8497 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8499 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8501 * gdb.ada/mi_dyn_arr: New testcase.
8503 2014-03-27 Doug Evans <dje@google.com>
8505 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8507 2014-03-27 Yao Qi <yao@codesourcery.com>
8509 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8510 if target is nios2-*-*.
8512 2014-03-26 Yao Qi <yao@codesourcery.com>
8514 * lib/gdb.exp (readline_is_used): New proc.
8515 * gdb.base/completion.exp: Move tests on command complete up.
8516 Skip the rest of tests if readline is not used.
8517 * gdb.ada/complete.exp: Skp the test if readline is not
8519 * gdb.base/filesym.exp: Likewise.
8520 * gdb.base/macscp.exp: Likewise.
8521 * gdb.base/readline-ask.exp: Likewise.
8522 * gdb.base/readline.exp: Likewise.
8523 * gdb.python/py-cmd.exp: Likewise.
8524 * gdb.trace/tfile.exp: Likewise.
8526 2014-03-26 Yao Qi <yao@codesourcery.com>
8528 * gdb.base/macscp.exp: Fix code format issues.
8530 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8532 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8533 * gdb.asm/powerpc64le.inc: New file.
8535 2014-03-25 Pedro Alves <palves@redhat.com>
8536 Doug Evans <dje@google.com>
8538 * gdb.base/source-execution.c: New file.
8539 * gdb.base/source-execution.exp: New file.
8540 * gdb.base/source-execution.gdb: New file.
8542 2014-03-24 Doug Evans <dje@google.com>
8544 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8547 2014-03-24 Hui Zhu <hui@codesourcery.com>
8548 Pedro Alves <palves@redhat.com>
8550 PR breakpoints/16101
8551 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8552 test pass/fail messages. Detect missing support for dprintf when
8553 breakpoints are actually inserted.
8554 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8555 breakpoints are actually inserted.
8556 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8559 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8561 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8563 2014-03-22 Doug Evans <xdje42@gmail.com>
8565 * gdb.python/python.exp (python not supported): Verify multi-line
8566 python command issues an error.
8567 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8568 guile command issues an error.
8570 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8572 * gdb.threads/thread-specific.exp: Handle the lack of usable
8573 $this_breakpoint and $this_thread.
8575 2014-03-21 Hui Zhu <hui@codesourcery.com>
8577 * gdb.base/attach.exp (do_command_attach_tests): New.
8579 2014-03-20 Tom Tromey <tromey@redhat.com>
8580 Pedro Alves <palves@redhat.com>
8583 * gdb.base/condbreak-call-false.c: New file.
8584 * gdb.base/condbreak-call-false.exp: New file.
8586 2014-03-20 Pedro Alves <palves@redhat.com>
8588 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8590 (block_signals, unblock_signals): Delete.
8591 (child_function_2, main): Remove references to deleted variable
8594 2014-03-20 Pedro Alves <palves@redhat.com>
8596 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8597 Use pthread_kill to signal thread 2.
8598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8599 Adjust to make the test send itself a signal rather than using the
8600 host's "kill" command.
8602 2014-03-20 Pedro Alves <palves@redhat.com>
8604 * gdb.threads/multiple-step-overs.c: New file.
8605 * gdb.threads/multiple-step-overs.exp: New file.
8606 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8607 Adjust expected infrun debug output.
8609 2014-03-20 Pedro Alves <palves@redhat.com>
8611 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8612 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8614 2014-03-20 Pedro Alves <palves@redhat.com>
8617 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8618 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8619 of gdb_test_multiple.
8620 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8621 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8623 2014-03-20 Pedro Alves <palves@redhat.com>
8625 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8626 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8628 2014-03-19 Pedro Alves <palves@redhat.com>
8630 * gdb.base/async.exp: Remove early return.
8632 2014-03-19 Pedro Alves <palves@redhat.com>
8634 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8636 2014-03-19 Pedro Alves <palves@redhat.com>
8638 * gdb.base/async.exp (test_background): Expect \r\n after
8639 "completed." in the fail pattern.
8641 2014-03-19 Pedro Alves <palves@redhat.com>
8643 * gdb.base/async.exp (test_background): New procedure.
8644 Use it for all background execution command tests.
8646 2014-03-19 Pedro Alves <palves@redhat.com>
8648 * gdb.base/async.exp: Use prepare_for_testing.
8650 2014-03-19 Pedro Alves <palves@redhat.com>
8652 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8655 2014-03-19 Pedro Alves <palves@redhat.com>
8657 * gdb.base/async.c (main): Add "jump here" and "until here" line
8659 * gdb.base/async.exp (jump_here): New global.
8660 (jump& test): Use it.
8661 (until_here): New global.
8662 (until& test): Use it.
8664 2014-03-19 Pedro Alves <palves@redhat.com>
8666 * gdb.base/async.exp: Don't frob gdb_protocol.
8668 2014-03-18 Doug Evans <xdje42@gmail.com>
8670 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8671 Fix spelling of exec-done-display.
8673 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8676 * gdb.base/gdb-sigterm.c: New file.
8677 * gdb.base/gdb-sigterm.exp: New file.
8679 2014-03-18 Pedro Alves <palves@redhat.com>
8682 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8683 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8686 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8688 * gdb.ada/pckd_arr_ren: New testcase.
8690 2014-03-13 Doug Evans <xdje42@gmail.com>
8693 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8694 collect after discarding symbols.
8696 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8697 Doug Evans <xdje42@gmail.com>
8699 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8700 to history survives a gc.
8702 2014-03-13 Pedro Alves <palves@redhat.com>
8704 * gdb.base/default.exp: Don't test "target procfs".
8706 2014-03-13 Pedro Alves <palves@redhat.com>
8708 * gdb.base/default.exp: Update "target child" and "target procfs"
8709 tests to not expect "Unix".
8711 2014-03-12 Tom Tromey <tromey@redhat.com>
8713 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8714 New procs. Add target-async tests.
8715 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8716 Add target-async tests.
8718 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8720 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8721 'func_start' and 'func_end' for the beginning and end of the
8722 function code, respectively.
8723 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8724 'func_end' instead of 'func' and 'main'.
8726 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8728 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8729 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8730 generate the debug info assembler source.
8732 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8734 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8735 * gdb.dwarf2/arr-subrange.exp: Likewise.
8736 * gdb.dwarf2/dwz.exp: Likewise.
8737 * gdb.dwarf2/method-ptr.exp: Likewise.
8738 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8739 * gdb.dwarf2/subrange.exp: Likewise.
8740 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8741 * gdb.dwarf2/implptrpiece.exp: Likewise.
8742 * gdb.dwarf2/nostaticblock.exp: Likewise.
8744 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8746 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8747 directory to absolute path name arguments.
8749 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8751 * gdb.ada/tagged_access: New testcase.
8753 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8755 * gdb.btrace/data.exp: Update expected output.
8757 2014-03-06 Yao Qi <yao@codesourcery.com>
8759 * gdb.trace/pr16508.exp: New file.
8761 2014-03-05 Pedro Alves <palves@redhat.com>
8764 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8766 (top level): Adjust to use it. Add tests that exercise breakpoint
8767 interaction with the code-cache.
8769 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8771 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8772 test for 'history-append!'.
8774 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8776 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8777 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8778 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8779 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8780 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8781 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8783 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8785 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8786 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8787 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8789 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8791 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8793 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8795 * gdb.dwarf2/arr-stride.c: New file.
8796 * gdb.dwarf2/arr-stride.exp: New file.
8798 2014-02-26 Pedro Alves <palves@redhat.com>
8800 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8801 that won't ever trigger. Make sure that GDB reports the correct
8802 breakpoint that caused the stop.
8804 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8807 * gdb.base/auto-load-script: New file.
8808 * gdb.base/auto-load.c: New file.
8809 * gdb.base/auto-load.exp: New file.
8812 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8814 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8816 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8817 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8819 2014-02-24 Doug Evans <dje@google.com>
8821 * lib/gdb.exp (run_on_host): Log error output if program fails.
8823 2014-02-21 Pedro Alves <palves@redhat.com>
8825 * gdb.threads/step-after-sr-lock.c: Rename to ...
8826 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8827 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8828 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8831 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8834 * gdb.arch/amd64-stap-special-operands.exp: New file.
8835 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8836 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8837 * gdb.arch/amd64-stap-triplet.S: Likewise.
8838 * gdb.arch/amd64-stap-triplet.c: Likewise.
8840 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8842 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8843 in .section pseudo-op.
8845 2014-02-20 lin zuojian <manjian2006@gmail.com>
8846 Joel Brobecker <brobecker@adacore.com>
8847 Doug Evans <xdje42@gmail.com>
8850 * gdb.dwarf2/dw2-icycle.S: New file.
8851 * gdb.dwarf2/dw2-icycle.c: New file.
8852 * gdb.dwarf2/dw2-icycle.exp: New file.
8854 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8856 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8857 operations on gdb.Value objects.
8858 * gdb.python/py-value-cc.exp: Add new test to test operations on
8861 2014-02-18 Doug Evans <dje@google.com>
8863 * Makefile.in (TESTS): New variable.
8864 (expanded_tests, expanded_tests_or_none): New variables
8865 (check-single): Pass $(expanded_tests_or_none) to runtest.
8866 (check-parallel): Only run tests in $(TESTS) if non-empty.
8867 (check/no-matching-tests-found): New rule.
8868 * README: Document TESTS makefile variable.
8870 2014-02-18 Doug Evans <dje@google.com>
8872 * Makefile.in (check-parallel): rm -rf outputs temp.
8874 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8876 Fix "ERROR: no fileid for" in the testsuite.
8877 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8879 2014-02-12 Doug Evans <dje@google.com>
8881 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8882 (MISCELLANEOUS): New variable.
8883 (clean): rm -rf $(MISCELLANEOUS).
8884 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8885 dwp live in the same directory as symlinks, with each symlink pointed
8886 to a differently named file in a different directory.
8888 2014-02-11 Doug Evans <dje@google.com>
8890 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8891 of Tcl file commands.
8893 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8895 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8898 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8900 * gdb.ada/tick_length_array_enum_idx: New testcase.
8902 2014-02-10 Doug Evans <xdje42@gmail.com>
8904 * configure.ac (AC_OUTPUT): Add gdb.guile.
8905 * configure: Regenerate.
8906 * lib/gdb-guile.exp: New file.
8907 * lib/gdb.exp (get_target_charset): New function.
8908 * gdb.base/help.exp: Update expected output from "apropos apropos".
8909 * gdb.guile/Makefile.in: New file.
8910 * gdb.guile/guile.exp: New file.
8911 * gdb.guile/scm-arch.c: New file.
8912 * gdb.guile/scm-arch.exp: New file.
8913 * gdb.guile/scm-block.c: New file.
8914 * gdb.guile/scm-block.exp: New file.
8915 * gdb.guile/scm-breakpoint.c: New file.
8916 * gdb.guile/scm-breakpoint.exp: New file.
8917 * gdb.guile/scm-disasm.c: New file.
8918 * gdb.guile/scm-disasm.exp: New file.
8919 * gdb.guile/scm-equal.c: New file.
8920 * gdb.guile/scm-equal.exp: New file.
8921 * gdb.guile/scm-error.exp: New file.
8922 * gdb.guile/scm-error.scm: New file.
8923 * gdb.guile/scm-frame-args.c: New file.
8924 * gdb.guile/scm-frame-args.exp: New file.
8925 * gdb.guile/scm-frame-args.scm: New file.
8926 * gdb.guile/scm-frame-inline.c: New file.
8927 * gdb.guile/scm-frame-inline.exp: New file.
8928 * gdb.guile/scm-frame.c: New file.
8929 * gdb.guile/scm-frame.exp: New file.
8930 * gdb.guile/scm-generics.exp: New file.
8931 * gdb.guile/scm-gsmob.exp: New file.
8932 * gdb.guile/scm-iterator.c: New file.
8933 * gdb.guile/scm-iterator.exp: New file.
8934 * gdb.guile/scm-math.c: New file.
8935 * gdb.guile/scm-math.exp: New file.
8936 * gdb.guile/scm-objfile-script-gdb.in: New file.
8937 * gdb.guile/scm-objfile-script.c: New file.
8938 * gdb.guile/scm-objfile-script.exp: New file.
8939 * gdb.guile/scm-objfile.c: New file.
8940 * gdb.guile/scm-objfile.exp: New file.
8941 * gdb.guile/scm-ports.exp: New file.
8942 * gdb.guile/scm-pretty-print.c: New file.
8943 * gdb.guile/scm-pretty-print.exp: New file.
8944 * gdb.guile/scm-pretty-print.scm: New file.
8945 * gdb.guile/scm-section-script.c: New file.
8946 * gdb.guile/scm-section-script.exp: New file.
8947 * gdb.guile/scm-section-script.scm: New file.
8948 * gdb.guile/scm-symbol.c: New file.
8949 * gdb.guile/scm-symbol.exp: New file.
8950 * gdb.guile/scm-symtab-2.c: New file.
8951 * gdb.guile/scm-symtab.c: New file.
8952 * gdb.guile/scm-symtab.exp: New file.
8953 * gdb.guile/scm-type.c: New file.
8954 * gdb.guile/scm-type.exp: New file.
8955 * gdb.guile/scm-value-cc.cc: New file.
8956 * gdb.guile/scm-value-cc.exp: New file.
8957 * gdb.guile/scm-value.c: New file.
8958 * gdb.guile/scm-value.exp: New file.
8959 * gdb.guile/source2.scm: New file.
8960 * gdb.guile/types-module.cc: New file.
8961 * gdb.guile/types-module.exp: New file.
8963 2014-02-10 Yao Qi <yao@codesourcery.com>
8966 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8967 * configure: Regenerated.
8968 * Makefile.in: New file.
8970 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8972 * gdb.python/py-framefilter.exp: Fix typo.
8974 2014-02-08 Yao Qi <yao@codesourcery.com>
8976 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8977 that no =breakpoint-modified is emitted when breakpoints are
8978 modified through MI commands.
8980 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8981 Pedro Alves <palves@redhat.com>
8983 * gdb.threads/step-after-sr-lock.c: New file.
8984 * gdb.threads/step-after-sr-lock.exp: New file.
8986 2014-02-07 Pedro Alves <palves@redhat.com>
8988 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8990 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8992 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8993 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8995 2014-02-06 Doug Evans <xdje42@gmail.com>
8997 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9000 * gdb.gdb/python-interrupts.exp: New file.
9002 2014-02-05 Yao Qi <yao@codesourcery.com>
9004 * gdb.trace/report.exp (use_collected_data): Test the output
9005 of "info threads" and "info inferiors".
9007 2014-02-05 Yao Qi <yao@codesourcery.com>
9011 2013-05-24 Yao Qi <yao@codesourcery.com>
9013 * gdb.trace/tfile.exp: Test inferior and thread.
9015 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9017 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9019 * gdb.base/step-bt.c: Call hello via function pointer to make
9020 sure its first instruction is executed on powerpc64le-linux.
9022 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9024 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9026 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9028 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9029 of the test patterns for use on little-endian systems.
9031 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9033 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9034 (decimal_vector): Fix for little-endian.
9036 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9038 * gdb.arch/sparc-sysstep.exp: New file.
9039 * gdb.arch/sparc-sysstep.c: Likewise.
9041 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9043 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9045 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9047 2014-01-23 Tom Tromey <tromey@redhat.com>
9049 * gdb.ada/array_char_idx: New testcase.
9051 2014-01-23 Tom Tromey <tromey@redhat.com>
9054 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9055 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9058 2014-01-23 Tom Tromey <tromey@redhat.com>
9061 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9062 string from an inferior frame.
9063 * gdb.python/py-framefilter-mi.exp: Update.
9065 2014-01-22 Doug Evans <dje@google.com>
9067 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9069 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9071 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9073 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9075 * gdb.trace/entry-values.exp: Remove excess space character from
9076 regex patterns. Handle s390 call instruction.
9078 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9080 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9081 define "*_start" label. Make "name" static.
9082 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9083 ${name} by references to ${name}_start.
9085 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9087 * gdb.base/info-macros.exp: Remove "debug" from the compile
9090 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9092 * gdb.dlang/demangle.exp: New file.
9094 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9096 * gdb.dlang/primitive-types.exp: New file.
9098 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9100 * configure.ac: Create gdb.dlang/Makefile.
9101 * configure: Regenerate.
9102 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9103 * gdb.dlang/Makefile.in: New file.
9104 * lib/d-support.exp: New file.
9105 * lib/gdb.exp (skip_d_tests): New proc.
9107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9109 * gdb.btrace/delta.exp: Check reverse stepi.
9110 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9111 * gdb.btrace/finish.exp: New.
9112 * gdb.btrace/next.exp: New.
9113 * gdb.btrace/nexti.exp: New.
9114 * gdb.btrace/record_goto.c: Add comments.
9115 * gdb.btrace/step.exp: New.
9116 * gdb.btrace/stepi.exp: New.
9117 * gdb.btrace/multi-thread-step.c: New.
9118 * gdb.btrace/multi-thread-step.exp: New.
9119 * gdb.btrace/rn-dl-bind.c: New.
9120 * gdb.btrace/rn-dl-bind.exp: New.
9121 * gdb.btrace/data.c: New.
9122 * gdb.btrace/data.exp: New.
9123 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9127 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9128 * gdb.btrace/exception.exp: Update.
9129 * gdb.btrace/instruction_history.exp: Update.
9130 * gdb.btrace/record_goto.exp: Update.
9131 * gdb.btrace/tailcall.exp: Update.
9132 * gdb.btrace/unknown_functions.exp: Update.
9133 * gdb.btrace/delta.exp: New.
9135 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9137 * gdb.btrace/record_goto.exp: Add backtrace test.
9138 * gdb.btrace/tailcall.exp: Add backtrace test.
9140 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9142 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9143 * gdb.btrace/record_goto.c: New.
9144 * gdb.btrace/record_goto.exp: New.
9145 * gdb.btrace/x86-record_goto.S: New.
9147 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9149 * gdb.btrace/function_call_history.exp: Update tests.
9150 * gdb.btrace/instruction_history.exp: Update tests.
9152 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9154 * gdb.btrace/function_call_history.exp: Fix expected field
9155 order for "record function-call-history".
9156 Add new tests for "record function-call-history /c".
9157 * gdb.btrace/exception.cc: New.
9158 * gdb.btrace/exception.exp: New.
9159 * gdb.btrace/tailcall.exp: New.
9160 * gdb.btrace/x86-tailcall.S: New.
9161 * gdb.btrace/x86-tailcall.c: New.
9162 * gdb.btrace/unknown_functions.c: New.
9163 * gdb.btrace/unknown_functions.exp: New.
9164 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9168 * gdb.btrace/instruction_history.exp: Update.
9169 * gdb.btrace/function_call_history.exp: Update.
9171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9173 * gdb.btrace/function_call_history.exp: Fix expected function
9175 * gdb.btrace/instruction_history.exp: Initialize traced.
9176 Remove traced_functions.
9178 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9180 * gdb.btrace/function_call_history.exp: Update
9181 * gdb.btrace/instruction_history.exp: Update.
9183 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9185 * gdb.btrace/enable.exp: Update expected text.
9187 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9189 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9192 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9194 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9196 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9198 * lib/gdb.exp (supports_process_record): Return true for
9199 arm*-linux*. (supports_reverse): Likewise.
9201 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9205 * gdb.python/py-type.c: Enhance test case.
9206 * gdb.python/py-value-cc.cc: Likewise
9207 * gdb.python/py-type.exp: Add new tests.
9208 * gdb.python/py-value-cc.exp: Likewise
9210 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9211 Pedro Alves <palves@redhat.com>
9213 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9215 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9216 references to ${name}_start by references to ${name}.
9218 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9220 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9222 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9224 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9226 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9227 Pedro Alves <palves@redhat.com>
9229 * gdb.mi/mi-info-os.exp: Connect to the target with
9232 2014-01-08 Pedro Alves <palves@redhat.com>
9234 * gdb.threads/reconnect-signal.c: New file.
9235 * gdb.threads/reconnect-signal.exp: New file.
9237 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9239 * gdb.base/source-dir.exp: New file.
9241 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9243 * gdb.ada/mi_interface: New testcase.
9245 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9247 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9248 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9249 gdb.ada/pp-rec-component/pck.ads: New files.
9251 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9253 * gdb.python/py-pp-integral.c: New file.
9254 * gdb.python/py-pp-integral.py: New file.
9255 * gdb.python/py-pp-integral.exp: New file.
9257 For older changes see ChangeLog-1993-2013.
9263 ;; version-control: never
9266 Copyright 2014-2016 Free Software Foundation, Inc.
9267 Copying and distribution of this file, with or without modification,
9268 are permitted provided the copyright notice and this notice are preserved.