1 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4 the compulsory L operand changes.
5 * gdb.arch/powerpc-power.s: Likewise.
7 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10 * gdb.base/jit-attach-pie.c: New file.
11 * gdb.base/jit-attach-pie.exp: New file.
13 2016-09-28 Pedro Alves <palves@redhat.com>
15 * gdb.base/infcall-input.c: New file.
16 * gdb.base/infcall-input.exp: New file.
18 2016-09-22 Yao Qi <yao.qi@linaro.org>
20 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
21 (gdb_exit): Rename it to ...
22 (gdbserver_gdb_exit): ... Close GDBserver.
23 (gdb_exit): New proc, call gdbserver_gdb_exit.
24 (mi_gdb_exit): Likewise.
26 2016-09-22 Yao Qi <yao.qi@linaro.org>
28 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
30 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
33 2016-09-22 Yao Qi <yao.qi@linaro.org>
35 * lib/gdbserver-support.exp: Check the existence of
36 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
38 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
40 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
42 2016-09-21 Tom Tromey <tom@tromey.com>
45 * gdb.base/quit.exp: New file.
47 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
49 * .gitignore: New file.
51 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
53 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
56 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
58 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
60 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
62 * gdb.cp/casts.cc (decltype): Move it ...
63 (main): ... with its call to ...
64 * gdb.cp/casts03.cc: ... a new file.
65 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
67 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
69 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
71 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
73 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
74 and sync up the test with tests in gas/testsuite/gas/ppc.
75 * gdb.arch/powerpc-power.exp: Likewise.
77 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
79 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
81 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
82 Jan Kratochvil <jan.kratochvil@redhat.com>
84 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
85 make m1's definition to be different from m2's. Use 'dummy' as an
86 argument for probe 'two'.
88 2016-09-10 Jon Beniston <jon@beniston.com>
90 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
93 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
95 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
97 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
98 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
99 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
100 received HWCAP as its argument.
102 2016-09-06 Pedro Alves <palves@redhat.com>
104 * gdb.base/new-ui-pending-input.c: New file.
105 * gdb.base/new-ui-pending-input.exp: New file.
106 * gdb.exp (clear_gdb_spawn_id): New procedure.
107 (with_spawn_id): Check whether gdb_spawn_id exists before
108 referencing it. If gdb_spawn_id didn't exist on entry, clear it
111 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
113 * gdb.base/float128.c: New file.
114 * gdb.base/float128.exp: Likewise.
115 * gdb.base/floatn.c: Likewise.
116 * gdb.base/floatn.exp: Likewise.
118 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
120 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
122 2016-09-05 Pedro Alves <palves@redhat.com>
125 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
126 unwinders are immediately called as side effect of "source" or
127 "disable unwinder" commands.
128 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
130 2016-09-02 Yao Qi <yao.qi@linaro.org>
132 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
133 is true and $type is "float" or "double".
135 2016-09-02 Yao Qi <yao.qi@linaro.org>
137 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
139 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
140 * gdb.base/call-rt-st.exp: Likewise.
141 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
142 return value instead of gdb,skip_float_test.
143 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
144 (do_function_calls): Use its return value instead of
146 * gdb.base/finish.exp: Likewise.
147 * gdb.base/funcargs.exp: Likewise.
148 * gdb.base/return.exp: Likewise.
149 * gdb.base/return2.exp: Likewise.
150 * gdb.base/varargs.exp: Likewise.
151 * lib/gdb.exp (gdb_skip_float_test): Change it to
152 gdb_caching_proc. Detect the broken ptrace on arm-linux.
154 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
156 * gdb.multi/tids.exp: Test "thread apply all".
158 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
160 * gdb.base/default.exp (tty): Remove.
162 2016-08-24 Kevin Buettner <kevinb@redhat.com>
164 * gdb.python/py-recurse-unwind.c: New file.
165 * gdb.python/py-recurse-unwind.py: New file.
166 * gdb.python/py-recurse-unwind.exp: New file.
168 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
170 * gdb.base/set-inferior-tty.exp: New file.
171 * gdb.base/set-inferior-tty.c: New file.
173 2016-08-23 Pedro Alves <palves@redhat.com>
176 * gdb.base/new-ui-echo.c: New file.
177 * gdb.base/new-ui-echo.exp: New file.
179 2016-08-23 Yao Qi <yao.qi@linaro.org>
181 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
183 * gdb.server/connect-without-multi-process.exp (do_test):
186 2016-08-23 Yao Qi <yao.qi@linaro.org>
188 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
189 standalone_txt. Delete gdb_txt and standalone_txt on host
190 and target. Spawn the binary on target. Copy files from
193 2016-08-22 Pedro Alves <palves@redhat.com>
196 * gdb.base/vdso-warning.exp: Test core dumps too. Use
197 with_test_prefix. Factor out bits to ...
198 (test_no_vdso): ... this new procedure.
200 2016-08-19 Carl Love <cel@us.ibm.com>
202 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
203 maintaining separate logic for constructing the output path.
204 * gdb.arch/powerpc-d128-regs.exp: Likewise.
205 * gdb.arch/ppc-dfp.exp: Likewise.
206 * gdb.arch/ppc-fp.exp: Likewise.
207 * gdb.arch/vsx-regs.exp: Likewise.
208 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
209 binprefix for generating the additional binary files.
211 2016-08-19 Pedro Alves <palves@redhat.com>
213 * gdb.trace/mi-trace-frame-collected.exp
214 (test_trace_frame_collected): On x32, expect two registers.
216 2016-08-18 Carl Love <cel@us.ibm.com>
218 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
219 and sync up the test with tests in gas/testsuite/gas/ppc.
220 * gdb.arch/powerpc-power.exp: Likewise.
222 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
224 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
225 expected error message.
227 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
229 * gdb.multi/remove-inferiors.exp: New file.
230 * gdb.multi/remove-inferiors.c: New file.
232 2016-08-12 Yao Qi <yao.qi@linaro.org>
234 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
237 2016-08-10 Pedro Alves <palves@redhat.com>
240 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
243 2016-08-09 Pedro Alves <palves@redhat.com>
244 Simon Marchi <simon.marchi@ericsson.com>
247 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
248 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
250 2016-08-09 Pedro Alves <palves@redhat.com>
253 * gdb.mi/mi-cmd-error.exp: New file.
255 2016-08-09 Pedro Alves <palves@redhat.com>
258 * gdb.base/signals-state-child.c: New file.
259 * gdb.base/signals-state-child.exp: New file.
260 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
262 2016-08-09 Pedro Alves <palves@redhat.com>
264 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
266 2016-08-03 Tom Tromey <tom@tromey.com>
269 * gdb.python/py-frame-inline.exp: Add Frame.function test.
271 2016-08-01 Yao Qi <yao.qi@linaro.org>
273 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
274 variable mode to "multi-process" if $multi_process is 1, otherwise
275 set it to "single-process".
277 2016-08-01 Yao Qi <yao.qi@linaro.org>
279 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
280 * gdb.cp/cpexprs.exp: Likewise.
281 * gdb.cp/m-static.exp: Likewise.
283 2016-07-26 Tom Tromey <tom@tromey.com>
286 * gdb.threads/tls.exp (check_thread_local): Add python symbol
289 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
291 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
292 selecting assembly source files.
293 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
294 assembly source files.
295 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
296 assembly source files.
297 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
298 selecting assembly source files.
300 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
302 * gdb.base/new-ui.exp (do_test_invalid_args): New
305 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
307 * gdb.btrace/reconnect.c: New file.
308 * gdb.btrace/reconnect.exp: New file.
310 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
312 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
313 to test_catch_syscall_group.
314 (test_catch_syscall_group): New.
316 2016-07-21 Tom Tromey <tom@tromey.com>
318 * gdb.rust/simple.rs (main): Use empty struct expression.
319 * gdb.rust/simple.exp: Add tests for empty struct expression.
321 2016-07-21 Yao Qi <yao.qi@linaro.org>
323 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
324 if gdb_skip_xml_test is true on some targets.
326 2016-07-21 Yao Qi <yao.qi@linaro.org>
328 * gdb.server/solib-list.exp: Unset last_loaded_file.
330 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
332 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
333 "step into captured_main (args)".
335 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
337 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
339 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
341 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
343 2016-07-19 Pedro Alves <palves@redhat.com>
345 * gdb.opt/inline-break.exp: Remove optimize=-O2.
346 * gdb.opt/inline-bt.exp: Likewise.
347 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
348 additional_flags=-Winline.
349 * gdb.opt/inline-locals.exp: Likewise.
350 * gdb.opt/inline-markers.c (ATTR): Define.
351 (inlined_fn): Use it.
353 2016-07-19 Yao Qi <yao.qi@linaro.org>
355 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
356 (test_with_self): Remove some code. Remove argument executable.
357 (top-level): Use do_self_tests.
359 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
360 Don Breazeal <donb@codesourcery.com>
362 * gdb.base/maint.exp: Escape paths used in regular expressions.
363 * gdb.stabs/weird.exp: Likewise.
365 2016-07-13 Tom Tromey <tom@tromey.com>
367 PR python/15620, PR python/18620:
368 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
369 (test_bkpt_events): New procs.
371 2016-07-13 Tom Tromey <tom@tromey.com>
374 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
376 (test_watchpoints): Likewise.
377 (test_bkpt_pending): New proc.
379 2016-07-13 Tom Tromey <tom@tromey.com>
382 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
385 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
387 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
388 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
389 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
391 (g): Rename g_end_lbl to g_label.
392 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
394 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
396 2016-07-12 Tom Tromey <tom@tromey.com>
399 * gdb.python/py-unwind-maint.exp: Update tests.
401 2016-07-12 Yao Qi <yao.qi@linaro.org>
403 * lib/selftest-support.exp (selftest_setup): Match the output
404 when captured_main is inlined.
406 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
408 * gdb.fortran/derived-types.exp (result_line, result_line_2):
410 (print this%a, print this%b, print this): New tests.
411 * gdb.fortran/derived-types.f90 (this): New object and
414 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
416 * gdb.ada/arraydim.exp: Remove extra directory level in build
419 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
421 * lib/ada.exp: Remove extra directory level in build directory.
422 * gdb.ada/cond_lang.exp: Likewise.
423 * gdb.ada/exec_changed.exp: Likewise.
424 * gdb.ada/lang_switch.exp: Likewise.
426 2016-07-06 Manish Goregaokar <manish@mozilla.com>
428 * simple.rs: Add test for raw pointer subscripting
429 * simple.exp: Add test expectations
431 2016-07-05 Yao Qi <yao.qi@linaro.org>
433 * gdb.mi/mi-reverse.exp: Match =record-started output.
435 2016-07-01 Pedro Alves <palves@redhat.com>
437 * gdb.base/jit-reader.exp (info_registers_current_frame): New
439 (jit_reader_test): Test the jit reader's unwinder.
440 * gdb.base/jithost.c (jit_function_00_code): New global.
441 (main): Use memcpy to fill in the mmapped code, instead of poking
443 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
445 (read_debug_info): Save the function's range.
446 (read_sp): New function.
447 (unwind_frame): Use it. Also unwind RBP.
448 (get_frame_id): Use read_sp.
449 (gdb_init_reader): Use calloc instead of malloc.
450 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
451 parameter. Use gdb_test_multiple.
453 2016-07-01 Pedro Alves <palves@redhat.com>
454 Antoine Tremblay <antoine.tremblay@ericsson.com>
456 * gdb.threads/process-dies-while-detaching.c: New file.
457 * gdb.threads/process-dies-while-detaching.exp: New file.
459 2016-07-01 Pedro Alves <palves@redhat.com>
461 * gdb.multi/watchpoint-multi-exit.c: New file.
462 * gdb.multi/watchpoint-multi-exit.exp: New file.
464 2016-06-30 Pedro Alves <palves@redhat.com>
466 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
467 unset inferior_spawn_id.
469 2016-06-30 Pedro Alves <palves@redhat.com>
471 * lib/mi-support.exp (default_mi_gdb_start): Declare global
472 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
474 2016-06-29 Yao Qi <yao.qi@linaro.org>
476 * gdb.base/return.c: Add copyright header.
478 2016-06-29 Tom Tromey <tom@tromey.com>
481 * gdb.python/py-framefilter.exp: Add tests for setting priority
482 and disabling of non-existent frame filter.
484 2016-06-29 Yao Qi <yao.qi@linaro.org>
486 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
489 2016-06-28 Yao Qi <yao.qi@linaro.org>
491 * gdb.base/catch-syscall.exp: Remove check on isnative and target
492 triplets. Start gdb, execute catch syscall, and continue. Check
493 gdb's output to determine catch syscall is supported.
495 2016-06-27 Manish Goregaokar <manish@mozilla.com>
497 * gdb.rust/simple.rs: Add test for returning unit in a function.
498 * gdb.rust/simple.exp: Add expectation for functions returning
501 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
503 * gdb.python/py-breakpoint-create-fail.c,
504 gdb.python/py-breakpoint-create-fail.exp,
505 gdb.python/py-breakpoint-create-fail.py: New testcase.
507 2016-06-25 Manish Goregaokar <manish@mozilla.com>
510 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
511 * gdb.rust/simple.exp: Add test expectations for new NonZero
514 2016-06-24 David Taylor <dtaylor@emc.com>
516 * gdb.base/offsets.exp: New file.
517 * gdb.base/offsets.c: New file.
519 2016-06-23 Tom Tromey <tom@tromey.com>
522 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
523 before any filters are loaded.
525 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
527 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
528 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
530 * gdb.fortran/derived-type-function.exp: New file.
531 * gdb.fortran/derived-type-function.f90: New file.
534 2016-06-21 Pedro Alves <palves@redhat.com>
536 * gdb.base/new-ui.exp: New file.
537 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
538 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
539 (with_spawn_id): New procedure.
541 2016-06-21 Pedro Alves <palves@redhat.com>
543 * gdb.mi/mi-exec-run.exp: New file.
545 2016-06-21 Pedro Alves <palves@redhat.com>
547 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
548 breakpoint command's output on the main UI.
549 (test_break): New procedure, factored out from calls in the top
551 (top level): Use foreach_with_prefix to test MI as main UI and as
554 2016-06-21 Pedro Alves <palves@redhat.com>
556 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
557 (test_awatch_creation_and_listing)
558 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
559 Remove 'type' parameter.
560 (test_watchpoint_all): New parameter mi_mode. Remove
562 (top level): Use foreach_with_prefix, and add main/separate UI MI
565 2016-06-21 Pedro Alves <palves@redhat.com>
567 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
568 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
569 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
570 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
571 (gdb_main_spawn_id, mi_spawn_id): Declare and
573 (mi_create_inferior_pty): New procedure,
574 factored out from default_mi_gdb_start.
575 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
577 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
578 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
579 Use mi_create_inferior_pty.
580 (mi_gdb_start): Use eval to pass down args list.
582 2016-06-21 Pedro Alves <palves@redhat.com>
584 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
585 * gdb.opt/inline-cmds.exp: Add MI tests.
587 2016-06-21 Pedro Alves <palves@redhat.com>
589 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
591 2016-06-21 Pedro Alves <palves@redhat.com>
593 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
594 (top level): Use it instead of mi_execute_to.
596 2016-06-21 Pedro Alves <palves@redhat.com>
598 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
599 (cont_handler_str): New.
600 (signal_stop_handler): Set stop_handler_str instead of printing to
602 (continue_handler): Set cont_handler_str instead of printing to
604 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
605 mi_send_resuming_command. Print stop_handler_str and
606 cont_handler_str instead of expecting the python events print
609 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
611 * gdb.base/jit-reader.exp: New file.
612 * gdb.base/jithost.c: New file.
613 * gdb.base/jithost.h: New file.
614 * gdb.base/jitreader.c : New file.
615 * gdb.base/jit-protocol.h: New file.
617 2016-06-17 Yao Qi <yao.qi@linaro.org>
619 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
620 parameters follow_fork and detach_on_fork. Set follow-fork-mode
621 and detach-on-fork. Adjust tests.
622 (top level): Invoke break_cond_on_syscall with combinations of
623 syscall, follow-fork-mode and detach-on-fork.
625 2016-06-17 Yao Qi <yao.qi@linaro.org>
627 * gdb.base/step-over-exit.c: New.
628 * gdb.base/step-over-exit.exp: New.
630 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
632 * gdb.base/float.exp: Add target check for nds32*-*-*.
633 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
635 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
637 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
638 for unsupported target features.
639 * gdb.base/call-rt-st.exp: Likewise.
640 * gdb.base/call-sc.exp: Likewise.
641 * gdb.base/call-signal-resume.exp: Likewise.
642 * gdb.base/call-strs.exp: Likewise.
643 * gdb.base/callexit.exp: Likewise.
644 * gdb.base/callfuncs.exp: Likewise.
645 * gdb.base/nodebug.exp: Likewise.
646 * gdb.base/printcmds.exp: Likewise.
647 * gdb.base/ptype.exp: Likewise.
648 * gdb.base/structs.exp: Likewise.
649 * gdb.base/unwindonsignal.exp: Likewise.
650 * gdb.cp/gdb2495.exp: Likewise.
651 * gdb.cp/templates.exp: Likewise.
652 * gdb.cp/virtfunc.exp: Likewise.
653 * gdb.threads/hand-call-in-threads.exp: Likewise.
654 * gdb.threads/interrupted-hand-call.exp: Likewise.
655 * gdb.threads/thread-unwindonsignal.exp: Likewise.
657 2016-06-10 Tom Tromey <tom@tromey.com>
660 * gdb.rust/expr.exp: Add test for integer constant larger than
663 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
665 * gdb.fortran/nested-funcs.exp: New.
666 * gdb.fortran/nested-funcs.f90: New.
668 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
670 * gdb.base/examine-backward.c: New file.
671 * gdb.base/examine-backward.exp: New file.
673 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
675 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
678 2016-06-02 Tom Tromey <tom@tromey.com>
681 * gdb.python/py-shared.exp: Add solib_name test.
683 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
685 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
687 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
690 * gdb.dwarf2/implref.exp: Rename to...
691 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
692 * gdb.dwarf2/implref-array.c: New file.
693 * gdb.dwarf2/implref-array.exp: Likewise.
694 * gdb.dwarf2/implref-global.c: Likewise.
695 * gdb.dwarf2/implref-global.exp: Likewise.
696 * gdb.dwarf2/implref-struct.c: Likewise.
697 * gdb.dwarf2/implref-struct.exp: Likewise.
699 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
701 * gdb.trace/trace-condition.exp: Add 64bit tests.
703 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
705 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
707 (main): Adapt to 8 to 64 bits types.
708 * gdb.trace/trace-condition.exp: Add new tests.
710 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
712 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
714 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
716 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
717 Move condition tests...
718 * gdb.trace/trace-condition.exp: Here.
720 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
722 * gdb.trace/trace-condition.exp: Add counter-case tests.
724 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
727 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
728 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
730 2016-05-27 Pedro Alves <palves@redhat.com>
732 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
734 (top level): Call it, and bail out of DejaGnu is known to be bad.
736 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
738 * gdb.base/whatis.c: Extend the test case.
739 * gdb.base/whatis.exp: Add additional tests.
741 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
743 * gdb.fortran/type.f90: Add pointer variable.
744 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
746 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
748 * gdb.fortran/vla-type.exp: Fix testcase name.
750 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
752 * gdb.fortran/vla-type.exp: Access elements in nested structs.
754 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
756 * gdb.fortran/type.f90: Add nested structures.
757 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
758 * gdb.fortran/derived-type.exp: Adapt expected output.
759 * gdb.fortran/vla-type.exp: Adapt expected output.
761 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
763 * gdb.fortran/whatis_type.exp: Adapt expected output.
765 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
767 * gdb.fortran/print_type.exp: Fix expected output.
768 * gdb.fortran/whatis_type.exp: Fix expected output.
770 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
772 * gdb.fortran/whatis_type.exp: Use multi_line.
774 2016-05-24 Tom Tromey <tom@tromey.com>
777 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
778 use value as an index.
780 2016-05-23 Tom Tromey <tom@tromey.com>
783 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
786 2016-05-24 Pedro Alves <palves@redhat.com>
789 * gdb.threads/clone-attach-detach.c: New file.
790 * gdb.threads/clone-attach-detach.exp: New file.
792 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
794 * gdb.base/annota-input-while-running.exp: Fix syntax error.
796 2016-05-23 Tom Tromey <tom@tromey.com>
798 PR python/19438, PR python/18393:
799 * gdb.python/py-progspace.exp: Add "dir" test.
800 * gdb.python/py-objfile.exp: Add "dir" test.
802 2016-05-23 Yao Qi <yao.qi@linaro.org>
804 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
805 * gdb.arch/thumb2-it.exp: Likewise.
807 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
809 * gdb.mi/mi-threads-interrupt.c: New file.
810 * gdb.mi/mi-threads-interrupt.exp: New file.
812 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
815 * gdb.mi/mi-async-run.exp: New file.
816 * gdb.mi/mi-async-run.c: New file.
818 2016-05-17 Tom Tromey <tom@tromey.com>
819 Manish Goregaokar <manishsmail@gmail.com>
821 * lib/rust-support.exp: New file.
822 * lib/gdb.exp (skip_rust_tests): New proc.
823 (build_executable_from_specs): Handle rust.
824 * lib/future.exp (gdb_find_rustc): New proc.
825 (gdb_default_target_compile): Handle rust.
826 * gdb.rust/expr.exp: New file.
827 * gdb.rust/generics.exp: New file.
828 * gdb.rust/generics.rs: New file.
829 * gdb.rust/methods.exp: New file.
830 * gdb.rust/methods.rs: New file.
831 * gdb.rust/modules.exp: New file.
832 * gdb.rust/modules.rs: New file.
833 * gdb.rust/simple.exp: New file.
834 * gdb.rust/simple.rs: New file.
836 2016-05-17 Tom Tromey <tom@tromey.com>
838 * gdb.base/default.exp (set language): Add rust.
840 2016-05-17 Tom Tromey <tom@tromey.com>
842 * gdb.gdb/unittest.exp: New file.
844 2016-05-16 Yao Qi <yao.qi@linaro.org>
846 * gdb.base/batch-preserve-term-settings.exp: Remove variable
847 shell_prompt. Update shell_prompt_re.
849 2016-05-12 Doug Evans <dje@google.com>
852 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
853 $options when building executable.
854 * gdb.dwarf2/fission-loclists-pie.S: New file.
855 * gdb.dwarf2/fission-loclists-pie.exp: New file.
857 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
859 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
860 of [is_remote target],
862 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
864 * lib/gdb.exp (use_gdb_stub): New procedure.
866 2016-05-03 Yunlian Jiang <yunlian@google.com>
867 Doug Evans <dje@google.com>
870 * gdb.dwarf2/dwp-sepdebug.c: New file.
871 * gdb.dwarf2/dwp-sepdebug.exp: New file.
873 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
875 * gdb.base/detach.exp: Remove is_remote check.
877 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
879 * gdb.base/annota-input-while-running.exp: Don't check for
880 [is_remote target]. Enable annotations after running to main.
881 Remove unused "set test..." line.
883 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
885 * gdb.trace/trace-enable-disable.exp: New file.
886 * gdb.trace/trace-enable-disable.c: New file.
888 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
890 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
891 use it in info sharedlibrary test.
892 * gdb.trace/ftrace-lock.exp: Likewise.
893 * gdb.trace/ftrace.exp: Likewise.
894 * gdb.trace/range-stepping.exp: Likewise.
895 * gdb.trace/trace-break.exp: Likewise.
896 * gdb.trace/trace-condition.exp: Likewise.
897 * gdb.trace/trace-mt.exp: Likewise.
899 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
901 * lib/gdb.exp (gdb_load_shlibs): Rename to...
902 (gdb_load_shlib): ... this.
903 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
905 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
906 * gdb.base/ctxobj.exp: Likewise.
907 * gdb.base/dprintf-pending.exp: Likewise.
908 * gdb.base/dso2dso.exp: Likewise.
909 * gdb.base/fixsection.exp: Likewise.
910 * gdb.base/gcore-relro.exp: Likewise.
911 * gdb.base/gdb1555.exp: Likewise.
912 * gdb.base/global-var-nested-by-dso.exp: Likewise.
913 * gdb.base/gnu-ifunc.exp: Likewise.
914 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
915 * gdb.base/jit-so.exp (one_jit_test): Likewise.
916 * gdb.base/pending.exp: Likewise.
917 * gdb.base/print-file-var.exp: Likewise.
918 * gdb.base/print-symbol-loading.exp: Likewise.
919 * gdb.base/shlib-call.exp: Likewise.
920 * gdb.base/shreloc.exp: Likewise.
921 * gdb.base/so-impl-ld.exp: Likewise.
922 * gdb.base/solib-disc.exp: Likewise.
923 * gdb.base/solib-nodir.exp: Likewise.
924 * gdb.base/solib-overlap.exp: Likewise.
925 * gdb.base/solib-symbol.exp: Likewise.
926 * gdb.base/solib-weak.exp (do_test): Likewise.
927 * gdb.base/sym-file.exp: Likewise.
928 * gdb.base/symtab-search-order.exp: Likewise.
929 * gdb.base/type-opaque.exp: Likewise.
930 * gdb.base/unload.exp: Likewise.
931 * gdb.base/watchpoint-solib.exp: Likewise.
932 * gdb.compile/compile.exp: Likewise.
933 * gdb.cp/gdb2384.exp: Likewise.
934 * gdb.cp/infcall-dlopen.exp: Likewise.
935 * gdb.cp/re-set-overloaded.exp: Likewise.
936 * gdb.fortran/library-module.exp: Likewise.
937 * gdb.opt/solib-intra-step.exp: Likewise.
938 * gdb.python/py-finish-breakpoint.exp: Likewise.
939 * gdb.python/py-shared.exp: Likewise.
940 * gdb.reverse/solib-precsave.exp: Likewise.
941 * gdb.reverse/solib-reverse.exp: Likewise.
942 * gdb.server/solib-list.exp: Likewise.
943 * gdb.threads/dlopen-libpthread.exp: Likewise.
944 * gdb.threads/tls-shared.exp: Likewise.
945 * gdb.threads/tls-so_extern.exp: Likewise.
946 * gdb.trace/change-loc.exp: Likewise.
947 * gdb.trace/ftrace-lock.exp: Likewise.
948 * gdb.trace/ftrace.exp: Likewise.
949 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
950 * gdb.trace/pending.exp: Likewise.
951 * gdb.trace/range-stepping.exp: Likewise.
952 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
953 (strace_info_marker): Likewise.
954 (strace_probe_marker): Likewise.
955 (strace_trace_on_same_addr): Likewise.
956 (strace_trace_on_diff_addr): Likewise.
957 * gdb.trace/trace-break.exp: Likewise.
958 * gdb.trace/trace-condition.exp: Likewise.
959 * gdb.trace/trace-mt.exp: Likewise.
961 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
963 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
964 result of gdb_remote_download.
965 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
966 * gdb.base/dso2dso.exp: Likewise.
967 * gdb.base/global-var-nested-by-dso.exp: Likewise.
968 * gdb.base/print-file-var.exp: Likewise.
969 * gdb.base/shlib-call.exp: Likewise.
970 * gdb.base/shreloc.exp: Likewise.
971 * gdb.base/solib-overlap.exp: Likewise.
972 * gdb.base/solib-weak.exp (do_test): Likewise.
973 * gdb.base/unload.exp: Likewise.
975 2016-04-27 Yao Qi <yao.qi@linaro.org>
977 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
980 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
982 * vla-type.exp: Print structure from toplevel.
984 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
986 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
988 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
991 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
993 * gdb.fortran/vla-type.f90: New file.
994 * gdb.fortran/vla-type.exp: New file.
996 2016-04-25 Yao Qi <yao.qi@linaro.org>
998 * gdb.base/branch-to-self.c: New file.
999 * gdb.base/branch-to-self.exp: New file.
1001 2016-04-22 Yao Qi <yao.qi@linaro.org>
1003 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1006 2016-04-22 Yao Qi <yao.qi@linaro.org>
1008 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1009 * gdb.base/annota3.exp: Likewise.
1011 2016-04-22 Yao Qi <yao.qi@linaro.org>
1013 * gdb.reverse/step-precsave.exp: Do one step and test program
1014 stops in "callee" and do multiple steps until program goes out
1016 * gdb.reverse/step-reverse.exp: Likewise.
1018 2016-04-22 Yao Qi <yao.qi@linaro.org>
1020 * gdb.trace/signal.exp: Also pass if
1021 $tracepoint_hits($i) > $iterations.
1023 2016-04-22 Yao Qi <yao.qi@linaro.org>
1025 * gdb.trace/signal.c: New file.
1026 * gdb.trace/signal.exp: New file.
1028 2016-04-19 Doug Evans <xdje42@gmail.com>
1030 * gdb.base/bad-file.exp: New file.
1032 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1034 * gdb.dwarf2/implref.exp: New file.
1036 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1038 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1039 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1040 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1041 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1042 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1043 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1044 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1045 * lib/fortran.exp (fortran_int4): New procedure.
1046 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1047 (fortran_logical4): Likewise.
1049 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1051 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1053 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1055 * lib/compiler.c: Add Intel specific preprocessor macros.
1056 * lib/compiler.cc: Likewise.
1058 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1060 * gdb.server/connect-with-no-symbol-file.c: New file.
1061 * gdb.server/connect-with-no-symbol-file.exp: New file.
1063 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1065 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1067 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1069 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1070 standard output directory.
1072 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1074 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1076 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1078 * gdb.btrace/instruction_history.c (loop): Add declaration.
1080 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1082 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1084 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1086 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1087 parentheses to print.
1088 (continue_handler): Likewise.
1090 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1092 * gdb.server/solib-list.exp: Remove is_remote check.
1093 Pass shlib= to gdb_compile. Don't link shared library with
1094 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1095 Run binary filename through "readlink -f" on the target.
1097 2016-04-08 Pedro Alves <palves@redhat.com>
1099 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1100 interpreter filename as argument to gdbserver_spawn.
1101 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1102 Return empty if $last_loaded_file does not exist.
1104 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1106 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1107 * gdb.base/jit-main.c: Use exit after usage.
1109 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1111 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1112 GDBHISTSIZE prior to the tests.
1113 * gdb.base/gdbinit-history.exp: Likewise.
1115 2016-04-07 Pedro Alves <palves@redhat.com>
1117 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1118 instead of build_executable. Use gdb_load_shlibs.
1120 2016-04-07 Yao Qi <yao.qi@linaro.org>
1122 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1123 Execute "si" command.
1125 2016-04-07 Yao Qi <yao.qi@linaro.org>
1127 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1128 number instead of the comments on some line.
1130 2016-04-06 Don Breazeal <donb@codesourcery.com>
1132 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1133 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1135 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1137 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1138 standard_output_file. Remove unused binfile variable.
1140 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1142 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1143 * gdb.python/py-mi-objfile.exp: Match "list main" output
1146 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1148 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1151 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1153 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1155 * gdb.trace/ftrace.exp: Likewise.
1156 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1158 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1159 (gdb_load_shlibs): Copy libraries to test directory when testing
1160 natively. Only set solib-search-path if testing remotely.
1161 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1163 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1165 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1166 gdb_download. Use it even if the target is not remote.
1167 * gdb.base/jit.exp (compile_jit_test): Likewise.
1168 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1169 output directory if the destination board is local, otherwise use
1170 the standard remote_download from DejaGnu.
1171 (gdb_download): Remove.
1172 (gdb_load_shlibs): Use gdb_remote_download instead of
1174 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1175 Use gdb_remote_download instead of gdb_download. Use it even if
1176 the target is not remote.
1177 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1178 instead of gdb_download.
1180 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1182 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1183 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1186 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1189 * gdb.base/printcmds.exp: Add artificial arrays tests.
1191 2016-03-31 Pedro Alves <palves@redhat.com>
1194 * gdb.base/jit-main.c: Include unistd.h.
1195 (ATTACH): Define to 0 if not already defined.
1196 (wait_for_gdb, mypid): New globals.
1197 (WAIT_FOR_GDB): New macro.
1198 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1199 some breakpoint locations.
1200 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1202 (one_jit_test): Add REATTACH parameter, and handle it. Use
1203 continue_to_test_location.
1204 (top level): Test attach, and adjusts calls to one_jit_test.
1206 2016-03-31 Pedro Alves <palves@redhat.com>
1209 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1210 BINSUFFIX parameter, and handle it.
1211 (top level): Adjust calls compile_jit_test.
1213 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1216 * gdb.python/py-mi-events-gdb.py: New file.
1217 * gdb.python/py-mi-events.c: New file.
1218 * gdb.python/py-mi-events.exp: New file.
1220 2016-03-30 Yao Qi <yao.qi@linaro.org>
1222 * gdb.reverse/until-precsave.exp: Match function name only.
1223 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1224 Move malloc to a condition block.
1225 * gdb.reverse/until-reverse.exp: Match function name only.
1227 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1229 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1230 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1232 variable for GPR 0 instead of assuming it is register 0.
1233 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1234 * lib/trace-support.exp: Add s390 registers.
1236 2016-03-29 Yao Qi <yao.qi@linaro.org>
1238 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1240 2016-03-24 Yao Qi <yao.qi@linaro.org>
1242 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1245 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1247 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1248 maintaining separate logic for constructing the output path.
1250 2016-03-16 Don Breazeal <donb@codesourcery.com>
1252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1253 Retry fork and waitpid on interrupted system call errors.
1254 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1255 Use with_timeout_factor to increase timeout by factor of 10.
1257 2016-03-15 Don Breazeal <donb@codesourcery.com>
1259 * gdb.cp/scope-err.cc: New test program.
1260 * gdb.cp/scope-err.exp: New test script.
1261 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1262 lines and "set breakpoint here" comment.
1263 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1264 Fixed some whitespace and format issues.
1265 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1266 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1268 2016-03-15 Doug Evans <dje@google.com>
1270 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1271 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1272 All callers updated. Add tests for enums, mixed flags register.
1274 2016-03-15 Doug Evans <dje@google.com>
1276 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1277 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1279 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1281 * gdb.base/default.exp: Add $_as_string to the list of expected
1282 convenience functions.
1284 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1286 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1288 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1290 * gdb.python/py-as-string.exp: New file.
1291 * gdb.python/py-as-string.c: New file.
1293 2016-03-09 Pedro Alves <palves@redhat.com>
1295 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1296 signal" -> "Thread NN received signal" output change.
1297 * gdb.threads/ia64-sigill.exp: Likewise.
1298 * gdb.threads/linux-dp.exp: Likewise.
1299 * gdb.threads/manythreads.exp: Likewise.
1300 * gdb.threads/pending-step.exp: Likewise.
1301 * gdb.threads/print-threads.exp: Likewise.
1302 * gdb.threads/sigstep-threads.exp: Likewise.
1303 * gdb.threads/staticthreads.exp: Likewise.
1304 * gdb.threads/tls.exp: Likewise.
1306 2016-03-09 Pedro Alves <palves@redhat.com>
1308 * gdb.base/command-line-input.exp: New file.
1310 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1312 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1313 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1314 * gdb.trace/pending.exp: Accept leading dot before function name.
1315 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1316 * lib/trace-support.exp: Set registers for ppc.
1318 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1320 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1321 use it for disassembly; accept .main in addition to main in backtrace.
1323 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1324 Marcin Kościelnicki <koriakin@0x04.net>
1326 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1327 (gdb_recursion_test_ptr): New global variable.
1328 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1330 (gdb_c_test): Ditto.
1332 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1334 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1337 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1339 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1340 (bar): Add bar_start_lbl label.
1341 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1342 of foo/bar for emitting DWARF and tracing.
1344 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1346 * analyze-racy-logs.py: Set executable bit.
1348 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1350 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1351 (CHECK_TARGET_TMP): Likewise.
1352 (check-single-racy): New rule.
1353 (check-parallel-racy): Likewise.
1354 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1355 (do-check-parallel-racy): New rule.
1356 (check-racy/%.exp): Likewise.
1357 * README (Racy testcases): New section.
1358 * analyze-racy-logs.py: New file.
1360 2016-03-03 Doug Evans <dje@google.com>
1362 * gdb.base/skip.exp: Use with_test_prefix.
1364 2016-03-03 Yao Qi <yao.qi@linaro.org>
1366 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1367 Invoke step_over_syscall "clone" and break_cond_on_syscall
1369 * gdb.base/step-over-clone.c: New file.
1371 2016-03-03 Yao Qi <yao.qi@linaro.org>
1373 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1376 2016-03-03 Yao Qi <yao.qi@linaro.org>
1378 * gdb.base/disp-step-fork.c: Rename to ...
1379 * gdb.base/step-over-fork.c: ... it. New file.
1380 * gdb.base/disp-step-vfork.c: Rename to ...
1381 * gdb.base/step-over-vfork.c: ... it. New file.
1382 * gdb.base/disp-step-syscall.exp: Rename to ...
1383 * gdb.base/step-over-syscall.exp: ... it. New file.
1384 (disp_step_cross_syscall): Rename to ...
1385 (step_over_syscall): ... it.
1387 2016-03-03 Yao Qi <yao.qi@linaro.org>
1389 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1390 If target supports condition evaluation on target, invoke
1391 break_cond_on_syscall for fork and vfork.
1393 2016-03-03 Yao Qi <yao.qi@linaro.org>
1395 * gdb.base/disp-step-syscall.exp: Don't invoke
1396 support_displaced_stepping.
1397 (disp_step_cross_syscall): Test with displaced stepping off and
1400 2016-03-03 Yao Qi <yao.qi@linaro.org>
1402 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1405 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1408 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1410 * gdb.fortran/vla-history.exp: Remove breakpoint.
1412 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1414 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1417 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1419 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1422 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1424 * gdb.mi/vla.f90: Nullify pointer after declaration.
1426 2016-03-01 Pedro Alves <palves@redhat.com>
1428 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1430 2016-03-01 Pedro Alves <palves@redhat.com>
1432 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1433 before anything else.
1434 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1436 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1437 before anything else.
1438 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1440 2016-03-01 Pedro Alves <palves@redhat.com>
1442 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1444 2016-03-01 Yao Qi <yao.qi@linaro.org>
1446 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1447 prepare_for_testing.
1449 2016-03-01 Yao Qi <yao.qi@linaro.org>
1451 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1453 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1455 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1456 manually constructing the output path.
1458 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1460 * gdb.arch/s390-stackless.S: New.
1461 * gdb.arch/s390-stackless.exp: New.
1463 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1465 * gdb.dlang/circular.c: New file.
1466 * gdb.dlang/circular.exp: New file.
1468 2016-02-26 Yao Qi <yao.qi@linaro.org>
1470 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1471 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1472 (testcases): Update.
1474 2016-02-26 Yao Qi <yao.qi@linaro.org>
1476 * gdb.reverse/aarch64.c: Rename to ...
1477 * gdb.reverse/insn-reverse.c: ... it.
1478 * gdb.reverse/aarch64.exp: Rename to ...
1479 * gdb.reverse/insn-reverse.exp: ... it.
1481 2016-02-26 Yao Qi <yao.qi@linaro.org>
1483 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1484 (testcase_ftype): New.
1485 (testcases): New array.
1487 (main): Call each element in testcases.
1488 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1489 (read_testcase): New.
1490 Do the tests in a loop.
1492 2016-02-25 Yao Qi <yao.qi@linaro.org>
1494 * gdb.base/branches.c: Remove.
1496 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1499 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1501 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1503 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1505 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1507 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1508 change x86_64 call_insn to 'callq'.
1510 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1512 * gdb.trace/tfile-avx.c: Move to...
1513 * gdb.trace/tracefile-pseudo-reg.c: Here.
1514 * gdb.trace/tfile-avx.exp: Move to...
1515 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1517 2016-02-24 Gary Benson <gbenson@redhat.com>
1519 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1522 2016-02-23 Doug Evans <dje@google.com>
1524 * gdb.base/skip.c (test_skip): New function.
1525 (end_test_skip_file_and_function): New function.
1526 (test_skip_file_and_function): New function.
1527 * gdb.base/skip1.c (test_skip): New function.
1528 (skip1_test_skip_file_and_function): New function.
1529 * gdb.base/skip.exp: Add tests for new skip options.
1530 * gdb.base/skip-solib.exp: Update expected output.
1531 * gdb.perf/skip-command.cc: New file.
1532 * gdb.perf/skip-command.exp: New file.
1533 * gdb.perf/skip-command.py: New file.
1535 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1537 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1538 info registers pattern.
1540 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1542 * lib/future.exp: Add D support.
1543 (gdb_find_gdc): New proc.
1544 (gdb_default_target_compile): Add D support.
1546 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1548 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1550 (trace_speed_test): Determine the iteration count for a time
1551 between 15..30 seconds.
1553 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1555 * gdb.arch/i386-mpx-sigsegv.c: New file.
1556 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1557 * gdb.arch/i386-mpx-simple_segv.c: New file.
1558 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1560 2016-02-18 Yao Qi <yao.qi@linaro.org>
1562 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1563 Don't call setup_kfail.
1565 2016-02-18 Yao Qi <yao.qi@linaro.org>
1567 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1568 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1570 2016-02-16 Doug Evans <dje@google.com>
1572 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1573 * gdb.base/skip1.c: Ditto.
1574 * gdb.base/skip.exp: Whitespace cleanup.
1576 2016-02-16 Don Breazeal <donb@codesourcery.com>
1579 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1580 Remove kfail for PR remote/19496.
1582 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1584 * lib/gdb.exp (standard_temp_file): Return a path specific to
1585 the runtest invocation.
1587 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1589 * gdb.trace/save-trace.exp: Change relative path to be in the
1590 standard output directory.
1592 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1594 * gdb.arch/i386-prologue.c: Add missing prototypes.
1596 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1598 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1599 * gdb.arch/i386-prologue.exp: Likewise.
1600 * gdb.arch/i386-size.exp: Likewise.
1602 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1604 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1605 define object file path.
1606 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1608 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1609 standard_output_file to define binfile.
1611 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1613 Fix compatibility with recent gfortran-5.3.1.
1614 * gdb.fortran/vla-history.exp (print vla1 allocated)
1615 (print vla2 allocated, print $2, print $3): Remove
1616 (print $4): Rename to ...
1617 (print $2): ... here.
1618 (print $9): Rename to ...
1619 (print $5): ... here.
1620 (print $10): Rename to ...
1621 (print $6): ... here.
1622 * gdb.fortran/vla.f90: Add pvla initialization.
1624 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1626 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1628 * gdb.fortran/vla-value-sub.exp: Likewise.
1630 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1632 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1634 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1636 * i386-biarch-core.exp: Define corefile using
1637 standard_output_file.
1639 2016-02-12 Yao Qi <yao.qi@linaro.org>
1641 * gdb.arch/arm-single-step-kernel-helper.c: New.
1642 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1644 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1646 * gdb.btrace/tailcall-only.exp: New.
1647 * gdb.btrace/tailcall-only.c: New.
1648 * gdb.btrace/x86_64-tailcall-only.S: New.
1649 * gdb.btrace/i686-tailcall-only.S: New.
1651 2016-02-11 Pedro Alves <palves@redhat.com>
1653 * README (Parallel testing): Add missing double quotes.
1655 2016-02-11 Pedro Alves <palves@redhat.com>
1657 * README (Parallel testing): New section.
1658 (GDB_PARALLEL): Rewrite.
1659 (FORCE_PARALLEL): Document.
1661 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1663 * gdb.trace/tfile-avx.c: New test.
1664 * gdb.trace/tfile-avx.exp: New test.
1666 2016-02-09 Keith Seitz <keiths@redhat.com>
1668 PR breakpoints/19546
1669 * gdb.base/infcall-exec.c: New file.
1670 * gdb.base/infcall-exec2.c: New file.
1671 * gdb.base/infcall-exec.exp: New file.
1673 2016-02-09 Keith Seitz <keiths@redhat.com>
1675 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1676 (toplevel): Call test_bkpt_address.
1678 2016-02-09 Keith Seitz <keiths@redhat.com>
1681 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1682 (toplevel): Call test_bkpt_address.
1684 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1686 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1688 * configure: Regenerate.
1690 2016-02-09 Pedro Alves <palves@redhat.com>
1692 PR breakpoints/19548
1693 * gdb.base/execl-update-breakpoints.c (some_function): New
1696 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1697 Tighten expected GDB output.
1699 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1701 * Makefile.in (ALL_SUBDIRS): Remove.
1702 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1703 (distclean maintainer-clean realclean): Likewise.
1704 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1705 * configure: Regenerate.
1706 * gdb.ada/Makefile.in: Delete.
1707 * gdb.arch/Makefile.in: Likewise.
1708 * gdb.asm/Makefile.in: Likewise.
1709 * gdb.base/Makefile.in: Likewise.
1710 * gdb.btrace/Makefile.in: Likewise.
1711 * gdb.cell/Makefile.in: Likewise.
1712 * gdb.compile/Makefile.in: Likewise.
1713 * gdb.cp/Makefile.in: Likewise.
1714 * gdb.disasm/Makefile.in: Likewise.
1715 * gdb.dlang/Makefile.in: Likewise.
1716 * gdb.dwarf2/Makefile.in: Likewise.
1717 * gdb.fortran/Makefile.in: Likewise.
1718 * gdb.gdb/Makefile.in: Likewise.
1719 * gdb.go/Makefile.in: Likewise.
1720 * gdb.guile/Makefile.in: Likewise.
1721 * gdb.java/Makefile.in: Likewise.
1722 * gdb.linespec/Makefile.in: Likewise.
1723 * gdb.mi/Makefile.in: Likewise.
1724 * gdb.modula2/Makefile.in: Likewise.
1725 * gdb.multi/Makefile.in: Likewise.
1726 * gdb.objc/Makefile.in: Likewise.
1727 * gdb.opencl/Makefile.in: Likewise.
1728 * gdb.opt/Makefile.in: Likewise.
1729 * gdb.pascal/Makefile.in: Likewise.
1730 * gdb.perf/Makefile.in: Likewise.
1731 * gdb.python/Makefile.in: Likewise.
1732 * gdb.reverse/Makefile.in: Likewise.
1733 * gdb.server/Makefile.in: Likewise.
1734 * gdb.stabs/Makefile.in: Likewise.
1735 * gdb.threads/Makefile.in: Likewise.
1736 * gdb.trace/Makefile.in: Likewise.
1737 * gdb.xml/Makefile.in: Likewise.
1738 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1740 (standard_output_file): Remove check for GDB_PARALLEL, always
1741 return path in outputs/$subdir/$testname.
1743 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1745 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1746 (site.exp): Assign abs_srcdir to tcl's srcdir.
1748 2016-02-04 Yao Qi <yao.qi@linaro.org>
1750 * gdb.base/foll-exec-mode.c: Include limits.h.
1751 (main): Add parameters argc and argv. Get directory from
1753 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1755 * gdb.base/foll-exec.c: Include limits.h.
1756 (main): Add parameters argc and argv.
1757 Get directory from argv[0].
1758 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1759 Adjust tests on the number of lines as source code changed.
1760 * gdb.base/foll-vfork-exit.c: Include limits.h.
1761 (main): Add one line of statement before vfork.
1762 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1763 (main): Add parameters argc and argv. Get directory from
1765 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1766 (setup_gdb): Set tbreak to skip some source lines.
1767 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1768 (main): Add parameters argc and argv. Get directory from
1770 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1772 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1773 (main): Add parameters argc and argv. Get directory from
1775 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1778 2016-02-01 Doug Evans <dje@google.com>
1780 * gdb.base/skip.exp: Clean up multiple references to same test name.
1782 2016-02-01 Pedro Alves <palves@redhat.com>
1785 * gdb.threads/forking-threads-plus-breakpoint.exp
1786 (displaced_stepping_supported): New global.
1787 (probe_displaced_stepping_support): New procedure.
1788 (do_test): Add 'displaced' parameter, and use it.
1789 (top level): Check for displaced stepping support. Add displaced
1790 stepping on/off testing axis.
1792 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1794 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1795 pointer. Don't perform further tests on the unassociated pointer
1796 if the first test fails.
1798 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1800 * gdb.base/max-value-size.c: New file.
1801 * gdb.base/max-value-size.exp: New file.
1802 * gdb.base/huge.exp: Disable max-value-size for this test.
1804 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1806 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1808 2016-01-28 Yao Qi <yao.qi@linaro.org>
1810 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1812 2016-01-25 Pedro Alves <palves@redhat.com>
1815 * gdb.base/fork-running-state.c: New file.
1816 * gdb.base/fork-running-state.exp: New file.
1818 2016-01-25 Pedro Alves <palves@redhat.com>
1821 * gdb.base/catch-fork-kill.c: New file.
1822 * gdb.base/catch-fork-kill.exp: New file.
1824 2016-01-25 Pedro Alves <palves@redhat.com>
1826 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1827 Delete, moved to lib/gdb.exp.
1828 * gdb.threads/forking-threads-plus-breakpoint.exp
1829 (foreach_with_prefix): Likewise.
1830 * gdb.threads/process-dies-while-handling-bp.exp
1831 (foreach_with_prefix): Likewise.
1832 * lib/gdb.exp (foreach_with_prefix): New procedure.
1834 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1836 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1837 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1839 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1841 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1844 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1845 Pedro Alves <palves@redhat.com>
1847 Fix testsuite compatibility with Guile.
1848 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1851 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1853 Fix testsuite compatibility with Guile.
1854 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1855 (thread 1): New test for backtrace through signal handler.
1857 2016-01-22 Yao Qi <yao.qi@linaro.org>
1860 * gdb.base/multi-forks.c: Include
1861 ../lib/unbuffer_output.c
1862 (main): Call gdb_unbuffer_output.
1864 2016-01-21 Doug Evans <dje@google.com>
1866 * lib/ada.exp (gdb_compile_ada): Fix typo.
1868 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1870 * gdb.base/break-fun-addr.exp: New file.
1871 * gdb.base/break-fun-addr1.c: New file.
1872 * gdb.base/break-fun-addr2.c: New file.
1874 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1876 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1877 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1880 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1882 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1883 when GDB can not set the vector return value. Add more comments
1886 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1888 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1891 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1893 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1895 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1897 * Makefile.in (check-single): Pass --status to runtest.
1898 (check/%.exp): Likewise.
1900 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1902 * Makefile.in (check-parallel): Propagate return code from make
1905 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1907 * gdb.trace/ftrace.exp: Fix expected message on continue.
1908 * gdb.trace/pending.exp: Fix expected message on continue.
1909 * gdb.trace/trace-break.exp: Fix expected message on continue.
1911 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1913 * lib/gdb.exp (gdb_test): Remove unused global references.
1915 2016-01-18 Pedro Alves <palves@redhat.com>
1917 * gdb.base/async-shell.exp: Adjust expected output.
1918 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1919 * gdb.base/siginfo-thread.exp: Adjust expected output.
1920 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1921 * gdb.java/jnpe.exp: Adjust expected output.
1922 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1923 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1924 * gdb.threads/leader-exit.exp: Adjust expected output.
1925 * gdb.threads/manythreads.exp: Adjust expected output.
1926 * gdb.threads/pthreads.exp: Adjust expected output.
1927 * gdb.threads/schedlock.exp: Adjust expected output.
1928 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1929 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1931 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1933 * gdb.threads/sigthread.exp: Adjust expected output.
1934 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1936 2016-01-18 Yao Qi <yao.qi@linaro.org>
1938 * gdb.guile/scm-section-script.c: Replace @progbits with
1940 * gdb.python/py-section-script.c: Likewise.
1942 2016-01-15 Pedro Alves <palves@redhat.com>
1944 * gdb.multi/tids.exp: Test star wildcard ranges.
1946 2016-01-15 Pedro Alves <palves@redhat.com>
1948 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1949 command from "thread apply" invocation.
1950 (thr_apply_info_thr_invalid): Default the expected output to the
1952 (top level): Add tests that use convenience variables. Add tests
1953 for "thread apply" with a valid TID list, but missing the command.
1955 2016-01-13 Pedro Alves <palves@redhat.com>
1957 * gdb.base/default.exp: Expect $_gthread as well.
1958 * gdb.multi/tids.exp: Test $_gthread.
1959 * gdb.threads/thread-specific.exp: Test $_gthread.
1961 2016-01-13 Pedro Alves <palves@redhat.com>
1963 * gdb.multi/tids.exp: Test "info threads -gid".
1965 2016-01-13 Pedro Alves <palves@redhat.com>
1967 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1969 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1971 2016-01-07 Pedro Alves <palves@redhat.com>
1973 * gdb.base/break.exp: Adjust to output changes.
1974 * gdb.base/hbreak2.exp: Likewise.
1975 * gdb.base/sepdebug.exp: Likewise.
1976 * gdb.base/watch_thread_num.exp: Likewise.
1977 * gdb.linespec/keywords.exp: Likewise.
1978 * gdb.multi/info-threads.exp: Likewise.
1979 * gdb.threads/thread-find.exp: Likewise.
1980 * gdb.multi/tids.c: New file.
1981 * gdb.multi/tids.exp: New file.
1983 2016-01-13 Pedro Alves <palves@redhat.com>
1985 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1987 2016-01-13 Pedro Alves <palves@redhat.com>
1989 * gdb.base/default.exp: Expect $_inferior as well.
1990 * gdb.multi/base.exp: Test $_inferior.
1992 2016-01-13 Pedro Alves <palves@redhat.com>
1994 PR breakpoints/19388
1995 * gdb.base/catch-signal-siginfo-cond.c: New file.
1996 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1998 2016-01-12 Josh Stone <jistone@redhat.com>
1999 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2001 * gdb.base/catch-syscall.c (do_execve): New variable.
2002 (main): Conditionally trigger an execve.
2003 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2004 (test_catch_syscall_execve): New, check entry/return across execve.
2005 (do_syscall_tests): Call test_catch_syscall_execve.
2007 2016-01-12 Pedro Alves <palves@redhat.com>
2009 * gdb.base/random-signal.exp (do_test): New procedure, with body
2010 of testcase moved in.
2012 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2013 Pedro Alves <palves@redhat.com>
2015 * gdb.base/funcargs.exp (finish from indirectly called function):
2016 Reintroduce the case for 'First'.
2018 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2019 Pedro Alves <palves@redhat.com>
2021 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2022 (tcatch_vfork_then_child_follow_exec)
2023 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2026 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2028 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2029 and repeats to unlimited.
2030 * gdb.python/py-value.exp: Likewise.
2031 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2032 and repeats to unlimited.
2034 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2036 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2037 and reordering the functions.
2038 * gdb.multi/hangout.c: Likewise.
2039 * gdb.multi/hello.c: Likewise.
2041 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2043 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2045 (SingleStatisticTestResult.report): Use dict.keys instead of
2048 2016-01-06 Pedro Alves <palves@redhat.com>
2050 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2052 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2054 * gdb.btrace/dlopen.exp: New.
2055 * gdb.btrace/dlopen.c: New.
2056 * gdb.btrace/dlopen-dso.c: New.
2058 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2060 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2061 PATTERN argument is optional.
2063 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2065 * lib/ada.exp (target_compile_ada_from_dir): New function.
2066 (gdb_compile_ada): Reimplement avoiding the use of project files.
2067 * gdb.ada/gnat_ada.gpr: Delete.
2068 * gdb.ada/cond_lang.exp: Adjust test to make path before
2070 * gdb.ada/small_reg_param.exp: Likewise.
2072 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2074 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2076 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2078 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2081 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2083 * gdb.base/break.exp: Remove dead code.
2084 * gdb.base/sepdebug.exp: Likewise.
2086 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2088 * gdb.asm/asm-source.exp: Remove HP-UX references.
2089 * gdb.base/annota1.exp: Likewise.
2090 * gdb.base/annota3.exp: Likewise.
2091 * gdb.base/attach.exp: Likewise.
2092 * gdb.base/bigcore.exp: Likewise.
2093 * gdb.base/break.exp: Likewise.
2094 * gdb.base/call-ar-st.exp: Likewise.
2095 * gdb.base/callfuncs.exp: Likewise.
2096 * gdb.base/catch-fork-static.exp: Likewise.
2097 * gdb.base/display.exp: Likewise.
2098 * gdb.base/foll-exec-mode.exp: Likewise.
2099 * gdb.base/foll-exec.exp: Likewise.
2100 * gdb.base/foll-fork.exp: Likewise.
2101 * gdb.base/foll-vfork.exp: Likewise.
2102 * gdb.base/funcargs.exp: Likewise.
2103 * gdb.base/hbreak2.exp: Likewise.
2104 * gdb.base/inferior-died.exp: Likewise.
2105 * gdb.base/interrupt.exp: Likewise.
2106 * gdb.base/multi-forks.exp: Likewise.
2107 * gdb.base/nodebug.exp: Likewise.
2108 * gdb.base/sepdebug.exp: Likewise.
2109 * gdb.base/solib1.c: Likewise.
2110 * gdb.base/step-test.exp: Likewise.
2111 * gdb.mi/non-stop.c: Likewise.
2112 * gdb.mi/pthreads.c: Likewise.
2113 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2114 * gdb.threads/pthreads.c: Likewise.
2115 * gdb.threads/staticthreads.exp: Likewise.
2116 * lib/future.exp: Likewise.
2117 * lib/gdb.exp: Likewise.
2118 * gdb.base/so-indr-cl.c: Remove.
2119 * gdb.base/so-indr-cl.exp: Likewise.
2120 * gdb.base/solib.c: Likewise.
2121 * gdb.base/solib.exp: Likewise.
2122 * gdb.base/solib2.c: Likewise.
2124 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2126 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2127 * gdb.base/call-ar-st.exp: Likewise.
2128 * gdb.base/callfuncs.exp: Likewise.
2129 * gdb.base/condbreak.exp: Likewise.
2130 * gdb.base/constvars.exp: Likewise.
2131 * gdb.base/hbreak2.exp: Likewise.
2132 * gdb.base/langs.exp: Likewise.
2133 * gdb.base/list.exp: Likewise.
2134 * gdb.base/long_long.exp: Likewise.
2135 * gdb.base/ptype.exp: Likewise.
2136 * gdb.base/scope.exp: Likewise.
2137 * gdb.base/signals.exp: Likewise.
2138 * gdb.base/so-impl-ld.exp: Likewise.
2139 * gdb.base/varargs.exp: Likewise.
2140 * gdb.base/volatile.exp: Likewise.
2141 * gdb.base/whatis.exp: Likewise.
2142 * gdb.cp/cplusfuncs.exp: Likewise.
2143 * gdb.cp/inherit.exp: Likewise.
2144 * gdb.cp/local.exp: Likewise.
2145 * gdb.cp/member-ptr.exp: Likewise.
2146 * gdb.cp/method.exp: Likewise.
2147 * gdb.cp/overload.exp: Likewise.
2148 * gdb.cp/templates.exp: Likewise.
2149 * gdb.stabs/weird.exp: Likewise.
2150 * lib/compiler.c: Likewise.
2151 * lib/compiler.cc: Likewise.
2152 * lib/cp-support.exp: Likewise.
2153 * lib/gdb.exp: Likewise.
2155 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2157 * configure.ac: Remove HP-UX case.
2158 * configure: Regenerate.
2160 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2162 * lib/gdb.exp (gdb_compile): Add function doc.
2164 2015-12-17 Pedro Alves <palves@redhat.com>
2167 * gdb.multi/info-threads.exp: New file.
2169 2015-12-15 Yao Qi <yao.qi@linaro.org>
2171 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2174 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2176 * gdb.base/history-duplicates.exp: Skip if no readline support.
2178 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2180 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2182 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2184 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2186 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2188 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2189 ctrl-C if nointerrupts target property is set.
2190 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2191 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2192 * gdb.base/paginate-bg-execution.exp: Likewise.
2193 * gdb.base/paginate-execution-startup.exp: Likewise.
2194 * gdb.base/random-signal.exp: Likewise.
2195 * gdb.base/range-stepping.exp: Likewise.
2196 * gdb.cp/annota2.exp: Likewise.
2197 * gdb.cp/annota3.exp: Likewise.
2198 * gdb.gdb/selftest.exp: Likewise.
2199 * gdb.threads/continue-pending-status.exp: Likewise.
2200 * gdb.threads/leader-exit.exp: Likewise.
2201 * gdb.threads/manythreads.exp: Likewise.
2202 * gdb.threads/pthreads.exp: Likewise.
2203 * gdb.threads/schedlock.exp: Likewise.
2204 * gdb.threads/sigthread.exp: Likewise.
2206 2015-12-11 Don Breazeal <donb@codesourcery.com>
2208 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2210 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2211 * gdb.base/foll-exec.exp (main): Enable for target remote.
2212 * gdb.base/foll-fork.exp (main): Likewise.
2213 * gdb.base/foll-vfork.exp (main): Likewise.
2214 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2215 (proc continue_to_exit_bp_loc): Use clean_restart.
2216 * gdb.base/pie-execl.exp (main): Disable for target remote.
2217 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2218 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2219 * gdb.threads/execl.exp (main): Likewise.
2220 * gdb.threads/fork-child-threads.exp (main): Likewise.
2221 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2223 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2225 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2226 pid.tid style ptids, instead of just tid.
2227 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2228 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2229 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2230 ptids, instead of just tid.
2232 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2234 * gdb.base/list.exp (test_list_forward): Add end of file error
2236 (test_repeat_list_command): Add end of file error test.
2237 (test_list_backwards): Add beginning of file error test.
2239 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2241 * gdb.base/list.exp (test_list_invalid_args): New function,
2242 defined, and called.
2244 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2246 * gdb.base/list.exp (test_list): Make test names unique.
2248 2015-12-11 Yao Qi <yao.qi@linaro.org>
2250 * gdb.base/coremaker2.c: Remove.
2252 2015-12-10 Pedro Alves <palves@redhat.com>
2254 * gdb.multi/base.exp: Remove stale "spaces" references.
2256 2015-12-10 Pedro Alves <palves@redhat.com>
2258 * gdb.multi/base.exp: Don't use nowarnings.
2259 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2260 * gdb.multi/hangout.c: Include stdio.h.
2261 * gdb.multi/hello.c: Include stdlib.h.
2262 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2263 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2264 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2266 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * gdb.dwarf2/dw2-ranges-base.c: New file.
2269 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2270 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2271 support additional line table, and debug ranges generation.
2272 (Dwarf::ranges): New function, generate .debug_ranges.
2273 (Dwarf::lines): Support generating simple line table programs.
2274 (Dwarf::assemble): Initialise new namespace variables.
2276 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2278 * gdb.base/async.exp (proc test_background): Add case for
2279 asynchronous execution not supported.
2281 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2283 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2284 format and change test names to make them unique.
2286 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2287 Pedro Alves <pedro@redhat.com>
2290 Add checking of floatformats setup on x86_64 hosts.
2291 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2292 (smallval, bigval): New labels/constants.
2293 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2294 float" after loading bigval and smallval.
2296 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2298 * gdb.ada/fun_overload_menu.exp: New testcase.
2299 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2301 2015-12-04 Josh Stone <jistone@redhat.com>
2303 * gdb.base/catch-fork-static.exp: New.
2305 2015-12-03 Yao Qi <yao.qi@linaro.org>
2307 * gdb.base/sizeof.c: Don't include stdio.h and
2308 ../lib/unbuffer_output.c.
2309 (main): New variable 'size' and 'value'. Remove printf and
2310 gdb_unbuffer_output. Assign return value to size and value.
2311 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2313 (check_sizeof): Check the result by printing variable 'size'.
2314 (check_valueof): Check the result by printing variable 'value'.
2316 2015-12-01 Yao Qi <yao.qi@linaro.org>
2318 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2319 for aarch64*-*-linux* target.
2321 2015-11-30 Pedro Alves <palves@redhat.com>
2323 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2325 2015-11-30 Pedro Alves <palves@redhat.com>
2327 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2328 Handle non-stop mode vCont replies.
2330 2015-11-30 Pedro Alves <palves@redhat.com>
2332 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2333 prepare_for_testing. Start gdb with "set non-stop on" appended to
2334 GDBFLAGS. Lax expected stop output.
2336 2015-11-27 Yao Qi <yao.qi@linaro.org>
2338 * gdb.arch/arm-neon.exp: New.
2339 * gdb.arch/arm-neon.c: New.
2341 2015-11-27 Yao Qi <yao.qi@linaro.org>
2343 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2345 2015-11-27 Yao Qi <yao.qi@linaro.org>
2347 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2348 frames-invalid annotation.
2350 2015-11-27 Yao Qi <yao.qi@linaro.org>
2352 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2354 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2356 * gdb.threads/names.exp: New file.
2357 * gdb.threads/names.c: New file.
2358 * README: Mention gdb,no_thread_names.
2360 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2363 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2366 2015-11-24 Pedro Alves <palves@redhat.com>
2369 * gdb.base/display.exp: Expect displays to be sorted in ascending
2370 order. Use multi_line.
2371 * gdb.base/solib-display.exp: Likewise.
2373 2015-11-24 Pedro Alves <palves@redhat.com>
2376 * gdb.base/display.exp: Expect displays to be sorted in ascending
2377 order. Use multi_line.
2378 * gdb.base/solib-display.exp: Likewise.
2380 2015-11-24 Pedro Alves <palves@redhat.com>
2383 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2384 threads in ascending order.
2385 * gdb.base/foll-fork.exp: Likewise.
2386 * gdb.base/foll-vfork.exp: Likewise.
2387 * gdb.base/multi-forks.exp: Likewise.
2388 * gdb.mi/mi-nonstop.exp: Likewise.
2389 * gdb.mi/mi-nsintrall.exp: Likewise.
2390 * gdb.multi/base.exp: Likewise.
2391 * gdb.multi/multi-arch.exp: Likewise.
2392 * gdb.python/py-inferior.exp: Likewise.
2393 * gdb.threads/break-while-running.exp: Likewise.
2394 * gdb.threads/execl.exp: Likewise.
2395 * gdb.threads/gcore-thread.exp: Likewise.
2396 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2397 * gdb.threads/kill.exp: Likewise.
2398 * gdb.threads/linux-dp.exp: Likewise.
2399 * gdb.threads/multiple-step-overs.exp: Likewise.
2400 * gdb.threads/next-bp-other-thread.exp: Likewise.
2401 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2402 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2403 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2404 * gdb.threads/thread-find.exp: Likewise.
2405 * gdb.threads/tls.exp: Likewise.
2406 * lib/mi-support.exp (mi_reverse_list): Delete.
2407 (mi_check_thread_states): No longer reverse list.
2409 2015-11-24 Pedro Alves <palves@redhat.com>
2411 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2414 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2416 * gdb.trace/actions.c: Include trace-common.h.
2417 (main): Add a location for a fast tracepoint.
2418 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2419 the normal tracepoints.
2420 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2422 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2424 * save-trace.exp: Factor out code to these...
2425 (gdb_save_tracepoints): New.
2426 (gdb_load_tracepoints): New.
2427 (do_save_load_test): New.
2429 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2431 * gdb.base/asmlabel.exp: New test.
2432 * gdb.base/asmlabel.c: New test case.
2434 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2436 * gdb.base/wrong_frame_bt_full-main.c: New file.
2437 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2438 * gdb.base/wrong_frame_bt_full.exp: New file.
2440 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2442 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2444 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2446 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2447 pstate register when comparing registers values in
2448 sparc64-*-linux-gnu targets to avoid spurious differences.
2450 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2452 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2454 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2456 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2457 as type argument to gdb_compile.
2458 * gdb.base/nested-subp2.exp: Likewise.
2459 * gdb.base/nested-subp3.exp: Likewise.
2461 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2463 * lib/dwarf.exp (_note): Fix left shift of negative value.
2464 * gdb.trace/trace-condition.exp: Likewise.
2466 2015-11-13 Yao Qi <yao.qi@linaro.org>
2468 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2469 comments about d10v.
2470 (test_scalar_returns): Likewise.
2471 * gdb.base/d10v.ld: Remove.
2472 * gdb.base/overlays.exp: Remove the target triplet checking for
2474 * gdb.base/structs.exp (test_struct_returns): Remove the
2475 comments about d10v.
2476 (test_struct_calls): Likewise.
2478 2015-11-13 Yao Qi <yao.qi@linaro.org>
2480 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2481 * gdb.base/gnu_vector.c: Don't include stdio.h.
2482 (main): Don't print res and call add_some_intvecs.
2484 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2486 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2489 (func4): Use FAST_TRACEPOINT_LABEL.
2490 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2493 (thread_function): Use FAST_TRACEPOINT_LABEL.
2494 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2496 (marker): Use FAST_TRACEPOINT_LABEL.
2497 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2498 (pendfunc1): Remove.
2499 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2500 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2502 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2503 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2506 (marker): Use FAST_TRACEPOINT_LABEL.
2507 * gdb.trace/trace-common.h: New header.
2508 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2511 (marker): Use FAST_TRACEPOINT_LABEL.
2512 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2514 (thread_function): Use FAST_TRACEPOINT_LABEL.
2516 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2518 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2520 * gdb.trace/change-loc.exp: Use global pcreg definition.
2521 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2522 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2524 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2525 * gdb.trace/pending.exp: Likewise.
2526 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2527 * gdb.trace/trace-break.exp: Likewise.
2528 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2530 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2531 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2533 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2535 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2537 * gdb.ada/fin_fun_out: New testcase.
2539 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2541 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2542 value associated with DW_AT_byte_size.
2543 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2544 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2547 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2549 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2550 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2552 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2553 gdb.dwarf2/dw2-canonicalize-type.exp,
2554 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2555 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2556 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2557 provided by gdb_target_symbol_prefix_flags_asm.
2558 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2559 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2560 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2561 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2562 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2563 macros where needed). Use this macro for symbols which require
2564 the prefix provided by SYMBOL_PREFIX.
2566 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2568 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2570 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2571 representing expressions, of more than one list element.
2572 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2573 to prepend linker symbol prefix to f.
2574 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2575 table_1 and table_2.
2576 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2577 Likewise, for f and g.
2578 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2580 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2582 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2583 table_1_ptr and table_2_ptr.
2585 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2586 Joel Brobecker <brobecker@adacore.com>
2588 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2590 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2592 * gdb.reverse/s390-mvcle.c: New test.
2593 * gdb.reverse/s390-mvcle.exp: New file.
2594 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2596 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2598 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2600 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2602 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2604 * gdb.reverse/getresuid-reverse.exp: Likewise.
2605 * gdb.reverse/pipe-reverse.exp: Likewise.
2606 * gdb.reverse/readv-reverse.exp: Likewise.
2607 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2608 * gdb.reverse/time-reverse.exp: Likewise.
2609 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2611 2015-10-30 Yao Qi <yao.qi@linaro.org>
2613 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2614 (empty_cycle): Remove.
2615 (main): Don't call empty_cycle. Don't use watch_count_done.
2616 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2617 empty_cycle. Rewrite the code counting HW watchpoints.
2619 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2621 * gdb.reverse/fstatat-reverse.c: New test.
2622 * gdb.reverse/fstatat-reverse.exp: New file.
2623 * gdb.reverse/getresuid-reverse.c: New test.
2624 * gdb.reverse/getresuid-reverse.exp: New file.
2625 * gdb.reverse/pipe-reverse.c: New test.
2626 * gdb.reverse/pipe-reverse.exp: New file.
2627 * gdb.reverse/readv-reverse.c: New test.
2628 * gdb.reverse/readv-reverse.exp: New file.
2629 * gdb.reverse/recvmsg-reverse.c: New test.
2630 * gdb.reverse/recvmsg-reverse.exp: New file.
2631 * gdb.reverse/time-reverse.c: New test.
2632 * gdb.reverse/time-reverse.exp: New file.
2633 * gdb.reverse/waitpid-reverse.c: New test.
2634 * gdb.reverse/waitpid-reverse.exp: New file.
2636 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2638 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2640 2015-10-26 Doug Evans <dje@google.com>
2643 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2644 * gdb.dwarf2/bad-regnum.c: New file.
2645 * gdb.dwarf2/bad-regnum.exp: New file.
2647 2015-10-26 Doug Evans <dje@google.com>
2650 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2653 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2655 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2656 for a change by "Mention language in compile error message".
2658 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2661 * gdb.python/py-type.c (C::a_method): New.
2662 (C::a_const_method): New.
2663 (C::a_static_method): New.
2665 * gdb.python/py-type.exp (test_fields): Test getting fields
2666 from function and method.
2668 2015-10-21 Keven Boell <keven.boell@intel.com>
2670 * gdb.fortran/vla-alloc-assoc.exp: New file.
2671 * gdb.fortran/vla-datatypes.exp: New file.
2672 * gdb.fortran/vla-datatypes.f90: New file.
2673 * gdb.fortran/vla-history.exp: New file.
2674 * gdb.fortran/vla-ptype-sub.exp: New file.
2675 * gdb.fortran/vla-ptype.exp: New file.
2676 * gdb.fortran/vla-sizeof.exp: New file.
2677 * gdb.fortran/vla-sub.f90: New file.
2678 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2679 * gdb.fortran/vla-value-sub-finish.exp: New file.
2680 * gdb.fortran/vla-value-sub.exp: New file.
2681 * gdb.fortran/vla-value.exp: New file.
2682 * gdb.fortran/vla-ptr-info.exp: New file.
2683 * gdb.mi/mi-vla-fortran.exp: New file.
2684 * gdb.mi/vla.f90: New file.
2686 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2688 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2689 of hardwired timeout value.
2691 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2692 Pedro Alves <palves@redhat.com>
2694 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2695 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2697 2015-10-19 Josh Stone <jistone@redhat.com>
2699 * gdb.base/catch-syscall.c: Include <sched.h>.
2700 (unknown_syscall): New variable.
2701 (main): Trigger a vfork and an unknown syscall.
2702 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2703 (unknown_syscall_number): Likewise.
2704 (check_call_to_syscall): Accept an optional syscall pattern.
2705 (check_return_from_syscall): Likewise.
2706 (check_continue): Likewise.
2707 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2708 (test_catch_syscall_skipping_return): New test toggling off 'catch
2709 syscall' to step over the syscall return, then toggling back on.
2710 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2711 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2712 (do_syscall_tests): Call test_catch_syscall_without_args and
2713 test_catch_syscall_mid_vfork.
2714 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2715 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2717 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2719 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2720 print g_vE): Add new pass patterns.
2721 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2722 print various symbol names for vptr fields.
2724 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2726 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2729 2015-10-12 Yao Qi <yao.qi@linaro.org>
2731 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2733 2015-10-12 Yao Qi <yao.qi@linaro.org>
2735 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2736 is aarch64*-*-linux*.
2738 2015-10-12 Yao Qi <yao.qi@linaro.org>
2740 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2741 (can_relocate_bcond_true): ... it.
2742 (can_relocate_bcond_false): New function.
2744 (can_relocate_bl): Likewise.
2745 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2748 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2750 * gdb.base/nested-addr.c: New file.
2751 * gdb.base/nested-addr.exp: New testcase.
2753 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2755 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2756 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2757 its output. Ignore the output of "record goto begin" and instead
2758 check that GDB is replaying.
2760 2015-10-09 Pedro Alves <palves@redhat.com>
2762 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2763 (top level): Use it in the run with no args test.
2765 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2767 * gdb.dlang/properties.exp: New file.
2769 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2771 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2772 whether or not address 0x1000 is mapped on the target.
2774 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2776 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2779 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2781 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2782 instruction-history test.
2784 2015-09-28 Doug Evans <dje@google.com>
2786 * gdb.base/gcore.c (array_func): Add reference to static_array.
2788 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2790 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2793 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2795 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2796 short or char as base type.
2798 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2800 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2801 to allow any size enum.
2803 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2805 * gdb.ada/array_ptr_renaming.exp: New testcase.
2806 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2807 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2809 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2811 * gdb.trace/ftrace-lock.c: New file.
2812 * gdb.trace/ftrace-lock.exp: New file.
2814 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2816 * gdb.arch/insn-reloc.c: New file.
2817 * gdb.arch/ftrace-insn-reloc.exp: New file.
2819 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2821 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2823 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2824 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2825 * gdb.trace/range-stepping.c: Likewise.
2826 * gdb.trace/trace-break.c: Likewise.
2827 * gdb.trace/trace-mt.c (thread_function): Likewise.
2828 * gdb.trace/ftrace.c (marker): Likewise.
2829 * gdb.trace/trace-condition.c (marker): Likewise.
2830 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2831 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2834 2015-09-18 Doug Evans <xdje42@gmail.com>
2836 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2837 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2839 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2841 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2844 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2846 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2847 the pending breakpoint. Remove timeout override for "Run till
2848 MI pending breakpoint on pendfunc3 on thread 2" test.
2850 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2852 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2855 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2857 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2858 in breakpoint filename pattern.
2860 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2862 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2864 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2866 * gdb.linespec/explicit.exp: Check for readline support for
2867 tab-completion tests. Fix obvious typo.
2869 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2871 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2874 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2876 * gdb.btrace/non-stop.c: New.
2877 * gdb.btrace/non-stop.exp: New.
2879 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2880 Yao Qi <yao.qi@linaro.org>
2882 * gdb.trace/trace-condition.c: New file.
2883 * gdb.trace/trace-condition.exp: New file.
2885 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2887 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2888 for testing bytecode compilation.
2890 2015-09-16 Pedro Alves <palves@redhat.com>
2891 Sandra Loosemore <sandra@codesourcery.com>
2893 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2894 (SECONDS): Redefine.
2895 (main): Call pthread_kill and alarm early.
2896 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2898 (test): If the target can't hardware step and doesn't support
2899 displaced stepping, increase the timeout.
2901 2015-09-16 Pedro Alves <palves@redhat.com>
2903 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2904 (enable_debug): New procedures.
2905 (test): Use them. Bail out if waiting for threads fails.
2906 (top level): Bail out if a test fails.
2908 2015-09-16 Yao Qi <yao.qi@linaro.org>
2910 * gdb.asm/asm-source.exp: Set asm-arch for
2911 aarch64*-*-* target.
2912 * gdb.asm/aarch64.inc: New file.
2914 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2916 * gdb.ada/array_of_variable_length.exp: New testcase.
2917 * gdb.ada/array_of_variable_length/foo.adb: New file.
2918 * gdb.ada/array_of_variable_length/pck.adb: New file.
2919 * gdb.ada/array_of_variable_length/pck.ads: New file.
2921 2015-09-15 Doug Evans <dje@google.com>
2923 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2924 of function static local variable.
2926 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2928 * gdb.threads/tls-so_extern.exp: New test file.
2929 * gdb.threads/tls-so_extern.c: New test file.
2930 * gdb.threads/tls-so_extern_main.c: New test file.
2932 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2934 * gdb.opt/solib-intra-step-lib.c: New file.
2935 * gdb.opt/solib-intra-step-main.c: New file.
2936 * gdb.opt/solib-intra-step.exp: New file.
2938 2015-09-15 Pedro Alves <palves@redhat.com>
2940 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2941 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2943 2015-09-14 Pedro Alves <palves@redhat.com>
2945 * gdb.base/hook-stop-continue.c: Delete.
2946 * gdb.base/hook-stop-continue.exp: Delete.
2947 * gdb.base/hook-stop-frame.c: Delete.
2948 * gdb.base/hook-stop-frame.exp: Delete.
2949 * gdb.base/hook-stop.c: New file.
2950 * gdb.base/hook-stop.exp: New file.
2952 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2954 * gdb.ada/access_to_packed_array.exp: New testcase.
2955 * gdb.ada/access_to_packed_array/foo.adb: New file.
2956 * gdb.ada/access_to_packed_array/pack.adb: New file.
2957 * gdb.ada/access_to_packed_array/pack.ads: New file.
2959 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2961 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2964 2015-09-11 Don Breazeal <donb@codesourcery.com>
2966 * gdb.base/foll-exec.c: Add copyright header. Fix
2968 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2969 (do_exec_tests): Use clean_restart in place of zap_session,
2970 and for test initialization. Fix formatting issues. Use
2971 fail in place of perror.
2972 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2973 an expect statement to match an expression with output from
2974 the program under debug.
2975 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2976 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2977 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2978 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2979 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2981 2015-09-09 Doug Evans <dje@google.com>
2983 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2985 2015-09-09 Doug Evans <dje@google.com>
2987 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2989 2015-09-09 Doug Evans <dje@google.com>
2991 * gdb.base/savedregs.exp: Fix typo.
2993 2015-09-09 Pedro Alves <palves@redhat.com>
2995 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2997 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2999 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3000 command actually switches threads. Give up on remaining
3001 tests if target fails to stop at breakpoint.
3003 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3005 * gdb.ada/funcall_char.exp: New testcase.
3006 * gdb.ada/funcall_char/foo.adb: New file.
3008 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3010 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3011 expected outputs. Add two testcases for completing ambiguous
3013 * gdb.ada/complete/aux_pck.adb: New file.
3014 * gdb.ada/complete/aux_pck.ads: New file.
3015 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3016 Ambiguous_Func functions.
3017 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3018 * gdb.ada/complete/pck.adb: Likewise.
3020 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3022 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3023 failures to run the test program under GDB.
3025 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3027 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3030 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3032 * gdb.base/run-after-attach.exp: New test file.
3033 * gdb.base/run-after-attach.c: New test file.
3035 2015-08-26 Don Breazeal <donb@codesourcery.com>
3037 * gdb.base/foll-exec-2.c: New test program.
3038 * gdb.base/foll-exec-2.exp: New test.
3040 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3042 * gdb.base/nested-subp1.exp: New file.
3043 * gdb.base/nested-subp1.c: New file.
3044 * gdb.base/nested-subp2.exp: New file.
3045 * gdb.base/nested-subp2.c: New file.
3046 * gdb.base/nested-subp3.exp: New file.
3047 * gdb.base/nested-subp3.c: New file.
3049 2015-08-24 Pedro Alves <palves@redhat.com>
3051 * gdb.server/connect-without-multi-process.c: New file.
3052 * gdb.server/connect-without-multi-process.exp: New file.
3054 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3056 * gdb.opt/inline-markers.c: Make z int.
3058 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3060 * gdb.opt/inline-markers.c: Make z volatile.
3062 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3064 * gdb.opt/inline-bt.c: New volatile global z.
3065 * gdb.opt/inline-cmds.c: Likewise.
3066 * gdb.opt/inline-locals.c: Likewise.
3067 * gdb.opt/inline-markers.c: New extern global z.
3069 (inline_fn): Likewise.
3071 2015-08-24 Pedro Alves <palves@redhat.com>
3073 * config/m32r-stub.exp: Remove file.
3074 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3075 * gdb.base/call-rt-st.exp: Likewise.
3076 * gdb.base/call-strs.exp: Likewise.
3077 * gdb.base/default.exp: Remove references to h8300-*-hms and
3079 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3081 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3083 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3084 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3085 and "return" use KFAIL when GDB can not read/write the vector
3088 2015-08-21 Gary Benson <gbenson@redhat.com>
3090 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3092 2015-08-20 Pedro Alves <palves@redhat.com>
3094 * gdb.server/solib-list.exp: No longer expect an interior stop in
3097 2015-08-20 Pedro Alves <palves@redhat.com>
3099 * gdb.server/connect-stopped-target.c: New file.
3100 * gdb.server/connect-stopped-target.exp: New file.
3102 2015-08-20 Pedro Alves <palves@redhat.com>
3104 * gdb.dwarf2/comp-unit-lang.exp: New file.
3105 * gdb.dwarf2/comp-unit-lang.c: New file.
3107 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3109 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3110 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3112 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3114 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3115 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3117 2015-08-18 Doug Evans <dje@google.com>
3118 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3120 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3121 skip_python_tests. New arg prompt_regexp.
3122 (skip_python_tests): New function.
3123 * lib/mi-support.exp (mi_skip_python_tests): New function.
3124 * gdb.python/py-mi-objfile-gdb.py: New file.
3125 * gdb.python/py-mi-objfile.c: New file.
3126 * gdb.python/py-mi-objfile.exp: New file.
3128 2015-08-17 Keith Seitz <keiths@redhat.com>
3130 * gdb.linespec/explicit.exp: Move strace test from here ...
3131 * gdb.trace/strace.exp: ... to here.
3133 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3135 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3136 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3138 2015-08-14 Doug Evans <xdje42@gmail.com>
3140 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3141 inferior before selecting a new file.
3143 2015-08-14 Doug Evans <xdje42@gmail.com>
3145 * gdb.mi/mi-disassemble.exp: Update.
3146 * gdb.base/disasm-optim.S: New file.
3147 * gdb.base/disasm-optim.c: New file.
3148 * gdb.base/disasm-optim.h: New file.
3149 * gdb.base/disasm-optim.exp: New file.
3151 2015-08-14 Keith Seitz <keiths@redhat.com>
3153 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3156 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3158 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3160 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3162 * gdb.ada/fun_renaming.exp: New testcase.
3163 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3164 * gdb.ada/fun_renaming/pack.adb: New file.
3165 * gdb.ada/fun_renaming/pack.ads: New file.
3167 2015-08-12 Keith Seitz <keiths@redhat.com>
3169 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3170 gdb_get_line_number.
3172 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3174 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3175 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3176 gdb.base/dso2dso.exp: New files.
3178 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3179 Pedro Alves <palves@redhat.com>
3180 Keith Seitz <keiths@redhat.com>
3182 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3185 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3187 * gdb.base/gdbhistsize-history.exp
3188 (test_histsize_history_setting): Use save_vars.
3189 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3191 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3192 * gdb.base/readline.exp: Use save_vars.
3194 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3196 * lib/gdb.exp (save_vars): New proc.
3198 2015-08-11 Keith Seitz <keiths@redhat.com>
3200 * gdb.base/help.exp: Update help_breakpoint_text.
3202 2015-08-11 Keith Seitz <keiths@redhat.com>
3204 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3205 (at toplevel): Call test_explicit_breakpoints.
3206 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3208 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3209 breakpoint conditions, "-cond".
3211 2015-08-11 Keith Seitz <keiths@redhat.com>
3213 * gdb.linespec/3explicit.c: New file.
3214 * gdb.linespec/cpexplicit.cc: New file.
3215 * gdb.linespec/cpexplicit.exp: New file.
3216 * gdb.linespec/explicit.c: New file.
3217 * gdb.linespec/explicit.exp: New file.
3218 * gdb.linespec/explicit2.c: New file.
3219 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3220 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3221 before using in the matching pattern.
3222 Clarify that `prefix' is a regular expression.
3224 2015-08-11 Keith Seitz <keiths@redhat.com>
3226 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3228 Add tests for missing ",FMT" and ",".
3230 2015-08-10 Doug Evans <dje@google.com>
3231 Keith Seitz <keiths@redhat.com>
3234 * gdb.base/completion.exp: Add location completer tests.
3236 2015-08-07 Pedro Alves <palves@redhat.com>
3238 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3240 (top level): Run do_test with and without displaced stepping.
3242 2015-08-07 Pedro Alves <palves@redhat.com>
3244 * gdb.base/valgrind-disp-step.c: New file.
3245 * gdb.base/valgrind-disp-step.exp: New file.
3247 2015-08-07 Pedro Alves <palves@redhat.com>
3249 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3251 (main): Add alarm. Run an infinite loop instead of calling
3253 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3255 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3257 (main): Add alarm. Run an infinite loop instead of calling
3259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3262 2015-08-07 Pedro Alves <palves@redhat.com>
3264 * gdb.base/checkpoint-ns.exp: New file.
3265 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3268 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3270 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3271 * gdb.btrace/instruction_history.exp: Update.
3272 * gdb.btrace/tsx.exp: New.
3273 * gdb.btrace/tsx.c: New.
3275 2015-08-06 Pedro Alves <palves@redhat.com>
3277 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3279 * gdb.reverse/until-precsave.exp: Bump timeouts.
3281 2015-08-06 Pedro Alves <palves@redhat.com>
3283 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3285 2015-08-06 Pedro Alves <palves@redhat.com>
3288 * gdb.threads/process-dies-while-handling-bp.c: New file.
3289 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3291 2015-08-06 Pedro Alves <palves@redhat.com>
3293 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3294 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3296 2015-08-05 Pedro Alves <palves@redhat.com>
3298 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3299 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3301 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3303 * gdb.base/bp-permanent.exp: Report test as unsupported if
3304 the target cannot stop at the permanent breakpoint.
3306 2015-08-03 Doug Evans <dje@google.com>
3308 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3311 2015-08-03 Doug Evans <dje@google.com>
3313 * Makefile.in (workers/%.worker, build-perf): New rule.
3314 (GDB_PERFTEST_MODE): New variable.
3315 (check-perf): Use it.
3316 (clean): Clean up gdb.perf parallel build subdirs.
3317 * lib/build-piece.exp: New file.
3318 * lib/gdb.exp (make_gdb_parallel_path): New function
3319 (standard_output_file, standard_temp_file): Call it.
3320 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3322 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3324 2015-08-03 Doug Evans <dje@google.com>
3326 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3327 (LOG_FILE_NAME): New global.
3328 (TextReporter.__init__): Initialize self.txt_sum.
3329 (TextReporter.report): Add support for multiple data-points.
3330 Move report to perftest.sum, put raw data in perftest.log.
3331 (TextReporter.start): Open sum and log files.
3332 (TextReporter.end): Close sum and log files.
3333 * gdb.perf/lib/perftest/testresult.py
3334 (SingleStatisticTestResult.record): Handle multiple data-points.
3336 2015-07-31 Pedro Alves <palves@redhat.com>
3338 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3339 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3340 kill_wait_spawned_process instead of explicit "kill -9".
3341 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3342 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3343 kill_wait_spawned_process.
3344 * gdb.base/attach-twice.exp: Likewise.
3345 * gdb.base/attach.exp: Likewise.
3346 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3348 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3349 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3350 kill_wait_spawned_process.
3351 * gdb.base/valgrind-infcall.exp: Likewise.
3352 * gdb.multi/multi-attach.exp: Likewise.
3353 * gdb.python/py-prompt.exp: Likewise.
3354 * gdb.python/py-sync-interp.exp: Likewise.
3355 * gdb.server/ext-attach.exp: Likewise.
3356 * gdb.threads/attach-into-signal.exp (corefunc): Use
3357 spawn_wait_for_attach, spawn_id_get_pid and
3358 kill_wait_spawned_process.
3359 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3360 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3361 spawn_id_get_pid and kill_wait_spawned_process.
3362 * gdb.threads/attach-stopped.exp (corefunc): Use
3363 spawn_wait_for_attach, spawn_id_get_pid and
3364 kill_wait_spawned_process.
3365 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3366 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3367 kill_wait_spawned_process instead of explicit "kill -9".
3368 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3369 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3370 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3371 processes. Don't map cygwin/windows pids here. Now returns a
3374 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3376 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3377 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3380 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3382 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3384 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3387 2014-05-21 Mark Wielaard <mjw@redhat.com>
3389 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3391 2015-07-30 Pedro Alves <palves@redhat.com>
3393 * linux-low.c (handle_extended_wait): Set the child's last
3394 reported status to TARGET_WAITKIND_STOPPED.
3396 2015-07-30 Pedro Alves <palves@redhat.com>
3399 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3400 only shows inferior 1.
3402 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3403 Pedro Alves <palves@redhat.com>
3406 * gdb.threads/fork-plus-threads.c: New file.
3407 * gdb.threads/fork-plus-threads.exp: New file.
3409 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3411 * gdb.base/batch-preserve-term-settings.exp
3412 (test_terminal_settings_preserved_after_cli_exit): Use
3415 2015-07-29 Pedro Alves <palves@redhat.com>
3416 Don Breazeal <donb@codesourcery.com>
3418 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3419 output from both inferior_spawn_id and gdb_spawn_id.
3421 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3423 * gdb.threads/attach-into-signal.exp (corefunc): Use
3424 with_test_prefix on nested loops, uniquefying the test messages.
3426 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3428 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3431 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3433 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3435 (test_terminal_settings_preserved_after_sigterm): New test.
3437 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3439 * gdb.base/batch-preserve-term-settings.exp
3440 (test_terminal_settings_preserved_after_cli_exit): New test.
3442 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3444 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3445 manipulation of saved_gdbflags.
3446 (test_terminal_settings_preserved): Remove global declaration of
3447 the unused variable pagination_prompt. Remove manipulation of
3448 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3451 2015-07-29 Pedro Alves <palves@redhat.com>
3453 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3455 2015-07-29 Pedro Alves <palves@redhat.com>
3457 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3460 2015-07-29 Pedro Alves <palves@redhat.com>
3462 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3463 (main): Call gdb_unbuffer_output.
3464 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3465 (main): Call gdb_unbuffer_output.
3466 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3467 (main): Call gdb_unbuffer_output.
3468 * gdb.base/call-strs.exp: Adjust to step over the
3469 gdb_unbuffer_output call.
3470 * gdb.base/catch-gdb-caused-signals.c: Include
3471 "../lib/unbuffer_output.c".
3472 (main): Call gdb_unbuffer_output.
3473 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3474 (main): Call gdb_unbuffer_output.
3475 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3476 (main): Call gdb_unbuffer_output.
3477 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3478 (main): Call gdb_unbuffer_output.
3479 * gdb.base/shlib-call.exp: Adjust to step over the
3480 gdb_unbuffer_output call.
3481 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3482 (main): Call gdb_unbuffer_output.
3483 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3484 (main): Call gdb_unbuffer_output.
3485 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3486 (main): Rename to ...
3488 (main): Reimplement.
3489 * gdb.base/varargs.exp: Run to test instead of to main.
3490 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3491 (main): Call gdb_unbuffer_output.
3493 2015-07-29 Pedro Alves <palves@redhat.com>
3495 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3496 factore out from mi_continue_dprintf. For call-style dprintfs,
3497 expect dprintf output out of $inferior_spawn_id.
3498 (mi_continue_dprintf): Use mi_expect_dprintf.
3499 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3500 (main): Call gdb_unbuffer_output.
3502 2015-07-29 Pedro Alves <palves@redhat.com>
3504 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3505 (default_mi_gdb_start): Set inferior_spawn_id instead of
3506 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3508 (mi_gdb_test): Always expect inferior output from both
3509 $inferior_spawn_id and $gdb_spawn_id.
3511 2015-07-29 Pedro Alves <palves@redhat.com>
3513 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3514 send_inferior and $inferior_spawn_id.
3516 2015-07-29 Pedro Alves <palves@redhat.com>
3518 * gdb.gdb/complaints.exp (test_initial_complaints)
3519 (test_serial_complaints, test_short_complaints): Use
3521 (test_empty_complaint): Handle $inferior_spawn_id !=
3524 2015-07-29 Pedro Alves <palves@redhat.com>
3526 * gdb.base/varargs.exp: Use gdb_test_stdio.
3528 2015-07-29 Pedro Alves <palves@redhat.com>
3530 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3532 2015-07-29 Pedro Alves <palves@redhat.com>
3534 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3536 2015-07-29 Pedro Alves <palves@redhat.com>
3538 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3539 parameter into two new parameters, "inf_result" and "gdb_result".
3540 Expect inferior output and gdb output from $inferior_spawn_id and
3541 $gdb_spawn_id, respectively. Adjust all callers.
3543 2015-07-29 Pedro Alves <palves@redhat.com>
3545 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3546 of gdb_test_sequence.
3548 2015-07-29 Pedro Alves <palves@redhat.com>
3550 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3551 (saw_spurious_output): Expect inferior output from
3552 $inferior_spawn_id. Use gdb_test_stdio.
3554 2015-07-29 Pedro Alves <palves@redhat.com>
3556 * gdb.base/dprintf.exp: Use standard_testfile. Change
3557 prepare_for_testing call.
3558 (srcfile): Don't set.
3559 (restart): New procedure.
3560 (test_dprintf): New procecure, use to continue over dprintfs.
3561 (test_call, test_agent): New procedures, tests moved here.
3562 Restart gdb and recreate dprintfs. Adjust expected output.
3564 2015-07-29 Pedro Alves <palves@redhat.com>
3566 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3570 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3572 2015-07-29 Pedro Alves <palves@redhat.com>
3574 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3577 2015-07-29 Pedro Alves <palves@redhat.com>
3579 * lib/gdb.exp (gdb_test_stdio): New procedure.
3581 2015-07-29 Pedro Alves <palves@redhat.com>
3583 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3585 2015-07-29 Pedro Alves <palves@redhat.com>
3587 * gdb.base/call-signal-resume.exp: Remove check for
3588 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3589 * gdb.base/unwindonsignal.exp: Likewise.
3590 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3591 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3593 2015-07-29 Pedro Alves <palves@redhat.com>
3595 * gdb.base/siginfo-addr.c (pass): New function.
3596 (handler): Call it iff si_addr is correct.
3597 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3598 Set a breakpoint at "pass" and continue to it.
3600 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3602 * gdb.python/py-objfile.exp: Make some tests have unique names.
3603 * gdb.python/py-pp-registration.exp: Likewise.
3605 2015-07-28 Pedro Alves <palves@redhat.com>
3607 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3609 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3611 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3613 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3615 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3617 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3619 * gdb.base/gdb-sigterm-2.exp: New test.
3621 2015-07-25 Doug Evans <xdje42@gmail.com>
3624 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3625 (workers/%.worker, build-perf): New rule.
3626 (GDB_PERFTEST_MODE): New variable.
3627 (check-perf): Use it.
3628 (clean): Clean up gdb.perf parallel build subdirs.
3629 * lib/build-piece.exp: New file.
3630 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3631 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3633 (standard_temp_file): Ditto.
3634 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3637 2015-07-24 Doug Evans <dje@google.com>
3639 * gdb.perf/lib/perftest/utils.py: New file.
3640 * gdb.perf/gm-hello.cc: New file.
3641 * gdb.perf/gm-pervasive-typedef.cc: New file.
3642 * gdb.perf/gm-pervasive-typedef.h: New file.
3643 * gdb.perf/gm-std.cc: New file.
3644 * gdb.perf/gm-std.h: New file.
3645 * gdb.perf/gm-use-cerr.cc: New file.
3646 * gdb.perf/gm-utils.h: New file.
3647 * gdb.perf/gmonster-null-lookup.py: New file.
3648 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3649 * gdb.perf/gmonster-print-cerr.py: New file.
3650 * gdb.perf/gmonster-ptype-string.py: New file.
3651 * gdb.perf/gmonster-runto-main.py: New file.
3652 * gdb.perf/gmonster-select-file.py: New file.
3653 * gdb.perf/gmonster1-null-lookup.exp: New file.
3654 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3655 * gdb.perf/gmonster1-print-cerr.exp: New file.
3656 * gdb.perf/gmonster1-ptype-string.exp: New file.
3657 * gdb.perf/gmonster1-runto-main.exp: New file.
3658 * gdb.perf/gmonster1-select-file.exp: New file.
3659 * gdb.perf/gmonster1.cc: New file.
3660 * gdb.perf/gmonster1.exp: New file.
3661 * gdb.perf/gmonster2-null-lookup.exp: New file.
3662 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3663 * gdb.perf/gmonster2-print-cerr.exp: New file.
3664 * gdb.perf/gmonster2-ptype-string.exp: New file.
3665 * gdb.perf/gmonster2-runto-main.exp: New file.
3666 * gdb.perf/gmonster2-select-file.exp: New file.
3667 * gdb.perf/gmonster2.cc: New file.
3668 * gdb.perf/gmonster2.exp: New file.
3670 2015-07-24 Doug Evans <dje@google.com>
3672 * gdb.perf/README: New file.
3673 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3674 * lib/gen-perf-test.exp: New file.
3676 2015-07-24 Doug Evans <dje@google.com>
3678 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3679 (PerfTest::startup): New function.
3680 (PerfTest::run): Return result of calling body.
3681 (PerfTest::assemble): Rewrite.
3682 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3683 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3684 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3685 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3686 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3688 2015-07-24 Doug Evans <dje@google.com>
3690 * lib/gdb.exp (clean_restart): Make executable optional.
3692 2015-07-24 Doug Evans <dje@google.com>
3694 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3695 compiler_info references.
3696 * gdb.cp/temargs.exp: Ditto.
3697 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3698 (get_compiler_info): Early exit if already computed. Set compiler_info
3699 to "unknown" if there was a problem.
3700 (test_compiler_info): Add function comment. Call get_compiler_info.
3702 2015-07-24 Doug Evans <dje@google.com>
3704 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3705 (workers/%.worker, build-perf): New rule.
3706 (GDB_PERFTEST_MODE): New variable.
3707 (check-perf): Use it.
3708 (clean): Clean up gdb.perf parallel build subdirs.
3709 * lib/build-piece.exp: New file.
3710 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3711 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3713 (standard_temp_file): Ditto.
3714 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3717 2015-07-24 Doug Evans <dje@google.com>
3719 * lib/future.exp (gdb_default_target_compile): New option
3721 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3724 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3726 * gdb.base/catch-syscall.exp: Call gdb_exit before
3729 2015-07-24 Pedro Alves <palves@redhat.com>
3731 * gdb.python/py-events.exp: Accept output between the stop event
3733 * gdb.python/py-evsignal.exp: Likewise.
3734 * gdb.python/py-evthreads.exp: Likewise.
3736 2015-07-24 Pedro Alves <palves@redhat.com>
3739 * gdb.threads/non-ldr-exit.c: New file.
3740 * gdb.threads/non-ldr-exit.exp: New file.
3742 2015-07-24 Yao Qi <yao.qi@linaro.org>
3744 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3747 2015-07-24 Yao Qi <yao.qi@linaro.org>
3749 * gdb.server/ext-restart.exp: New file.
3751 2015-07-24 Yao Qi <yao.qi@linaro.org>
3753 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3755 * gdb.server/ext-wrapper.exp: New file.
3757 2015-07-23 Doug Evans <dje@google.com>
3759 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3760 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3762 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3764 * gdb.ada/var_arr_typedef.exp: New testcase.
3765 * gdb.ada/var_arr_typedef/pack.adb: New file.
3766 * gdb.ada/var_arr_typedef/pack.ads: New file.
3767 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3769 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3771 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3773 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3775 * gdb.arch/i386-biarch-core.exp: Replace istarget
3776 by "complete set gnutarget". Remove expectation for the "core-file"
3779 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3781 Revert the previous commit:
3782 Tests for validate symbol file using build-id.
3784 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3786 Tests for validate symbol file using build-id.
3787 * gdb.base/solib-mismatch-lib.c: New file.
3788 * gdb.base/solib-mismatch-libmod.c: New file.
3789 * gdb.base/solib-mismatch.c: New file.
3790 * gdb.base/solib-mismatch.exp: New file.
3792 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3794 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3796 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3797 * gdb.base/siginfo.exp: Likewise.
3798 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3800 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3802 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3804 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3806 * gdb.trace/range-stepping.exp: Check that the target supports
3809 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3811 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3813 2015-07-14 Pedro Alves <palves@redhat.com>
3815 * gdb.base/killed-outside.exp: New file.
3816 * gdb.base/killed-outside.c: New file.
3818 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3820 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3822 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3824 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3826 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3827 infcall tests instead of setting up for KFAIL.
3829 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3831 * gdb.btrace/record_goto-step.exp: New.
3833 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 * gdb.compile/compile.c (struct struct_type): Add volatile to
3838 * gdb.compile/compile.exp
3839 (compile code struct_object.selffield = &struct_object): Skip further
3840 struct_object tests if this one xfails.
3842 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3845 * gdb.trace/ax.exp: Add test.
3847 2015-07-07 Yao Qi <yao.qi@linaro.org>
3849 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3850 instead of istarget "aarch64*-*-*".
3851 * gdb.arch/aarch64-fp.exp: Likewise.
3852 * gdb.base/float.exp: Likewise.
3853 * gdb.reverse/aarch64.exp: Likewise.
3854 * lib/gdb.exp (is_aarch64_target): New proc.
3856 2015-07-07 Yao Qi <yao.qi@linaro.org>
3858 * lib/gdb.exp (is_aarch32_target): New proc.
3859 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3860 instead of "istarget "arm*-*-*"".
3861 * gdb.arch/arm-disp-step.exp: Likewise.
3862 * gdb.arch/thumb-bx-pc.exp: Likewise.
3863 * gdb.arch/thumb-prologue.exp: Likewise.
3864 * gdb.arch/thumb-singlestep.exp: Likewise.
3865 * gdb.base/disp-step-syscall.exp: Likewise.
3866 * gdb.base/float.exp: Likewise.
3868 2015-07-07 Yao Qi <yao.qi@linaro.org>
3870 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3871 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3873 2015-07-07 Yao Qi <yao.qi@linaro.org>
3875 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3876 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3878 * gdb.multi/multi-arch.exp: Likewise.
3880 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3882 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3885 2015-07-07 Yao Qi <yao.qi@linaro.org>
3887 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3889 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3891 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3892 '[' and ']' characters.
3894 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3896 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3898 2015-06-29 Pedro Alves <palves@redhat.com>
3901 * gdb.threads/hand-call-new-thread.c: New file.
3902 * gdb.threads/hand-call-new-thread.c: New file.
3904 2015-06-26 Keith Seitz <keiths@redhat.com>
3905 Doug Evans <dje@google.com>
3908 * gdb.cp/var-tag-2.cc: New file.
3909 * gdb.cp/var-tag-3.cc: New file.
3910 * gdb.cp/var-tag-4.cc: New file.
3911 * gdb.cp/var-tag.cc: New file.
3912 * gdb.cp/var-tag.exp: New file.
3914 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3916 * gdb.base/history-duplicates.exp: New test.
3918 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3920 * gdb.base/completion.exp: Test the completion of the "focus"
3923 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3925 * gdb.arch/amd64-prologue-skip.S: New file.
3926 * gdb.arch/amd64-prologue-skip.exp: New file.
3928 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3930 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3931 is_address_zero_readable check.
3933 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3935 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3936 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3938 2015-06-24 Yao Qi <yao.qi@linaro.org>
3940 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3943 2015-06-24 Yao Qi <yao.qi@linaro.org>
3945 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3946 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3947 * gdb.base/siginfo-thread.exp: Likewise.
3949 2015-06-22 Yao Qi <yao.qi@linaro.org>
3951 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3953 2015-06-22 Yao Qi <yao.qi@linaro.org>
3955 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3957 (skip_hw_watchpoint_tests): Likewise.
3959 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3961 * gdb.base/gdbinit-history.exp: Test the interaction between
3962 setting GDBHISTSIZE and setting the history size via .gdbinit.
3964 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3967 * gdb.base/gdbhistsize-history.exp: New test.
3969 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3971 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3973 * gdb.base/readline.exp: Likewise.
3975 2015-06-17 Yao Qi <yao.qi@linaro.org>
3977 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3980 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3982 * gdb.base/gdbinit-history.exp: Add test case to check that
3983 an unlimited history file does not get truncated on exit.
3985 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3987 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3988 (VECTOR): New macro. Use it...
3989 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3990 ...for these typedefs.
3991 (int8, char1, int1, double1): New typedefs.
3992 (struct just_int2, struct two_int2): New structures.
3993 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3994 (add_structvecs, add_singlevecs): New functions.
3995 (main): Call add_some_intvecs twice.
3996 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3997 the compile and exit upon failure. Try compiling for the "native"
3998 architecture. Test inferior function calls with vector arguments
3999 and vector return value handling with "finish" and "return".
4001 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4003 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4004 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4006 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4008 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4010 PR breakpoints/16465
4011 * gdb.mi/mi-dprintf-pending.c: New file.
4012 * gdb.mi/mi-dprintf-pending.exp: New test.
4013 * gdb.mi/mi-dprintf-pendshr.c: New file.
4015 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4016 Mircea Gherzan <mircea.gherzan@intel.com>
4018 * gdb.arch/i386-mpx-map.c: New file.
4019 * gdb.arch/i386-mpx-map.exp: New File.
4021 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4023 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4024 * gdb.arch/i386-mpx.exp: Indentation fixed.
4026 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4028 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4029 function and improved indentation.
4030 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4031 gdb_test_multiple. Added additional tests to skip the test.
4033 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4035 * gdb.arch/i386-avx512.c: Change path in include file.
4036 * gdb.arch/i386-avx512.exp: Change include dir path
4038 * gdb.arch/i386-mpx.c: Change path in include file.
4039 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4042 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4044 * gdb.compile/compile-print.exp (compile print *vararray@3)
4045 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4047 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4049 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4050 (do not keep jit in memory): ... this.
4051 (expect 5): Change it to ...
4052 (expect no 5): ... this.
4054 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4057 * gdb.mi/mi-detach.exp: New file.
4059 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4062 * gdb.arch/amd64-tailcall-self.S: New file.
4063 * gdb.arch/amd64-tailcall-self.c: New file.
4064 * gdb.arch/amd64-tailcall-self.exp: New file.
4066 2015-05-28 Don Breazeal <donb@codesourcery.com>
4068 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4069 tests for remote targets by checking is_target_gdbserver.
4071 2015-05-27 Doug Evans <dje@google.com>
4073 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4074 * gdb.dwarf2/opaque-type-lookup.c: New file.
4075 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4077 2015-05-26 Doug Evans <dje@google.com>
4079 * gdb.cp/iostream.cc: New file.
4080 * gdb.cp/iostream.exp: New file.
4082 2015-05-26 Doug Evans <dje@google.com>
4084 * gdb.dwarf2/dw2-op-call.exp: Update.
4085 * gdb.dwarf2/dw4-sig-types.exp: Update.
4086 * gdb.dwarf2/implptr.exp: Update.
4087 * gdb.mi/mi-cmd-param-changed.exp: Update.
4089 2015-05-26 Doug Evans <dje@google.com>
4091 * gdb.python/py-lazy-string.c: New file.
4092 * gdb.python/py-lazy-string.exp: New file.
4093 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4094 (main): Update. Add estring3.
4095 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4096 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4098 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4099 Yao Qi <yao.qi@linaro.org>
4101 * gdb.reverse/aarch64.c: New.
4102 * gdb.reverse/aarch64.exp: New.
4104 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4106 * lib/gdb.exp (supports_process_record): Return true for
4108 (supports_reverse): Likewise.
4110 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4112 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4113 Use with_test_prefix.
4115 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4117 * gdb.base/completion.exp: Add test for completion of layout
4120 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4122 * lib/gdb.exp (skip_tui_tests): New proc.
4123 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4125 2015-05-19 Pedro Alves <palves@redhat.com>
4127 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4128 Save the whole env array instead of just HOME. Unset HISTSIZE in
4129 the environment while testing. Restore whole environment
4132 2015-05-16 Doug Evans <xdje42@gmail.com>
4134 * gdb.guile/scm-ports.c: New file.
4135 * gdb.guile/scm-ports.exp: Add memory port tests.
4137 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4139 * gdb.compile/compile-print.c: New file.
4140 * gdb.compile/compile-print.exp: New file.
4142 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4144 * gdb.compile/compile-ops.exp: Cast param to void.
4145 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4146 (compile code struct_object.selffield = &struct_object): Add xfail.
4148 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4150 * gdb.ada/arr_enum_with_gap: New testcase.
4152 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4154 * gdb.ada/byte_packed_arr: New testcase.
4156 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4158 * gdb.ada/pckd_neg: New testcase.
4160 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4163 * gdb.base/gdbinit-history.exp: New test.
4164 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4165 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4167 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4169 * gdb.python/py-xmethods.cc: Enhance test case.
4170 * gdb.python/py-xmethods.exp: New tests.
4171 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4173 (B_indexoper): Likewise.
4174 (global_dm_list) : Add new xmethod worker functions.
4176 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4178 * gdb.base/coredump-filter.exp: Correctly unset
4179 "coredump_var_addr" array.
4181 2015-05-08 Pedro Alves <palves@redhat.com>
4183 * gdb.server/non-existing-program.exp: Unset spawn_id.
4185 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4188 * gdb.python/py-xmethods.exp: Add tests.
4190 2015-05-08 Yao Qi <yao.qi@linaro.org>
4193 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4194 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4195 function set_coredump_filter, and remove remote_exec call.
4196 Remove argument ipid. Callers update.
4197 (top level): Don't get inferior's PID.
4199 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4201 * gdb.base/watch_thread_num.exp: Skip test on targets without
4204 2015-05-06 Pedro Alves <palves@redhat.com>
4207 * gdb.server/non-existing-program.exp: New file.
4209 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4211 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4213 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4215 * gdb.ada/out_of_line_in_inlined: New testcase.
4217 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4219 * gdb.ada/var_rec_arr: New testcase.
4221 2015-04-30 Yao Qi <yao.qi@linaro.org>
4223 * gdb.base/break-idempotent.exp: If
4224 skip_hw_watchpoint_multi_tests returns true, skip the tests
4225 on "rwatch" and "awatch".
4227 2015-04-30 Yao Qi <yao.qi@linaro.org>
4229 * gdb.base/relativedebug.exp: Invoke gdb command
4230 "info sharedlibrary", and if libc.so doesn't have debug info,
4233 2015-04-29 Doug Evans <dje@google.com>
4235 * gdb.python/py-xmethods.exp: Add ptype tests.
4236 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4237 get_result_type method.
4239 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4241 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4242 the target does not support hardware watchpoints.
4244 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4246 * gdb.base/break-always.exp: Abort testing if writing to memory
4249 2015-04-28 Doug Evans <dje@google.com>
4251 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4252 * gdb.python/py-pp-registration.exp: ... here. New file.
4253 * gdb.python/py-pp-registration.c: New file.
4254 * gdb.python/py-pp-registration.py: New file.
4256 2015-04-28 Doug Evans <dje@google.com>
4258 * gdb.python/py-bad-printers.c: New file.
4259 * gdb.python/py-bad-printers.py: New file.
4260 * gdb.python/py-bad-printers.exp: New file.
4262 2015-04-28 Sasha Smundak <asmundak@google.com>
4264 * gdb.python/py-type.exp: New test.
4266 2015-04-28 Andy Wingo <wingo@igalia.com>
4268 * gdb.python/py-parameter.exp:
4269 * gdb.guile/scm-parameter.exp: Escape the path that we are
4270 matching against, as it might contain characters that are special
4271 to regular expressions.
4273 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4275 * gdb.ada/rec_comp: New testcase.
4277 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4279 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4282 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4284 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4285 new tests for verilog output.
4287 2015-04-24 Yao Qi <yao.qi@linaro.org>
4289 * boards/remote-gdbserver-on-localhost.exp: New file.
4291 2015-04-23 Pedro Alves <palves@redhat.com>
4293 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4294 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4295 "end of file", remove $inferior_spawn_id from the indirect list.
4297 2015-04-23 Pedro Alves <palves@redhat.com>
4299 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4301 2015-04-23 Pedro Alves <palves@redhat.com>
4303 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4304 on $any_spawn_id instead of only on $gdb_spawn_id.
4306 2015-04-21 Pierre Muller <muller@sourceware.org>
4309 * lib/pascal.exp (gpc_compile): Add new option "class".
4310 (fpc_compile): Likewise.
4311 * gdb.pascal/case-insensitive-symbols.pas: New file.
4312 * gdb.pascal/case-insensitive-symbols.exp: New file.
4314 2015-04-20 Gary Benson <gbenson@redhat.com>
4316 * gdb.base/attach.exp: Fix three extended remote failures.
4318 2015-04-17 Gary Benson <gbenson@redhat.com>
4320 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4321 the main executable over the remote protocol.
4323 2015-04-16 Pedro Alves <palves@redhat.com>
4325 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4326 a new gdbserver if gdbserver_reconnect_p is set.
4328 2015-04-16 Pedro Alves <palves@redhat.com>
4330 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4331 is set, don't exit gdbserver.
4333 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4336 appropriate .insn, such that an older assembler can be used.
4337 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4338 the z/Architecture instruction set on 31-bit targets as well.
4340 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4342 * gdb.go/handcall.exp: Remove all logic related to the first
4343 breakpoint and rely on go_runto_main instead.
4344 * gdb.go/strings.exp: Likewise.
4345 * gdb.go/unsafe.exp: Likewise.
4346 * gdb.go/hello.exp: Likewise. Also rename the remaining
4347 breakpoint marker to "breakpoint 1".
4348 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4349 * gdb.go/strings.go: Likewise.
4350 * gdb.go/unsafe.go: Likewise.
4351 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4352 "set breakpoint 2 here" and rename the remaining breakpoint marker
4355 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4357 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4358 if itertools.imap is not present.
4359 * gdb.python/py-objfile.exp: Add parentheses.
4360 * gdb.python/py-type.exp: Same.
4361 * gdb.python/py-unwind-maint.py: Same.
4363 2015-04-15 Yao Qi <yao.qi@linaro.org>
4365 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4366 of ":$ptr_size" and set its form explicitly.
4368 2015-04-15 Pedro Alves <palves@redhat.com>
4369 Yao Qi <yao.qi@linaro.org>
4371 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4372 timeout by factor of 4.
4373 (test_regular_watch): Likewise.
4374 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4375 * gdb.reverse/sigall-reverse.exp: Likewise.
4376 * gdb.reverse/until-precsave.exp: Likewise.
4377 * lib/gdb.exp (with_timeout_factor): New proc.
4378 (gdb_expect): Move some code to ...
4379 (get_largest_timeout): ... here. New procedure.
4381 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4383 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4385 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4387 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4388 to write to the .text section.
4390 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4392 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4393 Handle the case of targets that do not provide PID information.
4395 2015-04-13 Yao Qi <yao.qi@linaro.org>
4397 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4398 and use expect instead of gdb_expect.
4400 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4402 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4403 "coredump_var_addr" to avoid naming conflict with other testcases.
4405 2015-04-10 Pedro Alves <palves@redhat.com>
4407 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4408 gdb_test_sequence and gdb_assert.
4410 2015-04-10 Pedro Alves <palves@redhat.com>
4412 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4413 test messages that don't include the breakpoint address.
4415 2015-04-10 Yao Qi <yao.qi@linaro.org>
4417 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4418 false for some offset and width combinations which aren't
4419 supported by linux kernel.
4421 2015-04-10 Pedro Alves <palves@redhat.com>
4423 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4424 procedure, factored out from ...
4425 (top level): ... here. Add "set displaced-stepping" testing axis.
4426 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4427 parameter "displaced". Use it.
4428 (top level): Use foreach and add "set displaced-stepping" testing
4431 2015-04-10 Pedro Alves <palves@redhat.com>
4433 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4435 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4436 both the address of the instruction that triggers the watchpoint
4437 and the address of the instruction immediately after, and use
4438 those addresses for the test. Fix comment.
4440 2015-04-10 Pedro Alves <palves@redhat.com>
4442 * gdb.base/sigstep.exp (breakpoint_to_handler)
4443 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4444 Test "backtrace" in handler.
4445 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4446 (top level): Add new "displaced" test axis to
4447 breakpoint_to_handler, breakpoint_to_handler_entry and
4448 breakpoint_over_handler.
4450 2015-04-10 Pedro Alves <palves@redhat.com>
4453 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4455 2015-04-10 Yao Qi <yao.qi@linaro.org>
4457 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4458 (test_add_rn_pc): New function.
4459 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4460 (top level): Invoke test_add_rn_pc.
4462 2015-04-10 Pedro Alves <palves@redhat.com>
4465 * gdb.base/step-over-no-symbols.exp: New file.
4467 2015-04-09 Andy Wingo <wingo@igalia.com>
4469 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4470 after the Python tests.
4472 2015-04-08 Keith Seitz <keiths@redhat.com>
4475 * gdb.python/py-completion.exp: New tests for completion.
4476 * gdb.python/py-completion.py (CompleteLimit1): New class.
4477 (CompleteLimit2): Likewise.
4478 (CompleteLimit3): Likewise.
4479 (CompleteLimit4): Likewise.
4480 (CompleteLimit5): Likewise.
4481 (CompleteLimit6): Likewise.
4482 (CompleteLimit7): Likewise.
4484 2015-04-08 Pedro Alves <palves@redhat.com>
4488 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4490 (main): Install it as SIGUSR1 handler.
4491 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4492 parameter. Always use "setup" as prefix. Toggle "set
4493 displaced-stepping" off/on depending on global. Don't switch to
4495 (top level): Add displaced stepping "off/on" test axis. Update
4496 "setup" calls. Wrap each subtest with with_test_prefix. Test
4497 continuing with a queued signal in each thread.
4499 2015-04-08 Pedro Alves <palves@redhat.com>
4501 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4502 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4503 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4504 Return early if running to main fails.
4505 * gdb.trace/while-stepping.exp: Likewise.
4507 2015-04-07 Pedro Alves <palves@redhat.com>
4509 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4510 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4511 interact with inferior program.
4513 2015-04-07 Pedro Alves <palves@redhat.com>
4515 * lib/gdb.exp (inferior_spawn_id): New global.
4516 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4517 spawn id after processing the user code.
4518 (default_gdb_start): Set inferior_spawn_id.
4519 (send_inferior): New procedure.
4520 * lib/gdbserver-support.exp (gdbserver_start): Set
4522 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4524 2015-04-07 Pedro Alves <palves@redhat.com>
4526 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4527 * lib/gdbserver-support.exp (gdbserver_start): Make
4528 $server_spawn_id global.
4529 (gdbserver_start): Don't wait for gdbserver's spawn id with
4531 (close_gdbserver): New procedure.
4532 (gdb_exit): Rename the default version and reimplement.
4534 2015-04-07 Pedro Alves <palves@redhat.com>
4536 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4537 append the substituted item, not the original item.
4539 2015-04-07 Pedro Alves <palves@redhat.com>
4541 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4544 2015-04-07 Pedro Alves <palves@redhat.com>
4546 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4547 output appearing once only.
4549 2015-04-07 Pedro Alves <palves@redhat.com>
4551 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4552 that doesn't expect anything. Return early if running to main
4555 2015-04-07 Yao Qi <yao.qi@linaro.org>
4557 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4558 (child_function): Call alarm.
4559 (main): Move call to alarm into the loop.
4560 * gdb.threads/non-stop-fair-events.exp: Build program with
4563 2015-04-06 Doug Evans <xdje42@gmail.com>
4565 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4566 Fix dest parameter to board_info.
4567 (fpc_compile): Ditto.
4568 (gdb_compile_pascal): Rename dest arg to destfile.
4570 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4572 * gdb.ada/funcall_ref.exp: New file.
4573 * gdb.ada/funcall_ref/foo.adb: New file.
4575 2015-04-02 Yao Qi <yao.qi@linaro.org>
4577 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4580 2015-04-02 Gary Benson <gbenson@redhat.com>
4582 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4584 2015-04-01 Sasha Smundak <asmundak@google.com>
4586 * gdb.python/py-unwind-maint.c: New file.
4587 * gdb.python/py-unwind-maint.exp: New test.
4588 * gdb.python/py-unwind-maint.py: New file.
4589 * gdb.python/py-unwind.c: New file.
4590 * gdb.python/py-unwind.exp: New test.
4591 * gdb.python/py-unwind.py: New test.
4593 2015-04-01 Pedro Alves <palves@redhat.com>
4595 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4596 to fail instead of non-existent $test.
4598 2015-04-01 Pedro Alves <palves@redhat.com>
4600 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4601 GDBFLAGS if not empty.
4603 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4605 * gdb.ada/complete.exp: Remove "multi_line".
4606 * gdb.ada/info_exc.exp: Remove "multi_line".
4607 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4608 * gdb.ada/ptype_field.exp: Remove "multi_line".
4609 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4610 * gdb.ada/tagged.exp: Remove "multi_line".
4611 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4613 * gdb.btrace/delta.exp: Likewise.
4614 * gdb.btrace/exception.exp: Likewise.
4615 * gdb.btrace/function_call_history.exp: Likewise.
4616 * gdb.btrace/instruction_history.exp: Likewise.
4617 * gdb.btrace/nohist.exp: Likewise.
4618 * gdb.btrace/record_goto.exp: Likewise.
4619 * gdb.btrace/segv.exp: Likewise.
4620 * gdb.btrace/stepi.exp: Likewise.
4621 * gdb.btrace/tailcall.exp: Likewise.
4622 * gdb.btrace/unknown_functions.exp: Likewise.
4623 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4624 * lib/gdb.exp: Add the "multi_line" helper.
4626 2015-04-01 Pedro Alves <palves@redhat.com>
4628 * gdb.threads/tid-reuse.c: New file.
4629 * gdb.threads/tid-reuse.exp: New file.
4631 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4634 * gdb.base/coredump-filter.c: New file.
4635 * gdb.base/coredump-filter.exp: Likewise.
4637 2015-03-27 Petr Machata <pmachata@redhat.com>
4639 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4640 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4641 (Dwarf::assemble): Initialize them.
4642 (Dwarf::lines): New function.
4644 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4646 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4647 SYMBOL_PREFIX for x86_64-*-cygwin.
4649 2015-03-26 Andy Wingo <wingo@igalia.com>
4652 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4653 const_value but not a location.
4654 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4655 location defined in non-main CUs are visible.
4657 2015-03-26 Yao Qi <yao.qi@linaro.org>
4660 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4661 Add a line number entry for the same line.
4662 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4663 Add a line number entry for the same line.
4665 2015-03-26 Yao Qi <yao.qi@linaro.org>
4667 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4669 (func): Likewise. Add .Lfunc_1 label.
4671 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4676 2015-03-26 Yao Qi <yao.qi@linaro.org>
4678 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4679 Call gdb_compile instead to compile each .s files without debug
4682 2015-03-26 Yao Qi <yao.qi@linaro.org>
4684 * gdb.base/savedregs.exp (process_saved_regs): Make
4685 "Saved registers:" optional in the pattern.
4687 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4689 * gdb.btrace/next.exp: Merged into step.exp.
4690 * gdb.btrace/finish.exp: Merged into step.exp.
4691 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4692 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4693 "record goto" and checking the exact replay position.
4694 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4695 check for "Recording format" in "info record" output.
4696 * gdb.btrace/record_goto.exp: Choose test file based on target.
4697 * gdb.btrace/x86-record_goto.S: Renamed into ...
4698 * gdb.btrace/x86_64-record_goto.S: ... this.
4699 * gdb.btrace/i686-record_goto.S: New.
4700 * gdb.btrace/x86-tailcall.S: Renamed into ...
4701 * gdb.btrace/x86_64-tailcall.S: ... this.
4702 * gdb.btrace/i686-tailcall.S: New.
4703 * gdb.btrace/x86-tailcall.c: Renamed into ...
4704 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4705 separate statements. Update test.
4706 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4707 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4708 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4709 * gdb.btrace/tailcall.exp: Choose test file based on target.
4710 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4712 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4714 * gdb.btrace/exception.exp: Increase BTS buffer size.
4716 2015-03-24 Pedro Alves <palves@redhat.com>
4718 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4720 2015-03-24 Pedro Alves <palves@redhat.com>
4722 * gdb.threads/schedlock.exp (test_step): No longer expect that
4723 "set scheduler-locking step" with "next" over a function call runs
4726 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4728 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4730 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4732 PR breakpoints/16466
4733 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4734 * gdb.mi/mi-pending.c (thread_func): New function.
4735 (int main): Add threading support required.
4736 * gdb.mi/mi-pending.exp: Add tests for this issue.
4737 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4738 (pendfunc2): Remove stdio dependency.
4739 * gdb.mi/mi-pendshr2.c: New file.
4741 2015-03-23 Keith Seitz <keiths@redhat.com>
4743 * gdb.linespec/keywords.c: New file.
4744 * gdb.linespec/keywords.exp: New file.
4746 2015-03-23 Keith Seitz <keiths@redhat.com>
4749 * gdb.dwarf2/staticvirtual.exp: New test.
4751 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4753 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4754 * README: Remove HP-UX and gdb.hp.
4756 * configure: Regenerate.
4757 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4758 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4759 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4760 gdb.hp/gdb.defects/Makefile.
4761 * gdb.hp/Makefile.in: File deleted.
4762 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4763 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4764 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4765 * gdb.hp/gdb.aCC/run.c: File deleted.
4766 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4767 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4768 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4769 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4770 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4771 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4772 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4773 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4774 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4775 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4776 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4777 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4778 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4779 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4780 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4781 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4782 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4783 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4784 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4785 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4786 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4787 * gdb.hp/gdb.compat/average.c: File deleted.
4788 * gdb.hp/gdb.compat/sum.c: File deleted.
4789 * gdb.hp/gdb.compat/xdb.c: File deleted.
4790 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4791 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4792 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4793 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4794 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4795 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4796 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4797 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4798 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4799 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4800 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4801 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4802 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4803 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4804 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4805 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4806 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4807 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4808 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4809 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4810 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4811 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4812 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4813 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4814 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4815 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4816 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4817 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4818 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4819 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4820 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4821 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4822 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4823 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4824 * gdb.hp/tools/odump: File deleted.
4826 2015-03-19 Pedro Alves <palves@redhat.com>
4828 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4829 (saw_thread_3): New globals.
4830 (top level): Increment them when an event for the corresponding
4832 (no thread starvation): New test.
4834 2015-03-19 Pedro Alves <palves@redhat.com>
4836 * gdb.threads/continue-pending-status.c: New file.
4837 * gdb.threads/continue-pending-status.exp: New file.
4839 2015-03-18 Pedro Alves <palves@redhat.com>
4841 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4842 Use gdb_is_target_remote instead of is_remote. Use
4843 gdb_test_multiple instead of gdb_expect. Exit early if
4844 gdb_test_multiple hits its internal matches. Tighten stepi tests
4845 expected output. Fail on exit with any signal, instead of just
4848 2015-03-18 Yao Qi <yao.qi@linaro.org>
4851 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4853 * gdb.base/catch-syscall.exp: Don't skip it on
4854 aarch64*-*-linux* target. Remove elements in all_syscalls.
4855 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4857 (setup_all_syscalls): New proc.
4859 2015-03-16 Yao Qi <yao.qi@linaro.org>
4861 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4862 (top level): Skip tests if valid_addr_p returns false for
4865 2015-03-11 Andy Wingo <wingo@igalia.com>
4867 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4869 2015-03-11 Yao Qi <yao.qi@linaro.org>
4871 * gdb.base/catch-syscall.exp: Fix typo in comments.
4873 2015-03-11 Yao Qi <yao.qi@linaro.org>
4875 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4877 2015-03-09 Pedro Alves <palves@redhat.com>
4879 * dg-extract-results.py: Delete.
4881 2015-03-09 Pedro Alves <palves@redhat.com>
4883 Merge dg-extract-results.sh from GCC upstream (r218843).
4885 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4886 * dg-extract-results.sh: Use --text with grep to avoid issues with
4887 binary files. Fall back to cat -v, if that doesn't work.
4889 2015-03-05 Pedro Alves <palves@redhat.com>
4891 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4893 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4895 * lib/mi-support.exp (mi_expect_interrupt): Accept
4896 alternative event for when in all-stop mode.
4898 2015-03-04 Pedro Alves <palves@redhat.com>
4900 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4902 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4904 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4906 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4908 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4909 regexps for GDB's current line display, accept a hex address
4910 preceding the line number.
4912 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4915 the 'arch1' variable for "s390*-linux*" targets.
4917 2015-03-04 Pedro Alves <palves@redhat.com>
4919 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4920 (main): Pass missing retval argument to pthread_join call.
4922 2015-03-02 Pedro Alves <palves@redhat.com>
4924 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4925 (top level): Call do_test with non-stop as well.
4927 2015-03-02 Pedro Alves <palves@redhat.com>
4929 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4932 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4934 * gdb.arch/s390-vregs.exp: New test.
4935 * gdb.arch/s390-vregs.S: New file.
4937 2015-02-27 Pedro Alves <palves@redhat.com>
4939 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4940 call to catch_command_errors.
4941 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4942 catch_command_errors.
4944 2015-02-27 Pedro Alves <palves@redhat.com>
4946 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4947 "true" for boolean result.
4948 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4951 2015-02-27 Pedro Alves <palves@redhat.com>
4953 * lib/unbuffer_output.c: New file.
4954 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4955 (main): Call gdb_unbuffer_output.
4957 2015-02-27 Yao Qi <yao.qi@linaro.org>
4959 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4962 2015-02-26 Doug Evans <dje@google.com>
4964 * gdb.cp/class2.cc (Dbase, D): New classes.
4965 (main): New local delta.
4966 * gdb.cp/class2.exp: Test printing delta.
4967 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4968 (dynbar): New global.
4969 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4971 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4973 * gdb.compile/compile-ifunc.c: New file.
4974 * gdb.compile/compile-ifunc.exp: New file.
4976 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4978 * gdb.base/structs.exp: Check for correct struct on finish.
4980 2015-02-26 Yao Qi <yao.qi@linaro.org>
4982 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4985 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4987 * gdb.arch/cordic.ko.bz2: New file.
4988 * gdb.arch/cordic.ko.debug.bz2: New file.
4989 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4991 2015-02-25 Yao Qi <yao.qi@linaro.org>
4993 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4994 aarch64*-*-* target.
4996 2015-02-23 Pedro Alves <palves@redhat.com>
4998 * lib/gdb.exp (delete_breakpoints): Rewrite using
5001 2015-02-23 Pedro Alves <palves@redhat.com>
5003 * gdb.base/info-os.c: Include stdlib.h.
5005 2015-02-22 Doug Evans <xdje42@gmail.com>
5008 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5009 is read after symbols have been re-read.
5010 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5011 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5013 2015-02-21 Doug Evans <dje@google.com>
5015 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5017 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5020 * gdb.arch/i386-biarch-core.core.bz2: New file.
5021 * gdb.arch/i386-biarch-core.exp: New file.
5023 2015-02-21 Pedro Alves <palves@redhat.com>
5025 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5028 2015-02-20 Pedro Alves <palves@redhat.com>
5030 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5033 2015-02-20 Pedro Alves <palves@redhat.com>
5035 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5037 2015-02-20 Pedro Alves <palves@redhat.com>
5039 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5040 clean_restart before gdb_target_supports_trace.
5042 2015-02-20 Pedro Alves <palves@redhat.com>
5045 * gdb.threads/clone-thread_db.c: New file.
5046 * gdb.threads/clone-thread_db.exp: New file.
5048 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5050 PR breakpoints/16812
5051 * gdb.base/catch-gdb-caused-signals.c: New file.
5052 * gdb.base/catch-gdb-caused-signals.exp: New file.
5054 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5056 * configure: Regenerated.
5057 * configure.ac: Use GDB_AC_TRANSFORM.
5058 * aclocal.m4: sinclude ../transform.m4.
5060 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5062 * lib/dtrace.exp: New file.
5063 * gdb.base/dtrace-probe.exp: Likewise.
5064 * gdb.base/dtrace-probe.d: Likewise.
5065 * gdb.base/dtrace-probe.c: Likewise.
5066 * lib/pdtrace.in: Likewise.
5067 * configure.ac: Output variables with the transformed names of
5068 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5069 * configure: Regenerated.
5071 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5073 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5074 expected message when trying to access $_probe_* convenience
5075 variables while not on a probe.
5077 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5079 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5081 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5083 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5084 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5086 2015-02-10 Doug Evans <xdje42@gmail.com>
5088 * lib/gdb.exp (gdb_load): Always return a result.
5090 2015-02-10 Pedro Alves <palves@redhat.com>
5092 * gdb.threads/signal-sigtrap.c: New file.
5093 * gdb.threads/signal-sigtrap.exp: New file.
5095 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5097 * gdb.trace/no-attach-trace.c: New file.
5098 * gdb.trace/no-attach-trace.exp: New file.
5100 2015-02-09 Mark Wielaard <mjw@redhat.com>
5102 * gdb.dwarf2/atomic.c: New file.
5103 * gdb.dwarf2/atomic-type.exp: Likewise.
5105 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5107 * gdb.btrace/buffer-size.exp: Update "info record" output.
5108 * gdb.btrace/delta.exp: Update "info record" output.
5109 * gdb.btrace/enable.exp: Update "info record" output.
5110 * gdb.btrace/finish.exp: Update "info record" output.
5111 * gdb.btrace/instruction_history.exp: Update "info record" output.
5112 * gdb.btrace/next.exp: Update "info record" output.
5113 * gdb.btrace/nexti.exp: Update "info record" output.
5114 * gdb.btrace/step.exp: Update "info record" output.
5115 * gdb.btrace/stepi.exp: Update "info record" output.
5116 * gdb.btrace/nohist.exp: Update "info record" output.
5118 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5120 * gdb.btrace/buffer-size: New.
5122 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5124 * gdb.btrace/delta.exp: Update "info record" output.
5125 * gdb.btrace/enable.exp: Update "info record" output.
5126 * gdb.btrace/finish.exp: Update "info record" output.
5127 * gdb.btrace/instruction_history.exp: Update "info record" output.
5128 * gdb.btrace/next.exp: Update "info record" output.
5129 * gdb.btrace/nexti.exp: Update "info record" output.
5130 * gdb.btrace/step.exp: Update "info record" output.
5131 * gdb.btrace/stepi.exp: Update "info record" output.
5132 * gdb.btrace/nohist.exp: Update "info record" output.
5134 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5137 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5139 2015-02-06 Pedro Alves <palves@redhat.com>
5141 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5143 (seconds_left, again): New globals.
5144 (main): Wait seconds_left in a 1-second sleep loop instead of
5145 sleeping 180 seconds. If 'again' is set, reset the seconds
5147 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5148 'again' in the inferior before detaching. Print the seconds left.
5149 (options): New global.
5150 (top level): Build program with -DTIMEOUT=$timeout.
5152 2015-02-06 Pedro Alves <palves@redhat.com>
5154 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5155 determine how many seconds to pass to 'alarm'.
5156 * gdb.base/gdb-sigterm.exp (top level): Build program with
5158 (do_test): Return success/failure indication. Add more verbose
5159 logging. Don't fail if 200 single steps are seen. Instead, fail
5160 when the test times out.
5161 (passes): New global.
5162 (top level): Break the testing loop if testing fails on any
5163 iteration. Use gdb_assert.
5165 2015-02-04 Don Breazeal <donb@codesourcery.com>
5167 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5168 and initialize them.
5169 (ipc_cleanup): New function.
5170 (main): Don't declare shmid, semid, and msqid. Add a call to
5171 atexit so that we call ipc_cleanup on exit.
5173 2015-02-04 Pedro Alves <palves@redhat.com>
5175 * boards/native-extended-gdbserver.exp: Remove any target variant
5176 specifications from the board name before clearing the isremote
5177 flag from board_info.
5179 2015-01-31 Doug Evans <xdje42@gmail.com>
5181 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5183 2015-01-31 Gary Benson <gbenson@redhat.com>
5185 * gdb.base/completion.exp: Disable completion limiting for
5186 existing tests. Add new tests to check completion limiting.
5187 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5189 2015-01-31 Doug Evans <xdje42@gmail.com>
5191 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5193 2015-01-31 Doug Evans <xdje42@gmail.com>
5195 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5196 entries. Duplicate file section script entries.
5197 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5198 inlined entries. Add test for safe-path rejection.
5199 * gdb.python/py-section-script.c: Add duplicate inlined section script
5200 entries. Duplicate file section script entries.
5201 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5202 inlined entries. Add test for safe-path rejection.
5204 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5206 * gdb.ada/disc_arr_bound: New testcase.
5208 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5210 * gdb.ada/mi_var_array: New testcase.
5212 2015-01-27 Doug Evans <dje@google.com>
5214 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5215 Add test for objfile.filename, objfile.username after objfile
5218 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5220 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5221 the second test to print the name attribute of value
5222 returned by the call to gdb.lookup_type, and adjust
5223 the expected output accordingly.
5225 2015-01-25 Mark Wielaard <mjw@redhat.com>
5227 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5228 * gdb.base/disp-step-fork.c: Include unistd.h.
5229 * gdb.base/siginfo-obj.c: Include stdio.h.
5230 * gdb.base/siginfo-thread.c: Likewise.
5231 * gdb.mi/non-stop.c: Include unistd.h.
5232 * gdb.mi/nsthrexec.c: Include stdio.h.
5233 * gdb.mi/pthreads.c: Include unistd.h.
5234 * gdb.modula2/unbounded1.c (main): Declare returns int.
5235 * gdb.reverse/consecutive-reverse.c: Likewise.
5236 * gdb.threads/create-fail.c: Include unistd.h.
5237 * gdb.threads/killed.c: Likewise.
5238 * gdb.threads/linux-dp.c: Likewise.
5239 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5240 * gdb.threads/non-ldr-exc-2.c: Likewise.
5241 * gdb.threads/non-ldr-exc-3.c: Likewise.
5242 * gdb.threads/non-ldr-exc-4.c: Likewise.
5243 * gdb.threads/pthreads.c: Include unistd.h.
5244 (main): Declare returns int.
5245 * gdb.threads/tls-main.c (foo): New declaration.
5246 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5248 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5250 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5251 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5253 2015-01-15 Mark Wielaard <mjw@redhat.com>
5255 * gdb.base/noreturn-return.c: New file.
5256 * gdb.base/noreturn-return.exp: New file.
5257 * gdb.base/noreturn-finish.c: New file.
5258 * gdb.base/noreturn-finish.exp: New file.
5260 2015-01-23 Pedro Alves <palves@redhat.com>
5262 * gdb.threads/continue-pending-after-query.c: New file.
5263 * gdb.threads/continue-pending-after-query.exp: New file.
5265 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5266 Simon Marchi <simon.marchi@ericsson.com>
5268 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5269 * gdb.base/valgrind-db-attach.exp: Same.
5270 * gdb.base/valgrind-infcall.exp: Same.
5271 * lib/mi-support.exp (default_mi_gdb_start): Same.
5272 * lib/prompt.exp (default_prompt_gdb_start): Same.
5273 * lib/gdb.exp (default_gdb_spawn): Same.
5274 (gdb_interact): New.
5277 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5279 * gdb.compile/compile.exp (pointer to jit function): New test.
5281 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5283 * lib/gdb.exp (supports_process_record): Return true for
5285 (supports_reverse): Likewise.
5287 2015-01-15 Don Breazeal <donb@codesourcery.com>
5289 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5290 instead of checking whether the target board is remote and
5291 use spawn_wait_for_attach instead of exec/sleep.
5292 * gdb.base/attach-twice.exp: Likewise.
5294 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5296 * gdb.ada/var_arr_attrs: New testcase.
5298 2015-01-14 Pedro Alves <palves@redhat.com>
5299 Joel Brobecker <brobecker@adacore.com>
5302 * gdb.base/bp-cmds-execution-x-script.c: New file.
5303 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5304 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5306 2015-01-14 Pedro Alves <palves@redhat.com>
5309 * gdb.base/batch-preserve-term-settings.c: New file.
5310 * gdb.base/batch-preserve-term-settings.exp: New file.
5312 2015-01-13 Doug Evans <dje@google.com>
5314 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5317 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5319 * Makefile.in (clean mostlyclean): Do not delete *.py.
5321 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5323 * gdb.python/py-lookup-type.exp: New file.
5325 2015-01-12 Pedro Alves <palves@redhat.com>
5327 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5328 restore GDBFLAGS before returning.
5330 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5332 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5333 is_amd64_regs_target and is_x86_like_target.
5335 2015-01-11 Doug Evans <xdje42@gmail.com>
5337 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5338 is given without an explicit form.
5339 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5341 * gdb.dwarf/corrupt.exp: Ditto.
5342 * gdb.dwarf2/enum-type.exp: Ditto.
5343 * gdb.trace/entry-values.exp: Ditto.
5344 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5346 2015-01-11 Doug Evans <xdje42@gmail.com>
5349 * gdb.base/maint.exp: Remove references to "maint demangle".
5350 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5351 Add tests for explicitly specifying language to demangle.
5352 * gdb.dlang/demangle.exp: Ditto.
5354 2015-01-09 Pedro Alves <palves@redhat.com>
5356 * gdb.threads/non-stop-fair-events.c: New file.
5357 * gdb.threads/non-stop-fair-events.exp: New file.
5359 2015-01-09 Pedro Alves <palves@redhat.com>
5361 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5362 the global scope. Set a breakpoint after all threads are started
5363 rather than stepping over two source lines. Expect the prompt.
5364 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5367 (main): Use threads_started_barrier to wait for all threads to
5368 start. Main thread no longer calls thread_function. Exit after
5370 (loop): New function.
5371 (thread_function): Wait on threads_started_barrier barrier. Call
5372 'loop' at each iteration.
5373 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5374 threads have started, instead of hardcoding number of "next"
5375 steps. Use an access watchpoint instead of a write watchpoint.
5377 2015-01-09 Pedro Alves <palves@redhat.com>
5379 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5380 (thread_func): Wait on barrier.
5381 (main): Wait for all threads to start before stopping GDB.
5382 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5384 (thread1_func, thread2_func): Wait on barrier.
5385 (main): Wait for all threads to start before stopping GDB.
5386 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5388 (thread1_func, thread2_func): Wait on barrier.
5389 (main): Wait for all threads to start before stopping GDB.
5391 2015-01-09 Pedro Alves <palves@redhat.com>
5393 * gdb.threads/attach-many-short-lived-threads.c: New file.
5394 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5396 2014-01-09 Pedro Alves <palves@redhat.com>
5398 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5399 instead of to thread 2.
5400 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5401 Add barrier around each pthread_create call instead of around all
5403 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5404 Set a break on thread_function and have the child threads hit it
5407 2015-01-09 Pedro Alves <palves@redhat.com>
5409 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5410 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5412 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5413 checking whether the target board is remote.
5414 * gdb.multi/multi-attach.exp: Likewise.
5415 * gdb.python/py-sync-interp.exp: Likewise.
5416 * gdb.server/ext-attach.exp: Likewise.
5417 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5418 tests that need to attach, instead of checking whether the target
5419 board is remote at the top of the file.
5421 2015-01-08 Yao Qi <yao@codesourcery.com>
5423 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5425 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5427 Fix testcase compilation.
5428 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5430 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5432 * gdb.python/py-type.exp: Add a couple test about empty
5433 array creation, and negative-length array creation.
5435 2015-01-02 Doug Evans <xdje42@gmail.com>
5437 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5439 2015-01-02 Doug Evans <dje@google.com>
5441 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5443 2014-12-29 Yao Qi <yao@codesourcery.com>
5445 * gdb.trace/entry-values.exp: Update comments. Rename variable
5446 bar_call_foo to returned_from_foo.
5448 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5451 * gdb.linespec/break-asm-file.c: New file.
5452 * gdb.linespec/break-asm-file.exp: New file.
5453 * gdb.linespec/break-asm-file0.s: New file.
5454 * gdb.linespec/break-asm-file1.s: New file.
5456 2014-12-18 Nigel Stephens <nigel@mips.com>
5457 Maciej W. Rozycki <macro@codesourcery.com>
5459 * gdb.base/float.exp: Handle the new output from "info float" on
5462 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5464 Fix MinGW compilation.
5465 * gdb.compile/compile-ops.exp: Update untested message if
5466 !skip_compile_feature_tests.
5467 * gdb.compile/compile-setjmp.exp: Likewise.
5468 * gdb.compile/compile-tls.exp: Likewise.
5469 * gdb.compile/compile.exp: Likewise.
5470 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5471 supported on this host".
5473 2014-12-16 Doug Evans <xdje42@gmail.com>
5475 * boards/stabs.exp: New file.
5477 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5479 * gdb.base/completion.exp: Adjust to format changes of "maint
5480 print user-registers".
5482 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5485 * gdb.arch/aarch64-fp.c: New file.
5486 * gdb.arch/aarch64-fp.exp: New file.
5488 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5490 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5491 r210637, r210913, r211666, r215400, r215817).
5493 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5494 * dg-extract-results.py: New file.
5495 * dg-extract-results.sh: Use it if the environment seems
5498 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5500 * dg-extract-results.py (parse_run): Handle warnings that
5501 are printed before a test harness is run.
5503 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5505 * dg-extract-results.py (Named): Remove __cmp__ method.
5506 (output_variation): Use a key to sort variation.harnesses.
5508 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5510 * dg-extract-results.py: For Python 3, force sys.stdout to
5511 handle surrogate escape sequences.
5512 (safe_open): New function.
5513 (output_segment, main): Use it.
5515 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5517 * dg-extract-results.py (Prog.result_re): Include options
5520 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5522 * dg-extract-results.py (output_variation): Always sort if
5525 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5527 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5528 as long as we get pagination notifications.
5530 2014-12-15 Jason Merrill <jason@redhat.com>
5532 * Makefile.in (check-gdb.%): Restore.
5533 * README: Mention it.
5535 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5537 * gdb.ada/str_uninit: New testcase.
5539 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5542 * gdb.base/vla-stub-define.c: New file.
5543 * gdb.base/vla-stub.c: New file.
5544 * gdb.base/vla-stub.exp: New file.
5546 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5547 Jan Kratochvil <jan.kratochvil@redhat.com>
5548 Tom Tromey <tromey@redhat.com>
5550 * configure.ac: Add gdb.compile/.
5551 * configure: Regenerate.
5552 * gdb.compile/Makefile.in: New file.
5553 * gdb.compile/compile-ops.exp: New file.
5554 * gdb.compile/compile-ops.c: New file.
5555 * gdb.compile/compile-tls.c: New file.
5556 * gdb.compile/compile-tls.exp: New file.
5557 * gdb.compile/compile-constvar.S: New file.
5558 * gdb.compile/compile-constvar.c: New file.
5559 * gdb.compile/compile-mod.c: New file.
5560 * gdb.compile/compile-nodebug.c: New file.
5561 * gdb.compile/compile-setjmp-mod.c: New file.
5562 * gdb.compile/compile-setjmp.c: New file.
5563 * gdb.compile/compile-setjmp.exp: New file.
5564 * gdb.compile/compile-shlib.c: New file.
5565 * gdb.compile/compile.c: New file.
5566 * gdb.compile/compile.exp: New file.
5567 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5569 2014-12-12 Tom Tromey <tromey@redhat.com>
5571 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5572 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5574 2014-12-12 Doug Evans <dje@google.com>
5576 * lib/gdb-python.exp (get_python_valueof): New function.
5577 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5579 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5581 * gdb.base/completion.exp: Add test for completion of "info
5584 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5586 * gdb.base/func-ptrs.c: New file.
5587 * gdb.base/func-ptrs.exp: New file.
5589 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5591 PR breakpoints/17012
5592 * gdb.base/dprintf-detach.c: New file.
5593 * gdb.base/dprintf-detach.exp: New file.
5595 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5597 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5598 * lib/gdb.exp (target_is_gdbserver): New procedure.
5600 2014-12-08 Doug Evans <dje@google.com>
5602 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5604 2014-12-05 Yao Qi <yao@codesourcery.com>
5606 * gdb.guile/scm-error.exp: Remove the third argument to
5607 gdb_remote_download.
5608 * gdb.guile/scm-frame-args.exp: Likewise.
5609 * gdb.guile/scm-section-script.exp: Likewise.
5611 2014-12-05 Yao Qi <yao@codesourcery.com>
5613 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5615 2014-12-04 Doug Evans <dje@google.com>
5617 * gdb.python/py-objfile.exp: Add tests for
5618 objfile.add_separate_debug_file.
5620 2014-12-04 Doug Evans <dje@google.com>
5622 * lib/gdb.exp (get_build_id): New function.
5623 (build_id_debug_filename_get): Rewrite to use it.
5624 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5626 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5628 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5629 `method(long)', not just 0x0.
5630 * gdb.cp/nsalias.exp: Align code labels to 4.
5631 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5632 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5633 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5634 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5635 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5636 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5638 2014-12-02 Doug Evans <dje@google.com>
5641 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5642 * gdb.cp/anon-ns2.cc: ... here. New file.
5643 * gdb.cp/anon-ns.exp: Update.
5645 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5647 * gdb.python/py-events.py (inferior_call_handler): New.
5648 (register_changed_handler, memory_changed_handler): New.
5649 (test_events.invoke): Register new handlers.
5650 * gdb.python/py-events.exp: Add tests for inferior call,
5651 memory_changed and register_changed events.
5653 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5655 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5656 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5657 if the linker doesn't understand this.
5659 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5661 * gdb.python/python.exp: Change expected reply to help().
5663 2014-12-01 Yao Qi <yao@codesourcery.com>
5665 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5666 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5667 * configure: Re-generated.
5669 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5671 * gdb.cp/chained-calls.cc: New file.
5672 * gdb.cp/chained-calls.exp: New file.
5673 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5675 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5677 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5678 * gdb.dwarf2/symtab-producer.exp: Same.
5679 * gdb.gdb/python-interrupts.exp: Same.
5680 * gdb.gdb/python-selftest.exp: Same.
5681 * gdb.python/py-linetable.exp: Same.
5682 * gdb.python/py-type.exp: Same.
5683 * gdb.python/py-value-cc.exp: Same.
5684 * gdb.python/py-value.exp: Same.
5686 2014-11-28 Yao Qi <yao@codesourcery.com>
5688 * gdb.base/break-probes.exp: Match library name prefixed with
5691 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5693 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5694 test expected output. Add parentheses for the call to print.
5695 Remove L suffix from integers.
5697 2014-11-26 Doug Evans <dje@google.com>
5699 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5701 2014-11-22 Yao Qi <yao@codesourcery.com>
5703 * gdb.trace/entry-values.c: Remove asms.
5704 (foo): Add foo_label.
5705 (bar): Add bar_label.
5706 * gdb.trace/entry-values.exp: Remove code computing foo's
5707 length and bar's length.
5708 (Dwarf::assemble): Invoke function_range for bar and use
5709 MACRO_AT_func for foo.
5711 2014-11-22 Yao Qi <yao@codesourcery.com>
5713 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5714 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5715 Use .Lgcc43_procstart instead of gcc43.
5717 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5719 * gdb.ada/n_arr_bound: New testcase.
5721 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5723 PR breakpoints/10737
5724 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5725 test_catch_syscall_multi_arch.
5726 (test_catch_syscall_multi_arch): New function.
5728 2014-11-20 Doug Evans <xdje42@gmail.com>
5730 * gdb.base/maint.exp: Update expected output.
5732 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5734 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5735 4-byte instruction on S390.
5737 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5739 * gdb.ada/arr_arr: New testcase.
5741 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5743 * gdb.ada/pkd_arr_elem: New Testcase.
5745 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5747 * gdb.reverse/break-precsave: Expect completion message for
5749 * gdb.reverse/consecutive-precsave.exp: Likewise.
5750 * gdb.reverse/finish-precsave.exp: Likewise.
5751 * gdb.reverse/i386-precsave.exp: Likewise.
5752 * gdb.reverse/machinestate-precsave.exp: Likewise.
5753 * gdb.reverse/sigall-precsave.exp: Likewise.
5754 * gdb.reverse/solib-precsave.exp: Likewise.
5755 * gdb.reverse/step-precsave.exp: Likewise.
5756 * gdb.reverse/until-precsave.exp: Likewise.
5757 * gdb.reverse/watch-precsave.exp: Likewise.
5759 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5761 * gdb.base/bp-permanent.c: Include unistd.h.
5762 * gdb.python/py-framefilter-mi.c (main): Add return type.
5763 * gdb.python/py-framefilter.c (main): Likewise.
5764 * gdb.trace/actions-changed.c (main): Likewise.
5766 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5768 * gdb.mi/until.c: Add eye-catchers.
5769 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5772 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5774 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5775 function header variants in break1.c.
5776 * gdb.base/ena-dis-br.exp: Likewise.
5777 * gdb.base/hbreak2.exp: Likewise.
5778 * gdb.reverse/until-precsave.exp: Drop references to removed
5779 non-prototype function header variants in ur1.c.
5780 * gdb.reverse/until-reverse.exp: Likewise.
5782 2014-11-17 Petr Machata <pmachata@redhat.com>
5784 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5785 ${_cu_offset_size} bytes abbrev offset.
5787 2014-11-15 Doug Evans <xdje42@gmail.com>
5790 * gdb.base/line-symtabs.exp: New file.
5791 * gdb.base/line-symtabs.c: New file.
5792 * gdb.base/line-symtabs.h: New file.
5794 2014-11-14 Yao Qi <yao@codesourcery.com>
5796 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5797 (func): Add label func_label.
5798 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5799 Replace low_pc and high_pc with MACRO_AT_range.
5800 Replace name, low_pc and high_pc with MACRO_AT_func.
5802 2014-11-14 Yao Qi <yao@codesourcery.com>
5804 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5805 Replace name, low_pc and high_pc with MACRO_AT_func.
5807 2014-11-14 Yao Qi <yao@codesourcery.com>
5809 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5810 produce debug information.
5811 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5813 2014-11-14 Yao Qi <yao@codesourcery.com>
5815 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5816 object and get function length.
5817 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5819 (top-level): Replace gdb_compile and clean_restart with
5820 prepare_for_testing.
5821 * gdb.dwarf2/main.c (main): Add label main_label.
5823 2014-11-14 Yao Qi <yao@codesourcery.com>
5825 * lib/dwarf.exp (function_range): New procedure.
5826 (Dwarf::_handle_macro_at_func): New procedure.
5827 (Dwarf::_handle_macro_at_range): New procedure.
5828 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5830 2014-11-14 Yao Qi <yao@codesourcery.com>
5832 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5833 (_handle_attribute): New procedure.
5835 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5837 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5838 * gdb.base/call-sc.c (zed): Likewise.
5839 * gdb.base/checkpoint.c (main): Likewise.
5840 * gdb.base/dump.c (main): Likewise.
5841 * gdb.base/gcore.c (main): Likewise.
5842 * gdb.base/huge.c (main): Likewise.
5843 * gdb.base/multi-forks.c (main): Likewise.
5844 * gdb.base/pr10179-a.c (main): Likewise.
5845 * gdb.base/savedregs.c (main): Likewise.
5846 * gdb.base/sigaltstack.c (main): Likewise.
5847 * gdb.base/siginfo.c (main): Likewise.
5848 * gdb.base/structs.c (zed): Likewise.
5849 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5850 * gdb.mi/mi-syn-frame.c (main): Likewise.
5851 * gdb.mi/until.c (foo, main): Likewise.
5852 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5853 * gdb.base/solib-weak.c (foo): Declare.
5854 * gdb.base/attach-twice.c: Include stdio.h.
5855 * gdb.base/weaklib1.c: Likewise.
5856 * gdb.base/weaklib2.c: Likewise.
5857 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5858 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5860 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5861 * gdb.mi/mi-exit-code.c: Likewise.
5862 * gdb.base/break-interp-lib.c: Include string.h.
5863 * gdb.base/coremaker.c: Likewise.
5864 * gdb.base/testenv.c: Likewise.
5865 * gdb.python/py-finish-breakpoint.c: Likewise.
5866 * gdb.base/inferior-died.c: Include sys/wait.h.
5867 * gdb.base/fileio.c: Include time.h.
5868 * gdb.base/async-shell.c: Include unistd.h.
5869 * gdb.base/dprintf-non-stop.c: Likewise.
5870 * gdb.base/info-os.c: Likewise.
5871 * gdb.mi/mi-console.c: Likewise.
5872 * gdb.mi/watch-nonstop.c: Likewise.
5873 * gdb.python/py-events.c: Likewise.
5874 * gdb.base/async.c (baz): Move up before its invocation.
5875 * gdb.base/code_elim2.c (my_global_func): Likewise.
5876 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5877 * gdb.base/advance.c (func2): Likewise.
5879 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5881 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5883 * gdb.base/annota3.c: Likewise.
5884 * gdb.base/async.c: Likewise.
5885 * gdb.base/average.c: Likewise.
5886 * gdb.base/call-ar-st.c: Likewise.
5887 * gdb.base/call-rt-st.c: Likewise.
5888 * gdb.base/call-sc.c: Likewise.
5889 * gdb.base/call-strs.c: Likewise.
5890 * gdb.base/ending-run.c: Likewise.
5891 * gdb.base/execd-prog.c: Likewise.
5892 * gdb.base/exprs.c: Likewise.
5893 * gdb.base/foll-exec.c: Likewise.
5894 * gdb.base/foll-fork.c: Likewise.
5895 * gdb.base/foll-vfork.c: Likewise.
5896 * gdb.base/funcargs.c: Likewise.
5897 * gdb.base/gcore.c: Likewise.
5898 * gdb.base/jump.c: Likewise.
5899 * gdb.base/langs0.c: Likewise.
5900 * gdb.base/langs1.c: Likewise.
5901 * gdb.base/langs2.c: Likewise.
5902 * gdb.base/mips_pro.c: Likewise.
5903 * gdb.base/nodebug.c: Likewise.
5904 * gdb.base/opaque0.c: Likewise.
5905 * gdb.base/opaque1.c: Likewise.
5906 * gdb.base/recurse.c: Likewise.
5907 * gdb.base/run.c: Likewise.
5908 * gdb.base/scope0.c: Likewise.
5909 * gdb.base/scope1.c: Likewise.
5910 * gdb.base/setshow.c: Likewise.
5911 * gdb.base/setvar.c: Likewise.
5912 * gdb.base/shmain.c: Likewise.
5913 * gdb.base/shr1.c: Likewise.
5914 * gdb.base/shr2.c: Likewise.
5915 * gdb.base/sigall.c: Likewise.
5916 * gdb.base/signals.c: Likewise.
5917 * gdb.base/so-indr-cl.c: Likewise.
5918 * gdb.base/solib2.c: Likewise.
5919 * gdb.base/structs.c: Likewise.
5920 * gdb.base/sum.c: Likewise.
5921 * gdb.base/vforked-prog.c: Likewise.
5922 * gdb.base/watchpoint.c: Likewise.
5923 * gdb.reverse/shr2.c: Likewise.
5924 * gdb.reverse/until-reverse.c: Likewise.
5925 * gdb.reverse/ur1.c: Likewise.
5926 * gdb.reverse/watch-reverse.c: Likewise.
5928 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5930 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5932 * gdb.base/sepdebug.exp: Drop references to removed code.
5934 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5936 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5937 variant. Preserve original line numbering.
5938 * gdb.base/list1.c: Likewise.
5940 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5942 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5944 * gdb.base/break1.c: Likewise.
5945 * gdb.base/break.exp: Drop references to removed code.
5947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5949 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5952 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5954 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5956 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5958 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5959 logic into perform_all_tests() and invoke it with and without
5960 function header prototypes.
5961 (do_function_calls): Remove conditional XFAIL for PR 5318.
5962 (rerun_and_prepare): Remove duplicate code.
5963 (perform_all_tests): New. Main logic moved here.
5965 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5967 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5968 code guarded by #ifdef NO_PROTOTYPES.
5969 (t_double_many_args): Likewise.
5970 (DEF_FUNC_MANY_ARGS_1): Likewise.
5971 (DEF_FUNC_VALUES_1): Likewise.
5972 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5973 guarded by #ifdef PROTOTYPES.
5975 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5977 * gdb.mi/mi-console.c: Add eye-catcher.
5978 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5979 instead of literal line number.
5981 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5983 * gdb.base/shr2.c: Add eye-catcher.
5984 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5987 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5989 * gdb.base/jump.c: Add eye-catchers.
5990 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5993 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5995 * gdb.base/execd-prog.c: Add eye-catchers.
5996 * gdb.base/foll-exec.c: Likewise.
5997 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6000 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002 * gdb.base/ending-run.c: Add eye-catchers.
6003 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6004 literal line numbers.
6006 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6008 * gdb.base/call-rt-st.c: Add eye-catchers.
6009 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6010 literal line numbers.
6012 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6014 * gdb.base/call-ar-st.c: Add eye-catchers.
6015 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6016 literal line numbers.
6018 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6020 * gdb.base/average.c: Add eye-catchers.
6021 * gdb.base/sum.c: Likewise.
6022 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6023 regexps dynamically.
6025 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6027 * gdb.base/solib1.c: Add eye-catchers.
6028 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6029 literal line numbers.
6031 2014-11-12 Pedro Alves <palves@redhat.com>
6033 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6036 2014-11-12 Pedro Alves <palves@redhat.com>
6038 * gdb.arch/i386-bp_permanent.c: New file.
6039 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6040 (srcfile): Set to i386-bp_permanent.c.
6041 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6042 that stepi does not execute the 'leave' instruction, instead of
6043 testing it does execute.
6044 * gdb.base/bp-permanent.c: New file.
6045 * gdb.base/bp-permanent.exp: New file.
6047 2014-11-10 Doug Evans <xdje42@gmail.com>
6050 * gdb.base/symtab-search-order.exp: New file.
6051 * gdb.base/symtab-search-order.c: New file.
6052 * gdb.base/symtab-search-order-1.c: New file.
6053 * gdb.base/symtab-search-order-shlib-1.c: New file.
6055 2014-11-07 Pedro Alves <palves@redhat.com>
6058 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6061 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6064 * gdb.cp/pr17494.cc: New file.
6065 * gdb.cp/pr17494.exp: New file.
6067 2014-11-02 Yao Qi <yao@codesourcery.com>
6069 * gdb.python/python.exp: Get working directory and match the
6070 output of "set extended-prompt \\w " with it.
6072 2014-10-30 Doug Evans <dje@google.com>
6074 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6076 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6079 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6081 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6082 * gdb.base/realname-expand.exp: Likewise.
6083 * gdb.linespec/macro-relative.exp: Likewise.
6085 2014-10-29 Pedro Alves <palves@redhat.com>
6088 * gdb.threads/schedlock.c (some_function): New function.
6089 (call_function): New global.
6090 (MAYBE_CALL_SOME_FUNCTION): New macro.
6091 (thread_function): Call it.
6092 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6093 and use it instead of a global counter. Adjust all callers.
6094 (get_current_thread): Use "find current thread" for test message
6095 here rather than having all callers pass down the same string.
6096 (goto_loop): New procedure, factored out from ...
6097 (my_continue): ... this.
6098 (step_ten_loops): Change parameter from test message to command to
6100 (list_count): Delete global.
6101 (check_result): New procedure, factored out from duplicate top
6103 (continue tests): Wrap in with_test_prefix.
6104 (test_step): New procedure, factored out from duplicate top level
6106 (top level): Test "step" in combination with all scheduler-locking
6107 modes. Test "next" in combination with all scheduler-locking
6108 modes, and in combination with stepping over a function call or
6110 * gdb.threads/next-bp-other-thread.c: New file.
6111 * gdb.threads/next-bp-other-thread.exp: New file.
6113 2014-10-29 Pedro Alves <palves@redhat.com>
6116 * gdb.python/python.exp: Test a multi-line command that spawns
6118 * gdb.base/multi-line-starts-subshell.exp: New file.
6120 2014-10-29 Yao Qi <yao@codesourcery.com>
6122 * gdb.base/fileio.exp: Make directories on host.
6124 2014-10-29 Yao Qi <yao@codesourcery.com>
6126 * gdb.base/fileio.c (test_write): Close the file.
6128 2014-10-28 Pedro Alves <palves@redhat.com>
6131 * gdb.base/sigstep.c (no_handler): New global.
6132 (main): If 'no_handler is true, set the signal handlers to
6134 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6135 with_sw_watch and no_handler parameters. Handle them.
6136 (top level) <stepping over handler when stopped at a breakpoint
6137 test>: Add a test axis for testing with a software watchpoint, and
6138 another for testing with the signal handler set to SIG_IGN.
6139 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6140 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6142 2014-10-28 Pedro Alves <palves@redhat.com>
6145 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6146 * gdb.base/sigstep.exp (other_handler_location): New global.
6147 (advance): Support stepping into the signal handler, and running
6148 commands while in the handler.
6149 (in_handler_map): New global.
6150 (top level): In the advance test, add combinations for getting
6151 into the handler with stepping commands, and for running commands
6152 in the handler. Add comment descripting the advancei tests.
6154 2014-10-28 Pedro Alves <palves@redhat.com>
6156 * gdb.base/sigstep.exp: Use build_executable instead of
6157 prepare_for_testing.
6158 (top level): Move code that starts GDB, runs to main and creates a
6160 (restart): ... this new procedure.
6161 (top level): Move backtrace from signal handler test to ...
6162 (validate_backtrace): ... this new procedure.
6163 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6164 with_test_prefix. Always restart GDB.
6165 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6166 with_test_prefix. Always restart GDB. No need to delete
6167 breakpoints after the test.
6168 (test_skip_handler): Remove prefix parameter.
6169 (skip_over_handler, breakpoint_to_handler)
6170 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6171 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6172 restart GDB. No need to delete breakpoints after the test.
6173 (top level): Use foreach to call the test procedures with
6176 2014-10-28 Pedro Alves <palves@redhat.com>
6178 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6179 instead of GNATS numbers.
6180 * gdb.base/sigbpt.exp: Likewise.
6181 * gdb.base/siginfo.exp: Likewise.
6182 * gdb.base/sigstep.exp: Likewise.
6184 2014-10-27 Pedro Alves <palves@redhat.com>
6186 * gdb.base/sigstep.c (dummy): New global.
6187 (main): Issue a couple writes to the new global.
6188 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6190 (skip_over_handler): Use test_skip_handler.
6191 (top level): Call skip_over_handler for stepi and nexti too.
6192 (breakpoint_over_handler): Use test_skip_handler.
6193 (top level): Call breakpoint_over_handler for stepi and nexti too.
6195 2014-10-27 Yao Qi <yao@codesourcery.com>
6197 * gdb.trace/tfile.c (adjust_function_address)
6198 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6199 function descriptor.
6201 2014-10-24 Don Breazeal <donb@codesourcery.com>
6203 * gdb.base/foll-fork.exp (test_follow_fork,
6204 catch_fork_child_follow): Check for updated fork messages emitted
6206 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6207 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6208 vfork_and_exec_child_follow_through_step): Check for updated vfork
6209 messages emitted from infrun.c.
6211 2014-10-24 Pedro Alves <palves@redhat.com>
6213 * gdb.base/corefile.exp: Remove references to ultrix.
6214 * gdb.base/interrupt.exp: Likewise.
6215 * gdb.base/whatis.exp: Likewise.
6216 * gdb.gdb/selftest.exp: Likewise.
6217 * gdb.threads/manythreads.exp: Likewise.
6218 * gdb.threads/print-threads.exp: Likewise.
6219 * gdb.threads/pthreads.exp:: Likewise.
6220 * gdb.threads/schedlock.exp: Likewise.
6222 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6224 * gdb.cp/non-trivial-retval.cc: Add a test case.
6225 * gdb.cp/non-trivial-retval.exp: Add a test.
6227 2014-10-20 Yao Qi <yao@codesourcery.com>
6229 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6230 * gdb.python/py-objfile-script-gdb.py: New file.
6231 * gdb.python/py-objfile-script.exp: Update reference to
6232 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6233 of remote_download. Remove the dest file.
6235 2014-10-20 Yao Qi <yao@codesourcery.com>
6237 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6238 * gdb.base/step-line.exp: Likewise.
6239 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6240 * gdb.dwarf2/dw2-basic.exp: Likewise.
6241 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6242 * gdb.dwarf2/dw2-filename.exp: Likewise.
6243 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6244 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6245 * gdb.dwarf2/dw2-producer.exp: Likewise.
6246 * gdb.dwarf2/mac-fileno.exp: Likewise.
6247 * gdb.python/py-frame-args.exp: Likewise.
6248 * gdb.python/py-framefilter.exp: Likewise.
6249 * gdb.python/py-mi.exp: Likewise.
6250 * gdb.python/py-objfile-script.exp: Likewise
6251 * gdb.python/py-pp-integral.exp: Likewise.
6252 * gdb.python/py-pp-re-notag.exp: Likewise.
6253 * gdb.python/py-prettyprint.exp: Likewise.
6254 * gdb.python/py-section-script.exp: Likewise.
6255 * gdb.python/py-typeprint.exp: Likewise.
6256 * gdb.python/py-xmethods.exp: Likewise.
6257 * gdb.stabs/weird.exp: Likewise.
6258 * gdb.xml/tdesc-regs.exp: Likewise.
6260 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6262 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6263 (out_cu): Use addr_len for the size of addresses.
6264 (out_line): Likewise. Size DW_LNE_set_address instruction
6265 according to addr_len.
6266 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6267 (FUNC): Add START_INSNS to definition.
6269 2014-10-18 Yao Qi <yao@codesourcery.com>
6271 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6272 gdb_has_argv0 return true.
6273 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6274 check [target_info exists noargs], check [gdb_has_argv0]
6276 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6277 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6280 2014-10-17 Doug Evans <dje@google.com>
6282 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6284 * gdb.python/py-events.py: Add clear_objfiles event.
6286 2014-10-17 Doug Evans <dje@google.com>
6288 * gdb.python/py-objfile.exp: Test progspace attribute.
6290 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6292 * gdb.guile/scm-breakpoint.exp: Do not assume any
6293 directory separators when matching source file paths.
6294 * gdb.python/py-breakpoint.exp: Likewise.
6295 * gdb.reverse/break-precsave.exp: Likewise.
6296 * gdb.reverse/break-reverse.exp: Likewise.
6297 * gdb.reverse/consecutive-precsave.exp: Likewise.
6298 * gdb.reverse/finish-precsave.exp: Likewise.
6299 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6300 * gdb.reverse/finish-reverse.exp: Likewise.
6301 * gdb.reverse/i386-precsave.exp: Likewise.
6302 * gdb.reverse/i387-env-reverse.exp: Likewise.
6303 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6304 * gdb.reverse/machinestate-precsave.exp: Likewise.
6305 * gdb.reverse/machinestate.exp: Likewise.
6306 * gdb.reverse/sigall-precsave.exp: Likewise.
6307 * gdb.reverse/solib-precsave.exp: Likewise.
6308 * gdb.reverse/step-precsave.exp: Likewise.
6309 * gdb.reverse/until-precsave.exp: Likewise.
6310 * gdb.reverse/watch-precsave.exp: Likewise.
6311 * gdb.reverse/watch-reverse.exp: Likewise.
6313 2014-10-17 Yao Qi <yao@codesourcery.com>
6315 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6316 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6318 2014-10-17 Pedro Alves <palves@redhat.com>
6321 * gdb.base/bg-execution-repeat.c: New file.
6322 * gdb.base/bg-execution-repeat.exp: New file.
6324 2014-10-17 Pedro Alves <palves@redhat.com>
6327 * gdb.base/continue-all-already-running.c: New file.
6328 * gdb.base/continue-all-already-running.exp: New file.
6330 2014-10-17 Pedro Alves <palves@redhat.com>
6333 * gdb.base/annota-input-while-running.c: New file.
6334 * gdb.base/annota-input-while-running.exp: New file.
6336 2014-10-17 Pedro Alves <palves@redhat.com>
6338 * gdb.base/callfuncs.exp: emove references to osf.
6339 * gdb.base/sigall.exp: Likewise.
6340 * gdb.gdb/selftest.exp: Likewise.
6341 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6342 * gdb.mi/non-stop.c: Likewise.
6343 * gdb.mi/pthreads.c: Likewise.
6344 * gdb.reverse/sigall-precsave.exp: Likewise.
6345 * gdb.reverse/sigall-reverse.exp: Likewise.
6346 * gdb.threads/pthreads.c: Likewise.
6347 * gdb.threads/pthreads.exp: Likewise.
6349 2014-10-17 Yao Qi <yao@codesourcery.com>
6351 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6352 check 'target_info exists noargs'.
6353 (test_command_prompt_position): Likewise.
6354 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6356 (progvar_simple_while_test): Likewise.
6357 (progvar_complex_if_while_test): Likewise.
6358 (if_while_breakpoint_command_test): Likewise.
6359 (infrun_breakpoint_command_test): Likewise.
6360 (breakpoint_command_test): Likewise.
6361 (watchpoint_command_test): Likewise.
6362 (bp_deleted_in_command_test): Likewise.
6363 (temporary_breakpoint_commands): Likewise.
6365 2014-10-16 Yao Qi <yao@codesourcery.com>
6367 * gdb.base/remotetimeout.exp: Remove noargs checking.
6369 2014-10-15 Pedro Alves <palves@redhat.com>
6372 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6373 * gdb.base/breakpoint-in-ro-region.exp
6374 (probe_target_hardware_step): New procedure.
6375 (top level): Probe hardware stepping and hardware breakpoint
6376 support. Test stepping through a read-only region, with both
6377 "breakpoint auto-hw" on and off and both "always-inserted" on and
6380 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6382 * gdb.dlang/demangle.exp: Update for demangling changes.
6384 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6386 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6387 * gdb.cp/non-trivial-retval.exp: Add new tests.
6389 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6393 * gdb.cp/non-trivial-retval.cc: New file.
6394 * gdb.cp/non-trivial-retval.exp: New file.
6396 2014-10-15 Yao Qi <yao@codesourcery.com>
6398 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6401 2014-10-15 Yao Qi <yao@codesourcery.com>
6403 * gdb.python/py-symbol.exp: Match file base name if host is
6404 remote, otherwise match file name with dir name.
6405 * gdb.python/py-symtab.exp: Likewise.
6406 * gdb.python/python.exp: Likewise.
6408 2014-10-15 Yao Qi <yao@codesourcery.com>
6410 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6412 * gdb.python/py-symtab.exp: Likewise.
6413 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6416 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6418 * gdb.ada/addr_arith: New testcase.
6420 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6422 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6423 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6424 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6425 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6427 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6429 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6430 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6431 * gdb.arch/stap-eval-lang-ada.exp: New file.
6433 2014-10-14 Yao Qi <yao@codesourcery.com>
6435 * gdb.mi/mi-var-child.c (nothing1): New function.
6436 (nothing2): New function.
6437 (do_children_tests): Set function pointers by nothing1 and
6439 * gdb.mi/mi-var-child.exp: Step over new added statements.
6440 Update test to match the new output.
6441 * gdb.mi/var-cmd.c (nothing1): New function.
6442 (nothing2): New function.
6443 (do_children_tests): Set function pointers by nothing1 and
6445 * gdb.mi/mi-var-display.exp: Update test to match output.
6446 Step to the line specified by $line_dct_nothing.
6447 Increase the number of lines to step.
6449 2014-10-14 Yao Qi <yao@codesourcery.com>
6451 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6453 * gdb.mi/mi2-var-child.exp: Likewise.
6455 2014-10-13 Doug Evans <dje@google.com>
6457 * gdb.python/py-objfile.exp: Change name of file name test.
6459 2014-10-13 Doug Evans <dje@google.com>
6461 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6462 from the start of the CU.
6464 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6465 Yao Qi <yao@codesourcery.com>
6467 Fix "save breakpoints" for "catch" command.
6468 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6469 Remove -nonewline. Match also the added "main" line.
6471 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6473 Fix "save breakpoints" for "disable $bpnum" command.
6474 * gdb.base/save-bp.c (main): Add label.
6475 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6477 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6479 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6481 2014-10-11 Yao Qi <yao@codesourcery.com>
6483 * gdb.server/server-kill.exp: Execute command
6484 "set remote trace-status-packet on" before "tstatus".
6486 2014-10-11 Yao Qi <yao@codesourcery.com>
6488 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6489 (main): Call getppid.
6490 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6491 and continue to it. Read variable "server_pid".
6493 2014-10-11 Yao Qi <yao@codesourcery.com>
6495 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6497 2014-10-11 Yao Qi <yao@codesourcery.com>
6499 * gdb.threads/thread-find.exp: Don't execute command
6501 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6502 * gdb.threads/linux-dp.exp: Don't check the condition
6503 $threads_created equals to zero.
6505 2014-10-10 Pedro Alves <palves@redhat.com>
6507 * gdb.base/bigcore.exp: Remove references to IRIX.
6508 * gdb.base/funcargs.exp: Likewise.
6509 * gdb.base/interrupt.exp: Likewise.
6510 * gdb.base/mips_pro.exp: Likewise.
6511 * gdb.base/nodebug.exp: Likewise.
6512 * gdb.base/setvar.exp: Likewise.
6513 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6515 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6516 Pedro Alves <palves@redhat.com>
6519 * gdb.base/vdso-warning.c: New file.
6520 * gdb.base/vdso-warning.exp: New file.
6522 2014-10-02 Doug Evans <dje@google.com>
6524 * gdb.base/structs.c (main): Don't run forever.
6526 2014-10-02 Pedro Alves <palves@redhat.com>
6528 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6529 (top level) <stop threads 1, stop threads 2>: Use it.
6531 2014-10-02 Pedro Alves <palves@redhat.com>
6533 * gdb.threads/break-while-running.exp (test): Add new
6534 'update_thread_list' argument. Skip "info threads" if false.
6535 (top level): Add new 'update_thread_list' axis.
6537 2014-10-02 Pedro Alves <palves@redhat.com>
6539 PR breakpoints/17431
6540 * gdb.base/execl-update-breakpoints.c: New file.
6541 * gdb.base/execl-update-breakpoints.exp: New file.
6543 2014-10-01 Pedro Alves <palves@redhat.com>
6545 * gdb.base/breakpoint-in-ro-region.c: New file.
6546 * gdb.base/breakpoint-in-ro-region.exp: New file.
6548 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6550 * gdb.mi/mi-exit-code.exp: New file.
6551 * gdb.mi/mi-exit-code.c: New file.
6553 2014-09-30 Yao Qi <yao@codesourcery.com>
6555 * lib/prelink-support.exp (build_executable_own_libs): Error if
6556 the target isn't native.
6558 2014-09-30 Yao Qi <yao@codesourcery.com>
6560 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6563 2014-09-22 Pedro Alves <palves@redhat.com>
6565 * gdb.threads/break-while-running.exp: New file.
6566 * gdb.threads/break-while-running.c: New file.
6568 2014-09-19 Yao Qi <yao@codesourcery.com>
6570 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6571 Invoke test. Restart GDB with --readnow and invoke test again.
6573 2014-09-19 Yao Qi <yao@codesourcery.com>
6575 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6576 proc set_breakpoint_on_gcd_function. Invoke
6577 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6578 invoke set_breakpoint_on_gcd_function again.
6580 2014-09-18 Doug Evans <dje@google.com>
6582 * gdb.dwarf2/symtab-producer.exp: New file.
6584 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6586 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6587 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6588 * gdb.base/global-var-nested-by-dso.c: Likewise.
6589 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6591 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6592 Pedro Alves <palves@redhat.com>
6594 * gdb.base/watch-bitfields.exp: Pass string other than test file
6595 name to prepare_for_testing.
6596 (watch): New procedure.
6597 (expect_watchpoint): Use with_test_prefix.
6598 (top level): Factor out tests to ...
6599 (test_watch_location, test_regular_watch): ... these new
6600 procedures, and use with_test_prefix and gdb_continue_to_end.
6602 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6604 PR breakpoints/12526
6605 * gdb.base/watch-bitfields.exp: New file.
6606 * gdb.base/watch-bitfields.c: New file.
6608 2014-09-16 Pedro Alves <palves@redhat.com>
6610 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6611 software and hardware addresses, not software address against
6614 2014-09-16 Pedro Alves <palves@redhat.com>
6616 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6617 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6619 2014-09-16 Pedro Alves <palves@redhat.com>
6621 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6623 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6624 "*-*-vxworks*" throughout.
6625 * gdb.base/break.exp: Likewise.
6626 * gdb.base/default.exp: Likewise.
6627 * gdb.base/scope.exp: Likewise.
6628 * gdb.base/sepdebug.exp: Likewise.
6629 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6631 * gdb.base/run.c: Likewise.
6632 * gdb.base/sepdebug.c: Likewise.
6633 * gdb.hp/gdb.aCC/run.c: Likewise.
6634 * gdb.reverse/until-reverse.c: Likewise.
6635 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6637 2014-09-16 Yao Qi <yao@codesourcery.com>
6639 * boards/local-remote-host-native.exp: New file.
6641 2014-09-14 Doug Evans <xdje42@gmail.com>
6643 * gdb.threads/queue-signal.c (thread_count): New variable.
6644 (thread_count_mutex, thread_count_condvar): New variables.
6645 (incr_thread_count, wait_all_threads_running): New functions.
6646 (main): Wait for all threads to be in their thread functions.
6648 2014-09-13 Doug Evans <xdje42@gmail.com>
6650 * gdb.threads/queue-signal.c: New file.
6651 * gdb.threads/queue-signal.exp: New file.
6653 2014-09-13 Doug Evans <xdje42@gmail.com>
6655 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6656 be consistent with what default_gdb_init uses.
6657 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6658 the plain text of the prompt. Add some logging printfs.
6659 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6661 2014-09-12 Pedro Alves <palves@redhat.com>
6663 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6664 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6665 * gdb.arch/i386-size-overlap.exp: Likewise.
6666 * gdb.arch/i386-size.exp: Likewise.
6667 * gdb.arch/i386-unwind.exp: Likewise.
6668 * gdb.base/a2-run.exp: Likewise.
6669 * gdb.base/break.exp: Likewise.
6670 * gdb.base/charset.exp: Likewise.
6671 * gdb.base/chng-syms.exp: Likewise.
6672 * gdb.base/commands.exp: Likewise.
6673 * gdb.base/dbx.exp: Likewise.
6674 * gdb.base/find.exp: Likewise.
6675 * gdb.base/funcargs.exp: Likewise.
6676 * gdb.base/jit-simple.exp: Likewise.
6677 * gdb.base/reread.exp: Likewise.
6678 * gdb.base/sepdebug.exp: Likewise.
6679 * gdb.base/step-bt.exp: Likewise.
6680 * gdb.cp/mb-inline.exp: Likewise.
6681 * gdb.cp/mb-templates.exp: Likewise.
6682 * gdb.objc/basicclass.exp: Likewise.
6683 * gdb.threads/killed.exp: Likewise.
6685 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6688 * gdb.arch/powerpc-stackless.S: New file.
6689 * gdb.arch/powerpc-stackless.exp: New file.
6691 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6693 * gdb.base/attach.c: Include unistd.h.
6694 (main): Call alarm. Add label postloop.
6695 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6696 gdb_breakpoint, gdb_continue_to_breakpoint.
6697 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6699 2014-09-11 Pedro Alves <palves@redhat.com>
6702 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6703 * gdb.base/attach.exp (test_command_line_attach_run): New
6705 (top level): Call it.
6707 2014-09-11 Pedro Alves <palves@redhat.com>
6709 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6710 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6711 (do_command_attach_tests): Use spawn_wait_for_attach.
6712 * gdb.base/solib-overlap.exp: Likewise.
6713 * gdb.multi/multi-attach.exp: Likewise.
6714 * gdb.python/py-prompt.exp: Likewise.
6715 * gdb.python/py-sync-interp.exp: Likewise.
6716 * gdb.server/ext-attach.exp: Likewise.
6718 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6720 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6721 command in testcase. Simplify testcase.
6723 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6725 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6727 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6729 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6731 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6733 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6735 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6737 * gdb.dwarf2/dynarr-ptr.c: New file.
6738 * gdb.dwarf2/dynarr-ptr.exp: New file.
6740 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6742 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6743 of 30 rather than hardcoding 120 for a slow test case. Take the
6744 `gdb,timeout' target setting into account for this calculation.
6745 Don't extend the timeout for the test cases that don't need it.
6747 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6749 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6750 a factor of 2 for a slow test case. Take the `gdb,timeout'
6751 target setting into account for this calculation.
6752 * gdb.reverse/until-precsave.exp: Increase the timeout by
6753 a factor of 15 and 3 respectively rather than adding 120
6754 for a pair of slow test cases. Take the `gdb,timeout'
6755 target setting into account for this calculation.
6757 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6759 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6760 timeout, don't pass one down to gdb_expect.
6761 (gdb_expect): Rework timeout selection.
6763 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6765 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6766 exception on timeout.
6767 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6768 (gdbserver_start_extended): Catch any `gdbserver_start' error
6770 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6771 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6772 `gdbserver_gdb_load' error exceptions.
6774 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6776 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6777 120 on waiting for the TCP socket to open.
6779 2014-09-09 Doug Evans <xdje42@gmail.com>
6781 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6782 _caller_matches, _any_caller_is, _any_caller_matches.
6784 2014-09-09 Doug Evans <xdje42@gmail.com>
6786 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6788 2014-09-09 Yao Qi <yao@codesourcery.com>
6790 * gdb.mi/mi-var-display.exp: Set print symbol off.
6792 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6795 * gdb.base/commands.exp: Add tests to verify user-defined
6796 commands with empty bodies.
6797 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6798 python commands in `show user command`.
6799 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6800 scheme commands in `show user command`.
6802 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6805 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6806 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6807 * gdb.python/py-framefilter-invalidarg.exp: New file.
6808 * gdb.python/py-framefilter-invalidarg.py: New file.
6810 2014-09-06 Doug Evans <xdje42@gmail.com>
6813 * gdb.python/py-caller-is.c: New file.
6814 * gdb.python/py-caller-is.exp: New file.
6816 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6819 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6820 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6822 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6825 * gdb.fortran/print-formatted.exp: New file.
6826 * gdb.fortran/print-formatted.f90: Likewise.
6828 2014-09-03 Sasha Smundak <asmundak@google.com>
6830 * gdb.python/py-frame.exp: Test Frame.read_register.
6832 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6835 * gdb.python/py-completion.exp: New file.
6836 * gdb.python/py-completion.py: Likewise.
6838 2014-08-28 Doug Evans <dje@google.com>
6840 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6841 eax,etc. are live with values set by gdb and thus the compiler can't
6843 * gdb.arch/i386-pseudo.c (main): Ditto.
6845 2014-08-27 Doug Evans <dje@google.com>
6847 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6849 2014-08-25 Doug Evans <dje@google.com>
6851 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6854 2014-08-25 Doug Evans <dje@google.com>
6856 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6858 2014-08-24 Yao Qi <yao@codesourcery.com>
6860 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6862 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6864 2014-08-22 Doug Evans <dje@google.com>
6867 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6868 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6869 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6871 2014-08-22 Yao Qi <yao@codesourcery.com>
6873 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6874 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6875 * gdb.python/python.exp: Likewise. Use .py file on the host
6876 instead of the build.
6878 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6880 * gdb.threads/gcore-stale-thread.c: New file.
6881 * gdb.threads/gcore-stale-thread.exp: New file.
6883 2014-08-21 Pedro Alves <palves@redhat.com>
6885 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6886 * gdb.base/gcore-relro-pie.exp: Likewise.
6887 * gdb.base/gcore-relro.exp: Likewise.
6888 * gdb.base/gcore.exp: Likewise.
6889 * gdb.base/print-symbol-loading.exp: Likewise.
6890 * gdb.threads/gcore-thread.exp: Likewise.
6891 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6893 2014-08-20 Pedro Alves <palves@redhat.com>
6894 Jan Kratochvil <jan.kratochvil@redhat.com>
6896 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6898 (EXPECT): Handle READ1 being set.
6899 (all): Depend on EXTRA_RULES.
6900 (check-read1, expect-read1, read1.so, read1): New rules.
6901 * README (Testsuite Parameters): Document the READ1 make variable.
6902 (Race detection): New section.
6903 * configure: Regenerate.
6904 * configure.ac: If build==host==target, and running under a
6905 GNU/glibc system, add read1 to the extra Makefile rules.
6906 (EXTRA_RULES): AC_SUBST it.
6907 * lib/read1.c: New file.
6909 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6911 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6912 the handling of variables declared as a typedef to an array
6913 which a DW_AT_data_location attribute.
6915 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6916 Pedro Alves <palves@redhat.com>
6920 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6923 2014-08-19 Pedro Alves <palves@redhat.com>
6925 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6927 2014-08-19 Yao Qi <yao@codesourcery.com>
6929 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6932 2014-08-18 David Blaikie <dblaikie@gmail.com>
6934 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6936 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6938 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6939 attribute in array range.
6941 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6943 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6945 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6948 * gdb.cp/pr17132.cc: New file.
6949 * gdb.cp/pr17132.exp: New file.
6951 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6953 * gdb.python/py-xmethods.py (A_getarrayind)
6954 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6955 Use 'print' with function call syntax.
6956 (E_method_matcher.match): Fix tab vs space indentation mixup.
6958 2014-08-15 Yao Qi <yao@codesourcery.com>
6960 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6963 2014-08-15 Yao Qi <yao@codesourcery.com>
6965 * gdb.cp/casts.exp: Set print symbol off.
6966 * gdb.cp/class2.exp: Likewise.
6967 * gdb.cp/overload.exp: Likewise.
6968 * gdb.cp/templates.exp: Likewise.
6970 2014-08-11 Doug Evans <dje@google.com>
6972 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6973 (test_load_shlib): Update.
6975 2014-08-09 Yao Qi <yao@codesourcery.com>
6977 * gdb.base/display.exp: Invoke is_address_zero_readable.
6978 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6979 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6980 * gdb.base/hbreak-unmapped.exp: Return if
6981 is_address_zero_readable returns true.
6982 * gdb.base/signest.exp: Likewise.
6983 * gdb.base/signull.exp: Likewise.
6984 * gdb.base/sigbpt.exp: Likewise.
6985 * gdb.guile/scm-disasm.exp: Do the test if
6986 is_address_zero_readable returns false.
6987 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6988 * gdb.python/py-arch.exp: Likewise.
6989 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6990 * lib/gdb.exp (is_address_zero_readable): New proc.
6992 2014-08-09 Yao Qi <yao@codesourcery.com>
6995 * gdb.mi/mi-var-display.exp: Make test messages unique.
6997 2014-08-04 Tom Tromey <tromey@redhat.com>
6999 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7002 2014-08-04 Tom Tromey <tromey@redhat.com>
7004 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7007 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7009 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7010 inner_vla_struct_object_size.
7011 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7014 2014-07-30 Pedro Alves <palves@redhat.com>
7016 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7019 2014-07-29 Yao Qi <yao@codesourcery.com>
7022 * gdb.base/until-nodebug.exp: New.
7024 2014-07-28 Doug Evans <xdje42@gmail.com>
7027 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7028 previously existing parameter, and previously ambiguously spelled
7031 2014-07-28 Will Newton <will.newton@linaro.org>
7033 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7035 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7036 Doug Evans <xdje42@gmail.com>
7039 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7041 2014-07-25 Pedro Alves <palves@redhat.com>
7043 * gdb.threads/signal-command-handle-nopass.c: New file.
7044 * gdb.threads/signal-command-handle-nopass.exp: New file.
7045 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7046 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7047 * gdb.threads/signal-delivered-right-thread.c: New file.
7048 * gdb.threads/signal-delivered-right-thread.exp: New file.
7050 2014-07-25 Pedro Alves <palves@redhat.com>
7052 * gdb.base/double-prompt-target-event-error.exp
7053 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7055 (cancel_pagination_in_target_event): Rework double prompt
7057 * gdb.base/paginate-after-ctrl-c-running.exp
7058 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7060 * gdb.base/paginate-bg-execution.exp
7061 (test_bg_execution_pagination_return)
7062 (test_bg_execution_pagination_cancel): Remove '-notransfer
7064 * gdb.base/paginate-execution-startup.exp
7065 (test_fg_execution_pagination_return)
7066 (test_fg_execution_pagination_cancel): Remove '-notransfer
7068 * gdb.base/paginate-inferior-exit.exp
7069 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7071 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7072 * lib/gdb.exp (pagination_prompt): Run text through
7074 (gdb_test_multiple): Match $pagination_prompt instead of
7076 (string_to_regexp): Move to lib/gdb-utils.exp.
7078 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7080 * gdb.arch/amd64-entry-value-paramref.S: New file.
7081 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7082 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7083 * gdb.arch/amd64-optimout-repeat.S: New file.
7084 * gdb.arch/amd64-optimout-repeat.c: New file.
7085 * gdb.arch/amd64-optimout-repeat.exp: New file.
7087 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7090 * gdb.base/statistics.exp: New file.
7092 2014-07-17 Doug Evans <dje@google.com>
7095 * gdb.base/maint.exp: Update testing of per-command stats.
7097 2014-07-16 Pedro Alves <palves@redhat.com>
7099 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7100 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7101 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7102 (tfile_write_buf): New functions.
7103 (add_memory_block): Rewrite using the above.
7104 (adjust_function_address): New function.
7105 (FUNCTION_ADDRESS): New macro.
7106 (write_basic_trace_file): Remove short_x local, and use
7107 tfile_write_16. Change type of func_addr local to unsigned long
7108 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7109 here. Cast argument of add_memory_block to char pointer.
7110 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7111 (main): Remove parameters.
7112 * gdb.trace/tfile.exp: Remove nowarnings.
7114 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7116 * gdb.base/debug-expr.exp: Test string evaluation with
7117 "debug expression" on.
7119 2014-07-15 Pedro Alves <palves@redhat.com>
7121 * gdb.base/reread.exp: Use clean_restart.
7123 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7125 * gdb.arch/avr-flash-qualifer.c: New.
7126 * gdb.arch/avr-flash-qualifer.exp: New.
7128 2014-07-14 Pedro Alves <palves@redhat.com>
7130 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7131 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7133 2014-07-14 Pedro Alves <palves@redhat.com>
7135 * gdb.base/double-prompt-target-event-error.c: New file.
7136 * gdb.base/double-prompt-target-event-error.exp: New file.
7138 2014-07-14 Pedro Alves <palves@redhat.com>
7141 * gdb.base/paginate-inferior-exit.c: New file.
7142 * gdb.base/paginate-inferior-exit.exp: New file.
7144 2014-07-14 Pedro Alves <palves@redhat.com>
7147 * gdb.base/paginate-bg-execution.c: New file.
7148 * gdb.base/paginate-bg-execution.exp: New file.
7150 2014-07-14 Pedro Alves <palves@redhat.com>
7153 * gdb.base/paginate-execution-startup.c: New file.
7154 * gdb.base/paginate-execution-startup.exp: New file.
7155 * lib/gdb.exp (pagination_prompt): New global.
7156 (default_gdb_spawn): New procedure, factored out from
7158 (default_gdb_start): Adjust to call default_gdb_spawn.
7159 (gdb_spawn): New procedure.
7161 2014-07-14 Pedro Alves <palves@redhat.com>
7163 * lib/gdb.exp (gdb_assert): New procedure.
7164 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7166 2014-07-14 Pedro Alves <palves@redhat.com>
7168 * gdb.base/execution-termios.c: New file.
7169 * gdb.base/execution-termios.exp: New file.
7171 2014-07-14 Tom Tromey <tromey@redhat.com>
7173 * gdb.cp/vla-cxx.cc: New file.
7174 * gdb.cp/vla-cxx.exp: New file.
7176 2014-07-14 Tom Tromey <tromey@redhat.com>
7178 * gdb.reverse/rerun-prec.c: New file.
7179 * gdb.reverse/rerun-prec.exp: New file.
7181 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7182 Maciej W. Rozycki <macro@codesourcery.com>
7184 * lib/gdb-utils.exp: New file.
7185 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7186 inline `gdb_init_command' processing.
7187 (gdb_start_cmd): Likewise.
7188 * lib/mi-support.exp (mi_run_cmd): Likewise.
7189 * README: Document `gdb_init_command' and `gdb_init_commands'.
7191 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7193 Fix false FAIL running under a very long directory name.
7194 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7195 and "set print elements 10000". Twice.
7197 2014-07-11 Yao Qi <yao@codesourcery.com>
7199 * gdb.base/exprs.exp: "set print symbol off".
7201 2014-07-11 Pedro Alves <palves@redhat.com>
7203 * gdb.threads/kill.c: New file.
7204 * gdb.threads/kill.exp: New file.
7206 2014-07-10 Yao Qi <yao@codesourcery.com>
7208 * gdb.trace/tfile.c (write_basic_trace_file)
7209 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7210 address written to trace file.
7212 2014-07-09 Pedro Alves <palves@redhat.com>
7214 * gdb.base/attach-wait-input.exp: New file.
7215 * gdb.base/attach-wait-input.c: New file.
7217 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7219 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7220 setting up test structures.
7221 (main): Call new test function.
7222 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7223 test function, continue into test function and walk test
7226 2014-07-02 Yao Qi <yao@codesourcery.com>
7228 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7229 'bar_start' at the beginning of functions 'foo' and 'bar'
7231 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7232 instead of 'foo' and 'bar'.
7234 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7236 * gdb.btrace/segv.exp: New.
7237 * gdb.btrace/segv.c: New.
7239 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7241 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7244 2014-06-30 Mark Wielaard <mjw@redhat.com>
7246 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7247 vulture, vilify, villar): New volatile array constants.
7248 (vindictive, vegetation): New const volatile array constants.
7249 * gdb.base/volatile.exp: Test volatile and const volatile array
7252 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7254 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7255 target lacks support for awatch, rwatch, or hbreak.
7257 2014-06-27 Yao Qi <yao@codesourcery.com>
7259 * gdb.multi/dummy-frame-restore.exp: New.
7260 * gdb.multi/dummy-frame-restore.c: New.
7262 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7264 * gdb.btrace/gcore.exp: New.
7266 2014-06-23 Pedro Alves <palves@redhat.com>
7268 * gdb.base/watchpoint-reuse-slot.c: New file.
7269 * gdb.base/watchpoint-reuse-slot.exp: New file.
7271 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7273 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7274 progspace's filename in 'info', 'enable' and 'disable' command
7277 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7279 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7280 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7281 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7283 2014-06-20 Gary Benson <gbenson@redhat.com>
7285 * gdb.arch/i386-avx.exp: Fix include file location.
7286 * gdb.arch/i386-sse.exp: Likewise.
7288 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7290 * gdb.dlang/expression.exp: New file.
7292 2014-06-19 Pedro Alves <palves@redhat.com>
7294 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7296 (top level): ... here. Iterate running tests under different
7297 scheduler-locking settings.
7299 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7301 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7302 to DW_FORM_addr and use non-zero addresses.
7304 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7307 * gdb.python/py-xmethods.cc: Add global function call counters and
7308 increment them in their respective functions. Remove "cout"
7310 * gdb.python/py-xmethods.exp: Make tests check the global function
7311 call counters instead of depending on inferior IO.
7313 2014-06-18 Don Breazeal <donb@codesourcery.com>
7315 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7317 (explicit_fork_parent_follow): Deleted procedure.
7318 (explicit_fork_child_follow): Deleted procedure.
7319 (test_follow_fork): New procedure.
7320 (do_fork_tests): Replace calls to deleted procedures with
7321 calls to test_follow_fork and reset GDB for subsequent
7324 2014-06-17 Yao Qi <yao@codesourcery.com>
7326 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7329 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7331 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7332 Initialize ptr and S explicitly.
7333 (skip_type_update_when_not_use_rtti_test): Likewise.
7335 2014-06-16 Keith Seitz <keiths@redhat.com>
7338 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7339 the inferior is started.
7341 2014-06-16 Pedro Alves <palves@redhat.com>
7343 * gdb.base/break-main-file-remove-fail.c: New file.
7344 * gdb.base/break-main-file-remove-fail.exp: New file.
7345 * gdb.base/break-unload-file.exp: Use build_executable instead of
7346 prepare_for_testing.
7347 (test_break): New parameter "initial_load". Handle it.
7348 (top level): Add initial_load cmdline/file axis.
7350 2014-06-12 Tom Tromey <tromey@redhat.com>
7352 * gdb.base/completion.exp: Don't use directory name in test.
7354 2014-06-09 Gary Benson <gbenson@redhat.com>
7356 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7357 separate the always-available ANSI-standard signals from the
7358 signals that require checking.
7360 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7364 2014-06-07 Keith Seitz <keiths@redhat.com>
7368 * gdb.cp/var-tag.cc: New file.
7369 * gdb.cp/var-tag.exp: New file.
7370 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7371 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7372 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7373 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7375 2014-06-06 Doug Evans <xdje42@gmail.com>
7377 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7379 2014-06-06 Pedro Alves <palves@redhat.com>
7381 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7382 in target debug output instead of looking at RSP packets,
7383 disabling the test on any target that uses hardware stepping.
7386 2014-06-06 Pedro Alves <palves@redhat.com>
7388 * gdb.base/break-unload-file.exp: Fix typo.
7390 2014-06-06 Yao Qi <yao@codesourcery.com>
7392 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7393 from "jit_function" to "^jit_function".
7395 2014-06-06 Yao Qi <yao@codesourcery.com>
7397 * gdb.base/async.c (foo): Add one statement.
7398 * gdb.base/async.exp: Get the next instruction address and
7399 match the output of "nexti" by instruction address. Match
7400 the hex address in the output of "finish".
7402 2014-06-06 Gary Benson <gbenson@redhat.com>
7404 * gdb.base/call-signals.c: Remove preprocessor conditionals
7405 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7406 SIGSEGV and SIGTERM.
7407 * gdb.base/sigall.c: Likewise.
7408 * gdb.base/unwindonsignal.c: Likewise.
7409 * gdb.reverse/sigall-reverse.c: Likewise.
7411 2014-06-06 Yao Qi <yao@codesourcery.com>
7413 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7414 readable, skip the test.
7416 2014-06-06 Yao Qi <yao@codesourcery.com>
7418 * gdb.threads/staticthreads.c (thread_function): Move the line
7419 setting breakpoint on forward.
7420 * gdb.threads/staticthreads.exp: Update comments.
7422 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7424 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7425 "history-append! type error".
7427 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7429 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7430 erroneous dprintf expected input.
7432 2014-06-04 Doug Evans <xdje42@gmail.com>
7434 * gdb.guile/scm-generics.exp: Delete.
7436 2014-06-04 Doug Evans <xdje42@gmail.com>
7438 * gdb.guile/scm-breakpoint.exp: Update.
7439 Add tests for breakpoint registration.
7441 2014-06-04 Tom Tromey <tromey@redhat.com>
7443 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7445 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7446 inner_vla_struct, vla_union types. Initialize objects of those
7447 types and compute their sizes.
7449 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7450 Hui Zhu <hui@codesourcery.com>
7452 * gdb.base/fileio.exp: Add test for shell not available as well as
7454 * gdb.base/fileio.c (test_system): Check for shell twice.
7456 2014-06-04 Yao Qi <yao@codesourcery.com>
7458 * gdb.base/auto-connect-native-target.exp: Remove redundant
7459 space from the regexp pattern.
7461 2014-06-04 Yao Qi <yao@codesourcery.com>
7463 * gdb.base/default.exp: Replace "child" with "native" in
7466 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7468 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7469 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7470 * gdb.python/py-xmethods.py: Python script supporting the
7471 new testcase and tests.
7473 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7474 Pedro Alves <palves@redhat.com>
7476 PR breakpoints/17000
7477 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7478 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7480 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7482 * gdb.base/subst.exp: Add tests to verify partial path matching
7485 2014-06-03 Pedro Alves <palves@redhat.com>
7487 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7488 target that doesn't use software single-stepping.
7490 2014-06-03 Pedro Alves <palves@redhat.com>
7492 PR breakpoints/17000
7493 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7494 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7496 2014-06-02 Doug Evans <xdje42@gmail.com>
7498 * gdb.guile/scm-parameter.exp: New file.
7500 2014-06-02 Doug Evans <xdje42@gmail.com>
7502 * gdb.guile/scm-cmd.c: New file.
7503 * gdb.guile/scm-cmd.exp: New file.
7505 2014-06-02 Doug Evans <xdje42@gmail.com>
7507 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7508 pretty-printer lookup.
7509 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7510 (make-pp_s-printer): Call it.
7511 (make-pretty-printer-from-dict): New function.
7512 (lookup-pretty-printer-maker-from-dict): New function.
7513 (*pretty-printer*): Simplify.
7514 (make-objfile-pp_s-printer): New function.
7515 (install-objfile-pretty-printers!): New function.
7516 (make-progspace-pp_s-printer): New function.
7517 (install-progspace-pretty-printers!): New function.
7518 * gdb.guile/scm-progspace.c: New file.
7519 * gdb.guile/scm-progspace.exp: New file.
7521 2014-06-02 Pedro Alves <palves@redhat.com>
7523 * gdb.base/dprintf-bp-same-addr.c: New file.
7524 * gdb.base/dprintf-bp-same-addr.exp: New file.
7526 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7528 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7529 * gdb.arch/powerpc-power.s: Likewise.
7531 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7533 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7535 2014-06-01 Yao Qi <yao@codesourcery.com>
7537 * gdb.base/watchpoint.exp (test_watch_location): Check null
7538 pointer can be dereferenced. If not, do the test, otherwise
7541 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7543 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7545 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7547 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7549 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7550 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7551 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7552 * gdb.arch/amd64-invalid-stack-top.c: New file.
7553 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7555 2014-05-30 Pedro Alves <palves@redhat.com>
7557 PR breakpoints/17000
7558 * gdb.base/sss-bp-on-user-bp.c: New file.
7559 * gdb.base/sss-bp-on-user-bp.exp: New file.
7561 2014-05-30 David Blaikie <dblaikie@gmail.com>
7563 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7564 gnu_inline semantics via attribute.
7565 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7566 source explicitly specifies the required semantics.
7568 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7570 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7572 2014-05-29 Pedro Alves <palves@redhat.com>
7573 Tom Tromey <tromey@redhat.com>
7575 * gdb.base/async-shell.exp: Don't enable target-async.
7576 * gdb.base/async.exp
7577 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7579 (top level): Don't test with "target-async".
7580 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7581 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7582 * gdb.base/inferior-died.exp: Don't enable target-async.
7583 * gdb.base/interrupt-noterm.exp: Likewise.
7584 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7585 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7586 * gdb.mi/mi-nonstop.exp: Likewise.
7587 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7588 * gdb.mi/mi-nsintrall.exp: Likewise.
7589 * gdb.mi/mi-nsmoribund.exp: Likewise.
7590 * gdb.mi/mi-nsthrexec.exp: Likewise.
7591 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7592 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7593 * gdb.python/py-evsignal.exp: Don't enable target-async.
7594 * gdb.python/py-evthreads.exp: Likewise.
7595 * gdb.python/py-prompt.exp: Likewise.
7596 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7597 * gdb.server/solib-list.exp: Don't enable target-async.
7598 * gdb.threads/thread-specific-bp.exp: Likewise.
7599 * lib/mi-support.exp: Adjust to use mi-async.
7601 2014-05-29 Pedro Alves <palves@redhat.com>
7604 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7605 reason, even in sync mode.
7607 2014-05-29 Pedro Alves <palves@redhat.com>
7608 Hui Zhu <hui@codesourcery.com>
7611 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7612 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7613 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7614 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7616 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7618 * config/monitor.exp (gdb_target_monitor): Replace use of
7619 "set remotebaud" by "set serial baud".
7621 2014-05-26 Andy Wingo <wingo@igalia.com>
7623 * gdb.guile/scm-breakpoint.exp:
7624 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7625 properties instead of gdb-object-properties.
7627 2014-05-26 Yao Qi <yao@codesourcery.com>
7629 * gdb.server/no-thread-db.exp: Specify source file name
7630 explicitly when setting a breakpoint.
7632 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7634 * gdb.btrace/vdso.c: New.
7635 * gdb.btrace/vdso.exp: New.
7637 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7639 * gdb.base/gcore.exp (capture_command_output): Move ...
7640 * lib/gdb.exp (capture_command_output): ... here.
7642 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7644 * gdb.btrace/data.exp: Test memory access during btrace replay.
7646 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7648 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7650 2014-05-21 Pedro Alves <palves@redhat.com>
7653 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7654 (top level): Test that output related to execution commands is
7655 sent to the console with CLI commands, but not with MI commands.
7656 Test that breakpoint events are always mirrored to the console.
7657 Also expect the new source line to be output after a "next" in
7658 async mode too. Make it a pass/fail test.
7659 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7661 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7663 2014-05-21 Pedro Alves <palves@redhat.com>
7665 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7666 Use them to test variations of "list" after reaching a breakpoint.
7667 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7668 Test "list" with listsize 10 after reaching a breakpoint.
7669 * gdb.python/python.exp (decode_line current location line
7670 number): Adjust expected line number.
7672 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7674 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7675 behavior for $args, pass it directly to "run".
7677 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7679 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7682 2014-05-21 Pedro Alves <palves@redhat.com>
7684 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7685 auto-connect-native-target off".
7686 * gdb.base/auto-connect-native-target.c: New file.
7687 * gdb.base/auto-connect-native-target.exp: New file.
7689 2014-05-21 Pedro Alves <palves@redhat.com>
7691 * gdb.base/default.exp: Test "target native" instead of "target
7694 2014-05-21 Mark Wielaard <mjw@redhat.com>
7696 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7698 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7700 Fix TLS access for -static -pthread.
7701 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7702 <HAVE_TLS> (thread_function, main): Initialize it.
7703 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7705 <$have_tls != "">: Check TLSVAR.
7707 2014-05-21 Pedro Alves <palves@redhat.com>
7709 * gdb.base/dcache-line-read-error.c: New.
7710 * gdb.base/dcache-line-read-error.exp: New.
7712 2014-05-20 Pedro Alves <palves@redhat.com>
7714 * gdb.base/compare-sections.c: New file.
7715 * gdb.base/compare-sections.exp: New file.
7717 2014-05-20 Pedro Alves <palves@redhat.com>
7719 * gdb.base/break-idempotent.c: New file.
7720 * gdb.base/break-idempotent.exp: New file.
7722 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7724 * gdb.btrace/nohist.exp: New.
7726 2014-05-20 Yao Qi <yao@codesourcery.com>
7728 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7729 gdb.reverse directory and gdb_reverse_timeout exists in board
7731 * README: Document gdb_reverse_timeout.
7733 2014-05-20 Yao Qi <yao@codesourcery.com>
7735 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7736 'test_file_name'. Treat args as a string instead of a list.
7737 (gdb_init): Rename argument 'args' by 'test_file_name'.
7739 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7741 * gdb.arch/powerpc-power.exp: New file.
7742 * gdb.arch/powerpc-power.s: New file.
7744 2014-05-16 Doug Evans <dje@google.com>
7746 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7747 * gdb.base/completion.exp: Check that all expected files exist
7748 before doing file completion.
7750 2014-05-16 Doug Evans <dje@google.com>
7752 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7754 (do_syscall_tests_without_xml): Update.
7756 2014-05-16 Pedro Alves <palves@redhat.com>
7758 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7759 instead of "unknown output after running".
7761 2014-05-16 Yao Qi <yao@codesourcery.com>
7763 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7764 file1.txt from host at the end.
7765 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7767 2014-05-15 Doug Evans <dje@google.com>
7769 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7770 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7771 loading file. Add test for TU lookup.
7773 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7775 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7776 calling "-exec-arguments" or "set args" before running the
7779 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7781 * lib/mi-support.exp (mi_expect_stop): Expect message for
7782 inferiors that exit with non-zero exit code.
7784 2014-05-14 Yao Qi <yao@codesourcery.com>
7786 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7787 match absolute path on remote host.
7788 (test_file_list_exec_source_files): Remove "/" from the
7791 2014-05-14 Yao Qi <yao@codesourcery.com>
7793 * boards/local-remote-host-notty.exp (${board}_file): New
7796 2014-05-07 Kyle McMartin <kyle@redhat.com>
7798 Pushed by Joel Brobecker <brobecker@adacore.com>.
7799 * gdb.arch/aarch64-atomic-inst.c: New file.
7800 * gdb.arch/aarch64-atomic-inst.exp: New file.
7802 2014-05-07 Yao Qi <yao@codesourcery.com>
7804 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7805 in current context" too.
7807 2014-05-05 Keith Seitz <keiths@redhat.com>
7809 * gdb.linespec/ls-dollar.exp: Add test for linespec
7810 file:convenience_variable.
7812 2014-05-05 Yao Qi <yao@codesourcery.com>
7814 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7815 traceframes into tfile and ctf trace files. Read data from
7816 trace file and test collected data.
7817 (gdb_collect_locals_test): Likewise.
7818 (gdb_unavailable_registers_test): Likewise.
7819 (gdb_unavailable_floats): Likewise.
7820 (gdb_collect_globals_test): Likewise.
7821 (top-level): Append "ctf" to trace_file_targets if GDB
7824 2014-05-05 Yao Qi <yao@codesourcery.com>
7826 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7828 (gdb_collect_args_test_1): ... it. New proc.
7829 (gdb_collect_locals_test): Move some code to ...
7830 (gdb_collect_locals_test_1): ... it. New proc.
7831 (gdb_unavailable_registers_test): Move some code to ...
7832 (gdb_unavailable_registers_test_1): ... it. New proc.
7833 (gdb_unavailable_floats): Move some code to ...
7834 (gdb_unavailable_floats_1): ... it. New proc.
7836 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7838 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7839 probes to test for bitness recognition.
7840 * gdb.arch/amd64-stap-optional-prefix.exp
7841 (test_probe_value_without_reg): New procedure.
7842 Add code to test for different kinds of bitness.
7844 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7846 PR breakpoints/16889
7847 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7848 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7850 2014-05-01 Pedro Alves <palves@redhat.com>
7852 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7853 gdb_file_cmd if no file is specified.
7854 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7855 last_loaded_file to set the remote exec-file.
7857 2014-05-01 Pedro Alves <palves@redhat.com>
7859 * boards/local-remote-host.exp: New file.
7861 2014-05-01 Pedro Alves <palves@redhat.com>
7863 * boards/local-remote-host.exp: Rename to ...
7864 * boards/local-remote-host-notty.exp: ... this.
7866 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7868 * gdb.ada/dyn_arrayidx: New testcase.
7870 2014-04-26 Yao Qi <yao@codesourcery.com>
7872 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7873 and compute the length of function main. Save it in
7875 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7876 (top-level): Use gdb_compile to compile objects into
7877 executable and restart GDB. Remove invocation to
7878 prepare_for_testing.
7880 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7881 Pedro Alves <palves@redhat.com>
7884 * gdb.multi/multi-attach.c: New file.
7885 * gdb.multi/multi-attach.exp: New file.
7887 2014-04-25 Pedro Alves <palves@redhat.com>
7889 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7891 (top level): Test that "set remote conditional-breakpoints-packet
7892 off" works as intended.
7893 * gdb.base/dprintf.exp: Test that "set remote
7894 breakpoint-commands-packet off" works as intended.
7895 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7897 (top level): Call it.
7898 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7899 remote fast-tracepoints-packet off" works as intended.
7900 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7901 * lib/gdb.exp (gdb_is_target_remote): ... here.
7903 2014-04-24 David Blaikie <dblaikie@gmail.com>
7905 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7906 ensure clang would not discard them.
7907 * gdb.base/gdbvars.c: Ditto.
7908 * gdb.base/memattr.c: Ditto.
7909 * gdb.base/whatis.c: Ditto.
7910 * gdb.python/py-prettyprint.c: Ditto.
7911 * gdb.trace/actions.c: Ditto.
7912 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7913 ensure clang would not discard it.
7915 2014-04-24 David Blaikie <dblaikie@gmail.com>
7917 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7918 clang to emit the full definition of type required by the test
7919 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7921 2014-04-24 David Blaikie <dblaikie@gmail.com>
7923 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7924 coax Clang into emitting the definition of the type.
7925 * gdb.cp/pr10728-x.h (y): Ditto.
7926 * gdb.cp/pr10728-y.cc (y): Ditto.
7928 2014-04-24 David Blaikie <dblaikie@gmail.com>
7930 * gdb.base/label.exp: XFAIL label related tests under Clang.
7931 * gdb.cp/cplabel.exp: Ditto.
7932 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7933 under Clang those using labels.
7935 2014-04-25 Yao Qi <yao@codesourcery.com>
7937 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7939 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7940 partial_label and double_label.
7942 2014-04-24 David Blaikie <dblaikie@gmail.com>
7944 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7946 2014-04-24 David Blaikie <dblaikie@gmail.com>
7948 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7949 of the function to work across GCC and Clang.
7950 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7951 pointer types (const void ** const V void **).
7953 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7954 Walfred Tedeschi <walfred.tedeschi@intel.com>
7956 * Makefile.in (EXECUTABLES): Added i386-avx512.
7957 * gdb.arch/i386-avx512.c: New file.
7958 * gdb.arch/i386-avx512.exp: Likewise.
7960 2014-04-23 Keith Seitz <keiths@redhat.com>
7962 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7963 (mi_make_breakpoint_table): New procedure.
7964 (mi_create_breakpoint): Use mi_make_breakpoint
7965 and return the result.
7966 (mi_make_breakpoint): New procedure.
7967 (mi_build_kv_pairs): New procedure.
7969 * gdb.mi/mi-break.exp: Remove unused globals,
7970 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7971 All callers updated.
7972 * gdb.mi/mi-dprintf.exp: Use variable to track command
7974 Update all callers of mi_create_breakpoint and use
7975 mi_make_breakpoint_table.
7976 Remove any unused global variables.
7977 * gdb.mi/mi-nonstop.exp: Likewise.
7978 * gdb.mi/mi-nsintrall.exp: Likewise.
7979 * gdb.mi/mi-nsmoribund.exp: Likewise.
7980 * gdb.mi/mi-nsthrexec.exp: Likewise.
7981 * gdb.mi/mi-reverse.exp: Likewise.
7982 * gdb.mi/mi-simplerun.exp: Likewise.
7983 * gdb.mi/mi-stepn.exp: Likewise.
7984 * gdb.mi/mi-syn-frame.exp: Likewise.
7985 * gdb.mi/mi-until.exp: Likewise.
7986 * gdb.mi/mi-var-cp.exp: Likewise.
7987 * gdb.mi/mi-var-display.exp: Likewise.
7988 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7989 * gdb.mi/mi2-var-child.exp: Likewise.
7990 * gdb.mi/mi-vla-c99.exp: Likewise.
7991 * lib/mi-support.exp: Likewise.
7993 From Ian Lance Taylor <iant@cygnus.com>:
7994 * lib/gdb.exp (parse_args): New procedure.
7996 2014-04-23 Pedro Alves <palves@redhat.com>
7998 * gdb.base/break-unload-file.c: New file.
7999 * gdb.base/break-unload-file.exp: New file.
8000 * gdb.base/sym-file-lib.c (baz): New function.
8001 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8003 (load): Store the segment's mapped size.
8004 (unload): New function.
8005 (unload_shlib): New function.
8006 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8007 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8008 set a breakpoint at baz, and call it.
8009 * gdb.base/sym-file.exp: New tests for stale breakpoint
8012 2014-04-23 Pedro Alves <palves@redhat.com>
8014 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8015 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8016 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8017 * gdb.base/hbreak-unmapped.c: New file.
8018 * gdb.base/hbreak-unmapped.exp: New file.
8019 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8020 * lib/gdb.exp (gdb_is_target_remote): ... here.
8022 2014-04-22 Pedro Alves <palves@redhat.com>
8024 * gdb.base/consecutive-step-over.c: New file.
8025 * gdb.base/consecutive-step-over.exp: New file.
8027 2014-04-22 Pedro Alves <palves@redhat.com>
8029 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8030 instead of send_gdb/gdb_expect.
8032 2014-04-22 Yao Qi <yao@codesourcery.com>
8034 * lib/trace-support.exp (generate_tracefile): New procedure.
8035 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8037 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8038 if generate_tracefile returns 1.
8040 2014-04-18 Tom Tromey <palves@redhat.com>
8041 Pedro alves <tromey@redhat.com>
8044 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8045 with a backtrace limit.
8046 * gdb.python/py-frame-inline.exp: Test running to an inline
8047 function with a backtrace limit, and printing the newest frame.
8048 * gdb.python/py-frame-inline.c (main): Call f.
8050 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8052 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8054 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8056 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8057 Drop prefix from unsupported source file path.
8059 2014-04-17 Yao Qi <yao@codesourcery.com>
8061 * lib/gdb.exp (with_target_charset): New proc.
8062 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8063 with_target_charset.
8064 (test_print_strings): Likewise.
8065 (test_repeat_bytes): Likewise.
8066 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8069 2014-04-16 Keith Seitz <keiths@redhat.com>
8072 * gdb.dwarf2/corrupt.c: New file.
8073 * gdb.dwarf2/corrupt.exp: New file.
8075 2014-04-16 Keith Seitz <keiths@redhat.com>
8078 * gdb.cp/namelessclass.cc: New file.
8079 * gdb.cp/namelessclass.exp: New file.
8080 * gdb.cp/namelessclass.S: New file.
8082 2014-04-16 Doug Evans <dje@google.com>
8084 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8086 (gdbserver_default_get_comm_port): New function.
8087 (gdbserver_start): Check if board file provided
8088 "gdbserver,get_comm_port" and use it if so.
8089 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8090 (gdb,socketport): Set to "stdio".
8091 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8092 (stdio_gdbserver_template): Delete.
8093 (${board}_get_remote_address): Update.
8094 (${board}_build_remote_cmd): Delete.
8095 (${board}_get_comm_port): New function.
8096 (${board}_spawn): Update.
8097 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8099 (${board}_get_remote_address): Update.
8100 (${board}_get_comm_port): New function.
8102 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8104 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8105 appearing in any order.
8107 2014-04-15 Doug Evans <dje@google.com>
8109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8110 uninitialized value of "description".
8112 2014-04-15 Keith Seitz <keiths@redhat.com>
8114 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8115 Remove unused globals.
8116 (test_running_the_program): Likewise.
8117 (test_controlled_execution): Likewise.
8118 (test_controlling_breakpoints): Likewise.
8119 (test_program_termination): Likewise.
8121 2014-04-15 Keith Seitz <keiths@redhat.com>
8123 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8125 (test_rbreak_creation_and_listing): Likewise.
8126 (test_ignore_count): Likewise.
8127 (test_error): Likewise.
8129 2014-04-15 Pedro Alves <palves@redhat.com>
8131 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8132 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8134 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8135 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8136 to sym-file-loader.c.
8137 (struct library): Forward declare.
8138 (load_shlib, lookup_function): Change prototypes.
8139 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8140 (translate_offset): Remove declarations.
8141 (get_text_addr): New declaration.
8142 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8143 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8145 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8146 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8147 here from sym-file-loader.h.
8148 (struct library): New structure.
8149 (load_shlib, lookup_function): Change prototypes and adjust to
8150 work with a struct library.
8151 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8152 (translate_offset): Make static.
8153 (get_text_addr): New function.
8154 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8156 2014-04-15 Pedro Alves <palves@redhat.com>
8158 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8160 2014-04-15 Pedro Alves <palves@redhat.com>
8162 * gdb.base/sym-file-loader.c: Include <limits.h>.
8163 (SELF_LINK): New define.
8164 (get_origin): New function.
8165 (load_shlib): Use it.
8166 * gdb.base/sym-file.exp: Don't early return if the target is
8167 remote. Use runto_main, and issue fail is that fails. Use
8169 (shlib_name): Delete.
8170 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8172 2014-04-15 Pedro Alves <palves@redhat.com>
8174 * gdb.base/sym-file.exp: Remove regex characters from test
8175 message. Don't refer to breakpoint numbers in test messages.
8177 2014-04-14 Keith Seitz <keiths@redhat.com>
8180 * gdb.cp/var-tag.cc: New file.
8181 * gdb.cp/var-tag.exp: New file.
8182 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8183 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8184 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8185 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8187 2014-04-14 Tom Tromey <tromey@redhat.com>
8189 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8190 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8192 * gdb.cp/enum-class.exp: New file.
8193 * gdb.cp/enum-class.cc: New file.
8195 2014-04-14 Tom Tromey <tromey@redhat.com>
8197 * gdb.dwarf2/enum-type.exp: New file.
8199 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8201 * gdb.mi/mi-vla-c99.exp: New file.
8202 * gdb.mi/vla.c: New file.
8204 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8206 * gdb.base/vla-datatypes.c: New file.
8207 * gdb.base/vla-datatypes.exp: New file.
8209 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8211 * gdb.base/vla-ptr.c: New file.
8212 * gdb.base/vla-ptr.exp: New file.
8214 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8216 * gdb.dwarf2/count.exp: New file.
8218 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8220 * gdb.base/vla-sideeffect.c: New file.
8221 * gdb.base/vla-sideeffect.exp: New file.
8223 2014-04-14 David Blaikie <dblaikie@gmail.com>
8225 * gdb.mi/non-stop.c: Add return value for non-void function return
8227 * gdb.threads/staticthreads.c: Ditto.
8229 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8230 Doug Evans <xdje42@gmail.com>
8232 * gdb.guile/scm-value.c: Improve test case.
8233 * gdb.guile/scm-value.exp: Add new test.
8235 2014-04-11 David Blaikie <dblaikie@gmail.com>
8237 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8238 override Clang's default.
8240 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8242 Revert the following changes (regressions):
8244 * gdb.base/vla-sideeffect.c: New file.
8245 * gdb.base/vla-sideeffect.exp: New file.
8247 * gdb.dwarf2/count.exp: New file.
8249 * gdb.base/vla-multi.c: New file.
8250 * gdb.base/vla-multi.exp: New file.
8252 * gdb.base/vla-ptr.c: New file.
8253 * gdb.base/vla-ptr.exp: New file.
8255 * gdb.base/vla-datatypes.c: New file.
8256 * gdb.base/vla-datatypes.exp: New file.
8258 * gdb.mi/mi-vla-c99.exp: New file.
8259 * gdb.mi/vla.c: New file.
8261 2014-04-11 Keith Seitz <keiths@redhat.com>
8264 * gdb.cp/cpsizeof.exp: New file.
8265 * gdb.cp/cpsizeof.cc: New file.
8267 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8269 * gdb.mi/mi-vla-c99.exp: New file.
8270 * gdb.mi/vla.c: New file.
8272 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8274 * gdb.base/vla-datatypes.c: New file.
8275 * gdb.base/vla-datatypes.exp: New file.
8277 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8279 * gdb.base/vla-ptr.c: New file.
8280 * gdb.base/vla-ptr.exp: New file.
8282 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8284 * gdb.base/vla-multi.c: New file.
8285 * gdb.base/vla-multi.exp: New file.
8287 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8289 * gdb.dwarf2/count.exp: New file.
8291 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8293 * gdb.base/vla-sideeffect.c: New file.
8294 * gdb.base/vla-sideeffect.exp: New file.
8296 2014-04-11 Yao Qi <yao@codesourcery.com>
8298 * gdb.base/completion.exp: Check file exists before running tests
8301 2014-04-10 Pedro Alves <palves@redhat.com>
8303 * gdb.base/cond-eval-mode.c: New file.
8304 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8305 prepare_for_testing to build the new file. Check result of
8307 (test_break, test_watch): New procedures.
8308 (top level): Use them.
8310 2014-04-08 Pierre Muller <muller@sourceware.org>
8312 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8313 Ctrl-V use for mingw hosts.
8315 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8317 * gdb.python/py-value.c: Improve test case.
8318 * gdb.python/py-value.exp: Add new test.
8320 2014-04-07 David Blaikie <dblaikie@gmail.com>
8322 * lib/compiler.c: Identify the clang compiler.
8323 * lib/compiler.cc: Ditto.
8325 2014-04-03 Yao Qi <yao@codesourcery.com>
8327 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8329 2014-04-01 Anton Blanchard <anton@samba.org>
8331 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8334 2014-04-01 Anton Blanchard <anton@samba.org>
8336 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8337 prepare_for_testing.
8339 2014-04-01 Anton Blanchard <anton@samba.org>
8341 * gdb.arch/ppc64-atomic-inst.c: Remove.
8342 * gdb.arch/ppc64-atomic-inst.S: New file.
8343 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8345 2014-03-31 Doug Evans <dje@google.com>
8347 * gdb.base/print-symbol-loading-lib.c: New file.
8348 * gdb.base/print-symbol-loading-main.c: New file.
8349 * gdb.base/print-symbol-loading.exp: New file.
8351 2014-03-31 Yao Qi <yao@codesourcery.com>
8353 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8355 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8357 * gdb.ada/mi_dyn_arr: New testcase.
8359 2014-03-27 Doug Evans <dje@google.com>
8361 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8363 2014-03-27 Yao Qi <yao@codesourcery.com>
8365 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8366 if target is nios2-*-*.
8368 2014-03-26 Yao Qi <yao@codesourcery.com>
8370 * lib/gdb.exp (readline_is_used): New proc.
8371 * gdb.base/completion.exp: Move tests on command complete up.
8372 Skip the rest of tests if readline is not used.
8373 * gdb.ada/complete.exp: Skp the test if readline is not
8375 * gdb.base/filesym.exp: Likewise.
8376 * gdb.base/macscp.exp: Likewise.
8377 * gdb.base/readline-ask.exp: Likewise.
8378 * gdb.base/readline.exp: Likewise.
8379 * gdb.python/py-cmd.exp: Likewise.
8380 * gdb.trace/tfile.exp: Likewise.
8382 2014-03-26 Yao Qi <yao@codesourcery.com>
8384 * gdb.base/macscp.exp: Fix code format issues.
8386 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8388 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8389 * gdb.asm/powerpc64le.inc: New file.
8391 2014-03-25 Pedro Alves <palves@redhat.com>
8392 Doug Evans <dje@google.com>
8394 * gdb.base/source-execution.c: New file.
8395 * gdb.base/source-execution.exp: New file.
8396 * gdb.base/source-execution.gdb: New file.
8398 2014-03-24 Doug Evans <dje@google.com>
8400 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8403 2014-03-24 Hui Zhu <hui@codesourcery.com>
8404 Pedro Alves <palves@redhat.com>
8406 PR breakpoints/16101
8407 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8408 test pass/fail messages. Detect missing support for dprintf when
8409 breakpoints are actually inserted.
8410 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8411 breakpoints are actually inserted.
8412 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8415 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8417 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8419 2014-03-22 Doug Evans <xdje42@gmail.com>
8421 * gdb.python/python.exp (python not supported): Verify multi-line
8422 python command issues an error.
8423 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8424 guile command issues an error.
8426 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8428 * gdb.threads/thread-specific.exp: Handle the lack of usable
8429 $this_breakpoint and $this_thread.
8431 2014-03-21 Hui Zhu <hui@codesourcery.com>
8433 * gdb.base/attach.exp (do_command_attach_tests): New.
8435 2014-03-20 Tom Tromey <tromey@redhat.com>
8436 Pedro Alves <palves@redhat.com>
8439 * gdb.base/condbreak-call-false.c: New file.
8440 * gdb.base/condbreak-call-false.exp: New file.
8442 2014-03-20 Pedro Alves <palves@redhat.com>
8444 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8446 (block_signals, unblock_signals): Delete.
8447 (child_function_2, main): Remove references to deleted variable
8450 2014-03-20 Pedro Alves <palves@redhat.com>
8452 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8453 Use pthread_kill to signal thread 2.
8454 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8455 Adjust to make the test send itself a signal rather than using the
8456 host's "kill" command.
8458 2014-03-20 Pedro Alves <palves@redhat.com>
8460 * gdb.threads/multiple-step-overs.c: New file.
8461 * gdb.threads/multiple-step-overs.exp: New file.
8462 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8463 Adjust expected infrun debug output.
8465 2014-03-20 Pedro Alves <palves@redhat.com>
8467 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8468 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8470 2014-03-20 Pedro Alves <palves@redhat.com>
8473 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8474 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8475 of gdb_test_multiple.
8476 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8477 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8479 2014-03-20 Pedro Alves <palves@redhat.com>
8481 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8482 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8484 2014-03-19 Pedro Alves <palves@redhat.com>
8486 * gdb.base/async.exp: Remove early return.
8488 2014-03-19 Pedro Alves <palves@redhat.com>
8490 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8492 2014-03-19 Pedro Alves <palves@redhat.com>
8494 * gdb.base/async.exp (test_background): Expect \r\n after
8495 "completed." in the fail pattern.
8497 2014-03-19 Pedro Alves <palves@redhat.com>
8499 * gdb.base/async.exp (test_background): New procedure.
8500 Use it for all background execution command tests.
8502 2014-03-19 Pedro Alves <palves@redhat.com>
8504 * gdb.base/async.exp: Use prepare_for_testing.
8506 2014-03-19 Pedro Alves <palves@redhat.com>
8508 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8511 2014-03-19 Pedro Alves <palves@redhat.com>
8513 * gdb.base/async.c (main): Add "jump here" and "until here" line
8515 * gdb.base/async.exp (jump_here): New global.
8516 (jump& test): Use it.
8517 (until_here): New global.
8518 (until& test): Use it.
8520 2014-03-19 Pedro Alves <palves@redhat.com>
8522 * gdb.base/async.exp: Don't frob gdb_protocol.
8524 2014-03-18 Doug Evans <xdje42@gmail.com>
8526 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8527 Fix spelling of exec-done-display.
8529 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8532 * gdb.base/gdb-sigterm.c: New file.
8533 * gdb.base/gdb-sigterm.exp: New file.
8535 2014-03-18 Pedro Alves <palves@redhat.com>
8538 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8539 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8542 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8544 * gdb.ada/pckd_arr_ren: New testcase.
8546 2014-03-13 Doug Evans <xdje42@gmail.com>
8549 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8550 collect after discarding symbols.
8552 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8553 Doug Evans <xdje42@gmail.com>
8555 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8556 to history survives a gc.
8558 2014-03-13 Pedro Alves <palves@redhat.com>
8560 * gdb.base/default.exp: Don't test "target procfs".
8562 2014-03-13 Pedro Alves <palves@redhat.com>
8564 * gdb.base/default.exp: Update "target child" and "target procfs"
8565 tests to not expect "Unix".
8567 2014-03-12 Tom Tromey <tromey@redhat.com>
8569 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8570 New procs. Add target-async tests.
8571 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8572 Add target-async tests.
8574 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8576 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8577 'func_start' and 'func_end' for the beginning and end of the
8578 function code, respectively.
8579 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8580 'func_end' instead of 'func' and 'main'.
8582 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8584 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8585 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8586 generate the debug info assembler source.
8588 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8590 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8591 * gdb.dwarf2/arr-subrange.exp: Likewise.
8592 * gdb.dwarf2/dwz.exp: Likewise.
8593 * gdb.dwarf2/method-ptr.exp: Likewise.
8594 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8595 * gdb.dwarf2/subrange.exp: Likewise.
8596 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8597 * gdb.dwarf2/implptrpiece.exp: Likewise.
8598 * gdb.dwarf2/nostaticblock.exp: Likewise.
8600 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8602 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8603 directory to absolute path name arguments.
8605 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8607 * gdb.ada/tagged_access: New testcase.
8609 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8611 * gdb.btrace/data.exp: Update expected output.
8613 2014-03-06 Yao Qi <yao@codesourcery.com>
8615 * gdb.trace/pr16508.exp: New file.
8617 2014-03-05 Pedro Alves <palves@redhat.com>
8620 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8622 (top level): Adjust to use it. Add tests that exercise breakpoint
8623 interaction with the code-cache.
8625 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8627 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8628 test for 'history-append!'.
8630 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8632 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8633 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8634 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8635 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8636 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8637 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8639 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8641 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8642 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8643 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8645 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8647 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8649 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8651 * gdb.dwarf2/arr-stride.c: New file.
8652 * gdb.dwarf2/arr-stride.exp: New file.
8654 2014-02-26 Pedro Alves <palves@redhat.com>
8656 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8657 that won't ever trigger. Make sure that GDB reports the correct
8658 breakpoint that caused the stop.
8660 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8663 * gdb.base/auto-load-script: New file.
8664 * gdb.base/auto-load.c: New file.
8665 * gdb.base/auto-load.exp: New file.
8668 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8670 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8672 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8673 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8675 2014-02-24 Doug Evans <dje@google.com>
8677 * lib/gdb.exp (run_on_host): Log error output if program fails.
8679 2014-02-21 Pedro Alves <palves@redhat.com>
8681 * gdb.threads/step-after-sr-lock.c: Rename to ...
8682 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8683 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8684 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8687 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8690 * gdb.arch/amd64-stap-special-operands.exp: New file.
8691 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8692 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8693 * gdb.arch/amd64-stap-triplet.S: Likewise.
8694 * gdb.arch/amd64-stap-triplet.c: Likewise.
8696 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8698 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8699 in .section pseudo-op.
8701 2014-02-20 lin zuojian <manjian2006@gmail.com>
8702 Joel Brobecker <brobecker@adacore.com>
8703 Doug Evans <xdje42@gmail.com>
8706 * gdb.dwarf2/dw2-icycle.S: New file.
8707 * gdb.dwarf2/dw2-icycle.c: New file.
8708 * gdb.dwarf2/dw2-icycle.exp: New file.
8710 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8712 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8713 operations on gdb.Value objects.
8714 * gdb.python/py-value-cc.exp: Add new test to test operations on
8717 2014-02-18 Doug Evans <dje@google.com>
8719 * Makefile.in (TESTS): New variable.
8720 (expanded_tests, expanded_tests_or_none): New variables
8721 (check-single): Pass $(expanded_tests_or_none) to runtest.
8722 (check-parallel): Only run tests in $(TESTS) if non-empty.
8723 (check/no-matching-tests-found): New rule.
8724 * README: Document TESTS makefile variable.
8726 2014-02-18 Doug Evans <dje@google.com>
8728 * Makefile.in (check-parallel): rm -rf outputs temp.
8730 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8732 Fix "ERROR: no fileid for" in the testsuite.
8733 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8735 2014-02-12 Doug Evans <dje@google.com>
8737 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8738 (MISCELLANEOUS): New variable.
8739 (clean): rm -rf $(MISCELLANEOUS).
8740 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8741 dwp live in the same directory as symlinks, with each symlink pointed
8742 to a differently named file in a different directory.
8744 2014-02-11 Doug Evans <dje@google.com>
8746 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8747 of Tcl file commands.
8749 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8751 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8754 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8756 * gdb.ada/tick_length_array_enum_idx: New testcase.
8758 2014-02-10 Doug Evans <xdje42@gmail.com>
8760 * configure.ac (AC_OUTPUT): Add gdb.guile.
8761 * configure: Regenerate.
8762 * lib/gdb-guile.exp: New file.
8763 * lib/gdb.exp (get_target_charset): New function.
8764 * gdb.base/help.exp: Update expected output from "apropos apropos".
8765 * gdb.guile/Makefile.in: New file.
8766 * gdb.guile/guile.exp: New file.
8767 * gdb.guile/scm-arch.c: New file.
8768 * gdb.guile/scm-arch.exp: New file.
8769 * gdb.guile/scm-block.c: New file.
8770 * gdb.guile/scm-block.exp: New file.
8771 * gdb.guile/scm-breakpoint.c: New file.
8772 * gdb.guile/scm-breakpoint.exp: New file.
8773 * gdb.guile/scm-disasm.c: New file.
8774 * gdb.guile/scm-disasm.exp: New file.
8775 * gdb.guile/scm-equal.c: New file.
8776 * gdb.guile/scm-equal.exp: New file.
8777 * gdb.guile/scm-error.exp: New file.
8778 * gdb.guile/scm-error.scm: New file.
8779 * gdb.guile/scm-frame-args.c: New file.
8780 * gdb.guile/scm-frame-args.exp: New file.
8781 * gdb.guile/scm-frame-args.scm: New file.
8782 * gdb.guile/scm-frame-inline.c: New file.
8783 * gdb.guile/scm-frame-inline.exp: New file.
8784 * gdb.guile/scm-frame.c: New file.
8785 * gdb.guile/scm-frame.exp: New file.
8786 * gdb.guile/scm-generics.exp: New file.
8787 * gdb.guile/scm-gsmob.exp: New file.
8788 * gdb.guile/scm-iterator.c: New file.
8789 * gdb.guile/scm-iterator.exp: New file.
8790 * gdb.guile/scm-math.c: New file.
8791 * gdb.guile/scm-math.exp: New file.
8792 * gdb.guile/scm-objfile-script-gdb.in: New file.
8793 * gdb.guile/scm-objfile-script.c: New file.
8794 * gdb.guile/scm-objfile-script.exp: New file.
8795 * gdb.guile/scm-objfile.c: New file.
8796 * gdb.guile/scm-objfile.exp: New file.
8797 * gdb.guile/scm-ports.exp: New file.
8798 * gdb.guile/scm-pretty-print.c: New file.
8799 * gdb.guile/scm-pretty-print.exp: New file.
8800 * gdb.guile/scm-pretty-print.scm: New file.
8801 * gdb.guile/scm-section-script.c: New file.
8802 * gdb.guile/scm-section-script.exp: New file.
8803 * gdb.guile/scm-section-script.scm: New file.
8804 * gdb.guile/scm-symbol.c: New file.
8805 * gdb.guile/scm-symbol.exp: New file.
8806 * gdb.guile/scm-symtab-2.c: New file.
8807 * gdb.guile/scm-symtab.c: New file.
8808 * gdb.guile/scm-symtab.exp: New file.
8809 * gdb.guile/scm-type.c: New file.
8810 * gdb.guile/scm-type.exp: New file.
8811 * gdb.guile/scm-value-cc.cc: New file.
8812 * gdb.guile/scm-value-cc.exp: New file.
8813 * gdb.guile/scm-value.c: New file.
8814 * gdb.guile/scm-value.exp: New file.
8815 * gdb.guile/source2.scm: New file.
8816 * gdb.guile/types-module.cc: New file.
8817 * gdb.guile/types-module.exp: New file.
8819 2014-02-10 Yao Qi <yao@codesourcery.com>
8822 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8823 * configure: Regenerated.
8824 * Makefile.in: New file.
8826 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8828 * gdb.python/py-framefilter.exp: Fix typo.
8830 2014-02-08 Yao Qi <yao@codesourcery.com>
8832 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8833 that no =breakpoint-modified is emitted when breakpoints are
8834 modified through MI commands.
8836 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8837 Pedro Alves <palves@redhat.com>
8839 * gdb.threads/step-after-sr-lock.c: New file.
8840 * gdb.threads/step-after-sr-lock.exp: New file.
8842 2014-02-07 Pedro Alves <palves@redhat.com>
8844 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8846 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8848 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8849 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8851 2014-02-06 Doug Evans <xdje42@gmail.com>
8853 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8856 * gdb.gdb/python-interrupts.exp: New file.
8858 2014-02-05 Yao Qi <yao@codesourcery.com>
8860 * gdb.trace/report.exp (use_collected_data): Test the output
8861 of "info threads" and "info inferiors".
8863 2014-02-05 Yao Qi <yao@codesourcery.com>
8867 2013-05-24 Yao Qi <yao@codesourcery.com>
8869 * gdb.trace/tfile.exp: Test inferior and thread.
8871 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8873 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8875 * gdb.base/step-bt.c: Call hello via function pointer to make
8876 sure its first instruction is executed on powerpc64le-linux.
8878 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8880 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8882 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8884 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8885 of the test patterns for use on little-endian systems.
8887 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8889 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8890 (decimal_vector): Fix for little-endian.
8892 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8894 * gdb.arch/sparc-sysstep.exp: New file.
8895 * gdb.arch/sparc-sysstep.c: Likewise.
8897 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8899 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8901 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8903 2014-01-23 Tom Tromey <tromey@redhat.com>
8905 * gdb.ada/array_char_idx: New testcase.
8907 2014-01-23 Tom Tromey <tromey@redhat.com>
8910 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8911 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8914 2014-01-23 Tom Tromey <tromey@redhat.com>
8917 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8918 string from an inferior frame.
8919 * gdb.python/py-framefilter-mi.exp: Update.
8921 2014-01-22 Doug Evans <dje@google.com>
8923 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8925 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8927 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8929 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8931 * gdb.trace/entry-values.exp: Remove excess space character from
8932 regex patterns. Handle s390 call instruction.
8934 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8936 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8937 define "*_start" label. Make "name" static.
8938 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8939 ${name} by references to ${name}_start.
8941 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8943 * gdb.base/info-macros.exp: Remove "debug" from the compile
8946 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8948 * gdb.dlang/demangle.exp: New file.
8950 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8952 * gdb.dlang/primitive-types.exp: New file.
8954 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8956 * configure.ac: Create gdb.dlang/Makefile.
8957 * configure: Regenerate.
8958 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8959 * gdb.dlang/Makefile.in: New file.
8960 * lib/d-support.exp: New file.
8961 * lib/gdb.exp (skip_d_tests): New proc.
8963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8965 * gdb.btrace/delta.exp: Check reverse stepi.
8966 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8967 * gdb.btrace/finish.exp: New.
8968 * gdb.btrace/next.exp: New.
8969 * gdb.btrace/nexti.exp: New.
8970 * gdb.btrace/record_goto.c: Add comments.
8971 * gdb.btrace/step.exp: New.
8972 * gdb.btrace/stepi.exp: New.
8973 * gdb.btrace/multi-thread-step.c: New.
8974 * gdb.btrace/multi-thread-step.exp: New.
8975 * gdb.btrace/rn-dl-bind.c: New.
8976 * gdb.btrace/rn-dl-bind.exp: New.
8977 * gdb.btrace/data.c: New.
8978 * gdb.btrace/data.exp: New.
8979 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8981 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8983 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8984 * gdb.btrace/exception.exp: Update.
8985 * gdb.btrace/instruction_history.exp: Update.
8986 * gdb.btrace/record_goto.exp: Update.
8987 * gdb.btrace/tailcall.exp: Update.
8988 * gdb.btrace/unknown_functions.exp: Update.
8989 * gdb.btrace/delta.exp: New.
8991 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8993 * gdb.btrace/record_goto.exp: Add backtrace test.
8994 * gdb.btrace/tailcall.exp: Add backtrace test.
8996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8998 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8999 * gdb.btrace/record_goto.c: New.
9000 * gdb.btrace/record_goto.exp: New.
9001 * gdb.btrace/x86-record_goto.S: New.
9003 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9005 * gdb.btrace/function_call_history.exp: Update tests.
9006 * gdb.btrace/instruction_history.exp: Update tests.
9008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9010 * gdb.btrace/function_call_history.exp: Fix expected field
9011 order for "record function-call-history".
9012 Add new tests for "record function-call-history /c".
9013 * gdb.btrace/exception.cc: New.
9014 * gdb.btrace/exception.exp: New.
9015 * gdb.btrace/tailcall.exp: New.
9016 * gdb.btrace/x86-tailcall.S: New.
9017 * gdb.btrace/x86-tailcall.c: New.
9018 * gdb.btrace/unknown_functions.c: New.
9019 * gdb.btrace/unknown_functions.exp: New.
9020 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9024 * gdb.btrace/instruction_history.exp: Update.
9025 * gdb.btrace/function_call_history.exp: Update.
9027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9029 * gdb.btrace/function_call_history.exp: Fix expected function
9031 * gdb.btrace/instruction_history.exp: Initialize traced.
9032 Remove traced_functions.
9034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9036 * gdb.btrace/function_call_history.exp: Update
9037 * gdb.btrace/instruction_history.exp: Update.
9039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9041 * gdb.btrace/enable.exp: Update expected text.
9043 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9045 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9048 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9050 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9052 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9054 * lib/gdb.exp (supports_process_record): Return true for
9055 arm*-linux*. (supports_reverse): Likewise.
9057 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9061 * gdb.python/py-type.c: Enhance test case.
9062 * gdb.python/py-value-cc.cc: Likewise
9063 * gdb.python/py-type.exp: Add new tests.
9064 * gdb.python/py-value-cc.exp: Likewise
9066 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9067 Pedro Alves <palves@redhat.com>
9069 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9071 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9072 references to ${name}_start by references to ${name}.
9074 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9076 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9078 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9080 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9082 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9083 Pedro Alves <palves@redhat.com>
9085 * gdb.mi/mi-info-os.exp: Connect to the target with
9088 2014-01-08 Pedro Alves <palves@redhat.com>
9090 * gdb.threads/reconnect-signal.c: New file.
9091 * gdb.threads/reconnect-signal.exp: New file.
9093 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9095 * gdb.base/source-dir.exp: New file.
9097 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9099 * gdb.ada/mi_interface: New testcase.
9101 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9103 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9104 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9105 gdb.ada/pp-rec-component/pck.ads: New files.
9107 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9109 * gdb.python/py-pp-integral.c: New file.
9110 * gdb.python/py-pp-integral.py: New file.
9111 * gdb.python/py-pp-integral.exp: New file.
9113 For older changes see ChangeLog-1993-2013.
9119 ;; version-control: never
9122 Copyright 2014-2016 Free Software Foundation, Inc.
9123 Copying and distribution of this file, with or without modification,
9124 are permitted provided the copyright notice and this notice are preserved.