1 2016-10-05 Yao Qi <yao.qi@linaro.org>
3 * lib/gdb.exp (support_complex_tests): Return zero if
4 gdb_skip_float_test return true.
6 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
10 * gdb.mi/user-selected-context-sync.exp: New file.
11 * gdb.mi/user-selected-context-sync.c: New file.
13 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
17 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
18 =thread-select-event check.
20 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
22 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
23 the compulsory L operand changes.
24 * gdb.arch/powerpc-power.s: Likewise.
26 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
28 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
29 * gdb.base/jit-attach-pie.c: New file.
30 * gdb.base/jit-attach-pie.exp: New file.
32 2016-09-28 Pedro Alves <palves@redhat.com>
34 * gdb.base/infcall-input.c: New file.
35 * gdb.base/infcall-input.exp: New file.
37 2016-09-22 Yao Qi <yao.qi@linaro.org>
39 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
40 (gdb_exit): Rename it to ...
41 (gdbserver_gdb_exit): ... Close GDBserver.
42 (gdb_exit): New proc, call gdbserver_gdb_exit.
43 (mi_gdb_exit): Likewise.
45 2016-09-22 Yao Qi <yao.qi@linaro.org>
47 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
49 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
52 2016-09-22 Yao Qi <yao.qi@linaro.org>
54 * lib/gdbserver-support.exp: Check the existence of
55 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
57 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
59 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
61 2016-09-21 Tom Tromey <tom@tromey.com>
64 * gdb.base/quit.exp: New file.
66 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
68 * .gitignore: New file.
70 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
72 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
75 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
77 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
79 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
81 * gdb.cp/casts.cc (decltype): Move it ...
82 (main): ... with its call to ...
83 * gdb.cp/casts03.cc: ... a new file.
84 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
86 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
88 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
90 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
92 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
93 and sync up the test with tests in gas/testsuite/gas/ppc.
94 * gdb.arch/powerpc-power.exp: Likewise.
96 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
98 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
100 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
101 Jan Kratochvil <jan.kratochvil@redhat.com>
103 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
104 make m1's definition to be different from m2's. Use 'dummy' as an
105 argument for probe 'two'.
107 2016-09-10 Jon Beniston <jon@beniston.com>
109 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
112 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
114 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
115 variable declaration.
116 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
117 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
118 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
119 received HWCAP as its argument.
121 2016-09-06 Pedro Alves <palves@redhat.com>
123 * gdb.base/new-ui-pending-input.c: New file.
124 * gdb.base/new-ui-pending-input.exp: New file.
125 * gdb.exp (clear_gdb_spawn_id): New procedure.
126 (with_spawn_id): Check whether gdb_spawn_id exists before
127 referencing it. If gdb_spawn_id didn't exist on entry, clear it
130 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
132 * gdb.base/float128.c: New file.
133 * gdb.base/float128.exp: Likewise.
134 * gdb.base/floatn.c: Likewise.
135 * gdb.base/floatn.exp: Likewise.
137 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
139 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
141 2016-09-05 Pedro Alves <palves@redhat.com>
144 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
145 unwinders are immediately called as side effect of "source" or
146 "disable unwinder" commands.
147 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
149 2016-09-02 Yao Qi <yao.qi@linaro.org>
151 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
152 is true and $type is "float" or "double".
154 2016-09-02 Yao Qi <yao.qi@linaro.org>
156 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
158 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
159 * gdb.base/call-rt-st.exp: Likewise.
160 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
161 return value instead of gdb,skip_float_test.
162 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
163 (do_function_calls): Use its return value instead of
165 * gdb.base/finish.exp: Likewise.
166 * gdb.base/funcargs.exp: Likewise.
167 * gdb.base/return.exp: Likewise.
168 * gdb.base/return2.exp: Likewise.
169 * gdb.base/varargs.exp: Likewise.
170 * lib/gdb.exp (gdb_skip_float_test): Change it to
171 gdb_caching_proc. Detect the broken ptrace on arm-linux.
173 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
175 * gdb.multi/tids.exp: Test "thread apply all".
177 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
179 * gdb.base/default.exp (tty): Remove.
181 2016-08-24 Kevin Buettner <kevinb@redhat.com>
183 * gdb.python/py-recurse-unwind.c: New file.
184 * gdb.python/py-recurse-unwind.py: New file.
185 * gdb.python/py-recurse-unwind.exp: New file.
187 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
189 * gdb.base/set-inferior-tty.exp: New file.
190 * gdb.base/set-inferior-tty.c: New file.
192 2016-08-23 Pedro Alves <palves@redhat.com>
195 * gdb.base/new-ui-echo.c: New file.
196 * gdb.base/new-ui-echo.exp: New file.
198 2016-08-23 Yao Qi <yao.qi@linaro.org>
200 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
202 * gdb.server/connect-without-multi-process.exp (do_test):
205 2016-08-23 Yao Qi <yao.qi@linaro.org>
207 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
208 standalone_txt. Delete gdb_txt and standalone_txt on host
209 and target. Spawn the binary on target. Copy files from
212 2016-08-22 Pedro Alves <palves@redhat.com>
215 * gdb.base/vdso-warning.exp: Test core dumps too. Use
216 with_test_prefix. Factor out bits to ...
217 (test_no_vdso): ... this new procedure.
219 2016-08-19 Carl Love <cel@us.ibm.com>
221 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
222 maintaining separate logic for constructing the output path.
223 * gdb.arch/powerpc-d128-regs.exp: Likewise.
224 * gdb.arch/ppc-dfp.exp: Likewise.
225 * gdb.arch/ppc-fp.exp: Likewise.
226 * gdb.arch/vsx-regs.exp: Likewise.
227 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
228 binprefix for generating the additional binary files.
230 2016-08-19 Pedro Alves <palves@redhat.com>
232 * gdb.trace/mi-trace-frame-collected.exp
233 (test_trace_frame_collected): On x32, expect two registers.
235 2016-08-18 Carl Love <cel@us.ibm.com>
237 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
238 and sync up the test with tests in gas/testsuite/gas/ppc.
239 * gdb.arch/powerpc-power.exp: Likewise.
241 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
243 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
244 expected error message.
246 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
248 * gdb.multi/remove-inferiors.exp: New file.
249 * gdb.multi/remove-inferiors.c: New file.
251 2016-08-12 Yao Qi <yao.qi@linaro.org>
253 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
256 2016-08-10 Pedro Alves <palves@redhat.com>
259 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
262 2016-08-09 Pedro Alves <palves@redhat.com>
263 Simon Marchi <simon.marchi@ericsson.com>
266 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
267 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
269 2016-08-09 Pedro Alves <palves@redhat.com>
272 * gdb.mi/mi-cmd-error.exp: New file.
274 2016-08-09 Pedro Alves <palves@redhat.com>
277 * gdb.base/signals-state-child.c: New file.
278 * gdb.base/signals-state-child.exp: New file.
279 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
281 2016-08-09 Pedro Alves <palves@redhat.com>
283 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
285 2016-08-03 Tom Tromey <tom@tromey.com>
288 * gdb.python/py-frame-inline.exp: Add Frame.function test.
290 2016-08-01 Yao Qi <yao.qi@linaro.org>
292 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
293 variable mode to "multi-process" if $multi_process is 1, otherwise
294 set it to "single-process".
296 2016-08-01 Yao Qi <yao.qi@linaro.org>
298 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
299 * gdb.cp/cpexprs.exp: Likewise.
300 * gdb.cp/m-static.exp: Likewise.
302 2016-07-26 Tom Tromey <tom@tromey.com>
305 * gdb.threads/tls.exp (check_thread_local): Add python symbol
308 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
310 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
311 selecting assembly source files.
312 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
313 assembly source files.
314 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
315 assembly source files.
316 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
317 selecting assembly source files.
319 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
321 * gdb.base/new-ui.exp (do_test_invalid_args): New
324 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
326 * gdb.btrace/reconnect.c: New file.
327 * gdb.btrace/reconnect.exp: New file.
329 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
331 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
332 to test_catch_syscall_group.
333 (test_catch_syscall_group): New.
335 2016-07-21 Tom Tromey <tom@tromey.com>
337 * gdb.rust/simple.rs (main): Use empty struct expression.
338 * gdb.rust/simple.exp: Add tests for empty struct expression.
340 2016-07-21 Yao Qi <yao.qi@linaro.org>
342 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
343 if gdb_skip_xml_test is true on some targets.
345 2016-07-21 Yao Qi <yao.qi@linaro.org>
347 * gdb.server/solib-list.exp: Unset last_loaded_file.
349 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
352 "step into captured_main (args)".
354 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
356 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
358 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
360 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
362 2016-07-19 Pedro Alves <palves@redhat.com>
364 * gdb.opt/inline-break.exp: Remove optimize=-O2.
365 * gdb.opt/inline-bt.exp: Likewise.
366 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
367 additional_flags=-Winline.
368 * gdb.opt/inline-locals.exp: Likewise.
369 * gdb.opt/inline-markers.c (ATTR): Define.
370 (inlined_fn): Use it.
372 2016-07-19 Yao Qi <yao.qi@linaro.org>
374 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
375 (test_with_self): Remove some code. Remove argument executable.
376 (top-level): Use do_self_tests.
378 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
379 Don Breazeal <donb@codesourcery.com>
381 * gdb.base/maint.exp: Escape paths used in regular expressions.
382 * gdb.stabs/weird.exp: Likewise.
384 2016-07-13 Tom Tromey <tom@tromey.com>
386 PR python/15620, PR python/18620:
387 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
388 (test_bkpt_events): New procs.
390 2016-07-13 Tom Tromey <tom@tromey.com>
393 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
395 (test_watchpoints): Likewise.
396 (test_bkpt_pending): New proc.
398 2016-07-13 Tom Tromey <tom@tromey.com>
401 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
404 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
406 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
407 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
408 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
410 (g): Rename g_end_lbl to g_label.
411 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
413 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
415 2016-07-12 Tom Tromey <tom@tromey.com>
418 * gdb.python/py-unwind-maint.exp: Update tests.
420 2016-07-12 Yao Qi <yao.qi@linaro.org>
422 * lib/selftest-support.exp (selftest_setup): Match the output
423 when captured_main is inlined.
425 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
427 * gdb.fortran/derived-types.exp (result_line, result_line_2):
429 (print this%a, print this%b, print this): New tests.
430 * gdb.fortran/derived-types.f90 (this): New object and
433 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
435 * gdb.ada/arraydim.exp: Remove extra directory level in build
438 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
440 * lib/ada.exp: Remove extra directory level in build directory.
441 * gdb.ada/cond_lang.exp: Likewise.
442 * gdb.ada/exec_changed.exp: Likewise.
443 * gdb.ada/lang_switch.exp: Likewise.
445 2016-07-06 Manish Goregaokar <manish@mozilla.com>
447 * simple.rs: Add test for raw pointer subscripting
448 * simple.exp: Add test expectations
450 2016-07-05 Yao Qi <yao.qi@linaro.org>
452 * gdb.mi/mi-reverse.exp: Match =record-started output.
454 2016-07-01 Pedro Alves <palves@redhat.com>
456 * gdb.base/jit-reader.exp (info_registers_current_frame): New
458 (jit_reader_test): Test the jit reader's unwinder.
459 * gdb.base/jithost.c (jit_function_00_code): New global.
460 (main): Use memcpy to fill in the mmapped code, instead of poking
462 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
464 (read_debug_info): Save the function's range.
465 (read_sp): New function.
466 (unwind_frame): Use it. Also unwind RBP.
467 (get_frame_id): Use read_sp.
468 (gdb_init_reader): Use calloc instead of malloc.
469 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
470 parameter. Use gdb_test_multiple.
472 2016-07-01 Pedro Alves <palves@redhat.com>
473 Antoine Tremblay <antoine.tremblay@ericsson.com>
475 * gdb.threads/process-dies-while-detaching.c: New file.
476 * gdb.threads/process-dies-while-detaching.exp: New file.
478 2016-07-01 Pedro Alves <palves@redhat.com>
480 * gdb.multi/watchpoint-multi-exit.c: New file.
481 * gdb.multi/watchpoint-multi-exit.exp: New file.
483 2016-06-30 Pedro Alves <palves@redhat.com>
485 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
486 unset inferior_spawn_id.
488 2016-06-30 Pedro Alves <palves@redhat.com>
490 * lib/mi-support.exp (default_mi_gdb_start): Declare global
491 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
493 2016-06-29 Yao Qi <yao.qi@linaro.org>
495 * gdb.base/return.c: Add copyright header.
497 2016-06-29 Tom Tromey <tom@tromey.com>
500 * gdb.python/py-framefilter.exp: Add tests for setting priority
501 and disabling of non-existent frame filter.
503 2016-06-29 Yao Qi <yao.qi@linaro.org>
505 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
508 2016-06-28 Yao Qi <yao.qi@linaro.org>
510 * gdb.base/catch-syscall.exp: Remove check on isnative and target
511 triplets. Start gdb, execute catch syscall, and continue. Check
512 gdb's output to determine catch syscall is supported.
514 2016-06-27 Manish Goregaokar <manish@mozilla.com>
516 * gdb.rust/simple.rs: Add test for returning unit in a function.
517 * gdb.rust/simple.exp: Add expectation for functions returning
520 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
522 * gdb.python/py-breakpoint-create-fail.c,
523 gdb.python/py-breakpoint-create-fail.exp,
524 gdb.python/py-breakpoint-create-fail.py: New testcase.
526 2016-06-25 Manish Goregaokar <manish@mozilla.com>
529 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
530 * gdb.rust/simple.exp: Add test expectations for new NonZero
533 2016-06-24 David Taylor <dtaylor@emc.com>
535 * gdb.base/offsets.exp: New file.
536 * gdb.base/offsets.c: New file.
538 2016-06-23 Tom Tromey <tom@tromey.com>
541 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
542 before any filters are loaded.
544 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
546 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
547 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
549 * gdb.fortran/derived-type-function.exp: New file.
550 * gdb.fortran/derived-type-function.f90: New file.
553 2016-06-21 Pedro Alves <palves@redhat.com>
555 * gdb.base/new-ui.exp: New file.
556 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
557 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
558 (with_spawn_id): New procedure.
560 2016-06-21 Pedro Alves <palves@redhat.com>
562 * gdb.mi/mi-exec-run.exp: New file.
564 2016-06-21 Pedro Alves <palves@redhat.com>
566 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
567 breakpoint command's output on the main UI.
568 (test_break): New procedure, factored out from calls in the top
570 (top level): Use foreach_with_prefix to test MI as main UI and as
573 2016-06-21 Pedro Alves <palves@redhat.com>
575 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
576 (test_awatch_creation_and_listing)
577 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
578 Remove 'type' parameter.
579 (test_watchpoint_all): New parameter mi_mode. Remove
581 (top level): Use foreach_with_prefix, and add main/separate UI MI
584 2016-06-21 Pedro Alves <palves@redhat.com>
586 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
587 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
588 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
589 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
590 (gdb_main_spawn_id, mi_spawn_id): Declare and
592 (mi_create_inferior_pty): New procedure,
593 factored out from default_mi_gdb_start.
594 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
596 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
597 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
598 Use mi_create_inferior_pty.
599 (mi_gdb_start): Use eval to pass down args list.
601 2016-06-21 Pedro Alves <palves@redhat.com>
603 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
604 * gdb.opt/inline-cmds.exp: Add MI tests.
606 2016-06-21 Pedro Alves <palves@redhat.com>
608 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
610 2016-06-21 Pedro Alves <palves@redhat.com>
612 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
613 (top level): Use it instead of mi_execute_to.
615 2016-06-21 Pedro Alves <palves@redhat.com>
617 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
618 (cont_handler_str): New.
619 (signal_stop_handler): Set stop_handler_str instead of printing to
621 (continue_handler): Set cont_handler_str instead of printing to
623 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
624 mi_send_resuming_command. Print stop_handler_str and
625 cont_handler_str instead of expecting the python events print
628 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
630 * gdb.base/jit-reader.exp: New file.
631 * gdb.base/jithost.c: New file.
632 * gdb.base/jithost.h: New file.
633 * gdb.base/jitreader.c : New file.
634 * gdb.base/jit-protocol.h: New file.
636 2016-06-17 Yao Qi <yao.qi@linaro.org>
638 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
639 parameters follow_fork and detach_on_fork. Set follow-fork-mode
640 and detach-on-fork. Adjust tests.
641 (top level): Invoke break_cond_on_syscall with combinations of
642 syscall, follow-fork-mode and detach-on-fork.
644 2016-06-17 Yao Qi <yao.qi@linaro.org>
646 * gdb.base/step-over-exit.c: New.
647 * gdb.base/step-over-exit.exp: New.
649 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
651 * gdb.base/float.exp: Add target check for nds32*-*-*.
652 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
654 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
656 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
657 for unsupported target features.
658 * gdb.base/call-rt-st.exp: Likewise.
659 * gdb.base/call-sc.exp: Likewise.
660 * gdb.base/call-signal-resume.exp: Likewise.
661 * gdb.base/call-strs.exp: Likewise.
662 * gdb.base/callexit.exp: Likewise.
663 * gdb.base/callfuncs.exp: Likewise.
664 * gdb.base/nodebug.exp: Likewise.
665 * gdb.base/printcmds.exp: Likewise.
666 * gdb.base/ptype.exp: Likewise.
667 * gdb.base/structs.exp: Likewise.
668 * gdb.base/unwindonsignal.exp: Likewise.
669 * gdb.cp/gdb2495.exp: Likewise.
670 * gdb.cp/templates.exp: Likewise.
671 * gdb.cp/virtfunc.exp: Likewise.
672 * gdb.threads/hand-call-in-threads.exp: Likewise.
673 * gdb.threads/interrupted-hand-call.exp: Likewise.
674 * gdb.threads/thread-unwindonsignal.exp: Likewise.
676 2016-06-10 Tom Tromey <tom@tromey.com>
679 * gdb.rust/expr.exp: Add test for integer constant larger than
682 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
684 * gdb.fortran/nested-funcs.exp: New.
685 * gdb.fortran/nested-funcs.f90: New.
687 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
689 * gdb.base/examine-backward.c: New file.
690 * gdb.base/examine-backward.exp: New file.
692 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
694 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
697 2016-06-02 Tom Tromey <tom@tromey.com>
700 * gdb.python/py-shared.exp: Add solib_name test.
702 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
704 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
706 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
709 * gdb.dwarf2/implref.exp: Rename to...
710 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
711 * gdb.dwarf2/implref-array.c: New file.
712 * gdb.dwarf2/implref-array.exp: Likewise.
713 * gdb.dwarf2/implref-global.c: Likewise.
714 * gdb.dwarf2/implref-global.exp: Likewise.
715 * gdb.dwarf2/implref-struct.c: Likewise.
716 * gdb.dwarf2/implref-struct.exp: Likewise.
718 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
720 * gdb.trace/trace-condition.exp: Add 64bit tests.
722 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
724 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
726 (main): Adapt to 8 to 64 bits types.
727 * gdb.trace/trace-condition.exp: Add new tests.
729 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
731 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
733 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
735 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
736 Move condition tests...
737 * gdb.trace/trace-condition.exp: Here.
739 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
741 * gdb.trace/trace-condition.exp: Add counter-case tests.
743 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
746 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
747 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
749 2016-05-27 Pedro Alves <palves@redhat.com>
751 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
753 (top level): Call it, and bail out of DejaGnu is known to be bad.
755 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
757 * gdb.base/whatis.c: Extend the test case.
758 * gdb.base/whatis.exp: Add additional tests.
760 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
762 * gdb.fortran/type.f90: Add pointer variable.
763 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
765 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
767 * gdb.fortran/vla-type.exp: Fix testcase name.
769 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
771 * gdb.fortran/vla-type.exp: Access elements in nested structs.
773 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
775 * gdb.fortran/type.f90: Add nested structures.
776 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
777 * gdb.fortran/derived-type.exp: Adapt expected output.
778 * gdb.fortran/vla-type.exp: Adapt expected output.
780 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
782 * gdb.fortran/whatis_type.exp: Adapt expected output.
784 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
786 * gdb.fortran/print_type.exp: Fix expected output.
787 * gdb.fortran/whatis_type.exp: Fix expected output.
789 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
791 * gdb.fortran/whatis_type.exp: Use multi_line.
793 2016-05-24 Tom Tromey <tom@tromey.com>
796 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
797 use value as an index.
799 2016-05-23 Tom Tromey <tom@tromey.com>
802 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
805 2016-05-24 Pedro Alves <palves@redhat.com>
808 * gdb.threads/clone-attach-detach.c: New file.
809 * gdb.threads/clone-attach-detach.exp: New file.
811 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
813 * gdb.base/annota-input-while-running.exp: Fix syntax error.
815 2016-05-23 Tom Tromey <tom@tromey.com>
817 PR python/19438, PR python/18393:
818 * gdb.python/py-progspace.exp: Add "dir" test.
819 * gdb.python/py-objfile.exp: Add "dir" test.
821 2016-05-23 Yao Qi <yao.qi@linaro.org>
823 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
824 * gdb.arch/thumb2-it.exp: Likewise.
826 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
828 * gdb.mi/mi-threads-interrupt.c: New file.
829 * gdb.mi/mi-threads-interrupt.exp: New file.
831 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
834 * gdb.mi/mi-async-run.exp: New file.
835 * gdb.mi/mi-async-run.c: New file.
837 2016-05-17 Tom Tromey <tom@tromey.com>
838 Manish Goregaokar <manishsmail@gmail.com>
840 * lib/rust-support.exp: New file.
841 * lib/gdb.exp (skip_rust_tests): New proc.
842 (build_executable_from_specs): Handle rust.
843 * lib/future.exp (gdb_find_rustc): New proc.
844 (gdb_default_target_compile): Handle rust.
845 * gdb.rust/expr.exp: New file.
846 * gdb.rust/generics.exp: New file.
847 * gdb.rust/generics.rs: New file.
848 * gdb.rust/methods.exp: New file.
849 * gdb.rust/methods.rs: New file.
850 * gdb.rust/modules.exp: New file.
851 * gdb.rust/modules.rs: New file.
852 * gdb.rust/simple.exp: New file.
853 * gdb.rust/simple.rs: New file.
855 2016-05-17 Tom Tromey <tom@tromey.com>
857 * gdb.base/default.exp (set language): Add rust.
859 2016-05-17 Tom Tromey <tom@tromey.com>
861 * gdb.gdb/unittest.exp: New file.
863 2016-05-16 Yao Qi <yao.qi@linaro.org>
865 * gdb.base/batch-preserve-term-settings.exp: Remove variable
866 shell_prompt. Update shell_prompt_re.
868 2016-05-12 Doug Evans <dje@google.com>
871 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
872 $options when building executable.
873 * gdb.dwarf2/fission-loclists-pie.S: New file.
874 * gdb.dwarf2/fission-loclists-pie.exp: New file.
876 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
878 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
879 of [is_remote target],
881 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
883 * lib/gdb.exp (use_gdb_stub): New procedure.
885 2016-05-03 Yunlian Jiang <yunlian@google.com>
886 Doug Evans <dje@google.com>
889 * gdb.dwarf2/dwp-sepdebug.c: New file.
890 * gdb.dwarf2/dwp-sepdebug.exp: New file.
892 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
894 * gdb.base/detach.exp: Remove is_remote check.
896 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
898 * gdb.base/annota-input-while-running.exp: Don't check for
899 [is_remote target]. Enable annotations after running to main.
900 Remove unused "set test..." line.
902 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
904 * gdb.trace/trace-enable-disable.exp: New file.
905 * gdb.trace/trace-enable-disable.c: New file.
907 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
909 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
910 use it in info sharedlibrary test.
911 * gdb.trace/ftrace-lock.exp: Likewise.
912 * gdb.trace/ftrace.exp: Likewise.
913 * gdb.trace/range-stepping.exp: Likewise.
914 * gdb.trace/trace-break.exp: Likewise.
915 * gdb.trace/trace-condition.exp: Likewise.
916 * gdb.trace/trace-mt.exp: Likewise.
918 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
920 * lib/gdb.exp (gdb_load_shlibs): Rename to...
921 (gdb_load_shlib): ... this.
922 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
924 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
925 * gdb.base/ctxobj.exp: Likewise.
926 * gdb.base/dprintf-pending.exp: Likewise.
927 * gdb.base/dso2dso.exp: Likewise.
928 * gdb.base/fixsection.exp: Likewise.
929 * gdb.base/gcore-relro.exp: Likewise.
930 * gdb.base/gdb1555.exp: Likewise.
931 * gdb.base/global-var-nested-by-dso.exp: Likewise.
932 * gdb.base/gnu-ifunc.exp: Likewise.
933 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
934 * gdb.base/jit-so.exp (one_jit_test): Likewise.
935 * gdb.base/pending.exp: Likewise.
936 * gdb.base/print-file-var.exp: Likewise.
937 * gdb.base/print-symbol-loading.exp: Likewise.
938 * gdb.base/shlib-call.exp: Likewise.
939 * gdb.base/shreloc.exp: Likewise.
940 * gdb.base/so-impl-ld.exp: Likewise.
941 * gdb.base/solib-disc.exp: Likewise.
942 * gdb.base/solib-nodir.exp: Likewise.
943 * gdb.base/solib-overlap.exp: Likewise.
944 * gdb.base/solib-symbol.exp: Likewise.
945 * gdb.base/solib-weak.exp (do_test): Likewise.
946 * gdb.base/sym-file.exp: Likewise.
947 * gdb.base/symtab-search-order.exp: Likewise.
948 * gdb.base/type-opaque.exp: Likewise.
949 * gdb.base/unload.exp: Likewise.
950 * gdb.base/watchpoint-solib.exp: Likewise.
951 * gdb.compile/compile.exp: Likewise.
952 * gdb.cp/gdb2384.exp: Likewise.
953 * gdb.cp/infcall-dlopen.exp: Likewise.
954 * gdb.cp/re-set-overloaded.exp: Likewise.
955 * gdb.fortran/library-module.exp: Likewise.
956 * gdb.opt/solib-intra-step.exp: Likewise.
957 * gdb.python/py-finish-breakpoint.exp: Likewise.
958 * gdb.python/py-shared.exp: Likewise.
959 * gdb.reverse/solib-precsave.exp: Likewise.
960 * gdb.reverse/solib-reverse.exp: Likewise.
961 * gdb.server/solib-list.exp: Likewise.
962 * gdb.threads/dlopen-libpthread.exp: Likewise.
963 * gdb.threads/tls-shared.exp: Likewise.
964 * gdb.threads/tls-so_extern.exp: Likewise.
965 * gdb.trace/change-loc.exp: Likewise.
966 * gdb.trace/ftrace-lock.exp: Likewise.
967 * gdb.trace/ftrace.exp: Likewise.
968 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
969 * gdb.trace/pending.exp: Likewise.
970 * gdb.trace/range-stepping.exp: Likewise.
971 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
972 (strace_info_marker): Likewise.
973 (strace_probe_marker): Likewise.
974 (strace_trace_on_same_addr): Likewise.
975 (strace_trace_on_diff_addr): Likewise.
976 * gdb.trace/trace-break.exp: Likewise.
977 * gdb.trace/trace-condition.exp: Likewise.
978 * gdb.trace/trace-mt.exp: Likewise.
980 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
982 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
983 result of gdb_remote_download.
984 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
985 * gdb.base/dso2dso.exp: Likewise.
986 * gdb.base/global-var-nested-by-dso.exp: Likewise.
987 * gdb.base/print-file-var.exp: Likewise.
988 * gdb.base/shlib-call.exp: Likewise.
989 * gdb.base/shreloc.exp: Likewise.
990 * gdb.base/solib-overlap.exp: Likewise.
991 * gdb.base/solib-weak.exp (do_test): Likewise.
992 * gdb.base/unload.exp: Likewise.
994 2016-04-27 Yao Qi <yao.qi@linaro.org>
996 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
999 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1001 * vla-type.exp: Print structure from toplevel.
1003 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1005 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1007 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1010 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1012 * gdb.fortran/vla-type.f90: New file.
1013 * gdb.fortran/vla-type.exp: New file.
1015 2016-04-25 Yao Qi <yao.qi@linaro.org>
1017 * gdb.base/branch-to-self.c: New file.
1018 * gdb.base/branch-to-self.exp: New file.
1020 2016-04-22 Yao Qi <yao.qi@linaro.org>
1022 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1025 2016-04-22 Yao Qi <yao.qi@linaro.org>
1027 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1028 * gdb.base/annota3.exp: Likewise.
1030 2016-04-22 Yao Qi <yao.qi@linaro.org>
1032 * gdb.reverse/step-precsave.exp: Do one step and test program
1033 stops in "callee" and do multiple steps until program goes out
1035 * gdb.reverse/step-reverse.exp: Likewise.
1037 2016-04-22 Yao Qi <yao.qi@linaro.org>
1039 * gdb.trace/signal.exp: Also pass if
1040 $tracepoint_hits($i) > $iterations.
1042 2016-04-22 Yao Qi <yao.qi@linaro.org>
1044 * gdb.trace/signal.c: New file.
1045 * gdb.trace/signal.exp: New file.
1047 2016-04-19 Doug Evans <xdje42@gmail.com>
1049 * gdb.base/bad-file.exp: New file.
1051 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1053 * gdb.dwarf2/implref.exp: New file.
1055 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1057 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1058 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1059 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1060 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1061 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1062 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1063 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1064 * lib/fortran.exp (fortran_int4): New procedure.
1065 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1066 (fortran_logical4): Likewise.
1068 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1070 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1072 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1074 * lib/compiler.c: Add Intel specific preprocessor macros.
1075 * lib/compiler.cc: Likewise.
1077 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1079 * gdb.server/connect-with-no-symbol-file.c: New file.
1080 * gdb.server/connect-with-no-symbol-file.exp: New file.
1082 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1084 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1086 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1088 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1089 standard output directory.
1091 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1093 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1095 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1097 * gdb.btrace/instruction_history.c (loop): Add declaration.
1099 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1101 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1103 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1105 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1106 parentheses to print.
1107 (continue_handler): Likewise.
1109 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1111 * gdb.server/solib-list.exp: Remove is_remote check.
1112 Pass shlib= to gdb_compile. Don't link shared library with
1113 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1114 Run binary filename through "readlink -f" on the target.
1116 2016-04-08 Pedro Alves <palves@redhat.com>
1118 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1119 interpreter filename as argument to gdbserver_spawn.
1120 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1121 Return empty if $last_loaded_file does not exist.
1123 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1125 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1126 * gdb.base/jit-main.c: Use exit after usage.
1128 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1130 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1131 GDBHISTSIZE prior to the tests.
1132 * gdb.base/gdbinit-history.exp: Likewise.
1134 2016-04-07 Pedro Alves <palves@redhat.com>
1136 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1137 instead of build_executable. Use gdb_load_shlibs.
1139 2016-04-07 Yao Qi <yao.qi@linaro.org>
1141 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1142 Execute "si" command.
1144 2016-04-07 Yao Qi <yao.qi@linaro.org>
1146 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1147 number instead of the comments on some line.
1149 2016-04-06 Don Breazeal <donb@codesourcery.com>
1151 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1152 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1154 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1156 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1157 standard_output_file. Remove unused binfile variable.
1159 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1161 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1162 * gdb.python/py-mi-objfile.exp: Match "list main" output
1165 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1167 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1170 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1172 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1174 * gdb.trace/ftrace.exp: Likewise.
1175 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1177 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1178 (gdb_load_shlibs): Copy libraries to test directory when testing
1179 natively. Only set solib-search-path if testing remotely.
1180 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1182 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1184 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1185 gdb_download. Use it even if the target is not remote.
1186 * gdb.base/jit.exp (compile_jit_test): Likewise.
1187 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1188 output directory if the destination board is local, otherwise use
1189 the standard remote_download from DejaGnu.
1190 (gdb_download): Remove.
1191 (gdb_load_shlibs): Use gdb_remote_download instead of
1193 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1194 Use gdb_remote_download instead of gdb_download. Use it even if
1195 the target is not remote.
1196 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1197 instead of gdb_download.
1199 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1201 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1202 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1205 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1208 * gdb.base/printcmds.exp: Add artificial arrays tests.
1210 2016-03-31 Pedro Alves <palves@redhat.com>
1213 * gdb.base/jit-main.c: Include unistd.h.
1214 (ATTACH): Define to 0 if not already defined.
1215 (wait_for_gdb, mypid): New globals.
1216 (WAIT_FOR_GDB): New macro.
1217 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1218 some breakpoint locations.
1219 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1221 (one_jit_test): Add REATTACH parameter, and handle it. Use
1222 continue_to_test_location.
1223 (top level): Test attach, and adjusts calls to one_jit_test.
1225 2016-03-31 Pedro Alves <palves@redhat.com>
1228 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1229 BINSUFFIX parameter, and handle it.
1230 (top level): Adjust calls compile_jit_test.
1232 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1235 * gdb.python/py-mi-events-gdb.py: New file.
1236 * gdb.python/py-mi-events.c: New file.
1237 * gdb.python/py-mi-events.exp: New file.
1239 2016-03-30 Yao Qi <yao.qi@linaro.org>
1241 * gdb.reverse/until-precsave.exp: Match function name only.
1242 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1243 Move malloc to a condition block.
1244 * gdb.reverse/until-reverse.exp: Match function name only.
1246 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1248 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1249 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1250 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1251 variable for GPR 0 instead of assuming it is register 0.
1252 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1253 * lib/trace-support.exp: Add s390 registers.
1255 2016-03-29 Yao Qi <yao.qi@linaro.org>
1257 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1259 2016-03-24 Yao Qi <yao.qi@linaro.org>
1261 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1264 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1266 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1267 maintaining separate logic for constructing the output path.
1269 2016-03-16 Don Breazeal <donb@codesourcery.com>
1271 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1272 Retry fork and waitpid on interrupted system call errors.
1273 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1274 Use with_timeout_factor to increase timeout by factor of 10.
1276 2016-03-15 Don Breazeal <donb@codesourcery.com>
1278 * gdb.cp/scope-err.cc: New test program.
1279 * gdb.cp/scope-err.exp: New test script.
1280 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1281 lines and "set breakpoint here" comment.
1282 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1283 Fixed some whitespace and format issues.
1284 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1285 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1287 2016-03-15 Doug Evans <dje@google.com>
1289 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1290 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1291 All callers updated. Add tests for enums, mixed flags register.
1293 2016-03-15 Doug Evans <dje@google.com>
1295 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1296 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1298 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1300 * gdb.base/default.exp: Add $_as_string to the list of expected
1301 convenience functions.
1303 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1305 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1307 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1309 * gdb.python/py-as-string.exp: New file.
1310 * gdb.python/py-as-string.c: New file.
1312 2016-03-09 Pedro Alves <palves@redhat.com>
1314 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1315 signal" -> "Thread NN received signal" output change.
1316 * gdb.threads/ia64-sigill.exp: Likewise.
1317 * gdb.threads/linux-dp.exp: Likewise.
1318 * gdb.threads/manythreads.exp: Likewise.
1319 * gdb.threads/pending-step.exp: Likewise.
1320 * gdb.threads/print-threads.exp: Likewise.
1321 * gdb.threads/sigstep-threads.exp: Likewise.
1322 * gdb.threads/staticthreads.exp: Likewise.
1323 * gdb.threads/tls.exp: Likewise.
1325 2016-03-09 Pedro Alves <palves@redhat.com>
1327 * gdb.base/command-line-input.exp: New file.
1329 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1331 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1332 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1333 * gdb.trace/pending.exp: Accept leading dot before function name.
1334 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1335 * lib/trace-support.exp: Set registers for ppc.
1337 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1339 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1340 use it for disassembly; accept .main in addition to main in backtrace.
1342 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1343 Marcin Kościelnicki <koriakin@0x04.net>
1345 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1346 (gdb_recursion_test_ptr): New global variable.
1347 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1349 (gdb_c_test): Ditto.
1351 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1353 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1356 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1358 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1359 (bar): Add bar_start_lbl label.
1360 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1361 of foo/bar for emitting DWARF and tracing.
1363 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1365 * analyze-racy-logs.py: Set executable bit.
1367 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1369 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1370 (CHECK_TARGET_TMP): Likewise.
1371 (check-single-racy): New rule.
1372 (check-parallel-racy): Likewise.
1373 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1374 (do-check-parallel-racy): New rule.
1375 (check-racy/%.exp): Likewise.
1376 * README (Racy testcases): New section.
1377 * analyze-racy-logs.py: New file.
1379 2016-03-03 Doug Evans <dje@google.com>
1381 * gdb.base/skip.exp: Use with_test_prefix.
1383 2016-03-03 Yao Qi <yao.qi@linaro.org>
1385 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1386 Invoke step_over_syscall "clone" and break_cond_on_syscall
1388 * gdb.base/step-over-clone.c: New file.
1390 2016-03-03 Yao Qi <yao.qi@linaro.org>
1392 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1395 2016-03-03 Yao Qi <yao.qi@linaro.org>
1397 * gdb.base/disp-step-fork.c: Rename to ...
1398 * gdb.base/step-over-fork.c: ... it. New file.
1399 * gdb.base/disp-step-vfork.c: Rename to ...
1400 * gdb.base/step-over-vfork.c: ... it. New file.
1401 * gdb.base/disp-step-syscall.exp: Rename to ...
1402 * gdb.base/step-over-syscall.exp: ... it. New file.
1403 (disp_step_cross_syscall): Rename to ...
1404 (step_over_syscall): ... it.
1406 2016-03-03 Yao Qi <yao.qi@linaro.org>
1408 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1409 If target supports condition evaluation on target, invoke
1410 break_cond_on_syscall for fork and vfork.
1412 2016-03-03 Yao Qi <yao.qi@linaro.org>
1414 * gdb.base/disp-step-syscall.exp: Don't invoke
1415 support_displaced_stepping.
1416 (disp_step_cross_syscall): Test with displaced stepping off and
1419 2016-03-03 Yao Qi <yao.qi@linaro.org>
1421 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1424 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1427 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1429 * gdb.fortran/vla-history.exp: Remove breakpoint.
1431 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1433 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1436 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1438 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1441 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1443 * gdb.mi/vla.f90: Nullify pointer after declaration.
1445 2016-03-01 Pedro Alves <palves@redhat.com>
1447 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1449 2016-03-01 Pedro Alves <palves@redhat.com>
1451 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1452 before anything else.
1453 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1455 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1456 before anything else.
1457 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1459 2016-03-01 Pedro Alves <palves@redhat.com>
1461 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1463 2016-03-01 Yao Qi <yao.qi@linaro.org>
1465 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1466 prepare_for_testing.
1468 2016-03-01 Yao Qi <yao.qi@linaro.org>
1470 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1472 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1475 manually constructing the output path.
1477 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1479 * gdb.arch/s390-stackless.S: New.
1480 * gdb.arch/s390-stackless.exp: New.
1482 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1484 * gdb.dlang/circular.c: New file.
1485 * gdb.dlang/circular.exp: New file.
1487 2016-02-26 Yao Qi <yao.qi@linaro.org>
1489 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1490 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1491 (testcases): Update.
1493 2016-02-26 Yao Qi <yao.qi@linaro.org>
1495 * gdb.reverse/aarch64.c: Rename to ...
1496 * gdb.reverse/insn-reverse.c: ... it.
1497 * gdb.reverse/aarch64.exp: Rename to ...
1498 * gdb.reverse/insn-reverse.exp: ... it.
1500 2016-02-26 Yao Qi <yao.qi@linaro.org>
1502 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1503 (testcase_ftype): New.
1504 (testcases): New array.
1506 (main): Call each element in testcases.
1507 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1508 (read_testcase): New.
1509 Do the tests in a loop.
1511 2016-02-25 Yao Qi <yao.qi@linaro.org>
1513 * gdb.base/branches.c: Remove.
1515 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1518 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1520 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1522 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1524 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1526 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1527 change x86_64 call_insn to 'callq'.
1529 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1531 * gdb.trace/tfile-avx.c: Move to...
1532 * gdb.trace/tracefile-pseudo-reg.c: Here.
1533 * gdb.trace/tfile-avx.exp: Move to...
1534 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1536 2016-02-24 Gary Benson <gbenson@redhat.com>
1538 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1541 2016-02-23 Doug Evans <dje@google.com>
1543 * gdb.base/skip.c (test_skip): New function.
1544 (end_test_skip_file_and_function): New function.
1545 (test_skip_file_and_function): New function.
1546 * gdb.base/skip1.c (test_skip): New function.
1547 (skip1_test_skip_file_and_function): New function.
1548 * gdb.base/skip.exp: Add tests for new skip options.
1549 * gdb.base/skip-solib.exp: Update expected output.
1550 * gdb.perf/skip-command.cc: New file.
1551 * gdb.perf/skip-command.exp: New file.
1552 * gdb.perf/skip-command.py: New file.
1554 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1556 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1557 info registers pattern.
1559 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1561 * lib/future.exp: Add D support.
1562 (gdb_find_gdc): New proc.
1563 (gdb_default_target_compile): Add D support.
1565 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1567 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1569 (trace_speed_test): Determine the iteration count for a time
1570 between 15..30 seconds.
1572 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1574 * gdb.arch/i386-mpx-sigsegv.c: New file.
1575 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1576 * gdb.arch/i386-mpx-simple_segv.c: New file.
1577 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1579 2016-02-18 Yao Qi <yao.qi@linaro.org>
1581 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1582 Don't call setup_kfail.
1584 2016-02-18 Yao Qi <yao.qi@linaro.org>
1586 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1587 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1589 2016-02-16 Doug Evans <dje@google.com>
1591 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1592 * gdb.base/skip1.c: Ditto.
1593 * gdb.base/skip.exp: Whitespace cleanup.
1595 2016-02-16 Don Breazeal <donb@codesourcery.com>
1598 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1599 Remove kfail for PR remote/19496.
1601 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1603 * lib/gdb.exp (standard_temp_file): Return a path specific to
1604 the runtest invocation.
1606 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1608 * gdb.trace/save-trace.exp: Change relative path to be in the
1609 standard output directory.
1611 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1613 * gdb.arch/i386-prologue.c: Add missing prototypes.
1615 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1617 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1618 * gdb.arch/i386-prologue.exp: Likewise.
1619 * gdb.arch/i386-size.exp: Likewise.
1621 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1623 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1624 define object file path.
1625 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1627 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1628 standard_output_file to define binfile.
1630 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1632 Fix compatibility with recent gfortran-5.3.1.
1633 * gdb.fortran/vla-history.exp (print vla1 allocated)
1634 (print vla2 allocated, print $2, print $3): Remove
1635 (print $4): Rename to ...
1636 (print $2): ... here.
1637 (print $9): Rename to ...
1638 (print $5): ... here.
1639 (print $10): Rename to ...
1640 (print $6): ... here.
1641 * gdb.fortran/vla.f90: Add pvla initialization.
1643 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1645 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1647 * gdb.fortran/vla-value-sub.exp: Likewise.
1649 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1651 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1653 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1655 * i386-biarch-core.exp: Define corefile using
1656 standard_output_file.
1658 2016-02-12 Yao Qi <yao.qi@linaro.org>
1660 * gdb.arch/arm-single-step-kernel-helper.c: New.
1661 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1663 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1665 * gdb.btrace/tailcall-only.exp: New.
1666 * gdb.btrace/tailcall-only.c: New.
1667 * gdb.btrace/x86_64-tailcall-only.S: New.
1668 * gdb.btrace/i686-tailcall-only.S: New.
1670 2016-02-11 Pedro Alves <palves@redhat.com>
1672 * README (Parallel testing): Add missing double quotes.
1674 2016-02-11 Pedro Alves <palves@redhat.com>
1676 * README (Parallel testing): New section.
1677 (GDB_PARALLEL): Rewrite.
1678 (FORCE_PARALLEL): Document.
1680 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1682 * gdb.trace/tfile-avx.c: New test.
1683 * gdb.trace/tfile-avx.exp: New test.
1685 2016-02-09 Keith Seitz <keiths@redhat.com>
1687 PR breakpoints/19546
1688 * gdb.base/infcall-exec.c: New file.
1689 * gdb.base/infcall-exec2.c: New file.
1690 * gdb.base/infcall-exec.exp: New file.
1692 2016-02-09 Keith Seitz <keiths@redhat.com>
1694 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1695 (toplevel): Call test_bkpt_address.
1697 2016-02-09 Keith Seitz <keiths@redhat.com>
1700 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1701 (toplevel): Call test_bkpt_address.
1703 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1705 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1707 * configure: Regenerate.
1709 2016-02-09 Pedro Alves <palves@redhat.com>
1711 PR breakpoints/19548
1712 * gdb.base/execl-update-breakpoints.c (some_function): New
1715 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1716 Tighten expected GDB output.
1718 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1720 * Makefile.in (ALL_SUBDIRS): Remove.
1721 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1722 (distclean maintainer-clean realclean): Likewise.
1723 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1724 * configure: Regenerate.
1725 * gdb.ada/Makefile.in: Delete.
1726 * gdb.arch/Makefile.in: Likewise.
1727 * gdb.asm/Makefile.in: Likewise.
1728 * gdb.base/Makefile.in: Likewise.
1729 * gdb.btrace/Makefile.in: Likewise.
1730 * gdb.cell/Makefile.in: Likewise.
1731 * gdb.compile/Makefile.in: Likewise.
1732 * gdb.cp/Makefile.in: Likewise.
1733 * gdb.disasm/Makefile.in: Likewise.
1734 * gdb.dlang/Makefile.in: Likewise.
1735 * gdb.dwarf2/Makefile.in: Likewise.
1736 * gdb.fortran/Makefile.in: Likewise.
1737 * gdb.gdb/Makefile.in: Likewise.
1738 * gdb.go/Makefile.in: Likewise.
1739 * gdb.guile/Makefile.in: Likewise.
1740 * gdb.java/Makefile.in: Likewise.
1741 * gdb.linespec/Makefile.in: Likewise.
1742 * gdb.mi/Makefile.in: Likewise.
1743 * gdb.modula2/Makefile.in: Likewise.
1744 * gdb.multi/Makefile.in: Likewise.
1745 * gdb.objc/Makefile.in: Likewise.
1746 * gdb.opencl/Makefile.in: Likewise.
1747 * gdb.opt/Makefile.in: Likewise.
1748 * gdb.pascal/Makefile.in: Likewise.
1749 * gdb.perf/Makefile.in: Likewise.
1750 * gdb.python/Makefile.in: Likewise.
1751 * gdb.reverse/Makefile.in: Likewise.
1752 * gdb.server/Makefile.in: Likewise.
1753 * gdb.stabs/Makefile.in: Likewise.
1754 * gdb.threads/Makefile.in: Likewise.
1755 * gdb.trace/Makefile.in: Likewise.
1756 * gdb.xml/Makefile.in: Likewise.
1757 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1759 (standard_output_file): Remove check for GDB_PARALLEL, always
1760 return path in outputs/$subdir/$testname.
1762 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1764 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1765 (site.exp): Assign abs_srcdir to tcl's srcdir.
1767 2016-02-04 Yao Qi <yao.qi@linaro.org>
1769 * gdb.base/foll-exec-mode.c: Include limits.h.
1770 (main): Add parameters argc and argv. Get directory from
1772 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1774 * gdb.base/foll-exec.c: Include limits.h.
1775 (main): Add parameters argc and argv.
1776 Get directory from argv[0].
1777 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1778 Adjust tests on the number of lines as source code changed.
1779 * gdb.base/foll-vfork-exit.c: Include limits.h.
1780 (main): Add one line of statement before vfork.
1781 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1782 (main): Add parameters argc and argv. Get directory from
1784 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1785 (setup_gdb): Set tbreak to skip some source lines.
1786 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1787 (main): Add parameters argc and argv. Get directory from
1789 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1791 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1792 (main): Add parameters argc and argv. Get directory from
1794 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1797 2016-02-01 Doug Evans <dje@google.com>
1799 * gdb.base/skip.exp: Clean up multiple references to same test name.
1801 2016-02-01 Pedro Alves <palves@redhat.com>
1804 * gdb.threads/forking-threads-plus-breakpoint.exp
1805 (displaced_stepping_supported): New global.
1806 (probe_displaced_stepping_support): New procedure.
1807 (do_test): Add 'displaced' parameter, and use it.
1808 (top level): Check for displaced stepping support. Add displaced
1809 stepping on/off testing axis.
1811 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1813 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1814 pointer. Don't perform further tests on the unassociated pointer
1815 if the first test fails.
1817 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1819 * gdb.base/max-value-size.c: New file.
1820 * gdb.base/max-value-size.exp: New file.
1821 * gdb.base/huge.exp: Disable max-value-size for this test.
1823 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1825 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1827 2016-01-28 Yao Qi <yao.qi@linaro.org>
1829 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1831 2016-01-25 Pedro Alves <palves@redhat.com>
1834 * gdb.base/fork-running-state.c: New file.
1835 * gdb.base/fork-running-state.exp: New file.
1837 2016-01-25 Pedro Alves <palves@redhat.com>
1840 * gdb.base/catch-fork-kill.c: New file.
1841 * gdb.base/catch-fork-kill.exp: New file.
1843 2016-01-25 Pedro Alves <palves@redhat.com>
1845 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1846 Delete, moved to lib/gdb.exp.
1847 * gdb.threads/forking-threads-plus-breakpoint.exp
1848 (foreach_with_prefix): Likewise.
1849 * gdb.threads/process-dies-while-handling-bp.exp
1850 (foreach_with_prefix): Likewise.
1851 * lib/gdb.exp (foreach_with_prefix): New procedure.
1853 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1855 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1856 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1858 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1860 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1863 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1864 Pedro Alves <palves@redhat.com>
1866 Fix testsuite compatibility with Guile.
1867 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1870 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1872 Fix testsuite compatibility with Guile.
1873 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1874 (thread 1): New test for backtrace through signal handler.
1876 2016-01-22 Yao Qi <yao.qi@linaro.org>
1879 * gdb.base/multi-forks.c: Include
1880 ../lib/unbuffer_output.c
1881 (main): Call gdb_unbuffer_output.
1883 2016-01-21 Doug Evans <dje@google.com>
1885 * lib/ada.exp (gdb_compile_ada): Fix typo.
1887 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1889 * gdb.base/break-fun-addr.exp: New file.
1890 * gdb.base/break-fun-addr1.c: New file.
1891 * gdb.base/break-fun-addr2.c: New file.
1893 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1895 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1896 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1899 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1901 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1902 when GDB can not set the vector return value. Add more comments
1905 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1907 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1910 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1912 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1914 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1916 * Makefile.in (check-single): Pass --status to runtest.
1917 (check/%.exp): Likewise.
1919 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1921 * Makefile.in (check-parallel): Propagate return code from make
1924 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1926 * gdb.trace/ftrace.exp: Fix expected message on continue.
1927 * gdb.trace/pending.exp: Fix expected message on continue.
1928 * gdb.trace/trace-break.exp: Fix expected message on continue.
1930 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1932 * lib/gdb.exp (gdb_test): Remove unused global references.
1934 2016-01-18 Pedro Alves <palves@redhat.com>
1936 * gdb.base/async-shell.exp: Adjust expected output.
1937 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1938 * gdb.base/siginfo-thread.exp: Adjust expected output.
1939 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1940 * gdb.java/jnpe.exp: Adjust expected output.
1941 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1942 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1943 * gdb.threads/leader-exit.exp: Adjust expected output.
1944 * gdb.threads/manythreads.exp: Adjust expected output.
1945 * gdb.threads/pthreads.exp: Adjust expected output.
1946 * gdb.threads/schedlock.exp: Adjust expected output.
1947 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1948 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1950 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1952 * gdb.threads/sigthread.exp: Adjust expected output.
1953 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1955 2016-01-18 Yao Qi <yao.qi@linaro.org>
1957 * gdb.guile/scm-section-script.c: Replace @progbits with
1959 * gdb.python/py-section-script.c: Likewise.
1961 2016-01-15 Pedro Alves <palves@redhat.com>
1963 * gdb.multi/tids.exp: Test star wildcard ranges.
1965 2016-01-15 Pedro Alves <palves@redhat.com>
1967 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1968 command from "thread apply" invocation.
1969 (thr_apply_info_thr_invalid): Default the expected output to the
1971 (top level): Add tests that use convenience variables. Add tests
1972 for "thread apply" with a valid TID list, but missing the command.
1974 2016-01-13 Pedro Alves <palves@redhat.com>
1976 * gdb.base/default.exp: Expect $_gthread as well.
1977 * gdb.multi/tids.exp: Test $_gthread.
1978 * gdb.threads/thread-specific.exp: Test $_gthread.
1980 2016-01-13 Pedro Alves <palves@redhat.com>
1982 * gdb.multi/tids.exp: Test "info threads -gid".
1984 2016-01-13 Pedro Alves <palves@redhat.com>
1986 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1988 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1990 2016-01-07 Pedro Alves <palves@redhat.com>
1992 * gdb.base/break.exp: Adjust to output changes.
1993 * gdb.base/hbreak2.exp: Likewise.
1994 * gdb.base/sepdebug.exp: Likewise.
1995 * gdb.base/watch_thread_num.exp: Likewise.
1996 * gdb.linespec/keywords.exp: Likewise.
1997 * gdb.multi/info-threads.exp: Likewise.
1998 * gdb.threads/thread-find.exp: Likewise.
1999 * gdb.multi/tids.c: New file.
2000 * gdb.multi/tids.exp: New file.
2002 2016-01-13 Pedro Alves <palves@redhat.com>
2004 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2006 2016-01-13 Pedro Alves <palves@redhat.com>
2008 * gdb.base/default.exp: Expect $_inferior as well.
2009 * gdb.multi/base.exp: Test $_inferior.
2011 2016-01-13 Pedro Alves <palves@redhat.com>
2013 PR breakpoints/19388
2014 * gdb.base/catch-signal-siginfo-cond.c: New file.
2015 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2017 2016-01-12 Josh Stone <jistone@redhat.com>
2018 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2020 * gdb.base/catch-syscall.c (do_execve): New variable.
2021 (main): Conditionally trigger an execve.
2022 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2023 (test_catch_syscall_execve): New, check entry/return across execve.
2024 (do_syscall_tests): Call test_catch_syscall_execve.
2026 2016-01-12 Pedro Alves <palves@redhat.com>
2028 * gdb.base/random-signal.exp (do_test): New procedure, with body
2029 of testcase moved in.
2031 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2032 Pedro Alves <palves@redhat.com>
2034 * gdb.base/funcargs.exp (finish from indirectly called function):
2035 Reintroduce the case for 'First'.
2037 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2038 Pedro Alves <palves@redhat.com>
2040 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2041 (tcatch_vfork_then_child_follow_exec)
2042 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2045 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2048 and repeats to unlimited.
2049 * gdb.python/py-value.exp: Likewise.
2050 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2051 and repeats to unlimited.
2053 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2055 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2056 and reordering the functions.
2057 * gdb.multi/hangout.c: Likewise.
2058 * gdb.multi/hello.c: Likewise.
2060 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2062 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2064 (SingleStatisticTestResult.report): Use dict.keys instead of
2067 2016-01-06 Pedro Alves <palves@redhat.com>
2069 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2071 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2073 * gdb.btrace/dlopen.exp: New.
2074 * gdb.btrace/dlopen.c: New.
2075 * gdb.btrace/dlopen-dso.c: New.
2077 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2079 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2080 PATTERN argument is optional.
2082 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2084 * lib/ada.exp (target_compile_ada_from_dir): New function.
2085 (gdb_compile_ada): Reimplement avoiding the use of project files.
2086 * gdb.ada/gnat_ada.gpr: Delete.
2087 * gdb.ada/cond_lang.exp: Adjust test to make path before
2089 * gdb.ada/small_reg_param.exp: Likewise.
2091 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2093 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2095 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2097 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2100 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2102 * gdb.base/break.exp: Remove dead code.
2103 * gdb.base/sepdebug.exp: Likewise.
2105 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2107 * gdb.asm/asm-source.exp: Remove HP-UX references.
2108 * gdb.base/annota1.exp: Likewise.
2109 * gdb.base/annota3.exp: Likewise.
2110 * gdb.base/attach.exp: Likewise.
2111 * gdb.base/bigcore.exp: Likewise.
2112 * gdb.base/break.exp: Likewise.
2113 * gdb.base/call-ar-st.exp: Likewise.
2114 * gdb.base/callfuncs.exp: Likewise.
2115 * gdb.base/catch-fork-static.exp: Likewise.
2116 * gdb.base/display.exp: Likewise.
2117 * gdb.base/foll-exec-mode.exp: Likewise.
2118 * gdb.base/foll-exec.exp: Likewise.
2119 * gdb.base/foll-fork.exp: Likewise.
2120 * gdb.base/foll-vfork.exp: Likewise.
2121 * gdb.base/funcargs.exp: Likewise.
2122 * gdb.base/hbreak2.exp: Likewise.
2123 * gdb.base/inferior-died.exp: Likewise.
2124 * gdb.base/interrupt.exp: Likewise.
2125 * gdb.base/multi-forks.exp: Likewise.
2126 * gdb.base/nodebug.exp: Likewise.
2127 * gdb.base/sepdebug.exp: Likewise.
2128 * gdb.base/solib1.c: Likewise.
2129 * gdb.base/step-test.exp: Likewise.
2130 * gdb.mi/non-stop.c: Likewise.
2131 * gdb.mi/pthreads.c: Likewise.
2132 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2133 * gdb.threads/pthreads.c: Likewise.
2134 * gdb.threads/staticthreads.exp: Likewise.
2135 * lib/future.exp: Likewise.
2136 * lib/gdb.exp: Likewise.
2137 * gdb.base/so-indr-cl.c: Remove.
2138 * gdb.base/so-indr-cl.exp: Likewise.
2139 * gdb.base/solib.c: Likewise.
2140 * gdb.base/solib.exp: Likewise.
2141 * gdb.base/solib2.c: Likewise.
2143 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2145 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2146 * gdb.base/call-ar-st.exp: Likewise.
2147 * gdb.base/callfuncs.exp: Likewise.
2148 * gdb.base/condbreak.exp: Likewise.
2149 * gdb.base/constvars.exp: Likewise.
2150 * gdb.base/hbreak2.exp: Likewise.
2151 * gdb.base/langs.exp: Likewise.
2152 * gdb.base/list.exp: Likewise.
2153 * gdb.base/long_long.exp: Likewise.
2154 * gdb.base/ptype.exp: Likewise.
2155 * gdb.base/scope.exp: Likewise.
2156 * gdb.base/signals.exp: Likewise.
2157 * gdb.base/so-impl-ld.exp: Likewise.
2158 * gdb.base/varargs.exp: Likewise.
2159 * gdb.base/volatile.exp: Likewise.
2160 * gdb.base/whatis.exp: Likewise.
2161 * gdb.cp/cplusfuncs.exp: Likewise.
2162 * gdb.cp/inherit.exp: Likewise.
2163 * gdb.cp/local.exp: Likewise.
2164 * gdb.cp/member-ptr.exp: Likewise.
2165 * gdb.cp/method.exp: Likewise.
2166 * gdb.cp/overload.exp: Likewise.
2167 * gdb.cp/templates.exp: Likewise.
2168 * gdb.stabs/weird.exp: Likewise.
2169 * lib/compiler.c: Likewise.
2170 * lib/compiler.cc: Likewise.
2171 * lib/cp-support.exp: Likewise.
2172 * lib/gdb.exp: Likewise.
2174 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2176 * configure.ac: Remove HP-UX case.
2177 * configure: Regenerate.
2179 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2181 * lib/gdb.exp (gdb_compile): Add function doc.
2183 2015-12-17 Pedro Alves <palves@redhat.com>
2186 * gdb.multi/info-threads.exp: New file.
2188 2015-12-15 Yao Qi <yao.qi@linaro.org>
2190 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2193 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2195 * gdb.base/history-duplicates.exp: Skip if no readline support.
2197 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2199 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2201 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2203 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2205 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2207 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2208 ctrl-C if nointerrupts target property is set.
2209 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2210 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2211 * gdb.base/paginate-bg-execution.exp: Likewise.
2212 * gdb.base/paginate-execution-startup.exp: Likewise.
2213 * gdb.base/random-signal.exp: Likewise.
2214 * gdb.base/range-stepping.exp: Likewise.
2215 * gdb.cp/annota2.exp: Likewise.
2216 * gdb.cp/annota3.exp: Likewise.
2217 * gdb.gdb/selftest.exp: Likewise.
2218 * gdb.threads/continue-pending-status.exp: Likewise.
2219 * gdb.threads/leader-exit.exp: Likewise.
2220 * gdb.threads/manythreads.exp: Likewise.
2221 * gdb.threads/pthreads.exp: Likewise.
2222 * gdb.threads/schedlock.exp: Likewise.
2223 * gdb.threads/sigthread.exp: Likewise.
2225 2015-12-11 Don Breazeal <donb@codesourcery.com>
2227 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2229 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2230 * gdb.base/foll-exec.exp (main): Enable for target remote.
2231 * gdb.base/foll-fork.exp (main): Likewise.
2232 * gdb.base/foll-vfork.exp (main): Likewise.
2233 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2234 (proc continue_to_exit_bp_loc): Use clean_restart.
2235 * gdb.base/pie-execl.exp (main): Disable for target remote.
2236 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2237 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2238 * gdb.threads/execl.exp (main): Likewise.
2239 * gdb.threads/fork-child-threads.exp (main): Likewise.
2240 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2242 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2244 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2245 pid.tid style ptids, instead of just tid.
2246 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2247 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2248 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2249 ptids, instead of just tid.
2251 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2253 * gdb.base/list.exp (test_list_forward): Add end of file error
2255 (test_repeat_list_command): Add end of file error test.
2256 (test_list_backwards): Add beginning of file error test.
2258 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2260 * gdb.base/list.exp (test_list_invalid_args): New function,
2261 defined, and called.
2263 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2265 * gdb.base/list.exp (test_list): Make test names unique.
2267 2015-12-11 Yao Qi <yao.qi@linaro.org>
2269 * gdb.base/coremaker2.c: Remove.
2271 2015-12-10 Pedro Alves <palves@redhat.com>
2273 * gdb.multi/base.exp: Remove stale "spaces" references.
2275 2015-12-10 Pedro Alves <palves@redhat.com>
2277 * gdb.multi/base.exp: Don't use nowarnings.
2278 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2279 * gdb.multi/hangout.c: Include stdio.h.
2280 * gdb.multi/hello.c: Include stdlib.h.
2281 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2282 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2283 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2285 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2287 * gdb.dwarf2/dw2-ranges-base.c: New file.
2288 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2289 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2290 support additional line table, and debug ranges generation.
2291 (Dwarf::ranges): New function, generate .debug_ranges.
2292 (Dwarf::lines): Support generating simple line table programs.
2293 (Dwarf::assemble): Initialise new namespace variables.
2295 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2297 * gdb.base/async.exp (proc test_background): Add case for
2298 asynchronous execution not supported.
2300 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2302 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2303 format and change test names to make them unique.
2305 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2306 Pedro Alves <pedro@redhat.com>
2309 Add checking of floatformats setup on x86_64 hosts.
2310 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2311 (smallval, bigval): New labels/constants.
2312 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2313 float" after loading bigval and smallval.
2315 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2317 * gdb.ada/fun_overload_menu.exp: New testcase.
2318 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2320 2015-12-04 Josh Stone <jistone@redhat.com>
2322 * gdb.base/catch-fork-static.exp: New.
2324 2015-12-03 Yao Qi <yao.qi@linaro.org>
2326 * gdb.base/sizeof.c: Don't include stdio.h and
2327 ../lib/unbuffer_output.c.
2328 (main): New variable 'size' and 'value'. Remove printf and
2329 gdb_unbuffer_output. Assign return value to size and value.
2330 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2332 (check_sizeof): Check the result by printing variable 'size'.
2333 (check_valueof): Check the result by printing variable 'value'.
2335 2015-12-01 Yao Qi <yao.qi@linaro.org>
2337 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2338 for aarch64*-*-linux* target.
2340 2015-11-30 Pedro Alves <palves@redhat.com>
2342 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2344 2015-11-30 Pedro Alves <palves@redhat.com>
2346 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2347 Handle non-stop mode vCont replies.
2349 2015-11-30 Pedro Alves <palves@redhat.com>
2351 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2352 prepare_for_testing. Start gdb with "set non-stop on" appended to
2353 GDBFLAGS. Lax expected stop output.
2355 2015-11-27 Yao Qi <yao.qi@linaro.org>
2357 * gdb.arch/arm-neon.exp: New.
2358 * gdb.arch/arm-neon.c: New.
2360 2015-11-27 Yao Qi <yao.qi@linaro.org>
2362 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2364 2015-11-27 Yao Qi <yao.qi@linaro.org>
2366 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2367 frames-invalid annotation.
2369 2015-11-27 Yao Qi <yao.qi@linaro.org>
2371 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2373 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2375 * gdb.threads/names.exp: New file.
2376 * gdb.threads/names.c: New file.
2377 * README: Mention gdb,no_thread_names.
2379 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2382 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2385 2015-11-24 Pedro Alves <palves@redhat.com>
2388 * gdb.base/display.exp: Expect displays to be sorted in ascending
2389 order. Use multi_line.
2390 * gdb.base/solib-display.exp: Likewise.
2392 2015-11-24 Pedro Alves <palves@redhat.com>
2395 * gdb.base/display.exp: Expect displays to be sorted in ascending
2396 order. Use multi_line.
2397 * gdb.base/solib-display.exp: Likewise.
2399 2015-11-24 Pedro Alves <palves@redhat.com>
2402 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2403 threads in ascending order.
2404 * gdb.base/foll-fork.exp: Likewise.
2405 * gdb.base/foll-vfork.exp: Likewise.
2406 * gdb.base/multi-forks.exp: Likewise.
2407 * gdb.mi/mi-nonstop.exp: Likewise.
2408 * gdb.mi/mi-nsintrall.exp: Likewise.
2409 * gdb.multi/base.exp: Likewise.
2410 * gdb.multi/multi-arch.exp: Likewise.
2411 * gdb.python/py-inferior.exp: Likewise.
2412 * gdb.threads/break-while-running.exp: Likewise.
2413 * gdb.threads/execl.exp: Likewise.
2414 * gdb.threads/gcore-thread.exp: Likewise.
2415 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2416 * gdb.threads/kill.exp: Likewise.
2417 * gdb.threads/linux-dp.exp: Likewise.
2418 * gdb.threads/multiple-step-overs.exp: Likewise.
2419 * gdb.threads/next-bp-other-thread.exp: Likewise.
2420 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2421 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2422 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2423 * gdb.threads/thread-find.exp: Likewise.
2424 * gdb.threads/tls.exp: Likewise.
2425 * lib/mi-support.exp (mi_reverse_list): Delete.
2426 (mi_check_thread_states): No longer reverse list.
2428 2015-11-24 Pedro Alves <palves@redhat.com>
2430 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2433 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2435 * gdb.trace/actions.c: Include trace-common.h.
2436 (main): Add a location for a fast tracepoint.
2437 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2438 the normal tracepoints.
2439 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2441 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2443 * save-trace.exp: Factor out code to these...
2444 (gdb_save_tracepoints): New.
2445 (gdb_load_tracepoints): New.
2446 (do_save_load_test): New.
2448 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2450 * gdb.base/asmlabel.exp: New test.
2451 * gdb.base/asmlabel.c: New test case.
2453 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2455 * gdb.base/wrong_frame_bt_full-main.c: New file.
2456 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2457 * gdb.base/wrong_frame_bt_full.exp: New file.
2459 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2461 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2463 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2465 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2466 pstate register when comparing registers values in
2467 sparc64-*-linux-gnu targets to avoid spurious differences.
2469 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2471 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2473 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2475 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2476 as type argument to gdb_compile.
2477 * gdb.base/nested-subp2.exp: Likewise.
2478 * gdb.base/nested-subp3.exp: Likewise.
2480 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2482 * lib/dwarf.exp (_note): Fix left shift of negative value.
2483 * gdb.trace/trace-condition.exp: Likewise.
2485 2015-11-13 Yao Qi <yao.qi@linaro.org>
2487 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2488 comments about d10v.
2489 (test_scalar_returns): Likewise.
2490 * gdb.base/d10v.ld: Remove.
2491 * gdb.base/overlays.exp: Remove the target triplet checking for
2493 * gdb.base/structs.exp (test_struct_returns): Remove the
2494 comments about d10v.
2495 (test_struct_calls): Likewise.
2497 2015-11-13 Yao Qi <yao.qi@linaro.org>
2499 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2500 * gdb.base/gnu_vector.c: Don't include stdio.h.
2501 (main): Don't print res and call add_some_intvecs.
2503 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2505 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2508 (func4): Use FAST_TRACEPOINT_LABEL.
2509 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2512 (thread_function): Use FAST_TRACEPOINT_LABEL.
2513 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2515 (marker): Use FAST_TRACEPOINT_LABEL.
2516 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2517 (pendfunc1): Remove.
2518 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2519 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2521 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2522 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2525 (marker): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/trace-common.h: New header.
2527 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2530 (marker): Use FAST_TRACEPOINT_LABEL.
2531 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2533 (thread_function): Use FAST_TRACEPOINT_LABEL.
2535 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2537 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2539 * gdb.trace/change-loc.exp: Use global pcreg definition.
2540 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2541 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2543 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2544 * gdb.trace/pending.exp: Likewise.
2545 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2546 * gdb.trace/trace-break.exp: Likewise.
2547 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2549 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2550 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2552 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2554 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2556 * gdb.ada/fin_fun_out: New testcase.
2558 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2560 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2561 value associated with DW_AT_byte_size.
2562 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2563 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2566 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2568 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2569 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2571 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2572 gdb.dwarf2/dw2-canonicalize-type.exp,
2573 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2574 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2575 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2576 provided by gdb_target_symbol_prefix_flags_asm.
2577 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2578 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2579 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2580 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2581 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2582 macros where needed). Use this macro for symbols which require
2583 the prefix provided by SYMBOL_PREFIX.
2585 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2587 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2589 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2590 representing expressions, of more than one list element.
2591 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2592 to prepend linker symbol prefix to f.
2593 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2594 table_1 and table_2.
2595 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2596 Likewise, for f and g.
2597 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2599 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2601 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2602 table_1_ptr and table_2_ptr.
2604 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 Joel Brobecker <brobecker@adacore.com>
2607 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2609 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2611 * gdb.reverse/s390-mvcle.c: New test.
2612 * gdb.reverse/s390-mvcle.exp: New file.
2613 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2615 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2617 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2619 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2621 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2623 * gdb.reverse/getresuid-reverse.exp: Likewise.
2624 * gdb.reverse/pipe-reverse.exp: Likewise.
2625 * gdb.reverse/readv-reverse.exp: Likewise.
2626 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2627 * gdb.reverse/time-reverse.exp: Likewise.
2628 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2630 2015-10-30 Yao Qi <yao.qi@linaro.org>
2632 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2633 (empty_cycle): Remove.
2634 (main): Don't call empty_cycle. Don't use watch_count_done.
2635 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2636 empty_cycle. Rewrite the code counting HW watchpoints.
2638 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2640 * gdb.reverse/fstatat-reverse.c: New test.
2641 * gdb.reverse/fstatat-reverse.exp: New file.
2642 * gdb.reverse/getresuid-reverse.c: New test.
2643 * gdb.reverse/getresuid-reverse.exp: New file.
2644 * gdb.reverse/pipe-reverse.c: New test.
2645 * gdb.reverse/pipe-reverse.exp: New file.
2646 * gdb.reverse/readv-reverse.c: New test.
2647 * gdb.reverse/readv-reverse.exp: New file.
2648 * gdb.reverse/recvmsg-reverse.c: New test.
2649 * gdb.reverse/recvmsg-reverse.exp: New file.
2650 * gdb.reverse/time-reverse.c: New test.
2651 * gdb.reverse/time-reverse.exp: New file.
2652 * gdb.reverse/waitpid-reverse.c: New test.
2653 * gdb.reverse/waitpid-reverse.exp: New file.
2655 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2657 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2659 2015-10-26 Doug Evans <dje@google.com>
2662 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2663 * gdb.dwarf2/bad-regnum.c: New file.
2664 * gdb.dwarf2/bad-regnum.exp: New file.
2666 2015-10-26 Doug Evans <dje@google.com>
2669 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2672 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2674 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2675 for a change by "Mention language in compile error message".
2677 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2680 * gdb.python/py-type.c (C::a_method): New.
2681 (C::a_const_method): New.
2682 (C::a_static_method): New.
2684 * gdb.python/py-type.exp (test_fields): Test getting fields
2685 from function and method.
2687 2015-10-21 Keven Boell <keven.boell@intel.com>
2689 * gdb.fortran/vla-alloc-assoc.exp: New file.
2690 * gdb.fortran/vla-datatypes.exp: New file.
2691 * gdb.fortran/vla-datatypes.f90: New file.
2692 * gdb.fortran/vla-history.exp: New file.
2693 * gdb.fortran/vla-ptype-sub.exp: New file.
2694 * gdb.fortran/vla-ptype.exp: New file.
2695 * gdb.fortran/vla-sizeof.exp: New file.
2696 * gdb.fortran/vla-sub.f90: New file.
2697 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2698 * gdb.fortran/vla-value-sub-finish.exp: New file.
2699 * gdb.fortran/vla-value-sub.exp: New file.
2700 * gdb.fortran/vla-value.exp: New file.
2701 * gdb.fortran/vla-ptr-info.exp: New file.
2702 * gdb.mi/mi-vla-fortran.exp: New file.
2703 * gdb.mi/vla.f90: New file.
2705 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2707 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2708 of hardwired timeout value.
2710 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2711 Pedro Alves <palves@redhat.com>
2713 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2714 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2716 2015-10-19 Josh Stone <jistone@redhat.com>
2718 * gdb.base/catch-syscall.c: Include <sched.h>.
2719 (unknown_syscall): New variable.
2720 (main): Trigger a vfork and an unknown syscall.
2721 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2722 (unknown_syscall_number): Likewise.
2723 (check_call_to_syscall): Accept an optional syscall pattern.
2724 (check_return_from_syscall): Likewise.
2725 (check_continue): Likewise.
2726 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2727 (test_catch_syscall_skipping_return): New test toggling off 'catch
2728 syscall' to step over the syscall return, then toggling back on.
2729 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2730 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2731 (do_syscall_tests): Call test_catch_syscall_without_args and
2732 test_catch_syscall_mid_vfork.
2733 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2734 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2736 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2738 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2739 print g_vE): Add new pass patterns.
2740 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2741 print various symbol names for vptr fields.
2743 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2745 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2748 2015-10-12 Yao Qi <yao.qi@linaro.org>
2750 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2752 2015-10-12 Yao Qi <yao.qi@linaro.org>
2754 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2755 is aarch64*-*-linux*.
2757 2015-10-12 Yao Qi <yao.qi@linaro.org>
2759 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2760 (can_relocate_bcond_true): ... it.
2761 (can_relocate_bcond_false): New function.
2763 (can_relocate_bl): Likewise.
2764 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2767 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2769 * gdb.base/nested-addr.c: New file.
2770 * gdb.base/nested-addr.exp: New testcase.
2772 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2774 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2775 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2776 its output. Ignore the output of "record goto begin" and instead
2777 check that GDB is replaying.
2779 2015-10-09 Pedro Alves <palves@redhat.com>
2781 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2782 (top level): Use it in the run with no args test.
2784 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2786 * gdb.dlang/properties.exp: New file.
2788 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2790 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2791 whether or not address 0x1000 is mapped on the target.
2793 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2795 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2798 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2800 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2801 instruction-history test.
2803 2015-09-28 Doug Evans <dje@google.com>
2805 * gdb.base/gcore.c (array_func): Add reference to static_array.
2807 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2809 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2812 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2814 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2815 short or char as base type.
2817 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2819 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2820 to allow any size enum.
2822 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2824 * gdb.ada/array_ptr_renaming.exp: New testcase.
2825 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2826 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2828 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2830 * gdb.trace/ftrace-lock.c: New file.
2831 * gdb.trace/ftrace-lock.exp: New file.
2833 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2835 * gdb.arch/insn-reloc.c: New file.
2836 * gdb.arch/ftrace-insn-reloc.exp: New file.
2838 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2840 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2842 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2843 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2844 * gdb.trace/range-stepping.c: Likewise.
2845 * gdb.trace/trace-break.c: Likewise.
2846 * gdb.trace/trace-mt.c (thread_function): Likewise.
2847 * gdb.trace/ftrace.c (marker): Likewise.
2848 * gdb.trace/trace-condition.c (marker): Likewise.
2849 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2850 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2853 2015-09-18 Doug Evans <xdje42@gmail.com>
2855 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2856 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2860 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2863 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2865 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2866 the pending breakpoint. Remove timeout override for "Run till
2867 MI pending breakpoint on pendfunc3 on thread 2" test.
2869 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2871 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2874 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2876 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2877 in breakpoint filename pattern.
2879 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2881 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2883 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2885 * gdb.linespec/explicit.exp: Check for readline support for
2886 tab-completion tests. Fix obvious typo.
2888 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2890 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2893 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2895 * gdb.btrace/non-stop.c: New.
2896 * gdb.btrace/non-stop.exp: New.
2898 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2899 Yao Qi <yao.qi@linaro.org>
2901 * gdb.trace/trace-condition.c: New file.
2902 * gdb.trace/trace-condition.exp: New file.
2904 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2906 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2907 for testing bytecode compilation.
2909 2015-09-16 Pedro Alves <palves@redhat.com>
2910 Sandra Loosemore <sandra@codesourcery.com>
2912 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2913 (SECONDS): Redefine.
2914 (main): Call pthread_kill and alarm early.
2915 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2917 (test): If the target can't hardware step and doesn't support
2918 displaced stepping, increase the timeout.
2920 2015-09-16 Pedro Alves <palves@redhat.com>
2922 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2923 (enable_debug): New procedures.
2924 (test): Use them. Bail out if waiting for threads fails.
2925 (top level): Bail out if a test fails.
2927 2015-09-16 Yao Qi <yao.qi@linaro.org>
2929 * gdb.asm/asm-source.exp: Set asm-arch for
2930 aarch64*-*-* target.
2931 * gdb.asm/aarch64.inc: New file.
2933 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2935 * gdb.ada/array_of_variable_length.exp: New testcase.
2936 * gdb.ada/array_of_variable_length/foo.adb: New file.
2937 * gdb.ada/array_of_variable_length/pck.adb: New file.
2938 * gdb.ada/array_of_variable_length/pck.ads: New file.
2940 2015-09-15 Doug Evans <dje@google.com>
2942 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2943 of function static local variable.
2945 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2947 * gdb.threads/tls-so_extern.exp: New test file.
2948 * gdb.threads/tls-so_extern.c: New test file.
2949 * gdb.threads/tls-so_extern_main.c: New test file.
2951 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 * gdb.opt/solib-intra-step-lib.c: New file.
2954 * gdb.opt/solib-intra-step-main.c: New file.
2955 * gdb.opt/solib-intra-step.exp: New file.
2957 2015-09-15 Pedro Alves <palves@redhat.com>
2959 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2960 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2962 2015-09-14 Pedro Alves <palves@redhat.com>
2964 * gdb.base/hook-stop-continue.c: Delete.
2965 * gdb.base/hook-stop-continue.exp: Delete.
2966 * gdb.base/hook-stop-frame.c: Delete.
2967 * gdb.base/hook-stop-frame.exp: Delete.
2968 * gdb.base/hook-stop.c: New file.
2969 * gdb.base/hook-stop.exp: New file.
2971 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2973 * gdb.ada/access_to_packed_array.exp: New testcase.
2974 * gdb.ada/access_to_packed_array/foo.adb: New file.
2975 * gdb.ada/access_to_packed_array/pack.adb: New file.
2976 * gdb.ada/access_to_packed_array/pack.ads: New file.
2978 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2980 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2983 2015-09-11 Don Breazeal <donb@codesourcery.com>
2985 * gdb.base/foll-exec.c: Add copyright header. Fix
2987 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2988 (do_exec_tests): Use clean_restart in place of zap_session,
2989 and for test initialization. Fix formatting issues. Use
2990 fail in place of perror.
2991 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2992 an expect statement to match an expression with output from
2993 the program under debug.
2994 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2995 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2996 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2997 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2998 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3000 2015-09-09 Doug Evans <dje@google.com>
3002 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3004 2015-09-09 Doug Evans <dje@google.com>
3006 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3008 2015-09-09 Doug Evans <dje@google.com>
3010 * gdb.base/savedregs.exp: Fix typo.
3012 2015-09-09 Pedro Alves <palves@redhat.com>
3014 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3016 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3018 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3019 command actually switches threads. Give up on remaining
3020 tests if target fails to stop at breakpoint.
3022 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3024 * gdb.ada/funcall_char.exp: New testcase.
3025 * gdb.ada/funcall_char/foo.adb: New file.
3027 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3029 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3030 expected outputs. Add two testcases for completing ambiguous
3032 * gdb.ada/complete/aux_pck.adb: New file.
3033 * gdb.ada/complete/aux_pck.ads: New file.
3034 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3035 Ambiguous_Func functions.
3036 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3037 * gdb.ada/complete/pck.adb: Likewise.
3039 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3041 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3042 failures to run the test program under GDB.
3044 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3046 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3049 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3051 * gdb.base/run-after-attach.exp: New test file.
3052 * gdb.base/run-after-attach.c: New test file.
3054 2015-08-26 Don Breazeal <donb@codesourcery.com>
3056 * gdb.base/foll-exec-2.c: New test program.
3057 * gdb.base/foll-exec-2.exp: New test.
3059 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3061 * gdb.base/nested-subp1.exp: New file.
3062 * gdb.base/nested-subp1.c: New file.
3063 * gdb.base/nested-subp2.exp: New file.
3064 * gdb.base/nested-subp2.c: New file.
3065 * gdb.base/nested-subp3.exp: New file.
3066 * gdb.base/nested-subp3.c: New file.
3068 2015-08-24 Pedro Alves <palves@redhat.com>
3070 * gdb.server/connect-without-multi-process.c: New file.
3071 * gdb.server/connect-without-multi-process.exp: New file.
3073 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3075 * gdb.opt/inline-markers.c: Make z int.
3077 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3079 * gdb.opt/inline-markers.c: Make z volatile.
3081 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3083 * gdb.opt/inline-bt.c: New volatile global z.
3084 * gdb.opt/inline-cmds.c: Likewise.
3085 * gdb.opt/inline-locals.c: Likewise.
3086 * gdb.opt/inline-markers.c: New extern global z.
3088 (inline_fn): Likewise.
3090 2015-08-24 Pedro Alves <palves@redhat.com>
3092 * config/m32r-stub.exp: Remove file.
3093 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3094 * gdb.base/call-rt-st.exp: Likewise.
3095 * gdb.base/call-strs.exp: Likewise.
3096 * gdb.base/default.exp: Remove references to h8300-*-hms and
3098 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3100 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3102 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3103 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3104 and "return" use KFAIL when GDB can not read/write the vector
3107 2015-08-21 Gary Benson <gbenson@redhat.com>
3109 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3111 2015-08-20 Pedro Alves <palves@redhat.com>
3113 * gdb.server/solib-list.exp: No longer expect an interior stop in
3116 2015-08-20 Pedro Alves <palves@redhat.com>
3118 * gdb.server/connect-stopped-target.c: New file.
3119 * gdb.server/connect-stopped-target.exp: New file.
3121 2015-08-20 Pedro Alves <palves@redhat.com>
3123 * gdb.dwarf2/comp-unit-lang.exp: New file.
3124 * gdb.dwarf2/comp-unit-lang.c: New file.
3126 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3128 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3129 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3131 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3133 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3134 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3136 2015-08-18 Doug Evans <dje@google.com>
3137 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3139 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3140 skip_python_tests. New arg prompt_regexp.
3141 (skip_python_tests): New function.
3142 * lib/mi-support.exp (mi_skip_python_tests): New function.
3143 * gdb.python/py-mi-objfile-gdb.py: New file.
3144 * gdb.python/py-mi-objfile.c: New file.
3145 * gdb.python/py-mi-objfile.exp: New file.
3147 2015-08-17 Keith Seitz <keiths@redhat.com>
3149 * gdb.linespec/explicit.exp: Move strace test from here ...
3150 * gdb.trace/strace.exp: ... to here.
3152 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3154 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3155 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3157 2015-08-14 Doug Evans <xdje42@gmail.com>
3159 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3160 inferior before selecting a new file.
3162 2015-08-14 Doug Evans <xdje42@gmail.com>
3164 * gdb.mi/mi-disassemble.exp: Update.
3165 * gdb.base/disasm-optim.S: New file.
3166 * gdb.base/disasm-optim.c: New file.
3167 * gdb.base/disasm-optim.h: New file.
3168 * gdb.base/disasm-optim.exp: New file.
3170 2015-08-14 Keith Seitz <keiths@redhat.com>
3172 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3175 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3177 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3179 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3181 * gdb.ada/fun_renaming.exp: New testcase.
3182 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3183 * gdb.ada/fun_renaming/pack.adb: New file.
3184 * gdb.ada/fun_renaming/pack.ads: New file.
3186 2015-08-12 Keith Seitz <keiths@redhat.com>
3188 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3189 gdb_get_line_number.
3191 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3193 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3194 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3195 gdb.base/dso2dso.exp: New files.
3197 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3198 Pedro Alves <palves@redhat.com>
3199 Keith Seitz <keiths@redhat.com>
3201 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3204 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3206 * gdb.base/gdbhistsize-history.exp
3207 (test_histsize_history_setting): Use save_vars.
3208 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3210 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3211 * gdb.base/readline.exp: Use save_vars.
3213 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3215 * lib/gdb.exp (save_vars): New proc.
3217 2015-08-11 Keith Seitz <keiths@redhat.com>
3219 * gdb.base/help.exp: Update help_breakpoint_text.
3221 2015-08-11 Keith Seitz <keiths@redhat.com>
3223 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3224 (at toplevel): Call test_explicit_breakpoints.
3225 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3227 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3228 breakpoint conditions, "-cond".
3230 2015-08-11 Keith Seitz <keiths@redhat.com>
3232 * gdb.linespec/3explicit.c: New file.
3233 * gdb.linespec/cpexplicit.cc: New file.
3234 * gdb.linespec/cpexplicit.exp: New file.
3235 * gdb.linespec/explicit.c: New file.
3236 * gdb.linespec/explicit.exp: New file.
3237 * gdb.linespec/explicit2.c: New file.
3238 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3239 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3240 before using in the matching pattern.
3241 Clarify that `prefix' is a regular expression.
3243 2015-08-11 Keith Seitz <keiths@redhat.com>
3245 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3247 Add tests for missing ",FMT" and ",".
3249 2015-08-10 Doug Evans <dje@google.com>
3250 Keith Seitz <keiths@redhat.com>
3253 * gdb.base/completion.exp: Add location completer tests.
3255 2015-08-07 Pedro Alves <palves@redhat.com>
3257 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3259 (top level): Run do_test with and without displaced stepping.
3261 2015-08-07 Pedro Alves <palves@redhat.com>
3263 * gdb.base/valgrind-disp-step.c: New file.
3264 * gdb.base/valgrind-disp-step.exp: New file.
3266 2015-08-07 Pedro Alves <palves@redhat.com>
3268 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3270 (main): Add alarm. Run an infinite loop instead of calling
3272 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3274 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3276 (main): Add alarm. Run an infinite loop instead of calling
3278 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3281 2015-08-07 Pedro Alves <palves@redhat.com>
3283 * gdb.base/checkpoint-ns.exp: New file.
3284 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3287 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3289 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3290 * gdb.btrace/instruction_history.exp: Update.
3291 * gdb.btrace/tsx.exp: New.
3292 * gdb.btrace/tsx.c: New.
3294 2015-08-06 Pedro Alves <palves@redhat.com>
3296 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3298 * gdb.reverse/until-precsave.exp: Bump timeouts.
3300 2015-08-06 Pedro Alves <palves@redhat.com>
3302 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3304 2015-08-06 Pedro Alves <palves@redhat.com>
3307 * gdb.threads/process-dies-while-handling-bp.c: New file.
3308 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3310 2015-08-06 Pedro Alves <palves@redhat.com>
3312 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3313 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3315 2015-08-05 Pedro Alves <palves@redhat.com>
3317 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3318 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3320 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3322 * gdb.base/bp-permanent.exp: Report test as unsupported if
3323 the target cannot stop at the permanent breakpoint.
3325 2015-08-03 Doug Evans <dje@google.com>
3327 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3330 2015-08-03 Doug Evans <dje@google.com>
3332 * Makefile.in (workers/%.worker, build-perf): New rule.
3333 (GDB_PERFTEST_MODE): New variable.
3334 (check-perf): Use it.
3335 (clean): Clean up gdb.perf parallel build subdirs.
3336 * lib/build-piece.exp: New file.
3337 * lib/gdb.exp (make_gdb_parallel_path): New function
3338 (standard_output_file, standard_temp_file): Call it.
3339 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3341 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3343 2015-08-03 Doug Evans <dje@google.com>
3345 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3346 (LOG_FILE_NAME): New global.
3347 (TextReporter.__init__): Initialize self.txt_sum.
3348 (TextReporter.report): Add support for multiple data-points.
3349 Move report to perftest.sum, put raw data in perftest.log.
3350 (TextReporter.start): Open sum and log files.
3351 (TextReporter.end): Close sum and log files.
3352 * gdb.perf/lib/perftest/testresult.py
3353 (SingleStatisticTestResult.record): Handle multiple data-points.
3355 2015-07-31 Pedro Alves <palves@redhat.com>
3357 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3358 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3359 kill_wait_spawned_process instead of explicit "kill -9".
3360 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3361 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3362 kill_wait_spawned_process.
3363 * gdb.base/attach-twice.exp: Likewise.
3364 * gdb.base/attach.exp: Likewise.
3365 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3367 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3368 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3369 kill_wait_spawned_process.
3370 * gdb.base/valgrind-infcall.exp: Likewise.
3371 * gdb.multi/multi-attach.exp: Likewise.
3372 * gdb.python/py-prompt.exp: Likewise.
3373 * gdb.python/py-sync-interp.exp: Likewise.
3374 * gdb.server/ext-attach.exp: Likewise.
3375 * gdb.threads/attach-into-signal.exp (corefunc): Use
3376 spawn_wait_for_attach, spawn_id_get_pid and
3377 kill_wait_spawned_process.
3378 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3379 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3380 spawn_id_get_pid and kill_wait_spawned_process.
3381 * gdb.threads/attach-stopped.exp (corefunc): Use
3382 spawn_wait_for_attach, spawn_id_get_pid and
3383 kill_wait_spawned_process.
3384 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3385 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3386 kill_wait_spawned_process instead of explicit "kill -9".
3387 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3388 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3389 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3390 processes. Don't map cygwin/windows pids here. Now returns a
3393 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3395 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3396 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3399 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3401 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3403 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3406 2014-05-21 Mark Wielaard <mjw@redhat.com>
3408 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3410 2015-07-30 Pedro Alves <palves@redhat.com>
3412 * linux-low.c (handle_extended_wait): Set the child's last
3413 reported status to TARGET_WAITKIND_STOPPED.
3415 2015-07-30 Pedro Alves <palves@redhat.com>
3418 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3419 only shows inferior 1.
3421 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3422 Pedro Alves <palves@redhat.com>
3425 * gdb.threads/fork-plus-threads.c: New file.
3426 * gdb.threads/fork-plus-threads.exp: New file.
3428 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3430 * gdb.base/batch-preserve-term-settings.exp
3431 (test_terminal_settings_preserved_after_cli_exit): Use
3434 2015-07-29 Pedro Alves <palves@redhat.com>
3435 Don Breazeal <donb@codesourcery.com>
3437 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3438 output from both inferior_spawn_id and gdb_spawn_id.
3440 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3442 * gdb.threads/attach-into-signal.exp (corefunc): Use
3443 with_test_prefix on nested loops, uniquefying the test messages.
3445 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3447 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3450 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3452 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3454 (test_terminal_settings_preserved_after_sigterm): New test.
3456 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3458 * gdb.base/batch-preserve-term-settings.exp
3459 (test_terminal_settings_preserved_after_cli_exit): New test.
3461 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3463 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3464 manipulation of saved_gdbflags.
3465 (test_terminal_settings_preserved): Remove global declaration of
3466 the unused variable pagination_prompt. Remove manipulation of
3467 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3470 2015-07-29 Pedro Alves <palves@redhat.com>
3472 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3474 2015-07-29 Pedro Alves <palves@redhat.com>
3476 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3479 2015-07-29 Pedro Alves <palves@redhat.com>
3481 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3482 (main): Call gdb_unbuffer_output.
3483 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3484 (main): Call gdb_unbuffer_output.
3485 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3486 (main): Call gdb_unbuffer_output.
3487 * gdb.base/call-strs.exp: Adjust to step over the
3488 gdb_unbuffer_output call.
3489 * gdb.base/catch-gdb-caused-signals.c: Include
3490 "../lib/unbuffer_output.c".
3491 (main): Call gdb_unbuffer_output.
3492 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3493 (main): Call gdb_unbuffer_output.
3494 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3495 (main): Call gdb_unbuffer_output.
3496 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3497 (main): Call gdb_unbuffer_output.
3498 * gdb.base/shlib-call.exp: Adjust to step over the
3499 gdb_unbuffer_output call.
3500 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3501 (main): Call gdb_unbuffer_output.
3502 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3503 (main): Call gdb_unbuffer_output.
3504 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3505 (main): Rename to ...
3507 (main): Reimplement.
3508 * gdb.base/varargs.exp: Run to test instead of to main.
3509 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3510 (main): Call gdb_unbuffer_output.
3512 2015-07-29 Pedro Alves <palves@redhat.com>
3514 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3515 factore out from mi_continue_dprintf. For call-style dprintfs,
3516 expect dprintf output out of $inferior_spawn_id.
3517 (mi_continue_dprintf): Use mi_expect_dprintf.
3518 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3519 (main): Call gdb_unbuffer_output.
3521 2015-07-29 Pedro Alves <palves@redhat.com>
3523 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3524 (default_mi_gdb_start): Set inferior_spawn_id instead of
3525 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3527 (mi_gdb_test): Always expect inferior output from both
3528 $inferior_spawn_id and $gdb_spawn_id.
3530 2015-07-29 Pedro Alves <palves@redhat.com>
3532 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3533 send_inferior and $inferior_spawn_id.
3535 2015-07-29 Pedro Alves <palves@redhat.com>
3537 * gdb.gdb/complaints.exp (test_initial_complaints)
3538 (test_serial_complaints, test_short_complaints): Use
3540 (test_empty_complaint): Handle $inferior_spawn_id !=
3543 2015-07-29 Pedro Alves <palves@redhat.com>
3545 * gdb.base/varargs.exp: Use gdb_test_stdio.
3547 2015-07-29 Pedro Alves <palves@redhat.com>
3549 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3551 2015-07-29 Pedro Alves <palves@redhat.com>
3553 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3555 2015-07-29 Pedro Alves <palves@redhat.com>
3557 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3558 parameter into two new parameters, "inf_result" and "gdb_result".
3559 Expect inferior output and gdb output from $inferior_spawn_id and
3560 $gdb_spawn_id, respectively. Adjust all callers.
3562 2015-07-29 Pedro Alves <palves@redhat.com>
3564 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3565 of gdb_test_sequence.
3567 2015-07-29 Pedro Alves <palves@redhat.com>
3569 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3570 (saw_spurious_output): Expect inferior output from
3571 $inferior_spawn_id. Use gdb_test_stdio.
3573 2015-07-29 Pedro Alves <palves@redhat.com>
3575 * gdb.base/dprintf.exp: Use standard_testfile. Change
3576 prepare_for_testing call.
3577 (srcfile): Don't set.
3578 (restart): New procedure.
3579 (test_dprintf): New procecure, use to continue over dprintfs.
3580 (test_call, test_agent): New procedures, tests moved here.
3581 Restart gdb and recreate dprintfs. Adjust expected output.
3583 2015-07-29 Pedro Alves <palves@redhat.com>
3585 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3587 2015-07-29 Pedro Alves <palves@redhat.com>
3589 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3591 2015-07-29 Pedro Alves <palves@redhat.com>
3593 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3596 2015-07-29 Pedro Alves <palves@redhat.com>
3598 * lib/gdb.exp (gdb_test_stdio): New procedure.
3600 2015-07-29 Pedro Alves <palves@redhat.com>
3602 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3604 2015-07-29 Pedro Alves <palves@redhat.com>
3606 * gdb.base/call-signal-resume.exp: Remove check for
3607 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3608 * gdb.base/unwindonsignal.exp: Likewise.
3609 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3610 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3612 2015-07-29 Pedro Alves <palves@redhat.com>
3614 * gdb.base/siginfo-addr.c (pass): New function.
3615 (handler): Call it iff si_addr is correct.
3616 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3617 Set a breakpoint at "pass" and continue to it.
3619 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3621 * gdb.python/py-objfile.exp: Make some tests have unique names.
3622 * gdb.python/py-pp-registration.exp: Likewise.
3624 2015-07-28 Pedro Alves <palves@redhat.com>
3626 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3628 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3630 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3632 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3634 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3636 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3638 * gdb.base/gdb-sigterm-2.exp: New test.
3640 2015-07-25 Doug Evans <xdje42@gmail.com>
3643 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3644 (workers/%.worker, build-perf): New rule.
3645 (GDB_PERFTEST_MODE): New variable.
3646 (check-perf): Use it.
3647 (clean): Clean up gdb.perf parallel build subdirs.
3648 * lib/build-piece.exp: New file.
3649 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3650 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3652 (standard_temp_file): Ditto.
3653 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3656 2015-07-24 Doug Evans <dje@google.com>
3658 * gdb.perf/lib/perftest/utils.py: New file.
3659 * gdb.perf/gm-hello.cc: New file.
3660 * gdb.perf/gm-pervasive-typedef.cc: New file.
3661 * gdb.perf/gm-pervasive-typedef.h: New file.
3662 * gdb.perf/gm-std.cc: New file.
3663 * gdb.perf/gm-std.h: New file.
3664 * gdb.perf/gm-use-cerr.cc: New file.
3665 * gdb.perf/gm-utils.h: New file.
3666 * gdb.perf/gmonster-null-lookup.py: New file.
3667 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3668 * gdb.perf/gmonster-print-cerr.py: New file.
3669 * gdb.perf/gmonster-ptype-string.py: New file.
3670 * gdb.perf/gmonster-runto-main.py: New file.
3671 * gdb.perf/gmonster-select-file.py: New file.
3672 * gdb.perf/gmonster1-null-lookup.exp: New file.
3673 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3674 * gdb.perf/gmonster1-print-cerr.exp: New file.
3675 * gdb.perf/gmonster1-ptype-string.exp: New file.
3676 * gdb.perf/gmonster1-runto-main.exp: New file.
3677 * gdb.perf/gmonster1-select-file.exp: New file.
3678 * gdb.perf/gmonster1.cc: New file.
3679 * gdb.perf/gmonster1.exp: New file.
3680 * gdb.perf/gmonster2-null-lookup.exp: New file.
3681 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3682 * gdb.perf/gmonster2-print-cerr.exp: New file.
3683 * gdb.perf/gmonster2-ptype-string.exp: New file.
3684 * gdb.perf/gmonster2-runto-main.exp: New file.
3685 * gdb.perf/gmonster2-select-file.exp: New file.
3686 * gdb.perf/gmonster2.cc: New file.
3687 * gdb.perf/gmonster2.exp: New file.
3689 2015-07-24 Doug Evans <dje@google.com>
3691 * gdb.perf/README: New file.
3692 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3693 * lib/gen-perf-test.exp: New file.
3695 2015-07-24 Doug Evans <dje@google.com>
3697 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3698 (PerfTest::startup): New function.
3699 (PerfTest::run): Return result of calling body.
3700 (PerfTest::assemble): Rewrite.
3701 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3702 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3703 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3704 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3705 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3707 2015-07-24 Doug Evans <dje@google.com>
3709 * lib/gdb.exp (clean_restart): Make executable optional.
3711 2015-07-24 Doug Evans <dje@google.com>
3713 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3714 compiler_info references.
3715 * gdb.cp/temargs.exp: Ditto.
3716 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3717 (get_compiler_info): Early exit if already computed. Set compiler_info
3718 to "unknown" if there was a problem.
3719 (test_compiler_info): Add function comment. Call get_compiler_info.
3721 2015-07-24 Doug Evans <dje@google.com>
3723 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3724 (workers/%.worker, build-perf): New rule.
3725 (GDB_PERFTEST_MODE): New variable.
3726 (check-perf): Use it.
3727 (clean): Clean up gdb.perf parallel build subdirs.
3728 * lib/build-piece.exp: New file.
3729 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3730 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3732 (standard_temp_file): Ditto.
3733 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3736 2015-07-24 Doug Evans <dje@google.com>
3738 * lib/future.exp (gdb_default_target_compile): New option
3740 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3743 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3745 * gdb.base/catch-syscall.exp: Call gdb_exit before
3748 2015-07-24 Pedro Alves <palves@redhat.com>
3750 * gdb.python/py-events.exp: Accept output between the stop event
3752 * gdb.python/py-evsignal.exp: Likewise.
3753 * gdb.python/py-evthreads.exp: Likewise.
3755 2015-07-24 Pedro Alves <palves@redhat.com>
3758 * gdb.threads/non-ldr-exit.c: New file.
3759 * gdb.threads/non-ldr-exit.exp: New file.
3761 2015-07-24 Yao Qi <yao.qi@linaro.org>
3763 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3766 2015-07-24 Yao Qi <yao.qi@linaro.org>
3768 * gdb.server/ext-restart.exp: New file.
3770 2015-07-24 Yao Qi <yao.qi@linaro.org>
3772 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3774 * gdb.server/ext-wrapper.exp: New file.
3776 2015-07-23 Doug Evans <dje@google.com>
3778 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3779 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3781 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3783 * gdb.ada/var_arr_typedef.exp: New testcase.
3784 * gdb.ada/var_arr_typedef/pack.adb: New file.
3785 * gdb.ada/var_arr_typedef/pack.ads: New file.
3786 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3788 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3790 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3792 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3794 * gdb.arch/i386-biarch-core.exp: Replace istarget
3795 by "complete set gnutarget". Remove expectation for the "core-file"
3798 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3800 Revert the previous commit:
3801 Tests for validate symbol file using build-id.
3803 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3805 Tests for validate symbol file using build-id.
3806 * gdb.base/solib-mismatch-lib.c: New file.
3807 * gdb.base/solib-mismatch-libmod.c: New file.
3808 * gdb.base/solib-mismatch.c: New file.
3809 * gdb.base/solib-mismatch.exp: New file.
3811 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3813 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3815 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3816 * gdb.base/siginfo.exp: Likewise.
3817 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3819 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3821 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3823 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3825 * gdb.trace/range-stepping.exp: Check that the target supports
3828 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3830 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3832 2015-07-14 Pedro Alves <palves@redhat.com>
3834 * gdb.base/killed-outside.exp: New file.
3835 * gdb.base/killed-outside.c: New file.
3837 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3839 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3841 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3843 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3845 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3846 infcall tests instead of setting up for KFAIL.
3848 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3850 * gdb.btrace/record_goto-step.exp: New.
3852 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3855 * gdb.compile/compile.c (struct struct_type): Add volatile to
3857 * gdb.compile/compile.exp
3858 (compile code struct_object.selffield = &struct_object): Skip further
3859 struct_object tests if this one xfails.
3861 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3864 * gdb.trace/ax.exp: Add test.
3866 2015-07-07 Yao Qi <yao.qi@linaro.org>
3868 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3869 instead of istarget "aarch64*-*-*".
3870 * gdb.arch/aarch64-fp.exp: Likewise.
3871 * gdb.base/float.exp: Likewise.
3872 * gdb.reverse/aarch64.exp: Likewise.
3873 * lib/gdb.exp (is_aarch64_target): New proc.
3875 2015-07-07 Yao Qi <yao.qi@linaro.org>
3877 * lib/gdb.exp (is_aarch32_target): New proc.
3878 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3879 instead of "istarget "arm*-*-*"".
3880 * gdb.arch/arm-disp-step.exp: Likewise.
3881 * gdb.arch/thumb-bx-pc.exp: Likewise.
3882 * gdb.arch/thumb-prologue.exp: Likewise.
3883 * gdb.arch/thumb-singlestep.exp: Likewise.
3884 * gdb.base/disp-step-syscall.exp: Likewise.
3885 * gdb.base/float.exp: Likewise.
3887 2015-07-07 Yao Qi <yao.qi@linaro.org>
3889 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3890 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3892 2015-07-07 Yao Qi <yao.qi@linaro.org>
3894 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3895 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3897 * gdb.multi/multi-arch.exp: Likewise.
3899 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3901 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3904 2015-07-07 Yao Qi <yao.qi@linaro.org>
3906 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3908 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3910 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3911 '[' and ']' characters.
3913 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3915 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3917 2015-06-29 Pedro Alves <palves@redhat.com>
3920 * gdb.threads/hand-call-new-thread.c: New file.
3921 * gdb.threads/hand-call-new-thread.c: New file.
3923 2015-06-26 Keith Seitz <keiths@redhat.com>
3924 Doug Evans <dje@google.com>
3927 * gdb.cp/var-tag-2.cc: New file.
3928 * gdb.cp/var-tag-3.cc: New file.
3929 * gdb.cp/var-tag-4.cc: New file.
3930 * gdb.cp/var-tag.cc: New file.
3931 * gdb.cp/var-tag.exp: New file.
3933 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3935 * gdb.base/history-duplicates.exp: New test.
3937 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3939 * gdb.base/completion.exp: Test the completion of the "focus"
3942 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3944 * gdb.arch/amd64-prologue-skip.S: New file.
3945 * gdb.arch/amd64-prologue-skip.exp: New file.
3947 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3949 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3950 is_address_zero_readable check.
3952 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3954 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3955 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3957 2015-06-24 Yao Qi <yao.qi@linaro.org>
3959 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3962 2015-06-24 Yao Qi <yao.qi@linaro.org>
3964 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3965 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3966 * gdb.base/siginfo-thread.exp: Likewise.
3968 2015-06-22 Yao Qi <yao.qi@linaro.org>
3970 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3972 2015-06-22 Yao Qi <yao.qi@linaro.org>
3974 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3976 (skip_hw_watchpoint_tests): Likewise.
3978 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3980 * gdb.base/gdbinit-history.exp: Test the interaction between
3981 setting GDBHISTSIZE and setting the history size via .gdbinit.
3983 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3986 * gdb.base/gdbhistsize-history.exp: New test.
3988 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3990 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3992 * gdb.base/readline.exp: Likewise.
3994 2015-06-17 Yao Qi <yao.qi@linaro.org>
3996 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3999 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4001 * gdb.base/gdbinit-history.exp: Add test case to check that
4002 an unlimited history file does not get truncated on exit.
4004 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4006 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4007 (VECTOR): New macro. Use it...
4008 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4009 ...for these typedefs.
4010 (int8, char1, int1, double1): New typedefs.
4011 (struct just_int2, struct two_int2): New structures.
4012 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4013 (add_structvecs, add_singlevecs): New functions.
4014 (main): Call add_some_intvecs twice.
4015 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4016 the compile and exit upon failure. Try compiling for the "native"
4017 architecture. Test inferior function calls with vector arguments
4018 and vector return value handling with "finish" and "return".
4020 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4022 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4023 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4025 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4027 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4029 PR breakpoints/16465
4030 * gdb.mi/mi-dprintf-pending.c: New file.
4031 * gdb.mi/mi-dprintf-pending.exp: New test.
4032 * gdb.mi/mi-dprintf-pendshr.c: New file.
4034 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4035 Mircea Gherzan <mircea.gherzan@intel.com>
4037 * gdb.arch/i386-mpx-map.c: New file.
4038 * gdb.arch/i386-mpx-map.exp: New File.
4040 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4042 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4043 * gdb.arch/i386-mpx.exp: Indentation fixed.
4045 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4047 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4048 function and improved indentation.
4049 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4050 gdb_test_multiple. Added additional tests to skip the test.
4052 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4054 * gdb.arch/i386-avx512.c: Change path in include file.
4055 * gdb.arch/i386-avx512.exp: Change include dir path
4057 * gdb.arch/i386-mpx.c: Change path in include file.
4058 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4061 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4063 * gdb.compile/compile-print.exp (compile print *vararray@3)
4064 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4066 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4068 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4069 (do not keep jit in memory): ... this.
4070 (expect 5): Change it to ...
4071 (expect no 5): ... this.
4073 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4076 * gdb.mi/mi-detach.exp: New file.
4078 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4081 * gdb.arch/amd64-tailcall-self.S: New file.
4082 * gdb.arch/amd64-tailcall-self.c: New file.
4083 * gdb.arch/amd64-tailcall-self.exp: New file.
4085 2015-05-28 Don Breazeal <donb@codesourcery.com>
4087 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4088 tests for remote targets by checking is_target_gdbserver.
4090 2015-05-27 Doug Evans <dje@google.com>
4092 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4093 * gdb.dwarf2/opaque-type-lookup.c: New file.
4094 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4096 2015-05-26 Doug Evans <dje@google.com>
4098 * gdb.cp/iostream.cc: New file.
4099 * gdb.cp/iostream.exp: New file.
4101 2015-05-26 Doug Evans <dje@google.com>
4103 * gdb.dwarf2/dw2-op-call.exp: Update.
4104 * gdb.dwarf2/dw4-sig-types.exp: Update.
4105 * gdb.dwarf2/implptr.exp: Update.
4106 * gdb.mi/mi-cmd-param-changed.exp: Update.
4108 2015-05-26 Doug Evans <dje@google.com>
4110 * gdb.python/py-lazy-string.c: New file.
4111 * gdb.python/py-lazy-string.exp: New file.
4112 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4113 (main): Update. Add estring3.
4114 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4115 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4117 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4118 Yao Qi <yao.qi@linaro.org>
4120 * gdb.reverse/aarch64.c: New.
4121 * gdb.reverse/aarch64.exp: New.
4123 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4125 * lib/gdb.exp (supports_process_record): Return true for
4127 (supports_reverse): Likewise.
4129 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4131 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4132 Use with_test_prefix.
4134 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4136 * gdb.base/completion.exp: Add test for completion of layout
4139 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4141 * lib/gdb.exp (skip_tui_tests): New proc.
4142 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4144 2015-05-19 Pedro Alves <palves@redhat.com>
4146 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4147 Save the whole env array instead of just HOME. Unset HISTSIZE in
4148 the environment while testing. Restore whole environment
4151 2015-05-16 Doug Evans <xdje42@gmail.com>
4153 * gdb.guile/scm-ports.c: New file.
4154 * gdb.guile/scm-ports.exp: Add memory port tests.
4156 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4158 * gdb.compile/compile-print.c: New file.
4159 * gdb.compile/compile-print.exp: New file.
4161 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4163 * gdb.compile/compile-ops.exp: Cast param to void.
4164 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4165 (compile code struct_object.selffield = &struct_object): Add xfail.
4167 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4169 * gdb.ada/arr_enum_with_gap: New testcase.
4171 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4173 * gdb.ada/byte_packed_arr: New testcase.
4175 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4177 * gdb.ada/pckd_neg: New testcase.
4179 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4182 * gdb.base/gdbinit-history.exp: New test.
4183 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4184 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4186 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4188 * gdb.python/py-xmethods.cc: Enhance test case.
4189 * gdb.python/py-xmethods.exp: New tests.
4190 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4192 (B_indexoper): Likewise.
4193 (global_dm_list) : Add new xmethod worker functions.
4195 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4197 * gdb.base/coredump-filter.exp: Correctly unset
4198 "coredump_var_addr" array.
4200 2015-05-08 Pedro Alves <palves@redhat.com>
4202 * gdb.server/non-existing-program.exp: Unset spawn_id.
4204 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4207 * gdb.python/py-xmethods.exp: Add tests.
4209 2015-05-08 Yao Qi <yao.qi@linaro.org>
4212 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4213 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4214 function set_coredump_filter, and remove remote_exec call.
4215 Remove argument ipid. Callers update.
4216 (top level): Don't get inferior's PID.
4218 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4220 * gdb.base/watch_thread_num.exp: Skip test on targets without
4223 2015-05-06 Pedro Alves <palves@redhat.com>
4226 * gdb.server/non-existing-program.exp: New file.
4228 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4230 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4232 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4234 * gdb.ada/out_of_line_in_inlined: New testcase.
4236 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4238 * gdb.ada/var_rec_arr: New testcase.
4240 2015-04-30 Yao Qi <yao.qi@linaro.org>
4242 * gdb.base/break-idempotent.exp: If
4243 skip_hw_watchpoint_multi_tests returns true, skip the tests
4244 on "rwatch" and "awatch".
4246 2015-04-30 Yao Qi <yao.qi@linaro.org>
4248 * gdb.base/relativedebug.exp: Invoke gdb command
4249 "info sharedlibrary", and if libc.so doesn't have debug info,
4252 2015-04-29 Doug Evans <dje@google.com>
4254 * gdb.python/py-xmethods.exp: Add ptype tests.
4255 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4256 get_result_type method.
4258 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4260 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4261 the target does not support hardware watchpoints.
4263 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4265 * gdb.base/break-always.exp: Abort testing if writing to memory
4268 2015-04-28 Doug Evans <dje@google.com>
4270 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4271 * gdb.python/py-pp-registration.exp: ... here. New file.
4272 * gdb.python/py-pp-registration.c: New file.
4273 * gdb.python/py-pp-registration.py: New file.
4275 2015-04-28 Doug Evans <dje@google.com>
4277 * gdb.python/py-bad-printers.c: New file.
4278 * gdb.python/py-bad-printers.py: New file.
4279 * gdb.python/py-bad-printers.exp: New file.
4281 2015-04-28 Sasha Smundak <asmundak@google.com>
4283 * gdb.python/py-type.exp: New test.
4285 2015-04-28 Andy Wingo <wingo@igalia.com>
4287 * gdb.python/py-parameter.exp:
4288 * gdb.guile/scm-parameter.exp: Escape the path that we are
4289 matching against, as it might contain characters that are special
4290 to regular expressions.
4292 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4294 * gdb.ada/rec_comp: New testcase.
4296 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4298 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4301 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4303 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4304 new tests for verilog output.
4306 2015-04-24 Yao Qi <yao.qi@linaro.org>
4308 * boards/remote-gdbserver-on-localhost.exp: New file.
4310 2015-04-23 Pedro Alves <palves@redhat.com>
4312 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4313 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4314 "end of file", remove $inferior_spawn_id from the indirect list.
4316 2015-04-23 Pedro Alves <palves@redhat.com>
4318 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4320 2015-04-23 Pedro Alves <palves@redhat.com>
4322 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4323 on $any_spawn_id instead of only on $gdb_spawn_id.
4325 2015-04-21 Pierre Muller <muller@sourceware.org>
4328 * lib/pascal.exp (gpc_compile): Add new option "class".
4329 (fpc_compile): Likewise.
4330 * gdb.pascal/case-insensitive-symbols.pas: New file.
4331 * gdb.pascal/case-insensitive-symbols.exp: New file.
4333 2015-04-20 Gary Benson <gbenson@redhat.com>
4335 * gdb.base/attach.exp: Fix three extended remote failures.
4337 2015-04-17 Gary Benson <gbenson@redhat.com>
4339 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4340 the main executable over the remote protocol.
4342 2015-04-16 Pedro Alves <palves@redhat.com>
4344 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4345 a new gdbserver if gdbserver_reconnect_p is set.
4347 2015-04-16 Pedro Alves <palves@redhat.com>
4349 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4350 is set, don't exit gdbserver.
4352 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4355 appropriate .insn, such that an older assembler can be used.
4356 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4357 the z/Architecture instruction set on 31-bit targets as well.
4359 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4361 * gdb.go/handcall.exp: Remove all logic related to the first
4362 breakpoint and rely on go_runto_main instead.
4363 * gdb.go/strings.exp: Likewise.
4364 * gdb.go/unsafe.exp: Likewise.
4365 * gdb.go/hello.exp: Likewise. Also rename the remaining
4366 breakpoint marker to "breakpoint 1".
4367 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4368 * gdb.go/strings.go: Likewise.
4369 * gdb.go/unsafe.go: Likewise.
4370 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4371 "set breakpoint 2 here" and rename the remaining breakpoint marker
4374 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4376 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4377 if itertools.imap is not present.
4378 * gdb.python/py-objfile.exp: Add parentheses.
4379 * gdb.python/py-type.exp: Same.
4380 * gdb.python/py-unwind-maint.py: Same.
4382 2015-04-15 Yao Qi <yao.qi@linaro.org>
4384 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4385 of ":$ptr_size" and set its form explicitly.
4387 2015-04-15 Pedro Alves <palves@redhat.com>
4388 Yao Qi <yao.qi@linaro.org>
4390 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4391 timeout by factor of 4.
4392 (test_regular_watch): Likewise.
4393 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4394 * gdb.reverse/sigall-reverse.exp: Likewise.
4395 * gdb.reverse/until-precsave.exp: Likewise.
4396 * lib/gdb.exp (with_timeout_factor): New proc.
4397 (gdb_expect): Move some code to ...
4398 (get_largest_timeout): ... here. New procedure.
4400 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4402 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4404 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4406 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4407 to write to the .text section.
4409 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4411 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4412 Handle the case of targets that do not provide PID information.
4414 2015-04-13 Yao Qi <yao.qi@linaro.org>
4416 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4417 and use expect instead of gdb_expect.
4419 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4421 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4422 "coredump_var_addr" to avoid naming conflict with other testcases.
4424 2015-04-10 Pedro Alves <palves@redhat.com>
4426 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4427 gdb_test_sequence and gdb_assert.
4429 2015-04-10 Pedro Alves <palves@redhat.com>
4431 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4432 test messages that don't include the breakpoint address.
4434 2015-04-10 Yao Qi <yao.qi@linaro.org>
4436 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4437 false for some offset and width combinations which aren't
4438 supported by linux kernel.
4440 2015-04-10 Pedro Alves <palves@redhat.com>
4442 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4443 procedure, factored out from ...
4444 (top level): ... here. Add "set displaced-stepping" testing axis.
4445 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4446 parameter "displaced". Use it.
4447 (top level): Use foreach and add "set displaced-stepping" testing
4450 2015-04-10 Pedro Alves <palves@redhat.com>
4452 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4454 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4455 both the address of the instruction that triggers the watchpoint
4456 and the address of the instruction immediately after, and use
4457 those addresses for the test. Fix comment.
4459 2015-04-10 Pedro Alves <palves@redhat.com>
4461 * gdb.base/sigstep.exp (breakpoint_to_handler)
4462 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4463 Test "backtrace" in handler.
4464 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4465 (top level): Add new "displaced" test axis to
4466 breakpoint_to_handler, breakpoint_to_handler_entry and
4467 breakpoint_over_handler.
4469 2015-04-10 Pedro Alves <palves@redhat.com>
4472 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4474 2015-04-10 Yao Qi <yao.qi@linaro.org>
4476 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4477 (test_add_rn_pc): New function.
4478 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4479 (top level): Invoke test_add_rn_pc.
4481 2015-04-10 Pedro Alves <palves@redhat.com>
4484 * gdb.base/step-over-no-symbols.exp: New file.
4486 2015-04-09 Andy Wingo <wingo@igalia.com>
4488 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4489 after the Python tests.
4491 2015-04-08 Keith Seitz <keiths@redhat.com>
4494 * gdb.python/py-completion.exp: New tests for completion.
4495 * gdb.python/py-completion.py (CompleteLimit1): New class.
4496 (CompleteLimit2): Likewise.
4497 (CompleteLimit3): Likewise.
4498 (CompleteLimit4): Likewise.
4499 (CompleteLimit5): Likewise.
4500 (CompleteLimit6): Likewise.
4501 (CompleteLimit7): Likewise.
4503 2015-04-08 Pedro Alves <palves@redhat.com>
4507 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4509 (main): Install it as SIGUSR1 handler.
4510 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4511 parameter. Always use "setup" as prefix. Toggle "set
4512 displaced-stepping" off/on depending on global. Don't switch to
4514 (top level): Add displaced stepping "off/on" test axis. Update
4515 "setup" calls. Wrap each subtest with with_test_prefix. Test
4516 continuing with a queued signal in each thread.
4518 2015-04-08 Pedro Alves <palves@redhat.com>
4520 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4521 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4522 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4523 Return early if running to main fails.
4524 * gdb.trace/while-stepping.exp: Likewise.
4526 2015-04-07 Pedro Alves <palves@redhat.com>
4528 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4529 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4530 interact with inferior program.
4532 2015-04-07 Pedro Alves <palves@redhat.com>
4534 * lib/gdb.exp (inferior_spawn_id): New global.
4535 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4536 spawn id after processing the user code.
4537 (default_gdb_start): Set inferior_spawn_id.
4538 (send_inferior): New procedure.
4539 * lib/gdbserver-support.exp (gdbserver_start): Set
4541 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4543 2015-04-07 Pedro Alves <palves@redhat.com>
4545 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4546 * lib/gdbserver-support.exp (gdbserver_start): Make
4547 $server_spawn_id global.
4548 (gdbserver_start): Don't wait for gdbserver's spawn id with
4550 (close_gdbserver): New procedure.
4551 (gdb_exit): Rename the default version and reimplement.
4553 2015-04-07 Pedro Alves <palves@redhat.com>
4555 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4556 append the substituted item, not the original item.
4558 2015-04-07 Pedro Alves <palves@redhat.com>
4560 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4563 2015-04-07 Pedro Alves <palves@redhat.com>
4565 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4566 output appearing once only.
4568 2015-04-07 Pedro Alves <palves@redhat.com>
4570 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4571 that doesn't expect anything. Return early if running to main
4574 2015-04-07 Yao Qi <yao.qi@linaro.org>
4576 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4577 (child_function): Call alarm.
4578 (main): Move call to alarm into the loop.
4579 * gdb.threads/non-stop-fair-events.exp: Build program with
4582 2015-04-06 Doug Evans <xdje42@gmail.com>
4584 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4585 Fix dest parameter to board_info.
4586 (fpc_compile): Ditto.
4587 (gdb_compile_pascal): Rename dest arg to destfile.
4589 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4591 * gdb.ada/funcall_ref.exp: New file.
4592 * gdb.ada/funcall_ref/foo.adb: New file.
4594 2015-04-02 Yao Qi <yao.qi@linaro.org>
4596 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4599 2015-04-02 Gary Benson <gbenson@redhat.com>
4601 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4603 2015-04-01 Sasha Smundak <asmundak@google.com>
4605 * gdb.python/py-unwind-maint.c: New file.
4606 * gdb.python/py-unwind-maint.exp: New test.
4607 * gdb.python/py-unwind-maint.py: New file.
4608 * gdb.python/py-unwind.c: New file.
4609 * gdb.python/py-unwind.exp: New test.
4610 * gdb.python/py-unwind.py: New test.
4612 2015-04-01 Pedro Alves <palves@redhat.com>
4614 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4615 to fail instead of non-existent $test.
4617 2015-04-01 Pedro Alves <palves@redhat.com>
4619 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4620 GDBFLAGS if not empty.
4622 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4624 * gdb.ada/complete.exp: Remove "multi_line".
4625 * gdb.ada/info_exc.exp: Remove "multi_line".
4626 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4627 * gdb.ada/ptype_field.exp: Remove "multi_line".
4628 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4629 * gdb.ada/tagged.exp: Remove "multi_line".
4630 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4632 * gdb.btrace/delta.exp: Likewise.
4633 * gdb.btrace/exception.exp: Likewise.
4634 * gdb.btrace/function_call_history.exp: Likewise.
4635 * gdb.btrace/instruction_history.exp: Likewise.
4636 * gdb.btrace/nohist.exp: Likewise.
4637 * gdb.btrace/record_goto.exp: Likewise.
4638 * gdb.btrace/segv.exp: Likewise.
4639 * gdb.btrace/stepi.exp: Likewise.
4640 * gdb.btrace/tailcall.exp: Likewise.
4641 * gdb.btrace/unknown_functions.exp: Likewise.
4642 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4643 * lib/gdb.exp: Add the "multi_line" helper.
4645 2015-04-01 Pedro Alves <palves@redhat.com>
4647 * gdb.threads/tid-reuse.c: New file.
4648 * gdb.threads/tid-reuse.exp: New file.
4650 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4653 * gdb.base/coredump-filter.c: New file.
4654 * gdb.base/coredump-filter.exp: Likewise.
4656 2015-03-27 Petr Machata <pmachata@redhat.com>
4658 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4659 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4660 (Dwarf::assemble): Initialize them.
4661 (Dwarf::lines): New function.
4663 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4665 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4666 SYMBOL_PREFIX for x86_64-*-cygwin.
4668 2015-03-26 Andy Wingo <wingo@igalia.com>
4671 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4672 const_value but not a location.
4673 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4674 location defined in non-main CUs are visible.
4676 2015-03-26 Yao Qi <yao.qi@linaro.org>
4679 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4680 Add a line number entry for the same line.
4681 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4682 Add a line number entry for the same line.
4684 2015-03-26 Yao Qi <yao.qi@linaro.org>
4686 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4688 (func): Likewise. Add .Lfunc_1 label.
4690 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4695 2015-03-26 Yao Qi <yao.qi@linaro.org>
4697 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4698 Call gdb_compile instead to compile each .s files without debug
4701 2015-03-26 Yao Qi <yao.qi@linaro.org>
4703 * gdb.base/savedregs.exp (process_saved_regs): Make
4704 "Saved registers:" optional in the pattern.
4706 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4708 * gdb.btrace/next.exp: Merged into step.exp.
4709 * gdb.btrace/finish.exp: Merged into step.exp.
4710 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4711 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4712 "record goto" and checking the exact replay position.
4713 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4714 check for "Recording format" in "info record" output.
4715 * gdb.btrace/record_goto.exp: Choose test file based on target.
4716 * gdb.btrace/x86-record_goto.S: Renamed into ...
4717 * gdb.btrace/x86_64-record_goto.S: ... this.
4718 * gdb.btrace/i686-record_goto.S: New.
4719 * gdb.btrace/x86-tailcall.S: Renamed into ...
4720 * gdb.btrace/x86_64-tailcall.S: ... this.
4721 * gdb.btrace/i686-tailcall.S: New.
4722 * gdb.btrace/x86-tailcall.c: Renamed into ...
4723 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4724 separate statements. Update test.
4725 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4726 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4727 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4728 * gdb.btrace/tailcall.exp: Choose test file based on target.
4729 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4731 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4733 * gdb.btrace/exception.exp: Increase BTS buffer size.
4735 2015-03-24 Pedro Alves <palves@redhat.com>
4737 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4739 2015-03-24 Pedro Alves <palves@redhat.com>
4741 * gdb.threads/schedlock.exp (test_step): No longer expect that
4742 "set scheduler-locking step" with "next" over a function call runs
4745 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4747 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4749 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4751 PR breakpoints/16466
4752 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4753 * gdb.mi/mi-pending.c (thread_func): New function.
4754 (int main): Add threading support required.
4755 * gdb.mi/mi-pending.exp: Add tests for this issue.
4756 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4757 (pendfunc2): Remove stdio dependency.
4758 * gdb.mi/mi-pendshr2.c: New file.
4760 2015-03-23 Keith Seitz <keiths@redhat.com>
4762 * gdb.linespec/keywords.c: New file.
4763 * gdb.linespec/keywords.exp: New file.
4765 2015-03-23 Keith Seitz <keiths@redhat.com>
4768 * gdb.dwarf2/staticvirtual.exp: New test.
4770 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4772 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4773 * README: Remove HP-UX and gdb.hp.
4775 * configure: Regenerate.
4776 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4777 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4778 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4779 gdb.hp/gdb.defects/Makefile.
4780 * gdb.hp/Makefile.in: File deleted.
4781 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4782 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4783 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4784 * gdb.hp/gdb.aCC/run.c: File deleted.
4785 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4786 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4787 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4788 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4789 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4790 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4791 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4792 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4793 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4794 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4795 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4796 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4797 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4798 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4799 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4800 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4801 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4802 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4803 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4804 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4805 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4806 * gdb.hp/gdb.compat/average.c: File deleted.
4807 * gdb.hp/gdb.compat/sum.c: File deleted.
4808 * gdb.hp/gdb.compat/xdb.c: File deleted.
4809 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4810 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4811 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4812 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4813 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4814 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4815 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4816 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4817 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4818 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4819 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4820 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4821 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4822 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4823 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4824 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4825 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4826 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4827 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4828 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4829 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4830 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4831 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4832 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4836 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4837 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4838 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4839 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4840 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4841 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4842 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4843 * gdb.hp/tools/odump: File deleted.
4845 2015-03-19 Pedro Alves <palves@redhat.com>
4847 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4848 (saw_thread_3): New globals.
4849 (top level): Increment them when an event for the corresponding
4851 (no thread starvation): New test.
4853 2015-03-19 Pedro Alves <palves@redhat.com>
4855 * gdb.threads/continue-pending-status.c: New file.
4856 * gdb.threads/continue-pending-status.exp: New file.
4858 2015-03-18 Pedro Alves <palves@redhat.com>
4860 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4861 Use gdb_is_target_remote instead of is_remote. Use
4862 gdb_test_multiple instead of gdb_expect. Exit early if
4863 gdb_test_multiple hits its internal matches. Tighten stepi tests
4864 expected output. Fail on exit with any signal, instead of just
4867 2015-03-18 Yao Qi <yao.qi@linaro.org>
4870 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4872 * gdb.base/catch-syscall.exp: Don't skip it on
4873 aarch64*-*-linux* target. Remove elements in all_syscalls.
4874 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4876 (setup_all_syscalls): New proc.
4878 2015-03-16 Yao Qi <yao.qi@linaro.org>
4880 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4881 (top level): Skip tests if valid_addr_p returns false for
4884 2015-03-11 Andy Wingo <wingo@igalia.com>
4886 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4888 2015-03-11 Yao Qi <yao.qi@linaro.org>
4890 * gdb.base/catch-syscall.exp: Fix typo in comments.
4892 2015-03-11 Yao Qi <yao.qi@linaro.org>
4894 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4896 2015-03-09 Pedro Alves <palves@redhat.com>
4898 * dg-extract-results.py: Delete.
4900 2015-03-09 Pedro Alves <palves@redhat.com>
4902 Merge dg-extract-results.sh from GCC upstream (r218843).
4904 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4905 * dg-extract-results.sh: Use --text with grep to avoid issues with
4906 binary files. Fall back to cat -v, if that doesn't work.
4908 2015-03-05 Pedro Alves <palves@redhat.com>
4910 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4912 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4914 * lib/mi-support.exp (mi_expect_interrupt): Accept
4915 alternative event for when in all-stop mode.
4917 2015-03-04 Pedro Alves <palves@redhat.com>
4919 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4921 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4923 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4925 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4927 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4928 regexps for GDB's current line display, accept a hex address
4929 preceding the line number.
4931 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4934 the 'arch1' variable for "s390*-linux*" targets.
4936 2015-03-04 Pedro Alves <palves@redhat.com>
4938 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4939 (main): Pass missing retval argument to pthread_join call.
4941 2015-03-02 Pedro Alves <palves@redhat.com>
4943 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4944 (top level): Call do_test with non-stop as well.
4946 2015-03-02 Pedro Alves <palves@redhat.com>
4948 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4951 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4953 * gdb.arch/s390-vregs.exp: New test.
4954 * gdb.arch/s390-vregs.S: New file.
4956 2015-02-27 Pedro Alves <palves@redhat.com>
4958 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4959 call to catch_command_errors.
4960 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4961 catch_command_errors.
4963 2015-02-27 Pedro Alves <palves@redhat.com>
4965 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4966 "true" for boolean result.
4967 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4970 2015-02-27 Pedro Alves <palves@redhat.com>
4972 * lib/unbuffer_output.c: New file.
4973 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4974 (main): Call gdb_unbuffer_output.
4976 2015-02-27 Yao Qi <yao.qi@linaro.org>
4978 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4981 2015-02-26 Doug Evans <dje@google.com>
4983 * gdb.cp/class2.cc (Dbase, D): New classes.
4984 (main): New local delta.
4985 * gdb.cp/class2.exp: Test printing delta.
4986 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4987 (dynbar): New global.
4988 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4990 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4992 * gdb.compile/compile-ifunc.c: New file.
4993 * gdb.compile/compile-ifunc.exp: New file.
4995 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4997 * gdb.base/structs.exp: Check for correct struct on finish.
4999 2015-02-26 Yao Qi <yao.qi@linaro.org>
5001 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5004 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5006 * gdb.arch/cordic.ko.bz2: New file.
5007 * gdb.arch/cordic.ko.debug.bz2: New file.
5008 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5010 2015-02-25 Yao Qi <yao.qi@linaro.org>
5012 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5013 aarch64*-*-* target.
5015 2015-02-23 Pedro Alves <palves@redhat.com>
5017 * lib/gdb.exp (delete_breakpoints): Rewrite using
5020 2015-02-23 Pedro Alves <palves@redhat.com>
5022 * gdb.base/info-os.c: Include stdlib.h.
5024 2015-02-22 Doug Evans <xdje42@gmail.com>
5027 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5028 is read after symbols have been re-read.
5029 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5030 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5032 2015-02-21 Doug Evans <dje@google.com>
5034 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5036 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5039 * gdb.arch/i386-biarch-core.core.bz2: New file.
5040 * gdb.arch/i386-biarch-core.exp: New file.
5042 2015-02-21 Pedro Alves <palves@redhat.com>
5044 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5047 2015-02-20 Pedro Alves <palves@redhat.com>
5049 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5052 2015-02-20 Pedro Alves <palves@redhat.com>
5054 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5056 2015-02-20 Pedro Alves <palves@redhat.com>
5058 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5059 clean_restart before gdb_target_supports_trace.
5061 2015-02-20 Pedro Alves <palves@redhat.com>
5064 * gdb.threads/clone-thread_db.c: New file.
5065 * gdb.threads/clone-thread_db.exp: New file.
5067 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5069 PR breakpoints/16812
5070 * gdb.base/catch-gdb-caused-signals.c: New file.
5071 * gdb.base/catch-gdb-caused-signals.exp: New file.
5073 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5075 * configure: Regenerated.
5076 * configure.ac: Use GDB_AC_TRANSFORM.
5077 * aclocal.m4: sinclude ../transform.m4.
5079 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5081 * lib/dtrace.exp: New file.
5082 * gdb.base/dtrace-probe.exp: Likewise.
5083 * gdb.base/dtrace-probe.d: Likewise.
5084 * gdb.base/dtrace-probe.c: Likewise.
5085 * lib/pdtrace.in: Likewise.
5086 * configure.ac: Output variables with the transformed names of
5087 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5088 * configure: Regenerated.
5090 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5092 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5093 expected message when trying to access $_probe_* convenience
5094 variables while not on a probe.
5096 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5098 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5100 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5102 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5103 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5105 2015-02-10 Doug Evans <xdje42@gmail.com>
5107 * lib/gdb.exp (gdb_load): Always return a result.
5109 2015-02-10 Pedro Alves <palves@redhat.com>
5111 * gdb.threads/signal-sigtrap.c: New file.
5112 * gdb.threads/signal-sigtrap.exp: New file.
5114 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5116 * gdb.trace/no-attach-trace.c: New file.
5117 * gdb.trace/no-attach-trace.exp: New file.
5119 2015-02-09 Mark Wielaard <mjw@redhat.com>
5121 * gdb.dwarf2/atomic.c: New file.
5122 * gdb.dwarf2/atomic-type.exp: Likewise.
5124 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5126 * gdb.btrace/buffer-size.exp: Update "info record" output.
5127 * gdb.btrace/delta.exp: Update "info record" output.
5128 * gdb.btrace/enable.exp: Update "info record" output.
5129 * gdb.btrace/finish.exp: Update "info record" output.
5130 * gdb.btrace/instruction_history.exp: Update "info record" output.
5131 * gdb.btrace/next.exp: Update "info record" output.
5132 * gdb.btrace/nexti.exp: Update "info record" output.
5133 * gdb.btrace/step.exp: Update "info record" output.
5134 * gdb.btrace/stepi.exp: Update "info record" output.
5135 * gdb.btrace/nohist.exp: Update "info record" output.
5137 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5139 * gdb.btrace/buffer-size: New.
5141 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5143 * gdb.btrace/delta.exp: Update "info record" output.
5144 * gdb.btrace/enable.exp: Update "info record" output.
5145 * gdb.btrace/finish.exp: Update "info record" output.
5146 * gdb.btrace/instruction_history.exp: Update "info record" output.
5147 * gdb.btrace/next.exp: Update "info record" output.
5148 * gdb.btrace/nexti.exp: Update "info record" output.
5149 * gdb.btrace/step.exp: Update "info record" output.
5150 * gdb.btrace/stepi.exp: Update "info record" output.
5151 * gdb.btrace/nohist.exp: Update "info record" output.
5153 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5156 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5158 2015-02-06 Pedro Alves <palves@redhat.com>
5160 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5162 (seconds_left, again): New globals.
5163 (main): Wait seconds_left in a 1-second sleep loop instead of
5164 sleeping 180 seconds. If 'again' is set, reset the seconds
5166 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5167 'again' in the inferior before detaching. Print the seconds left.
5168 (options): New global.
5169 (top level): Build program with -DTIMEOUT=$timeout.
5171 2015-02-06 Pedro Alves <palves@redhat.com>
5173 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5174 determine how many seconds to pass to 'alarm'.
5175 * gdb.base/gdb-sigterm.exp (top level): Build program with
5177 (do_test): Return success/failure indication. Add more verbose
5178 logging. Don't fail if 200 single steps are seen. Instead, fail
5179 when the test times out.
5180 (passes): New global.
5181 (top level): Break the testing loop if testing fails on any
5182 iteration. Use gdb_assert.
5184 2015-02-04 Don Breazeal <donb@codesourcery.com>
5186 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5187 and initialize them.
5188 (ipc_cleanup): New function.
5189 (main): Don't declare shmid, semid, and msqid. Add a call to
5190 atexit so that we call ipc_cleanup on exit.
5192 2015-02-04 Pedro Alves <palves@redhat.com>
5194 * boards/native-extended-gdbserver.exp: Remove any target variant
5195 specifications from the board name before clearing the isremote
5196 flag from board_info.
5198 2015-01-31 Doug Evans <xdje42@gmail.com>
5200 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5202 2015-01-31 Gary Benson <gbenson@redhat.com>
5204 * gdb.base/completion.exp: Disable completion limiting for
5205 existing tests. Add new tests to check completion limiting.
5206 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5208 2015-01-31 Doug Evans <xdje42@gmail.com>
5210 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5212 2015-01-31 Doug Evans <xdje42@gmail.com>
5214 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5215 entries. Duplicate file section script entries.
5216 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5217 inlined entries. Add test for safe-path rejection.
5218 * gdb.python/py-section-script.c: Add duplicate inlined section script
5219 entries. Duplicate file section script entries.
5220 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5221 inlined entries. Add test for safe-path rejection.
5223 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5225 * gdb.ada/disc_arr_bound: New testcase.
5227 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5229 * gdb.ada/mi_var_array: New testcase.
5231 2015-01-27 Doug Evans <dje@google.com>
5233 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5234 Add test for objfile.filename, objfile.username after objfile
5237 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5239 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5240 the second test to print the name attribute of value
5241 returned by the call to gdb.lookup_type, and adjust
5242 the expected output accordingly.
5244 2015-01-25 Mark Wielaard <mjw@redhat.com>
5246 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5247 * gdb.base/disp-step-fork.c: Include unistd.h.
5248 * gdb.base/siginfo-obj.c: Include stdio.h.
5249 * gdb.base/siginfo-thread.c: Likewise.
5250 * gdb.mi/non-stop.c: Include unistd.h.
5251 * gdb.mi/nsthrexec.c: Include stdio.h.
5252 * gdb.mi/pthreads.c: Include unistd.h.
5253 * gdb.modula2/unbounded1.c (main): Declare returns int.
5254 * gdb.reverse/consecutive-reverse.c: Likewise.
5255 * gdb.threads/create-fail.c: Include unistd.h.
5256 * gdb.threads/killed.c: Likewise.
5257 * gdb.threads/linux-dp.c: Likewise.
5258 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5259 * gdb.threads/non-ldr-exc-2.c: Likewise.
5260 * gdb.threads/non-ldr-exc-3.c: Likewise.
5261 * gdb.threads/non-ldr-exc-4.c: Likewise.
5262 * gdb.threads/pthreads.c: Include unistd.h.
5263 (main): Declare returns int.
5264 * gdb.threads/tls-main.c (foo): New declaration.
5265 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5267 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5269 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5270 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5272 2015-01-15 Mark Wielaard <mjw@redhat.com>
5274 * gdb.base/noreturn-return.c: New file.
5275 * gdb.base/noreturn-return.exp: New file.
5276 * gdb.base/noreturn-finish.c: New file.
5277 * gdb.base/noreturn-finish.exp: New file.
5279 2015-01-23 Pedro Alves <palves@redhat.com>
5281 * gdb.threads/continue-pending-after-query.c: New file.
5282 * gdb.threads/continue-pending-after-query.exp: New file.
5284 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5285 Simon Marchi <simon.marchi@ericsson.com>
5287 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5288 * gdb.base/valgrind-db-attach.exp: Same.
5289 * gdb.base/valgrind-infcall.exp: Same.
5290 * lib/mi-support.exp (default_mi_gdb_start): Same.
5291 * lib/prompt.exp (default_prompt_gdb_start): Same.
5292 * lib/gdb.exp (default_gdb_spawn): Same.
5293 (gdb_interact): New.
5296 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5298 * gdb.compile/compile.exp (pointer to jit function): New test.
5300 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5302 * lib/gdb.exp (supports_process_record): Return true for
5304 (supports_reverse): Likewise.
5306 2015-01-15 Don Breazeal <donb@codesourcery.com>
5308 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5309 instead of checking whether the target board is remote and
5310 use spawn_wait_for_attach instead of exec/sleep.
5311 * gdb.base/attach-twice.exp: Likewise.
5313 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5315 * gdb.ada/var_arr_attrs: New testcase.
5317 2015-01-14 Pedro Alves <palves@redhat.com>
5318 Joel Brobecker <brobecker@adacore.com>
5321 * gdb.base/bp-cmds-execution-x-script.c: New file.
5322 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5323 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5325 2015-01-14 Pedro Alves <palves@redhat.com>
5328 * gdb.base/batch-preserve-term-settings.c: New file.
5329 * gdb.base/batch-preserve-term-settings.exp: New file.
5331 2015-01-13 Doug Evans <dje@google.com>
5333 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5336 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5338 * Makefile.in (clean mostlyclean): Do not delete *.py.
5340 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5342 * gdb.python/py-lookup-type.exp: New file.
5344 2015-01-12 Pedro Alves <palves@redhat.com>
5346 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5347 restore GDBFLAGS before returning.
5349 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5351 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5352 is_amd64_regs_target and is_x86_like_target.
5354 2015-01-11 Doug Evans <xdje42@gmail.com>
5356 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5357 is given without an explicit form.
5358 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5360 * gdb.dwarf/corrupt.exp: Ditto.
5361 * gdb.dwarf2/enum-type.exp: Ditto.
5362 * gdb.trace/entry-values.exp: Ditto.
5363 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5365 2015-01-11 Doug Evans <xdje42@gmail.com>
5368 * gdb.base/maint.exp: Remove references to "maint demangle".
5369 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5370 Add tests for explicitly specifying language to demangle.
5371 * gdb.dlang/demangle.exp: Ditto.
5373 2015-01-09 Pedro Alves <palves@redhat.com>
5375 * gdb.threads/non-stop-fair-events.c: New file.
5376 * gdb.threads/non-stop-fair-events.exp: New file.
5378 2015-01-09 Pedro Alves <palves@redhat.com>
5380 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5381 the global scope. Set a breakpoint after all threads are started
5382 rather than stepping over two source lines. Expect the prompt.
5383 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5386 (main): Use threads_started_barrier to wait for all threads to
5387 start. Main thread no longer calls thread_function. Exit after
5389 (loop): New function.
5390 (thread_function): Wait on threads_started_barrier barrier. Call
5391 'loop' at each iteration.
5392 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5393 threads have started, instead of hardcoding number of "next"
5394 steps. Use an access watchpoint instead of a write watchpoint.
5396 2015-01-09 Pedro Alves <palves@redhat.com>
5398 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5399 (thread_func): Wait on barrier.
5400 (main): Wait for all threads to start before stopping GDB.
5401 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5403 (thread1_func, thread2_func): Wait on barrier.
5404 (main): Wait for all threads to start before stopping GDB.
5405 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5407 (thread1_func, thread2_func): Wait on barrier.
5408 (main): Wait for all threads to start before stopping GDB.
5410 2015-01-09 Pedro Alves <palves@redhat.com>
5412 * gdb.threads/attach-many-short-lived-threads.c: New file.
5413 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5415 2014-01-09 Pedro Alves <palves@redhat.com>
5417 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5418 instead of to thread 2.
5419 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5420 Add barrier around each pthread_create call instead of around all
5422 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5423 Set a break on thread_function and have the child threads hit it
5426 2015-01-09 Pedro Alves <palves@redhat.com>
5428 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5429 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5431 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5432 checking whether the target board is remote.
5433 * gdb.multi/multi-attach.exp: Likewise.
5434 * gdb.python/py-sync-interp.exp: Likewise.
5435 * gdb.server/ext-attach.exp: Likewise.
5436 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5437 tests that need to attach, instead of checking whether the target
5438 board is remote at the top of the file.
5440 2015-01-08 Yao Qi <yao@codesourcery.com>
5442 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5444 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5446 Fix testcase compilation.
5447 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5449 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5451 * gdb.python/py-type.exp: Add a couple test about empty
5452 array creation, and negative-length array creation.
5454 2015-01-02 Doug Evans <xdje42@gmail.com>
5456 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5458 2015-01-02 Doug Evans <dje@google.com>
5460 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5462 2014-12-29 Yao Qi <yao@codesourcery.com>
5464 * gdb.trace/entry-values.exp: Update comments. Rename variable
5465 bar_call_foo to returned_from_foo.
5467 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5470 * gdb.linespec/break-asm-file.c: New file.
5471 * gdb.linespec/break-asm-file.exp: New file.
5472 * gdb.linespec/break-asm-file0.s: New file.
5473 * gdb.linespec/break-asm-file1.s: New file.
5475 2014-12-18 Nigel Stephens <nigel@mips.com>
5476 Maciej W. Rozycki <macro@codesourcery.com>
5478 * gdb.base/float.exp: Handle the new output from "info float" on
5481 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5483 Fix MinGW compilation.
5484 * gdb.compile/compile-ops.exp: Update untested message if
5485 !skip_compile_feature_tests.
5486 * gdb.compile/compile-setjmp.exp: Likewise.
5487 * gdb.compile/compile-tls.exp: Likewise.
5488 * gdb.compile/compile.exp: Likewise.
5489 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5490 supported on this host".
5492 2014-12-16 Doug Evans <xdje42@gmail.com>
5494 * boards/stabs.exp: New file.
5496 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5498 * gdb.base/completion.exp: Adjust to format changes of "maint
5499 print user-registers".
5501 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5504 * gdb.arch/aarch64-fp.c: New file.
5505 * gdb.arch/aarch64-fp.exp: New file.
5507 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5509 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5510 r210637, r210913, r211666, r215400, r215817).
5512 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5513 * dg-extract-results.py: New file.
5514 * dg-extract-results.sh: Use it if the environment seems
5517 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5519 * dg-extract-results.py (parse_run): Handle warnings that
5520 are printed before a test harness is run.
5522 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5524 * dg-extract-results.py (Named): Remove __cmp__ method.
5525 (output_variation): Use a key to sort variation.harnesses.
5527 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5529 * dg-extract-results.py: For Python 3, force sys.stdout to
5530 handle surrogate escape sequences.
5531 (safe_open): New function.
5532 (output_segment, main): Use it.
5534 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5536 * dg-extract-results.py (Prog.result_re): Include options
5539 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5541 * dg-extract-results.py (output_variation): Always sort if
5544 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5546 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5547 as long as we get pagination notifications.
5549 2014-12-15 Jason Merrill <jason@redhat.com>
5551 * Makefile.in (check-gdb.%): Restore.
5552 * README: Mention it.
5554 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5556 * gdb.ada/str_uninit: New testcase.
5558 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5561 * gdb.base/vla-stub-define.c: New file.
5562 * gdb.base/vla-stub.c: New file.
5563 * gdb.base/vla-stub.exp: New file.
5565 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5566 Jan Kratochvil <jan.kratochvil@redhat.com>
5567 Tom Tromey <tromey@redhat.com>
5569 * configure.ac: Add gdb.compile/.
5570 * configure: Regenerate.
5571 * gdb.compile/Makefile.in: New file.
5572 * gdb.compile/compile-ops.exp: New file.
5573 * gdb.compile/compile-ops.c: New file.
5574 * gdb.compile/compile-tls.c: New file.
5575 * gdb.compile/compile-tls.exp: New file.
5576 * gdb.compile/compile-constvar.S: New file.
5577 * gdb.compile/compile-constvar.c: New file.
5578 * gdb.compile/compile-mod.c: New file.
5579 * gdb.compile/compile-nodebug.c: New file.
5580 * gdb.compile/compile-setjmp-mod.c: New file.
5581 * gdb.compile/compile-setjmp.c: New file.
5582 * gdb.compile/compile-setjmp.exp: New file.
5583 * gdb.compile/compile-shlib.c: New file.
5584 * gdb.compile/compile.c: New file.
5585 * gdb.compile/compile.exp: New file.
5586 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5588 2014-12-12 Tom Tromey <tromey@redhat.com>
5590 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5591 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5593 2014-12-12 Doug Evans <dje@google.com>
5595 * lib/gdb-python.exp (get_python_valueof): New function.
5596 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5598 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5600 * gdb.base/completion.exp: Add test for completion of "info
5603 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5605 * gdb.base/func-ptrs.c: New file.
5606 * gdb.base/func-ptrs.exp: New file.
5608 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5610 PR breakpoints/17012
5611 * gdb.base/dprintf-detach.c: New file.
5612 * gdb.base/dprintf-detach.exp: New file.
5614 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5616 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5617 * lib/gdb.exp (target_is_gdbserver): New procedure.
5619 2014-12-08 Doug Evans <dje@google.com>
5621 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5623 2014-12-05 Yao Qi <yao@codesourcery.com>
5625 * gdb.guile/scm-error.exp: Remove the third argument to
5626 gdb_remote_download.
5627 * gdb.guile/scm-frame-args.exp: Likewise.
5628 * gdb.guile/scm-section-script.exp: Likewise.
5630 2014-12-05 Yao Qi <yao@codesourcery.com>
5632 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5634 2014-12-04 Doug Evans <dje@google.com>
5636 * gdb.python/py-objfile.exp: Add tests for
5637 objfile.add_separate_debug_file.
5639 2014-12-04 Doug Evans <dje@google.com>
5641 * lib/gdb.exp (get_build_id): New function.
5642 (build_id_debug_filename_get): Rewrite to use it.
5643 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5645 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5647 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5648 `method(long)', not just 0x0.
5649 * gdb.cp/nsalias.exp: Align code labels to 4.
5650 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5651 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5652 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5653 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5654 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5655 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5657 2014-12-02 Doug Evans <dje@google.com>
5660 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5661 * gdb.cp/anon-ns2.cc: ... here. New file.
5662 * gdb.cp/anon-ns.exp: Update.
5664 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5666 * gdb.python/py-events.py (inferior_call_handler): New.
5667 (register_changed_handler, memory_changed_handler): New.
5668 (test_events.invoke): Register new handlers.
5669 * gdb.python/py-events.exp: Add tests for inferior call,
5670 memory_changed and register_changed events.
5672 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5675 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5676 if the linker doesn't understand this.
5678 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5680 * gdb.python/python.exp: Change expected reply to help().
5682 2014-12-01 Yao Qi <yao@codesourcery.com>
5684 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5685 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5686 * configure: Re-generated.
5688 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5690 * gdb.cp/chained-calls.cc: New file.
5691 * gdb.cp/chained-calls.exp: New file.
5692 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5694 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5696 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5697 * gdb.dwarf2/symtab-producer.exp: Same.
5698 * gdb.gdb/python-interrupts.exp: Same.
5699 * gdb.gdb/python-selftest.exp: Same.
5700 * gdb.python/py-linetable.exp: Same.
5701 * gdb.python/py-type.exp: Same.
5702 * gdb.python/py-value-cc.exp: Same.
5703 * gdb.python/py-value.exp: Same.
5705 2014-11-28 Yao Qi <yao@codesourcery.com>
5707 * gdb.base/break-probes.exp: Match library name prefixed with
5710 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5712 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5713 test expected output. Add parentheses for the call to print.
5714 Remove L suffix from integers.
5716 2014-11-26 Doug Evans <dje@google.com>
5718 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5720 2014-11-22 Yao Qi <yao@codesourcery.com>
5722 * gdb.trace/entry-values.c: Remove asms.
5723 (foo): Add foo_label.
5724 (bar): Add bar_label.
5725 * gdb.trace/entry-values.exp: Remove code computing foo's
5726 length and bar's length.
5727 (Dwarf::assemble): Invoke function_range for bar and use
5728 MACRO_AT_func for foo.
5730 2014-11-22 Yao Qi <yao@codesourcery.com>
5732 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5733 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5734 Use .Lgcc43_procstart instead of gcc43.
5736 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5738 * gdb.ada/n_arr_bound: New testcase.
5740 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5742 PR breakpoints/10737
5743 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5744 test_catch_syscall_multi_arch.
5745 (test_catch_syscall_multi_arch): New function.
5747 2014-11-20 Doug Evans <xdje42@gmail.com>
5749 * gdb.base/maint.exp: Update expected output.
5751 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5753 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5754 4-byte instruction on S390.
5756 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5758 * gdb.ada/arr_arr: New testcase.
5760 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5762 * gdb.ada/pkd_arr_elem: New Testcase.
5764 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5766 * gdb.reverse/break-precsave: Expect completion message for
5768 * gdb.reverse/consecutive-precsave.exp: Likewise.
5769 * gdb.reverse/finish-precsave.exp: Likewise.
5770 * gdb.reverse/i386-precsave.exp: Likewise.
5771 * gdb.reverse/machinestate-precsave.exp: Likewise.
5772 * gdb.reverse/sigall-precsave.exp: Likewise.
5773 * gdb.reverse/solib-precsave.exp: Likewise.
5774 * gdb.reverse/step-precsave.exp: Likewise.
5775 * gdb.reverse/until-precsave.exp: Likewise.
5776 * gdb.reverse/watch-precsave.exp: Likewise.
5778 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5780 * gdb.base/bp-permanent.c: Include unistd.h.
5781 * gdb.python/py-framefilter-mi.c (main): Add return type.
5782 * gdb.python/py-framefilter.c (main): Likewise.
5783 * gdb.trace/actions-changed.c (main): Likewise.
5785 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5787 * gdb.mi/until.c: Add eye-catchers.
5788 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5791 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5793 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5794 function header variants in break1.c.
5795 * gdb.base/ena-dis-br.exp: Likewise.
5796 * gdb.base/hbreak2.exp: Likewise.
5797 * gdb.reverse/until-precsave.exp: Drop references to removed
5798 non-prototype function header variants in ur1.c.
5799 * gdb.reverse/until-reverse.exp: Likewise.
5801 2014-11-17 Petr Machata <pmachata@redhat.com>
5803 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5804 ${_cu_offset_size} bytes abbrev offset.
5806 2014-11-15 Doug Evans <xdje42@gmail.com>
5809 * gdb.base/line-symtabs.exp: New file.
5810 * gdb.base/line-symtabs.c: New file.
5811 * gdb.base/line-symtabs.h: New file.
5813 2014-11-14 Yao Qi <yao@codesourcery.com>
5815 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5816 (func): Add label func_label.
5817 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5818 Replace low_pc and high_pc with MACRO_AT_range.
5819 Replace name, low_pc and high_pc with MACRO_AT_func.
5821 2014-11-14 Yao Qi <yao@codesourcery.com>
5823 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5824 Replace name, low_pc and high_pc with MACRO_AT_func.
5826 2014-11-14 Yao Qi <yao@codesourcery.com>
5828 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5829 produce debug information.
5830 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5832 2014-11-14 Yao Qi <yao@codesourcery.com>
5834 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5835 object and get function length.
5836 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5838 (top-level): Replace gdb_compile and clean_restart with
5839 prepare_for_testing.
5840 * gdb.dwarf2/main.c (main): Add label main_label.
5842 2014-11-14 Yao Qi <yao@codesourcery.com>
5844 * lib/dwarf.exp (function_range): New procedure.
5845 (Dwarf::_handle_macro_at_func): New procedure.
5846 (Dwarf::_handle_macro_at_range): New procedure.
5847 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5849 2014-11-14 Yao Qi <yao@codesourcery.com>
5851 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5852 (_handle_attribute): New procedure.
5854 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5856 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5857 * gdb.base/call-sc.c (zed): Likewise.
5858 * gdb.base/checkpoint.c (main): Likewise.
5859 * gdb.base/dump.c (main): Likewise.
5860 * gdb.base/gcore.c (main): Likewise.
5861 * gdb.base/huge.c (main): Likewise.
5862 * gdb.base/multi-forks.c (main): Likewise.
5863 * gdb.base/pr10179-a.c (main): Likewise.
5864 * gdb.base/savedregs.c (main): Likewise.
5865 * gdb.base/sigaltstack.c (main): Likewise.
5866 * gdb.base/siginfo.c (main): Likewise.
5867 * gdb.base/structs.c (zed): Likewise.
5868 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5869 * gdb.mi/mi-syn-frame.c (main): Likewise.
5870 * gdb.mi/until.c (foo, main): Likewise.
5871 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5872 * gdb.base/solib-weak.c (foo): Declare.
5873 * gdb.base/attach-twice.c: Include stdio.h.
5874 * gdb.base/weaklib1.c: Likewise.
5875 * gdb.base/weaklib2.c: Likewise.
5876 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5877 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5879 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5880 * gdb.mi/mi-exit-code.c: Likewise.
5881 * gdb.base/break-interp-lib.c: Include string.h.
5882 * gdb.base/coremaker.c: Likewise.
5883 * gdb.base/testenv.c: Likewise.
5884 * gdb.python/py-finish-breakpoint.c: Likewise.
5885 * gdb.base/inferior-died.c: Include sys/wait.h.
5886 * gdb.base/fileio.c: Include time.h.
5887 * gdb.base/async-shell.c: Include unistd.h.
5888 * gdb.base/dprintf-non-stop.c: Likewise.
5889 * gdb.base/info-os.c: Likewise.
5890 * gdb.mi/mi-console.c: Likewise.
5891 * gdb.mi/watch-nonstop.c: Likewise.
5892 * gdb.python/py-events.c: Likewise.
5893 * gdb.base/async.c (baz): Move up before its invocation.
5894 * gdb.base/code_elim2.c (my_global_func): Likewise.
5895 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5896 * gdb.base/advance.c (func2): Likewise.
5898 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5900 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5902 * gdb.base/annota3.c: Likewise.
5903 * gdb.base/async.c: Likewise.
5904 * gdb.base/average.c: Likewise.
5905 * gdb.base/call-ar-st.c: Likewise.
5906 * gdb.base/call-rt-st.c: Likewise.
5907 * gdb.base/call-sc.c: Likewise.
5908 * gdb.base/call-strs.c: Likewise.
5909 * gdb.base/ending-run.c: Likewise.
5910 * gdb.base/execd-prog.c: Likewise.
5911 * gdb.base/exprs.c: Likewise.
5912 * gdb.base/foll-exec.c: Likewise.
5913 * gdb.base/foll-fork.c: Likewise.
5914 * gdb.base/foll-vfork.c: Likewise.
5915 * gdb.base/funcargs.c: Likewise.
5916 * gdb.base/gcore.c: Likewise.
5917 * gdb.base/jump.c: Likewise.
5918 * gdb.base/langs0.c: Likewise.
5919 * gdb.base/langs1.c: Likewise.
5920 * gdb.base/langs2.c: Likewise.
5921 * gdb.base/mips_pro.c: Likewise.
5922 * gdb.base/nodebug.c: Likewise.
5923 * gdb.base/opaque0.c: Likewise.
5924 * gdb.base/opaque1.c: Likewise.
5925 * gdb.base/recurse.c: Likewise.
5926 * gdb.base/run.c: Likewise.
5927 * gdb.base/scope0.c: Likewise.
5928 * gdb.base/scope1.c: Likewise.
5929 * gdb.base/setshow.c: Likewise.
5930 * gdb.base/setvar.c: Likewise.
5931 * gdb.base/shmain.c: Likewise.
5932 * gdb.base/shr1.c: Likewise.
5933 * gdb.base/shr2.c: Likewise.
5934 * gdb.base/sigall.c: Likewise.
5935 * gdb.base/signals.c: Likewise.
5936 * gdb.base/so-indr-cl.c: Likewise.
5937 * gdb.base/solib2.c: Likewise.
5938 * gdb.base/structs.c: Likewise.
5939 * gdb.base/sum.c: Likewise.
5940 * gdb.base/vforked-prog.c: Likewise.
5941 * gdb.base/watchpoint.c: Likewise.
5942 * gdb.reverse/shr2.c: Likewise.
5943 * gdb.reverse/until-reverse.c: Likewise.
5944 * gdb.reverse/ur1.c: Likewise.
5945 * gdb.reverse/watch-reverse.c: Likewise.
5947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5949 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5951 * gdb.base/sepdebug.exp: Drop references to removed code.
5953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5955 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5956 variant. Preserve original line numbering.
5957 * gdb.base/list1.c: Likewise.
5959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5961 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5963 * gdb.base/break1.c: Likewise.
5964 * gdb.base/break.exp: Drop references to removed code.
5966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5968 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5973 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5975 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5977 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5978 logic into perform_all_tests() and invoke it with and without
5979 function header prototypes.
5980 (do_function_calls): Remove conditional XFAIL for PR 5318.
5981 (rerun_and_prepare): Remove duplicate code.
5982 (perform_all_tests): New. Main logic moved here.
5984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5986 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5987 code guarded by #ifdef NO_PROTOTYPES.
5988 (t_double_many_args): Likewise.
5989 (DEF_FUNC_MANY_ARGS_1): Likewise.
5990 (DEF_FUNC_VALUES_1): Likewise.
5991 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5992 guarded by #ifdef PROTOTYPES.
5994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5996 * gdb.mi/mi-console.c: Add eye-catcher.
5997 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5998 instead of literal line number.
6000 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002 * gdb.base/shr2.c: Add eye-catcher.
6003 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6006 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6008 * gdb.base/jump.c: Add eye-catchers.
6009 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6012 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6014 * gdb.base/execd-prog.c: Add eye-catchers.
6015 * gdb.base/foll-exec.c: Likewise.
6016 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6021 * gdb.base/ending-run.c: Add eye-catchers.
6022 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6023 literal line numbers.
6025 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6027 * gdb.base/call-rt-st.c: Add eye-catchers.
6028 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6029 literal line numbers.
6031 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6033 * gdb.base/call-ar-st.c: Add eye-catchers.
6034 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6035 literal line numbers.
6037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6039 * gdb.base/average.c: Add eye-catchers.
6040 * gdb.base/sum.c: Likewise.
6041 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6042 regexps dynamically.
6044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6046 * gdb.base/solib1.c: Add eye-catchers.
6047 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6048 literal line numbers.
6050 2014-11-12 Pedro Alves <palves@redhat.com>
6052 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6055 2014-11-12 Pedro Alves <palves@redhat.com>
6057 * gdb.arch/i386-bp_permanent.c: New file.
6058 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6059 (srcfile): Set to i386-bp_permanent.c.
6060 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6061 that stepi does not execute the 'leave' instruction, instead of
6062 testing it does execute.
6063 * gdb.base/bp-permanent.c: New file.
6064 * gdb.base/bp-permanent.exp: New file.
6066 2014-11-10 Doug Evans <xdje42@gmail.com>
6069 * gdb.base/symtab-search-order.exp: New file.
6070 * gdb.base/symtab-search-order.c: New file.
6071 * gdb.base/symtab-search-order-1.c: New file.
6072 * gdb.base/symtab-search-order-shlib-1.c: New file.
6074 2014-11-07 Pedro Alves <palves@redhat.com>
6077 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6080 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6083 * gdb.cp/pr17494.cc: New file.
6084 * gdb.cp/pr17494.exp: New file.
6086 2014-11-02 Yao Qi <yao@codesourcery.com>
6088 * gdb.python/python.exp: Get working directory and match the
6089 output of "set extended-prompt \\w " with it.
6091 2014-10-30 Doug Evans <dje@google.com>
6093 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6095 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6098 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6100 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6101 * gdb.base/realname-expand.exp: Likewise.
6102 * gdb.linespec/macro-relative.exp: Likewise.
6104 2014-10-29 Pedro Alves <palves@redhat.com>
6107 * gdb.threads/schedlock.c (some_function): New function.
6108 (call_function): New global.
6109 (MAYBE_CALL_SOME_FUNCTION): New macro.
6110 (thread_function): Call it.
6111 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6112 and use it instead of a global counter. Adjust all callers.
6113 (get_current_thread): Use "find current thread" for test message
6114 here rather than having all callers pass down the same string.
6115 (goto_loop): New procedure, factored out from ...
6116 (my_continue): ... this.
6117 (step_ten_loops): Change parameter from test message to command to
6119 (list_count): Delete global.
6120 (check_result): New procedure, factored out from duplicate top
6122 (continue tests): Wrap in with_test_prefix.
6123 (test_step): New procedure, factored out from duplicate top level
6125 (top level): Test "step" in combination with all scheduler-locking
6126 modes. Test "next" in combination with all scheduler-locking
6127 modes, and in combination with stepping over a function call or
6129 * gdb.threads/next-bp-other-thread.c: New file.
6130 * gdb.threads/next-bp-other-thread.exp: New file.
6132 2014-10-29 Pedro Alves <palves@redhat.com>
6135 * gdb.python/python.exp: Test a multi-line command that spawns
6137 * gdb.base/multi-line-starts-subshell.exp: New file.
6139 2014-10-29 Yao Qi <yao@codesourcery.com>
6141 * gdb.base/fileio.exp: Make directories on host.
6143 2014-10-29 Yao Qi <yao@codesourcery.com>
6145 * gdb.base/fileio.c (test_write): Close the file.
6147 2014-10-28 Pedro Alves <palves@redhat.com>
6150 * gdb.base/sigstep.c (no_handler): New global.
6151 (main): If 'no_handler is true, set the signal handlers to
6153 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6154 with_sw_watch and no_handler parameters. Handle them.
6155 (top level) <stepping over handler when stopped at a breakpoint
6156 test>: Add a test axis for testing with a software watchpoint, and
6157 another for testing with the signal handler set to SIG_IGN.
6158 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6159 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6161 2014-10-28 Pedro Alves <palves@redhat.com>
6164 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6165 * gdb.base/sigstep.exp (other_handler_location): New global.
6166 (advance): Support stepping into the signal handler, and running
6167 commands while in the handler.
6168 (in_handler_map): New global.
6169 (top level): In the advance test, add combinations for getting
6170 into the handler with stepping commands, and for running commands
6171 in the handler. Add comment descripting the advancei tests.
6173 2014-10-28 Pedro Alves <palves@redhat.com>
6175 * gdb.base/sigstep.exp: Use build_executable instead of
6176 prepare_for_testing.
6177 (top level): Move code that starts GDB, runs to main and creates a
6179 (restart): ... this new procedure.
6180 (top level): Move backtrace from signal handler test to ...
6181 (validate_backtrace): ... this new procedure.
6182 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6183 with_test_prefix. Always restart GDB.
6184 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6185 with_test_prefix. Always restart GDB. No need to delete
6186 breakpoints after the test.
6187 (test_skip_handler): Remove prefix parameter.
6188 (skip_over_handler, breakpoint_to_handler)
6189 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6190 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6191 restart GDB. No need to delete breakpoints after the test.
6192 (top level): Use foreach to call the test procedures with
6195 2014-10-28 Pedro Alves <palves@redhat.com>
6197 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6198 instead of GNATS numbers.
6199 * gdb.base/sigbpt.exp: Likewise.
6200 * gdb.base/siginfo.exp: Likewise.
6201 * gdb.base/sigstep.exp: Likewise.
6203 2014-10-27 Pedro Alves <palves@redhat.com>
6205 * gdb.base/sigstep.c (dummy): New global.
6206 (main): Issue a couple writes to the new global.
6207 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6209 (skip_over_handler): Use test_skip_handler.
6210 (top level): Call skip_over_handler for stepi and nexti too.
6211 (breakpoint_over_handler): Use test_skip_handler.
6212 (top level): Call breakpoint_over_handler for stepi and nexti too.
6214 2014-10-27 Yao Qi <yao@codesourcery.com>
6216 * gdb.trace/tfile.c (adjust_function_address)
6217 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6218 function descriptor.
6220 2014-10-24 Don Breazeal <donb@codesourcery.com>
6222 * gdb.base/foll-fork.exp (test_follow_fork,
6223 catch_fork_child_follow): Check for updated fork messages emitted
6225 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6226 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6227 vfork_and_exec_child_follow_through_step): Check for updated vfork
6228 messages emitted from infrun.c.
6230 2014-10-24 Pedro Alves <palves@redhat.com>
6232 * gdb.base/corefile.exp: Remove references to ultrix.
6233 * gdb.base/interrupt.exp: Likewise.
6234 * gdb.base/whatis.exp: Likewise.
6235 * gdb.gdb/selftest.exp: Likewise.
6236 * gdb.threads/manythreads.exp: Likewise.
6237 * gdb.threads/print-threads.exp: Likewise.
6238 * gdb.threads/pthreads.exp:: Likewise.
6239 * gdb.threads/schedlock.exp: Likewise.
6241 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6243 * gdb.cp/non-trivial-retval.cc: Add a test case.
6244 * gdb.cp/non-trivial-retval.exp: Add a test.
6246 2014-10-20 Yao Qi <yao@codesourcery.com>
6248 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6249 * gdb.python/py-objfile-script-gdb.py: New file.
6250 * gdb.python/py-objfile-script.exp: Update reference to
6251 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6252 of remote_download. Remove the dest file.
6254 2014-10-20 Yao Qi <yao@codesourcery.com>
6256 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6257 * gdb.base/step-line.exp: Likewise.
6258 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6259 * gdb.dwarf2/dw2-basic.exp: Likewise.
6260 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6261 * gdb.dwarf2/dw2-filename.exp: Likewise.
6262 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6263 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6264 * gdb.dwarf2/dw2-producer.exp: Likewise.
6265 * gdb.dwarf2/mac-fileno.exp: Likewise.
6266 * gdb.python/py-frame-args.exp: Likewise.
6267 * gdb.python/py-framefilter.exp: Likewise.
6268 * gdb.python/py-mi.exp: Likewise.
6269 * gdb.python/py-objfile-script.exp: Likewise
6270 * gdb.python/py-pp-integral.exp: Likewise.
6271 * gdb.python/py-pp-re-notag.exp: Likewise.
6272 * gdb.python/py-prettyprint.exp: Likewise.
6273 * gdb.python/py-section-script.exp: Likewise.
6274 * gdb.python/py-typeprint.exp: Likewise.
6275 * gdb.python/py-xmethods.exp: Likewise.
6276 * gdb.stabs/weird.exp: Likewise.
6277 * gdb.xml/tdesc-regs.exp: Likewise.
6279 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6281 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6282 (out_cu): Use addr_len for the size of addresses.
6283 (out_line): Likewise. Size DW_LNE_set_address instruction
6284 according to addr_len.
6285 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6286 (FUNC): Add START_INSNS to definition.
6288 2014-10-18 Yao Qi <yao@codesourcery.com>
6290 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6291 gdb_has_argv0 return true.
6292 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6293 check [target_info exists noargs], check [gdb_has_argv0]
6295 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6296 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6299 2014-10-17 Doug Evans <dje@google.com>
6301 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6303 * gdb.python/py-events.py: Add clear_objfiles event.
6305 2014-10-17 Doug Evans <dje@google.com>
6307 * gdb.python/py-objfile.exp: Test progspace attribute.
6309 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6311 * gdb.guile/scm-breakpoint.exp: Do not assume any
6312 directory separators when matching source file paths.
6313 * gdb.python/py-breakpoint.exp: Likewise.
6314 * gdb.reverse/break-precsave.exp: Likewise.
6315 * gdb.reverse/break-reverse.exp: Likewise.
6316 * gdb.reverse/consecutive-precsave.exp: Likewise.
6317 * gdb.reverse/finish-precsave.exp: Likewise.
6318 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6319 * gdb.reverse/finish-reverse.exp: Likewise.
6320 * gdb.reverse/i386-precsave.exp: Likewise.
6321 * gdb.reverse/i387-env-reverse.exp: Likewise.
6322 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6323 * gdb.reverse/machinestate-precsave.exp: Likewise.
6324 * gdb.reverse/machinestate.exp: Likewise.
6325 * gdb.reverse/sigall-precsave.exp: Likewise.
6326 * gdb.reverse/solib-precsave.exp: Likewise.
6327 * gdb.reverse/step-precsave.exp: Likewise.
6328 * gdb.reverse/until-precsave.exp: Likewise.
6329 * gdb.reverse/watch-precsave.exp: Likewise.
6330 * gdb.reverse/watch-reverse.exp: Likewise.
6332 2014-10-17 Yao Qi <yao@codesourcery.com>
6334 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6335 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6337 2014-10-17 Pedro Alves <palves@redhat.com>
6340 * gdb.base/bg-execution-repeat.c: New file.
6341 * gdb.base/bg-execution-repeat.exp: New file.
6343 2014-10-17 Pedro Alves <palves@redhat.com>
6346 * gdb.base/continue-all-already-running.c: New file.
6347 * gdb.base/continue-all-already-running.exp: New file.
6349 2014-10-17 Pedro Alves <palves@redhat.com>
6352 * gdb.base/annota-input-while-running.c: New file.
6353 * gdb.base/annota-input-while-running.exp: New file.
6355 2014-10-17 Pedro Alves <palves@redhat.com>
6357 * gdb.base/callfuncs.exp: emove references to osf.
6358 * gdb.base/sigall.exp: Likewise.
6359 * gdb.gdb/selftest.exp: Likewise.
6360 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6361 * gdb.mi/non-stop.c: Likewise.
6362 * gdb.mi/pthreads.c: Likewise.
6363 * gdb.reverse/sigall-precsave.exp: Likewise.
6364 * gdb.reverse/sigall-reverse.exp: Likewise.
6365 * gdb.threads/pthreads.c: Likewise.
6366 * gdb.threads/pthreads.exp: Likewise.
6368 2014-10-17 Yao Qi <yao@codesourcery.com>
6370 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6371 check 'target_info exists noargs'.
6372 (test_command_prompt_position): Likewise.
6373 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6375 (progvar_simple_while_test): Likewise.
6376 (progvar_complex_if_while_test): Likewise.
6377 (if_while_breakpoint_command_test): Likewise.
6378 (infrun_breakpoint_command_test): Likewise.
6379 (breakpoint_command_test): Likewise.
6380 (watchpoint_command_test): Likewise.
6381 (bp_deleted_in_command_test): Likewise.
6382 (temporary_breakpoint_commands): Likewise.
6384 2014-10-16 Yao Qi <yao@codesourcery.com>
6386 * gdb.base/remotetimeout.exp: Remove noargs checking.
6388 2014-10-15 Pedro Alves <palves@redhat.com>
6391 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6392 * gdb.base/breakpoint-in-ro-region.exp
6393 (probe_target_hardware_step): New procedure.
6394 (top level): Probe hardware stepping and hardware breakpoint
6395 support. Test stepping through a read-only region, with both
6396 "breakpoint auto-hw" on and off and both "always-inserted" on and
6399 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6401 * gdb.dlang/demangle.exp: Update for demangling changes.
6403 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6405 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6406 * gdb.cp/non-trivial-retval.exp: Add new tests.
6408 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6412 * gdb.cp/non-trivial-retval.cc: New file.
6413 * gdb.cp/non-trivial-retval.exp: New file.
6415 2014-10-15 Yao Qi <yao@codesourcery.com>
6417 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6420 2014-10-15 Yao Qi <yao@codesourcery.com>
6422 * gdb.python/py-symbol.exp: Match file base name if host is
6423 remote, otherwise match file name with dir name.
6424 * gdb.python/py-symtab.exp: Likewise.
6425 * gdb.python/python.exp: Likewise.
6427 2014-10-15 Yao Qi <yao@codesourcery.com>
6429 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6431 * gdb.python/py-symtab.exp: Likewise.
6432 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6435 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6437 * gdb.ada/addr_arith: New testcase.
6439 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6441 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6442 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6443 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6444 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6446 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6448 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6449 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6450 * gdb.arch/stap-eval-lang-ada.exp: New file.
6452 2014-10-14 Yao Qi <yao@codesourcery.com>
6454 * gdb.mi/mi-var-child.c (nothing1): New function.
6455 (nothing2): New function.
6456 (do_children_tests): Set function pointers by nothing1 and
6458 * gdb.mi/mi-var-child.exp: Step over new added statements.
6459 Update test to match the new output.
6460 * gdb.mi/var-cmd.c (nothing1): New function.
6461 (nothing2): New function.
6462 (do_children_tests): Set function pointers by nothing1 and
6464 * gdb.mi/mi-var-display.exp: Update test to match output.
6465 Step to the line specified by $line_dct_nothing.
6466 Increase the number of lines to step.
6468 2014-10-14 Yao Qi <yao@codesourcery.com>
6470 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6472 * gdb.mi/mi2-var-child.exp: Likewise.
6474 2014-10-13 Doug Evans <dje@google.com>
6476 * gdb.python/py-objfile.exp: Change name of file name test.
6478 2014-10-13 Doug Evans <dje@google.com>
6480 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6481 from the start of the CU.
6483 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6484 Yao Qi <yao@codesourcery.com>
6486 Fix "save breakpoints" for "catch" command.
6487 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6488 Remove -nonewline. Match also the added "main" line.
6490 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6492 Fix "save breakpoints" for "disable $bpnum" command.
6493 * gdb.base/save-bp.c (main): Add label.
6494 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6496 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6498 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6500 2014-10-11 Yao Qi <yao@codesourcery.com>
6502 * gdb.server/server-kill.exp: Execute command
6503 "set remote trace-status-packet on" before "tstatus".
6505 2014-10-11 Yao Qi <yao@codesourcery.com>
6507 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6508 (main): Call getppid.
6509 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6510 and continue to it. Read variable "server_pid".
6512 2014-10-11 Yao Qi <yao@codesourcery.com>
6514 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6516 2014-10-11 Yao Qi <yao@codesourcery.com>
6518 * gdb.threads/thread-find.exp: Don't execute command
6520 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6521 * gdb.threads/linux-dp.exp: Don't check the condition
6522 $threads_created equals to zero.
6524 2014-10-10 Pedro Alves <palves@redhat.com>
6526 * gdb.base/bigcore.exp: Remove references to IRIX.
6527 * gdb.base/funcargs.exp: Likewise.
6528 * gdb.base/interrupt.exp: Likewise.
6529 * gdb.base/mips_pro.exp: Likewise.
6530 * gdb.base/nodebug.exp: Likewise.
6531 * gdb.base/setvar.exp: Likewise.
6532 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6534 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6535 Pedro Alves <palves@redhat.com>
6538 * gdb.base/vdso-warning.c: New file.
6539 * gdb.base/vdso-warning.exp: New file.
6541 2014-10-02 Doug Evans <dje@google.com>
6543 * gdb.base/structs.c (main): Don't run forever.
6545 2014-10-02 Pedro Alves <palves@redhat.com>
6547 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6548 (top level) <stop threads 1, stop threads 2>: Use it.
6550 2014-10-02 Pedro Alves <palves@redhat.com>
6552 * gdb.threads/break-while-running.exp (test): Add new
6553 'update_thread_list' argument. Skip "info threads" if false.
6554 (top level): Add new 'update_thread_list' axis.
6556 2014-10-02 Pedro Alves <palves@redhat.com>
6558 PR breakpoints/17431
6559 * gdb.base/execl-update-breakpoints.c: New file.
6560 * gdb.base/execl-update-breakpoints.exp: New file.
6562 2014-10-01 Pedro Alves <palves@redhat.com>
6564 * gdb.base/breakpoint-in-ro-region.c: New file.
6565 * gdb.base/breakpoint-in-ro-region.exp: New file.
6567 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6569 * gdb.mi/mi-exit-code.exp: New file.
6570 * gdb.mi/mi-exit-code.c: New file.
6572 2014-09-30 Yao Qi <yao@codesourcery.com>
6574 * lib/prelink-support.exp (build_executable_own_libs): Error if
6575 the target isn't native.
6577 2014-09-30 Yao Qi <yao@codesourcery.com>
6579 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6582 2014-09-22 Pedro Alves <palves@redhat.com>
6584 * gdb.threads/break-while-running.exp: New file.
6585 * gdb.threads/break-while-running.c: New file.
6587 2014-09-19 Yao Qi <yao@codesourcery.com>
6589 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6590 Invoke test. Restart GDB with --readnow and invoke test again.
6592 2014-09-19 Yao Qi <yao@codesourcery.com>
6594 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6595 proc set_breakpoint_on_gcd_function. Invoke
6596 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6597 invoke set_breakpoint_on_gcd_function again.
6599 2014-09-18 Doug Evans <dje@google.com>
6601 * gdb.dwarf2/symtab-producer.exp: New file.
6603 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6605 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6606 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6607 * gdb.base/global-var-nested-by-dso.c: Likewise.
6608 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6610 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6611 Pedro Alves <palves@redhat.com>
6613 * gdb.base/watch-bitfields.exp: Pass string other than test file
6614 name to prepare_for_testing.
6615 (watch): New procedure.
6616 (expect_watchpoint): Use with_test_prefix.
6617 (top level): Factor out tests to ...
6618 (test_watch_location, test_regular_watch): ... these new
6619 procedures, and use with_test_prefix and gdb_continue_to_end.
6621 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6623 PR breakpoints/12526
6624 * gdb.base/watch-bitfields.exp: New file.
6625 * gdb.base/watch-bitfields.c: New file.
6627 2014-09-16 Pedro Alves <palves@redhat.com>
6629 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6630 software and hardware addresses, not software address against
6633 2014-09-16 Pedro Alves <palves@redhat.com>
6635 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6636 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6638 2014-09-16 Pedro Alves <palves@redhat.com>
6640 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6642 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6643 "*-*-vxworks*" throughout.
6644 * gdb.base/break.exp: Likewise.
6645 * gdb.base/default.exp: Likewise.
6646 * gdb.base/scope.exp: Likewise.
6647 * gdb.base/sepdebug.exp: Likewise.
6648 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6650 * gdb.base/run.c: Likewise.
6651 * gdb.base/sepdebug.c: Likewise.
6652 * gdb.hp/gdb.aCC/run.c: Likewise.
6653 * gdb.reverse/until-reverse.c: Likewise.
6654 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6656 2014-09-16 Yao Qi <yao@codesourcery.com>
6658 * boards/local-remote-host-native.exp: New file.
6660 2014-09-14 Doug Evans <xdje42@gmail.com>
6662 * gdb.threads/queue-signal.c (thread_count): New variable.
6663 (thread_count_mutex, thread_count_condvar): New variables.
6664 (incr_thread_count, wait_all_threads_running): New functions.
6665 (main): Wait for all threads to be in their thread functions.
6667 2014-09-13 Doug Evans <xdje42@gmail.com>
6669 * gdb.threads/queue-signal.c: New file.
6670 * gdb.threads/queue-signal.exp: New file.
6672 2014-09-13 Doug Evans <xdje42@gmail.com>
6674 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6675 be consistent with what default_gdb_init uses.
6676 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6677 the plain text of the prompt. Add some logging printfs.
6678 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6680 2014-09-12 Pedro Alves <palves@redhat.com>
6682 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6683 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6684 * gdb.arch/i386-size-overlap.exp: Likewise.
6685 * gdb.arch/i386-size.exp: Likewise.
6686 * gdb.arch/i386-unwind.exp: Likewise.
6687 * gdb.base/a2-run.exp: Likewise.
6688 * gdb.base/break.exp: Likewise.
6689 * gdb.base/charset.exp: Likewise.
6690 * gdb.base/chng-syms.exp: Likewise.
6691 * gdb.base/commands.exp: Likewise.
6692 * gdb.base/dbx.exp: Likewise.
6693 * gdb.base/find.exp: Likewise.
6694 * gdb.base/funcargs.exp: Likewise.
6695 * gdb.base/jit-simple.exp: Likewise.
6696 * gdb.base/reread.exp: Likewise.
6697 * gdb.base/sepdebug.exp: Likewise.
6698 * gdb.base/step-bt.exp: Likewise.
6699 * gdb.cp/mb-inline.exp: Likewise.
6700 * gdb.cp/mb-templates.exp: Likewise.
6701 * gdb.objc/basicclass.exp: Likewise.
6702 * gdb.threads/killed.exp: Likewise.
6704 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6707 * gdb.arch/powerpc-stackless.S: New file.
6708 * gdb.arch/powerpc-stackless.exp: New file.
6710 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6712 * gdb.base/attach.c: Include unistd.h.
6713 (main): Call alarm. Add label postloop.
6714 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6715 gdb_breakpoint, gdb_continue_to_breakpoint.
6716 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6718 2014-09-11 Pedro Alves <palves@redhat.com>
6721 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6722 * gdb.base/attach.exp (test_command_line_attach_run): New
6724 (top level): Call it.
6726 2014-09-11 Pedro Alves <palves@redhat.com>
6728 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6729 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6730 (do_command_attach_tests): Use spawn_wait_for_attach.
6731 * gdb.base/solib-overlap.exp: Likewise.
6732 * gdb.multi/multi-attach.exp: Likewise.
6733 * gdb.python/py-prompt.exp: Likewise.
6734 * gdb.python/py-sync-interp.exp: Likewise.
6735 * gdb.server/ext-attach.exp: Likewise.
6737 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6739 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6740 command in testcase. Simplify testcase.
6742 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6744 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6746 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6748 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6750 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6752 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6754 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6756 * gdb.dwarf2/dynarr-ptr.c: New file.
6757 * gdb.dwarf2/dynarr-ptr.exp: New file.
6759 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6761 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6762 of 30 rather than hardcoding 120 for a slow test case. Take the
6763 `gdb,timeout' target setting into account for this calculation.
6764 Don't extend the timeout for the test cases that don't need it.
6766 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6768 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6769 a factor of 2 for a slow test case. Take the `gdb,timeout'
6770 target setting into account for this calculation.
6771 * gdb.reverse/until-precsave.exp: Increase the timeout by
6772 a factor of 15 and 3 respectively rather than adding 120
6773 for a pair of slow test cases. Take the `gdb,timeout'
6774 target setting into account for this calculation.
6776 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6778 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6779 timeout, don't pass one down to gdb_expect.
6780 (gdb_expect): Rework timeout selection.
6782 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6784 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6785 exception on timeout.
6786 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6787 (gdbserver_start_extended): Catch any `gdbserver_start' error
6789 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6790 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6791 `gdbserver_gdb_load' error exceptions.
6793 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6795 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6796 120 on waiting for the TCP socket to open.
6798 2014-09-09 Doug Evans <xdje42@gmail.com>
6800 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6801 _caller_matches, _any_caller_is, _any_caller_matches.
6803 2014-09-09 Doug Evans <xdje42@gmail.com>
6805 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6807 2014-09-09 Yao Qi <yao@codesourcery.com>
6809 * gdb.mi/mi-var-display.exp: Set print symbol off.
6811 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6814 * gdb.base/commands.exp: Add tests to verify user-defined
6815 commands with empty bodies.
6816 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6817 python commands in `show user command`.
6818 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6819 scheme commands in `show user command`.
6821 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6824 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6825 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6826 * gdb.python/py-framefilter-invalidarg.exp: New file.
6827 * gdb.python/py-framefilter-invalidarg.py: New file.
6829 2014-09-06 Doug Evans <xdje42@gmail.com>
6832 * gdb.python/py-caller-is.c: New file.
6833 * gdb.python/py-caller-is.exp: New file.
6835 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6838 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6839 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6841 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6844 * gdb.fortran/print-formatted.exp: New file.
6845 * gdb.fortran/print-formatted.f90: Likewise.
6847 2014-09-03 Sasha Smundak <asmundak@google.com>
6849 * gdb.python/py-frame.exp: Test Frame.read_register.
6851 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6854 * gdb.python/py-completion.exp: New file.
6855 * gdb.python/py-completion.py: Likewise.
6857 2014-08-28 Doug Evans <dje@google.com>
6859 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6860 eax,etc. are live with values set by gdb and thus the compiler can't
6862 * gdb.arch/i386-pseudo.c (main): Ditto.
6864 2014-08-27 Doug Evans <dje@google.com>
6866 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6868 2014-08-25 Doug Evans <dje@google.com>
6870 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6873 2014-08-25 Doug Evans <dje@google.com>
6875 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6877 2014-08-24 Yao Qi <yao@codesourcery.com>
6879 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6881 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6883 2014-08-22 Doug Evans <dje@google.com>
6886 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6887 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6888 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6890 2014-08-22 Yao Qi <yao@codesourcery.com>
6892 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6893 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6894 * gdb.python/python.exp: Likewise. Use .py file on the host
6895 instead of the build.
6897 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6899 * gdb.threads/gcore-stale-thread.c: New file.
6900 * gdb.threads/gcore-stale-thread.exp: New file.
6902 2014-08-21 Pedro Alves <palves@redhat.com>
6904 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6905 * gdb.base/gcore-relro-pie.exp: Likewise.
6906 * gdb.base/gcore-relro.exp: Likewise.
6907 * gdb.base/gcore.exp: Likewise.
6908 * gdb.base/print-symbol-loading.exp: Likewise.
6909 * gdb.threads/gcore-thread.exp: Likewise.
6910 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6912 2014-08-20 Pedro Alves <palves@redhat.com>
6913 Jan Kratochvil <jan.kratochvil@redhat.com>
6915 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6917 (EXPECT): Handle READ1 being set.
6918 (all): Depend on EXTRA_RULES.
6919 (check-read1, expect-read1, read1.so, read1): New rules.
6920 * README (Testsuite Parameters): Document the READ1 make variable.
6921 (Race detection): New section.
6922 * configure: Regenerate.
6923 * configure.ac: If build==host==target, and running under a
6924 GNU/glibc system, add read1 to the extra Makefile rules.
6925 (EXTRA_RULES): AC_SUBST it.
6926 * lib/read1.c: New file.
6928 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6930 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6931 the handling of variables declared as a typedef to an array
6932 which a DW_AT_data_location attribute.
6934 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6935 Pedro Alves <palves@redhat.com>
6939 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6942 2014-08-19 Pedro Alves <palves@redhat.com>
6944 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6946 2014-08-19 Yao Qi <yao@codesourcery.com>
6948 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6951 2014-08-18 David Blaikie <dblaikie@gmail.com>
6953 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6955 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6957 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6958 attribute in array range.
6960 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6962 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6964 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6967 * gdb.cp/pr17132.cc: New file.
6968 * gdb.cp/pr17132.exp: New file.
6970 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6972 * gdb.python/py-xmethods.py (A_getarrayind)
6973 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6974 Use 'print' with function call syntax.
6975 (E_method_matcher.match): Fix tab vs space indentation mixup.
6977 2014-08-15 Yao Qi <yao@codesourcery.com>
6979 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6982 2014-08-15 Yao Qi <yao@codesourcery.com>
6984 * gdb.cp/casts.exp: Set print symbol off.
6985 * gdb.cp/class2.exp: Likewise.
6986 * gdb.cp/overload.exp: Likewise.
6987 * gdb.cp/templates.exp: Likewise.
6989 2014-08-11 Doug Evans <dje@google.com>
6991 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6992 (test_load_shlib): Update.
6994 2014-08-09 Yao Qi <yao@codesourcery.com>
6996 * gdb.base/display.exp: Invoke is_address_zero_readable.
6997 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6998 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6999 * gdb.base/hbreak-unmapped.exp: Return if
7000 is_address_zero_readable returns true.
7001 * gdb.base/signest.exp: Likewise.
7002 * gdb.base/signull.exp: Likewise.
7003 * gdb.base/sigbpt.exp: Likewise.
7004 * gdb.guile/scm-disasm.exp: Do the test if
7005 is_address_zero_readable returns false.
7006 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7007 * gdb.python/py-arch.exp: Likewise.
7008 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7009 * lib/gdb.exp (is_address_zero_readable): New proc.
7011 2014-08-09 Yao Qi <yao@codesourcery.com>
7014 * gdb.mi/mi-var-display.exp: Make test messages unique.
7016 2014-08-04 Tom Tromey <tromey@redhat.com>
7018 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7021 2014-08-04 Tom Tromey <tromey@redhat.com>
7023 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7026 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7028 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7029 inner_vla_struct_object_size.
7030 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7033 2014-07-30 Pedro Alves <palves@redhat.com>
7035 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7038 2014-07-29 Yao Qi <yao@codesourcery.com>
7041 * gdb.base/until-nodebug.exp: New.
7043 2014-07-28 Doug Evans <xdje42@gmail.com>
7046 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7047 previously existing parameter, and previously ambiguously spelled
7050 2014-07-28 Will Newton <will.newton@linaro.org>
7052 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7054 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7055 Doug Evans <xdje42@gmail.com>
7058 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7060 2014-07-25 Pedro Alves <palves@redhat.com>
7062 * gdb.threads/signal-command-handle-nopass.c: New file.
7063 * gdb.threads/signal-command-handle-nopass.exp: New file.
7064 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7065 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7066 * gdb.threads/signal-delivered-right-thread.c: New file.
7067 * gdb.threads/signal-delivered-right-thread.exp: New file.
7069 2014-07-25 Pedro Alves <palves@redhat.com>
7071 * gdb.base/double-prompt-target-event-error.exp
7072 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7074 (cancel_pagination_in_target_event): Rework double prompt
7076 * gdb.base/paginate-after-ctrl-c-running.exp
7077 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7079 * gdb.base/paginate-bg-execution.exp
7080 (test_bg_execution_pagination_return)
7081 (test_bg_execution_pagination_cancel): Remove '-notransfer
7083 * gdb.base/paginate-execution-startup.exp
7084 (test_fg_execution_pagination_return)
7085 (test_fg_execution_pagination_cancel): Remove '-notransfer
7087 * gdb.base/paginate-inferior-exit.exp
7088 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7090 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7091 * lib/gdb.exp (pagination_prompt): Run text through
7093 (gdb_test_multiple): Match $pagination_prompt instead of
7095 (string_to_regexp): Move to lib/gdb-utils.exp.
7097 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7099 * gdb.arch/amd64-entry-value-paramref.S: New file.
7100 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7101 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7102 * gdb.arch/amd64-optimout-repeat.S: New file.
7103 * gdb.arch/amd64-optimout-repeat.c: New file.
7104 * gdb.arch/amd64-optimout-repeat.exp: New file.
7106 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7109 * gdb.base/statistics.exp: New file.
7111 2014-07-17 Doug Evans <dje@google.com>
7114 * gdb.base/maint.exp: Update testing of per-command stats.
7116 2014-07-16 Pedro Alves <palves@redhat.com>
7118 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7119 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7120 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7121 (tfile_write_buf): New functions.
7122 (add_memory_block): Rewrite using the above.
7123 (adjust_function_address): New function.
7124 (FUNCTION_ADDRESS): New macro.
7125 (write_basic_trace_file): Remove short_x local, and use
7126 tfile_write_16. Change type of func_addr local to unsigned long
7127 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7128 here. Cast argument of add_memory_block to char pointer.
7129 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7130 (main): Remove parameters.
7131 * gdb.trace/tfile.exp: Remove nowarnings.
7133 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7135 * gdb.base/debug-expr.exp: Test string evaluation with
7136 "debug expression" on.
7138 2014-07-15 Pedro Alves <palves@redhat.com>
7140 * gdb.base/reread.exp: Use clean_restart.
7142 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7144 * gdb.arch/avr-flash-qualifer.c: New.
7145 * gdb.arch/avr-flash-qualifer.exp: New.
7147 2014-07-14 Pedro Alves <palves@redhat.com>
7149 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7150 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7152 2014-07-14 Pedro Alves <palves@redhat.com>
7154 * gdb.base/double-prompt-target-event-error.c: New file.
7155 * gdb.base/double-prompt-target-event-error.exp: New file.
7157 2014-07-14 Pedro Alves <palves@redhat.com>
7160 * gdb.base/paginate-inferior-exit.c: New file.
7161 * gdb.base/paginate-inferior-exit.exp: New file.
7163 2014-07-14 Pedro Alves <palves@redhat.com>
7166 * gdb.base/paginate-bg-execution.c: New file.
7167 * gdb.base/paginate-bg-execution.exp: New file.
7169 2014-07-14 Pedro Alves <palves@redhat.com>
7172 * gdb.base/paginate-execution-startup.c: New file.
7173 * gdb.base/paginate-execution-startup.exp: New file.
7174 * lib/gdb.exp (pagination_prompt): New global.
7175 (default_gdb_spawn): New procedure, factored out from
7177 (default_gdb_start): Adjust to call default_gdb_spawn.
7178 (gdb_spawn): New procedure.
7180 2014-07-14 Pedro Alves <palves@redhat.com>
7182 * lib/gdb.exp (gdb_assert): New procedure.
7183 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7185 2014-07-14 Pedro Alves <palves@redhat.com>
7187 * gdb.base/execution-termios.c: New file.
7188 * gdb.base/execution-termios.exp: New file.
7190 2014-07-14 Tom Tromey <tromey@redhat.com>
7192 * gdb.cp/vla-cxx.cc: New file.
7193 * gdb.cp/vla-cxx.exp: New file.
7195 2014-07-14 Tom Tromey <tromey@redhat.com>
7197 * gdb.reverse/rerun-prec.c: New file.
7198 * gdb.reverse/rerun-prec.exp: New file.
7200 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7201 Maciej W. Rozycki <macro@codesourcery.com>
7203 * lib/gdb-utils.exp: New file.
7204 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7205 inline `gdb_init_command' processing.
7206 (gdb_start_cmd): Likewise.
7207 * lib/mi-support.exp (mi_run_cmd): Likewise.
7208 * README: Document `gdb_init_command' and `gdb_init_commands'.
7210 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7212 Fix false FAIL running under a very long directory name.
7213 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7214 and "set print elements 10000". Twice.
7216 2014-07-11 Yao Qi <yao@codesourcery.com>
7218 * gdb.base/exprs.exp: "set print symbol off".
7220 2014-07-11 Pedro Alves <palves@redhat.com>
7222 * gdb.threads/kill.c: New file.
7223 * gdb.threads/kill.exp: New file.
7225 2014-07-10 Yao Qi <yao@codesourcery.com>
7227 * gdb.trace/tfile.c (write_basic_trace_file)
7228 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7229 address written to trace file.
7231 2014-07-09 Pedro Alves <palves@redhat.com>
7233 * gdb.base/attach-wait-input.exp: New file.
7234 * gdb.base/attach-wait-input.c: New file.
7236 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7238 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7239 setting up test structures.
7240 (main): Call new test function.
7241 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7242 test function, continue into test function and walk test
7245 2014-07-02 Yao Qi <yao@codesourcery.com>
7247 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7248 'bar_start' at the beginning of functions 'foo' and 'bar'
7250 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7251 instead of 'foo' and 'bar'.
7253 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7255 * gdb.btrace/segv.exp: New.
7256 * gdb.btrace/segv.c: New.
7258 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7260 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7263 2014-06-30 Mark Wielaard <mjw@redhat.com>
7265 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7266 vulture, vilify, villar): New volatile array constants.
7267 (vindictive, vegetation): New const volatile array constants.
7268 * gdb.base/volatile.exp: Test volatile and const volatile array
7271 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7273 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7274 target lacks support for awatch, rwatch, or hbreak.
7276 2014-06-27 Yao Qi <yao@codesourcery.com>
7278 * gdb.multi/dummy-frame-restore.exp: New.
7279 * gdb.multi/dummy-frame-restore.c: New.
7281 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7283 * gdb.btrace/gcore.exp: New.
7285 2014-06-23 Pedro Alves <palves@redhat.com>
7287 * gdb.base/watchpoint-reuse-slot.c: New file.
7288 * gdb.base/watchpoint-reuse-slot.exp: New file.
7290 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7292 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7293 progspace's filename in 'info', 'enable' and 'disable' command
7296 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7298 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7299 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7300 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7302 2014-06-20 Gary Benson <gbenson@redhat.com>
7304 * gdb.arch/i386-avx.exp: Fix include file location.
7305 * gdb.arch/i386-sse.exp: Likewise.
7307 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7309 * gdb.dlang/expression.exp: New file.
7311 2014-06-19 Pedro Alves <palves@redhat.com>
7313 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7315 (top level): ... here. Iterate running tests under different
7316 scheduler-locking settings.
7318 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7320 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7321 to DW_FORM_addr and use non-zero addresses.
7323 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7326 * gdb.python/py-xmethods.cc: Add global function call counters and
7327 increment them in their respective functions. Remove "cout"
7329 * gdb.python/py-xmethods.exp: Make tests check the global function
7330 call counters instead of depending on inferior IO.
7332 2014-06-18 Don Breazeal <donb@codesourcery.com>
7334 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7336 (explicit_fork_parent_follow): Deleted procedure.
7337 (explicit_fork_child_follow): Deleted procedure.
7338 (test_follow_fork): New procedure.
7339 (do_fork_tests): Replace calls to deleted procedures with
7340 calls to test_follow_fork and reset GDB for subsequent
7343 2014-06-17 Yao Qi <yao@codesourcery.com>
7345 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7348 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7350 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7351 Initialize ptr and S explicitly.
7352 (skip_type_update_when_not_use_rtti_test): Likewise.
7354 2014-06-16 Keith Seitz <keiths@redhat.com>
7357 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7358 the inferior is started.
7360 2014-06-16 Pedro Alves <palves@redhat.com>
7362 * gdb.base/break-main-file-remove-fail.c: New file.
7363 * gdb.base/break-main-file-remove-fail.exp: New file.
7364 * gdb.base/break-unload-file.exp: Use build_executable instead of
7365 prepare_for_testing.
7366 (test_break): New parameter "initial_load". Handle it.
7367 (top level): Add initial_load cmdline/file axis.
7369 2014-06-12 Tom Tromey <tromey@redhat.com>
7371 * gdb.base/completion.exp: Don't use directory name in test.
7373 2014-06-09 Gary Benson <gbenson@redhat.com>
7375 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7376 separate the always-available ANSI-standard signals from the
7377 signals that require checking.
7379 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7383 2014-06-07 Keith Seitz <keiths@redhat.com>
7387 * gdb.cp/var-tag.cc: New file.
7388 * gdb.cp/var-tag.exp: New file.
7389 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7390 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7391 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7392 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7394 2014-06-06 Doug Evans <xdje42@gmail.com>
7396 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7398 2014-06-06 Pedro Alves <palves@redhat.com>
7400 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7401 in target debug output instead of looking at RSP packets,
7402 disabling the test on any target that uses hardware stepping.
7405 2014-06-06 Pedro Alves <palves@redhat.com>
7407 * gdb.base/break-unload-file.exp: Fix typo.
7409 2014-06-06 Yao Qi <yao@codesourcery.com>
7411 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7412 from "jit_function" to "^jit_function".
7414 2014-06-06 Yao Qi <yao@codesourcery.com>
7416 * gdb.base/async.c (foo): Add one statement.
7417 * gdb.base/async.exp: Get the next instruction address and
7418 match the output of "nexti" by instruction address. Match
7419 the hex address in the output of "finish".
7421 2014-06-06 Gary Benson <gbenson@redhat.com>
7423 * gdb.base/call-signals.c: Remove preprocessor conditionals
7424 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7425 SIGSEGV and SIGTERM.
7426 * gdb.base/sigall.c: Likewise.
7427 * gdb.base/unwindonsignal.c: Likewise.
7428 * gdb.reverse/sigall-reverse.c: Likewise.
7430 2014-06-06 Yao Qi <yao@codesourcery.com>
7432 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7433 readable, skip the test.
7435 2014-06-06 Yao Qi <yao@codesourcery.com>
7437 * gdb.threads/staticthreads.c (thread_function): Move the line
7438 setting breakpoint on forward.
7439 * gdb.threads/staticthreads.exp: Update comments.
7441 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7443 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7444 "history-append! type error".
7446 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7448 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7449 erroneous dprintf expected input.
7451 2014-06-04 Doug Evans <xdje42@gmail.com>
7453 * gdb.guile/scm-generics.exp: Delete.
7455 2014-06-04 Doug Evans <xdje42@gmail.com>
7457 * gdb.guile/scm-breakpoint.exp: Update.
7458 Add tests for breakpoint registration.
7460 2014-06-04 Tom Tromey <tromey@redhat.com>
7462 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7464 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7465 inner_vla_struct, vla_union types. Initialize objects of those
7466 types and compute their sizes.
7468 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7469 Hui Zhu <hui@codesourcery.com>
7471 * gdb.base/fileio.exp: Add test for shell not available as well as
7473 * gdb.base/fileio.c (test_system): Check for shell twice.
7475 2014-06-04 Yao Qi <yao@codesourcery.com>
7477 * gdb.base/auto-connect-native-target.exp: Remove redundant
7478 space from the regexp pattern.
7480 2014-06-04 Yao Qi <yao@codesourcery.com>
7482 * gdb.base/default.exp: Replace "child" with "native" in
7485 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7487 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7488 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7489 * gdb.python/py-xmethods.py: Python script supporting the
7490 new testcase and tests.
7492 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7493 Pedro Alves <palves@redhat.com>
7495 PR breakpoints/17000
7496 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7497 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7499 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7501 * gdb.base/subst.exp: Add tests to verify partial path matching
7504 2014-06-03 Pedro Alves <palves@redhat.com>
7506 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7507 target that doesn't use software single-stepping.
7509 2014-06-03 Pedro Alves <palves@redhat.com>
7511 PR breakpoints/17000
7512 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7513 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7515 2014-06-02 Doug Evans <xdje42@gmail.com>
7517 * gdb.guile/scm-parameter.exp: New file.
7519 2014-06-02 Doug Evans <xdje42@gmail.com>
7521 * gdb.guile/scm-cmd.c: New file.
7522 * gdb.guile/scm-cmd.exp: New file.
7524 2014-06-02 Doug Evans <xdje42@gmail.com>
7526 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7527 pretty-printer lookup.
7528 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7529 (make-pp_s-printer): Call it.
7530 (make-pretty-printer-from-dict): New function.
7531 (lookup-pretty-printer-maker-from-dict): New function.
7532 (*pretty-printer*): Simplify.
7533 (make-objfile-pp_s-printer): New function.
7534 (install-objfile-pretty-printers!): New function.
7535 (make-progspace-pp_s-printer): New function.
7536 (install-progspace-pretty-printers!): New function.
7537 * gdb.guile/scm-progspace.c: New file.
7538 * gdb.guile/scm-progspace.exp: New file.
7540 2014-06-02 Pedro Alves <palves@redhat.com>
7542 * gdb.base/dprintf-bp-same-addr.c: New file.
7543 * gdb.base/dprintf-bp-same-addr.exp: New file.
7545 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7547 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7548 * gdb.arch/powerpc-power.s: Likewise.
7550 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7552 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7554 2014-06-01 Yao Qi <yao@codesourcery.com>
7556 * gdb.base/watchpoint.exp (test_watch_location): Check null
7557 pointer can be dereferenced. If not, do the test, otherwise
7560 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7562 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7564 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7566 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7568 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7569 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7570 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7571 * gdb.arch/amd64-invalid-stack-top.c: New file.
7572 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7574 2014-05-30 Pedro Alves <palves@redhat.com>
7576 PR breakpoints/17000
7577 * gdb.base/sss-bp-on-user-bp.c: New file.
7578 * gdb.base/sss-bp-on-user-bp.exp: New file.
7580 2014-05-30 David Blaikie <dblaikie@gmail.com>
7582 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7583 gnu_inline semantics via attribute.
7584 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7585 source explicitly specifies the required semantics.
7587 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7589 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7591 2014-05-29 Pedro Alves <palves@redhat.com>
7592 Tom Tromey <tromey@redhat.com>
7594 * gdb.base/async-shell.exp: Don't enable target-async.
7595 * gdb.base/async.exp
7596 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7598 (top level): Don't test with "target-async".
7599 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7600 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7601 * gdb.base/inferior-died.exp: Don't enable target-async.
7602 * gdb.base/interrupt-noterm.exp: Likewise.
7603 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7604 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7605 * gdb.mi/mi-nonstop.exp: Likewise.
7606 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7607 * gdb.mi/mi-nsintrall.exp: Likewise.
7608 * gdb.mi/mi-nsmoribund.exp: Likewise.
7609 * gdb.mi/mi-nsthrexec.exp: Likewise.
7610 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7611 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7612 * gdb.python/py-evsignal.exp: Don't enable target-async.
7613 * gdb.python/py-evthreads.exp: Likewise.
7614 * gdb.python/py-prompt.exp: Likewise.
7615 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7616 * gdb.server/solib-list.exp: Don't enable target-async.
7617 * gdb.threads/thread-specific-bp.exp: Likewise.
7618 * lib/mi-support.exp: Adjust to use mi-async.
7620 2014-05-29 Pedro Alves <palves@redhat.com>
7623 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7624 reason, even in sync mode.
7626 2014-05-29 Pedro Alves <palves@redhat.com>
7627 Hui Zhu <hui@codesourcery.com>
7630 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7631 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7632 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7633 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7635 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7637 * config/monitor.exp (gdb_target_monitor): Replace use of
7638 "set remotebaud" by "set serial baud".
7640 2014-05-26 Andy Wingo <wingo@igalia.com>
7642 * gdb.guile/scm-breakpoint.exp:
7643 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7644 properties instead of gdb-object-properties.
7646 2014-05-26 Yao Qi <yao@codesourcery.com>
7648 * gdb.server/no-thread-db.exp: Specify source file name
7649 explicitly when setting a breakpoint.
7651 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7653 * gdb.btrace/vdso.c: New.
7654 * gdb.btrace/vdso.exp: New.
7656 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7658 * gdb.base/gcore.exp (capture_command_output): Move ...
7659 * lib/gdb.exp (capture_command_output): ... here.
7661 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7663 * gdb.btrace/data.exp: Test memory access during btrace replay.
7665 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7667 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7669 2014-05-21 Pedro Alves <palves@redhat.com>
7672 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7673 (top level): Test that output related to execution commands is
7674 sent to the console with CLI commands, but not with MI commands.
7675 Test that breakpoint events are always mirrored to the console.
7676 Also expect the new source line to be output after a "next" in
7677 async mode too. Make it a pass/fail test.
7678 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7680 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7682 2014-05-21 Pedro Alves <palves@redhat.com>
7684 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7685 Use them to test variations of "list" after reaching a breakpoint.
7686 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7687 Test "list" with listsize 10 after reaching a breakpoint.
7688 * gdb.python/python.exp (decode_line current location line
7689 number): Adjust expected line number.
7691 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7693 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7694 behavior for $args, pass it directly to "run".
7696 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7698 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7701 2014-05-21 Pedro Alves <palves@redhat.com>
7703 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7704 auto-connect-native-target off".
7705 * gdb.base/auto-connect-native-target.c: New file.
7706 * gdb.base/auto-connect-native-target.exp: New file.
7708 2014-05-21 Pedro Alves <palves@redhat.com>
7710 * gdb.base/default.exp: Test "target native" instead of "target
7713 2014-05-21 Mark Wielaard <mjw@redhat.com>
7715 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7717 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7719 Fix TLS access for -static -pthread.
7720 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7721 <HAVE_TLS> (thread_function, main): Initialize it.
7722 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7724 <$have_tls != "">: Check TLSVAR.
7726 2014-05-21 Pedro Alves <palves@redhat.com>
7728 * gdb.base/dcache-line-read-error.c: New.
7729 * gdb.base/dcache-line-read-error.exp: New.
7731 2014-05-20 Pedro Alves <palves@redhat.com>
7733 * gdb.base/compare-sections.c: New file.
7734 * gdb.base/compare-sections.exp: New file.
7736 2014-05-20 Pedro Alves <palves@redhat.com>
7738 * gdb.base/break-idempotent.c: New file.
7739 * gdb.base/break-idempotent.exp: New file.
7741 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7743 * gdb.btrace/nohist.exp: New.
7745 2014-05-20 Yao Qi <yao@codesourcery.com>
7747 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7748 gdb.reverse directory and gdb_reverse_timeout exists in board
7750 * README: Document gdb_reverse_timeout.
7752 2014-05-20 Yao Qi <yao@codesourcery.com>
7754 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7755 'test_file_name'. Treat args as a string instead of a list.
7756 (gdb_init): Rename argument 'args' by 'test_file_name'.
7758 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7760 * gdb.arch/powerpc-power.exp: New file.
7761 * gdb.arch/powerpc-power.s: New file.
7763 2014-05-16 Doug Evans <dje@google.com>
7765 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7766 * gdb.base/completion.exp: Check that all expected files exist
7767 before doing file completion.
7769 2014-05-16 Doug Evans <dje@google.com>
7771 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7773 (do_syscall_tests_without_xml): Update.
7775 2014-05-16 Pedro Alves <palves@redhat.com>
7777 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7778 instead of "unknown output after running".
7780 2014-05-16 Yao Qi <yao@codesourcery.com>
7782 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7783 file1.txt from host at the end.
7784 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7786 2014-05-15 Doug Evans <dje@google.com>
7788 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7789 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7790 loading file. Add test for TU lookup.
7792 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7794 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7795 calling "-exec-arguments" or "set args" before running the
7798 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7800 * lib/mi-support.exp (mi_expect_stop): Expect message for
7801 inferiors that exit with non-zero exit code.
7803 2014-05-14 Yao Qi <yao@codesourcery.com>
7805 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7806 match absolute path on remote host.
7807 (test_file_list_exec_source_files): Remove "/" from the
7810 2014-05-14 Yao Qi <yao@codesourcery.com>
7812 * boards/local-remote-host-notty.exp (${board}_file): New
7815 2014-05-07 Kyle McMartin <kyle@redhat.com>
7817 Pushed by Joel Brobecker <brobecker@adacore.com>.
7818 * gdb.arch/aarch64-atomic-inst.c: New file.
7819 * gdb.arch/aarch64-atomic-inst.exp: New file.
7821 2014-05-07 Yao Qi <yao@codesourcery.com>
7823 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7824 in current context" too.
7826 2014-05-05 Keith Seitz <keiths@redhat.com>
7828 * gdb.linespec/ls-dollar.exp: Add test for linespec
7829 file:convenience_variable.
7831 2014-05-05 Yao Qi <yao@codesourcery.com>
7833 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7834 traceframes into tfile and ctf trace files. Read data from
7835 trace file and test collected data.
7836 (gdb_collect_locals_test): Likewise.
7837 (gdb_unavailable_registers_test): Likewise.
7838 (gdb_unavailable_floats): Likewise.
7839 (gdb_collect_globals_test): Likewise.
7840 (top-level): Append "ctf" to trace_file_targets if GDB
7843 2014-05-05 Yao Qi <yao@codesourcery.com>
7845 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7847 (gdb_collect_args_test_1): ... it. New proc.
7848 (gdb_collect_locals_test): Move some code to ...
7849 (gdb_collect_locals_test_1): ... it. New proc.
7850 (gdb_unavailable_registers_test): Move some code to ...
7851 (gdb_unavailable_registers_test_1): ... it. New proc.
7852 (gdb_unavailable_floats): Move some code to ...
7853 (gdb_unavailable_floats_1): ... it. New proc.
7855 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7857 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7858 probes to test for bitness recognition.
7859 * gdb.arch/amd64-stap-optional-prefix.exp
7860 (test_probe_value_without_reg): New procedure.
7861 Add code to test for different kinds of bitness.
7863 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7865 PR breakpoints/16889
7866 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7867 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7869 2014-05-01 Pedro Alves <palves@redhat.com>
7871 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7872 gdb_file_cmd if no file is specified.
7873 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7874 last_loaded_file to set the remote exec-file.
7876 2014-05-01 Pedro Alves <palves@redhat.com>
7878 * boards/local-remote-host.exp: New file.
7880 2014-05-01 Pedro Alves <palves@redhat.com>
7882 * boards/local-remote-host.exp: Rename to ...
7883 * boards/local-remote-host-notty.exp: ... this.
7885 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7887 * gdb.ada/dyn_arrayidx: New testcase.
7889 2014-04-26 Yao Qi <yao@codesourcery.com>
7891 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7892 and compute the length of function main. Save it in
7894 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7895 (top-level): Use gdb_compile to compile objects into
7896 executable and restart GDB. Remove invocation to
7897 prepare_for_testing.
7899 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7900 Pedro Alves <palves@redhat.com>
7903 * gdb.multi/multi-attach.c: New file.
7904 * gdb.multi/multi-attach.exp: New file.
7906 2014-04-25 Pedro Alves <palves@redhat.com>
7908 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7910 (top level): Test that "set remote conditional-breakpoints-packet
7911 off" works as intended.
7912 * gdb.base/dprintf.exp: Test that "set remote
7913 breakpoint-commands-packet off" works as intended.
7914 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7916 (top level): Call it.
7917 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7918 remote fast-tracepoints-packet off" works as intended.
7919 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7920 * lib/gdb.exp (gdb_is_target_remote): ... here.
7922 2014-04-24 David Blaikie <dblaikie@gmail.com>
7924 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7925 ensure clang would not discard them.
7926 * gdb.base/gdbvars.c: Ditto.
7927 * gdb.base/memattr.c: Ditto.
7928 * gdb.base/whatis.c: Ditto.
7929 * gdb.python/py-prettyprint.c: Ditto.
7930 * gdb.trace/actions.c: Ditto.
7931 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7932 ensure clang would not discard it.
7934 2014-04-24 David Blaikie <dblaikie@gmail.com>
7936 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7937 clang to emit the full definition of type required by the test
7938 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7940 2014-04-24 David Blaikie <dblaikie@gmail.com>
7942 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7943 coax Clang into emitting the definition of the type.
7944 * gdb.cp/pr10728-x.h (y): Ditto.
7945 * gdb.cp/pr10728-y.cc (y): Ditto.
7947 2014-04-24 David Blaikie <dblaikie@gmail.com>
7949 * gdb.base/label.exp: XFAIL label related tests under Clang.
7950 * gdb.cp/cplabel.exp: Ditto.
7951 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7952 under Clang those using labels.
7954 2014-04-25 Yao Qi <yao@codesourcery.com>
7956 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7958 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7959 partial_label and double_label.
7961 2014-04-24 David Blaikie <dblaikie@gmail.com>
7963 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7965 2014-04-24 David Blaikie <dblaikie@gmail.com>
7967 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7968 of the function to work across GCC and Clang.
7969 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7970 pointer types (const void ** const V void **).
7972 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7973 Walfred Tedeschi <walfred.tedeschi@intel.com>
7975 * Makefile.in (EXECUTABLES): Added i386-avx512.
7976 * gdb.arch/i386-avx512.c: New file.
7977 * gdb.arch/i386-avx512.exp: Likewise.
7979 2014-04-23 Keith Seitz <keiths@redhat.com>
7981 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7982 (mi_make_breakpoint_table): New procedure.
7983 (mi_create_breakpoint): Use mi_make_breakpoint
7984 and return the result.
7985 (mi_make_breakpoint): New procedure.
7986 (mi_build_kv_pairs): New procedure.
7988 * gdb.mi/mi-break.exp: Remove unused globals,
7989 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7990 All callers updated.
7991 * gdb.mi/mi-dprintf.exp: Use variable to track command
7993 Update all callers of mi_create_breakpoint and use
7994 mi_make_breakpoint_table.
7995 Remove any unused global variables.
7996 * gdb.mi/mi-nonstop.exp: Likewise.
7997 * gdb.mi/mi-nsintrall.exp: Likewise.
7998 * gdb.mi/mi-nsmoribund.exp: Likewise.
7999 * gdb.mi/mi-nsthrexec.exp: Likewise.
8000 * gdb.mi/mi-reverse.exp: Likewise.
8001 * gdb.mi/mi-simplerun.exp: Likewise.
8002 * gdb.mi/mi-stepn.exp: Likewise.
8003 * gdb.mi/mi-syn-frame.exp: Likewise.
8004 * gdb.mi/mi-until.exp: Likewise.
8005 * gdb.mi/mi-var-cp.exp: Likewise.
8006 * gdb.mi/mi-var-display.exp: Likewise.
8007 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8008 * gdb.mi/mi2-var-child.exp: Likewise.
8009 * gdb.mi/mi-vla-c99.exp: Likewise.
8010 * lib/mi-support.exp: Likewise.
8012 From Ian Lance Taylor <iant@cygnus.com>:
8013 * lib/gdb.exp (parse_args): New procedure.
8015 2014-04-23 Pedro Alves <palves@redhat.com>
8017 * gdb.base/break-unload-file.c: New file.
8018 * gdb.base/break-unload-file.exp: New file.
8019 * gdb.base/sym-file-lib.c (baz): New function.
8020 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8022 (load): Store the segment's mapped size.
8023 (unload): New function.
8024 (unload_shlib): New function.
8025 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8026 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8027 set a breakpoint at baz, and call it.
8028 * gdb.base/sym-file.exp: New tests for stale breakpoint
8031 2014-04-23 Pedro Alves <palves@redhat.com>
8033 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8034 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8035 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8036 * gdb.base/hbreak-unmapped.c: New file.
8037 * gdb.base/hbreak-unmapped.exp: New file.
8038 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8039 * lib/gdb.exp (gdb_is_target_remote): ... here.
8041 2014-04-22 Pedro Alves <palves@redhat.com>
8043 * gdb.base/consecutive-step-over.c: New file.
8044 * gdb.base/consecutive-step-over.exp: New file.
8046 2014-04-22 Pedro Alves <palves@redhat.com>
8048 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8049 instead of send_gdb/gdb_expect.
8051 2014-04-22 Yao Qi <yao@codesourcery.com>
8053 * lib/trace-support.exp (generate_tracefile): New procedure.
8054 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8056 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8057 if generate_tracefile returns 1.
8059 2014-04-18 Tom Tromey <palves@redhat.com>
8060 Pedro alves <tromey@redhat.com>
8063 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8064 with a backtrace limit.
8065 * gdb.python/py-frame-inline.exp: Test running to an inline
8066 function with a backtrace limit, and printing the newest frame.
8067 * gdb.python/py-frame-inline.c (main): Call f.
8069 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8071 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8073 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8075 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8076 Drop prefix from unsupported source file path.
8078 2014-04-17 Yao Qi <yao@codesourcery.com>
8080 * lib/gdb.exp (with_target_charset): New proc.
8081 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8082 with_target_charset.
8083 (test_print_strings): Likewise.
8084 (test_repeat_bytes): Likewise.
8085 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8088 2014-04-16 Keith Seitz <keiths@redhat.com>
8091 * gdb.dwarf2/corrupt.c: New file.
8092 * gdb.dwarf2/corrupt.exp: New file.
8094 2014-04-16 Keith Seitz <keiths@redhat.com>
8097 * gdb.cp/namelessclass.cc: New file.
8098 * gdb.cp/namelessclass.exp: New file.
8099 * gdb.cp/namelessclass.S: New file.
8101 2014-04-16 Doug Evans <dje@google.com>
8103 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8105 (gdbserver_default_get_comm_port): New function.
8106 (gdbserver_start): Check if board file provided
8107 "gdbserver,get_comm_port" and use it if so.
8108 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8109 (gdb,socketport): Set to "stdio".
8110 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8111 (stdio_gdbserver_template): Delete.
8112 (${board}_get_remote_address): Update.
8113 (${board}_build_remote_cmd): Delete.
8114 (${board}_get_comm_port): New function.
8115 (${board}_spawn): Update.
8116 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8118 (${board}_get_remote_address): Update.
8119 (${board}_get_comm_port): New function.
8121 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8123 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8124 appearing in any order.
8126 2014-04-15 Doug Evans <dje@google.com>
8128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8129 uninitialized value of "description".
8131 2014-04-15 Keith Seitz <keiths@redhat.com>
8133 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8134 Remove unused globals.
8135 (test_running_the_program): Likewise.
8136 (test_controlled_execution): Likewise.
8137 (test_controlling_breakpoints): Likewise.
8138 (test_program_termination): Likewise.
8140 2014-04-15 Keith Seitz <keiths@redhat.com>
8142 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8144 (test_rbreak_creation_and_listing): Likewise.
8145 (test_ignore_count): Likewise.
8146 (test_error): Likewise.
8148 2014-04-15 Pedro Alves <palves@redhat.com>
8150 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8151 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8153 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8154 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8155 to sym-file-loader.c.
8156 (struct library): Forward declare.
8157 (load_shlib, lookup_function): Change prototypes.
8158 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8159 (translate_offset): Remove declarations.
8160 (get_text_addr): New declaration.
8161 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8162 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8164 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8165 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8166 here from sym-file-loader.h.
8167 (struct library): New structure.
8168 (load_shlib, lookup_function): Change prototypes and adjust to
8169 work with a struct library.
8170 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8171 (translate_offset): Make static.
8172 (get_text_addr): New function.
8173 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8175 2014-04-15 Pedro Alves <palves@redhat.com>
8177 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8179 2014-04-15 Pedro Alves <palves@redhat.com>
8181 * gdb.base/sym-file-loader.c: Include <limits.h>.
8182 (SELF_LINK): New define.
8183 (get_origin): New function.
8184 (load_shlib): Use it.
8185 * gdb.base/sym-file.exp: Don't early return if the target is
8186 remote. Use runto_main, and issue fail is that fails. Use
8188 (shlib_name): Delete.
8189 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8191 2014-04-15 Pedro Alves <palves@redhat.com>
8193 * gdb.base/sym-file.exp: Remove regex characters from test
8194 message. Don't refer to breakpoint numbers in test messages.
8196 2014-04-14 Keith Seitz <keiths@redhat.com>
8199 * gdb.cp/var-tag.cc: New file.
8200 * gdb.cp/var-tag.exp: New file.
8201 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8202 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8203 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8204 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8206 2014-04-14 Tom Tromey <tromey@redhat.com>
8208 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8209 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8211 * gdb.cp/enum-class.exp: New file.
8212 * gdb.cp/enum-class.cc: New file.
8214 2014-04-14 Tom Tromey <tromey@redhat.com>
8216 * gdb.dwarf2/enum-type.exp: New file.
8218 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8220 * gdb.mi/mi-vla-c99.exp: New file.
8221 * gdb.mi/vla.c: New file.
8223 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8225 * gdb.base/vla-datatypes.c: New file.
8226 * gdb.base/vla-datatypes.exp: New file.
8228 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8230 * gdb.base/vla-ptr.c: New file.
8231 * gdb.base/vla-ptr.exp: New file.
8233 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8235 * gdb.dwarf2/count.exp: New file.
8237 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8239 * gdb.base/vla-sideeffect.c: New file.
8240 * gdb.base/vla-sideeffect.exp: New file.
8242 2014-04-14 David Blaikie <dblaikie@gmail.com>
8244 * gdb.mi/non-stop.c: Add return value for non-void function return
8246 * gdb.threads/staticthreads.c: Ditto.
8248 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8249 Doug Evans <xdje42@gmail.com>
8251 * gdb.guile/scm-value.c: Improve test case.
8252 * gdb.guile/scm-value.exp: Add new test.
8254 2014-04-11 David Blaikie <dblaikie@gmail.com>
8256 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8257 override Clang's default.
8259 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8261 Revert the following changes (regressions):
8263 * gdb.base/vla-sideeffect.c: New file.
8264 * gdb.base/vla-sideeffect.exp: New file.
8266 * gdb.dwarf2/count.exp: New file.
8268 * gdb.base/vla-multi.c: New file.
8269 * gdb.base/vla-multi.exp: New file.
8271 * gdb.base/vla-ptr.c: New file.
8272 * gdb.base/vla-ptr.exp: New file.
8274 * gdb.base/vla-datatypes.c: New file.
8275 * gdb.base/vla-datatypes.exp: New file.
8277 * gdb.mi/mi-vla-c99.exp: New file.
8278 * gdb.mi/vla.c: New file.
8280 2014-04-11 Keith Seitz <keiths@redhat.com>
8283 * gdb.cp/cpsizeof.exp: New file.
8284 * gdb.cp/cpsizeof.cc: New file.
8286 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8288 * gdb.mi/mi-vla-c99.exp: New file.
8289 * gdb.mi/vla.c: New file.
8291 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8293 * gdb.base/vla-datatypes.c: New file.
8294 * gdb.base/vla-datatypes.exp: New file.
8296 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8298 * gdb.base/vla-ptr.c: New file.
8299 * gdb.base/vla-ptr.exp: New file.
8301 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8303 * gdb.base/vla-multi.c: New file.
8304 * gdb.base/vla-multi.exp: New file.
8306 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8308 * gdb.dwarf2/count.exp: New file.
8310 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8312 * gdb.base/vla-sideeffect.c: New file.
8313 * gdb.base/vla-sideeffect.exp: New file.
8315 2014-04-11 Yao Qi <yao@codesourcery.com>
8317 * gdb.base/completion.exp: Check file exists before running tests
8320 2014-04-10 Pedro Alves <palves@redhat.com>
8322 * gdb.base/cond-eval-mode.c: New file.
8323 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8324 prepare_for_testing to build the new file. Check result of
8326 (test_break, test_watch): New procedures.
8327 (top level): Use them.
8329 2014-04-08 Pierre Muller <muller@sourceware.org>
8331 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8332 Ctrl-V use for mingw hosts.
8334 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8336 * gdb.python/py-value.c: Improve test case.
8337 * gdb.python/py-value.exp: Add new test.
8339 2014-04-07 David Blaikie <dblaikie@gmail.com>
8341 * lib/compiler.c: Identify the clang compiler.
8342 * lib/compiler.cc: Ditto.
8344 2014-04-03 Yao Qi <yao@codesourcery.com>
8346 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8348 2014-04-01 Anton Blanchard <anton@samba.org>
8350 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8353 2014-04-01 Anton Blanchard <anton@samba.org>
8355 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8356 prepare_for_testing.
8358 2014-04-01 Anton Blanchard <anton@samba.org>
8360 * gdb.arch/ppc64-atomic-inst.c: Remove.
8361 * gdb.arch/ppc64-atomic-inst.S: New file.
8362 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8364 2014-03-31 Doug Evans <dje@google.com>
8366 * gdb.base/print-symbol-loading-lib.c: New file.
8367 * gdb.base/print-symbol-loading-main.c: New file.
8368 * gdb.base/print-symbol-loading.exp: New file.
8370 2014-03-31 Yao Qi <yao@codesourcery.com>
8372 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8374 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8376 * gdb.ada/mi_dyn_arr: New testcase.
8378 2014-03-27 Doug Evans <dje@google.com>
8380 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8382 2014-03-27 Yao Qi <yao@codesourcery.com>
8384 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8385 if target is nios2-*-*.
8387 2014-03-26 Yao Qi <yao@codesourcery.com>
8389 * lib/gdb.exp (readline_is_used): New proc.
8390 * gdb.base/completion.exp: Move tests on command complete up.
8391 Skip the rest of tests if readline is not used.
8392 * gdb.ada/complete.exp: Skp the test if readline is not
8394 * gdb.base/filesym.exp: Likewise.
8395 * gdb.base/macscp.exp: Likewise.
8396 * gdb.base/readline-ask.exp: Likewise.
8397 * gdb.base/readline.exp: Likewise.
8398 * gdb.python/py-cmd.exp: Likewise.
8399 * gdb.trace/tfile.exp: Likewise.
8401 2014-03-26 Yao Qi <yao@codesourcery.com>
8403 * gdb.base/macscp.exp: Fix code format issues.
8405 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8407 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8408 * gdb.asm/powerpc64le.inc: New file.
8410 2014-03-25 Pedro Alves <palves@redhat.com>
8411 Doug Evans <dje@google.com>
8413 * gdb.base/source-execution.c: New file.
8414 * gdb.base/source-execution.exp: New file.
8415 * gdb.base/source-execution.gdb: New file.
8417 2014-03-24 Doug Evans <dje@google.com>
8419 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8422 2014-03-24 Hui Zhu <hui@codesourcery.com>
8423 Pedro Alves <palves@redhat.com>
8425 PR breakpoints/16101
8426 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8427 test pass/fail messages. Detect missing support for dprintf when
8428 breakpoints are actually inserted.
8429 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8430 breakpoints are actually inserted.
8431 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8434 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8436 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8438 2014-03-22 Doug Evans <xdje42@gmail.com>
8440 * gdb.python/python.exp (python not supported): Verify multi-line
8441 python command issues an error.
8442 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8443 guile command issues an error.
8445 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8447 * gdb.threads/thread-specific.exp: Handle the lack of usable
8448 $this_breakpoint and $this_thread.
8450 2014-03-21 Hui Zhu <hui@codesourcery.com>
8452 * gdb.base/attach.exp (do_command_attach_tests): New.
8454 2014-03-20 Tom Tromey <tromey@redhat.com>
8455 Pedro Alves <palves@redhat.com>
8458 * gdb.base/condbreak-call-false.c: New file.
8459 * gdb.base/condbreak-call-false.exp: New file.
8461 2014-03-20 Pedro Alves <palves@redhat.com>
8463 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8465 (block_signals, unblock_signals): Delete.
8466 (child_function_2, main): Remove references to deleted variable
8469 2014-03-20 Pedro Alves <palves@redhat.com>
8471 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8472 Use pthread_kill to signal thread 2.
8473 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8474 Adjust to make the test send itself a signal rather than using the
8475 host's "kill" command.
8477 2014-03-20 Pedro Alves <palves@redhat.com>
8479 * gdb.threads/multiple-step-overs.c: New file.
8480 * gdb.threads/multiple-step-overs.exp: New file.
8481 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8482 Adjust expected infrun debug output.
8484 2014-03-20 Pedro Alves <palves@redhat.com>
8486 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8487 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8489 2014-03-20 Pedro Alves <palves@redhat.com>
8492 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8493 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8494 of gdb_test_multiple.
8495 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8496 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8498 2014-03-20 Pedro Alves <palves@redhat.com>
8500 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8501 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8503 2014-03-19 Pedro Alves <palves@redhat.com>
8505 * gdb.base/async.exp: Remove early return.
8507 2014-03-19 Pedro Alves <palves@redhat.com>
8509 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8511 2014-03-19 Pedro Alves <palves@redhat.com>
8513 * gdb.base/async.exp (test_background): Expect \r\n after
8514 "completed." in the fail pattern.
8516 2014-03-19 Pedro Alves <palves@redhat.com>
8518 * gdb.base/async.exp (test_background): New procedure.
8519 Use it for all background execution command tests.
8521 2014-03-19 Pedro Alves <palves@redhat.com>
8523 * gdb.base/async.exp: Use prepare_for_testing.
8525 2014-03-19 Pedro Alves <palves@redhat.com>
8527 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8530 2014-03-19 Pedro Alves <palves@redhat.com>
8532 * gdb.base/async.c (main): Add "jump here" and "until here" line
8534 * gdb.base/async.exp (jump_here): New global.
8535 (jump& test): Use it.
8536 (until_here): New global.
8537 (until& test): Use it.
8539 2014-03-19 Pedro Alves <palves@redhat.com>
8541 * gdb.base/async.exp: Don't frob gdb_protocol.
8543 2014-03-18 Doug Evans <xdje42@gmail.com>
8545 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8546 Fix spelling of exec-done-display.
8548 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8551 * gdb.base/gdb-sigterm.c: New file.
8552 * gdb.base/gdb-sigterm.exp: New file.
8554 2014-03-18 Pedro Alves <palves@redhat.com>
8557 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8558 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8561 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8563 * gdb.ada/pckd_arr_ren: New testcase.
8565 2014-03-13 Doug Evans <xdje42@gmail.com>
8568 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8569 collect after discarding symbols.
8571 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8572 Doug Evans <xdje42@gmail.com>
8574 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8575 to history survives a gc.
8577 2014-03-13 Pedro Alves <palves@redhat.com>
8579 * gdb.base/default.exp: Don't test "target procfs".
8581 2014-03-13 Pedro Alves <palves@redhat.com>
8583 * gdb.base/default.exp: Update "target child" and "target procfs"
8584 tests to not expect "Unix".
8586 2014-03-12 Tom Tromey <tromey@redhat.com>
8588 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8589 New procs. Add target-async tests.
8590 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8591 Add target-async tests.
8593 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8595 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8596 'func_start' and 'func_end' for the beginning and end of the
8597 function code, respectively.
8598 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8599 'func_end' instead of 'func' and 'main'.
8601 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8603 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8604 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8605 generate the debug info assembler source.
8607 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8609 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8610 * gdb.dwarf2/arr-subrange.exp: Likewise.
8611 * gdb.dwarf2/dwz.exp: Likewise.
8612 * gdb.dwarf2/method-ptr.exp: Likewise.
8613 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8614 * gdb.dwarf2/subrange.exp: Likewise.
8615 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8616 * gdb.dwarf2/implptrpiece.exp: Likewise.
8617 * gdb.dwarf2/nostaticblock.exp: Likewise.
8619 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8621 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8622 directory to absolute path name arguments.
8624 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8626 * gdb.ada/tagged_access: New testcase.
8628 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8630 * gdb.btrace/data.exp: Update expected output.
8632 2014-03-06 Yao Qi <yao@codesourcery.com>
8634 * gdb.trace/pr16508.exp: New file.
8636 2014-03-05 Pedro Alves <palves@redhat.com>
8639 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8641 (top level): Adjust to use it. Add tests that exercise breakpoint
8642 interaction with the code-cache.
8644 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8646 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8647 test for 'history-append!'.
8649 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8651 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8652 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8653 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8654 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8655 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8656 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8658 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8660 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8661 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8662 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8664 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8666 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8668 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8670 * gdb.dwarf2/arr-stride.c: New file.
8671 * gdb.dwarf2/arr-stride.exp: New file.
8673 2014-02-26 Pedro Alves <palves@redhat.com>
8675 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8676 that won't ever trigger. Make sure that GDB reports the correct
8677 breakpoint that caused the stop.
8679 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8682 * gdb.base/auto-load-script: New file.
8683 * gdb.base/auto-load.c: New file.
8684 * gdb.base/auto-load.exp: New file.
8687 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8689 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8691 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8692 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8694 2014-02-24 Doug Evans <dje@google.com>
8696 * lib/gdb.exp (run_on_host): Log error output if program fails.
8698 2014-02-21 Pedro Alves <palves@redhat.com>
8700 * gdb.threads/step-after-sr-lock.c: Rename to ...
8701 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8702 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8703 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8706 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8709 * gdb.arch/amd64-stap-special-operands.exp: New file.
8710 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8711 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8712 * gdb.arch/amd64-stap-triplet.S: Likewise.
8713 * gdb.arch/amd64-stap-triplet.c: Likewise.
8715 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8717 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8718 in .section pseudo-op.
8720 2014-02-20 lin zuojian <manjian2006@gmail.com>
8721 Joel Brobecker <brobecker@adacore.com>
8722 Doug Evans <xdje42@gmail.com>
8725 * gdb.dwarf2/dw2-icycle.S: New file.
8726 * gdb.dwarf2/dw2-icycle.c: New file.
8727 * gdb.dwarf2/dw2-icycle.exp: New file.
8729 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8731 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8732 operations on gdb.Value objects.
8733 * gdb.python/py-value-cc.exp: Add new test to test operations on
8736 2014-02-18 Doug Evans <dje@google.com>
8738 * Makefile.in (TESTS): New variable.
8739 (expanded_tests, expanded_tests_or_none): New variables
8740 (check-single): Pass $(expanded_tests_or_none) to runtest.
8741 (check-parallel): Only run tests in $(TESTS) if non-empty.
8742 (check/no-matching-tests-found): New rule.
8743 * README: Document TESTS makefile variable.
8745 2014-02-18 Doug Evans <dje@google.com>
8747 * Makefile.in (check-parallel): rm -rf outputs temp.
8749 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8751 Fix "ERROR: no fileid for" in the testsuite.
8752 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8754 2014-02-12 Doug Evans <dje@google.com>
8756 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8757 (MISCELLANEOUS): New variable.
8758 (clean): rm -rf $(MISCELLANEOUS).
8759 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8760 dwp live in the same directory as symlinks, with each symlink pointed
8761 to a differently named file in a different directory.
8763 2014-02-11 Doug Evans <dje@google.com>
8765 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8766 of Tcl file commands.
8768 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8770 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8773 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8775 * gdb.ada/tick_length_array_enum_idx: New testcase.
8777 2014-02-10 Doug Evans <xdje42@gmail.com>
8779 * configure.ac (AC_OUTPUT): Add gdb.guile.
8780 * configure: Regenerate.
8781 * lib/gdb-guile.exp: New file.
8782 * lib/gdb.exp (get_target_charset): New function.
8783 * gdb.base/help.exp: Update expected output from "apropos apropos".
8784 * gdb.guile/Makefile.in: New file.
8785 * gdb.guile/guile.exp: New file.
8786 * gdb.guile/scm-arch.c: New file.
8787 * gdb.guile/scm-arch.exp: New file.
8788 * gdb.guile/scm-block.c: New file.
8789 * gdb.guile/scm-block.exp: New file.
8790 * gdb.guile/scm-breakpoint.c: New file.
8791 * gdb.guile/scm-breakpoint.exp: New file.
8792 * gdb.guile/scm-disasm.c: New file.
8793 * gdb.guile/scm-disasm.exp: New file.
8794 * gdb.guile/scm-equal.c: New file.
8795 * gdb.guile/scm-equal.exp: New file.
8796 * gdb.guile/scm-error.exp: New file.
8797 * gdb.guile/scm-error.scm: New file.
8798 * gdb.guile/scm-frame-args.c: New file.
8799 * gdb.guile/scm-frame-args.exp: New file.
8800 * gdb.guile/scm-frame-args.scm: New file.
8801 * gdb.guile/scm-frame-inline.c: New file.
8802 * gdb.guile/scm-frame-inline.exp: New file.
8803 * gdb.guile/scm-frame.c: New file.
8804 * gdb.guile/scm-frame.exp: New file.
8805 * gdb.guile/scm-generics.exp: New file.
8806 * gdb.guile/scm-gsmob.exp: New file.
8807 * gdb.guile/scm-iterator.c: New file.
8808 * gdb.guile/scm-iterator.exp: New file.
8809 * gdb.guile/scm-math.c: New file.
8810 * gdb.guile/scm-math.exp: New file.
8811 * gdb.guile/scm-objfile-script-gdb.in: New file.
8812 * gdb.guile/scm-objfile-script.c: New file.
8813 * gdb.guile/scm-objfile-script.exp: New file.
8814 * gdb.guile/scm-objfile.c: New file.
8815 * gdb.guile/scm-objfile.exp: New file.
8816 * gdb.guile/scm-ports.exp: New file.
8817 * gdb.guile/scm-pretty-print.c: New file.
8818 * gdb.guile/scm-pretty-print.exp: New file.
8819 * gdb.guile/scm-pretty-print.scm: New file.
8820 * gdb.guile/scm-section-script.c: New file.
8821 * gdb.guile/scm-section-script.exp: New file.
8822 * gdb.guile/scm-section-script.scm: New file.
8823 * gdb.guile/scm-symbol.c: New file.
8824 * gdb.guile/scm-symbol.exp: New file.
8825 * gdb.guile/scm-symtab-2.c: New file.
8826 * gdb.guile/scm-symtab.c: New file.
8827 * gdb.guile/scm-symtab.exp: New file.
8828 * gdb.guile/scm-type.c: New file.
8829 * gdb.guile/scm-type.exp: New file.
8830 * gdb.guile/scm-value-cc.cc: New file.
8831 * gdb.guile/scm-value-cc.exp: New file.
8832 * gdb.guile/scm-value.c: New file.
8833 * gdb.guile/scm-value.exp: New file.
8834 * gdb.guile/source2.scm: New file.
8835 * gdb.guile/types-module.cc: New file.
8836 * gdb.guile/types-module.exp: New file.
8838 2014-02-10 Yao Qi <yao@codesourcery.com>
8841 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8842 * configure: Regenerated.
8843 * Makefile.in: New file.
8845 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8847 * gdb.python/py-framefilter.exp: Fix typo.
8849 2014-02-08 Yao Qi <yao@codesourcery.com>
8851 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8852 that no =breakpoint-modified is emitted when breakpoints are
8853 modified through MI commands.
8855 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8856 Pedro Alves <palves@redhat.com>
8858 * gdb.threads/step-after-sr-lock.c: New file.
8859 * gdb.threads/step-after-sr-lock.exp: New file.
8861 2014-02-07 Pedro Alves <palves@redhat.com>
8863 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8865 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8867 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8868 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8870 2014-02-06 Doug Evans <xdje42@gmail.com>
8872 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8875 * gdb.gdb/python-interrupts.exp: New file.
8877 2014-02-05 Yao Qi <yao@codesourcery.com>
8879 * gdb.trace/report.exp (use_collected_data): Test the output
8880 of "info threads" and "info inferiors".
8882 2014-02-05 Yao Qi <yao@codesourcery.com>
8886 2013-05-24 Yao Qi <yao@codesourcery.com>
8888 * gdb.trace/tfile.exp: Test inferior and thread.
8890 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8892 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8894 * gdb.base/step-bt.c: Call hello via function pointer to make
8895 sure its first instruction is executed on powerpc64le-linux.
8897 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8899 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8901 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8903 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8904 of the test patterns for use on little-endian systems.
8906 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8908 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8909 (decimal_vector): Fix for little-endian.
8911 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8913 * gdb.arch/sparc-sysstep.exp: New file.
8914 * gdb.arch/sparc-sysstep.c: Likewise.
8916 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8918 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8920 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8922 2014-01-23 Tom Tromey <tromey@redhat.com>
8924 * gdb.ada/array_char_idx: New testcase.
8926 2014-01-23 Tom Tromey <tromey@redhat.com>
8929 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8930 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8933 2014-01-23 Tom Tromey <tromey@redhat.com>
8936 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8937 string from an inferior frame.
8938 * gdb.python/py-framefilter-mi.exp: Update.
8940 2014-01-22 Doug Evans <dje@google.com>
8942 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8944 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8946 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8948 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8950 * gdb.trace/entry-values.exp: Remove excess space character from
8951 regex patterns. Handle s390 call instruction.
8953 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8955 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8956 define "*_start" label. Make "name" static.
8957 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8958 ${name} by references to ${name}_start.
8960 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8962 * gdb.base/info-macros.exp: Remove "debug" from the compile
8965 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8967 * gdb.dlang/demangle.exp: New file.
8969 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8971 * gdb.dlang/primitive-types.exp: New file.
8973 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8975 * configure.ac: Create gdb.dlang/Makefile.
8976 * configure: Regenerate.
8977 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8978 * gdb.dlang/Makefile.in: New file.
8979 * lib/d-support.exp: New file.
8980 * lib/gdb.exp (skip_d_tests): New proc.
8982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8984 * gdb.btrace/delta.exp: Check reverse stepi.
8985 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8986 * gdb.btrace/finish.exp: New.
8987 * gdb.btrace/next.exp: New.
8988 * gdb.btrace/nexti.exp: New.
8989 * gdb.btrace/record_goto.c: Add comments.
8990 * gdb.btrace/step.exp: New.
8991 * gdb.btrace/stepi.exp: New.
8992 * gdb.btrace/multi-thread-step.c: New.
8993 * gdb.btrace/multi-thread-step.exp: New.
8994 * gdb.btrace/rn-dl-bind.c: New.
8995 * gdb.btrace/rn-dl-bind.exp: New.
8996 * gdb.btrace/data.c: New.
8997 * gdb.btrace/data.exp: New.
8998 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9000 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9002 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9003 * gdb.btrace/exception.exp: Update.
9004 * gdb.btrace/instruction_history.exp: Update.
9005 * gdb.btrace/record_goto.exp: Update.
9006 * gdb.btrace/tailcall.exp: Update.
9007 * gdb.btrace/unknown_functions.exp: Update.
9008 * gdb.btrace/delta.exp: New.
9010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9012 * gdb.btrace/record_goto.exp: Add backtrace test.
9013 * gdb.btrace/tailcall.exp: Add backtrace test.
9015 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9017 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9018 * gdb.btrace/record_goto.c: New.
9019 * gdb.btrace/record_goto.exp: New.
9020 * gdb.btrace/x86-record_goto.S: New.
9022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9024 * gdb.btrace/function_call_history.exp: Update tests.
9025 * gdb.btrace/instruction_history.exp: Update tests.
9027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9029 * gdb.btrace/function_call_history.exp: Fix expected field
9030 order for "record function-call-history".
9031 Add new tests for "record function-call-history /c".
9032 * gdb.btrace/exception.cc: New.
9033 * gdb.btrace/exception.exp: New.
9034 * gdb.btrace/tailcall.exp: New.
9035 * gdb.btrace/x86-tailcall.S: New.
9036 * gdb.btrace/x86-tailcall.c: New.
9037 * gdb.btrace/unknown_functions.c: New.
9038 * gdb.btrace/unknown_functions.exp: New.
9039 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9043 * gdb.btrace/instruction_history.exp: Update.
9044 * gdb.btrace/function_call_history.exp: Update.
9046 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9048 * gdb.btrace/function_call_history.exp: Fix expected function
9050 * gdb.btrace/instruction_history.exp: Initialize traced.
9051 Remove traced_functions.
9053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9055 * gdb.btrace/function_call_history.exp: Update
9056 * gdb.btrace/instruction_history.exp: Update.
9058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9060 * gdb.btrace/enable.exp: Update expected text.
9062 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9064 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9067 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9069 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9071 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9073 * lib/gdb.exp (supports_process_record): Return true for
9074 arm*-linux*. (supports_reverse): Likewise.
9076 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9080 * gdb.python/py-type.c: Enhance test case.
9081 * gdb.python/py-value-cc.cc: Likewise
9082 * gdb.python/py-type.exp: Add new tests.
9083 * gdb.python/py-value-cc.exp: Likewise
9085 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9086 Pedro Alves <palves@redhat.com>
9088 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9090 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9091 references to ${name}_start by references to ${name}.
9093 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9095 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9097 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9099 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9101 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9102 Pedro Alves <palves@redhat.com>
9104 * gdb.mi/mi-info-os.exp: Connect to the target with
9107 2014-01-08 Pedro Alves <palves@redhat.com>
9109 * gdb.threads/reconnect-signal.c: New file.
9110 * gdb.threads/reconnect-signal.exp: New file.
9112 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9114 * gdb.base/source-dir.exp: New file.
9116 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9118 * gdb.ada/mi_interface: New testcase.
9120 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9122 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9123 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9124 gdb.ada/pp-rec-component/pck.ads: New files.
9126 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9128 * gdb.python/py-pp-integral.c: New file.
9129 * gdb.python/py-pp-integral.py: New file.
9130 * gdb.python/py-pp-integral.exp: New file.
9132 For older changes see ChangeLog-1993-2013.
9138 ;; version-control: never
9141 Copyright 2014-2016 Free Software Foundation, Inc.
9142 Copying and distribution of this file, with or without modification,
9143 are permitted provided the copyright notice and this notice are preserved.