1 2016-10-06 Tom Tromey <tom@tromey.com>
3 * gdb.compile/compile.exp: Change java tests to rust.
4 * gdb.base/setshow.exp: Change java tests to rust.
5 * gdb.base/default.exp: Remove java from language list.
6 * README (Examples): Update language example.
7 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9 * lib/gdb.exp (skip_java_tests): Remove.
10 * lib/java.exp: Remove.
13 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15 * gdb.arch/mips-fcr.exp: New test.
16 * gdb.arch/mips-fcr.c: Source for the new test.
18 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
20 * gdb.base/solib-disc.exp: Use `standard_output_file'
23 2016-10-06 Pedro Alves <palves@redhat.com>
25 * gdb.base/jit-simple-dl.c: New file.
26 * gdb.base/jit-simple-jit.c: New file, factored out from ...
27 * gdb.base/jit-simple.c: ... this.
28 * gdb.base/jit-simple.exp (jit_run): Delete.
29 (build_jit): New proc.
30 (jit_test_reread): Recompile either the main program or the shared
31 library, depending on what is being tested. Skip changing address
32 if caller wants to. Compare before/after addresses. If testing
33 standalone, explicitly load the binary. Test "maint info
35 (top level): Add "standalone vs shared lib" and "change address"
36 vs "same address" axes.
38 2016-10-06 Pedro Alves <palves@redhat.com>
40 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
43 (jit_test_reread): Use with_test_prefix. Reload the main binary
44 explicitly. Compare the before/after addresses of the JIT
47 2016-08-15 Doug Evans <dje@google.com>
49 * gdb.xml/extra-regs.xml: Update, end field now required, default type
50 for single bitfields is bool.
51 * gdb.xml/tdesc-regs.exp: Ditto.
53 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
55 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
57 2016-10-05 Yao Qi <yao.qi@linaro.org>
59 * lib/gdb.exp (support_complex_tests): Return zero if
60 gdb_skip_float_test return true.
62 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
63 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
66 * gdb.mi/user-selected-context-sync.exp: New file.
67 * gdb.mi/user-selected-context-sync.c: New file.
69 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
70 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
73 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
74 =thread-select-event check.
76 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
78 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
79 the compulsory L operand changes.
80 * gdb.arch/powerpc-power.s: Likewise.
82 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
84 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
85 * gdb.base/jit-attach-pie.c: New file.
86 * gdb.base/jit-attach-pie.exp: New file.
88 2016-09-28 Pedro Alves <palves@redhat.com>
90 * gdb.base/infcall-input.c: New file.
91 * gdb.base/infcall-input.exp: New file.
93 2016-09-22 Yao Qi <yao.qi@linaro.org>
95 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
96 (gdb_exit): Rename it to ...
97 (gdbserver_gdb_exit): ... Close GDBserver.
98 (gdb_exit): New proc, call gdbserver_gdb_exit.
99 (mi_gdb_exit): Likewise.
101 2016-09-22 Yao Qi <yao.qi@linaro.org>
103 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
105 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
108 2016-09-22 Yao Qi <yao.qi@linaro.org>
110 * lib/gdbserver-support.exp: Check the existence of
111 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
113 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
115 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
117 2016-09-21 Tom Tromey <tom@tromey.com>
120 * gdb.base/quit.exp: New file.
122 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
124 * .gitignore: New file.
126 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
128 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
131 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
133 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
135 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
137 * gdb.cp/casts.cc (decltype): Move it ...
138 (main): ... with its call to ...
139 * gdb.cp/casts03.cc: ... a new file.
140 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
142 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
144 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
146 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
148 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
149 and sync up the test with tests in gas/testsuite/gas/ppc.
150 * gdb.arch/powerpc-power.exp: Likewise.
152 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
154 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
156 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
157 Jan Kratochvil <jan.kratochvil@redhat.com>
159 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
160 make m1's definition to be different from m2's. Use 'dummy' as an
161 argument for probe 'two'.
163 2016-09-10 Jon Beniston <jon@beniston.com>
165 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
168 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
170 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
171 variable declaration.
172 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
173 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
174 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
175 received HWCAP as its argument.
177 2016-09-06 Pedro Alves <palves@redhat.com>
179 * gdb.base/new-ui-pending-input.c: New file.
180 * gdb.base/new-ui-pending-input.exp: New file.
181 * gdb.exp (clear_gdb_spawn_id): New procedure.
182 (with_spawn_id): Check whether gdb_spawn_id exists before
183 referencing it. If gdb_spawn_id didn't exist on entry, clear it
186 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
188 * gdb.base/float128.c: New file.
189 * gdb.base/float128.exp: Likewise.
190 * gdb.base/floatn.c: Likewise.
191 * gdb.base/floatn.exp: Likewise.
193 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
195 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
197 2016-09-05 Pedro Alves <palves@redhat.com>
200 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
201 unwinders are immediately called as side effect of "source" or
202 "disable unwinder" commands.
203 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
205 2016-09-02 Yao Qi <yao.qi@linaro.org>
207 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
208 is true and $type is "float" or "double".
210 2016-09-02 Yao Qi <yao.qi@linaro.org>
212 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
214 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
215 * gdb.base/call-rt-st.exp: Likewise.
216 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
217 return value instead of gdb,skip_float_test.
218 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
219 (do_function_calls): Use its return value instead of
221 * gdb.base/finish.exp: Likewise.
222 * gdb.base/funcargs.exp: Likewise.
223 * gdb.base/return.exp: Likewise.
224 * gdb.base/return2.exp: Likewise.
225 * gdb.base/varargs.exp: Likewise.
226 * lib/gdb.exp (gdb_skip_float_test): Change it to
227 gdb_caching_proc. Detect the broken ptrace on arm-linux.
229 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
231 * gdb.multi/tids.exp: Test "thread apply all".
233 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
235 * gdb.base/default.exp (tty): Remove.
237 2016-08-24 Kevin Buettner <kevinb@redhat.com>
239 * gdb.python/py-recurse-unwind.c: New file.
240 * gdb.python/py-recurse-unwind.py: New file.
241 * gdb.python/py-recurse-unwind.exp: New file.
243 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
245 * gdb.base/set-inferior-tty.exp: New file.
246 * gdb.base/set-inferior-tty.c: New file.
248 2016-08-23 Pedro Alves <palves@redhat.com>
251 * gdb.base/new-ui-echo.c: New file.
252 * gdb.base/new-ui-echo.exp: New file.
254 2016-08-23 Yao Qi <yao.qi@linaro.org>
256 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
258 * gdb.server/connect-without-multi-process.exp (do_test):
261 2016-08-23 Yao Qi <yao.qi@linaro.org>
263 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
264 standalone_txt. Delete gdb_txt and standalone_txt on host
265 and target. Spawn the binary on target. Copy files from
268 2016-08-22 Pedro Alves <palves@redhat.com>
271 * gdb.base/vdso-warning.exp: Test core dumps too. Use
272 with_test_prefix. Factor out bits to ...
273 (test_no_vdso): ... this new procedure.
275 2016-08-19 Carl Love <cel@us.ibm.com>
277 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
278 maintaining separate logic for constructing the output path.
279 * gdb.arch/powerpc-d128-regs.exp: Likewise.
280 * gdb.arch/ppc-dfp.exp: Likewise.
281 * gdb.arch/ppc-fp.exp: Likewise.
282 * gdb.arch/vsx-regs.exp: Likewise.
283 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
284 binprefix for generating the additional binary files.
286 2016-08-19 Pedro Alves <palves@redhat.com>
288 * gdb.trace/mi-trace-frame-collected.exp
289 (test_trace_frame_collected): On x32, expect two registers.
291 2016-08-18 Carl Love <cel@us.ibm.com>
293 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
294 and sync up the test with tests in gas/testsuite/gas/ppc.
295 * gdb.arch/powerpc-power.exp: Likewise.
297 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
299 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
300 expected error message.
302 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
304 * gdb.multi/remove-inferiors.exp: New file.
305 * gdb.multi/remove-inferiors.c: New file.
307 2016-08-12 Yao Qi <yao.qi@linaro.org>
309 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
312 2016-08-10 Pedro Alves <palves@redhat.com>
315 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
318 2016-08-09 Pedro Alves <palves@redhat.com>
319 Simon Marchi <simon.marchi@ericsson.com>
322 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
323 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
325 2016-08-09 Pedro Alves <palves@redhat.com>
328 * gdb.mi/mi-cmd-error.exp: New file.
330 2016-08-09 Pedro Alves <palves@redhat.com>
333 * gdb.base/signals-state-child.c: New file.
334 * gdb.base/signals-state-child.exp: New file.
335 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
337 2016-08-09 Pedro Alves <palves@redhat.com>
339 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
341 2016-08-03 Tom Tromey <tom@tromey.com>
344 * gdb.python/py-frame-inline.exp: Add Frame.function test.
346 2016-08-01 Yao Qi <yao.qi@linaro.org>
348 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
349 variable mode to "multi-process" if $multi_process is 1, otherwise
350 set it to "single-process".
352 2016-08-01 Yao Qi <yao.qi@linaro.org>
354 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
355 * gdb.cp/cpexprs.exp: Likewise.
356 * gdb.cp/m-static.exp: Likewise.
358 2016-07-26 Tom Tromey <tom@tromey.com>
361 * gdb.threads/tls.exp (check_thread_local): Add python symbol
364 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
366 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
367 selecting assembly source files.
368 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
369 assembly source files.
370 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
371 assembly source files.
372 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
373 selecting assembly source files.
375 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
377 * gdb.base/new-ui.exp (do_test_invalid_args): New
380 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
382 * gdb.btrace/reconnect.c: New file.
383 * gdb.btrace/reconnect.exp: New file.
385 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
387 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
388 to test_catch_syscall_group.
389 (test_catch_syscall_group): New.
391 2016-07-21 Tom Tromey <tom@tromey.com>
393 * gdb.rust/simple.rs (main): Use empty struct expression.
394 * gdb.rust/simple.exp: Add tests for empty struct expression.
396 2016-07-21 Yao Qi <yao.qi@linaro.org>
398 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
399 if gdb_skip_xml_test is true on some targets.
401 2016-07-21 Yao Qi <yao.qi@linaro.org>
403 * gdb.server/solib-list.exp: Unset last_loaded_file.
405 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
407 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
408 "step into captured_main (args)".
410 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
412 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
414 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
416 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
418 2016-07-19 Pedro Alves <palves@redhat.com>
420 * gdb.opt/inline-break.exp: Remove optimize=-O2.
421 * gdb.opt/inline-bt.exp: Likewise.
422 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
423 additional_flags=-Winline.
424 * gdb.opt/inline-locals.exp: Likewise.
425 * gdb.opt/inline-markers.c (ATTR): Define.
426 (inlined_fn): Use it.
428 2016-07-19 Yao Qi <yao.qi@linaro.org>
430 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
431 (test_with_self): Remove some code. Remove argument executable.
432 (top-level): Use do_self_tests.
434 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
435 Don Breazeal <donb@codesourcery.com>
437 * gdb.base/maint.exp: Escape paths used in regular expressions.
438 * gdb.stabs/weird.exp: Likewise.
440 2016-07-13 Tom Tromey <tom@tromey.com>
442 PR python/15620, PR python/18620:
443 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
444 (test_bkpt_events): New procs.
446 2016-07-13 Tom Tromey <tom@tromey.com>
449 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
451 (test_watchpoints): Likewise.
452 (test_bkpt_pending): New proc.
454 2016-07-13 Tom Tromey <tom@tromey.com>
457 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
460 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
462 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
463 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
464 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
466 (g): Rename g_end_lbl to g_label.
467 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
469 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
471 2016-07-12 Tom Tromey <tom@tromey.com>
474 * gdb.python/py-unwind-maint.exp: Update tests.
476 2016-07-12 Yao Qi <yao.qi@linaro.org>
478 * lib/selftest-support.exp (selftest_setup): Match the output
479 when captured_main is inlined.
481 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
483 * gdb.fortran/derived-types.exp (result_line, result_line_2):
485 (print this%a, print this%b, print this): New tests.
486 * gdb.fortran/derived-types.f90 (this): New object and
489 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
491 * gdb.ada/arraydim.exp: Remove extra directory level in build
494 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
496 * lib/ada.exp: Remove extra directory level in build directory.
497 * gdb.ada/cond_lang.exp: Likewise.
498 * gdb.ada/exec_changed.exp: Likewise.
499 * gdb.ada/lang_switch.exp: Likewise.
501 2016-07-06 Manish Goregaokar <manish@mozilla.com>
503 * simple.rs: Add test for raw pointer subscripting
504 * simple.exp: Add test expectations
506 2016-07-05 Yao Qi <yao.qi@linaro.org>
508 * gdb.mi/mi-reverse.exp: Match =record-started output.
510 2016-07-01 Pedro Alves <palves@redhat.com>
512 * gdb.base/jit-reader.exp (info_registers_current_frame): New
514 (jit_reader_test): Test the jit reader's unwinder.
515 * gdb.base/jithost.c (jit_function_00_code): New global.
516 (main): Use memcpy to fill in the mmapped code, instead of poking
518 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
520 (read_debug_info): Save the function's range.
521 (read_sp): New function.
522 (unwind_frame): Use it. Also unwind RBP.
523 (get_frame_id): Use read_sp.
524 (gdb_init_reader): Use calloc instead of malloc.
525 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
526 parameter. Use gdb_test_multiple.
528 2016-07-01 Pedro Alves <palves@redhat.com>
529 Antoine Tremblay <antoine.tremblay@ericsson.com>
531 * gdb.threads/process-dies-while-detaching.c: New file.
532 * gdb.threads/process-dies-while-detaching.exp: New file.
534 2016-07-01 Pedro Alves <palves@redhat.com>
536 * gdb.multi/watchpoint-multi-exit.c: New file.
537 * gdb.multi/watchpoint-multi-exit.exp: New file.
539 2016-06-30 Pedro Alves <palves@redhat.com>
541 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
542 unset inferior_spawn_id.
544 2016-06-30 Pedro Alves <palves@redhat.com>
546 * lib/mi-support.exp (default_mi_gdb_start): Declare global
547 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
549 2016-06-29 Yao Qi <yao.qi@linaro.org>
551 * gdb.base/return.c: Add copyright header.
553 2016-06-29 Tom Tromey <tom@tromey.com>
556 * gdb.python/py-framefilter.exp: Add tests for setting priority
557 and disabling of non-existent frame filter.
559 2016-06-29 Yao Qi <yao.qi@linaro.org>
561 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
564 2016-06-28 Yao Qi <yao.qi@linaro.org>
566 * gdb.base/catch-syscall.exp: Remove check on isnative and target
567 triplets. Start gdb, execute catch syscall, and continue. Check
568 gdb's output to determine catch syscall is supported.
570 2016-06-27 Manish Goregaokar <manish@mozilla.com>
572 * gdb.rust/simple.rs: Add test for returning unit in a function.
573 * gdb.rust/simple.exp: Add expectation for functions returning
576 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
578 * gdb.python/py-breakpoint-create-fail.c,
579 gdb.python/py-breakpoint-create-fail.exp,
580 gdb.python/py-breakpoint-create-fail.py: New testcase.
582 2016-06-25 Manish Goregaokar <manish@mozilla.com>
585 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
586 * gdb.rust/simple.exp: Add test expectations for new NonZero
589 2016-06-24 David Taylor <dtaylor@emc.com>
591 * gdb.base/offsets.exp: New file.
592 * gdb.base/offsets.c: New file.
594 2016-06-23 Tom Tromey <tom@tromey.com>
597 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
598 before any filters are loaded.
600 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
602 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
603 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
605 * gdb.fortran/derived-type-function.exp: New file.
606 * gdb.fortran/derived-type-function.f90: New file.
609 2016-06-21 Pedro Alves <palves@redhat.com>
611 * gdb.base/new-ui.exp: New file.
612 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
613 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
614 (with_spawn_id): New procedure.
616 2016-06-21 Pedro Alves <palves@redhat.com>
618 * gdb.mi/mi-exec-run.exp: New file.
620 2016-06-21 Pedro Alves <palves@redhat.com>
622 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
623 breakpoint command's output on the main UI.
624 (test_break): New procedure, factored out from calls in the top
626 (top level): Use foreach_with_prefix to test MI as main UI and as
629 2016-06-21 Pedro Alves <palves@redhat.com>
631 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
632 (test_awatch_creation_and_listing)
633 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
634 Remove 'type' parameter.
635 (test_watchpoint_all): New parameter mi_mode. Remove
637 (top level): Use foreach_with_prefix, and add main/separate UI MI
640 2016-06-21 Pedro Alves <palves@redhat.com>
642 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
643 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
644 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
645 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
646 (gdb_main_spawn_id, mi_spawn_id): Declare and
648 (mi_create_inferior_pty): New procedure,
649 factored out from default_mi_gdb_start.
650 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
652 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
653 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
654 Use mi_create_inferior_pty.
655 (mi_gdb_start): Use eval to pass down args list.
657 2016-06-21 Pedro Alves <palves@redhat.com>
659 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
660 * gdb.opt/inline-cmds.exp: Add MI tests.
662 2016-06-21 Pedro Alves <palves@redhat.com>
664 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
666 2016-06-21 Pedro Alves <palves@redhat.com>
668 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
669 (top level): Use it instead of mi_execute_to.
671 2016-06-21 Pedro Alves <palves@redhat.com>
673 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
674 (cont_handler_str): New.
675 (signal_stop_handler): Set stop_handler_str instead of printing to
677 (continue_handler): Set cont_handler_str instead of printing to
679 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
680 mi_send_resuming_command. Print stop_handler_str and
681 cont_handler_str instead of expecting the python events print
684 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
686 * gdb.base/jit-reader.exp: New file.
687 * gdb.base/jithost.c: New file.
688 * gdb.base/jithost.h: New file.
689 * gdb.base/jitreader.c : New file.
690 * gdb.base/jit-protocol.h: New file.
692 2016-06-17 Yao Qi <yao.qi@linaro.org>
694 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
695 parameters follow_fork and detach_on_fork. Set follow-fork-mode
696 and detach-on-fork. Adjust tests.
697 (top level): Invoke break_cond_on_syscall with combinations of
698 syscall, follow-fork-mode and detach-on-fork.
700 2016-06-17 Yao Qi <yao.qi@linaro.org>
702 * gdb.base/step-over-exit.c: New.
703 * gdb.base/step-over-exit.exp: New.
705 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
707 * gdb.base/float.exp: Add target check for nds32*-*-*.
708 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
710 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
712 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
713 for unsupported target features.
714 * gdb.base/call-rt-st.exp: Likewise.
715 * gdb.base/call-sc.exp: Likewise.
716 * gdb.base/call-signal-resume.exp: Likewise.
717 * gdb.base/call-strs.exp: Likewise.
718 * gdb.base/callexit.exp: Likewise.
719 * gdb.base/callfuncs.exp: Likewise.
720 * gdb.base/nodebug.exp: Likewise.
721 * gdb.base/printcmds.exp: Likewise.
722 * gdb.base/ptype.exp: Likewise.
723 * gdb.base/structs.exp: Likewise.
724 * gdb.base/unwindonsignal.exp: Likewise.
725 * gdb.cp/gdb2495.exp: Likewise.
726 * gdb.cp/templates.exp: Likewise.
727 * gdb.cp/virtfunc.exp: Likewise.
728 * gdb.threads/hand-call-in-threads.exp: Likewise.
729 * gdb.threads/interrupted-hand-call.exp: Likewise.
730 * gdb.threads/thread-unwindonsignal.exp: Likewise.
732 2016-06-10 Tom Tromey <tom@tromey.com>
735 * gdb.rust/expr.exp: Add test for integer constant larger than
738 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
740 * gdb.fortran/nested-funcs.exp: New.
741 * gdb.fortran/nested-funcs.f90: New.
743 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
745 * gdb.base/examine-backward.c: New file.
746 * gdb.base/examine-backward.exp: New file.
748 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
750 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
753 2016-06-02 Tom Tromey <tom@tromey.com>
756 * gdb.python/py-shared.exp: Add solib_name test.
758 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
760 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
762 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
765 * gdb.dwarf2/implref.exp: Rename to...
766 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
767 * gdb.dwarf2/implref-array.c: New file.
768 * gdb.dwarf2/implref-array.exp: Likewise.
769 * gdb.dwarf2/implref-global.c: Likewise.
770 * gdb.dwarf2/implref-global.exp: Likewise.
771 * gdb.dwarf2/implref-struct.c: Likewise.
772 * gdb.dwarf2/implref-struct.exp: Likewise.
774 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
776 * gdb.trace/trace-condition.exp: Add 64bit tests.
778 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
780 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
782 (main): Adapt to 8 to 64 bits types.
783 * gdb.trace/trace-condition.exp: Add new tests.
785 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
787 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
789 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
791 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
792 Move condition tests...
793 * gdb.trace/trace-condition.exp: Here.
795 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
797 * gdb.trace/trace-condition.exp: Add counter-case tests.
799 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
802 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
803 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
805 2016-05-27 Pedro Alves <palves@redhat.com>
807 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
809 (top level): Call it, and bail out of DejaGnu is known to be bad.
811 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
813 * gdb.base/whatis.c: Extend the test case.
814 * gdb.base/whatis.exp: Add additional tests.
816 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
818 * gdb.fortran/type.f90: Add pointer variable.
819 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
821 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
823 * gdb.fortran/vla-type.exp: Fix testcase name.
825 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
827 * gdb.fortran/vla-type.exp: Access elements in nested structs.
829 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
831 * gdb.fortran/type.f90: Add nested structures.
832 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
833 * gdb.fortran/derived-type.exp: Adapt expected output.
834 * gdb.fortran/vla-type.exp: Adapt expected output.
836 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
838 * gdb.fortran/whatis_type.exp: Adapt expected output.
840 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
842 * gdb.fortran/print_type.exp: Fix expected output.
843 * gdb.fortran/whatis_type.exp: Fix expected output.
845 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
847 * gdb.fortran/whatis_type.exp: Use multi_line.
849 2016-05-24 Tom Tromey <tom@tromey.com>
852 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
853 use value as an index.
855 2016-05-23 Tom Tromey <tom@tromey.com>
858 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
861 2016-05-24 Pedro Alves <palves@redhat.com>
864 * gdb.threads/clone-attach-detach.c: New file.
865 * gdb.threads/clone-attach-detach.exp: New file.
867 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
869 * gdb.base/annota-input-while-running.exp: Fix syntax error.
871 2016-05-23 Tom Tromey <tom@tromey.com>
873 PR python/19438, PR python/18393:
874 * gdb.python/py-progspace.exp: Add "dir" test.
875 * gdb.python/py-objfile.exp: Add "dir" test.
877 2016-05-23 Yao Qi <yao.qi@linaro.org>
879 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
880 * gdb.arch/thumb2-it.exp: Likewise.
882 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
884 * gdb.mi/mi-threads-interrupt.c: New file.
885 * gdb.mi/mi-threads-interrupt.exp: New file.
887 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
890 * gdb.mi/mi-async-run.exp: New file.
891 * gdb.mi/mi-async-run.c: New file.
893 2016-05-17 Tom Tromey <tom@tromey.com>
894 Manish Goregaokar <manishsmail@gmail.com>
896 * lib/rust-support.exp: New file.
897 * lib/gdb.exp (skip_rust_tests): New proc.
898 (build_executable_from_specs): Handle rust.
899 * lib/future.exp (gdb_find_rustc): New proc.
900 (gdb_default_target_compile): Handle rust.
901 * gdb.rust/expr.exp: New file.
902 * gdb.rust/generics.exp: New file.
903 * gdb.rust/generics.rs: New file.
904 * gdb.rust/methods.exp: New file.
905 * gdb.rust/methods.rs: New file.
906 * gdb.rust/modules.exp: New file.
907 * gdb.rust/modules.rs: New file.
908 * gdb.rust/simple.exp: New file.
909 * gdb.rust/simple.rs: New file.
911 2016-05-17 Tom Tromey <tom@tromey.com>
913 * gdb.base/default.exp (set language): Add rust.
915 2016-05-17 Tom Tromey <tom@tromey.com>
917 * gdb.gdb/unittest.exp: New file.
919 2016-05-16 Yao Qi <yao.qi@linaro.org>
921 * gdb.base/batch-preserve-term-settings.exp: Remove variable
922 shell_prompt. Update shell_prompt_re.
924 2016-05-12 Doug Evans <dje@google.com>
927 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
928 $options when building executable.
929 * gdb.dwarf2/fission-loclists-pie.S: New file.
930 * gdb.dwarf2/fission-loclists-pie.exp: New file.
932 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
934 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
935 of [is_remote target],
937 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
939 * lib/gdb.exp (use_gdb_stub): New procedure.
941 2016-05-03 Yunlian Jiang <yunlian@google.com>
942 Doug Evans <dje@google.com>
945 * gdb.dwarf2/dwp-sepdebug.c: New file.
946 * gdb.dwarf2/dwp-sepdebug.exp: New file.
948 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
950 * gdb.base/detach.exp: Remove is_remote check.
952 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
954 * gdb.base/annota-input-while-running.exp: Don't check for
955 [is_remote target]. Enable annotations after running to main.
956 Remove unused "set test..." line.
958 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
960 * gdb.trace/trace-enable-disable.exp: New file.
961 * gdb.trace/trace-enable-disable.c: New file.
963 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
965 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
966 use it in info sharedlibrary test.
967 * gdb.trace/ftrace-lock.exp: Likewise.
968 * gdb.trace/ftrace.exp: Likewise.
969 * gdb.trace/range-stepping.exp: Likewise.
970 * gdb.trace/trace-break.exp: Likewise.
971 * gdb.trace/trace-condition.exp: Likewise.
972 * gdb.trace/trace-mt.exp: Likewise.
974 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
976 * lib/gdb.exp (gdb_load_shlibs): Rename to...
977 (gdb_load_shlib): ... this.
978 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
980 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
981 * gdb.base/ctxobj.exp: Likewise.
982 * gdb.base/dprintf-pending.exp: Likewise.
983 * gdb.base/dso2dso.exp: Likewise.
984 * gdb.base/fixsection.exp: Likewise.
985 * gdb.base/gcore-relro.exp: Likewise.
986 * gdb.base/gdb1555.exp: Likewise.
987 * gdb.base/global-var-nested-by-dso.exp: Likewise.
988 * gdb.base/gnu-ifunc.exp: Likewise.
989 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
990 * gdb.base/jit-so.exp (one_jit_test): Likewise.
991 * gdb.base/pending.exp: Likewise.
992 * gdb.base/print-file-var.exp: Likewise.
993 * gdb.base/print-symbol-loading.exp: Likewise.
994 * gdb.base/shlib-call.exp: Likewise.
995 * gdb.base/shreloc.exp: Likewise.
996 * gdb.base/so-impl-ld.exp: Likewise.
997 * gdb.base/solib-disc.exp: Likewise.
998 * gdb.base/solib-nodir.exp: Likewise.
999 * gdb.base/solib-overlap.exp: Likewise.
1000 * gdb.base/solib-symbol.exp: Likewise.
1001 * gdb.base/solib-weak.exp (do_test): Likewise.
1002 * gdb.base/sym-file.exp: Likewise.
1003 * gdb.base/symtab-search-order.exp: Likewise.
1004 * gdb.base/type-opaque.exp: Likewise.
1005 * gdb.base/unload.exp: Likewise.
1006 * gdb.base/watchpoint-solib.exp: Likewise.
1007 * gdb.compile/compile.exp: Likewise.
1008 * gdb.cp/gdb2384.exp: Likewise.
1009 * gdb.cp/infcall-dlopen.exp: Likewise.
1010 * gdb.cp/re-set-overloaded.exp: Likewise.
1011 * gdb.fortran/library-module.exp: Likewise.
1012 * gdb.opt/solib-intra-step.exp: Likewise.
1013 * gdb.python/py-finish-breakpoint.exp: Likewise.
1014 * gdb.python/py-shared.exp: Likewise.
1015 * gdb.reverse/solib-precsave.exp: Likewise.
1016 * gdb.reverse/solib-reverse.exp: Likewise.
1017 * gdb.server/solib-list.exp: Likewise.
1018 * gdb.threads/dlopen-libpthread.exp: Likewise.
1019 * gdb.threads/tls-shared.exp: Likewise.
1020 * gdb.threads/tls-so_extern.exp: Likewise.
1021 * gdb.trace/change-loc.exp: Likewise.
1022 * gdb.trace/ftrace-lock.exp: Likewise.
1023 * gdb.trace/ftrace.exp: Likewise.
1024 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1025 * gdb.trace/pending.exp: Likewise.
1026 * gdb.trace/range-stepping.exp: Likewise.
1027 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1028 (strace_info_marker): Likewise.
1029 (strace_probe_marker): Likewise.
1030 (strace_trace_on_same_addr): Likewise.
1031 (strace_trace_on_diff_addr): Likewise.
1032 * gdb.trace/trace-break.exp: Likewise.
1033 * gdb.trace/trace-condition.exp: Likewise.
1034 * gdb.trace/trace-mt.exp: Likewise.
1036 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1038 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1039 result of gdb_remote_download.
1040 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1041 * gdb.base/dso2dso.exp: Likewise.
1042 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1043 * gdb.base/print-file-var.exp: Likewise.
1044 * gdb.base/shlib-call.exp: Likewise.
1045 * gdb.base/shreloc.exp: Likewise.
1046 * gdb.base/solib-overlap.exp: Likewise.
1047 * gdb.base/solib-weak.exp (do_test): Likewise.
1048 * gdb.base/unload.exp: Likewise.
1050 2016-04-27 Yao Qi <yao.qi@linaro.org>
1052 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1055 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1057 * vla-type.exp: Print structure from toplevel.
1059 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1061 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1063 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1066 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1068 * gdb.fortran/vla-type.f90: New file.
1069 * gdb.fortran/vla-type.exp: New file.
1071 2016-04-25 Yao Qi <yao.qi@linaro.org>
1073 * gdb.base/branch-to-self.c: New file.
1074 * gdb.base/branch-to-self.exp: New file.
1076 2016-04-22 Yao Qi <yao.qi@linaro.org>
1078 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1081 2016-04-22 Yao Qi <yao.qi@linaro.org>
1083 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1084 * gdb.base/annota3.exp: Likewise.
1086 2016-04-22 Yao Qi <yao.qi@linaro.org>
1088 * gdb.reverse/step-precsave.exp: Do one step and test program
1089 stops in "callee" and do multiple steps until program goes out
1091 * gdb.reverse/step-reverse.exp: Likewise.
1093 2016-04-22 Yao Qi <yao.qi@linaro.org>
1095 * gdb.trace/signal.exp: Also pass if
1096 $tracepoint_hits($i) > $iterations.
1098 2016-04-22 Yao Qi <yao.qi@linaro.org>
1100 * gdb.trace/signal.c: New file.
1101 * gdb.trace/signal.exp: New file.
1103 2016-04-19 Doug Evans <xdje42@gmail.com>
1105 * gdb.base/bad-file.exp: New file.
1107 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1109 * gdb.dwarf2/implref.exp: New file.
1111 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1113 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1114 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1115 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1116 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1117 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1118 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1119 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1120 * lib/fortran.exp (fortran_int4): New procedure.
1121 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1122 (fortran_logical4): Likewise.
1124 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1126 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1128 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1130 * lib/compiler.c: Add Intel specific preprocessor macros.
1131 * lib/compiler.cc: Likewise.
1133 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1135 * gdb.server/connect-with-no-symbol-file.c: New file.
1136 * gdb.server/connect-with-no-symbol-file.exp: New file.
1138 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1140 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1142 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1144 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1145 standard output directory.
1147 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1149 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1151 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1153 * gdb.btrace/instruction_history.c (loop): Add declaration.
1155 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1157 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1159 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1161 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1162 parentheses to print.
1163 (continue_handler): Likewise.
1165 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1167 * gdb.server/solib-list.exp: Remove is_remote check.
1168 Pass shlib= to gdb_compile. Don't link shared library with
1169 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1170 Run binary filename through "readlink -f" on the target.
1172 2016-04-08 Pedro Alves <palves@redhat.com>
1174 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1175 interpreter filename as argument to gdbserver_spawn.
1176 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1177 Return empty if $last_loaded_file does not exist.
1179 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1181 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1182 * gdb.base/jit-main.c: Use exit after usage.
1184 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1186 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1187 GDBHISTSIZE prior to the tests.
1188 * gdb.base/gdbinit-history.exp: Likewise.
1190 2016-04-07 Pedro Alves <palves@redhat.com>
1192 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1193 instead of build_executable. Use gdb_load_shlibs.
1195 2016-04-07 Yao Qi <yao.qi@linaro.org>
1197 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1198 Execute "si" command.
1200 2016-04-07 Yao Qi <yao.qi@linaro.org>
1202 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1203 number instead of the comments on some line.
1205 2016-04-06 Don Breazeal <donb@codesourcery.com>
1207 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1208 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1210 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1212 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1213 standard_output_file. Remove unused binfile variable.
1215 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1217 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1218 * gdb.python/py-mi-objfile.exp: Match "list main" output
1221 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1223 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1226 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1228 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1230 * gdb.trace/ftrace.exp: Likewise.
1231 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1233 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1234 (gdb_load_shlibs): Copy libraries to test directory when testing
1235 natively. Only set solib-search-path if testing remotely.
1236 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1238 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1240 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1241 gdb_download. Use it even if the target is not remote.
1242 * gdb.base/jit.exp (compile_jit_test): Likewise.
1243 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1244 output directory if the destination board is local, otherwise use
1245 the standard remote_download from DejaGnu.
1246 (gdb_download): Remove.
1247 (gdb_load_shlibs): Use gdb_remote_download instead of
1249 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1250 Use gdb_remote_download instead of gdb_download. Use it even if
1251 the target is not remote.
1252 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1253 instead of gdb_download.
1255 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1257 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1258 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1261 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1264 * gdb.base/printcmds.exp: Add artificial arrays tests.
1266 2016-03-31 Pedro Alves <palves@redhat.com>
1269 * gdb.base/jit-main.c: Include unistd.h.
1270 (ATTACH): Define to 0 if not already defined.
1271 (wait_for_gdb, mypid): New globals.
1272 (WAIT_FOR_GDB): New macro.
1273 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1274 some breakpoint locations.
1275 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1277 (one_jit_test): Add REATTACH parameter, and handle it. Use
1278 continue_to_test_location.
1279 (top level): Test attach, and adjusts calls to one_jit_test.
1281 2016-03-31 Pedro Alves <palves@redhat.com>
1284 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1285 BINSUFFIX parameter, and handle it.
1286 (top level): Adjust calls compile_jit_test.
1288 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1291 * gdb.python/py-mi-events-gdb.py: New file.
1292 * gdb.python/py-mi-events.c: New file.
1293 * gdb.python/py-mi-events.exp: New file.
1295 2016-03-30 Yao Qi <yao.qi@linaro.org>
1297 * gdb.reverse/until-precsave.exp: Match function name only.
1298 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1299 Move malloc to a condition block.
1300 * gdb.reverse/until-reverse.exp: Match function name only.
1302 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1304 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1305 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1306 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1307 variable for GPR 0 instead of assuming it is register 0.
1308 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1309 * lib/trace-support.exp: Add s390 registers.
1311 2016-03-29 Yao Qi <yao.qi@linaro.org>
1313 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1315 2016-03-24 Yao Qi <yao.qi@linaro.org>
1317 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1320 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1322 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1323 maintaining separate logic for constructing the output path.
1325 2016-03-16 Don Breazeal <donb@codesourcery.com>
1327 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1328 Retry fork and waitpid on interrupted system call errors.
1329 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1330 Use with_timeout_factor to increase timeout by factor of 10.
1332 2016-03-15 Don Breazeal <donb@codesourcery.com>
1334 * gdb.cp/scope-err.cc: New test program.
1335 * gdb.cp/scope-err.exp: New test script.
1336 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1337 lines and "set breakpoint here" comment.
1338 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1339 Fixed some whitespace and format issues.
1340 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1341 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1343 2016-03-15 Doug Evans <dje@google.com>
1345 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1346 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1347 All callers updated. Add tests for enums, mixed flags register.
1349 2016-03-15 Doug Evans <dje@google.com>
1351 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1352 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1354 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1356 * gdb.base/default.exp: Add $_as_string to the list of expected
1357 convenience functions.
1359 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1361 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1363 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1365 * gdb.python/py-as-string.exp: New file.
1366 * gdb.python/py-as-string.c: New file.
1368 2016-03-09 Pedro Alves <palves@redhat.com>
1370 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1371 signal" -> "Thread NN received signal" output change.
1372 * gdb.threads/ia64-sigill.exp: Likewise.
1373 * gdb.threads/linux-dp.exp: Likewise.
1374 * gdb.threads/manythreads.exp: Likewise.
1375 * gdb.threads/pending-step.exp: Likewise.
1376 * gdb.threads/print-threads.exp: Likewise.
1377 * gdb.threads/sigstep-threads.exp: Likewise.
1378 * gdb.threads/staticthreads.exp: Likewise.
1379 * gdb.threads/tls.exp: Likewise.
1381 2016-03-09 Pedro Alves <palves@redhat.com>
1383 * gdb.base/command-line-input.exp: New file.
1385 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1387 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1388 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1389 * gdb.trace/pending.exp: Accept leading dot before function name.
1390 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1391 * lib/trace-support.exp: Set registers for ppc.
1393 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1395 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1396 use it for disassembly; accept .main in addition to main in backtrace.
1398 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1399 Marcin Kościelnicki <koriakin@0x04.net>
1401 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1402 (gdb_recursion_test_ptr): New global variable.
1403 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1405 (gdb_c_test): Ditto.
1407 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1409 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1412 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1414 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1415 (bar): Add bar_start_lbl label.
1416 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1417 of foo/bar for emitting DWARF and tracing.
1419 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1421 * analyze-racy-logs.py: Set executable bit.
1423 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1425 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1426 (CHECK_TARGET_TMP): Likewise.
1427 (check-single-racy): New rule.
1428 (check-parallel-racy): Likewise.
1429 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1430 (do-check-parallel-racy): New rule.
1431 (check-racy/%.exp): Likewise.
1432 * README (Racy testcases): New section.
1433 * analyze-racy-logs.py: New file.
1435 2016-03-03 Doug Evans <dje@google.com>
1437 * gdb.base/skip.exp: Use with_test_prefix.
1439 2016-03-03 Yao Qi <yao.qi@linaro.org>
1441 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1442 Invoke step_over_syscall "clone" and break_cond_on_syscall
1444 * gdb.base/step-over-clone.c: New file.
1446 2016-03-03 Yao Qi <yao.qi@linaro.org>
1448 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1451 2016-03-03 Yao Qi <yao.qi@linaro.org>
1453 * gdb.base/disp-step-fork.c: Rename to ...
1454 * gdb.base/step-over-fork.c: ... it. New file.
1455 * gdb.base/disp-step-vfork.c: Rename to ...
1456 * gdb.base/step-over-vfork.c: ... it. New file.
1457 * gdb.base/disp-step-syscall.exp: Rename to ...
1458 * gdb.base/step-over-syscall.exp: ... it. New file.
1459 (disp_step_cross_syscall): Rename to ...
1460 (step_over_syscall): ... it.
1462 2016-03-03 Yao Qi <yao.qi@linaro.org>
1464 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1465 If target supports condition evaluation on target, invoke
1466 break_cond_on_syscall for fork and vfork.
1468 2016-03-03 Yao Qi <yao.qi@linaro.org>
1470 * gdb.base/disp-step-syscall.exp: Don't invoke
1471 support_displaced_stepping.
1472 (disp_step_cross_syscall): Test with displaced stepping off and
1475 2016-03-03 Yao Qi <yao.qi@linaro.org>
1477 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1480 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1483 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1485 * gdb.fortran/vla-history.exp: Remove breakpoint.
1487 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1489 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1492 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1494 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1497 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1499 * gdb.mi/vla.f90: Nullify pointer after declaration.
1501 2016-03-01 Pedro Alves <palves@redhat.com>
1503 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1505 2016-03-01 Pedro Alves <palves@redhat.com>
1507 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1508 before anything else.
1509 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1511 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1512 before anything else.
1513 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1515 2016-03-01 Pedro Alves <palves@redhat.com>
1517 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1519 2016-03-01 Yao Qi <yao.qi@linaro.org>
1521 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1522 prepare_for_testing.
1524 2016-03-01 Yao Qi <yao.qi@linaro.org>
1526 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1528 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1530 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1531 manually constructing the output path.
1533 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1535 * gdb.arch/s390-stackless.S: New.
1536 * gdb.arch/s390-stackless.exp: New.
1538 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1540 * gdb.dlang/circular.c: New file.
1541 * gdb.dlang/circular.exp: New file.
1543 2016-02-26 Yao Qi <yao.qi@linaro.org>
1545 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1546 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1547 (testcases): Update.
1549 2016-02-26 Yao Qi <yao.qi@linaro.org>
1551 * gdb.reverse/aarch64.c: Rename to ...
1552 * gdb.reverse/insn-reverse.c: ... it.
1553 * gdb.reverse/aarch64.exp: Rename to ...
1554 * gdb.reverse/insn-reverse.exp: ... it.
1556 2016-02-26 Yao Qi <yao.qi@linaro.org>
1558 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1559 (testcase_ftype): New.
1560 (testcases): New array.
1562 (main): Call each element in testcases.
1563 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1564 (read_testcase): New.
1565 Do the tests in a loop.
1567 2016-02-25 Yao Qi <yao.qi@linaro.org>
1569 * gdb.base/branches.c: Remove.
1571 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1574 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1576 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1578 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1580 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1582 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1583 change x86_64 call_insn to 'callq'.
1585 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1587 * gdb.trace/tfile-avx.c: Move to...
1588 * gdb.trace/tracefile-pseudo-reg.c: Here.
1589 * gdb.trace/tfile-avx.exp: Move to...
1590 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1592 2016-02-24 Gary Benson <gbenson@redhat.com>
1594 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1597 2016-02-23 Doug Evans <dje@google.com>
1599 * gdb.base/skip.c (test_skip): New function.
1600 (end_test_skip_file_and_function): New function.
1601 (test_skip_file_and_function): New function.
1602 * gdb.base/skip1.c (test_skip): New function.
1603 (skip1_test_skip_file_and_function): New function.
1604 * gdb.base/skip.exp: Add tests for new skip options.
1605 * gdb.base/skip-solib.exp: Update expected output.
1606 * gdb.perf/skip-command.cc: New file.
1607 * gdb.perf/skip-command.exp: New file.
1608 * gdb.perf/skip-command.py: New file.
1610 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1612 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1613 info registers pattern.
1615 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1617 * lib/future.exp: Add D support.
1618 (gdb_find_gdc): New proc.
1619 (gdb_default_target_compile): Add D support.
1621 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1623 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1625 (trace_speed_test): Determine the iteration count for a time
1626 between 15..30 seconds.
1628 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1630 * gdb.arch/i386-mpx-sigsegv.c: New file.
1631 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1632 * gdb.arch/i386-mpx-simple_segv.c: New file.
1633 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1635 2016-02-18 Yao Qi <yao.qi@linaro.org>
1637 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1638 Don't call setup_kfail.
1640 2016-02-18 Yao Qi <yao.qi@linaro.org>
1642 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1643 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1645 2016-02-16 Doug Evans <dje@google.com>
1647 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1648 * gdb.base/skip1.c: Ditto.
1649 * gdb.base/skip.exp: Whitespace cleanup.
1651 2016-02-16 Don Breazeal <donb@codesourcery.com>
1654 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1655 Remove kfail for PR remote/19496.
1657 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1659 * lib/gdb.exp (standard_temp_file): Return a path specific to
1660 the runtest invocation.
1662 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1664 * gdb.trace/save-trace.exp: Change relative path to be in the
1665 standard output directory.
1667 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1669 * gdb.arch/i386-prologue.c: Add missing prototypes.
1671 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1673 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1674 * gdb.arch/i386-prologue.exp: Likewise.
1675 * gdb.arch/i386-size.exp: Likewise.
1677 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1679 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1680 define object file path.
1681 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1683 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1684 standard_output_file to define binfile.
1686 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1688 Fix compatibility with recent gfortran-5.3.1.
1689 * gdb.fortran/vla-history.exp (print vla1 allocated)
1690 (print vla2 allocated, print $2, print $3): Remove
1691 (print $4): Rename to ...
1692 (print $2): ... here.
1693 (print $9): Rename to ...
1694 (print $5): ... here.
1695 (print $10): Rename to ...
1696 (print $6): ... here.
1697 * gdb.fortran/vla.f90: Add pvla initialization.
1699 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1701 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1703 * gdb.fortran/vla-value-sub.exp: Likewise.
1705 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1707 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1709 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1711 * i386-biarch-core.exp: Define corefile using
1712 standard_output_file.
1714 2016-02-12 Yao Qi <yao.qi@linaro.org>
1716 * gdb.arch/arm-single-step-kernel-helper.c: New.
1717 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1719 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1721 * gdb.btrace/tailcall-only.exp: New.
1722 * gdb.btrace/tailcall-only.c: New.
1723 * gdb.btrace/x86_64-tailcall-only.S: New.
1724 * gdb.btrace/i686-tailcall-only.S: New.
1726 2016-02-11 Pedro Alves <palves@redhat.com>
1728 * README (Parallel testing): Add missing double quotes.
1730 2016-02-11 Pedro Alves <palves@redhat.com>
1732 * README (Parallel testing): New section.
1733 (GDB_PARALLEL): Rewrite.
1734 (FORCE_PARALLEL): Document.
1736 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1738 * gdb.trace/tfile-avx.c: New test.
1739 * gdb.trace/tfile-avx.exp: New test.
1741 2016-02-09 Keith Seitz <keiths@redhat.com>
1743 PR breakpoints/19546
1744 * gdb.base/infcall-exec.c: New file.
1745 * gdb.base/infcall-exec2.c: New file.
1746 * gdb.base/infcall-exec.exp: New file.
1748 2016-02-09 Keith Seitz <keiths@redhat.com>
1750 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1751 (toplevel): Call test_bkpt_address.
1753 2016-02-09 Keith Seitz <keiths@redhat.com>
1756 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1757 (toplevel): Call test_bkpt_address.
1759 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1761 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1763 * configure: Regenerate.
1765 2016-02-09 Pedro Alves <palves@redhat.com>
1767 PR breakpoints/19548
1768 * gdb.base/execl-update-breakpoints.c (some_function): New
1771 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1772 Tighten expected GDB output.
1774 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1776 * Makefile.in (ALL_SUBDIRS): Remove.
1777 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1778 (distclean maintainer-clean realclean): Likewise.
1779 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1780 * configure: Regenerate.
1781 * gdb.ada/Makefile.in: Delete.
1782 * gdb.arch/Makefile.in: Likewise.
1783 * gdb.asm/Makefile.in: Likewise.
1784 * gdb.base/Makefile.in: Likewise.
1785 * gdb.btrace/Makefile.in: Likewise.
1786 * gdb.cell/Makefile.in: Likewise.
1787 * gdb.compile/Makefile.in: Likewise.
1788 * gdb.cp/Makefile.in: Likewise.
1789 * gdb.disasm/Makefile.in: Likewise.
1790 * gdb.dlang/Makefile.in: Likewise.
1791 * gdb.dwarf2/Makefile.in: Likewise.
1792 * gdb.fortran/Makefile.in: Likewise.
1793 * gdb.gdb/Makefile.in: Likewise.
1794 * gdb.go/Makefile.in: Likewise.
1795 * gdb.guile/Makefile.in: Likewise.
1796 * gdb.java/Makefile.in: Likewise.
1797 * gdb.linespec/Makefile.in: Likewise.
1798 * gdb.mi/Makefile.in: Likewise.
1799 * gdb.modula2/Makefile.in: Likewise.
1800 * gdb.multi/Makefile.in: Likewise.
1801 * gdb.objc/Makefile.in: Likewise.
1802 * gdb.opencl/Makefile.in: Likewise.
1803 * gdb.opt/Makefile.in: Likewise.
1804 * gdb.pascal/Makefile.in: Likewise.
1805 * gdb.perf/Makefile.in: Likewise.
1806 * gdb.python/Makefile.in: Likewise.
1807 * gdb.reverse/Makefile.in: Likewise.
1808 * gdb.server/Makefile.in: Likewise.
1809 * gdb.stabs/Makefile.in: Likewise.
1810 * gdb.threads/Makefile.in: Likewise.
1811 * gdb.trace/Makefile.in: Likewise.
1812 * gdb.xml/Makefile.in: Likewise.
1813 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1815 (standard_output_file): Remove check for GDB_PARALLEL, always
1816 return path in outputs/$subdir/$testname.
1818 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1820 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1821 (site.exp): Assign abs_srcdir to tcl's srcdir.
1823 2016-02-04 Yao Qi <yao.qi@linaro.org>
1825 * gdb.base/foll-exec-mode.c: Include limits.h.
1826 (main): Add parameters argc and argv. Get directory from
1828 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1830 * gdb.base/foll-exec.c: Include limits.h.
1831 (main): Add parameters argc and argv.
1832 Get directory from argv[0].
1833 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1834 Adjust tests on the number of lines as source code changed.
1835 * gdb.base/foll-vfork-exit.c: Include limits.h.
1836 (main): Add one line of statement before vfork.
1837 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1838 (main): Add parameters argc and argv. Get directory from
1840 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1841 (setup_gdb): Set tbreak to skip some source lines.
1842 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1843 (main): Add parameters argc and argv. Get directory from
1845 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1847 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1848 (main): Add parameters argc and argv. Get directory from
1850 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1853 2016-02-01 Doug Evans <dje@google.com>
1855 * gdb.base/skip.exp: Clean up multiple references to same test name.
1857 2016-02-01 Pedro Alves <palves@redhat.com>
1860 * gdb.threads/forking-threads-plus-breakpoint.exp
1861 (displaced_stepping_supported): New global.
1862 (probe_displaced_stepping_support): New procedure.
1863 (do_test): Add 'displaced' parameter, and use it.
1864 (top level): Check for displaced stepping support. Add displaced
1865 stepping on/off testing axis.
1867 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1869 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1870 pointer. Don't perform further tests on the unassociated pointer
1871 if the first test fails.
1873 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1875 * gdb.base/max-value-size.c: New file.
1876 * gdb.base/max-value-size.exp: New file.
1877 * gdb.base/huge.exp: Disable max-value-size for this test.
1879 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1881 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1883 2016-01-28 Yao Qi <yao.qi@linaro.org>
1885 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1887 2016-01-25 Pedro Alves <palves@redhat.com>
1890 * gdb.base/fork-running-state.c: New file.
1891 * gdb.base/fork-running-state.exp: New file.
1893 2016-01-25 Pedro Alves <palves@redhat.com>
1896 * gdb.base/catch-fork-kill.c: New file.
1897 * gdb.base/catch-fork-kill.exp: New file.
1899 2016-01-25 Pedro Alves <palves@redhat.com>
1901 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1902 Delete, moved to lib/gdb.exp.
1903 * gdb.threads/forking-threads-plus-breakpoint.exp
1904 (foreach_with_prefix): Likewise.
1905 * gdb.threads/process-dies-while-handling-bp.exp
1906 (foreach_with_prefix): Likewise.
1907 * lib/gdb.exp (foreach_with_prefix): New procedure.
1909 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1911 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1912 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1914 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1916 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1919 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1920 Pedro Alves <palves@redhat.com>
1922 Fix testsuite compatibility with Guile.
1923 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1926 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1928 Fix testsuite compatibility with Guile.
1929 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1930 (thread 1): New test for backtrace through signal handler.
1932 2016-01-22 Yao Qi <yao.qi@linaro.org>
1935 * gdb.base/multi-forks.c: Include
1936 ../lib/unbuffer_output.c
1937 (main): Call gdb_unbuffer_output.
1939 2016-01-21 Doug Evans <dje@google.com>
1941 * lib/ada.exp (gdb_compile_ada): Fix typo.
1943 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1945 * gdb.base/break-fun-addr.exp: New file.
1946 * gdb.base/break-fun-addr1.c: New file.
1947 * gdb.base/break-fun-addr2.c: New file.
1949 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1951 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1952 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1955 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1957 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1958 when GDB can not set the vector return value. Add more comments
1961 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1963 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1966 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1968 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1970 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1972 * Makefile.in (check-single): Pass --status to runtest.
1973 (check/%.exp): Likewise.
1975 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1977 * Makefile.in (check-parallel): Propagate return code from make
1980 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1982 * gdb.trace/ftrace.exp: Fix expected message on continue.
1983 * gdb.trace/pending.exp: Fix expected message on continue.
1984 * gdb.trace/trace-break.exp: Fix expected message on continue.
1986 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1988 * lib/gdb.exp (gdb_test): Remove unused global references.
1990 2016-01-18 Pedro Alves <palves@redhat.com>
1992 * gdb.base/async-shell.exp: Adjust expected output.
1993 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1994 * gdb.base/siginfo-thread.exp: Adjust expected output.
1995 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1996 * gdb.java/jnpe.exp: Adjust expected output.
1997 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1998 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1999 * gdb.threads/leader-exit.exp: Adjust expected output.
2000 * gdb.threads/manythreads.exp: Adjust expected output.
2001 * gdb.threads/pthreads.exp: Adjust expected output.
2002 * gdb.threads/schedlock.exp: Adjust expected output.
2003 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2004 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2006 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2008 * gdb.threads/sigthread.exp: Adjust expected output.
2009 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2011 2016-01-18 Yao Qi <yao.qi@linaro.org>
2013 * gdb.guile/scm-section-script.c: Replace @progbits with
2015 * gdb.python/py-section-script.c: Likewise.
2017 2016-01-15 Pedro Alves <palves@redhat.com>
2019 * gdb.multi/tids.exp: Test star wildcard ranges.
2021 2016-01-15 Pedro Alves <palves@redhat.com>
2023 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2024 command from "thread apply" invocation.
2025 (thr_apply_info_thr_invalid): Default the expected output to the
2027 (top level): Add tests that use convenience variables. Add tests
2028 for "thread apply" with a valid TID list, but missing the command.
2030 2016-01-13 Pedro Alves <palves@redhat.com>
2032 * gdb.base/default.exp: Expect $_gthread as well.
2033 * gdb.multi/tids.exp: Test $_gthread.
2034 * gdb.threads/thread-specific.exp: Test $_gthread.
2036 2016-01-13 Pedro Alves <palves@redhat.com>
2038 * gdb.multi/tids.exp: Test "info threads -gid".
2040 2016-01-13 Pedro Alves <palves@redhat.com>
2042 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2044 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2046 2016-01-07 Pedro Alves <palves@redhat.com>
2048 * gdb.base/break.exp: Adjust to output changes.
2049 * gdb.base/hbreak2.exp: Likewise.
2050 * gdb.base/sepdebug.exp: Likewise.
2051 * gdb.base/watch_thread_num.exp: Likewise.
2052 * gdb.linespec/keywords.exp: Likewise.
2053 * gdb.multi/info-threads.exp: Likewise.
2054 * gdb.threads/thread-find.exp: Likewise.
2055 * gdb.multi/tids.c: New file.
2056 * gdb.multi/tids.exp: New file.
2058 2016-01-13 Pedro Alves <palves@redhat.com>
2060 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2062 2016-01-13 Pedro Alves <palves@redhat.com>
2064 * gdb.base/default.exp: Expect $_inferior as well.
2065 * gdb.multi/base.exp: Test $_inferior.
2067 2016-01-13 Pedro Alves <palves@redhat.com>
2069 PR breakpoints/19388
2070 * gdb.base/catch-signal-siginfo-cond.c: New file.
2071 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2073 2016-01-12 Josh Stone <jistone@redhat.com>
2074 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2076 * gdb.base/catch-syscall.c (do_execve): New variable.
2077 (main): Conditionally trigger an execve.
2078 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2079 (test_catch_syscall_execve): New, check entry/return across execve.
2080 (do_syscall_tests): Call test_catch_syscall_execve.
2082 2016-01-12 Pedro Alves <palves@redhat.com>
2084 * gdb.base/random-signal.exp (do_test): New procedure, with body
2085 of testcase moved in.
2087 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2088 Pedro Alves <palves@redhat.com>
2090 * gdb.base/funcargs.exp (finish from indirectly called function):
2091 Reintroduce the case for 'First'.
2093 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 Pedro Alves <palves@redhat.com>
2096 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2097 (tcatch_vfork_then_child_follow_exec)
2098 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2101 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2103 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2104 and repeats to unlimited.
2105 * gdb.python/py-value.exp: Likewise.
2106 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2107 and repeats to unlimited.
2109 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2111 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2112 and reordering the functions.
2113 * gdb.multi/hangout.c: Likewise.
2114 * gdb.multi/hello.c: Likewise.
2116 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2118 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2120 (SingleStatisticTestResult.report): Use dict.keys instead of
2123 2016-01-06 Pedro Alves <palves@redhat.com>
2125 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2127 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2129 * gdb.btrace/dlopen.exp: New.
2130 * gdb.btrace/dlopen.c: New.
2131 * gdb.btrace/dlopen-dso.c: New.
2133 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2135 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2136 PATTERN argument is optional.
2138 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2140 * lib/ada.exp (target_compile_ada_from_dir): New function.
2141 (gdb_compile_ada): Reimplement avoiding the use of project files.
2142 * gdb.ada/gnat_ada.gpr: Delete.
2143 * gdb.ada/cond_lang.exp: Adjust test to make path before
2145 * gdb.ada/small_reg_param.exp: Likewise.
2147 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2149 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2151 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2153 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2156 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2158 * gdb.base/break.exp: Remove dead code.
2159 * gdb.base/sepdebug.exp: Likewise.
2161 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2163 * gdb.asm/asm-source.exp: Remove HP-UX references.
2164 * gdb.base/annota1.exp: Likewise.
2165 * gdb.base/annota3.exp: Likewise.
2166 * gdb.base/attach.exp: Likewise.
2167 * gdb.base/bigcore.exp: Likewise.
2168 * gdb.base/break.exp: Likewise.
2169 * gdb.base/call-ar-st.exp: Likewise.
2170 * gdb.base/callfuncs.exp: Likewise.
2171 * gdb.base/catch-fork-static.exp: Likewise.
2172 * gdb.base/display.exp: Likewise.
2173 * gdb.base/foll-exec-mode.exp: Likewise.
2174 * gdb.base/foll-exec.exp: Likewise.
2175 * gdb.base/foll-fork.exp: Likewise.
2176 * gdb.base/foll-vfork.exp: Likewise.
2177 * gdb.base/funcargs.exp: Likewise.
2178 * gdb.base/hbreak2.exp: Likewise.
2179 * gdb.base/inferior-died.exp: Likewise.
2180 * gdb.base/interrupt.exp: Likewise.
2181 * gdb.base/multi-forks.exp: Likewise.
2182 * gdb.base/nodebug.exp: Likewise.
2183 * gdb.base/sepdebug.exp: Likewise.
2184 * gdb.base/solib1.c: Likewise.
2185 * gdb.base/step-test.exp: Likewise.
2186 * gdb.mi/non-stop.c: Likewise.
2187 * gdb.mi/pthreads.c: Likewise.
2188 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2189 * gdb.threads/pthreads.c: Likewise.
2190 * gdb.threads/staticthreads.exp: Likewise.
2191 * lib/future.exp: Likewise.
2192 * lib/gdb.exp: Likewise.
2193 * gdb.base/so-indr-cl.c: Remove.
2194 * gdb.base/so-indr-cl.exp: Likewise.
2195 * gdb.base/solib.c: Likewise.
2196 * gdb.base/solib.exp: Likewise.
2197 * gdb.base/solib2.c: Likewise.
2199 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2201 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2202 * gdb.base/call-ar-st.exp: Likewise.
2203 * gdb.base/callfuncs.exp: Likewise.
2204 * gdb.base/condbreak.exp: Likewise.
2205 * gdb.base/constvars.exp: Likewise.
2206 * gdb.base/hbreak2.exp: Likewise.
2207 * gdb.base/langs.exp: Likewise.
2208 * gdb.base/list.exp: Likewise.
2209 * gdb.base/long_long.exp: Likewise.
2210 * gdb.base/ptype.exp: Likewise.
2211 * gdb.base/scope.exp: Likewise.
2212 * gdb.base/signals.exp: Likewise.
2213 * gdb.base/so-impl-ld.exp: Likewise.
2214 * gdb.base/varargs.exp: Likewise.
2215 * gdb.base/volatile.exp: Likewise.
2216 * gdb.base/whatis.exp: Likewise.
2217 * gdb.cp/cplusfuncs.exp: Likewise.
2218 * gdb.cp/inherit.exp: Likewise.
2219 * gdb.cp/local.exp: Likewise.
2220 * gdb.cp/member-ptr.exp: Likewise.
2221 * gdb.cp/method.exp: Likewise.
2222 * gdb.cp/overload.exp: Likewise.
2223 * gdb.cp/templates.exp: Likewise.
2224 * gdb.stabs/weird.exp: Likewise.
2225 * lib/compiler.c: Likewise.
2226 * lib/compiler.cc: Likewise.
2227 * lib/cp-support.exp: Likewise.
2228 * lib/gdb.exp: Likewise.
2230 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2232 * configure.ac: Remove HP-UX case.
2233 * configure: Regenerate.
2235 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2237 * lib/gdb.exp (gdb_compile): Add function doc.
2239 2015-12-17 Pedro Alves <palves@redhat.com>
2242 * gdb.multi/info-threads.exp: New file.
2244 2015-12-15 Yao Qi <yao.qi@linaro.org>
2246 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2249 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2251 * gdb.base/history-duplicates.exp: Skip if no readline support.
2253 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2255 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2257 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2259 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2261 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2263 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2264 ctrl-C if nointerrupts target property is set.
2265 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2266 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2267 * gdb.base/paginate-bg-execution.exp: Likewise.
2268 * gdb.base/paginate-execution-startup.exp: Likewise.
2269 * gdb.base/random-signal.exp: Likewise.
2270 * gdb.base/range-stepping.exp: Likewise.
2271 * gdb.cp/annota2.exp: Likewise.
2272 * gdb.cp/annota3.exp: Likewise.
2273 * gdb.gdb/selftest.exp: Likewise.
2274 * gdb.threads/continue-pending-status.exp: Likewise.
2275 * gdb.threads/leader-exit.exp: Likewise.
2276 * gdb.threads/manythreads.exp: Likewise.
2277 * gdb.threads/pthreads.exp: Likewise.
2278 * gdb.threads/schedlock.exp: Likewise.
2279 * gdb.threads/sigthread.exp: Likewise.
2281 2015-12-11 Don Breazeal <donb@codesourcery.com>
2283 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2285 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2286 * gdb.base/foll-exec.exp (main): Enable for target remote.
2287 * gdb.base/foll-fork.exp (main): Likewise.
2288 * gdb.base/foll-vfork.exp (main): Likewise.
2289 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2290 (proc continue_to_exit_bp_loc): Use clean_restart.
2291 * gdb.base/pie-execl.exp (main): Disable for target remote.
2292 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2293 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2294 * gdb.threads/execl.exp (main): Likewise.
2295 * gdb.threads/fork-child-threads.exp (main): Likewise.
2296 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2298 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2300 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2301 pid.tid style ptids, instead of just tid.
2302 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2303 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2304 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2305 ptids, instead of just tid.
2307 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2309 * gdb.base/list.exp (test_list_forward): Add end of file error
2311 (test_repeat_list_command): Add end of file error test.
2312 (test_list_backwards): Add beginning of file error test.
2314 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2316 * gdb.base/list.exp (test_list_invalid_args): New function,
2317 defined, and called.
2319 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2321 * gdb.base/list.exp (test_list): Make test names unique.
2323 2015-12-11 Yao Qi <yao.qi@linaro.org>
2325 * gdb.base/coremaker2.c: Remove.
2327 2015-12-10 Pedro Alves <palves@redhat.com>
2329 * gdb.multi/base.exp: Remove stale "spaces" references.
2331 2015-12-10 Pedro Alves <palves@redhat.com>
2333 * gdb.multi/base.exp: Don't use nowarnings.
2334 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2335 * gdb.multi/hangout.c: Include stdio.h.
2336 * gdb.multi/hello.c: Include stdlib.h.
2337 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2338 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2339 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2341 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2343 * gdb.dwarf2/dw2-ranges-base.c: New file.
2344 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2345 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2346 support additional line table, and debug ranges generation.
2347 (Dwarf::ranges): New function, generate .debug_ranges.
2348 (Dwarf::lines): Support generating simple line table programs.
2349 (Dwarf::assemble): Initialise new namespace variables.
2351 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2353 * gdb.base/async.exp (proc test_background): Add case for
2354 asynchronous execution not supported.
2356 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2358 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2359 format and change test names to make them unique.
2361 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2362 Pedro Alves <pedro@redhat.com>
2365 Add checking of floatformats setup on x86_64 hosts.
2366 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2367 (smallval, bigval): New labels/constants.
2368 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2369 float" after loading bigval and smallval.
2371 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2373 * gdb.ada/fun_overload_menu.exp: New testcase.
2374 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2376 2015-12-04 Josh Stone <jistone@redhat.com>
2378 * gdb.base/catch-fork-static.exp: New.
2380 2015-12-03 Yao Qi <yao.qi@linaro.org>
2382 * gdb.base/sizeof.c: Don't include stdio.h and
2383 ../lib/unbuffer_output.c.
2384 (main): New variable 'size' and 'value'. Remove printf and
2385 gdb_unbuffer_output. Assign return value to size and value.
2386 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2388 (check_sizeof): Check the result by printing variable 'size'.
2389 (check_valueof): Check the result by printing variable 'value'.
2391 2015-12-01 Yao Qi <yao.qi@linaro.org>
2393 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2394 for aarch64*-*-linux* target.
2396 2015-11-30 Pedro Alves <palves@redhat.com>
2398 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2400 2015-11-30 Pedro Alves <palves@redhat.com>
2402 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2403 Handle non-stop mode vCont replies.
2405 2015-11-30 Pedro Alves <palves@redhat.com>
2407 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2408 prepare_for_testing. Start gdb with "set non-stop on" appended to
2409 GDBFLAGS. Lax expected stop output.
2411 2015-11-27 Yao Qi <yao.qi@linaro.org>
2413 * gdb.arch/arm-neon.exp: New.
2414 * gdb.arch/arm-neon.c: New.
2416 2015-11-27 Yao Qi <yao.qi@linaro.org>
2418 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2420 2015-11-27 Yao Qi <yao.qi@linaro.org>
2422 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2423 frames-invalid annotation.
2425 2015-11-27 Yao Qi <yao.qi@linaro.org>
2427 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2429 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2431 * gdb.threads/names.exp: New file.
2432 * gdb.threads/names.c: New file.
2433 * README: Mention gdb,no_thread_names.
2435 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2438 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2441 2015-11-24 Pedro Alves <palves@redhat.com>
2444 * gdb.base/display.exp: Expect displays to be sorted in ascending
2445 order. Use multi_line.
2446 * gdb.base/solib-display.exp: Likewise.
2448 2015-11-24 Pedro Alves <palves@redhat.com>
2451 * gdb.base/display.exp: Expect displays to be sorted in ascending
2452 order. Use multi_line.
2453 * gdb.base/solib-display.exp: Likewise.
2455 2015-11-24 Pedro Alves <palves@redhat.com>
2458 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2459 threads in ascending order.
2460 * gdb.base/foll-fork.exp: Likewise.
2461 * gdb.base/foll-vfork.exp: Likewise.
2462 * gdb.base/multi-forks.exp: Likewise.
2463 * gdb.mi/mi-nonstop.exp: Likewise.
2464 * gdb.mi/mi-nsintrall.exp: Likewise.
2465 * gdb.multi/base.exp: Likewise.
2466 * gdb.multi/multi-arch.exp: Likewise.
2467 * gdb.python/py-inferior.exp: Likewise.
2468 * gdb.threads/break-while-running.exp: Likewise.
2469 * gdb.threads/execl.exp: Likewise.
2470 * gdb.threads/gcore-thread.exp: Likewise.
2471 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2472 * gdb.threads/kill.exp: Likewise.
2473 * gdb.threads/linux-dp.exp: Likewise.
2474 * gdb.threads/multiple-step-overs.exp: Likewise.
2475 * gdb.threads/next-bp-other-thread.exp: Likewise.
2476 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2477 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2478 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2479 * gdb.threads/thread-find.exp: Likewise.
2480 * gdb.threads/tls.exp: Likewise.
2481 * lib/mi-support.exp (mi_reverse_list): Delete.
2482 (mi_check_thread_states): No longer reverse list.
2484 2015-11-24 Pedro Alves <palves@redhat.com>
2486 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2489 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2491 * gdb.trace/actions.c: Include trace-common.h.
2492 (main): Add a location for a fast tracepoint.
2493 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2494 the normal tracepoints.
2495 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2497 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2499 * save-trace.exp: Factor out code to these...
2500 (gdb_save_tracepoints): New.
2501 (gdb_load_tracepoints): New.
2502 (do_save_load_test): New.
2504 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2506 * gdb.base/asmlabel.exp: New test.
2507 * gdb.base/asmlabel.c: New test case.
2509 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2511 * gdb.base/wrong_frame_bt_full-main.c: New file.
2512 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2513 * gdb.base/wrong_frame_bt_full.exp: New file.
2515 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2517 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2519 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2521 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2522 pstate register when comparing registers values in
2523 sparc64-*-linux-gnu targets to avoid spurious differences.
2525 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2527 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2529 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2531 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2532 as type argument to gdb_compile.
2533 * gdb.base/nested-subp2.exp: Likewise.
2534 * gdb.base/nested-subp3.exp: Likewise.
2536 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2538 * lib/dwarf.exp (_note): Fix left shift of negative value.
2539 * gdb.trace/trace-condition.exp: Likewise.
2541 2015-11-13 Yao Qi <yao.qi@linaro.org>
2543 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2544 comments about d10v.
2545 (test_scalar_returns): Likewise.
2546 * gdb.base/d10v.ld: Remove.
2547 * gdb.base/overlays.exp: Remove the target triplet checking for
2549 * gdb.base/structs.exp (test_struct_returns): Remove the
2550 comments about d10v.
2551 (test_struct_calls): Likewise.
2553 2015-11-13 Yao Qi <yao.qi@linaro.org>
2555 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2556 * gdb.base/gnu_vector.c: Don't include stdio.h.
2557 (main): Don't print res and call add_some_intvecs.
2559 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2561 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2564 (func4): Use FAST_TRACEPOINT_LABEL.
2565 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2568 (thread_function): Use FAST_TRACEPOINT_LABEL.
2569 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2571 (marker): Use FAST_TRACEPOINT_LABEL.
2572 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2573 (pendfunc1): Remove.
2574 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2575 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2577 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2578 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2581 (marker): Use FAST_TRACEPOINT_LABEL.
2582 * gdb.trace/trace-common.h: New header.
2583 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2586 (marker): Use FAST_TRACEPOINT_LABEL.
2587 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2589 (thread_function): Use FAST_TRACEPOINT_LABEL.
2591 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2593 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2595 * gdb.trace/change-loc.exp: Use global pcreg definition.
2596 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2597 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2599 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2600 * gdb.trace/pending.exp: Likewise.
2601 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2602 * gdb.trace/trace-break.exp: Likewise.
2603 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2605 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2606 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2608 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2610 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2612 * gdb.ada/fin_fun_out: New testcase.
2614 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2616 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2617 value associated with DW_AT_byte_size.
2618 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2619 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2622 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2624 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2625 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2627 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2628 gdb.dwarf2/dw2-canonicalize-type.exp,
2629 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2630 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2631 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2632 provided by gdb_target_symbol_prefix_flags_asm.
2633 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2634 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2635 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2636 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2637 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2638 macros where needed). Use this macro for symbols which require
2639 the prefix provided by SYMBOL_PREFIX.
2641 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2643 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2645 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2646 representing expressions, of more than one list element.
2647 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2648 to prepend linker symbol prefix to f.
2649 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2650 table_1 and table_2.
2651 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2652 Likewise, for f and g.
2653 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2655 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2657 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2658 table_1_ptr and table_2_ptr.
2660 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2661 Joel Brobecker <brobecker@adacore.com>
2663 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2665 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2667 * gdb.reverse/s390-mvcle.c: New test.
2668 * gdb.reverse/s390-mvcle.exp: New file.
2669 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2671 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2673 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2675 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2677 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2679 * gdb.reverse/getresuid-reverse.exp: Likewise.
2680 * gdb.reverse/pipe-reverse.exp: Likewise.
2681 * gdb.reverse/readv-reverse.exp: Likewise.
2682 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2683 * gdb.reverse/time-reverse.exp: Likewise.
2684 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2686 2015-10-30 Yao Qi <yao.qi@linaro.org>
2688 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2689 (empty_cycle): Remove.
2690 (main): Don't call empty_cycle. Don't use watch_count_done.
2691 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2692 empty_cycle. Rewrite the code counting HW watchpoints.
2694 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2696 * gdb.reverse/fstatat-reverse.c: New test.
2697 * gdb.reverse/fstatat-reverse.exp: New file.
2698 * gdb.reverse/getresuid-reverse.c: New test.
2699 * gdb.reverse/getresuid-reverse.exp: New file.
2700 * gdb.reverse/pipe-reverse.c: New test.
2701 * gdb.reverse/pipe-reverse.exp: New file.
2702 * gdb.reverse/readv-reverse.c: New test.
2703 * gdb.reverse/readv-reverse.exp: New file.
2704 * gdb.reverse/recvmsg-reverse.c: New test.
2705 * gdb.reverse/recvmsg-reverse.exp: New file.
2706 * gdb.reverse/time-reverse.c: New test.
2707 * gdb.reverse/time-reverse.exp: New file.
2708 * gdb.reverse/waitpid-reverse.c: New test.
2709 * gdb.reverse/waitpid-reverse.exp: New file.
2711 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2713 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2715 2015-10-26 Doug Evans <dje@google.com>
2718 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2719 * gdb.dwarf2/bad-regnum.c: New file.
2720 * gdb.dwarf2/bad-regnum.exp: New file.
2722 2015-10-26 Doug Evans <dje@google.com>
2725 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2728 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2731 for a change by "Mention language in compile error message".
2733 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2736 * gdb.python/py-type.c (C::a_method): New.
2737 (C::a_const_method): New.
2738 (C::a_static_method): New.
2740 * gdb.python/py-type.exp (test_fields): Test getting fields
2741 from function and method.
2743 2015-10-21 Keven Boell <keven.boell@intel.com>
2745 * gdb.fortran/vla-alloc-assoc.exp: New file.
2746 * gdb.fortran/vla-datatypes.exp: New file.
2747 * gdb.fortran/vla-datatypes.f90: New file.
2748 * gdb.fortran/vla-history.exp: New file.
2749 * gdb.fortran/vla-ptype-sub.exp: New file.
2750 * gdb.fortran/vla-ptype.exp: New file.
2751 * gdb.fortran/vla-sizeof.exp: New file.
2752 * gdb.fortran/vla-sub.f90: New file.
2753 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2754 * gdb.fortran/vla-value-sub-finish.exp: New file.
2755 * gdb.fortran/vla-value-sub.exp: New file.
2756 * gdb.fortran/vla-value.exp: New file.
2757 * gdb.fortran/vla-ptr-info.exp: New file.
2758 * gdb.mi/mi-vla-fortran.exp: New file.
2759 * gdb.mi/vla.f90: New file.
2761 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2763 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2764 of hardwired timeout value.
2766 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2767 Pedro Alves <palves@redhat.com>
2769 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2770 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2772 2015-10-19 Josh Stone <jistone@redhat.com>
2774 * gdb.base/catch-syscall.c: Include <sched.h>.
2775 (unknown_syscall): New variable.
2776 (main): Trigger a vfork and an unknown syscall.
2777 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2778 (unknown_syscall_number): Likewise.
2779 (check_call_to_syscall): Accept an optional syscall pattern.
2780 (check_return_from_syscall): Likewise.
2781 (check_continue): Likewise.
2782 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2783 (test_catch_syscall_skipping_return): New test toggling off 'catch
2784 syscall' to step over the syscall return, then toggling back on.
2785 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2786 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2787 (do_syscall_tests): Call test_catch_syscall_without_args and
2788 test_catch_syscall_mid_vfork.
2789 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2790 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2792 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2794 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2795 print g_vE): Add new pass patterns.
2796 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2797 print various symbol names for vptr fields.
2799 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2801 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2804 2015-10-12 Yao Qi <yao.qi@linaro.org>
2806 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2808 2015-10-12 Yao Qi <yao.qi@linaro.org>
2810 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2811 is aarch64*-*-linux*.
2813 2015-10-12 Yao Qi <yao.qi@linaro.org>
2815 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2816 (can_relocate_bcond_true): ... it.
2817 (can_relocate_bcond_false): New function.
2819 (can_relocate_bl): Likewise.
2820 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2823 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2825 * gdb.base/nested-addr.c: New file.
2826 * gdb.base/nested-addr.exp: New testcase.
2828 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2830 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2831 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2832 its output. Ignore the output of "record goto begin" and instead
2833 check that GDB is replaying.
2835 2015-10-09 Pedro Alves <palves@redhat.com>
2837 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2838 (top level): Use it in the run with no args test.
2840 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2842 * gdb.dlang/properties.exp: New file.
2844 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2846 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2847 whether or not address 0x1000 is mapped on the target.
2849 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2851 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2854 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2856 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2857 instruction-history test.
2859 2015-09-28 Doug Evans <dje@google.com>
2861 * gdb.base/gcore.c (array_func): Add reference to static_array.
2863 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2865 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2868 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2870 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2871 short or char as base type.
2873 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2875 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2876 to allow any size enum.
2878 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2880 * gdb.ada/array_ptr_renaming.exp: New testcase.
2881 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2882 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2884 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2886 * gdb.trace/ftrace-lock.c: New file.
2887 * gdb.trace/ftrace-lock.exp: New file.
2889 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2891 * gdb.arch/insn-reloc.c: New file.
2892 * gdb.arch/ftrace-insn-reloc.exp: New file.
2894 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2896 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2898 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2899 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2900 * gdb.trace/range-stepping.c: Likewise.
2901 * gdb.trace/trace-break.c: Likewise.
2902 * gdb.trace/trace-mt.c (thread_function): Likewise.
2903 * gdb.trace/ftrace.c (marker): Likewise.
2904 * gdb.trace/trace-condition.c (marker): Likewise.
2905 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2906 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2909 2015-09-18 Doug Evans <xdje42@gmail.com>
2911 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2912 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2914 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2916 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2919 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2921 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2922 the pending breakpoint. Remove timeout override for "Run till
2923 MI pending breakpoint on pendfunc3 on thread 2" test.
2925 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2927 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2930 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2932 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2933 in breakpoint filename pattern.
2935 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2937 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2939 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2941 * gdb.linespec/explicit.exp: Check for readline support for
2942 tab-completion tests. Fix obvious typo.
2944 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2946 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2949 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2951 * gdb.btrace/non-stop.c: New.
2952 * gdb.btrace/non-stop.exp: New.
2954 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2955 Yao Qi <yao.qi@linaro.org>
2957 * gdb.trace/trace-condition.c: New file.
2958 * gdb.trace/trace-condition.exp: New file.
2960 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2962 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2963 for testing bytecode compilation.
2965 2015-09-16 Pedro Alves <palves@redhat.com>
2966 Sandra Loosemore <sandra@codesourcery.com>
2968 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2969 (SECONDS): Redefine.
2970 (main): Call pthread_kill and alarm early.
2971 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2973 (test): If the target can't hardware step and doesn't support
2974 displaced stepping, increase the timeout.
2976 2015-09-16 Pedro Alves <palves@redhat.com>
2978 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2979 (enable_debug): New procedures.
2980 (test): Use them. Bail out if waiting for threads fails.
2981 (top level): Bail out if a test fails.
2983 2015-09-16 Yao Qi <yao.qi@linaro.org>
2985 * gdb.asm/asm-source.exp: Set asm-arch for
2986 aarch64*-*-* target.
2987 * gdb.asm/aarch64.inc: New file.
2989 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2991 * gdb.ada/array_of_variable_length.exp: New testcase.
2992 * gdb.ada/array_of_variable_length/foo.adb: New file.
2993 * gdb.ada/array_of_variable_length/pck.adb: New file.
2994 * gdb.ada/array_of_variable_length/pck.ads: New file.
2996 2015-09-15 Doug Evans <dje@google.com>
2998 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2999 of function static local variable.
3001 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3003 * gdb.threads/tls-so_extern.exp: New test file.
3004 * gdb.threads/tls-so_extern.c: New test file.
3005 * gdb.threads/tls-so_extern_main.c: New test file.
3007 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3009 * gdb.opt/solib-intra-step-lib.c: New file.
3010 * gdb.opt/solib-intra-step-main.c: New file.
3011 * gdb.opt/solib-intra-step.exp: New file.
3013 2015-09-15 Pedro Alves <palves@redhat.com>
3015 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3016 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3018 2015-09-14 Pedro Alves <palves@redhat.com>
3020 * gdb.base/hook-stop-continue.c: Delete.
3021 * gdb.base/hook-stop-continue.exp: Delete.
3022 * gdb.base/hook-stop-frame.c: Delete.
3023 * gdb.base/hook-stop-frame.exp: Delete.
3024 * gdb.base/hook-stop.c: New file.
3025 * gdb.base/hook-stop.exp: New file.
3027 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3029 * gdb.ada/access_to_packed_array.exp: New testcase.
3030 * gdb.ada/access_to_packed_array/foo.adb: New file.
3031 * gdb.ada/access_to_packed_array/pack.adb: New file.
3032 * gdb.ada/access_to_packed_array/pack.ads: New file.
3034 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3036 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3039 2015-09-11 Don Breazeal <donb@codesourcery.com>
3041 * gdb.base/foll-exec.c: Add copyright header. Fix
3043 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3044 (do_exec_tests): Use clean_restart in place of zap_session,
3045 and for test initialization. Fix formatting issues. Use
3046 fail in place of perror.
3047 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3048 an expect statement to match an expression with output from
3049 the program under debug.
3050 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3051 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3052 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3053 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3054 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3056 2015-09-09 Doug Evans <dje@google.com>
3058 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3060 2015-09-09 Doug Evans <dje@google.com>
3062 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3064 2015-09-09 Doug Evans <dje@google.com>
3066 * gdb.base/savedregs.exp: Fix typo.
3068 2015-09-09 Pedro Alves <palves@redhat.com>
3070 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3072 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3074 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3075 command actually switches threads. Give up on remaining
3076 tests if target fails to stop at breakpoint.
3078 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3080 * gdb.ada/funcall_char.exp: New testcase.
3081 * gdb.ada/funcall_char/foo.adb: New file.
3083 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3085 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3086 expected outputs. Add two testcases for completing ambiguous
3088 * gdb.ada/complete/aux_pck.adb: New file.
3089 * gdb.ada/complete/aux_pck.ads: New file.
3090 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3091 Ambiguous_Func functions.
3092 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3093 * gdb.ada/complete/pck.adb: Likewise.
3095 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3097 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3098 failures to run the test program under GDB.
3100 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3102 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3105 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3107 * gdb.base/run-after-attach.exp: New test file.
3108 * gdb.base/run-after-attach.c: New test file.
3110 2015-08-26 Don Breazeal <donb@codesourcery.com>
3112 * gdb.base/foll-exec-2.c: New test program.
3113 * gdb.base/foll-exec-2.exp: New test.
3115 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3117 * gdb.base/nested-subp1.exp: New file.
3118 * gdb.base/nested-subp1.c: New file.
3119 * gdb.base/nested-subp2.exp: New file.
3120 * gdb.base/nested-subp2.c: New file.
3121 * gdb.base/nested-subp3.exp: New file.
3122 * gdb.base/nested-subp3.c: New file.
3124 2015-08-24 Pedro Alves <palves@redhat.com>
3126 * gdb.server/connect-without-multi-process.c: New file.
3127 * gdb.server/connect-without-multi-process.exp: New file.
3129 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3131 * gdb.opt/inline-markers.c: Make z int.
3133 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3135 * gdb.opt/inline-markers.c: Make z volatile.
3137 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3139 * gdb.opt/inline-bt.c: New volatile global z.
3140 * gdb.opt/inline-cmds.c: Likewise.
3141 * gdb.opt/inline-locals.c: Likewise.
3142 * gdb.opt/inline-markers.c: New extern global z.
3144 (inline_fn): Likewise.
3146 2015-08-24 Pedro Alves <palves@redhat.com>
3148 * config/m32r-stub.exp: Remove file.
3149 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3150 * gdb.base/call-rt-st.exp: Likewise.
3151 * gdb.base/call-strs.exp: Likewise.
3152 * gdb.base/default.exp: Remove references to h8300-*-hms and
3154 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3156 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3158 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3159 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3160 and "return" use KFAIL when GDB can not read/write the vector
3163 2015-08-21 Gary Benson <gbenson@redhat.com>
3165 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3167 2015-08-20 Pedro Alves <palves@redhat.com>
3169 * gdb.server/solib-list.exp: No longer expect an interior stop in
3172 2015-08-20 Pedro Alves <palves@redhat.com>
3174 * gdb.server/connect-stopped-target.c: New file.
3175 * gdb.server/connect-stopped-target.exp: New file.
3177 2015-08-20 Pedro Alves <palves@redhat.com>
3179 * gdb.dwarf2/comp-unit-lang.exp: New file.
3180 * gdb.dwarf2/comp-unit-lang.c: New file.
3182 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3184 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3185 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3187 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3189 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3190 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3192 2015-08-18 Doug Evans <dje@google.com>
3193 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3195 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3196 skip_python_tests. New arg prompt_regexp.
3197 (skip_python_tests): New function.
3198 * lib/mi-support.exp (mi_skip_python_tests): New function.
3199 * gdb.python/py-mi-objfile-gdb.py: New file.
3200 * gdb.python/py-mi-objfile.c: New file.
3201 * gdb.python/py-mi-objfile.exp: New file.
3203 2015-08-17 Keith Seitz <keiths@redhat.com>
3205 * gdb.linespec/explicit.exp: Move strace test from here ...
3206 * gdb.trace/strace.exp: ... to here.
3208 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3210 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3211 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3213 2015-08-14 Doug Evans <xdje42@gmail.com>
3215 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3216 inferior before selecting a new file.
3218 2015-08-14 Doug Evans <xdje42@gmail.com>
3220 * gdb.mi/mi-disassemble.exp: Update.
3221 * gdb.base/disasm-optim.S: New file.
3222 * gdb.base/disasm-optim.c: New file.
3223 * gdb.base/disasm-optim.h: New file.
3224 * gdb.base/disasm-optim.exp: New file.
3226 2015-08-14 Keith Seitz <keiths@redhat.com>
3228 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3231 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3233 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3235 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3237 * gdb.ada/fun_renaming.exp: New testcase.
3238 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3239 * gdb.ada/fun_renaming/pack.adb: New file.
3240 * gdb.ada/fun_renaming/pack.ads: New file.
3242 2015-08-12 Keith Seitz <keiths@redhat.com>
3244 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3245 gdb_get_line_number.
3247 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3249 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3250 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3251 gdb.base/dso2dso.exp: New files.
3253 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3254 Pedro Alves <palves@redhat.com>
3255 Keith Seitz <keiths@redhat.com>
3257 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3260 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3262 * gdb.base/gdbhistsize-history.exp
3263 (test_histsize_history_setting): Use save_vars.
3264 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3266 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3267 * gdb.base/readline.exp: Use save_vars.
3269 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3271 * lib/gdb.exp (save_vars): New proc.
3273 2015-08-11 Keith Seitz <keiths@redhat.com>
3275 * gdb.base/help.exp: Update help_breakpoint_text.
3277 2015-08-11 Keith Seitz <keiths@redhat.com>
3279 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3280 (at toplevel): Call test_explicit_breakpoints.
3281 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3283 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3284 breakpoint conditions, "-cond".
3286 2015-08-11 Keith Seitz <keiths@redhat.com>
3288 * gdb.linespec/3explicit.c: New file.
3289 * gdb.linespec/cpexplicit.cc: New file.
3290 * gdb.linespec/cpexplicit.exp: New file.
3291 * gdb.linespec/explicit.c: New file.
3292 * gdb.linespec/explicit.exp: New file.
3293 * gdb.linespec/explicit2.c: New file.
3294 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3295 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3296 before using in the matching pattern.
3297 Clarify that `prefix' is a regular expression.
3299 2015-08-11 Keith Seitz <keiths@redhat.com>
3301 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3303 Add tests for missing ",FMT" and ",".
3305 2015-08-10 Doug Evans <dje@google.com>
3306 Keith Seitz <keiths@redhat.com>
3309 * gdb.base/completion.exp: Add location completer tests.
3311 2015-08-07 Pedro Alves <palves@redhat.com>
3313 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3315 (top level): Run do_test with and without displaced stepping.
3317 2015-08-07 Pedro Alves <palves@redhat.com>
3319 * gdb.base/valgrind-disp-step.c: New file.
3320 * gdb.base/valgrind-disp-step.exp: New file.
3322 2015-08-07 Pedro Alves <palves@redhat.com>
3324 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3326 (main): Add alarm. Run an infinite loop instead of calling
3328 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3330 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3332 (main): Add alarm. Run an infinite loop instead of calling
3334 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3337 2015-08-07 Pedro Alves <palves@redhat.com>
3339 * gdb.base/checkpoint-ns.exp: New file.
3340 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3343 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3345 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3346 * gdb.btrace/instruction_history.exp: Update.
3347 * gdb.btrace/tsx.exp: New.
3348 * gdb.btrace/tsx.c: New.
3350 2015-08-06 Pedro Alves <palves@redhat.com>
3352 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3354 * gdb.reverse/until-precsave.exp: Bump timeouts.
3356 2015-08-06 Pedro Alves <palves@redhat.com>
3358 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3360 2015-08-06 Pedro Alves <palves@redhat.com>
3363 * gdb.threads/process-dies-while-handling-bp.c: New file.
3364 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3366 2015-08-06 Pedro Alves <palves@redhat.com>
3368 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3369 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3371 2015-08-05 Pedro Alves <palves@redhat.com>
3373 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3374 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3376 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3378 * gdb.base/bp-permanent.exp: Report test as unsupported if
3379 the target cannot stop at the permanent breakpoint.
3381 2015-08-03 Doug Evans <dje@google.com>
3383 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3386 2015-08-03 Doug Evans <dje@google.com>
3388 * Makefile.in (workers/%.worker, build-perf): New rule.
3389 (GDB_PERFTEST_MODE): New variable.
3390 (check-perf): Use it.
3391 (clean): Clean up gdb.perf parallel build subdirs.
3392 * lib/build-piece.exp: New file.
3393 * lib/gdb.exp (make_gdb_parallel_path): New function
3394 (standard_output_file, standard_temp_file): Call it.
3395 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3397 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3399 2015-08-03 Doug Evans <dje@google.com>
3401 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3402 (LOG_FILE_NAME): New global.
3403 (TextReporter.__init__): Initialize self.txt_sum.
3404 (TextReporter.report): Add support for multiple data-points.
3405 Move report to perftest.sum, put raw data in perftest.log.
3406 (TextReporter.start): Open sum and log files.
3407 (TextReporter.end): Close sum and log files.
3408 * gdb.perf/lib/perftest/testresult.py
3409 (SingleStatisticTestResult.record): Handle multiple data-points.
3411 2015-07-31 Pedro Alves <palves@redhat.com>
3413 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3414 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3415 kill_wait_spawned_process instead of explicit "kill -9".
3416 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3417 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3418 kill_wait_spawned_process.
3419 * gdb.base/attach-twice.exp: Likewise.
3420 * gdb.base/attach.exp: Likewise.
3421 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3423 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3424 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3425 kill_wait_spawned_process.
3426 * gdb.base/valgrind-infcall.exp: Likewise.
3427 * gdb.multi/multi-attach.exp: Likewise.
3428 * gdb.python/py-prompt.exp: Likewise.
3429 * gdb.python/py-sync-interp.exp: Likewise.
3430 * gdb.server/ext-attach.exp: Likewise.
3431 * gdb.threads/attach-into-signal.exp (corefunc): Use
3432 spawn_wait_for_attach, spawn_id_get_pid and
3433 kill_wait_spawned_process.
3434 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3435 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3436 spawn_id_get_pid and kill_wait_spawned_process.
3437 * gdb.threads/attach-stopped.exp (corefunc): Use
3438 spawn_wait_for_attach, spawn_id_get_pid and
3439 kill_wait_spawned_process.
3440 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3441 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3442 kill_wait_spawned_process instead of explicit "kill -9".
3443 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3444 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3445 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3446 processes. Don't map cygwin/windows pids here. Now returns a
3449 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3451 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3452 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3455 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3457 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3459 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3462 2014-05-21 Mark Wielaard <mjw@redhat.com>
3464 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3466 2015-07-30 Pedro Alves <palves@redhat.com>
3468 * linux-low.c (handle_extended_wait): Set the child's last
3469 reported status to TARGET_WAITKIND_STOPPED.
3471 2015-07-30 Pedro Alves <palves@redhat.com>
3474 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3475 only shows inferior 1.
3477 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3478 Pedro Alves <palves@redhat.com>
3481 * gdb.threads/fork-plus-threads.c: New file.
3482 * gdb.threads/fork-plus-threads.exp: New file.
3484 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3486 * gdb.base/batch-preserve-term-settings.exp
3487 (test_terminal_settings_preserved_after_cli_exit): Use
3490 2015-07-29 Pedro Alves <palves@redhat.com>
3491 Don Breazeal <donb@codesourcery.com>
3493 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3494 output from both inferior_spawn_id and gdb_spawn_id.
3496 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3498 * gdb.threads/attach-into-signal.exp (corefunc): Use
3499 with_test_prefix on nested loops, uniquefying the test messages.
3501 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3503 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3506 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3508 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3510 (test_terminal_settings_preserved_after_sigterm): New test.
3512 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3514 * gdb.base/batch-preserve-term-settings.exp
3515 (test_terminal_settings_preserved_after_cli_exit): New test.
3517 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3519 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3520 manipulation of saved_gdbflags.
3521 (test_terminal_settings_preserved): Remove global declaration of
3522 the unused variable pagination_prompt. Remove manipulation of
3523 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3526 2015-07-29 Pedro Alves <palves@redhat.com>
3528 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3530 2015-07-29 Pedro Alves <palves@redhat.com>
3532 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3535 2015-07-29 Pedro Alves <palves@redhat.com>
3537 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3538 (main): Call gdb_unbuffer_output.
3539 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3540 (main): Call gdb_unbuffer_output.
3541 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3542 (main): Call gdb_unbuffer_output.
3543 * gdb.base/call-strs.exp: Adjust to step over the
3544 gdb_unbuffer_output call.
3545 * gdb.base/catch-gdb-caused-signals.c: Include
3546 "../lib/unbuffer_output.c".
3547 (main): Call gdb_unbuffer_output.
3548 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3549 (main): Call gdb_unbuffer_output.
3550 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3551 (main): Call gdb_unbuffer_output.
3552 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3553 (main): Call gdb_unbuffer_output.
3554 * gdb.base/shlib-call.exp: Adjust to step over the
3555 gdb_unbuffer_output call.
3556 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3557 (main): Call gdb_unbuffer_output.
3558 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3559 (main): Call gdb_unbuffer_output.
3560 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3561 (main): Rename to ...
3563 (main): Reimplement.
3564 * gdb.base/varargs.exp: Run to test instead of to main.
3565 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3566 (main): Call gdb_unbuffer_output.
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3570 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3571 factore out from mi_continue_dprintf. For call-style dprintfs,
3572 expect dprintf output out of $inferior_spawn_id.
3573 (mi_continue_dprintf): Use mi_expect_dprintf.
3574 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3575 (main): Call gdb_unbuffer_output.
3577 2015-07-29 Pedro Alves <palves@redhat.com>
3579 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3580 (default_mi_gdb_start): Set inferior_spawn_id instead of
3581 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3583 (mi_gdb_test): Always expect inferior output from both
3584 $inferior_spawn_id and $gdb_spawn_id.
3586 2015-07-29 Pedro Alves <palves@redhat.com>
3588 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3589 send_inferior and $inferior_spawn_id.
3591 2015-07-29 Pedro Alves <palves@redhat.com>
3593 * gdb.gdb/complaints.exp (test_initial_complaints)
3594 (test_serial_complaints, test_short_complaints): Use
3596 (test_empty_complaint): Handle $inferior_spawn_id !=
3599 2015-07-29 Pedro Alves <palves@redhat.com>
3601 * gdb.base/varargs.exp: Use gdb_test_stdio.
3603 2015-07-29 Pedro Alves <palves@redhat.com>
3605 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3607 2015-07-29 Pedro Alves <palves@redhat.com>
3609 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3611 2015-07-29 Pedro Alves <palves@redhat.com>
3613 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3614 parameter into two new parameters, "inf_result" and "gdb_result".
3615 Expect inferior output and gdb output from $inferior_spawn_id and
3616 $gdb_spawn_id, respectively. Adjust all callers.
3618 2015-07-29 Pedro Alves <palves@redhat.com>
3620 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3621 of gdb_test_sequence.
3623 2015-07-29 Pedro Alves <palves@redhat.com>
3625 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3626 (saw_spurious_output): Expect inferior output from
3627 $inferior_spawn_id. Use gdb_test_stdio.
3629 2015-07-29 Pedro Alves <palves@redhat.com>
3631 * gdb.base/dprintf.exp: Use standard_testfile. Change
3632 prepare_for_testing call.
3633 (srcfile): Don't set.
3634 (restart): New procedure.
3635 (test_dprintf): New procecure, use to continue over dprintfs.
3636 (test_call, test_agent): New procedures, tests moved here.
3637 Restart gdb and recreate dprintfs. Adjust expected output.
3639 2015-07-29 Pedro Alves <palves@redhat.com>
3641 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3643 2015-07-29 Pedro Alves <palves@redhat.com>
3645 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3647 2015-07-29 Pedro Alves <palves@redhat.com>
3649 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3652 2015-07-29 Pedro Alves <palves@redhat.com>
3654 * lib/gdb.exp (gdb_test_stdio): New procedure.
3656 2015-07-29 Pedro Alves <palves@redhat.com>
3658 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3660 2015-07-29 Pedro Alves <palves@redhat.com>
3662 * gdb.base/call-signal-resume.exp: Remove check for
3663 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3664 * gdb.base/unwindonsignal.exp: Likewise.
3665 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3666 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3668 2015-07-29 Pedro Alves <palves@redhat.com>
3670 * gdb.base/siginfo-addr.c (pass): New function.
3671 (handler): Call it iff si_addr is correct.
3672 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3673 Set a breakpoint at "pass" and continue to it.
3675 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3677 * gdb.python/py-objfile.exp: Make some tests have unique names.
3678 * gdb.python/py-pp-registration.exp: Likewise.
3680 2015-07-28 Pedro Alves <palves@redhat.com>
3682 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3684 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3686 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3688 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3690 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3692 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3694 * gdb.base/gdb-sigterm-2.exp: New test.
3696 2015-07-25 Doug Evans <xdje42@gmail.com>
3699 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3700 (workers/%.worker, build-perf): New rule.
3701 (GDB_PERFTEST_MODE): New variable.
3702 (check-perf): Use it.
3703 (clean): Clean up gdb.perf parallel build subdirs.
3704 * lib/build-piece.exp: New file.
3705 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3706 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3708 (standard_temp_file): Ditto.
3709 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3712 2015-07-24 Doug Evans <dje@google.com>
3714 * gdb.perf/lib/perftest/utils.py: New file.
3715 * gdb.perf/gm-hello.cc: New file.
3716 * gdb.perf/gm-pervasive-typedef.cc: New file.
3717 * gdb.perf/gm-pervasive-typedef.h: New file.
3718 * gdb.perf/gm-std.cc: New file.
3719 * gdb.perf/gm-std.h: New file.
3720 * gdb.perf/gm-use-cerr.cc: New file.
3721 * gdb.perf/gm-utils.h: New file.
3722 * gdb.perf/gmonster-null-lookup.py: New file.
3723 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3724 * gdb.perf/gmonster-print-cerr.py: New file.
3725 * gdb.perf/gmonster-ptype-string.py: New file.
3726 * gdb.perf/gmonster-runto-main.py: New file.
3727 * gdb.perf/gmonster-select-file.py: New file.
3728 * gdb.perf/gmonster1-null-lookup.exp: New file.
3729 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3730 * gdb.perf/gmonster1-print-cerr.exp: New file.
3731 * gdb.perf/gmonster1-ptype-string.exp: New file.
3732 * gdb.perf/gmonster1-runto-main.exp: New file.
3733 * gdb.perf/gmonster1-select-file.exp: New file.
3734 * gdb.perf/gmonster1.cc: New file.
3735 * gdb.perf/gmonster1.exp: New file.
3736 * gdb.perf/gmonster2-null-lookup.exp: New file.
3737 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3738 * gdb.perf/gmonster2-print-cerr.exp: New file.
3739 * gdb.perf/gmonster2-ptype-string.exp: New file.
3740 * gdb.perf/gmonster2-runto-main.exp: New file.
3741 * gdb.perf/gmonster2-select-file.exp: New file.
3742 * gdb.perf/gmonster2.cc: New file.
3743 * gdb.perf/gmonster2.exp: New file.
3745 2015-07-24 Doug Evans <dje@google.com>
3747 * gdb.perf/README: New file.
3748 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3749 * lib/gen-perf-test.exp: New file.
3751 2015-07-24 Doug Evans <dje@google.com>
3753 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3754 (PerfTest::startup): New function.
3755 (PerfTest::run): Return result of calling body.
3756 (PerfTest::assemble): Rewrite.
3757 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3758 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3759 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3760 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3761 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3763 2015-07-24 Doug Evans <dje@google.com>
3765 * lib/gdb.exp (clean_restart): Make executable optional.
3767 2015-07-24 Doug Evans <dje@google.com>
3769 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3770 compiler_info references.
3771 * gdb.cp/temargs.exp: Ditto.
3772 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3773 (get_compiler_info): Early exit if already computed. Set compiler_info
3774 to "unknown" if there was a problem.
3775 (test_compiler_info): Add function comment. Call get_compiler_info.
3777 2015-07-24 Doug Evans <dje@google.com>
3779 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3780 (workers/%.worker, build-perf): New rule.
3781 (GDB_PERFTEST_MODE): New variable.
3782 (check-perf): Use it.
3783 (clean): Clean up gdb.perf parallel build subdirs.
3784 * lib/build-piece.exp: New file.
3785 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3786 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3788 (standard_temp_file): Ditto.
3789 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3792 2015-07-24 Doug Evans <dje@google.com>
3794 * lib/future.exp (gdb_default_target_compile): New option
3796 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3799 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3801 * gdb.base/catch-syscall.exp: Call gdb_exit before
3804 2015-07-24 Pedro Alves <palves@redhat.com>
3806 * gdb.python/py-events.exp: Accept output between the stop event
3808 * gdb.python/py-evsignal.exp: Likewise.
3809 * gdb.python/py-evthreads.exp: Likewise.
3811 2015-07-24 Pedro Alves <palves@redhat.com>
3814 * gdb.threads/non-ldr-exit.c: New file.
3815 * gdb.threads/non-ldr-exit.exp: New file.
3817 2015-07-24 Yao Qi <yao.qi@linaro.org>
3819 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3822 2015-07-24 Yao Qi <yao.qi@linaro.org>
3824 * gdb.server/ext-restart.exp: New file.
3826 2015-07-24 Yao Qi <yao.qi@linaro.org>
3828 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3830 * gdb.server/ext-wrapper.exp: New file.
3832 2015-07-23 Doug Evans <dje@google.com>
3834 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3835 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3837 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3839 * gdb.ada/var_arr_typedef.exp: New testcase.
3840 * gdb.ada/var_arr_typedef/pack.adb: New file.
3841 * gdb.ada/var_arr_typedef/pack.ads: New file.
3842 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3844 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3846 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3848 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3850 * gdb.arch/i386-biarch-core.exp: Replace istarget
3851 by "complete set gnutarget". Remove expectation for the "core-file"
3854 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 Revert the previous commit:
3857 Tests for validate symbol file using build-id.
3859 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3861 Tests for validate symbol file using build-id.
3862 * gdb.base/solib-mismatch-lib.c: New file.
3863 * gdb.base/solib-mismatch-libmod.c: New file.
3864 * gdb.base/solib-mismatch.c: New file.
3865 * gdb.base/solib-mismatch.exp: New file.
3867 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3869 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3871 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3872 * gdb.base/siginfo.exp: Likewise.
3873 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3875 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3877 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3879 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3881 * gdb.trace/range-stepping.exp: Check that the target supports
3884 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3886 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3888 2015-07-14 Pedro Alves <palves@redhat.com>
3890 * gdb.base/killed-outside.exp: New file.
3891 * gdb.base/killed-outside.c: New file.
3893 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3895 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3897 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3899 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3901 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3902 infcall tests instead of setting up for KFAIL.
3904 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3906 * gdb.btrace/record_goto-step.exp: New.
3908 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3911 * gdb.compile/compile.c (struct struct_type): Add volatile to
3913 * gdb.compile/compile.exp
3914 (compile code struct_object.selffield = &struct_object): Skip further
3915 struct_object tests if this one xfails.
3917 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3920 * gdb.trace/ax.exp: Add test.
3922 2015-07-07 Yao Qi <yao.qi@linaro.org>
3924 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3925 instead of istarget "aarch64*-*-*".
3926 * gdb.arch/aarch64-fp.exp: Likewise.
3927 * gdb.base/float.exp: Likewise.
3928 * gdb.reverse/aarch64.exp: Likewise.
3929 * lib/gdb.exp (is_aarch64_target): New proc.
3931 2015-07-07 Yao Qi <yao.qi@linaro.org>
3933 * lib/gdb.exp (is_aarch32_target): New proc.
3934 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3935 instead of "istarget "arm*-*-*"".
3936 * gdb.arch/arm-disp-step.exp: Likewise.
3937 * gdb.arch/thumb-bx-pc.exp: Likewise.
3938 * gdb.arch/thumb-prologue.exp: Likewise.
3939 * gdb.arch/thumb-singlestep.exp: Likewise.
3940 * gdb.base/disp-step-syscall.exp: Likewise.
3941 * gdb.base/float.exp: Likewise.
3943 2015-07-07 Yao Qi <yao.qi@linaro.org>
3945 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3946 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3948 2015-07-07 Yao Qi <yao.qi@linaro.org>
3950 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3951 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3953 * gdb.multi/multi-arch.exp: Likewise.
3955 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3957 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3960 2015-07-07 Yao Qi <yao.qi@linaro.org>
3962 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3964 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3966 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3967 '[' and ']' characters.
3969 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3971 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3973 2015-06-29 Pedro Alves <palves@redhat.com>
3976 * gdb.threads/hand-call-new-thread.c: New file.
3977 * gdb.threads/hand-call-new-thread.c: New file.
3979 2015-06-26 Keith Seitz <keiths@redhat.com>
3980 Doug Evans <dje@google.com>
3983 * gdb.cp/var-tag-2.cc: New file.
3984 * gdb.cp/var-tag-3.cc: New file.
3985 * gdb.cp/var-tag-4.cc: New file.
3986 * gdb.cp/var-tag.cc: New file.
3987 * gdb.cp/var-tag.exp: New file.
3989 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3991 * gdb.base/history-duplicates.exp: New test.
3993 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3995 * gdb.base/completion.exp: Test the completion of the "focus"
3998 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4000 * gdb.arch/amd64-prologue-skip.S: New file.
4001 * gdb.arch/amd64-prologue-skip.exp: New file.
4003 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4005 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4006 is_address_zero_readable check.
4008 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4010 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4011 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4013 2015-06-24 Yao Qi <yao.qi@linaro.org>
4015 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4018 2015-06-24 Yao Qi <yao.qi@linaro.org>
4020 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4021 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4022 * gdb.base/siginfo-thread.exp: Likewise.
4024 2015-06-22 Yao Qi <yao.qi@linaro.org>
4026 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4028 2015-06-22 Yao Qi <yao.qi@linaro.org>
4030 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4032 (skip_hw_watchpoint_tests): Likewise.
4034 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4036 * gdb.base/gdbinit-history.exp: Test the interaction between
4037 setting GDBHISTSIZE and setting the history size via .gdbinit.
4039 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4042 * gdb.base/gdbhistsize-history.exp: New test.
4044 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4046 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4048 * gdb.base/readline.exp: Likewise.
4050 2015-06-17 Yao Qi <yao.qi@linaro.org>
4052 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4055 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4057 * gdb.base/gdbinit-history.exp: Add test case to check that
4058 an unlimited history file does not get truncated on exit.
4060 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4062 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4063 (VECTOR): New macro. Use it...
4064 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4065 ...for these typedefs.
4066 (int8, char1, int1, double1): New typedefs.
4067 (struct just_int2, struct two_int2): New structures.
4068 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4069 (add_structvecs, add_singlevecs): New functions.
4070 (main): Call add_some_intvecs twice.
4071 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4072 the compile and exit upon failure. Try compiling for the "native"
4073 architecture. Test inferior function calls with vector arguments
4074 and vector return value handling with "finish" and "return".
4076 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4078 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4079 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4081 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4083 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4085 PR breakpoints/16465
4086 * gdb.mi/mi-dprintf-pending.c: New file.
4087 * gdb.mi/mi-dprintf-pending.exp: New test.
4088 * gdb.mi/mi-dprintf-pendshr.c: New file.
4090 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4091 Mircea Gherzan <mircea.gherzan@intel.com>
4093 * gdb.arch/i386-mpx-map.c: New file.
4094 * gdb.arch/i386-mpx-map.exp: New File.
4096 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4098 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4099 * gdb.arch/i386-mpx.exp: Indentation fixed.
4101 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4103 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4104 function and improved indentation.
4105 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4106 gdb_test_multiple. Added additional tests to skip the test.
4108 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4110 * gdb.arch/i386-avx512.c: Change path in include file.
4111 * gdb.arch/i386-avx512.exp: Change include dir path
4113 * gdb.arch/i386-mpx.c: Change path in include file.
4114 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4117 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4119 * gdb.compile/compile-print.exp (compile print *vararray@3)
4120 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4122 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4124 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4125 (do not keep jit in memory): ... this.
4126 (expect 5): Change it to ...
4127 (expect no 5): ... this.
4129 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4132 * gdb.mi/mi-detach.exp: New file.
4134 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4137 * gdb.arch/amd64-tailcall-self.S: New file.
4138 * gdb.arch/amd64-tailcall-self.c: New file.
4139 * gdb.arch/amd64-tailcall-self.exp: New file.
4141 2015-05-28 Don Breazeal <donb@codesourcery.com>
4143 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4144 tests for remote targets by checking is_target_gdbserver.
4146 2015-05-27 Doug Evans <dje@google.com>
4148 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4149 * gdb.dwarf2/opaque-type-lookup.c: New file.
4150 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4152 2015-05-26 Doug Evans <dje@google.com>
4154 * gdb.cp/iostream.cc: New file.
4155 * gdb.cp/iostream.exp: New file.
4157 2015-05-26 Doug Evans <dje@google.com>
4159 * gdb.dwarf2/dw2-op-call.exp: Update.
4160 * gdb.dwarf2/dw4-sig-types.exp: Update.
4161 * gdb.dwarf2/implptr.exp: Update.
4162 * gdb.mi/mi-cmd-param-changed.exp: Update.
4164 2015-05-26 Doug Evans <dje@google.com>
4166 * gdb.python/py-lazy-string.c: New file.
4167 * gdb.python/py-lazy-string.exp: New file.
4168 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4169 (main): Update. Add estring3.
4170 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4171 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4173 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4174 Yao Qi <yao.qi@linaro.org>
4176 * gdb.reverse/aarch64.c: New.
4177 * gdb.reverse/aarch64.exp: New.
4179 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4181 * lib/gdb.exp (supports_process_record): Return true for
4183 (supports_reverse): Likewise.
4185 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4188 Use with_test_prefix.
4190 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4192 * gdb.base/completion.exp: Add test for completion of layout
4195 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4197 * lib/gdb.exp (skip_tui_tests): New proc.
4198 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4200 2015-05-19 Pedro Alves <palves@redhat.com>
4202 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4203 Save the whole env array instead of just HOME. Unset HISTSIZE in
4204 the environment while testing. Restore whole environment
4207 2015-05-16 Doug Evans <xdje42@gmail.com>
4209 * gdb.guile/scm-ports.c: New file.
4210 * gdb.guile/scm-ports.exp: Add memory port tests.
4212 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4214 * gdb.compile/compile-print.c: New file.
4215 * gdb.compile/compile-print.exp: New file.
4217 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4219 * gdb.compile/compile-ops.exp: Cast param to void.
4220 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4221 (compile code struct_object.selffield = &struct_object): Add xfail.
4223 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4225 * gdb.ada/arr_enum_with_gap: New testcase.
4227 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4229 * gdb.ada/byte_packed_arr: New testcase.
4231 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4233 * gdb.ada/pckd_neg: New testcase.
4235 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4238 * gdb.base/gdbinit-history.exp: New test.
4239 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4240 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4242 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4244 * gdb.python/py-xmethods.cc: Enhance test case.
4245 * gdb.python/py-xmethods.exp: New tests.
4246 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4248 (B_indexoper): Likewise.
4249 (global_dm_list) : Add new xmethod worker functions.
4251 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4253 * gdb.base/coredump-filter.exp: Correctly unset
4254 "coredump_var_addr" array.
4256 2015-05-08 Pedro Alves <palves@redhat.com>
4258 * gdb.server/non-existing-program.exp: Unset spawn_id.
4260 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4263 * gdb.python/py-xmethods.exp: Add tests.
4265 2015-05-08 Yao Qi <yao.qi@linaro.org>
4268 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4269 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4270 function set_coredump_filter, and remove remote_exec call.
4271 Remove argument ipid. Callers update.
4272 (top level): Don't get inferior's PID.
4274 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4276 * gdb.base/watch_thread_num.exp: Skip test on targets without
4279 2015-05-06 Pedro Alves <palves@redhat.com>
4282 * gdb.server/non-existing-program.exp: New file.
4284 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4286 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4288 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4290 * gdb.ada/out_of_line_in_inlined: New testcase.
4292 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4294 * gdb.ada/var_rec_arr: New testcase.
4296 2015-04-30 Yao Qi <yao.qi@linaro.org>
4298 * gdb.base/break-idempotent.exp: If
4299 skip_hw_watchpoint_multi_tests returns true, skip the tests
4300 on "rwatch" and "awatch".
4302 2015-04-30 Yao Qi <yao.qi@linaro.org>
4304 * gdb.base/relativedebug.exp: Invoke gdb command
4305 "info sharedlibrary", and if libc.so doesn't have debug info,
4308 2015-04-29 Doug Evans <dje@google.com>
4310 * gdb.python/py-xmethods.exp: Add ptype tests.
4311 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4312 get_result_type method.
4314 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4316 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4317 the target does not support hardware watchpoints.
4319 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4321 * gdb.base/break-always.exp: Abort testing if writing to memory
4324 2015-04-28 Doug Evans <dje@google.com>
4326 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4327 * gdb.python/py-pp-registration.exp: ... here. New file.
4328 * gdb.python/py-pp-registration.c: New file.
4329 * gdb.python/py-pp-registration.py: New file.
4331 2015-04-28 Doug Evans <dje@google.com>
4333 * gdb.python/py-bad-printers.c: New file.
4334 * gdb.python/py-bad-printers.py: New file.
4335 * gdb.python/py-bad-printers.exp: New file.
4337 2015-04-28 Sasha Smundak <asmundak@google.com>
4339 * gdb.python/py-type.exp: New test.
4341 2015-04-28 Andy Wingo <wingo@igalia.com>
4343 * gdb.python/py-parameter.exp:
4344 * gdb.guile/scm-parameter.exp: Escape the path that we are
4345 matching against, as it might contain characters that are special
4346 to regular expressions.
4348 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4350 * gdb.ada/rec_comp: New testcase.
4352 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4354 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4357 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4359 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4360 new tests for verilog output.
4362 2015-04-24 Yao Qi <yao.qi@linaro.org>
4364 * boards/remote-gdbserver-on-localhost.exp: New file.
4366 2015-04-23 Pedro Alves <palves@redhat.com>
4368 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4369 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4370 "end of file", remove $inferior_spawn_id from the indirect list.
4372 2015-04-23 Pedro Alves <palves@redhat.com>
4374 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4376 2015-04-23 Pedro Alves <palves@redhat.com>
4378 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4379 on $any_spawn_id instead of only on $gdb_spawn_id.
4381 2015-04-21 Pierre Muller <muller@sourceware.org>
4384 * lib/pascal.exp (gpc_compile): Add new option "class".
4385 (fpc_compile): Likewise.
4386 * gdb.pascal/case-insensitive-symbols.pas: New file.
4387 * gdb.pascal/case-insensitive-symbols.exp: New file.
4389 2015-04-20 Gary Benson <gbenson@redhat.com>
4391 * gdb.base/attach.exp: Fix three extended remote failures.
4393 2015-04-17 Gary Benson <gbenson@redhat.com>
4395 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4396 the main executable over the remote protocol.
4398 2015-04-16 Pedro Alves <palves@redhat.com>
4400 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4401 a new gdbserver if gdbserver_reconnect_p is set.
4403 2015-04-16 Pedro Alves <palves@redhat.com>
4405 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4406 is set, don't exit gdbserver.
4408 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4410 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4411 appropriate .insn, such that an older assembler can be used.
4412 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4413 the z/Architecture instruction set on 31-bit targets as well.
4415 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4417 * gdb.go/handcall.exp: Remove all logic related to the first
4418 breakpoint and rely on go_runto_main instead.
4419 * gdb.go/strings.exp: Likewise.
4420 * gdb.go/unsafe.exp: Likewise.
4421 * gdb.go/hello.exp: Likewise. Also rename the remaining
4422 breakpoint marker to "breakpoint 1".
4423 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4424 * gdb.go/strings.go: Likewise.
4425 * gdb.go/unsafe.go: Likewise.
4426 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4427 "set breakpoint 2 here" and rename the remaining breakpoint marker
4430 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4432 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4433 if itertools.imap is not present.
4434 * gdb.python/py-objfile.exp: Add parentheses.
4435 * gdb.python/py-type.exp: Same.
4436 * gdb.python/py-unwind-maint.py: Same.
4438 2015-04-15 Yao Qi <yao.qi@linaro.org>
4440 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4441 of ":$ptr_size" and set its form explicitly.
4443 2015-04-15 Pedro Alves <palves@redhat.com>
4444 Yao Qi <yao.qi@linaro.org>
4446 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4447 timeout by factor of 4.
4448 (test_regular_watch): Likewise.
4449 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4450 * gdb.reverse/sigall-reverse.exp: Likewise.
4451 * gdb.reverse/until-precsave.exp: Likewise.
4452 * lib/gdb.exp (with_timeout_factor): New proc.
4453 (gdb_expect): Move some code to ...
4454 (get_largest_timeout): ... here. New procedure.
4456 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4458 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4460 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4462 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4463 to write to the .text section.
4465 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4467 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4468 Handle the case of targets that do not provide PID information.
4470 2015-04-13 Yao Qi <yao.qi@linaro.org>
4472 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4473 and use expect instead of gdb_expect.
4475 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4477 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4478 "coredump_var_addr" to avoid naming conflict with other testcases.
4480 2015-04-10 Pedro Alves <palves@redhat.com>
4482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4483 gdb_test_sequence and gdb_assert.
4485 2015-04-10 Pedro Alves <palves@redhat.com>
4487 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4488 test messages that don't include the breakpoint address.
4490 2015-04-10 Yao Qi <yao.qi@linaro.org>
4492 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4493 false for some offset and width combinations which aren't
4494 supported by linux kernel.
4496 2015-04-10 Pedro Alves <palves@redhat.com>
4498 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4499 procedure, factored out from ...
4500 (top level): ... here. Add "set displaced-stepping" testing axis.
4501 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4502 parameter "displaced". Use it.
4503 (top level): Use foreach and add "set displaced-stepping" testing
4506 2015-04-10 Pedro Alves <palves@redhat.com>
4508 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4510 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4511 both the address of the instruction that triggers the watchpoint
4512 and the address of the instruction immediately after, and use
4513 those addresses for the test. Fix comment.
4515 2015-04-10 Pedro Alves <palves@redhat.com>
4517 * gdb.base/sigstep.exp (breakpoint_to_handler)
4518 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4519 Test "backtrace" in handler.
4520 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4521 (top level): Add new "displaced" test axis to
4522 breakpoint_to_handler, breakpoint_to_handler_entry and
4523 breakpoint_over_handler.
4525 2015-04-10 Pedro Alves <palves@redhat.com>
4528 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4530 2015-04-10 Yao Qi <yao.qi@linaro.org>
4532 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4533 (test_add_rn_pc): New function.
4534 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4535 (top level): Invoke test_add_rn_pc.
4537 2015-04-10 Pedro Alves <palves@redhat.com>
4540 * gdb.base/step-over-no-symbols.exp: New file.
4542 2015-04-09 Andy Wingo <wingo@igalia.com>
4544 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4545 after the Python tests.
4547 2015-04-08 Keith Seitz <keiths@redhat.com>
4550 * gdb.python/py-completion.exp: New tests for completion.
4551 * gdb.python/py-completion.py (CompleteLimit1): New class.
4552 (CompleteLimit2): Likewise.
4553 (CompleteLimit3): Likewise.
4554 (CompleteLimit4): Likewise.
4555 (CompleteLimit5): Likewise.
4556 (CompleteLimit6): Likewise.
4557 (CompleteLimit7): Likewise.
4559 2015-04-08 Pedro Alves <palves@redhat.com>
4563 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4565 (main): Install it as SIGUSR1 handler.
4566 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4567 parameter. Always use "setup" as prefix. Toggle "set
4568 displaced-stepping" off/on depending on global. Don't switch to
4570 (top level): Add displaced stepping "off/on" test axis. Update
4571 "setup" calls. Wrap each subtest with with_test_prefix. Test
4572 continuing with a queued signal in each thread.
4574 2015-04-08 Pedro Alves <palves@redhat.com>
4576 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4577 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4578 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4579 Return early if running to main fails.
4580 * gdb.trace/while-stepping.exp: Likewise.
4582 2015-04-07 Pedro Alves <palves@redhat.com>
4584 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4585 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4586 interact with inferior program.
4588 2015-04-07 Pedro Alves <palves@redhat.com>
4590 * lib/gdb.exp (inferior_spawn_id): New global.
4591 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4592 spawn id after processing the user code.
4593 (default_gdb_start): Set inferior_spawn_id.
4594 (send_inferior): New procedure.
4595 * lib/gdbserver-support.exp (gdbserver_start): Set
4597 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4599 2015-04-07 Pedro Alves <palves@redhat.com>
4601 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4602 * lib/gdbserver-support.exp (gdbserver_start): Make
4603 $server_spawn_id global.
4604 (gdbserver_start): Don't wait for gdbserver's spawn id with
4606 (close_gdbserver): New procedure.
4607 (gdb_exit): Rename the default version and reimplement.
4609 2015-04-07 Pedro Alves <palves@redhat.com>
4611 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4612 append the substituted item, not the original item.
4614 2015-04-07 Pedro Alves <palves@redhat.com>
4616 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4619 2015-04-07 Pedro Alves <palves@redhat.com>
4621 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4622 output appearing once only.
4624 2015-04-07 Pedro Alves <palves@redhat.com>
4626 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4627 that doesn't expect anything. Return early if running to main
4630 2015-04-07 Yao Qi <yao.qi@linaro.org>
4632 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4633 (child_function): Call alarm.
4634 (main): Move call to alarm into the loop.
4635 * gdb.threads/non-stop-fair-events.exp: Build program with
4638 2015-04-06 Doug Evans <xdje42@gmail.com>
4640 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4641 Fix dest parameter to board_info.
4642 (fpc_compile): Ditto.
4643 (gdb_compile_pascal): Rename dest arg to destfile.
4645 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4647 * gdb.ada/funcall_ref.exp: New file.
4648 * gdb.ada/funcall_ref/foo.adb: New file.
4650 2015-04-02 Yao Qi <yao.qi@linaro.org>
4652 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4655 2015-04-02 Gary Benson <gbenson@redhat.com>
4657 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4659 2015-04-01 Sasha Smundak <asmundak@google.com>
4661 * gdb.python/py-unwind-maint.c: New file.
4662 * gdb.python/py-unwind-maint.exp: New test.
4663 * gdb.python/py-unwind-maint.py: New file.
4664 * gdb.python/py-unwind.c: New file.
4665 * gdb.python/py-unwind.exp: New test.
4666 * gdb.python/py-unwind.py: New test.
4668 2015-04-01 Pedro Alves <palves@redhat.com>
4670 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4671 to fail instead of non-existent $test.
4673 2015-04-01 Pedro Alves <palves@redhat.com>
4675 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4676 GDBFLAGS if not empty.
4678 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4680 * gdb.ada/complete.exp: Remove "multi_line".
4681 * gdb.ada/info_exc.exp: Remove "multi_line".
4682 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4683 * gdb.ada/ptype_field.exp: Remove "multi_line".
4684 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4685 * gdb.ada/tagged.exp: Remove "multi_line".
4686 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4688 * gdb.btrace/delta.exp: Likewise.
4689 * gdb.btrace/exception.exp: Likewise.
4690 * gdb.btrace/function_call_history.exp: Likewise.
4691 * gdb.btrace/instruction_history.exp: Likewise.
4692 * gdb.btrace/nohist.exp: Likewise.
4693 * gdb.btrace/record_goto.exp: Likewise.
4694 * gdb.btrace/segv.exp: Likewise.
4695 * gdb.btrace/stepi.exp: Likewise.
4696 * gdb.btrace/tailcall.exp: Likewise.
4697 * gdb.btrace/unknown_functions.exp: Likewise.
4698 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4699 * lib/gdb.exp: Add the "multi_line" helper.
4701 2015-04-01 Pedro Alves <palves@redhat.com>
4703 * gdb.threads/tid-reuse.c: New file.
4704 * gdb.threads/tid-reuse.exp: New file.
4706 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4709 * gdb.base/coredump-filter.c: New file.
4710 * gdb.base/coredump-filter.exp: Likewise.
4712 2015-03-27 Petr Machata <pmachata@redhat.com>
4714 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4715 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4716 (Dwarf::assemble): Initialize them.
4717 (Dwarf::lines): New function.
4719 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4721 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4722 SYMBOL_PREFIX for x86_64-*-cygwin.
4724 2015-03-26 Andy Wingo <wingo@igalia.com>
4727 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4728 const_value but not a location.
4729 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4730 location defined in non-main CUs are visible.
4732 2015-03-26 Yao Qi <yao.qi@linaro.org>
4735 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4736 Add a line number entry for the same line.
4737 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4738 Add a line number entry for the same line.
4740 2015-03-26 Yao Qi <yao.qi@linaro.org>
4742 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4744 (func): Likewise. Add .Lfunc_1 label.
4746 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4751 2015-03-26 Yao Qi <yao.qi@linaro.org>
4753 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4754 Call gdb_compile instead to compile each .s files without debug
4757 2015-03-26 Yao Qi <yao.qi@linaro.org>
4759 * gdb.base/savedregs.exp (process_saved_regs): Make
4760 "Saved registers:" optional in the pattern.
4762 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4764 * gdb.btrace/next.exp: Merged into step.exp.
4765 * gdb.btrace/finish.exp: Merged into step.exp.
4766 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4767 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4768 "record goto" and checking the exact replay position.
4769 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4770 check for "Recording format" in "info record" output.
4771 * gdb.btrace/record_goto.exp: Choose test file based on target.
4772 * gdb.btrace/x86-record_goto.S: Renamed into ...
4773 * gdb.btrace/x86_64-record_goto.S: ... this.
4774 * gdb.btrace/i686-record_goto.S: New.
4775 * gdb.btrace/x86-tailcall.S: Renamed into ...
4776 * gdb.btrace/x86_64-tailcall.S: ... this.
4777 * gdb.btrace/i686-tailcall.S: New.
4778 * gdb.btrace/x86-tailcall.c: Renamed into ...
4779 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4780 separate statements. Update test.
4781 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4782 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4783 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4784 * gdb.btrace/tailcall.exp: Choose test file based on target.
4785 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4787 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4789 * gdb.btrace/exception.exp: Increase BTS buffer size.
4791 2015-03-24 Pedro Alves <palves@redhat.com>
4793 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4795 2015-03-24 Pedro Alves <palves@redhat.com>
4797 * gdb.threads/schedlock.exp (test_step): No longer expect that
4798 "set scheduler-locking step" with "next" over a function call runs
4801 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4803 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4805 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4807 PR breakpoints/16466
4808 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4809 * gdb.mi/mi-pending.c (thread_func): New function.
4810 (int main): Add threading support required.
4811 * gdb.mi/mi-pending.exp: Add tests for this issue.
4812 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4813 (pendfunc2): Remove stdio dependency.
4814 * gdb.mi/mi-pendshr2.c: New file.
4816 2015-03-23 Keith Seitz <keiths@redhat.com>
4818 * gdb.linespec/keywords.c: New file.
4819 * gdb.linespec/keywords.exp: New file.
4821 2015-03-23 Keith Seitz <keiths@redhat.com>
4824 * gdb.dwarf2/staticvirtual.exp: New test.
4826 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4828 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4829 * README: Remove HP-UX and gdb.hp.
4831 * configure: Regenerate.
4832 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4833 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4834 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4835 gdb.hp/gdb.defects/Makefile.
4836 * gdb.hp/Makefile.in: File deleted.
4837 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4838 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4839 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4840 * gdb.hp/gdb.aCC/run.c: File deleted.
4841 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4842 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4843 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4844 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4845 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4846 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4847 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4848 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4849 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4850 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4851 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4852 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4853 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4854 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4855 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4856 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4857 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4858 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4859 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4860 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4861 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4862 * gdb.hp/gdb.compat/average.c: File deleted.
4863 * gdb.hp/gdb.compat/sum.c: File deleted.
4864 * gdb.hp/gdb.compat/xdb.c: File deleted.
4865 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4866 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4867 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4868 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4869 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4870 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4871 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4872 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4873 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4874 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4875 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4876 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4877 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4878 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4879 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4880 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4881 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4882 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4883 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4884 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4885 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4886 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4887 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4888 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4889 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4890 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4891 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4892 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4893 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4894 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4895 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4896 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4897 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4898 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4899 * gdb.hp/tools/odump: File deleted.
4901 2015-03-19 Pedro Alves <palves@redhat.com>
4903 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4904 (saw_thread_3): New globals.
4905 (top level): Increment them when an event for the corresponding
4907 (no thread starvation): New test.
4909 2015-03-19 Pedro Alves <palves@redhat.com>
4911 * gdb.threads/continue-pending-status.c: New file.
4912 * gdb.threads/continue-pending-status.exp: New file.
4914 2015-03-18 Pedro Alves <palves@redhat.com>
4916 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4917 Use gdb_is_target_remote instead of is_remote. Use
4918 gdb_test_multiple instead of gdb_expect. Exit early if
4919 gdb_test_multiple hits its internal matches. Tighten stepi tests
4920 expected output. Fail on exit with any signal, instead of just
4923 2015-03-18 Yao Qi <yao.qi@linaro.org>
4926 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4928 * gdb.base/catch-syscall.exp: Don't skip it on
4929 aarch64*-*-linux* target. Remove elements in all_syscalls.
4930 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4932 (setup_all_syscalls): New proc.
4934 2015-03-16 Yao Qi <yao.qi@linaro.org>
4936 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4937 (top level): Skip tests if valid_addr_p returns false for
4940 2015-03-11 Andy Wingo <wingo@igalia.com>
4942 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4944 2015-03-11 Yao Qi <yao.qi@linaro.org>
4946 * gdb.base/catch-syscall.exp: Fix typo in comments.
4948 2015-03-11 Yao Qi <yao.qi@linaro.org>
4950 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4952 2015-03-09 Pedro Alves <palves@redhat.com>
4954 * dg-extract-results.py: Delete.
4956 2015-03-09 Pedro Alves <palves@redhat.com>
4958 Merge dg-extract-results.sh from GCC upstream (r218843).
4960 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4961 * dg-extract-results.sh: Use --text with grep to avoid issues with
4962 binary files. Fall back to cat -v, if that doesn't work.
4964 2015-03-05 Pedro Alves <palves@redhat.com>
4966 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4968 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4970 * lib/mi-support.exp (mi_expect_interrupt): Accept
4971 alternative event for when in all-stop mode.
4973 2015-03-04 Pedro Alves <palves@redhat.com>
4975 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4977 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4979 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4981 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4983 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4984 regexps for GDB's current line display, accept a hex address
4985 preceding the line number.
4987 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4989 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4990 the 'arch1' variable for "s390*-linux*" targets.
4992 2015-03-04 Pedro Alves <palves@redhat.com>
4994 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4995 (main): Pass missing retval argument to pthread_join call.
4997 2015-03-02 Pedro Alves <palves@redhat.com>
4999 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5000 (top level): Call do_test with non-stop as well.
5002 2015-03-02 Pedro Alves <palves@redhat.com>
5004 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5007 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5009 * gdb.arch/s390-vregs.exp: New test.
5010 * gdb.arch/s390-vregs.S: New file.
5012 2015-02-27 Pedro Alves <palves@redhat.com>
5014 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5015 call to catch_command_errors.
5016 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5017 catch_command_errors.
5019 2015-02-27 Pedro Alves <palves@redhat.com>
5021 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5022 "true" for boolean result.
5023 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5026 2015-02-27 Pedro Alves <palves@redhat.com>
5028 * lib/unbuffer_output.c: New file.
5029 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5030 (main): Call gdb_unbuffer_output.
5032 2015-02-27 Yao Qi <yao.qi@linaro.org>
5034 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5037 2015-02-26 Doug Evans <dje@google.com>
5039 * gdb.cp/class2.cc (Dbase, D): New classes.
5040 (main): New local delta.
5041 * gdb.cp/class2.exp: Test printing delta.
5042 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5043 (dynbar): New global.
5044 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5046 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5048 * gdb.compile/compile-ifunc.c: New file.
5049 * gdb.compile/compile-ifunc.exp: New file.
5051 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5053 * gdb.base/structs.exp: Check for correct struct on finish.
5055 2015-02-26 Yao Qi <yao.qi@linaro.org>
5057 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5060 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5062 * gdb.arch/cordic.ko.bz2: New file.
5063 * gdb.arch/cordic.ko.debug.bz2: New file.
5064 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5066 2015-02-25 Yao Qi <yao.qi@linaro.org>
5068 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5069 aarch64*-*-* target.
5071 2015-02-23 Pedro Alves <palves@redhat.com>
5073 * lib/gdb.exp (delete_breakpoints): Rewrite using
5076 2015-02-23 Pedro Alves <palves@redhat.com>
5078 * gdb.base/info-os.c: Include stdlib.h.
5080 2015-02-22 Doug Evans <xdje42@gmail.com>
5083 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5084 is read after symbols have been re-read.
5085 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5086 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5088 2015-02-21 Doug Evans <dje@google.com>
5090 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5092 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5095 * gdb.arch/i386-biarch-core.core.bz2: New file.
5096 * gdb.arch/i386-biarch-core.exp: New file.
5098 2015-02-21 Pedro Alves <palves@redhat.com>
5100 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5103 2015-02-20 Pedro Alves <palves@redhat.com>
5105 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5108 2015-02-20 Pedro Alves <palves@redhat.com>
5110 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5112 2015-02-20 Pedro Alves <palves@redhat.com>
5114 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5115 clean_restart before gdb_target_supports_trace.
5117 2015-02-20 Pedro Alves <palves@redhat.com>
5120 * gdb.threads/clone-thread_db.c: New file.
5121 * gdb.threads/clone-thread_db.exp: New file.
5123 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5125 PR breakpoints/16812
5126 * gdb.base/catch-gdb-caused-signals.c: New file.
5127 * gdb.base/catch-gdb-caused-signals.exp: New file.
5129 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5131 * configure: Regenerated.
5132 * configure.ac: Use GDB_AC_TRANSFORM.
5133 * aclocal.m4: sinclude ../transform.m4.
5135 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5137 * lib/dtrace.exp: New file.
5138 * gdb.base/dtrace-probe.exp: Likewise.
5139 * gdb.base/dtrace-probe.d: Likewise.
5140 * gdb.base/dtrace-probe.c: Likewise.
5141 * lib/pdtrace.in: Likewise.
5142 * configure.ac: Output variables with the transformed names of
5143 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5144 * configure: Regenerated.
5146 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5148 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5149 expected message when trying to access $_probe_* convenience
5150 variables while not on a probe.
5152 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5156 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5158 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5159 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5161 2015-02-10 Doug Evans <xdje42@gmail.com>
5163 * lib/gdb.exp (gdb_load): Always return a result.
5165 2015-02-10 Pedro Alves <palves@redhat.com>
5167 * gdb.threads/signal-sigtrap.c: New file.
5168 * gdb.threads/signal-sigtrap.exp: New file.
5170 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5172 * gdb.trace/no-attach-trace.c: New file.
5173 * gdb.trace/no-attach-trace.exp: New file.
5175 2015-02-09 Mark Wielaard <mjw@redhat.com>
5177 * gdb.dwarf2/atomic.c: New file.
5178 * gdb.dwarf2/atomic-type.exp: Likewise.
5180 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5182 * gdb.btrace/buffer-size.exp: Update "info record" output.
5183 * gdb.btrace/delta.exp: Update "info record" output.
5184 * gdb.btrace/enable.exp: Update "info record" output.
5185 * gdb.btrace/finish.exp: Update "info record" output.
5186 * gdb.btrace/instruction_history.exp: Update "info record" output.
5187 * gdb.btrace/next.exp: Update "info record" output.
5188 * gdb.btrace/nexti.exp: Update "info record" output.
5189 * gdb.btrace/step.exp: Update "info record" output.
5190 * gdb.btrace/stepi.exp: Update "info record" output.
5191 * gdb.btrace/nohist.exp: Update "info record" output.
5193 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5195 * gdb.btrace/buffer-size: New.
5197 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5199 * gdb.btrace/delta.exp: Update "info record" output.
5200 * gdb.btrace/enable.exp: Update "info record" output.
5201 * gdb.btrace/finish.exp: Update "info record" output.
5202 * gdb.btrace/instruction_history.exp: Update "info record" output.
5203 * gdb.btrace/next.exp: Update "info record" output.
5204 * gdb.btrace/nexti.exp: Update "info record" output.
5205 * gdb.btrace/step.exp: Update "info record" output.
5206 * gdb.btrace/stepi.exp: Update "info record" output.
5207 * gdb.btrace/nohist.exp: Update "info record" output.
5209 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5212 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5214 2015-02-06 Pedro Alves <palves@redhat.com>
5216 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5218 (seconds_left, again): New globals.
5219 (main): Wait seconds_left in a 1-second sleep loop instead of
5220 sleeping 180 seconds. If 'again' is set, reset the seconds
5222 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5223 'again' in the inferior before detaching. Print the seconds left.
5224 (options): New global.
5225 (top level): Build program with -DTIMEOUT=$timeout.
5227 2015-02-06 Pedro Alves <palves@redhat.com>
5229 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5230 determine how many seconds to pass to 'alarm'.
5231 * gdb.base/gdb-sigterm.exp (top level): Build program with
5233 (do_test): Return success/failure indication. Add more verbose
5234 logging. Don't fail if 200 single steps are seen. Instead, fail
5235 when the test times out.
5236 (passes): New global.
5237 (top level): Break the testing loop if testing fails on any
5238 iteration. Use gdb_assert.
5240 2015-02-04 Don Breazeal <donb@codesourcery.com>
5242 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5243 and initialize them.
5244 (ipc_cleanup): New function.
5245 (main): Don't declare shmid, semid, and msqid. Add a call to
5246 atexit so that we call ipc_cleanup on exit.
5248 2015-02-04 Pedro Alves <palves@redhat.com>
5250 * boards/native-extended-gdbserver.exp: Remove any target variant
5251 specifications from the board name before clearing the isremote
5252 flag from board_info.
5254 2015-01-31 Doug Evans <xdje42@gmail.com>
5256 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5258 2015-01-31 Gary Benson <gbenson@redhat.com>
5260 * gdb.base/completion.exp: Disable completion limiting for
5261 existing tests. Add new tests to check completion limiting.
5262 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5264 2015-01-31 Doug Evans <xdje42@gmail.com>
5266 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5268 2015-01-31 Doug Evans <xdje42@gmail.com>
5270 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5271 entries. Duplicate file section script entries.
5272 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5273 inlined entries. Add test for safe-path rejection.
5274 * gdb.python/py-section-script.c: Add duplicate inlined section script
5275 entries. Duplicate file section script entries.
5276 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5277 inlined entries. Add test for safe-path rejection.
5279 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5281 * gdb.ada/disc_arr_bound: New testcase.
5283 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5285 * gdb.ada/mi_var_array: New testcase.
5287 2015-01-27 Doug Evans <dje@google.com>
5289 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5290 Add test for objfile.filename, objfile.username after objfile
5293 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5295 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5296 the second test to print the name attribute of value
5297 returned by the call to gdb.lookup_type, and adjust
5298 the expected output accordingly.
5300 2015-01-25 Mark Wielaard <mjw@redhat.com>
5302 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5303 * gdb.base/disp-step-fork.c: Include unistd.h.
5304 * gdb.base/siginfo-obj.c: Include stdio.h.
5305 * gdb.base/siginfo-thread.c: Likewise.
5306 * gdb.mi/non-stop.c: Include unistd.h.
5307 * gdb.mi/nsthrexec.c: Include stdio.h.
5308 * gdb.mi/pthreads.c: Include unistd.h.
5309 * gdb.modula2/unbounded1.c (main): Declare returns int.
5310 * gdb.reverse/consecutive-reverse.c: Likewise.
5311 * gdb.threads/create-fail.c: Include unistd.h.
5312 * gdb.threads/killed.c: Likewise.
5313 * gdb.threads/linux-dp.c: Likewise.
5314 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5315 * gdb.threads/non-ldr-exc-2.c: Likewise.
5316 * gdb.threads/non-ldr-exc-3.c: Likewise.
5317 * gdb.threads/non-ldr-exc-4.c: Likewise.
5318 * gdb.threads/pthreads.c: Include unistd.h.
5319 (main): Declare returns int.
5320 * gdb.threads/tls-main.c (foo): New declaration.
5321 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5323 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5325 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5326 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5328 2015-01-15 Mark Wielaard <mjw@redhat.com>
5330 * gdb.base/noreturn-return.c: New file.
5331 * gdb.base/noreturn-return.exp: New file.
5332 * gdb.base/noreturn-finish.c: New file.
5333 * gdb.base/noreturn-finish.exp: New file.
5335 2015-01-23 Pedro Alves <palves@redhat.com>
5337 * gdb.threads/continue-pending-after-query.c: New file.
5338 * gdb.threads/continue-pending-after-query.exp: New file.
5340 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5341 Simon Marchi <simon.marchi@ericsson.com>
5343 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5344 * gdb.base/valgrind-db-attach.exp: Same.
5345 * gdb.base/valgrind-infcall.exp: Same.
5346 * lib/mi-support.exp (default_mi_gdb_start): Same.
5347 * lib/prompt.exp (default_prompt_gdb_start): Same.
5348 * lib/gdb.exp (default_gdb_spawn): Same.
5349 (gdb_interact): New.
5352 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5354 * gdb.compile/compile.exp (pointer to jit function): New test.
5356 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5358 * lib/gdb.exp (supports_process_record): Return true for
5360 (supports_reverse): Likewise.
5362 2015-01-15 Don Breazeal <donb@codesourcery.com>
5364 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5365 instead of checking whether the target board is remote and
5366 use spawn_wait_for_attach instead of exec/sleep.
5367 * gdb.base/attach-twice.exp: Likewise.
5369 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5371 * gdb.ada/var_arr_attrs: New testcase.
5373 2015-01-14 Pedro Alves <palves@redhat.com>
5374 Joel Brobecker <brobecker@adacore.com>
5377 * gdb.base/bp-cmds-execution-x-script.c: New file.
5378 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5379 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5381 2015-01-14 Pedro Alves <palves@redhat.com>
5384 * gdb.base/batch-preserve-term-settings.c: New file.
5385 * gdb.base/batch-preserve-term-settings.exp: New file.
5387 2015-01-13 Doug Evans <dje@google.com>
5389 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5392 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5394 * Makefile.in (clean mostlyclean): Do not delete *.py.
5396 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5398 * gdb.python/py-lookup-type.exp: New file.
5400 2015-01-12 Pedro Alves <palves@redhat.com>
5402 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5403 restore GDBFLAGS before returning.
5405 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5407 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5408 is_amd64_regs_target and is_x86_like_target.
5410 2015-01-11 Doug Evans <xdje42@gmail.com>
5412 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5413 is given without an explicit form.
5414 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5416 * gdb.dwarf/corrupt.exp: Ditto.
5417 * gdb.dwarf2/enum-type.exp: Ditto.
5418 * gdb.trace/entry-values.exp: Ditto.
5419 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5421 2015-01-11 Doug Evans <xdje42@gmail.com>
5424 * gdb.base/maint.exp: Remove references to "maint demangle".
5425 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5426 Add tests for explicitly specifying language to demangle.
5427 * gdb.dlang/demangle.exp: Ditto.
5429 2015-01-09 Pedro Alves <palves@redhat.com>
5431 * gdb.threads/non-stop-fair-events.c: New file.
5432 * gdb.threads/non-stop-fair-events.exp: New file.
5434 2015-01-09 Pedro Alves <palves@redhat.com>
5436 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5437 the global scope. Set a breakpoint after all threads are started
5438 rather than stepping over two source lines. Expect the prompt.
5439 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5442 (main): Use threads_started_barrier to wait for all threads to
5443 start. Main thread no longer calls thread_function. Exit after
5445 (loop): New function.
5446 (thread_function): Wait on threads_started_barrier barrier. Call
5447 'loop' at each iteration.
5448 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5449 threads have started, instead of hardcoding number of "next"
5450 steps. Use an access watchpoint instead of a write watchpoint.
5452 2015-01-09 Pedro Alves <palves@redhat.com>
5454 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5455 (thread_func): Wait on barrier.
5456 (main): Wait for all threads to start before stopping GDB.
5457 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5459 (thread1_func, thread2_func): Wait on barrier.
5460 (main): Wait for all threads to start before stopping GDB.
5461 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5463 (thread1_func, thread2_func): Wait on barrier.
5464 (main): Wait for all threads to start before stopping GDB.
5466 2015-01-09 Pedro Alves <palves@redhat.com>
5468 * gdb.threads/attach-many-short-lived-threads.c: New file.
5469 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5471 2014-01-09 Pedro Alves <palves@redhat.com>
5473 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5474 instead of to thread 2.
5475 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5476 Add barrier around each pthread_create call instead of around all
5478 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5479 Set a break on thread_function and have the child threads hit it
5482 2015-01-09 Pedro Alves <palves@redhat.com>
5484 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5485 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5487 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5488 checking whether the target board is remote.
5489 * gdb.multi/multi-attach.exp: Likewise.
5490 * gdb.python/py-sync-interp.exp: Likewise.
5491 * gdb.server/ext-attach.exp: Likewise.
5492 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5493 tests that need to attach, instead of checking whether the target
5494 board is remote at the top of the file.
5496 2015-01-08 Yao Qi <yao@codesourcery.com>
5498 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5500 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5502 Fix testcase compilation.
5503 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5505 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5507 * gdb.python/py-type.exp: Add a couple test about empty
5508 array creation, and negative-length array creation.
5510 2015-01-02 Doug Evans <xdje42@gmail.com>
5512 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5514 2015-01-02 Doug Evans <dje@google.com>
5516 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5518 2014-12-29 Yao Qi <yao@codesourcery.com>
5520 * gdb.trace/entry-values.exp: Update comments. Rename variable
5521 bar_call_foo to returned_from_foo.
5523 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5526 * gdb.linespec/break-asm-file.c: New file.
5527 * gdb.linespec/break-asm-file.exp: New file.
5528 * gdb.linespec/break-asm-file0.s: New file.
5529 * gdb.linespec/break-asm-file1.s: New file.
5531 2014-12-18 Nigel Stephens <nigel@mips.com>
5532 Maciej W. Rozycki <macro@codesourcery.com>
5534 * gdb.base/float.exp: Handle the new output from "info float" on
5537 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5539 Fix MinGW compilation.
5540 * gdb.compile/compile-ops.exp: Update untested message if
5541 !skip_compile_feature_tests.
5542 * gdb.compile/compile-setjmp.exp: Likewise.
5543 * gdb.compile/compile-tls.exp: Likewise.
5544 * gdb.compile/compile.exp: Likewise.
5545 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5546 supported on this host".
5548 2014-12-16 Doug Evans <xdje42@gmail.com>
5550 * boards/stabs.exp: New file.
5552 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5554 * gdb.base/completion.exp: Adjust to format changes of "maint
5555 print user-registers".
5557 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5560 * gdb.arch/aarch64-fp.c: New file.
5561 * gdb.arch/aarch64-fp.exp: New file.
5563 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5565 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5566 r210637, r210913, r211666, r215400, r215817).
5568 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5569 * dg-extract-results.py: New file.
5570 * dg-extract-results.sh: Use it if the environment seems
5573 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5575 * dg-extract-results.py (parse_run): Handle warnings that
5576 are printed before a test harness is run.
5578 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5580 * dg-extract-results.py (Named): Remove __cmp__ method.
5581 (output_variation): Use a key to sort variation.harnesses.
5583 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5585 * dg-extract-results.py: For Python 3, force sys.stdout to
5586 handle surrogate escape sequences.
5587 (safe_open): New function.
5588 (output_segment, main): Use it.
5590 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5592 * dg-extract-results.py (Prog.result_re): Include options
5595 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5597 * dg-extract-results.py (output_variation): Always sort if
5600 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5602 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5603 as long as we get pagination notifications.
5605 2014-12-15 Jason Merrill <jason@redhat.com>
5607 * Makefile.in (check-gdb.%): Restore.
5608 * README: Mention it.
5610 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5612 * gdb.ada/str_uninit: New testcase.
5614 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 * gdb.base/vla-stub-define.c: New file.
5618 * gdb.base/vla-stub.c: New file.
5619 * gdb.base/vla-stub.exp: New file.
5621 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5622 Jan Kratochvil <jan.kratochvil@redhat.com>
5623 Tom Tromey <tromey@redhat.com>
5625 * configure.ac: Add gdb.compile/.
5626 * configure: Regenerate.
5627 * gdb.compile/Makefile.in: New file.
5628 * gdb.compile/compile-ops.exp: New file.
5629 * gdb.compile/compile-ops.c: New file.
5630 * gdb.compile/compile-tls.c: New file.
5631 * gdb.compile/compile-tls.exp: New file.
5632 * gdb.compile/compile-constvar.S: New file.
5633 * gdb.compile/compile-constvar.c: New file.
5634 * gdb.compile/compile-mod.c: New file.
5635 * gdb.compile/compile-nodebug.c: New file.
5636 * gdb.compile/compile-setjmp-mod.c: New file.
5637 * gdb.compile/compile-setjmp.c: New file.
5638 * gdb.compile/compile-setjmp.exp: New file.
5639 * gdb.compile/compile-shlib.c: New file.
5640 * gdb.compile/compile.c: New file.
5641 * gdb.compile/compile.exp: New file.
5642 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5644 2014-12-12 Tom Tromey <tromey@redhat.com>
5646 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5647 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5649 2014-12-12 Doug Evans <dje@google.com>
5651 * lib/gdb-python.exp (get_python_valueof): New function.
5652 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5654 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5656 * gdb.base/completion.exp: Add test for completion of "info
5659 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5661 * gdb.base/func-ptrs.c: New file.
5662 * gdb.base/func-ptrs.exp: New file.
5664 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5666 PR breakpoints/17012
5667 * gdb.base/dprintf-detach.c: New file.
5668 * gdb.base/dprintf-detach.exp: New file.
5670 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5672 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5673 * lib/gdb.exp (target_is_gdbserver): New procedure.
5675 2014-12-08 Doug Evans <dje@google.com>
5677 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5679 2014-12-05 Yao Qi <yao@codesourcery.com>
5681 * gdb.guile/scm-error.exp: Remove the third argument to
5682 gdb_remote_download.
5683 * gdb.guile/scm-frame-args.exp: Likewise.
5684 * gdb.guile/scm-section-script.exp: Likewise.
5686 2014-12-05 Yao Qi <yao@codesourcery.com>
5688 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5690 2014-12-04 Doug Evans <dje@google.com>
5692 * gdb.python/py-objfile.exp: Add tests for
5693 objfile.add_separate_debug_file.
5695 2014-12-04 Doug Evans <dje@google.com>
5697 * lib/gdb.exp (get_build_id): New function.
5698 (build_id_debug_filename_get): Rewrite to use it.
5699 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5701 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5703 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5704 `method(long)', not just 0x0.
5705 * gdb.cp/nsalias.exp: Align code labels to 4.
5706 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5707 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5708 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5709 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5710 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5711 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5713 2014-12-02 Doug Evans <dje@google.com>
5716 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5717 * gdb.cp/anon-ns2.cc: ... here. New file.
5718 * gdb.cp/anon-ns.exp: Update.
5720 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5722 * gdb.python/py-events.py (inferior_call_handler): New.
5723 (register_changed_handler, memory_changed_handler): New.
5724 (test_events.invoke): Register new handlers.
5725 * gdb.python/py-events.exp: Add tests for inferior call,
5726 memory_changed and register_changed events.
5728 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5730 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5731 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5732 if the linker doesn't understand this.
5734 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5736 * gdb.python/python.exp: Change expected reply to help().
5738 2014-12-01 Yao Qi <yao@codesourcery.com>
5740 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5741 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5742 * configure: Re-generated.
5744 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5746 * gdb.cp/chained-calls.cc: New file.
5747 * gdb.cp/chained-calls.exp: New file.
5748 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5750 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5752 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5753 * gdb.dwarf2/symtab-producer.exp: Same.
5754 * gdb.gdb/python-interrupts.exp: Same.
5755 * gdb.gdb/python-selftest.exp: Same.
5756 * gdb.python/py-linetable.exp: Same.
5757 * gdb.python/py-type.exp: Same.
5758 * gdb.python/py-value-cc.exp: Same.
5759 * gdb.python/py-value.exp: Same.
5761 2014-11-28 Yao Qi <yao@codesourcery.com>
5763 * gdb.base/break-probes.exp: Match library name prefixed with
5766 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5768 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5769 test expected output. Add parentheses for the call to print.
5770 Remove L suffix from integers.
5772 2014-11-26 Doug Evans <dje@google.com>
5774 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5776 2014-11-22 Yao Qi <yao@codesourcery.com>
5778 * gdb.trace/entry-values.c: Remove asms.
5779 (foo): Add foo_label.
5780 (bar): Add bar_label.
5781 * gdb.trace/entry-values.exp: Remove code computing foo's
5782 length and bar's length.
5783 (Dwarf::assemble): Invoke function_range for bar and use
5784 MACRO_AT_func for foo.
5786 2014-11-22 Yao Qi <yao@codesourcery.com>
5788 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5789 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5790 Use .Lgcc43_procstart instead of gcc43.
5792 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5794 * gdb.ada/n_arr_bound: New testcase.
5796 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5798 PR breakpoints/10737
5799 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5800 test_catch_syscall_multi_arch.
5801 (test_catch_syscall_multi_arch): New function.
5803 2014-11-20 Doug Evans <xdje42@gmail.com>
5805 * gdb.base/maint.exp: Update expected output.
5807 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5809 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5810 4-byte instruction on S390.
5812 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5814 * gdb.ada/arr_arr: New testcase.
5816 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5818 * gdb.ada/pkd_arr_elem: New Testcase.
5820 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5822 * gdb.reverse/break-precsave: Expect completion message for
5824 * gdb.reverse/consecutive-precsave.exp: Likewise.
5825 * gdb.reverse/finish-precsave.exp: Likewise.
5826 * gdb.reverse/i386-precsave.exp: Likewise.
5827 * gdb.reverse/machinestate-precsave.exp: Likewise.
5828 * gdb.reverse/sigall-precsave.exp: Likewise.
5829 * gdb.reverse/solib-precsave.exp: Likewise.
5830 * gdb.reverse/step-precsave.exp: Likewise.
5831 * gdb.reverse/until-precsave.exp: Likewise.
5832 * gdb.reverse/watch-precsave.exp: Likewise.
5834 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5836 * gdb.base/bp-permanent.c: Include unistd.h.
5837 * gdb.python/py-framefilter-mi.c (main): Add return type.
5838 * gdb.python/py-framefilter.c (main): Likewise.
5839 * gdb.trace/actions-changed.c (main): Likewise.
5841 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5843 * gdb.mi/until.c: Add eye-catchers.
5844 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5847 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5849 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5850 function header variants in break1.c.
5851 * gdb.base/ena-dis-br.exp: Likewise.
5852 * gdb.base/hbreak2.exp: Likewise.
5853 * gdb.reverse/until-precsave.exp: Drop references to removed
5854 non-prototype function header variants in ur1.c.
5855 * gdb.reverse/until-reverse.exp: Likewise.
5857 2014-11-17 Petr Machata <pmachata@redhat.com>
5859 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5860 ${_cu_offset_size} bytes abbrev offset.
5862 2014-11-15 Doug Evans <xdje42@gmail.com>
5865 * gdb.base/line-symtabs.exp: New file.
5866 * gdb.base/line-symtabs.c: New file.
5867 * gdb.base/line-symtabs.h: New file.
5869 2014-11-14 Yao Qi <yao@codesourcery.com>
5871 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5872 (func): Add label func_label.
5873 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5874 Replace low_pc and high_pc with MACRO_AT_range.
5875 Replace name, low_pc and high_pc with MACRO_AT_func.
5877 2014-11-14 Yao Qi <yao@codesourcery.com>
5879 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5880 Replace name, low_pc and high_pc with MACRO_AT_func.
5882 2014-11-14 Yao Qi <yao@codesourcery.com>
5884 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5885 produce debug information.
5886 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5888 2014-11-14 Yao Qi <yao@codesourcery.com>
5890 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5891 object and get function length.
5892 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5894 (top-level): Replace gdb_compile and clean_restart with
5895 prepare_for_testing.
5896 * gdb.dwarf2/main.c (main): Add label main_label.
5898 2014-11-14 Yao Qi <yao@codesourcery.com>
5900 * lib/dwarf.exp (function_range): New procedure.
5901 (Dwarf::_handle_macro_at_func): New procedure.
5902 (Dwarf::_handle_macro_at_range): New procedure.
5903 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5905 2014-11-14 Yao Qi <yao@codesourcery.com>
5907 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5908 (_handle_attribute): New procedure.
5910 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5912 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5913 * gdb.base/call-sc.c (zed): Likewise.
5914 * gdb.base/checkpoint.c (main): Likewise.
5915 * gdb.base/dump.c (main): Likewise.
5916 * gdb.base/gcore.c (main): Likewise.
5917 * gdb.base/huge.c (main): Likewise.
5918 * gdb.base/multi-forks.c (main): Likewise.
5919 * gdb.base/pr10179-a.c (main): Likewise.
5920 * gdb.base/savedregs.c (main): Likewise.
5921 * gdb.base/sigaltstack.c (main): Likewise.
5922 * gdb.base/siginfo.c (main): Likewise.
5923 * gdb.base/structs.c (zed): Likewise.
5924 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5925 * gdb.mi/mi-syn-frame.c (main): Likewise.
5926 * gdb.mi/until.c (foo, main): Likewise.
5927 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5928 * gdb.base/solib-weak.c (foo): Declare.
5929 * gdb.base/attach-twice.c: Include stdio.h.
5930 * gdb.base/weaklib1.c: Likewise.
5931 * gdb.base/weaklib2.c: Likewise.
5932 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5933 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5935 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5936 * gdb.mi/mi-exit-code.c: Likewise.
5937 * gdb.base/break-interp-lib.c: Include string.h.
5938 * gdb.base/coremaker.c: Likewise.
5939 * gdb.base/testenv.c: Likewise.
5940 * gdb.python/py-finish-breakpoint.c: Likewise.
5941 * gdb.base/inferior-died.c: Include sys/wait.h.
5942 * gdb.base/fileio.c: Include time.h.
5943 * gdb.base/async-shell.c: Include unistd.h.
5944 * gdb.base/dprintf-non-stop.c: Likewise.
5945 * gdb.base/info-os.c: Likewise.
5946 * gdb.mi/mi-console.c: Likewise.
5947 * gdb.mi/watch-nonstop.c: Likewise.
5948 * gdb.python/py-events.c: Likewise.
5949 * gdb.base/async.c (baz): Move up before its invocation.
5950 * gdb.base/code_elim2.c (my_global_func): Likewise.
5951 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5952 * gdb.base/advance.c (func2): Likewise.
5954 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5956 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5958 * gdb.base/annota3.c: Likewise.
5959 * gdb.base/async.c: Likewise.
5960 * gdb.base/average.c: Likewise.
5961 * gdb.base/call-ar-st.c: Likewise.
5962 * gdb.base/call-rt-st.c: Likewise.
5963 * gdb.base/call-sc.c: Likewise.
5964 * gdb.base/call-strs.c: Likewise.
5965 * gdb.base/ending-run.c: Likewise.
5966 * gdb.base/execd-prog.c: Likewise.
5967 * gdb.base/exprs.c: Likewise.
5968 * gdb.base/foll-exec.c: Likewise.
5969 * gdb.base/foll-fork.c: Likewise.
5970 * gdb.base/foll-vfork.c: Likewise.
5971 * gdb.base/funcargs.c: Likewise.
5972 * gdb.base/gcore.c: Likewise.
5973 * gdb.base/jump.c: Likewise.
5974 * gdb.base/langs0.c: Likewise.
5975 * gdb.base/langs1.c: Likewise.
5976 * gdb.base/langs2.c: Likewise.
5977 * gdb.base/mips_pro.c: Likewise.
5978 * gdb.base/nodebug.c: Likewise.
5979 * gdb.base/opaque0.c: Likewise.
5980 * gdb.base/opaque1.c: Likewise.
5981 * gdb.base/recurse.c: Likewise.
5982 * gdb.base/run.c: Likewise.
5983 * gdb.base/scope0.c: Likewise.
5984 * gdb.base/scope1.c: Likewise.
5985 * gdb.base/setshow.c: Likewise.
5986 * gdb.base/setvar.c: Likewise.
5987 * gdb.base/shmain.c: Likewise.
5988 * gdb.base/shr1.c: Likewise.
5989 * gdb.base/shr2.c: Likewise.
5990 * gdb.base/sigall.c: Likewise.
5991 * gdb.base/signals.c: Likewise.
5992 * gdb.base/so-indr-cl.c: Likewise.
5993 * gdb.base/solib2.c: Likewise.
5994 * gdb.base/structs.c: Likewise.
5995 * gdb.base/sum.c: Likewise.
5996 * gdb.base/vforked-prog.c: Likewise.
5997 * gdb.base/watchpoint.c: Likewise.
5998 * gdb.reverse/shr2.c: Likewise.
5999 * gdb.reverse/until-reverse.c: Likewise.
6000 * gdb.reverse/ur1.c: Likewise.
6001 * gdb.reverse/watch-reverse.c: Likewise.
6003 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6007 * gdb.base/sepdebug.exp: Drop references to removed code.
6009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6012 variant. Preserve original line numbering.
6013 * gdb.base/list1.c: Likewise.
6015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6017 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6019 * gdb.base/break1.c: Likewise.
6020 * gdb.base/break.exp: Drop references to removed code.
6022 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6024 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6029 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6031 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6033 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6034 logic into perform_all_tests() and invoke it with and without
6035 function header prototypes.
6036 (do_function_calls): Remove conditional XFAIL for PR 5318.
6037 (rerun_and_prepare): Remove duplicate code.
6038 (perform_all_tests): New. Main logic moved here.
6040 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6042 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6043 code guarded by #ifdef NO_PROTOTYPES.
6044 (t_double_many_args): Likewise.
6045 (DEF_FUNC_MANY_ARGS_1): Likewise.
6046 (DEF_FUNC_VALUES_1): Likewise.
6047 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6048 guarded by #ifdef PROTOTYPES.
6050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6052 * gdb.mi/mi-console.c: Add eye-catcher.
6053 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6054 instead of literal line number.
6056 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6058 * gdb.base/shr2.c: Add eye-catcher.
6059 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6064 * gdb.base/jump.c: Add eye-catchers.
6065 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6070 * gdb.base/execd-prog.c: Add eye-catchers.
6071 * gdb.base/foll-exec.c: Likewise.
6072 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6075 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6077 * gdb.base/ending-run.c: Add eye-catchers.
6078 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6079 literal line numbers.
6081 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6083 * gdb.base/call-rt-st.c: Add eye-catchers.
6084 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6085 literal line numbers.
6087 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089 * gdb.base/call-ar-st.c: Add eye-catchers.
6090 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6091 literal line numbers.
6093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6095 * gdb.base/average.c: Add eye-catchers.
6096 * gdb.base/sum.c: Likewise.
6097 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6098 regexps dynamically.
6100 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6102 * gdb.base/solib1.c: Add eye-catchers.
6103 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6104 literal line numbers.
6106 2014-11-12 Pedro Alves <palves@redhat.com>
6108 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6111 2014-11-12 Pedro Alves <palves@redhat.com>
6113 * gdb.arch/i386-bp_permanent.c: New file.
6114 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6115 (srcfile): Set to i386-bp_permanent.c.
6116 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6117 that stepi does not execute the 'leave' instruction, instead of
6118 testing it does execute.
6119 * gdb.base/bp-permanent.c: New file.
6120 * gdb.base/bp-permanent.exp: New file.
6122 2014-11-10 Doug Evans <xdje42@gmail.com>
6125 * gdb.base/symtab-search-order.exp: New file.
6126 * gdb.base/symtab-search-order.c: New file.
6127 * gdb.base/symtab-search-order-1.c: New file.
6128 * gdb.base/symtab-search-order-shlib-1.c: New file.
6130 2014-11-07 Pedro Alves <palves@redhat.com>
6133 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6136 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6139 * gdb.cp/pr17494.cc: New file.
6140 * gdb.cp/pr17494.exp: New file.
6142 2014-11-02 Yao Qi <yao@codesourcery.com>
6144 * gdb.python/python.exp: Get working directory and match the
6145 output of "set extended-prompt \\w " with it.
6147 2014-10-30 Doug Evans <dje@google.com>
6149 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6151 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6154 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6156 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6157 * gdb.base/realname-expand.exp: Likewise.
6158 * gdb.linespec/macro-relative.exp: Likewise.
6160 2014-10-29 Pedro Alves <palves@redhat.com>
6163 * gdb.threads/schedlock.c (some_function): New function.
6164 (call_function): New global.
6165 (MAYBE_CALL_SOME_FUNCTION): New macro.
6166 (thread_function): Call it.
6167 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6168 and use it instead of a global counter. Adjust all callers.
6169 (get_current_thread): Use "find current thread" for test message
6170 here rather than having all callers pass down the same string.
6171 (goto_loop): New procedure, factored out from ...
6172 (my_continue): ... this.
6173 (step_ten_loops): Change parameter from test message to command to
6175 (list_count): Delete global.
6176 (check_result): New procedure, factored out from duplicate top
6178 (continue tests): Wrap in with_test_prefix.
6179 (test_step): New procedure, factored out from duplicate top level
6181 (top level): Test "step" in combination with all scheduler-locking
6182 modes. Test "next" in combination with all scheduler-locking
6183 modes, and in combination with stepping over a function call or
6185 * gdb.threads/next-bp-other-thread.c: New file.
6186 * gdb.threads/next-bp-other-thread.exp: New file.
6188 2014-10-29 Pedro Alves <palves@redhat.com>
6191 * gdb.python/python.exp: Test a multi-line command that spawns
6193 * gdb.base/multi-line-starts-subshell.exp: New file.
6195 2014-10-29 Yao Qi <yao@codesourcery.com>
6197 * gdb.base/fileio.exp: Make directories on host.
6199 2014-10-29 Yao Qi <yao@codesourcery.com>
6201 * gdb.base/fileio.c (test_write): Close the file.
6203 2014-10-28 Pedro Alves <palves@redhat.com>
6206 * gdb.base/sigstep.c (no_handler): New global.
6207 (main): If 'no_handler is true, set the signal handlers to
6209 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6210 with_sw_watch and no_handler parameters. Handle them.
6211 (top level) <stepping over handler when stopped at a breakpoint
6212 test>: Add a test axis for testing with a software watchpoint, and
6213 another for testing with the signal handler set to SIG_IGN.
6214 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6215 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6217 2014-10-28 Pedro Alves <palves@redhat.com>
6220 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6221 * gdb.base/sigstep.exp (other_handler_location): New global.
6222 (advance): Support stepping into the signal handler, and running
6223 commands while in the handler.
6224 (in_handler_map): New global.
6225 (top level): In the advance test, add combinations for getting
6226 into the handler with stepping commands, and for running commands
6227 in the handler. Add comment descripting the advancei tests.
6229 2014-10-28 Pedro Alves <palves@redhat.com>
6231 * gdb.base/sigstep.exp: Use build_executable instead of
6232 prepare_for_testing.
6233 (top level): Move code that starts GDB, runs to main and creates a
6235 (restart): ... this new procedure.
6236 (top level): Move backtrace from signal handler test to ...
6237 (validate_backtrace): ... this new procedure.
6238 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6239 with_test_prefix. Always restart GDB.
6240 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6241 with_test_prefix. Always restart GDB. No need to delete
6242 breakpoints after the test.
6243 (test_skip_handler): Remove prefix parameter.
6244 (skip_over_handler, breakpoint_to_handler)
6245 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6246 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6247 restart GDB. No need to delete breakpoints after the test.
6248 (top level): Use foreach to call the test procedures with
6251 2014-10-28 Pedro Alves <palves@redhat.com>
6253 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6254 instead of GNATS numbers.
6255 * gdb.base/sigbpt.exp: Likewise.
6256 * gdb.base/siginfo.exp: Likewise.
6257 * gdb.base/sigstep.exp: Likewise.
6259 2014-10-27 Pedro Alves <palves@redhat.com>
6261 * gdb.base/sigstep.c (dummy): New global.
6262 (main): Issue a couple writes to the new global.
6263 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6265 (skip_over_handler): Use test_skip_handler.
6266 (top level): Call skip_over_handler for stepi and nexti too.
6267 (breakpoint_over_handler): Use test_skip_handler.
6268 (top level): Call breakpoint_over_handler for stepi and nexti too.
6270 2014-10-27 Yao Qi <yao@codesourcery.com>
6272 * gdb.trace/tfile.c (adjust_function_address)
6273 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6274 function descriptor.
6276 2014-10-24 Don Breazeal <donb@codesourcery.com>
6278 * gdb.base/foll-fork.exp (test_follow_fork,
6279 catch_fork_child_follow): Check for updated fork messages emitted
6281 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6282 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6283 vfork_and_exec_child_follow_through_step): Check for updated vfork
6284 messages emitted from infrun.c.
6286 2014-10-24 Pedro Alves <palves@redhat.com>
6288 * gdb.base/corefile.exp: Remove references to ultrix.
6289 * gdb.base/interrupt.exp: Likewise.
6290 * gdb.base/whatis.exp: Likewise.
6291 * gdb.gdb/selftest.exp: Likewise.
6292 * gdb.threads/manythreads.exp: Likewise.
6293 * gdb.threads/print-threads.exp: Likewise.
6294 * gdb.threads/pthreads.exp:: Likewise.
6295 * gdb.threads/schedlock.exp: Likewise.
6297 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6299 * gdb.cp/non-trivial-retval.cc: Add a test case.
6300 * gdb.cp/non-trivial-retval.exp: Add a test.
6302 2014-10-20 Yao Qi <yao@codesourcery.com>
6304 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6305 * gdb.python/py-objfile-script-gdb.py: New file.
6306 * gdb.python/py-objfile-script.exp: Update reference to
6307 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6308 of remote_download. Remove the dest file.
6310 2014-10-20 Yao Qi <yao@codesourcery.com>
6312 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6313 * gdb.base/step-line.exp: Likewise.
6314 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6315 * gdb.dwarf2/dw2-basic.exp: Likewise.
6316 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6317 * gdb.dwarf2/dw2-filename.exp: Likewise.
6318 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6319 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6320 * gdb.dwarf2/dw2-producer.exp: Likewise.
6321 * gdb.dwarf2/mac-fileno.exp: Likewise.
6322 * gdb.python/py-frame-args.exp: Likewise.
6323 * gdb.python/py-framefilter.exp: Likewise.
6324 * gdb.python/py-mi.exp: Likewise.
6325 * gdb.python/py-objfile-script.exp: Likewise
6326 * gdb.python/py-pp-integral.exp: Likewise.
6327 * gdb.python/py-pp-re-notag.exp: Likewise.
6328 * gdb.python/py-prettyprint.exp: Likewise.
6329 * gdb.python/py-section-script.exp: Likewise.
6330 * gdb.python/py-typeprint.exp: Likewise.
6331 * gdb.python/py-xmethods.exp: Likewise.
6332 * gdb.stabs/weird.exp: Likewise.
6333 * gdb.xml/tdesc-regs.exp: Likewise.
6335 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6337 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6338 (out_cu): Use addr_len for the size of addresses.
6339 (out_line): Likewise. Size DW_LNE_set_address instruction
6340 according to addr_len.
6341 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6342 (FUNC): Add START_INSNS to definition.
6344 2014-10-18 Yao Qi <yao@codesourcery.com>
6346 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6347 gdb_has_argv0 return true.
6348 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6349 check [target_info exists noargs], check [gdb_has_argv0]
6351 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6352 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6355 2014-10-17 Doug Evans <dje@google.com>
6357 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6359 * gdb.python/py-events.py: Add clear_objfiles event.
6361 2014-10-17 Doug Evans <dje@google.com>
6363 * gdb.python/py-objfile.exp: Test progspace attribute.
6365 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6367 * gdb.guile/scm-breakpoint.exp: Do not assume any
6368 directory separators when matching source file paths.
6369 * gdb.python/py-breakpoint.exp: Likewise.
6370 * gdb.reverse/break-precsave.exp: Likewise.
6371 * gdb.reverse/break-reverse.exp: Likewise.
6372 * gdb.reverse/consecutive-precsave.exp: Likewise.
6373 * gdb.reverse/finish-precsave.exp: Likewise.
6374 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6375 * gdb.reverse/finish-reverse.exp: Likewise.
6376 * gdb.reverse/i386-precsave.exp: Likewise.
6377 * gdb.reverse/i387-env-reverse.exp: Likewise.
6378 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6379 * gdb.reverse/machinestate-precsave.exp: Likewise.
6380 * gdb.reverse/machinestate.exp: Likewise.
6381 * gdb.reverse/sigall-precsave.exp: Likewise.
6382 * gdb.reverse/solib-precsave.exp: Likewise.
6383 * gdb.reverse/step-precsave.exp: Likewise.
6384 * gdb.reverse/until-precsave.exp: Likewise.
6385 * gdb.reverse/watch-precsave.exp: Likewise.
6386 * gdb.reverse/watch-reverse.exp: Likewise.
6388 2014-10-17 Yao Qi <yao@codesourcery.com>
6390 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6391 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6393 2014-10-17 Pedro Alves <palves@redhat.com>
6396 * gdb.base/bg-execution-repeat.c: New file.
6397 * gdb.base/bg-execution-repeat.exp: New file.
6399 2014-10-17 Pedro Alves <palves@redhat.com>
6402 * gdb.base/continue-all-already-running.c: New file.
6403 * gdb.base/continue-all-already-running.exp: New file.
6405 2014-10-17 Pedro Alves <palves@redhat.com>
6408 * gdb.base/annota-input-while-running.c: New file.
6409 * gdb.base/annota-input-while-running.exp: New file.
6411 2014-10-17 Pedro Alves <palves@redhat.com>
6413 * gdb.base/callfuncs.exp: emove references to osf.
6414 * gdb.base/sigall.exp: Likewise.
6415 * gdb.gdb/selftest.exp: Likewise.
6416 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6417 * gdb.mi/non-stop.c: Likewise.
6418 * gdb.mi/pthreads.c: Likewise.
6419 * gdb.reverse/sigall-precsave.exp: Likewise.
6420 * gdb.reverse/sigall-reverse.exp: Likewise.
6421 * gdb.threads/pthreads.c: Likewise.
6422 * gdb.threads/pthreads.exp: Likewise.
6424 2014-10-17 Yao Qi <yao@codesourcery.com>
6426 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6427 check 'target_info exists noargs'.
6428 (test_command_prompt_position): Likewise.
6429 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6431 (progvar_simple_while_test): Likewise.
6432 (progvar_complex_if_while_test): Likewise.
6433 (if_while_breakpoint_command_test): Likewise.
6434 (infrun_breakpoint_command_test): Likewise.
6435 (breakpoint_command_test): Likewise.
6436 (watchpoint_command_test): Likewise.
6437 (bp_deleted_in_command_test): Likewise.
6438 (temporary_breakpoint_commands): Likewise.
6440 2014-10-16 Yao Qi <yao@codesourcery.com>
6442 * gdb.base/remotetimeout.exp: Remove noargs checking.
6444 2014-10-15 Pedro Alves <palves@redhat.com>
6447 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6448 * gdb.base/breakpoint-in-ro-region.exp
6449 (probe_target_hardware_step): New procedure.
6450 (top level): Probe hardware stepping and hardware breakpoint
6451 support. Test stepping through a read-only region, with both
6452 "breakpoint auto-hw" on and off and both "always-inserted" on and
6455 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6457 * gdb.dlang/demangle.exp: Update for demangling changes.
6459 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6461 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6462 * gdb.cp/non-trivial-retval.exp: Add new tests.
6464 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6468 * gdb.cp/non-trivial-retval.cc: New file.
6469 * gdb.cp/non-trivial-retval.exp: New file.
6471 2014-10-15 Yao Qi <yao@codesourcery.com>
6473 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6476 2014-10-15 Yao Qi <yao@codesourcery.com>
6478 * gdb.python/py-symbol.exp: Match file base name if host is
6479 remote, otherwise match file name with dir name.
6480 * gdb.python/py-symtab.exp: Likewise.
6481 * gdb.python/python.exp: Likewise.
6483 2014-10-15 Yao Qi <yao@codesourcery.com>
6485 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6487 * gdb.python/py-symtab.exp: Likewise.
6488 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6491 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6493 * gdb.ada/addr_arith: New testcase.
6495 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6497 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6498 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6499 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6500 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6502 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6504 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6505 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6506 * gdb.arch/stap-eval-lang-ada.exp: New file.
6508 2014-10-14 Yao Qi <yao@codesourcery.com>
6510 * gdb.mi/mi-var-child.c (nothing1): New function.
6511 (nothing2): New function.
6512 (do_children_tests): Set function pointers by nothing1 and
6514 * gdb.mi/mi-var-child.exp: Step over new added statements.
6515 Update test to match the new output.
6516 * gdb.mi/var-cmd.c (nothing1): New function.
6517 (nothing2): New function.
6518 (do_children_tests): Set function pointers by nothing1 and
6520 * gdb.mi/mi-var-display.exp: Update test to match output.
6521 Step to the line specified by $line_dct_nothing.
6522 Increase the number of lines to step.
6524 2014-10-14 Yao Qi <yao@codesourcery.com>
6526 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6528 * gdb.mi/mi2-var-child.exp: Likewise.
6530 2014-10-13 Doug Evans <dje@google.com>
6532 * gdb.python/py-objfile.exp: Change name of file name test.
6534 2014-10-13 Doug Evans <dje@google.com>
6536 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6537 from the start of the CU.
6539 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6540 Yao Qi <yao@codesourcery.com>
6542 Fix "save breakpoints" for "catch" command.
6543 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6544 Remove -nonewline. Match also the added "main" line.
6546 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6548 Fix "save breakpoints" for "disable $bpnum" command.
6549 * gdb.base/save-bp.c (main): Add label.
6550 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6552 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6554 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6556 2014-10-11 Yao Qi <yao@codesourcery.com>
6558 * gdb.server/server-kill.exp: Execute command
6559 "set remote trace-status-packet on" before "tstatus".
6561 2014-10-11 Yao Qi <yao@codesourcery.com>
6563 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6564 (main): Call getppid.
6565 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6566 and continue to it. Read variable "server_pid".
6568 2014-10-11 Yao Qi <yao@codesourcery.com>
6570 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6572 2014-10-11 Yao Qi <yao@codesourcery.com>
6574 * gdb.threads/thread-find.exp: Don't execute command
6576 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6577 * gdb.threads/linux-dp.exp: Don't check the condition
6578 $threads_created equals to zero.
6580 2014-10-10 Pedro Alves <palves@redhat.com>
6582 * gdb.base/bigcore.exp: Remove references to IRIX.
6583 * gdb.base/funcargs.exp: Likewise.
6584 * gdb.base/interrupt.exp: Likewise.
6585 * gdb.base/mips_pro.exp: Likewise.
6586 * gdb.base/nodebug.exp: Likewise.
6587 * gdb.base/setvar.exp: Likewise.
6588 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6590 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6591 Pedro Alves <palves@redhat.com>
6594 * gdb.base/vdso-warning.c: New file.
6595 * gdb.base/vdso-warning.exp: New file.
6597 2014-10-02 Doug Evans <dje@google.com>
6599 * gdb.base/structs.c (main): Don't run forever.
6601 2014-10-02 Pedro Alves <palves@redhat.com>
6603 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6604 (top level) <stop threads 1, stop threads 2>: Use it.
6606 2014-10-02 Pedro Alves <palves@redhat.com>
6608 * gdb.threads/break-while-running.exp (test): Add new
6609 'update_thread_list' argument. Skip "info threads" if false.
6610 (top level): Add new 'update_thread_list' axis.
6612 2014-10-02 Pedro Alves <palves@redhat.com>
6614 PR breakpoints/17431
6615 * gdb.base/execl-update-breakpoints.c: New file.
6616 * gdb.base/execl-update-breakpoints.exp: New file.
6618 2014-10-01 Pedro Alves <palves@redhat.com>
6620 * gdb.base/breakpoint-in-ro-region.c: New file.
6621 * gdb.base/breakpoint-in-ro-region.exp: New file.
6623 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6625 * gdb.mi/mi-exit-code.exp: New file.
6626 * gdb.mi/mi-exit-code.c: New file.
6628 2014-09-30 Yao Qi <yao@codesourcery.com>
6630 * lib/prelink-support.exp (build_executable_own_libs): Error if
6631 the target isn't native.
6633 2014-09-30 Yao Qi <yao@codesourcery.com>
6635 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6638 2014-09-22 Pedro Alves <palves@redhat.com>
6640 * gdb.threads/break-while-running.exp: New file.
6641 * gdb.threads/break-while-running.c: New file.
6643 2014-09-19 Yao Qi <yao@codesourcery.com>
6645 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6646 Invoke test. Restart GDB with --readnow and invoke test again.
6648 2014-09-19 Yao Qi <yao@codesourcery.com>
6650 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6651 proc set_breakpoint_on_gcd_function. Invoke
6652 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6653 invoke set_breakpoint_on_gcd_function again.
6655 2014-09-18 Doug Evans <dje@google.com>
6657 * gdb.dwarf2/symtab-producer.exp: New file.
6659 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6661 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6662 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6663 * gdb.base/global-var-nested-by-dso.c: Likewise.
6664 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6666 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6667 Pedro Alves <palves@redhat.com>
6669 * gdb.base/watch-bitfields.exp: Pass string other than test file
6670 name to prepare_for_testing.
6671 (watch): New procedure.
6672 (expect_watchpoint): Use with_test_prefix.
6673 (top level): Factor out tests to ...
6674 (test_watch_location, test_regular_watch): ... these new
6675 procedures, and use with_test_prefix and gdb_continue_to_end.
6677 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6679 PR breakpoints/12526
6680 * gdb.base/watch-bitfields.exp: New file.
6681 * gdb.base/watch-bitfields.c: New file.
6683 2014-09-16 Pedro Alves <palves@redhat.com>
6685 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6686 software and hardware addresses, not software address against
6689 2014-09-16 Pedro Alves <palves@redhat.com>
6691 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6692 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6694 2014-09-16 Pedro Alves <palves@redhat.com>
6696 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6698 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6699 "*-*-vxworks*" throughout.
6700 * gdb.base/break.exp: Likewise.
6701 * gdb.base/default.exp: Likewise.
6702 * gdb.base/scope.exp: Likewise.
6703 * gdb.base/sepdebug.exp: Likewise.
6704 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6706 * gdb.base/run.c: Likewise.
6707 * gdb.base/sepdebug.c: Likewise.
6708 * gdb.hp/gdb.aCC/run.c: Likewise.
6709 * gdb.reverse/until-reverse.c: Likewise.
6710 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6712 2014-09-16 Yao Qi <yao@codesourcery.com>
6714 * boards/local-remote-host-native.exp: New file.
6716 2014-09-14 Doug Evans <xdje42@gmail.com>
6718 * gdb.threads/queue-signal.c (thread_count): New variable.
6719 (thread_count_mutex, thread_count_condvar): New variables.
6720 (incr_thread_count, wait_all_threads_running): New functions.
6721 (main): Wait for all threads to be in their thread functions.
6723 2014-09-13 Doug Evans <xdje42@gmail.com>
6725 * gdb.threads/queue-signal.c: New file.
6726 * gdb.threads/queue-signal.exp: New file.
6728 2014-09-13 Doug Evans <xdje42@gmail.com>
6730 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6731 be consistent with what default_gdb_init uses.
6732 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6733 the plain text of the prompt. Add some logging printfs.
6734 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6736 2014-09-12 Pedro Alves <palves@redhat.com>
6738 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6739 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6740 * gdb.arch/i386-size-overlap.exp: Likewise.
6741 * gdb.arch/i386-size.exp: Likewise.
6742 * gdb.arch/i386-unwind.exp: Likewise.
6743 * gdb.base/a2-run.exp: Likewise.
6744 * gdb.base/break.exp: Likewise.
6745 * gdb.base/charset.exp: Likewise.
6746 * gdb.base/chng-syms.exp: Likewise.
6747 * gdb.base/commands.exp: Likewise.
6748 * gdb.base/dbx.exp: Likewise.
6749 * gdb.base/find.exp: Likewise.
6750 * gdb.base/funcargs.exp: Likewise.
6751 * gdb.base/jit-simple.exp: Likewise.
6752 * gdb.base/reread.exp: Likewise.
6753 * gdb.base/sepdebug.exp: Likewise.
6754 * gdb.base/step-bt.exp: Likewise.
6755 * gdb.cp/mb-inline.exp: Likewise.
6756 * gdb.cp/mb-templates.exp: Likewise.
6757 * gdb.objc/basicclass.exp: Likewise.
6758 * gdb.threads/killed.exp: Likewise.
6760 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6763 * gdb.arch/powerpc-stackless.S: New file.
6764 * gdb.arch/powerpc-stackless.exp: New file.
6766 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6768 * gdb.base/attach.c: Include unistd.h.
6769 (main): Call alarm. Add label postloop.
6770 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6771 gdb_breakpoint, gdb_continue_to_breakpoint.
6772 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6774 2014-09-11 Pedro Alves <palves@redhat.com>
6777 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6778 * gdb.base/attach.exp (test_command_line_attach_run): New
6780 (top level): Call it.
6782 2014-09-11 Pedro Alves <palves@redhat.com>
6784 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6785 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6786 (do_command_attach_tests): Use spawn_wait_for_attach.
6787 * gdb.base/solib-overlap.exp: Likewise.
6788 * gdb.multi/multi-attach.exp: Likewise.
6789 * gdb.python/py-prompt.exp: Likewise.
6790 * gdb.python/py-sync-interp.exp: Likewise.
6791 * gdb.server/ext-attach.exp: Likewise.
6793 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6795 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6796 command in testcase. Simplify testcase.
6798 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6800 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6802 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6804 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6806 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6808 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6810 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6812 * gdb.dwarf2/dynarr-ptr.c: New file.
6813 * gdb.dwarf2/dynarr-ptr.exp: New file.
6815 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6817 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6818 of 30 rather than hardcoding 120 for a slow test case. Take the
6819 `gdb,timeout' target setting into account for this calculation.
6820 Don't extend the timeout for the test cases that don't need it.
6822 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6824 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6825 a factor of 2 for a slow test case. Take the `gdb,timeout'
6826 target setting into account for this calculation.
6827 * gdb.reverse/until-precsave.exp: Increase the timeout by
6828 a factor of 15 and 3 respectively rather than adding 120
6829 for a pair of slow test cases. Take the `gdb,timeout'
6830 target setting into account for this calculation.
6832 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6834 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6835 timeout, don't pass one down to gdb_expect.
6836 (gdb_expect): Rework timeout selection.
6838 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6840 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6841 exception on timeout.
6842 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6843 (gdbserver_start_extended): Catch any `gdbserver_start' error
6845 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6846 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6847 `gdbserver_gdb_load' error exceptions.
6849 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6851 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6852 120 on waiting for the TCP socket to open.
6854 2014-09-09 Doug Evans <xdje42@gmail.com>
6856 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6857 _caller_matches, _any_caller_is, _any_caller_matches.
6859 2014-09-09 Doug Evans <xdje42@gmail.com>
6861 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6863 2014-09-09 Yao Qi <yao@codesourcery.com>
6865 * gdb.mi/mi-var-display.exp: Set print symbol off.
6867 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6870 * gdb.base/commands.exp: Add tests to verify user-defined
6871 commands with empty bodies.
6872 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6873 python commands in `show user command`.
6874 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6875 scheme commands in `show user command`.
6877 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6880 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6881 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6882 * gdb.python/py-framefilter-invalidarg.exp: New file.
6883 * gdb.python/py-framefilter-invalidarg.py: New file.
6885 2014-09-06 Doug Evans <xdje42@gmail.com>
6888 * gdb.python/py-caller-is.c: New file.
6889 * gdb.python/py-caller-is.exp: New file.
6891 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6894 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6895 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6897 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6900 * gdb.fortran/print-formatted.exp: New file.
6901 * gdb.fortran/print-formatted.f90: Likewise.
6903 2014-09-03 Sasha Smundak <asmundak@google.com>
6905 * gdb.python/py-frame.exp: Test Frame.read_register.
6907 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6910 * gdb.python/py-completion.exp: New file.
6911 * gdb.python/py-completion.py: Likewise.
6913 2014-08-28 Doug Evans <dje@google.com>
6915 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6916 eax,etc. are live with values set by gdb and thus the compiler can't
6918 * gdb.arch/i386-pseudo.c (main): Ditto.
6920 2014-08-27 Doug Evans <dje@google.com>
6922 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6924 2014-08-25 Doug Evans <dje@google.com>
6926 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6929 2014-08-25 Doug Evans <dje@google.com>
6931 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6933 2014-08-24 Yao Qi <yao@codesourcery.com>
6935 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6937 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6939 2014-08-22 Doug Evans <dje@google.com>
6942 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6943 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6944 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6946 2014-08-22 Yao Qi <yao@codesourcery.com>
6948 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6949 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6950 * gdb.python/python.exp: Likewise. Use .py file on the host
6951 instead of the build.
6953 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6955 * gdb.threads/gcore-stale-thread.c: New file.
6956 * gdb.threads/gcore-stale-thread.exp: New file.
6958 2014-08-21 Pedro Alves <palves@redhat.com>
6960 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6961 * gdb.base/gcore-relro-pie.exp: Likewise.
6962 * gdb.base/gcore-relro.exp: Likewise.
6963 * gdb.base/gcore.exp: Likewise.
6964 * gdb.base/print-symbol-loading.exp: Likewise.
6965 * gdb.threads/gcore-thread.exp: Likewise.
6966 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6968 2014-08-20 Pedro Alves <palves@redhat.com>
6969 Jan Kratochvil <jan.kratochvil@redhat.com>
6971 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6973 (EXPECT): Handle READ1 being set.
6974 (all): Depend on EXTRA_RULES.
6975 (check-read1, expect-read1, read1.so, read1): New rules.
6976 * README (Testsuite Parameters): Document the READ1 make variable.
6977 (Race detection): New section.
6978 * configure: Regenerate.
6979 * configure.ac: If build==host==target, and running under a
6980 GNU/glibc system, add read1 to the extra Makefile rules.
6981 (EXTRA_RULES): AC_SUBST it.
6982 * lib/read1.c: New file.
6984 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6986 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6987 the handling of variables declared as a typedef to an array
6988 which a DW_AT_data_location attribute.
6990 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6991 Pedro Alves <palves@redhat.com>
6995 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6998 2014-08-19 Pedro Alves <palves@redhat.com>
7000 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7002 2014-08-19 Yao Qi <yao@codesourcery.com>
7004 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7007 2014-08-18 David Blaikie <dblaikie@gmail.com>
7009 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7011 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7013 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7014 attribute in array range.
7016 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7018 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7020 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7023 * gdb.cp/pr17132.cc: New file.
7024 * gdb.cp/pr17132.exp: New file.
7026 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7028 * gdb.python/py-xmethods.py (A_getarrayind)
7029 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7030 Use 'print' with function call syntax.
7031 (E_method_matcher.match): Fix tab vs space indentation mixup.
7033 2014-08-15 Yao Qi <yao@codesourcery.com>
7035 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7038 2014-08-15 Yao Qi <yao@codesourcery.com>
7040 * gdb.cp/casts.exp: Set print symbol off.
7041 * gdb.cp/class2.exp: Likewise.
7042 * gdb.cp/overload.exp: Likewise.
7043 * gdb.cp/templates.exp: Likewise.
7045 2014-08-11 Doug Evans <dje@google.com>
7047 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7048 (test_load_shlib): Update.
7050 2014-08-09 Yao Qi <yao@codesourcery.com>
7052 * gdb.base/display.exp: Invoke is_address_zero_readable.
7053 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7054 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7055 * gdb.base/hbreak-unmapped.exp: Return if
7056 is_address_zero_readable returns true.
7057 * gdb.base/signest.exp: Likewise.
7058 * gdb.base/signull.exp: Likewise.
7059 * gdb.base/sigbpt.exp: Likewise.
7060 * gdb.guile/scm-disasm.exp: Do the test if
7061 is_address_zero_readable returns false.
7062 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7063 * gdb.python/py-arch.exp: Likewise.
7064 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7065 * lib/gdb.exp (is_address_zero_readable): New proc.
7067 2014-08-09 Yao Qi <yao@codesourcery.com>
7070 * gdb.mi/mi-var-display.exp: Make test messages unique.
7072 2014-08-04 Tom Tromey <tromey@redhat.com>
7074 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7077 2014-08-04 Tom Tromey <tromey@redhat.com>
7079 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7082 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7084 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7085 inner_vla_struct_object_size.
7086 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7089 2014-07-30 Pedro Alves <palves@redhat.com>
7091 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7094 2014-07-29 Yao Qi <yao@codesourcery.com>
7097 * gdb.base/until-nodebug.exp: New.
7099 2014-07-28 Doug Evans <xdje42@gmail.com>
7102 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7103 previously existing parameter, and previously ambiguously spelled
7106 2014-07-28 Will Newton <will.newton@linaro.org>
7108 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7110 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7111 Doug Evans <xdje42@gmail.com>
7114 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7116 2014-07-25 Pedro Alves <palves@redhat.com>
7118 * gdb.threads/signal-command-handle-nopass.c: New file.
7119 * gdb.threads/signal-command-handle-nopass.exp: New file.
7120 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7121 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7122 * gdb.threads/signal-delivered-right-thread.c: New file.
7123 * gdb.threads/signal-delivered-right-thread.exp: New file.
7125 2014-07-25 Pedro Alves <palves@redhat.com>
7127 * gdb.base/double-prompt-target-event-error.exp
7128 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7130 (cancel_pagination_in_target_event): Rework double prompt
7132 * gdb.base/paginate-after-ctrl-c-running.exp
7133 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7135 * gdb.base/paginate-bg-execution.exp
7136 (test_bg_execution_pagination_return)
7137 (test_bg_execution_pagination_cancel): Remove '-notransfer
7139 * gdb.base/paginate-execution-startup.exp
7140 (test_fg_execution_pagination_return)
7141 (test_fg_execution_pagination_cancel): Remove '-notransfer
7143 * gdb.base/paginate-inferior-exit.exp
7144 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7146 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7147 * lib/gdb.exp (pagination_prompt): Run text through
7149 (gdb_test_multiple): Match $pagination_prompt instead of
7151 (string_to_regexp): Move to lib/gdb-utils.exp.
7153 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7155 * gdb.arch/amd64-entry-value-paramref.S: New file.
7156 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7157 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7158 * gdb.arch/amd64-optimout-repeat.S: New file.
7159 * gdb.arch/amd64-optimout-repeat.c: New file.
7160 * gdb.arch/amd64-optimout-repeat.exp: New file.
7162 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7165 * gdb.base/statistics.exp: New file.
7167 2014-07-17 Doug Evans <dje@google.com>
7170 * gdb.base/maint.exp: Update testing of per-command stats.
7172 2014-07-16 Pedro Alves <palves@redhat.com>
7174 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7175 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7176 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7177 (tfile_write_buf): New functions.
7178 (add_memory_block): Rewrite using the above.
7179 (adjust_function_address): New function.
7180 (FUNCTION_ADDRESS): New macro.
7181 (write_basic_trace_file): Remove short_x local, and use
7182 tfile_write_16. Change type of func_addr local to unsigned long
7183 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7184 here. Cast argument of add_memory_block to char pointer.
7185 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7186 (main): Remove parameters.
7187 * gdb.trace/tfile.exp: Remove nowarnings.
7189 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7191 * gdb.base/debug-expr.exp: Test string evaluation with
7192 "debug expression" on.
7194 2014-07-15 Pedro Alves <palves@redhat.com>
7196 * gdb.base/reread.exp: Use clean_restart.
7198 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7200 * gdb.arch/avr-flash-qualifer.c: New.
7201 * gdb.arch/avr-flash-qualifer.exp: New.
7203 2014-07-14 Pedro Alves <palves@redhat.com>
7205 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7206 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7208 2014-07-14 Pedro Alves <palves@redhat.com>
7210 * gdb.base/double-prompt-target-event-error.c: New file.
7211 * gdb.base/double-prompt-target-event-error.exp: New file.
7213 2014-07-14 Pedro Alves <palves@redhat.com>
7216 * gdb.base/paginate-inferior-exit.c: New file.
7217 * gdb.base/paginate-inferior-exit.exp: New file.
7219 2014-07-14 Pedro Alves <palves@redhat.com>
7222 * gdb.base/paginate-bg-execution.c: New file.
7223 * gdb.base/paginate-bg-execution.exp: New file.
7225 2014-07-14 Pedro Alves <palves@redhat.com>
7228 * gdb.base/paginate-execution-startup.c: New file.
7229 * gdb.base/paginate-execution-startup.exp: New file.
7230 * lib/gdb.exp (pagination_prompt): New global.
7231 (default_gdb_spawn): New procedure, factored out from
7233 (default_gdb_start): Adjust to call default_gdb_spawn.
7234 (gdb_spawn): New procedure.
7236 2014-07-14 Pedro Alves <palves@redhat.com>
7238 * lib/gdb.exp (gdb_assert): New procedure.
7239 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7241 2014-07-14 Pedro Alves <palves@redhat.com>
7243 * gdb.base/execution-termios.c: New file.
7244 * gdb.base/execution-termios.exp: New file.
7246 2014-07-14 Tom Tromey <tromey@redhat.com>
7248 * gdb.cp/vla-cxx.cc: New file.
7249 * gdb.cp/vla-cxx.exp: New file.
7251 2014-07-14 Tom Tromey <tromey@redhat.com>
7253 * gdb.reverse/rerun-prec.c: New file.
7254 * gdb.reverse/rerun-prec.exp: New file.
7256 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7257 Maciej W. Rozycki <macro@codesourcery.com>
7259 * lib/gdb-utils.exp: New file.
7260 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7261 inline `gdb_init_command' processing.
7262 (gdb_start_cmd): Likewise.
7263 * lib/mi-support.exp (mi_run_cmd): Likewise.
7264 * README: Document `gdb_init_command' and `gdb_init_commands'.
7266 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7268 Fix false FAIL running under a very long directory name.
7269 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7270 and "set print elements 10000". Twice.
7272 2014-07-11 Yao Qi <yao@codesourcery.com>
7274 * gdb.base/exprs.exp: "set print symbol off".
7276 2014-07-11 Pedro Alves <palves@redhat.com>
7278 * gdb.threads/kill.c: New file.
7279 * gdb.threads/kill.exp: New file.
7281 2014-07-10 Yao Qi <yao@codesourcery.com>
7283 * gdb.trace/tfile.c (write_basic_trace_file)
7284 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7285 address written to trace file.
7287 2014-07-09 Pedro Alves <palves@redhat.com>
7289 * gdb.base/attach-wait-input.exp: New file.
7290 * gdb.base/attach-wait-input.c: New file.
7292 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7294 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7295 setting up test structures.
7296 (main): Call new test function.
7297 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7298 test function, continue into test function and walk test
7301 2014-07-02 Yao Qi <yao@codesourcery.com>
7303 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7304 'bar_start' at the beginning of functions 'foo' and 'bar'
7306 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7307 instead of 'foo' and 'bar'.
7309 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7311 * gdb.btrace/segv.exp: New.
7312 * gdb.btrace/segv.c: New.
7314 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7316 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7319 2014-06-30 Mark Wielaard <mjw@redhat.com>
7321 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7322 vulture, vilify, villar): New volatile array constants.
7323 (vindictive, vegetation): New const volatile array constants.
7324 * gdb.base/volatile.exp: Test volatile and const volatile array
7327 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7329 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7330 target lacks support for awatch, rwatch, or hbreak.
7332 2014-06-27 Yao Qi <yao@codesourcery.com>
7334 * gdb.multi/dummy-frame-restore.exp: New.
7335 * gdb.multi/dummy-frame-restore.c: New.
7337 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7339 * gdb.btrace/gcore.exp: New.
7341 2014-06-23 Pedro Alves <palves@redhat.com>
7343 * gdb.base/watchpoint-reuse-slot.c: New file.
7344 * gdb.base/watchpoint-reuse-slot.exp: New file.
7346 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7348 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7349 progspace's filename in 'info', 'enable' and 'disable' command
7352 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7354 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7355 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7356 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7358 2014-06-20 Gary Benson <gbenson@redhat.com>
7360 * gdb.arch/i386-avx.exp: Fix include file location.
7361 * gdb.arch/i386-sse.exp: Likewise.
7363 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7365 * gdb.dlang/expression.exp: New file.
7367 2014-06-19 Pedro Alves <palves@redhat.com>
7369 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7371 (top level): ... here. Iterate running tests under different
7372 scheduler-locking settings.
7374 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7376 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7377 to DW_FORM_addr and use non-zero addresses.
7379 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7382 * gdb.python/py-xmethods.cc: Add global function call counters and
7383 increment them in their respective functions. Remove "cout"
7385 * gdb.python/py-xmethods.exp: Make tests check the global function
7386 call counters instead of depending on inferior IO.
7388 2014-06-18 Don Breazeal <donb@codesourcery.com>
7390 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7392 (explicit_fork_parent_follow): Deleted procedure.
7393 (explicit_fork_child_follow): Deleted procedure.
7394 (test_follow_fork): New procedure.
7395 (do_fork_tests): Replace calls to deleted procedures with
7396 calls to test_follow_fork and reset GDB for subsequent
7399 2014-06-17 Yao Qi <yao@codesourcery.com>
7401 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7404 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7406 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7407 Initialize ptr and S explicitly.
7408 (skip_type_update_when_not_use_rtti_test): Likewise.
7410 2014-06-16 Keith Seitz <keiths@redhat.com>
7413 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7414 the inferior is started.
7416 2014-06-16 Pedro Alves <palves@redhat.com>
7418 * gdb.base/break-main-file-remove-fail.c: New file.
7419 * gdb.base/break-main-file-remove-fail.exp: New file.
7420 * gdb.base/break-unload-file.exp: Use build_executable instead of
7421 prepare_for_testing.
7422 (test_break): New parameter "initial_load". Handle it.
7423 (top level): Add initial_load cmdline/file axis.
7425 2014-06-12 Tom Tromey <tromey@redhat.com>
7427 * gdb.base/completion.exp: Don't use directory name in test.
7429 2014-06-09 Gary Benson <gbenson@redhat.com>
7431 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7432 separate the always-available ANSI-standard signals from the
7433 signals that require checking.
7435 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7439 2014-06-07 Keith Seitz <keiths@redhat.com>
7443 * gdb.cp/var-tag.cc: New file.
7444 * gdb.cp/var-tag.exp: New file.
7445 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7446 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7447 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7448 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7450 2014-06-06 Doug Evans <xdje42@gmail.com>
7452 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7454 2014-06-06 Pedro Alves <palves@redhat.com>
7456 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7457 in target debug output instead of looking at RSP packets,
7458 disabling the test on any target that uses hardware stepping.
7461 2014-06-06 Pedro Alves <palves@redhat.com>
7463 * gdb.base/break-unload-file.exp: Fix typo.
7465 2014-06-06 Yao Qi <yao@codesourcery.com>
7467 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7468 from "jit_function" to "^jit_function".
7470 2014-06-06 Yao Qi <yao@codesourcery.com>
7472 * gdb.base/async.c (foo): Add one statement.
7473 * gdb.base/async.exp: Get the next instruction address and
7474 match the output of "nexti" by instruction address. Match
7475 the hex address in the output of "finish".
7477 2014-06-06 Gary Benson <gbenson@redhat.com>
7479 * gdb.base/call-signals.c: Remove preprocessor conditionals
7480 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7481 SIGSEGV and SIGTERM.
7482 * gdb.base/sigall.c: Likewise.
7483 * gdb.base/unwindonsignal.c: Likewise.
7484 * gdb.reverse/sigall-reverse.c: Likewise.
7486 2014-06-06 Yao Qi <yao@codesourcery.com>
7488 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7489 readable, skip the test.
7491 2014-06-06 Yao Qi <yao@codesourcery.com>
7493 * gdb.threads/staticthreads.c (thread_function): Move the line
7494 setting breakpoint on forward.
7495 * gdb.threads/staticthreads.exp: Update comments.
7497 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7499 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7500 "history-append! type error".
7502 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7504 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7505 erroneous dprintf expected input.
7507 2014-06-04 Doug Evans <xdje42@gmail.com>
7509 * gdb.guile/scm-generics.exp: Delete.
7511 2014-06-04 Doug Evans <xdje42@gmail.com>
7513 * gdb.guile/scm-breakpoint.exp: Update.
7514 Add tests for breakpoint registration.
7516 2014-06-04 Tom Tromey <tromey@redhat.com>
7518 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7520 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7521 inner_vla_struct, vla_union types. Initialize objects of those
7522 types and compute their sizes.
7524 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7525 Hui Zhu <hui@codesourcery.com>
7527 * gdb.base/fileio.exp: Add test for shell not available as well as
7529 * gdb.base/fileio.c (test_system): Check for shell twice.
7531 2014-06-04 Yao Qi <yao@codesourcery.com>
7533 * gdb.base/auto-connect-native-target.exp: Remove redundant
7534 space from the regexp pattern.
7536 2014-06-04 Yao Qi <yao@codesourcery.com>
7538 * gdb.base/default.exp: Replace "child" with "native" in
7541 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7543 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7544 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7545 * gdb.python/py-xmethods.py: Python script supporting the
7546 new testcase and tests.
7548 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7549 Pedro Alves <palves@redhat.com>
7551 PR breakpoints/17000
7552 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7553 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7555 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7557 * gdb.base/subst.exp: Add tests to verify partial path matching
7560 2014-06-03 Pedro Alves <palves@redhat.com>
7562 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7563 target that doesn't use software single-stepping.
7565 2014-06-03 Pedro Alves <palves@redhat.com>
7567 PR breakpoints/17000
7568 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7569 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7571 2014-06-02 Doug Evans <xdje42@gmail.com>
7573 * gdb.guile/scm-parameter.exp: New file.
7575 2014-06-02 Doug Evans <xdje42@gmail.com>
7577 * gdb.guile/scm-cmd.c: New file.
7578 * gdb.guile/scm-cmd.exp: New file.
7580 2014-06-02 Doug Evans <xdje42@gmail.com>
7582 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7583 pretty-printer lookup.
7584 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7585 (make-pp_s-printer): Call it.
7586 (make-pretty-printer-from-dict): New function.
7587 (lookup-pretty-printer-maker-from-dict): New function.
7588 (*pretty-printer*): Simplify.
7589 (make-objfile-pp_s-printer): New function.
7590 (install-objfile-pretty-printers!): New function.
7591 (make-progspace-pp_s-printer): New function.
7592 (install-progspace-pretty-printers!): New function.
7593 * gdb.guile/scm-progspace.c: New file.
7594 * gdb.guile/scm-progspace.exp: New file.
7596 2014-06-02 Pedro Alves <palves@redhat.com>
7598 * gdb.base/dprintf-bp-same-addr.c: New file.
7599 * gdb.base/dprintf-bp-same-addr.exp: New file.
7601 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7603 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7604 * gdb.arch/powerpc-power.s: Likewise.
7606 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7608 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7610 2014-06-01 Yao Qi <yao@codesourcery.com>
7612 * gdb.base/watchpoint.exp (test_watch_location): Check null
7613 pointer can be dereferenced. If not, do the test, otherwise
7616 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7618 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7620 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7622 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7624 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7625 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7626 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7627 * gdb.arch/amd64-invalid-stack-top.c: New file.
7628 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7630 2014-05-30 Pedro Alves <palves@redhat.com>
7632 PR breakpoints/17000
7633 * gdb.base/sss-bp-on-user-bp.c: New file.
7634 * gdb.base/sss-bp-on-user-bp.exp: New file.
7636 2014-05-30 David Blaikie <dblaikie@gmail.com>
7638 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7639 gnu_inline semantics via attribute.
7640 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7641 source explicitly specifies the required semantics.
7643 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7645 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7647 2014-05-29 Pedro Alves <palves@redhat.com>
7648 Tom Tromey <tromey@redhat.com>
7650 * gdb.base/async-shell.exp: Don't enable target-async.
7651 * gdb.base/async.exp
7652 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7654 (top level): Don't test with "target-async".
7655 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7656 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7657 * gdb.base/inferior-died.exp: Don't enable target-async.
7658 * gdb.base/interrupt-noterm.exp: Likewise.
7659 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7660 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7661 * gdb.mi/mi-nonstop.exp: Likewise.
7662 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7663 * gdb.mi/mi-nsintrall.exp: Likewise.
7664 * gdb.mi/mi-nsmoribund.exp: Likewise.
7665 * gdb.mi/mi-nsthrexec.exp: Likewise.
7666 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7667 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7668 * gdb.python/py-evsignal.exp: Don't enable target-async.
7669 * gdb.python/py-evthreads.exp: Likewise.
7670 * gdb.python/py-prompt.exp: Likewise.
7671 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7672 * gdb.server/solib-list.exp: Don't enable target-async.
7673 * gdb.threads/thread-specific-bp.exp: Likewise.
7674 * lib/mi-support.exp: Adjust to use mi-async.
7676 2014-05-29 Pedro Alves <palves@redhat.com>
7679 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7680 reason, even in sync mode.
7682 2014-05-29 Pedro Alves <palves@redhat.com>
7683 Hui Zhu <hui@codesourcery.com>
7686 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7687 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7688 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7689 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7691 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7693 * config/monitor.exp (gdb_target_monitor): Replace use of
7694 "set remotebaud" by "set serial baud".
7696 2014-05-26 Andy Wingo <wingo@igalia.com>
7698 * gdb.guile/scm-breakpoint.exp:
7699 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7700 properties instead of gdb-object-properties.
7702 2014-05-26 Yao Qi <yao@codesourcery.com>
7704 * gdb.server/no-thread-db.exp: Specify source file name
7705 explicitly when setting a breakpoint.
7707 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7709 * gdb.btrace/vdso.c: New.
7710 * gdb.btrace/vdso.exp: New.
7712 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7714 * gdb.base/gcore.exp (capture_command_output): Move ...
7715 * lib/gdb.exp (capture_command_output): ... here.
7717 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7719 * gdb.btrace/data.exp: Test memory access during btrace replay.
7721 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7723 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7725 2014-05-21 Pedro Alves <palves@redhat.com>
7728 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7729 (top level): Test that output related to execution commands is
7730 sent to the console with CLI commands, but not with MI commands.
7731 Test that breakpoint events are always mirrored to the console.
7732 Also expect the new source line to be output after a "next" in
7733 async mode too. Make it a pass/fail test.
7734 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7736 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7738 2014-05-21 Pedro Alves <palves@redhat.com>
7740 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7741 Use them to test variations of "list" after reaching a breakpoint.
7742 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7743 Test "list" with listsize 10 after reaching a breakpoint.
7744 * gdb.python/python.exp (decode_line current location line
7745 number): Adjust expected line number.
7747 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7749 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7750 behavior for $args, pass it directly to "run".
7752 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7754 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7757 2014-05-21 Pedro Alves <palves@redhat.com>
7759 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7760 auto-connect-native-target off".
7761 * gdb.base/auto-connect-native-target.c: New file.
7762 * gdb.base/auto-connect-native-target.exp: New file.
7764 2014-05-21 Pedro Alves <palves@redhat.com>
7766 * gdb.base/default.exp: Test "target native" instead of "target
7769 2014-05-21 Mark Wielaard <mjw@redhat.com>
7771 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7773 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7775 Fix TLS access for -static -pthread.
7776 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7777 <HAVE_TLS> (thread_function, main): Initialize it.
7778 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7780 <$have_tls != "">: Check TLSVAR.
7782 2014-05-21 Pedro Alves <palves@redhat.com>
7784 * gdb.base/dcache-line-read-error.c: New.
7785 * gdb.base/dcache-line-read-error.exp: New.
7787 2014-05-20 Pedro Alves <palves@redhat.com>
7789 * gdb.base/compare-sections.c: New file.
7790 * gdb.base/compare-sections.exp: New file.
7792 2014-05-20 Pedro Alves <palves@redhat.com>
7794 * gdb.base/break-idempotent.c: New file.
7795 * gdb.base/break-idempotent.exp: New file.
7797 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7799 * gdb.btrace/nohist.exp: New.
7801 2014-05-20 Yao Qi <yao@codesourcery.com>
7803 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7804 gdb.reverse directory and gdb_reverse_timeout exists in board
7806 * README: Document gdb_reverse_timeout.
7808 2014-05-20 Yao Qi <yao@codesourcery.com>
7810 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7811 'test_file_name'. Treat args as a string instead of a list.
7812 (gdb_init): Rename argument 'args' by 'test_file_name'.
7814 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7816 * gdb.arch/powerpc-power.exp: New file.
7817 * gdb.arch/powerpc-power.s: New file.
7819 2014-05-16 Doug Evans <dje@google.com>
7821 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7822 * gdb.base/completion.exp: Check that all expected files exist
7823 before doing file completion.
7825 2014-05-16 Doug Evans <dje@google.com>
7827 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7829 (do_syscall_tests_without_xml): Update.
7831 2014-05-16 Pedro Alves <palves@redhat.com>
7833 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7834 instead of "unknown output after running".
7836 2014-05-16 Yao Qi <yao@codesourcery.com>
7838 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7839 file1.txt from host at the end.
7840 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7842 2014-05-15 Doug Evans <dje@google.com>
7844 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7845 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7846 loading file. Add test for TU lookup.
7848 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7850 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7851 calling "-exec-arguments" or "set args" before running the
7854 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7856 * lib/mi-support.exp (mi_expect_stop): Expect message for
7857 inferiors that exit with non-zero exit code.
7859 2014-05-14 Yao Qi <yao@codesourcery.com>
7861 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7862 match absolute path on remote host.
7863 (test_file_list_exec_source_files): Remove "/" from the
7866 2014-05-14 Yao Qi <yao@codesourcery.com>
7868 * boards/local-remote-host-notty.exp (${board}_file): New
7871 2014-05-07 Kyle McMartin <kyle@redhat.com>
7873 Pushed by Joel Brobecker <brobecker@adacore.com>.
7874 * gdb.arch/aarch64-atomic-inst.c: New file.
7875 * gdb.arch/aarch64-atomic-inst.exp: New file.
7877 2014-05-07 Yao Qi <yao@codesourcery.com>
7879 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7880 in current context" too.
7882 2014-05-05 Keith Seitz <keiths@redhat.com>
7884 * gdb.linespec/ls-dollar.exp: Add test for linespec
7885 file:convenience_variable.
7887 2014-05-05 Yao Qi <yao@codesourcery.com>
7889 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7890 traceframes into tfile and ctf trace files. Read data from
7891 trace file and test collected data.
7892 (gdb_collect_locals_test): Likewise.
7893 (gdb_unavailable_registers_test): Likewise.
7894 (gdb_unavailable_floats): Likewise.
7895 (gdb_collect_globals_test): Likewise.
7896 (top-level): Append "ctf" to trace_file_targets if GDB
7899 2014-05-05 Yao Qi <yao@codesourcery.com>
7901 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7903 (gdb_collect_args_test_1): ... it. New proc.
7904 (gdb_collect_locals_test): Move some code to ...
7905 (gdb_collect_locals_test_1): ... it. New proc.
7906 (gdb_unavailable_registers_test): Move some code to ...
7907 (gdb_unavailable_registers_test_1): ... it. New proc.
7908 (gdb_unavailable_floats): Move some code to ...
7909 (gdb_unavailable_floats_1): ... it. New proc.
7911 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7913 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7914 probes to test for bitness recognition.
7915 * gdb.arch/amd64-stap-optional-prefix.exp
7916 (test_probe_value_without_reg): New procedure.
7917 Add code to test for different kinds of bitness.
7919 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7921 PR breakpoints/16889
7922 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7923 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7925 2014-05-01 Pedro Alves <palves@redhat.com>
7927 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7928 gdb_file_cmd if no file is specified.
7929 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7930 last_loaded_file to set the remote exec-file.
7932 2014-05-01 Pedro Alves <palves@redhat.com>
7934 * boards/local-remote-host.exp: New file.
7936 2014-05-01 Pedro Alves <palves@redhat.com>
7938 * boards/local-remote-host.exp: Rename to ...
7939 * boards/local-remote-host-notty.exp: ... this.
7941 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7943 * gdb.ada/dyn_arrayidx: New testcase.
7945 2014-04-26 Yao Qi <yao@codesourcery.com>
7947 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7948 and compute the length of function main. Save it in
7950 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7951 (top-level): Use gdb_compile to compile objects into
7952 executable and restart GDB. Remove invocation to
7953 prepare_for_testing.
7955 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7956 Pedro Alves <palves@redhat.com>
7959 * gdb.multi/multi-attach.c: New file.
7960 * gdb.multi/multi-attach.exp: New file.
7962 2014-04-25 Pedro Alves <palves@redhat.com>
7964 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7966 (top level): Test that "set remote conditional-breakpoints-packet
7967 off" works as intended.
7968 * gdb.base/dprintf.exp: Test that "set remote
7969 breakpoint-commands-packet off" works as intended.
7970 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7972 (top level): Call it.
7973 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7974 remote fast-tracepoints-packet off" works as intended.
7975 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7976 * lib/gdb.exp (gdb_is_target_remote): ... here.
7978 2014-04-24 David Blaikie <dblaikie@gmail.com>
7980 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7981 ensure clang would not discard them.
7982 * gdb.base/gdbvars.c: Ditto.
7983 * gdb.base/memattr.c: Ditto.
7984 * gdb.base/whatis.c: Ditto.
7985 * gdb.python/py-prettyprint.c: Ditto.
7986 * gdb.trace/actions.c: Ditto.
7987 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7988 ensure clang would not discard it.
7990 2014-04-24 David Blaikie <dblaikie@gmail.com>
7992 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7993 clang to emit the full definition of type required by the test
7994 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7996 2014-04-24 David Blaikie <dblaikie@gmail.com>
7998 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7999 coax Clang into emitting the definition of the type.
8000 * gdb.cp/pr10728-x.h (y): Ditto.
8001 * gdb.cp/pr10728-y.cc (y): Ditto.
8003 2014-04-24 David Blaikie <dblaikie@gmail.com>
8005 * gdb.base/label.exp: XFAIL label related tests under Clang.
8006 * gdb.cp/cplabel.exp: Ditto.
8007 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8008 under Clang those using labels.
8010 2014-04-25 Yao Qi <yao@codesourcery.com>
8012 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8014 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8015 partial_label and double_label.
8017 2014-04-24 David Blaikie <dblaikie@gmail.com>
8019 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8021 2014-04-24 David Blaikie <dblaikie@gmail.com>
8023 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8024 of the function to work across GCC and Clang.
8025 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8026 pointer types (const void ** const V void **).
8028 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8029 Walfred Tedeschi <walfred.tedeschi@intel.com>
8031 * Makefile.in (EXECUTABLES): Added i386-avx512.
8032 * gdb.arch/i386-avx512.c: New file.
8033 * gdb.arch/i386-avx512.exp: Likewise.
8035 2014-04-23 Keith Seitz <keiths@redhat.com>
8037 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8038 (mi_make_breakpoint_table): New procedure.
8039 (mi_create_breakpoint): Use mi_make_breakpoint
8040 and return the result.
8041 (mi_make_breakpoint): New procedure.
8042 (mi_build_kv_pairs): New procedure.
8044 * gdb.mi/mi-break.exp: Remove unused globals,
8045 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8046 All callers updated.
8047 * gdb.mi/mi-dprintf.exp: Use variable to track command
8049 Update all callers of mi_create_breakpoint and use
8050 mi_make_breakpoint_table.
8051 Remove any unused global variables.
8052 * gdb.mi/mi-nonstop.exp: Likewise.
8053 * gdb.mi/mi-nsintrall.exp: Likewise.
8054 * gdb.mi/mi-nsmoribund.exp: Likewise.
8055 * gdb.mi/mi-nsthrexec.exp: Likewise.
8056 * gdb.mi/mi-reverse.exp: Likewise.
8057 * gdb.mi/mi-simplerun.exp: Likewise.
8058 * gdb.mi/mi-stepn.exp: Likewise.
8059 * gdb.mi/mi-syn-frame.exp: Likewise.
8060 * gdb.mi/mi-until.exp: Likewise.
8061 * gdb.mi/mi-var-cp.exp: Likewise.
8062 * gdb.mi/mi-var-display.exp: Likewise.
8063 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8064 * gdb.mi/mi2-var-child.exp: Likewise.
8065 * gdb.mi/mi-vla-c99.exp: Likewise.
8066 * lib/mi-support.exp: Likewise.
8068 From Ian Lance Taylor <iant@cygnus.com>:
8069 * lib/gdb.exp (parse_args): New procedure.
8071 2014-04-23 Pedro Alves <palves@redhat.com>
8073 * gdb.base/break-unload-file.c: New file.
8074 * gdb.base/break-unload-file.exp: New file.
8075 * gdb.base/sym-file-lib.c (baz): New function.
8076 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8078 (load): Store the segment's mapped size.
8079 (unload): New function.
8080 (unload_shlib): New function.
8081 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8082 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8083 set a breakpoint at baz, and call it.
8084 * gdb.base/sym-file.exp: New tests for stale breakpoint
8087 2014-04-23 Pedro Alves <palves@redhat.com>
8089 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8090 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8091 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8092 * gdb.base/hbreak-unmapped.c: New file.
8093 * gdb.base/hbreak-unmapped.exp: New file.
8094 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8095 * lib/gdb.exp (gdb_is_target_remote): ... here.
8097 2014-04-22 Pedro Alves <palves@redhat.com>
8099 * gdb.base/consecutive-step-over.c: New file.
8100 * gdb.base/consecutive-step-over.exp: New file.
8102 2014-04-22 Pedro Alves <palves@redhat.com>
8104 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8105 instead of send_gdb/gdb_expect.
8107 2014-04-22 Yao Qi <yao@codesourcery.com>
8109 * lib/trace-support.exp (generate_tracefile): New procedure.
8110 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8112 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8113 if generate_tracefile returns 1.
8115 2014-04-18 Tom Tromey <palves@redhat.com>
8116 Pedro alves <tromey@redhat.com>
8119 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8120 with a backtrace limit.
8121 * gdb.python/py-frame-inline.exp: Test running to an inline
8122 function with a backtrace limit, and printing the newest frame.
8123 * gdb.python/py-frame-inline.c (main): Call f.
8125 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8127 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8129 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8131 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8132 Drop prefix from unsupported source file path.
8134 2014-04-17 Yao Qi <yao@codesourcery.com>
8136 * lib/gdb.exp (with_target_charset): New proc.
8137 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8138 with_target_charset.
8139 (test_print_strings): Likewise.
8140 (test_repeat_bytes): Likewise.
8141 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8144 2014-04-16 Keith Seitz <keiths@redhat.com>
8147 * gdb.dwarf2/corrupt.c: New file.
8148 * gdb.dwarf2/corrupt.exp: New file.
8150 2014-04-16 Keith Seitz <keiths@redhat.com>
8153 * gdb.cp/namelessclass.cc: New file.
8154 * gdb.cp/namelessclass.exp: New file.
8155 * gdb.cp/namelessclass.S: New file.
8157 2014-04-16 Doug Evans <dje@google.com>
8159 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8161 (gdbserver_default_get_comm_port): New function.
8162 (gdbserver_start): Check if board file provided
8163 "gdbserver,get_comm_port" and use it if so.
8164 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8165 (gdb,socketport): Set to "stdio".
8166 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8167 (stdio_gdbserver_template): Delete.
8168 (${board}_get_remote_address): Update.
8169 (${board}_build_remote_cmd): Delete.
8170 (${board}_get_comm_port): New function.
8171 (${board}_spawn): Update.
8172 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8174 (${board}_get_remote_address): Update.
8175 (${board}_get_comm_port): New function.
8177 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8179 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8180 appearing in any order.
8182 2014-04-15 Doug Evans <dje@google.com>
8184 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8185 uninitialized value of "description".
8187 2014-04-15 Keith Seitz <keiths@redhat.com>
8189 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8190 Remove unused globals.
8191 (test_running_the_program): Likewise.
8192 (test_controlled_execution): Likewise.
8193 (test_controlling_breakpoints): Likewise.
8194 (test_program_termination): Likewise.
8196 2014-04-15 Keith Seitz <keiths@redhat.com>
8198 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8200 (test_rbreak_creation_and_listing): Likewise.
8201 (test_ignore_count): Likewise.
8202 (test_error): Likewise.
8204 2014-04-15 Pedro Alves <palves@redhat.com>
8206 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8207 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8209 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8210 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8211 to sym-file-loader.c.
8212 (struct library): Forward declare.
8213 (load_shlib, lookup_function): Change prototypes.
8214 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8215 (translate_offset): Remove declarations.
8216 (get_text_addr): New declaration.
8217 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8218 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8220 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8221 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8222 here from sym-file-loader.h.
8223 (struct library): New structure.
8224 (load_shlib, lookup_function): Change prototypes and adjust to
8225 work with a struct library.
8226 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8227 (translate_offset): Make static.
8228 (get_text_addr): New function.
8229 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8231 2014-04-15 Pedro Alves <palves@redhat.com>
8233 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8235 2014-04-15 Pedro Alves <palves@redhat.com>
8237 * gdb.base/sym-file-loader.c: Include <limits.h>.
8238 (SELF_LINK): New define.
8239 (get_origin): New function.
8240 (load_shlib): Use it.
8241 * gdb.base/sym-file.exp: Don't early return if the target is
8242 remote. Use runto_main, and issue fail is that fails. Use
8244 (shlib_name): Delete.
8245 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8247 2014-04-15 Pedro Alves <palves@redhat.com>
8249 * gdb.base/sym-file.exp: Remove regex characters from test
8250 message. Don't refer to breakpoint numbers in test messages.
8252 2014-04-14 Keith Seitz <keiths@redhat.com>
8255 * gdb.cp/var-tag.cc: New file.
8256 * gdb.cp/var-tag.exp: New file.
8257 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8258 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8259 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8260 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8262 2014-04-14 Tom Tromey <tromey@redhat.com>
8264 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8265 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8267 * gdb.cp/enum-class.exp: New file.
8268 * gdb.cp/enum-class.cc: New file.
8270 2014-04-14 Tom Tromey <tromey@redhat.com>
8272 * gdb.dwarf2/enum-type.exp: New file.
8274 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8276 * gdb.mi/mi-vla-c99.exp: New file.
8277 * gdb.mi/vla.c: New file.
8279 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8281 * gdb.base/vla-datatypes.c: New file.
8282 * gdb.base/vla-datatypes.exp: New file.
8284 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8286 * gdb.base/vla-ptr.c: New file.
8287 * gdb.base/vla-ptr.exp: New file.
8289 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8291 * gdb.dwarf2/count.exp: New file.
8293 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8295 * gdb.base/vla-sideeffect.c: New file.
8296 * gdb.base/vla-sideeffect.exp: New file.
8298 2014-04-14 David Blaikie <dblaikie@gmail.com>
8300 * gdb.mi/non-stop.c: Add return value for non-void function return
8302 * gdb.threads/staticthreads.c: Ditto.
8304 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8305 Doug Evans <xdje42@gmail.com>
8307 * gdb.guile/scm-value.c: Improve test case.
8308 * gdb.guile/scm-value.exp: Add new test.
8310 2014-04-11 David Blaikie <dblaikie@gmail.com>
8312 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8313 override Clang's default.
8315 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8317 Revert the following changes (regressions):
8319 * gdb.base/vla-sideeffect.c: New file.
8320 * gdb.base/vla-sideeffect.exp: New file.
8322 * gdb.dwarf2/count.exp: New file.
8324 * gdb.base/vla-multi.c: New file.
8325 * gdb.base/vla-multi.exp: New file.
8327 * gdb.base/vla-ptr.c: New file.
8328 * gdb.base/vla-ptr.exp: New file.
8330 * gdb.base/vla-datatypes.c: New file.
8331 * gdb.base/vla-datatypes.exp: New file.
8333 * gdb.mi/mi-vla-c99.exp: New file.
8334 * gdb.mi/vla.c: New file.
8336 2014-04-11 Keith Seitz <keiths@redhat.com>
8339 * gdb.cp/cpsizeof.exp: New file.
8340 * gdb.cp/cpsizeof.cc: New file.
8342 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8344 * gdb.mi/mi-vla-c99.exp: New file.
8345 * gdb.mi/vla.c: New file.
8347 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8349 * gdb.base/vla-datatypes.c: New file.
8350 * gdb.base/vla-datatypes.exp: New file.
8352 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8354 * gdb.base/vla-ptr.c: New file.
8355 * gdb.base/vla-ptr.exp: New file.
8357 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8359 * gdb.base/vla-multi.c: New file.
8360 * gdb.base/vla-multi.exp: New file.
8362 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8364 * gdb.dwarf2/count.exp: New file.
8366 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8368 * gdb.base/vla-sideeffect.c: New file.
8369 * gdb.base/vla-sideeffect.exp: New file.
8371 2014-04-11 Yao Qi <yao@codesourcery.com>
8373 * gdb.base/completion.exp: Check file exists before running tests
8376 2014-04-10 Pedro Alves <palves@redhat.com>
8378 * gdb.base/cond-eval-mode.c: New file.
8379 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8380 prepare_for_testing to build the new file. Check result of
8382 (test_break, test_watch): New procedures.
8383 (top level): Use them.
8385 2014-04-08 Pierre Muller <muller@sourceware.org>
8387 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8388 Ctrl-V use for mingw hosts.
8390 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8392 * gdb.python/py-value.c: Improve test case.
8393 * gdb.python/py-value.exp: Add new test.
8395 2014-04-07 David Blaikie <dblaikie@gmail.com>
8397 * lib/compiler.c: Identify the clang compiler.
8398 * lib/compiler.cc: Ditto.
8400 2014-04-03 Yao Qi <yao@codesourcery.com>
8402 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8404 2014-04-01 Anton Blanchard <anton@samba.org>
8406 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8409 2014-04-01 Anton Blanchard <anton@samba.org>
8411 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8412 prepare_for_testing.
8414 2014-04-01 Anton Blanchard <anton@samba.org>
8416 * gdb.arch/ppc64-atomic-inst.c: Remove.
8417 * gdb.arch/ppc64-atomic-inst.S: New file.
8418 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8420 2014-03-31 Doug Evans <dje@google.com>
8422 * gdb.base/print-symbol-loading-lib.c: New file.
8423 * gdb.base/print-symbol-loading-main.c: New file.
8424 * gdb.base/print-symbol-loading.exp: New file.
8426 2014-03-31 Yao Qi <yao@codesourcery.com>
8428 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8430 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8432 * gdb.ada/mi_dyn_arr: New testcase.
8434 2014-03-27 Doug Evans <dje@google.com>
8436 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8438 2014-03-27 Yao Qi <yao@codesourcery.com>
8440 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8441 if target is nios2-*-*.
8443 2014-03-26 Yao Qi <yao@codesourcery.com>
8445 * lib/gdb.exp (readline_is_used): New proc.
8446 * gdb.base/completion.exp: Move tests on command complete up.
8447 Skip the rest of tests if readline is not used.
8448 * gdb.ada/complete.exp: Skp the test if readline is not
8450 * gdb.base/filesym.exp: Likewise.
8451 * gdb.base/macscp.exp: Likewise.
8452 * gdb.base/readline-ask.exp: Likewise.
8453 * gdb.base/readline.exp: Likewise.
8454 * gdb.python/py-cmd.exp: Likewise.
8455 * gdb.trace/tfile.exp: Likewise.
8457 2014-03-26 Yao Qi <yao@codesourcery.com>
8459 * gdb.base/macscp.exp: Fix code format issues.
8461 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8463 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8464 * gdb.asm/powerpc64le.inc: New file.
8466 2014-03-25 Pedro Alves <palves@redhat.com>
8467 Doug Evans <dje@google.com>
8469 * gdb.base/source-execution.c: New file.
8470 * gdb.base/source-execution.exp: New file.
8471 * gdb.base/source-execution.gdb: New file.
8473 2014-03-24 Doug Evans <dje@google.com>
8475 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8478 2014-03-24 Hui Zhu <hui@codesourcery.com>
8479 Pedro Alves <palves@redhat.com>
8481 PR breakpoints/16101
8482 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8483 test pass/fail messages. Detect missing support for dprintf when
8484 breakpoints are actually inserted.
8485 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8486 breakpoints are actually inserted.
8487 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8490 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8492 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8494 2014-03-22 Doug Evans <xdje42@gmail.com>
8496 * gdb.python/python.exp (python not supported): Verify multi-line
8497 python command issues an error.
8498 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8499 guile command issues an error.
8501 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8503 * gdb.threads/thread-specific.exp: Handle the lack of usable
8504 $this_breakpoint and $this_thread.
8506 2014-03-21 Hui Zhu <hui@codesourcery.com>
8508 * gdb.base/attach.exp (do_command_attach_tests): New.
8510 2014-03-20 Tom Tromey <tromey@redhat.com>
8511 Pedro Alves <palves@redhat.com>
8514 * gdb.base/condbreak-call-false.c: New file.
8515 * gdb.base/condbreak-call-false.exp: New file.
8517 2014-03-20 Pedro Alves <palves@redhat.com>
8519 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8521 (block_signals, unblock_signals): Delete.
8522 (child_function_2, main): Remove references to deleted variable
8525 2014-03-20 Pedro Alves <palves@redhat.com>
8527 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8528 Use pthread_kill to signal thread 2.
8529 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8530 Adjust to make the test send itself a signal rather than using the
8531 host's "kill" command.
8533 2014-03-20 Pedro Alves <palves@redhat.com>
8535 * gdb.threads/multiple-step-overs.c: New file.
8536 * gdb.threads/multiple-step-overs.exp: New file.
8537 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8538 Adjust expected infrun debug output.
8540 2014-03-20 Pedro Alves <palves@redhat.com>
8542 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8543 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8545 2014-03-20 Pedro Alves <palves@redhat.com>
8548 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8549 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8550 of gdb_test_multiple.
8551 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8552 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8554 2014-03-20 Pedro Alves <palves@redhat.com>
8556 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8557 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8559 2014-03-19 Pedro Alves <palves@redhat.com>
8561 * gdb.base/async.exp: Remove early return.
8563 2014-03-19 Pedro Alves <palves@redhat.com>
8565 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8567 2014-03-19 Pedro Alves <palves@redhat.com>
8569 * gdb.base/async.exp (test_background): Expect \r\n after
8570 "completed." in the fail pattern.
8572 2014-03-19 Pedro Alves <palves@redhat.com>
8574 * gdb.base/async.exp (test_background): New procedure.
8575 Use it for all background execution command tests.
8577 2014-03-19 Pedro Alves <palves@redhat.com>
8579 * gdb.base/async.exp: Use prepare_for_testing.
8581 2014-03-19 Pedro Alves <palves@redhat.com>
8583 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8586 2014-03-19 Pedro Alves <palves@redhat.com>
8588 * gdb.base/async.c (main): Add "jump here" and "until here" line
8590 * gdb.base/async.exp (jump_here): New global.
8591 (jump& test): Use it.
8592 (until_here): New global.
8593 (until& test): Use it.
8595 2014-03-19 Pedro Alves <palves@redhat.com>
8597 * gdb.base/async.exp: Don't frob gdb_protocol.
8599 2014-03-18 Doug Evans <xdje42@gmail.com>
8601 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8602 Fix spelling of exec-done-display.
8604 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8607 * gdb.base/gdb-sigterm.c: New file.
8608 * gdb.base/gdb-sigterm.exp: New file.
8610 2014-03-18 Pedro Alves <palves@redhat.com>
8613 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8614 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8617 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8619 * gdb.ada/pckd_arr_ren: New testcase.
8621 2014-03-13 Doug Evans <xdje42@gmail.com>
8624 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8625 collect after discarding symbols.
8627 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8628 Doug Evans <xdje42@gmail.com>
8630 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8631 to history survives a gc.
8633 2014-03-13 Pedro Alves <palves@redhat.com>
8635 * gdb.base/default.exp: Don't test "target procfs".
8637 2014-03-13 Pedro Alves <palves@redhat.com>
8639 * gdb.base/default.exp: Update "target child" and "target procfs"
8640 tests to not expect "Unix".
8642 2014-03-12 Tom Tromey <tromey@redhat.com>
8644 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8645 New procs. Add target-async tests.
8646 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8647 Add target-async tests.
8649 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8651 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8652 'func_start' and 'func_end' for the beginning and end of the
8653 function code, respectively.
8654 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8655 'func_end' instead of 'func' and 'main'.
8657 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8659 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8660 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8661 generate the debug info assembler source.
8663 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8665 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8666 * gdb.dwarf2/arr-subrange.exp: Likewise.
8667 * gdb.dwarf2/dwz.exp: Likewise.
8668 * gdb.dwarf2/method-ptr.exp: Likewise.
8669 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8670 * gdb.dwarf2/subrange.exp: Likewise.
8671 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8672 * gdb.dwarf2/implptrpiece.exp: Likewise.
8673 * gdb.dwarf2/nostaticblock.exp: Likewise.
8675 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8677 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8678 directory to absolute path name arguments.
8680 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8682 * gdb.ada/tagged_access: New testcase.
8684 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8686 * gdb.btrace/data.exp: Update expected output.
8688 2014-03-06 Yao Qi <yao@codesourcery.com>
8690 * gdb.trace/pr16508.exp: New file.
8692 2014-03-05 Pedro Alves <palves@redhat.com>
8695 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8697 (top level): Adjust to use it. Add tests that exercise breakpoint
8698 interaction with the code-cache.
8700 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8702 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8703 test for 'history-append!'.
8705 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8707 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8708 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8709 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8710 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8711 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8712 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8714 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8716 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8717 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8718 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8720 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8722 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8724 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8726 * gdb.dwarf2/arr-stride.c: New file.
8727 * gdb.dwarf2/arr-stride.exp: New file.
8729 2014-02-26 Pedro Alves <palves@redhat.com>
8731 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8732 that won't ever trigger. Make sure that GDB reports the correct
8733 breakpoint that caused the stop.
8735 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8738 * gdb.base/auto-load-script: New file.
8739 * gdb.base/auto-load.c: New file.
8740 * gdb.base/auto-load.exp: New file.
8743 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8745 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8747 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8748 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8750 2014-02-24 Doug Evans <dje@google.com>
8752 * lib/gdb.exp (run_on_host): Log error output if program fails.
8754 2014-02-21 Pedro Alves <palves@redhat.com>
8756 * gdb.threads/step-after-sr-lock.c: Rename to ...
8757 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8758 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8759 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8762 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8765 * gdb.arch/amd64-stap-special-operands.exp: New file.
8766 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8767 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8768 * gdb.arch/amd64-stap-triplet.S: Likewise.
8769 * gdb.arch/amd64-stap-triplet.c: Likewise.
8771 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8773 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8774 in .section pseudo-op.
8776 2014-02-20 lin zuojian <manjian2006@gmail.com>
8777 Joel Brobecker <brobecker@adacore.com>
8778 Doug Evans <xdje42@gmail.com>
8781 * gdb.dwarf2/dw2-icycle.S: New file.
8782 * gdb.dwarf2/dw2-icycle.c: New file.
8783 * gdb.dwarf2/dw2-icycle.exp: New file.
8785 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8787 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8788 operations on gdb.Value objects.
8789 * gdb.python/py-value-cc.exp: Add new test to test operations on
8792 2014-02-18 Doug Evans <dje@google.com>
8794 * Makefile.in (TESTS): New variable.
8795 (expanded_tests, expanded_tests_or_none): New variables
8796 (check-single): Pass $(expanded_tests_or_none) to runtest.
8797 (check-parallel): Only run tests in $(TESTS) if non-empty.
8798 (check/no-matching-tests-found): New rule.
8799 * README: Document TESTS makefile variable.
8801 2014-02-18 Doug Evans <dje@google.com>
8803 * Makefile.in (check-parallel): rm -rf outputs temp.
8805 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8807 Fix "ERROR: no fileid for" in the testsuite.
8808 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8810 2014-02-12 Doug Evans <dje@google.com>
8812 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8813 (MISCELLANEOUS): New variable.
8814 (clean): rm -rf $(MISCELLANEOUS).
8815 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8816 dwp live in the same directory as symlinks, with each symlink pointed
8817 to a differently named file in a different directory.
8819 2014-02-11 Doug Evans <dje@google.com>
8821 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8822 of Tcl file commands.
8824 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8826 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8829 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8831 * gdb.ada/tick_length_array_enum_idx: New testcase.
8833 2014-02-10 Doug Evans <xdje42@gmail.com>
8835 * configure.ac (AC_OUTPUT): Add gdb.guile.
8836 * configure: Regenerate.
8837 * lib/gdb-guile.exp: New file.
8838 * lib/gdb.exp (get_target_charset): New function.
8839 * gdb.base/help.exp: Update expected output from "apropos apropos".
8840 * gdb.guile/Makefile.in: New file.
8841 * gdb.guile/guile.exp: New file.
8842 * gdb.guile/scm-arch.c: New file.
8843 * gdb.guile/scm-arch.exp: New file.
8844 * gdb.guile/scm-block.c: New file.
8845 * gdb.guile/scm-block.exp: New file.
8846 * gdb.guile/scm-breakpoint.c: New file.
8847 * gdb.guile/scm-breakpoint.exp: New file.
8848 * gdb.guile/scm-disasm.c: New file.
8849 * gdb.guile/scm-disasm.exp: New file.
8850 * gdb.guile/scm-equal.c: New file.
8851 * gdb.guile/scm-equal.exp: New file.
8852 * gdb.guile/scm-error.exp: New file.
8853 * gdb.guile/scm-error.scm: New file.
8854 * gdb.guile/scm-frame-args.c: New file.
8855 * gdb.guile/scm-frame-args.exp: New file.
8856 * gdb.guile/scm-frame-args.scm: New file.
8857 * gdb.guile/scm-frame-inline.c: New file.
8858 * gdb.guile/scm-frame-inline.exp: New file.
8859 * gdb.guile/scm-frame.c: New file.
8860 * gdb.guile/scm-frame.exp: New file.
8861 * gdb.guile/scm-generics.exp: New file.
8862 * gdb.guile/scm-gsmob.exp: New file.
8863 * gdb.guile/scm-iterator.c: New file.
8864 * gdb.guile/scm-iterator.exp: New file.
8865 * gdb.guile/scm-math.c: New file.
8866 * gdb.guile/scm-math.exp: New file.
8867 * gdb.guile/scm-objfile-script-gdb.in: New file.
8868 * gdb.guile/scm-objfile-script.c: New file.
8869 * gdb.guile/scm-objfile-script.exp: New file.
8870 * gdb.guile/scm-objfile.c: New file.
8871 * gdb.guile/scm-objfile.exp: New file.
8872 * gdb.guile/scm-ports.exp: New file.
8873 * gdb.guile/scm-pretty-print.c: New file.
8874 * gdb.guile/scm-pretty-print.exp: New file.
8875 * gdb.guile/scm-pretty-print.scm: New file.
8876 * gdb.guile/scm-section-script.c: New file.
8877 * gdb.guile/scm-section-script.exp: New file.
8878 * gdb.guile/scm-section-script.scm: New file.
8879 * gdb.guile/scm-symbol.c: New file.
8880 * gdb.guile/scm-symbol.exp: New file.
8881 * gdb.guile/scm-symtab-2.c: New file.
8882 * gdb.guile/scm-symtab.c: New file.
8883 * gdb.guile/scm-symtab.exp: New file.
8884 * gdb.guile/scm-type.c: New file.
8885 * gdb.guile/scm-type.exp: New file.
8886 * gdb.guile/scm-value-cc.cc: New file.
8887 * gdb.guile/scm-value-cc.exp: New file.
8888 * gdb.guile/scm-value.c: New file.
8889 * gdb.guile/scm-value.exp: New file.
8890 * gdb.guile/source2.scm: New file.
8891 * gdb.guile/types-module.cc: New file.
8892 * gdb.guile/types-module.exp: New file.
8894 2014-02-10 Yao Qi <yao@codesourcery.com>
8897 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8898 * configure: Regenerated.
8899 * Makefile.in: New file.
8901 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8903 * gdb.python/py-framefilter.exp: Fix typo.
8905 2014-02-08 Yao Qi <yao@codesourcery.com>
8907 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8908 that no =breakpoint-modified is emitted when breakpoints are
8909 modified through MI commands.
8911 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8912 Pedro Alves <palves@redhat.com>
8914 * gdb.threads/step-after-sr-lock.c: New file.
8915 * gdb.threads/step-after-sr-lock.exp: New file.
8917 2014-02-07 Pedro Alves <palves@redhat.com>
8919 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8921 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8923 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8924 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8926 2014-02-06 Doug Evans <xdje42@gmail.com>
8928 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8931 * gdb.gdb/python-interrupts.exp: New file.
8933 2014-02-05 Yao Qi <yao@codesourcery.com>
8935 * gdb.trace/report.exp (use_collected_data): Test the output
8936 of "info threads" and "info inferiors".
8938 2014-02-05 Yao Qi <yao@codesourcery.com>
8942 2013-05-24 Yao Qi <yao@codesourcery.com>
8944 * gdb.trace/tfile.exp: Test inferior and thread.
8946 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8948 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8950 * gdb.base/step-bt.c: Call hello via function pointer to make
8951 sure its first instruction is executed on powerpc64le-linux.
8953 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8955 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8957 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8959 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8960 of the test patterns for use on little-endian systems.
8962 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8964 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8965 (decimal_vector): Fix for little-endian.
8967 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8969 * gdb.arch/sparc-sysstep.exp: New file.
8970 * gdb.arch/sparc-sysstep.c: Likewise.
8972 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8974 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8976 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8978 2014-01-23 Tom Tromey <tromey@redhat.com>
8980 * gdb.ada/array_char_idx: New testcase.
8982 2014-01-23 Tom Tromey <tromey@redhat.com>
8985 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8986 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8989 2014-01-23 Tom Tromey <tromey@redhat.com>
8992 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8993 string from an inferior frame.
8994 * gdb.python/py-framefilter-mi.exp: Update.
8996 2014-01-22 Doug Evans <dje@google.com>
8998 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9000 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9002 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9004 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9006 * gdb.trace/entry-values.exp: Remove excess space character from
9007 regex patterns. Handle s390 call instruction.
9009 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9011 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9012 define "*_start" label. Make "name" static.
9013 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9014 ${name} by references to ${name}_start.
9016 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9018 * gdb.base/info-macros.exp: Remove "debug" from the compile
9021 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9023 * gdb.dlang/demangle.exp: New file.
9025 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9027 * gdb.dlang/primitive-types.exp: New file.
9029 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9031 * configure.ac: Create gdb.dlang/Makefile.
9032 * configure: Regenerate.
9033 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9034 * gdb.dlang/Makefile.in: New file.
9035 * lib/d-support.exp: New file.
9036 * lib/gdb.exp (skip_d_tests): New proc.
9038 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9040 * gdb.btrace/delta.exp: Check reverse stepi.
9041 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9042 * gdb.btrace/finish.exp: New.
9043 * gdb.btrace/next.exp: New.
9044 * gdb.btrace/nexti.exp: New.
9045 * gdb.btrace/record_goto.c: Add comments.
9046 * gdb.btrace/step.exp: New.
9047 * gdb.btrace/stepi.exp: New.
9048 * gdb.btrace/multi-thread-step.c: New.
9049 * gdb.btrace/multi-thread-step.exp: New.
9050 * gdb.btrace/rn-dl-bind.c: New.
9051 * gdb.btrace/rn-dl-bind.exp: New.
9052 * gdb.btrace/data.c: New.
9053 * gdb.btrace/data.exp: New.
9054 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9058 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9059 * gdb.btrace/exception.exp: Update.
9060 * gdb.btrace/instruction_history.exp: Update.
9061 * gdb.btrace/record_goto.exp: Update.
9062 * gdb.btrace/tailcall.exp: Update.
9063 * gdb.btrace/unknown_functions.exp: Update.
9064 * gdb.btrace/delta.exp: New.
9066 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9068 * gdb.btrace/record_goto.exp: Add backtrace test.
9069 * gdb.btrace/tailcall.exp: Add backtrace test.
9071 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9073 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9074 * gdb.btrace/record_goto.c: New.
9075 * gdb.btrace/record_goto.exp: New.
9076 * gdb.btrace/x86-record_goto.S: New.
9078 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9080 * gdb.btrace/function_call_history.exp: Update tests.
9081 * gdb.btrace/instruction_history.exp: Update tests.
9083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9085 * gdb.btrace/function_call_history.exp: Fix expected field
9086 order for "record function-call-history".
9087 Add new tests for "record function-call-history /c".
9088 * gdb.btrace/exception.cc: New.
9089 * gdb.btrace/exception.exp: New.
9090 * gdb.btrace/tailcall.exp: New.
9091 * gdb.btrace/x86-tailcall.S: New.
9092 * gdb.btrace/x86-tailcall.c: New.
9093 * gdb.btrace/unknown_functions.c: New.
9094 * gdb.btrace/unknown_functions.exp: New.
9095 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9099 * gdb.btrace/instruction_history.exp: Update.
9100 * gdb.btrace/function_call_history.exp: Update.
9102 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9104 * gdb.btrace/function_call_history.exp: Fix expected function
9106 * gdb.btrace/instruction_history.exp: Initialize traced.
9107 Remove traced_functions.
9109 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9111 * gdb.btrace/function_call_history.exp: Update
9112 * gdb.btrace/instruction_history.exp: Update.
9114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9116 * gdb.btrace/enable.exp: Update expected text.
9118 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9120 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9123 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9125 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9127 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9129 * lib/gdb.exp (supports_process_record): Return true for
9130 arm*-linux*. (supports_reverse): Likewise.
9132 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9136 * gdb.python/py-type.c: Enhance test case.
9137 * gdb.python/py-value-cc.cc: Likewise
9138 * gdb.python/py-type.exp: Add new tests.
9139 * gdb.python/py-value-cc.exp: Likewise
9141 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9142 Pedro Alves <palves@redhat.com>
9144 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9146 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9147 references to ${name}_start by references to ${name}.
9149 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9151 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9153 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9155 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9157 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9158 Pedro Alves <palves@redhat.com>
9160 * gdb.mi/mi-info-os.exp: Connect to the target with
9163 2014-01-08 Pedro Alves <palves@redhat.com>
9165 * gdb.threads/reconnect-signal.c: New file.
9166 * gdb.threads/reconnect-signal.exp: New file.
9168 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9170 * gdb.base/source-dir.exp: New file.
9172 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9174 * gdb.ada/mi_interface: New testcase.
9176 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9178 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9179 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9180 gdb.ada/pp-rec-component/pck.ads: New files.
9182 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9184 * gdb.python/py-pp-integral.c: New file.
9185 * gdb.python/py-pp-integral.py: New file.
9186 * gdb.python/py-pp-integral.exp: New file.
9188 For older changes see ChangeLog-1993-2013.
9194 ;; version-control: never
9197 Copyright 2014-2016 Free Software Foundation, Inc.
9198 Copying and distribution of this file, with or without modification,
9199 are permitted provided the copyright notice and this notice are preserved.