1 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
5 * gdb.mi/user-selected-context-sync.exp: New file.
6 * gdb.mi/user-selected-context-sync.c: New file.
8 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
12 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13 =thread-select-event check.
15 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
17 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
18 the compulsory L operand changes.
19 * gdb.arch/powerpc-power.s: Likewise.
21 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
23 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
24 * gdb.base/jit-attach-pie.c: New file.
25 * gdb.base/jit-attach-pie.exp: New file.
27 2016-09-28 Pedro Alves <palves@redhat.com>
29 * gdb.base/infcall-input.c: New file.
30 * gdb.base/infcall-input.exp: New file.
32 2016-09-22 Yao Qi <yao.qi@linaro.org>
34 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
35 (gdb_exit): Rename it to ...
36 (gdbserver_gdb_exit): ... Close GDBserver.
37 (gdb_exit): New proc, call gdbserver_gdb_exit.
38 (mi_gdb_exit): Likewise.
40 2016-09-22 Yao Qi <yao.qi@linaro.org>
42 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
44 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
47 2016-09-22 Yao Qi <yao.qi@linaro.org>
49 * lib/gdbserver-support.exp: Check the existence of
50 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
52 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
54 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
56 2016-09-21 Tom Tromey <tom@tromey.com>
59 * gdb.base/quit.exp: New file.
61 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
63 * .gitignore: New file.
65 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
67 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
70 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
72 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
74 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
76 * gdb.cp/casts.cc (decltype): Move it ...
77 (main): ... with its call to ...
78 * gdb.cp/casts03.cc: ... a new file.
79 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
81 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
83 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
85 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
87 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
88 and sync up the test with tests in gas/testsuite/gas/ppc.
89 * gdb.arch/powerpc-power.exp: Likewise.
91 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
93 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
95 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
96 Jan Kratochvil <jan.kratochvil@redhat.com>
98 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
99 make m1's definition to be different from m2's. Use 'dummy' as an
100 argument for probe 'two'.
102 2016-09-10 Jon Beniston <jon@beniston.com>
104 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
107 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
109 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
110 variable declaration.
111 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
112 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
113 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
114 received HWCAP as its argument.
116 2016-09-06 Pedro Alves <palves@redhat.com>
118 * gdb.base/new-ui-pending-input.c: New file.
119 * gdb.base/new-ui-pending-input.exp: New file.
120 * gdb.exp (clear_gdb_spawn_id): New procedure.
121 (with_spawn_id): Check whether gdb_spawn_id exists before
122 referencing it. If gdb_spawn_id didn't exist on entry, clear it
125 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
127 * gdb.base/float128.c: New file.
128 * gdb.base/float128.exp: Likewise.
129 * gdb.base/floatn.c: Likewise.
130 * gdb.base/floatn.exp: Likewise.
132 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
134 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
136 2016-09-05 Pedro Alves <palves@redhat.com>
139 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
140 unwinders are immediately called as side effect of "source" or
141 "disable unwinder" commands.
142 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
144 2016-09-02 Yao Qi <yao.qi@linaro.org>
146 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
147 is true and $type is "float" or "double".
149 2016-09-02 Yao Qi <yao.qi@linaro.org>
151 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
153 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
154 * gdb.base/call-rt-st.exp: Likewise.
155 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
156 return value instead of gdb,skip_float_test.
157 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
158 (do_function_calls): Use its return value instead of
160 * gdb.base/finish.exp: Likewise.
161 * gdb.base/funcargs.exp: Likewise.
162 * gdb.base/return.exp: Likewise.
163 * gdb.base/return2.exp: Likewise.
164 * gdb.base/varargs.exp: Likewise.
165 * lib/gdb.exp (gdb_skip_float_test): Change it to
166 gdb_caching_proc. Detect the broken ptrace on arm-linux.
168 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
170 * gdb.multi/tids.exp: Test "thread apply all".
172 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
174 * gdb.base/default.exp (tty): Remove.
176 2016-08-24 Kevin Buettner <kevinb@redhat.com>
178 * gdb.python/py-recurse-unwind.c: New file.
179 * gdb.python/py-recurse-unwind.py: New file.
180 * gdb.python/py-recurse-unwind.exp: New file.
182 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
184 * gdb.base/set-inferior-tty.exp: New file.
185 * gdb.base/set-inferior-tty.c: New file.
187 2016-08-23 Pedro Alves <palves@redhat.com>
190 * gdb.base/new-ui-echo.c: New file.
191 * gdb.base/new-ui-echo.exp: New file.
193 2016-08-23 Yao Qi <yao.qi@linaro.org>
195 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
197 * gdb.server/connect-without-multi-process.exp (do_test):
200 2016-08-23 Yao Qi <yao.qi@linaro.org>
202 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
203 standalone_txt. Delete gdb_txt and standalone_txt on host
204 and target. Spawn the binary on target. Copy files from
207 2016-08-22 Pedro Alves <palves@redhat.com>
210 * gdb.base/vdso-warning.exp: Test core dumps too. Use
211 with_test_prefix. Factor out bits to ...
212 (test_no_vdso): ... this new procedure.
214 2016-08-19 Carl Love <cel@us.ibm.com>
216 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
217 maintaining separate logic for constructing the output path.
218 * gdb.arch/powerpc-d128-regs.exp: Likewise.
219 * gdb.arch/ppc-dfp.exp: Likewise.
220 * gdb.arch/ppc-fp.exp: Likewise.
221 * gdb.arch/vsx-regs.exp: Likewise.
222 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
223 binprefix for generating the additional binary files.
225 2016-08-19 Pedro Alves <palves@redhat.com>
227 * gdb.trace/mi-trace-frame-collected.exp
228 (test_trace_frame_collected): On x32, expect two registers.
230 2016-08-18 Carl Love <cel@us.ibm.com>
232 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
233 and sync up the test with tests in gas/testsuite/gas/ppc.
234 * gdb.arch/powerpc-power.exp: Likewise.
236 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
238 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
239 expected error message.
241 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
243 * gdb.multi/remove-inferiors.exp: New file.
244 * gdb.multi/remove-inferiors.c: New file.
246 2016-08-12 Yao Qi <yao.qi@linaro.org>
248 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
251 2016-08-10 Pedro Alves <palves@redhat.com>
254 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
257 2016-08-09 Pedro Alves <palves@redhat.com>
258 Simon Marchi <simon.marchi@ericsson.com>
261 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
262 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
264 2016-08-09 Pedro Alves <palves@redhat.com>
267 * gdb.mi/mi-cmd-error.exp: New file.
269 2016-08-09 Pedro Alves <palves@redhat.com>
272 * gdb.base/signals-state-child.c: New file.
273 * gdb.base/signals-state-child.exp: New file.
274 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
276 2016-08-09 Pedro Alves <palves@redhat.com>
278 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
280 2016-08-03 Tom Tromey <tom@tromey.com>
283 * gdb.python/py-frame-inline.exp: Add Frame.function test.
285 2016-08-01 Yao Qi <yao.qi@linaro.org>
287 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
288 variable mode to "multi-process" if $multi_process is 1, otherwise
289 set it to "single-process".
291 2016-08-01 Yao Qi <yao.qi@linaro.org>
293 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
294 * gdb.cp/cpexprs.exp: Likewise.
295 * gdb.cp/m-static.exp: Likewise.
297 2016-07-26 Tom Tromey <tom@tromey.com>
300 * gdb.threads/tls.exp (check_thread_local): Add python symbol
303 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
305 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
306 selecting assembly source files.
307 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
308 assembly source files.
309 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
310 assembly source files.
311 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
312 selecting assembly source files.
314 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
316 * gdb.base/new-ui.exp (do_test_invalid_args): New
319 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
321 * gdb.btrace/reconnect.c: New file.
322 * gdb.btrace/reconnect.exp: New file.
324 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
326 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
327 to test_catch_syscall_group.
328 (test_catch_syscall_group): New.
330 2016-07-21 Tom Tromey <tom@tromey.com>
332 * gdb.rust/simple.rs (main): Use empty struct expression.
333 * gdb.rust/simple.exp: Add tests for empty struct expression.
335 2016-07-21 Yao Qi <yao.qi@linaro.org>
337 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
338 if gdb_skip_xml_test is true on some targets.
340 2016-07-21 Yao Qi <yao.qi@linaro.org>
342 * gdb.server/solib-list.exp: Unset last_loaded_file.
344 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
346 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
347 "step into captured_main (args)".
349 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
351 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
353 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
355 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
357 2016-07-19 Pedro Alves <palves@redhat.com>
359 * gdb.opt/inline-break.exp: Remove optimize=-O2.
360 * gdb.opt/inline-bt.exp: Likewise.
361 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
362 additional_flags=-Winline.
363 * gdb.opt/inline-locals.exp: Likewise.
364 * gdb.opt/inline-markers.c (ATTR): Define.
365 (inlined_fn): Use it.
367 2016-07-19 Yao Qi <yao.qi@linaro.org>
369 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
370 (test_with_self): Remove some code. Remove argument executable.
371 (top-level): Use do_self_tests.
373 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
374 Don Breazeal <donb@codesourcery.com>
376 * gdb.base/maint.exp: Escape paths used in regular expressions.
377 * gdb.stabs/weird.exp: Likewise.
379 2016-07-13 Tom Tromey <tom@tromey.com>
381 PR python/15620, PR python/18620:
382 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
383 (test_bkpt_events): New procs.
385 2016-07-13 Tom Tromey <tom@tromey.com>
388 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
390 (test_watchpoints): Likewise.
391 (test_bkpt_pending): New proc.
393 2016-07-13 Tom Tromey <tom@tromey.com>
396 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
399 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
401 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
402 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
403 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
405 (g): Rename g_end_lbl to g_label.
406 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
408 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
410 2016-07-12 Tom Tromey <tom@tromey.com>
413 * gdb.python/py-unwind-maint.exp: Update tests.
415 2016-07-12 Yao Qi <yao.qi@linaro.org>
417 * lib/selftest-support.exp (selftest_setup): Match the output
418 when captured_main is inlined.
420 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
422 * gdb.fortran/derived-types.exp (result_line, result_line_2):
424 (print this%a, print this%b, print this): New tests.
425 * gdb.fortran/derived-types.f90 (this): New object and
428 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
430 * gdb.ada/arraydim.exp: Remove extra directory level in build
433 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
435 * lib/ada.exp: Remove extra directory level in build directory.
436 * gdb.ada/cond_lang.exp: Likewise.
437 * gdb.ada/exec_changed.exp: Likewise.
438 * gdb.ada/lang_switch.exp: Likewise.
440 2016-07-06 Manish Goregaokar <manish@mozilla.com>
442 * simple.rs: Add test for raw pointer subscripting
443 * simple.exp: Add test expectations
445 2016-07-05 Yao Qi <yao.qi@linaro.org>
447 * gdb.mi/mi-reverse.exp: Match =record-started output.
449 2016-07-01 Pedro Alves <palves@redhat.com>
451 * gdb.base/jit-reader.exp (info_registers_current_frame): New
453 (jit_reader_test): Test the jit reader's unwinder.
454 * gdb.base/jithost.c (jit_function_00_code): New global.
455 (main): Use memcpy to fill in the mmapped code, instead of poking
457 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
459 (read_debug_info): Save the function's range.
460 (read_sp): New function.
461 (unwind_frame): Use it. Also unwind RBP.
462 (get_frame_id): Use read_sp.
463 (gdb_init_reader): Use calloc instead of malloc.
464 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
465 parameter. Use gdb_test_multiple.
467 2016-07-01 Pedro Alves <palves@redhat.com>
468 Antoine Tremblay <antoine.tremblay@ericsson.com>
470 * gdb.threads/process-dies-while-detaching.c: New file.
471 * gdb.threads/process-dies-while-detaching.exp: New file.
473 2016-07-01 Pedro Alves <palves@redhat.com>
475 * gdb.multi/watchpoint-multi-exit.c: New file.
476 * gdb.multi/watchpoint-multi-exit.exp: New file.
478 2016-06-30 Pedro Alves <palves@redhat.com>
480 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
481 unset inferior_spawn_id.
483 2016-06-30 Pedro Alves <palves@redhat.com>
485 * lib/mi-support.exp (default_mi_gdb_start): Declare global
486 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
488 2016-06-29 Yao Qi <yao.qi@linaro.org>
490 * gdb.base/return.c: Add copyright header.
492 2016-06-29 Tom Tromey <tom@tromey.com>
495 * gdb.python/py-framefilter.exp: Add tests for setting priority
496 and disabling of non-existent frame filter.
498 2016-06-29 Yao Qi <yao.qi@linaro.org>
500 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
503 2016-06-28 Yao Qi <yao.qi@linaro.org>
505 * gdb.base/catch-syscall.exp: Remove check on isnative and target
506 triplets. Start gdb, execute catch syscall, and continue. Check
507 gdb's output to determine catch syscall is supported.
509 2016-06-27 Manish Goregaokar <manish@mozilla.com>
511 * gdb.rust/simple.rs: Add test for returning unit in a function.
512 * gdb.rust/simple.exp: Add expectation for functions returning
515 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
517 * gdb.python/py-breakpoint-create-fail.c,
518 gdb.python/py-breakpoint-create-fail.exp,
519 gdb.python/py-breakpoint-create-fail.py: New testcase.
521 2016-06-25 Manish Goregaokar <manish@mozilla.com>
524 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
525 * gdb.rust/simple.exp: Add test expectations for new NonZero
528 2016-06-24 David Taylor <dtaylor@emc.com>
530 * gdb.base/offsets.exp: New file.
531 * gdb.base/offsets.c: New file.
533 2016-06-23 Tom Tromey <tom@tromey.com>
536 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
537 before any filters are loaded.
539 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
541 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
542 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
544 * gdb.fortran/derived-type-function.exp: New file.
545 * gdb.fortran/derived-type-function.f90: New file.
548 2016-06-21 Pedro Alves <palves@redhat.com>
550 * gdb.base/new-ui.exp: New file.
551 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
552 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
553 (with_spawn_id): New procedure.
555 2016-06-21 Pedro Alves <palves@redhat.com>
557 * gdb.mi/mi-exec-run.exp: New file.
559 2016-06-21 Pedro Alves <palves@redhat.com>
561 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
562 breakpoint command's output on the main UI.
563 (test_break): New procedure, factored out from calls in the top
565 (top level): Use foreach_with_prefix to test MI as main UI and as
568 2016-06-21 Pedro Alves <palves@redhat.com>
570 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
571 (test_awatch_creation_and_listing)
572 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
573 Remove 'type' parameter.
574 (test_watchpoint_all): New parameter mi_mode. Remove
576 (top level): Use foreach_with_prefix, and add main/separate UI MI
579 2016-06-21 Pedro Alves <palves@redhat.com>
581 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
582 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
583 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
584 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
585 (gdb_main_spawn_id, mi_spawn_id): Declare and
587 (mi_create_inferior_pty): New procedure,
588 factored out from default_mi_gdb_start.
589 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
591 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
592 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
593 Use mi_create_inferior_pty.
594 (mi_gdb_start): Use eval to pass down args list.
596 2016-06-21 Pedro Alves <palves@redhat.com>
598 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
599 * gdb.opt/inline-cmds.exp: Add MI tests.
601 2016-06-21 Pedro Alves <palves@redhat.com>
603 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
605 2016-06-21 Pedro Alves <palves@redhat.com>
607 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
608 (top level): Use it instead of mi_execute_to.
610 2016-06-21 Pedro Alves <palves@redhat.com>
612 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
613 (cont_handler_str): New.
614 (signal_stop_handler): Set stop_handler_str instead of printing to
616 (continue_handler): Set cont_handler_str instead of printing to
618 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
619 mi_send_resuming_command. Print stop_handler_str and
620 cont_handler_str instead of expecting the python events print
623 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
625 * gdb.base/jit-reader.exp: New file.
626 * gdb.base/jithost.c: New file.
627 * gdb.base/jithost.h: New file.
628 * gdb.base/jitreader.c : New file.
629 * gdb.base/jit-protocol.h: New file.
631 2016-06-17 Yao Qi <yao.qi@linaro.org>
633 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
634 parameters follow_fork and detach_on_fork. Set follow-fork-mode
635 and detach-on-fork. Adjust tests.
636 (top level): Invoke break_cond_on_syscall with combinations of
637 syscall, follow-fork-mode and detach-on-fork.
639 2016-06-17 Yao Qi <yao.qi@linaro.org>
641 * gdb.base/step-over-exit.c: New.
642 * gdb.base/step-over-exit.exp: New.
644 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
646 * gdb.base/float.exp: Add target check for nds32*-*-*.
647 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
649 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
651 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
652 for unsupported target features.
653 * gdb.base/call-rt-st.exp: Likewise.
654 * gdb.base/call-sc.exp: Likewise.
655 * gdb.base/call-signal-resume.exp: Likewise.
656 * gdb.base/call-strs.exp: Likewise.
657 * gdb.base/callexit.exp: Likewise.
658 * gdb.base/callfuncs.exp: Likewise.
659 * gdb.base/nodebug.exp: Likewise.
660 * gdb.base/printcmds.exp: Likewise.
661 * gdb.base/ptype.exp: Likewise.
662 * gdb.base/structs.exp: Likewise.
663 * gdb.base/unwindonsignal.exp: Likewise.
664 * gdb.cp/gdb2495.exp: Likewise.
665 * gdb.cp/templates.exp: Likewise.
666 * gdb.cp/virtfunc.exp: Likewise.
667 * gdb.threads/hand-call-in-threads.exp: Likewise.
668 * gdb.threads/interrupted-hand-call.exp: Likewise.
669 * gdb.threads/thread-unwindonsignal.exp: Likewise.
671 2016-06-10 Tom Tromey <tom@tromey.com>
674 * gdb.rust/expr.exp: Add test for integer constant larger than
677 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
679 * gdb.fortran/nested-funcs.exp: New.
680 * gdb.fortran/nested-funcs.f90: New.
682 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
684 * gdb.base/examine-backward.c: New file.
685 * gdb.base/examine-backward.exp: New file.
687 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
689 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
692 2016-06-02 Tom Tromey <tom@tromey.com>
695 * gdb.python/py-shared.exp: Add solib_name test.
697 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
699 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
701 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
704 * gdb.dwarf2/implref.exp: Rename to...
705 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
706 * gdb.dwarf2/implref-array.c: New file.
707 * gdb.dwarf2/implref-array.exp: Likewise.
708 * gdb.dwarf2/implref-global.c: Likewise.
709 * gdb.dwarf2/implref-global.exp: Likewise.
710 * gdb.dwarf2/implref-struct.c: Likewise.
711 * gdb.dwarf2/implref-struct.exp: Likewise.
713 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
715 * gdb.trace/trace-condition.exp: Add 64bit tests.
717 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
719 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
721 (main): Adapt to 8 to 64 bits types.
722 * gdb.trace/trace-condition.exp: Add new tests.
724 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
726 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
728 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
730 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
731 Move condition tests...
732 * gdb.trace/trace-condition.exp: Here.
734 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
736 * gdb.trace/trace-condition.exp: Add counter-case tests.
738 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
741 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
742 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
744 2016-05-27 Pedro Alves <palves@redhat.com>
746 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
748 (top level): Call it, and bail out of DejaGnu is known to be bad.
750 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
752 * gdb.base/whatis.c: Extend the test case.
753 * gdb.base/whatis.exp: Add additional tests.
755 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
757 * gdb.fortran/type.f90: Add pointer variable.
758 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
760 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
762 * gdb.fortran/vla-type.exp: Fix testcase name.
764 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
766 * gdb.fortran/vla-type.exp: Access elements in nested structs.
768 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
770 * gdb.fortran/type.f90: Add nested structures.
771 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
772 * gdb.fortran/derived-type.exp: Adapt expected output.
773 * gdb.fortran/vla-type.exp: Adapt expected output.
775 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
777 * gdb.fortran/whatis_type.exp: Adapt expected output.
779 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
781 * gdb.fortran/print_type.exp: Fix expected output.
782 * gdb.fortran/whatis_type.exp: Fix expected output.
784 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
786 * gdb.fortran/whatis_type.exp: Use multi_line.
788 2016-05-24 Tom Tromey <tom@tromey.com>
791 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
792 use value as an index.
794 2016-05-23 Tom Tromey <tom@tromey.com>
797 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
800 2016-05-24 Pedro Alves <palves@redhat.com>
803 * gdb.threads/clone-attach-detach.c: New file.
804 * gdb.threads/clone-attach-detach.exp: New file.
806 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
808 * gdb.base/annota-input-while-running.exp: Fix syntax error.
810 2016-05-23 Tom Tromey <tom@tromey.com>
812 PR python/19438, PR python/18393:
813 * gdb.python/py-progspace.exp: Add "dir" test.
814 * gdb.python/py-objfile.exp: Add "dir" test.
816 2016-05-23 Yao Qi <yao.qi@linaro.org>
818 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
819 * gdb.arch/thumb2-it.exp: Likewise.
821 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
823 * gdb.mi/mi-threads-interrupt.c: New file.
824 * gdb.mi/mi-threads-interrupt.exp: New file.
826 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
829 * gdb.mi/mi-async-run.exp: New file.
830 * gdb.mi/mi-async-run.c: New file.
832 2016-05-17 Tom Tromey <tom@tromey.com>
833 Manish Goregaokar <manishsmail@gmail.com>
835 * lib/rust-support.exp: New file.
836 * lib/gdb.exp (skip_rust_tests): New proc.
837 (build_executable_from_specs): Handle rust.
838 * lib/future.exp (gdb_find_rustc): New proc.
839 (gdb_default_target_compile): Handle rust.
840 * gdb.rust/expr.exp: New file.
841 * gdb.rust/generics.exp: New file.
842 * gdb.rust/generics.rs: New file.
843 * gdb.rust/methods.exp: New file.
844 * gdb.rust/methods.rs: New file.
845 * gdb.rust/modules.exp: New file.
846 * gdb.rust/modules.rs: New file.
847 * gdb.rust/simple.exp: New file.
848 * gdb.rust/simple.rs: New file.
850 2016-05-17 Tom Tromey <tom@tromey.com>
852 * gdb.base/default.exp (set language): Add rust.
854 2016-05-17 Tom Tromey <tom@tromey.com>
856 * gdb.gdb/unittest.exp: New file.
858 2016-05-16 Yao Qi <yao.qi@linaro.org>
860 * gdb.base/batch-preserve-term-settings.exp: Remove variable
861 shell_prompt. Update shell_prompt_re.
863 2016-05-12 Doug Evans <dje@google.com>
866 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
867 $options when building executable.
868 * gdb.dwarf2/fission-loclists-pie.S: New file.
869 * gdb.dwarf2/fission-loclists-pie.exp: New file.
871 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
873 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
874 of [is_remote target],
876 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
878 * lib/gdb.exp (use_gdb_stub): New procedure.
880 2016-05-03 Yunlian Jiang <yunlian@google.com>
881 Doug Evans <dje@google.com>
884 * gdb.dwarf2/dwp-sepdebug.c: New file.
885 * gdb.dwarf2/dwp-sepdebug.exp: New file.
887 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
889 * gdb.base/detach.exp: Remove is_remote check.
891 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
893 * gdb.base/annota-input-while-running.exp: Don't check for
894 [is_remote target]. Enable annotations after running to main.
895 Remove unused "set test..." line.
897 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
899 * gdb.trace/trace-enable-disable.exp: New file.
900 * gdb.trace/trace-enable-disable.c: New file.
902 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
904 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
905 use it in info sharedlibrary test.
906 * gdb.trace/ftrace-lock.exp: Likewise.
907 * gdb.trace/ftrace.exp: Likewise.
908 * gdb.trace/range-stepping.exp: Likewise.
909 * gdb.trace/trace-break.exp: Likewise.
910 * gdb.trace/trace-condition.exp: Likewise.
911 * gdb.trace/trace-mt.exp: Likewise.
913 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
915 * lib/gdb.exp (gdb_load_shlibs): Rename to...
916 (gdb_load_shlib): ... this.
917 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
919 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
920 * gdb.base/ctxobj.exp: Likewise.
921 * gdb.base/dprintf-pending.exp: Likewise.
922 * gdb.base/dso2dso.exp: Likewise.
923 * gdb.base/fixsection.exp: Likewise.
924 * gdb.base/gcore-relro.exp: Likewise.
925 * gdb.base/gdb1555.exp: Likewise.
926 * gdb.base/global-var-nested-by-dso.exp: Likewise.
927 * gdb.base/gnu-ifunc.exp: Likewise.
928 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
929 * gdb.base/jit-so.exp (one_jit_test): Likewise.
930 * gdb.base/pending.exp: Likewise.
931 * gdb.base/print-file-var.exp: Likewise.
932 * gdb.base/print-symbol-loading.exp: Likewise.
933 * gdb.base/shlib-call.exp: Likewise.
934 * gdb.base/shreloc.exp: Likewise.
935 * gdb.base/so-impl-ld.exp: Likewise.
936 * gdb.base/solib-disc.exp: Likewise.
937 * gdb.base/solib-nodir.exp: Likewise.
938 * gdb.base/solib-overlap.exp: Likewise.
939 * gdb.base/solib-symbol.exp: Likewise.
940 * gdb.base/solib-weak.exp (do_test): Likewise.
941 * gdb.base/sym-file.exp: Likewise.
942 * gdb.base/symtab-search-order.exp: Likewise.
943 * gdb.base/type-opaque.exp: Likewise.
944 * gdb.base/unload.exp: Likewise.
945 * gdb.base/watchpoint-solib.exp: Likewise.
946 * gdb.compile/compile.exp: Likewise.
947 * gdb.cp/gdb2384.exp: Likewise.
948 * gdb.cp/infcall-dlopen.exp: Likewise.
949 * gdb.cp/re-set-overloaded.exp: Likewise.
950 * gdb.fortran/library-module.exp: Likewise.
951 * gdb.opt/solib-intra-step.exp: Likewise.
952 * gdb.python/py-finish-breakpoint.exp: Likewise.
953 * gdb.python/py-shared.exp: Likewise.
954 * gdb.reverse/solib-precsave.exp: Likewise.
955 * gdb.reverse/solib-reverse.exp: Likewise.
956 * gdb.server/solib-list.exp: Likewise.
957 * gdb.threads/dlopen-libpthread.exp: Likewise.
958 * gdb.threads/tls-shared.exp: Likewise.
959 * gdb.threads/tls-so_extern.exp: Likewise.
960 * gdb.trace/change-loc.exp: Likewise.
961 * gdb.trace/ftrace-lock.exp: Likewise.
962 * gdb.trace/ftrace.exp: Likewise.
963 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
964 * gdb.trace/pending.exp: Likewise.
965 * gdb.trace/range-stepping.exp: Likewise.
966 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
967 (strace_info_marker): Likewise.
968 (strace_probe_marker): Likewise.
969 (strace_trace_on_same_addr): Likewise.
970 (strace_trace_on_diff_addr): Likewise.
971 * gdb.trace/trace-break.exp: Likewise.
972 * gdb.trace/trace-condition.exp: Likewise.
973 * gdb.trace/trace-mt.exp: Likewise.
975 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
977 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
978 result of gdb_remote_download.
979 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
980 * gdb.base/dso2dso.exp: Likewise.
981 * gdb.base/global-var-nested-by-dso.exp: Likewise.
982 * gdb.base/print-file-var.exp: Likewise.
983 * gdb.base/shlib-call.exp: Likewise.
984 * gdb.base/shreloc.exp: Likewise.
985 * gdb.base/solib-overlap.exp: Likewise.
986 * gdb.base/solib-weak.exp (do_test): Likewise.
987 * gdb.base/unload.exp: Likewise.
989 2016-04-27 Yao Qi <yao.qi@linaro.org>
991 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
994 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
996 * vla-type.exp: Print structure from toplevel.
998 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1000 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1002 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1005 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1007 * gdb.fortran/vla-type.f90: New file.
1008 * gdb.fortran/vla-type.exp: New file.
1010 2016-04-25 Yao Qi <yao.qi@linaro.org>
1012 * gdb.base/branch-to-self.c: New file.
1013 * gdb.base/branch-to-self.exp: New file.
1015 2016-04-22 Yao Qi <yao.qi@linaro.org>
1017 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1020 2016-04-22 Yao Qi <yao.qi@linaro.org>
1022 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1023 * gdb.base/annota3.exp: Likewise.
1025 2016-04-22 Yao Qi <yao.qi@linaro.org>
1027 * gdb.reverse/step-precsave.exp: Do one step and test program
1028 stops in "callee" and do multiple steps until program goes out
1030 * gdb.reverse/step-reverse.exp: Likewise.
1032 2016-04-22 Yao Qi <yao.qi@linaro.org>
1034 * gdb.trace/signal.exp: Also pass if
1035 $tracepoint_hits($i) > $iterations.
1037 2016-04-22 Yao Qi <yao.qi@linaro.org>
1039 * gdb.trace/signal.c: New file.
1040 * gdb.trace/signal.exp: New file.
1042 2016-04-19 Doug Evans <xdje42@gmail.com>
1044 * gdb.base/bad-file.exp: New file.
1046 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1048 * gdb.dwarf2/implref.exp: New file.
1050 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1052 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1053 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1054 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1055 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1056 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1057 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1058 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1059 * lib/fortran.exp (fortran_int4): New procedure.
1060 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1061 (fortran_logical4): Likewise.
1063 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1065 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1067 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1069 * lib/compiler.c: Add Intel specific preprocessor macros.
1070 * lib/compiler.cc: Likewise.
1072 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1074 * gdb.server/connect-with-no-symbol-file.c: New file.
1075 * gdb.server/connect-with-no-symbol-file.exp: New file.
1077 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1079 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1081 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1083 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1084 standard output directory.
1086 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1088 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1090 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1092 * gdb.btrace/instruction_history.c (loop): Add declaration.
1094 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1096 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1098 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1100 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1101 parentheses to print.
1102 (continue_handler): Likewise.
1104 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1106 * gdb.server/solib-list.exp: Remove is_remote check.
1107 Pass shlib= to gdb_compile. Don't link shared library with
1108 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1109 Run binary filename through "readlink -f" on the target.
1111 2016-04-08 Pedro Alves <palves@redhat.com>
1113 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1114 interpreter filename as argument to gdbserver_spawn.
1115 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1116 Return empty if $last_loaded_file does not exist.
1118 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1120 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1121 * gdb.base/jit-main.c: Use exit after usage.
1123 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1125 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1126 GDBHISTSIZE prior to the tests.
1127 * gdb.base/gdbinit-history.exp: Likewise.
1129 2016-04-07 Pedro Alves <palves@redhat.com>
1131 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1132 instead of build_executable. Use gdb_load_shlibs.
1134 2016-04-07 Yao Qi <yao.qi@linaro.org>
1136 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1137 Execute "si" command.
1139 2016-04-07 Yao Qi <yao.qi@linaro.org>
1141 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1142 number instead of the comments on some line.
1144 2016-04-06 Don Breazeal <donb@codesourcery.com>
1146 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1147 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1149 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1151 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1152 standard_output_file. Remove unused binfile variable.
1154 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1156 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1157 * gdb.python/py-mi-objfile.exp: Match "list main" output
1160 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1162 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1165 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1167 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1169 * gdb.trace/ftrace.exp: Likewise.
1170 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1172 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1173 (gdb_load_shlibs): Copy libraries to test directory when testing
1174 natively. Only set solib-search-path if testing remotely.
1175 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1177 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1179 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1180 gdb_download. Use it even if the target is not remote.
1181 * gdb.base/jit.exp (compile_jit_test): Likewise.
1182 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1183 output directory if the destination board is local, otherwise use
1184 the standard remote_download from DejaGnu.
1185 (gdb_download): Remove.
1186 (gdb_load_shlibs): Use gdb_remote_download instead of
1188 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1189 Use gdb_remote_download instead of gdb_download. Use it even if
1190 the target is not remote.
1191 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1192 instead of gdb_download.
1194 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1196 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1197 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1200 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1203 * gdb.base/printcmds.exp: Add artificial arrays tests.
1205 2016-03-31 Pedro Alves <palves@redhat.com>
1208 * gdb.base/jit-main.c: Include unistd.h.
1209 (ATTACH): Define to 0 if not already defined.
1210 (wait_for_gdb, mypid): New globals.
1211 (WAIT_FOR_GDB): New macro.
1212 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1213 some breakpoint locations.
1214 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1216 (one_jit_test): Add REATTACH parameter, and handle it. Use
1217 continue_to_test_location.
1218 (top level): Test attach, and adjusts calls to one_jit_test.
1220 2016-03-31 Pedro Alves <palves@redhat.com>
1223 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1224 BINSUFFIX parameter, and handle it.
1225 (top level): Adjust calls compile_jit_test.
1227 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1230 * gdb.python/py-mi-events-gdb.py: New file.
1231 * gdb.python/py-mi-events.c: New file.
1232 * gdb.python/py-mi-events.exp: New file.
1234 2016-03-30 Yao Qi <yao.qi@linaro.org>
1236 * gdb.reverse/until-precsave.exp: Match function name only.
1237 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1238 Move malloc to a condition block.
1239 * gdb.reverse/until-reverse.exp: Match function name only.
1241 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1243 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1244 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1245 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1246 variable for GPR 0 instead of assuming it is register 0.
1247 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1248 * lib/trace-support.exp: Add s390 registers.
1250 2016-03-29 Yao Qi <yao.qi@linaro.org>
1252 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1254 2016-03-24 Yao Qi <yao.qi@linaro.org>
1256 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1259 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1261 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1262 maintaining separate logic for constructing the output path.
1264 2016-03-16 Don Breazeal <donb@codesourcery.com>
1266 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1267 Retry fork and waitpid on interrupted system call errors.
1268 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1269 Use with_timeout_factor to increase timeout by factor of 10.
1271 2016-03-15 Don Breazeal <donb@codesourcery.com>
1273 * gdb.cp/scope-err.cc: New test program.
1274 * gdb.cp/scope-err.exp: New test script.
1275 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1276 lines and "set breakpoint here" comment.
1277 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1278 Fixed some whitespace and format issues.
1279 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1280 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1282 2016-03-15 Doug Evans <dje@google.com>
1284 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1285 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1286 All callers updated. Add tests for enums, mixed flags register.
1288 2016-03-15 Doug Evans <dje@google.com>
1290 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1291 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1293 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1295 * gdb.base/default.exp: Add $_as_string to the list of expected
1296 convenience functions.
1298 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1300 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1302 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1304 * gdb.python/py-as-string.exp: New file.
1305 * gdb.python/py-as-string.c: New file.
1307 2016-03-09 Pedro Alves <palves@redhat.com>
1309 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1310 signal" -> "Thread NN received signal" output change.
1311 * gdb.threads/ia64-sigill.exp: Likewise.
1312 * gdb.threads/linux-dp.exp: Likewise.
1313 * gdb.threads/manythreads.exp: Likewise.
1314 * gdb.threads/pending-step.exp: Likewise.
1315 * gdb.threads/print-threads.exp: Likewise.
1316 * gdb.threads/sigstep-threads.exp: Likewise.
1317 * gdb.threads/staticthreads.exp: Likewise.
1318 * gdb.threads/tls.exp: Likewise.
1320 2016-03-09 Pedro Alves <palves@redhat.com>
1322 * gdb.base/command-line-input.exp: New file.
1324 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1326 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1327 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1328 * gdb.trace/pending.exp: Accept leading dot before function name.
1329 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1330 * lib/trace-support.exp: Set registers for ppc.
1332 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1334 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1335 use it for disassembly; accept .main in addition to main in backtrace.
1337 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1338 Marcin Kościelnicki <koriakin@0x04.net>
1340 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1341 (gdb_recursion_test_ptr): New global variable.
1342 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1344 (gdb_c_test): Ditto.
1346 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1348 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1351 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1353 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1354 (bar): Add bar_start_lbl label.
1355 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1356 of foo/bar for emitting DWARF and tracing.
1358 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1360 * analyze-racy-logs.py: Set executable bit.
1362 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1364 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1365 (CHECK_TARGET_TMP): Likewise.
1366 (check-single-racy): New rule.
1367 (check-parallel-racy): Likewise.
1368 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1369 (do-check-parallel-racy): New rule.
1370 (check-racy/%.exp): Likewise.
1371 * README (Racy testcases): New section.
1372 * analyze-racy-logs.py: New file.
1374 2016-03-03 Doug Evans <dje@google.com>
1376 * gdb.base/skip.exp: Use with_test_prefix.
1378 2016-03-03 Yao Qi <yao.qi@linaro.org>
1380 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1381 Invoke step_over_syscall "clone" and break_cond_on_syscall
1383 * gdb.base/step-over-clone.c: New file.
1385 2016-03-03 Yao Qi <yao.qi@linaro.org>
1387 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1390 2016-03-03 Yao Qi <yao.qi@linaro.org>
1392 * gdb.base/disp-step-fork.c: Rename to ...
1393 * gdb.base/step-over-fork.c: ... it. New file.
1394 * gdb.base/disp-step-vfork.c: Rename to ...
1395 * gdb.base/step-over-vfork.c: ... it. New file.
1396 * gdb.base/disp-step-syscall.exp: Rename to ...
1397 * gdb.base/step-over-syscall.exp: ... it. New file.
1398 (disp_step_cross_syscall): Rename to ...
1399 (step_over_syscall): ... it.
1401 2016-03-03 Yao Qi <yao.qi@linaro.org>
1403 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1404 If target supports condition evaluation on target, invoke
1405 break_cond_on_syscall for fork and vfork.
1407 2016-03-03 Yao Qi <yao.qi@linaro.org>
1409 * gdb.base/disp-step-syscall.exp: Don't invoke
1410 support_displaced_stepping.
1411 (disp_step_cross_syscall): Test with displaced stepping off and
1414 2016-03-03 Yao Qi <yao.qi@linaro.org>
1416 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1419 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1422 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1424 * gdb.fortran/vla-history.exp: Remove breakpoint.
1426 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1428 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1431 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1433 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1436 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1438 * gdb.mi/vla.f90: Nullify pointer after declaration.
1440 2016-03-01 Pedro Alves <palves@redhat.com>
1442 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1444 2016-03-01 Pedro Alves <palves@redhat.com>
1446 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1447 before anything else.
1448 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1450 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1451 before anything else.
1452 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1454 2016-03-01 Pedro Alves <palves@redhat.com>
1456 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1458 2016-03-01 Yao Qi <yao.qi@linaro.org>
1460 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1461 prepare_for_testing.
1463 2016-03-01 Yao Qi <yao.qi@linaro.org>
1465 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1467 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1469 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1470 manually constructing the output path.
1472 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474 * gdb.arch/s390-stackless.S: New.
1475 * gdb.arch/s390-stackless.exp: New.
1477 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1479 * gdb.dlang/circular.c: New file.
1480 * gdb.dlang/circular.exp: New file.
1482 2016-02-26 Yao Qi <yao.qi@linaro.org>
1484 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1485 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1486 (testcases): Update.
1488 2016-02-26 Yao Qi <yao.qi@linaro.org>
1490 * gdb.reverse/aarch64.c: Rename to ...
1491 * gdb.reverse/insn-reverse.c: ... it.
1492 * gdb.reverse/aarch64.exp: Rename to ...
1493 * gdb.reverse/insn-reverse.exp: ... it.
1495 2016-02-26 Yao Qi <yao.qi@linaro.org>
1497 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1498 (testcase_ftype): New.
1499 (testcases): New array.
1501 (main): Call each element in testcases.
1502 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1503 (read_testcase): New.
1504 Do the tests in a loop.
1506 2016-02-25 Yao Qi <yao.qi@linaro.org>
1508 * gdb.base/branches.c: Remove.
1510 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1513 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1515 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1517 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1519 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1521 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1522 change x86_64 call_insn to 'callq'.
1524 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1526 * gdb.trace/tfile-avx.c: Move to...
1527 * gdb.trace/tracefile-pseudo-reg.c: Here.
1528 * gdb.trace/tfile-avx.exp: Move to...
1529 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1531 2016-02-24 Gary Benson <gbenson@redhat.com>
1533 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1536 2016-02-23 Doug Evans <dje@google.com>
1538 * gdb.base/skip.c (test_skip): New function.
1539 (end_test_skip_file_and_function): New function.
1540 (test_skip_file_and_function): New function.
1541 * gdb.base/skip1.c (test_skip): New function.
1542 (skip1_test_skip_file_and_function): New function.
1543 * gdb.base/skip.exp: Add tests for new skip options.
1544 * gdb.base/skip-solib.exp: Update expected output.
1545 * gdb.perf/skip-command.cc: New file.
1546 * gdb.perf/skip-command.exp: New file.
1547 * gdb.perf/skip-command.py: New file.
1549 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1551 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1552 info registers pattern.
1554 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1556 * lib/future.exp: Add D support.
1557 (gdb_find_gdc): New proc.
1558 (gdb_default_target_compile): Add D support.
1560 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1562 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1564 (trace_speed_test): Determine the iteration count for a time
1565 between 15..30 seconds.
1567 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1569 * gdb.arch/i386-mpx-sigsegv.c: New file.
1570 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1571 * gdb.arch/i386-mpx-simple_segv.c: New file.
1572 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1574 2016-02-18 Yao Qi <yao.qi@linaro.org>
1576 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1577 Don't call setup_kfail.
1579 2016-02-18 Yao Qi <yao.qi@linaro.org>
1581 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1582 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1584 2016-02-16 Doug Evans <dje@google.com>
1586 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1587 * gdb.base/skip1.c: Ditto.
1588 * gdb.base/skip.exp: Whitespace cleanup.
1590 2016-02-16 Don Breazeal <donb@codesourcery.com>
1593 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1594 Remove kfail for PR remote/19496.
1596 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1598 * lib/gdb.exp (standard_temp_file): Return a path specific to
1599 the runtest invocation.
1601 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1603 * gdb.trace/save-trace.exp: Change relative path to be in the
1604 standard output directory.
1606 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1608 * gdb.arch/i386-prologue.c: Add missing prototypes.
1610 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1612 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1613 * gdb.arch/i386-prologue.exp: Likewise.
1614 * gdb.arch/i386-size.exp: Likewise.
1616 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1618 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1619 define object file path.
1620 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1622 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1623 standard_output_file to define binfile.
1625 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1627 Fix compatibility with recent gfortran-5.3.1.
1628 * gdb.fortran/vla-history.exp (print vla1 allocated)
1629 (print vla2 allocated, print $2, print $3): Remove
1630 (print $4): Rename to ...
1631 (print $2): ... here.
1632 (print $9): Rename to ...
1633 (print $5): ... here.
1634 (print $10): Rename to ...
1635 (print $6): ... here.
1636 * gdb.fortran/vla.f90: Add pvla initialization.
1638 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1640 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1642 * gdb.fortran/vla-value-sub.exp: Likewise.
1644 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1646 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1648 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1650 * i386-biarch-core.exp: Define corefile using
1651 standard_output_file.
1653 2016-02-12 Yao Qi <yao.qi@linaro.org>
1655 * gdb.arch/arm-single-step-kernel-helper.c: New.
1656 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1658 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1660 * gdb.btrace/tailcall-only.exp: New.
1661 * gdb.btrace/tailcall-only.c: New.
1662 * gdb.btrace/x86_64-tailcall-only.S: New.
1663 * gdb.btrace/i686-tailcall-only.S: New.
1665 2016-02-11 Pedro Alves <palves@redhat.com>
1667 * README (Parallel testing): Add missing double quotes.
1669 2016-02-11 Pedro Alves <palves@redhat.com>
1671 * README (Parallel testing): New section.
1672 (GDB_PARALLEL): Rewrite.
1673 (FORCE_PARALLEL): Document.
1675 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1677 * gdb.trace/tfile-avx.c: New test.
1678 * gdb.trace/tfile-avx.exp: New test.
1680 2016-02-09 Keith Seitz <keiths@redhat.com>
1682 PR breakpoints/19546
1683 * gdb.base/infcall-exec.c: New file.
1684 * gdb.base/infcall-exec2.c: New file.
1685 * gdb.base/infcall-exec.exp: New file.
1687 2016-02-09 Keith Seitz <keiths@redhat.com>
1689 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1690 (toplevel): Call test_bkpt_address.
1692 2016-02-09 Keith Seitz <keiths@redhat.com>
1695 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1696 (toplevel): Call test_bkpt_address.
1698 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1700 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1702 * configure: Regenerate.
1704 2016-02-09 Pedro Alves <palves@redhat.com>
1706 PR breakpoints/19548
1707 * gdb.base/execl-update-breakpoints.c (some_function): New
1710 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1711 Tighten expected GDB output.
1713 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1715 * Makefile.in (ALL_SUBDIRS): Remove.
1716 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1717 (distclean maintainer-clean realclean): Likewise.
1718 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1719 * configure: Regenerate.
1720 * gdb.ada/Makefile.in: Delete.
1721 * gdb.arch/Makefile.in: Likewise.
1722 * gdb.asm/Makefile.in: Likewise.
1723 * gdb.base/Makefile.in: Likewise.
1724 * gdb.btrace/Makefile.in: Likewise.
1725 * gdb.cell/Makefile.in: Likewise.
1726 * gdb.compile/Makefile.in: Likewise.
1727 * gdb.cp/Makefile.in: Likewise.
1728 * gdb.disasm/Makefile.in: Likewise.
1729 * gdb.dlang/Makefile.in: Likewise.
1730 * gdb.dwarf2/Makefile.in: Likewise.
1731 * gdb.fortran/Makefile.in: Likewise.
1732 * gdb.gdb/Makefile.in: Likewise.
1733 * gdb.go/Makefile.in: Likewise.
1734 * gdb.guile/Makefile.in: Likewise.
1735 * gdb.java/Makefile.in: Likewise.
1736 * gdb.linespec/Makefile.in: Likewise.
1737 * gdb.mi/Makefile.in: Likewise.
1738 * gdb.modula2/Makefile.in: Likewise.
1739 * gdb.multi/Makefile.in: Likewise.
1740 * gdb.objc/Makefile.in: Likewise.
1741 * gdb.opencl/Makefile.in: Likewise.
1742 * gdb.opt/Makefile.in: Likewise.
1743 * gdb.pascal/Makefile.in: Likewise.
1744 * gdb.perf/Makefile.in: Likewise.
1745 * gdb.python/Makefile.in: Likewise.
1746 * gdb.reverse/Makefile.in: Likewise.
1747 * gdb.server/Makefile.in: Likewise.
1748 * gdb.stabs/Makefile.in: Likewise.
1749 * gdb.threads/Makefile.in: Likewise.
1750 * gdb.trace/Makefile.in: Likewise.
1751 * gdb.xml/Makefile.in: Likewise.
1752 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1754 (standard_output_file): Remove check for GDB_PARALLEL, always
1755 return path in outputs/$subdir/$testname.
1757 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1759 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1760 (site.exp): Assign abs_srcdir to tcl's srcdir.
1762 2016-02-04 Yao Qi <yao.qi@linaro.org>
1764 * gdb.base/foll-exec-mode.c: Include limits.h.
1765 (main): Add parameters argc and argv. Get directory from
1767 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1769 * gdb.base/foll-exec.c: Include limits.h.
1770 (main): Add parameters argc and argv.
1771 Get directory from argv[0].
1772 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1773 Adjust tests on the number of lines as source code changed.
1774 * gdb.base/foll-vfork-exit.c: Include limits.h.
1775 (main): Add one line of statement before vfork.
1776 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1777 (main): Add parameters argc and argv. Get directory from
1779 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1780 (setup_gdb): Set tbreak to skip some source lines.
1781 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1782 (main): Add parameters argc and argv. Get directory from
1784 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1786 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1787 (main): Add parameters argc and argv. Get directory from
1789 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1792 2016-02-01 Doug Evans <dje@google.com>
1794 * gdb.base/skip.exp: Clean up multiple references to same test name.
1796 2016-02-01 Pedro Alves <palves@redhat.com>
1799 * gdb.threads/forking-threads-plus-breakpoint.exp
1800 (displaced_stepping_supported): New global.
1801 (probe_displaced_stepping_support): New procedure.
1802 (do_test): Add 'displaced' parameter, and use it.
1803 (top level): Check for displaced stepping support. Add displaced
1804 stepping on/off testing axis.
1806 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1808 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1809 pointer. Don't perform further tests on the unassociated pointer
1810 if the first test fails.
1812 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1814 * gdb.base/max-value-size.c: New file.
1815 * gdb.base/max-value-size.exp: New file.
1816 * gdb.base/huge.exp: Disable max-value-size for this test.
1818 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1820 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1822 2016-01-28 Yao Qi <yao.qi@linaro.org>
1824 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1826 2016-01-25 Pedro Alves <palves@redhat.com>
1829 * gdb.base/fork-running-state.c: New file.
1830 * gdb.base/fork-running-state.exp: New file.
1832 2016-01-25 Pedro Alves <palves@redhat.com>
1835 * gdb.base/catch-fork-kill.c: New file.
1836 * gdb.base/catch-fork-kill.exp: New file.
1838 2016-01-25 Pedro Alves <palves@redhat.com>
1840 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1841 Delete, moved to lib/gdb.exp.
1842 * gdb.threads/forking-threads-plus-breakpoint.exp
1843 (foreach_with_prefix): Likewise.
1844 * gdb.threads/process-dies-while-handling-bp.exp
1845 (foreach_with_prefix): Likewise.
1846 * lib/gdb.exp (foreach_with_prefix): New procedure.
1848 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1850 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1851 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1853 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1855 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1858 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1859 Pedro Alves <palves@redhat.com>
1861 Fix testsuite compatibility with Guile.
1862 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1865 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1867 Fix testsuite compatibility with Guile.
1868 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1869 (thread 1): New test for backtrace through signal handler.
1871 2016-01-22 Yao Qi <yao.qi@linaro.org>
1874 * gdb.base/multi-forks.c: Include
1875 ../lib/unbuffer_output.c
1876 (main): Call gdb_unbuffer_output.
1878 2016-01-21 Doug Evans <dje@google.com>
1880 * lib/ada.exp (gdb_compile_ada): Fix typo.
1882 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1884 * gdb.base/break-fun-addr.exp: New file.
1885 * gdb.base/break-fun-addr1.c: New file.
1886 * gdb.base/break-fun-addr2.c: New file.
1888 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1890 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1891 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1894 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1896 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1897 when GDB can not set the vector return value. Add more comments
1900 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1902 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1905 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1907 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1909 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1911 * Makefile.in (check-single): Pass --status to runtest.
1912 (check/%.exp): Likewise.
1914 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1916 * Makefile.in (check-parallel): Propagate return code from make
1919 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1921 * gdb.trace/ftrace.exp: Fix expected message on continue.
1922 * gdb.trace/pending.exp: Fix expected message on continue.
1923 * gdb.trace/trace-break.exp: Fix expected message on continue.
1925 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1927 * lib/gdb.exp (gdb_test): Remove unused global references.
1929 2016-01-18 Pedro Alves <palves@redhat.com>
1931 * gdb.base/async-shell.exp: Adjust expected output.
1932 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1933 * gdb.base/siginfo-thread.exp: Adjust expected output.
1934 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1935 * gdb.java/jnpe.exp: Adjust expected output.
1936 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1937 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1938 * gdb.threads/leader-exit.exp: Adjust expected output.
1939 * gdb.threads/manythreads.exp: Adjust expected output.
1940 * gdb.threads/pthreads.exp: Adjust expected output.
1941 * gdb.threads/schedlock.exp: Adjust expected output.
1942 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1943 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1945 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1947 * gdb.threads/sigthread.exp: Adjust expected output.
1948 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1950 2016-01-18 Yao Qi <yao.qi@linaro.org>
1952 * gdb.guile/scm-section-script.c: Replace @progbits with
1954 * gdb.python/py-section-script.c: Likewise.
1956 2016-01-15 Pedro Alves <palves@redhat.com>
1958 * gdb.multi/tids.exp: Test star wildcard ranges.
1960 2016-01-15 Pedro Alves <palves@redhat.com>
1962 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1963 command from "thread apply" invocation.
1964 (thr_apply_info_thr_invalid): Default the expected output to the
1966 (top level): Add tests that use convenience variables. Add tests
1967 for "thread apply" with a valid TID list, but missing the command.
1969 2016-01-13 Pedro Alves <palves@redhat.com>
1971 * gdb.base/default.exp: Expect $_gthread as well.
1972 * gdb.multi/tids.exp: Test $_gthread.
1973 * gdb.threads/thread-specific.exp: Test $_gthread.
1975 2016-01-13 Pedro Alves <palves@redhat.com>
1977 * gdb.multi/tids.exp: Test "info threads -gid".
1979 2016-01-13 Pedro Alves <palves@redhat.com>
1981 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1983 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1985 2016-01-07 Pedro Alves <palves@redhat.com>
1987 * gdb.base/break.exp: Adjust to output changes.
1988 * gdb.base/hbreak2.exp: Likewise.
1989 * gdb.base/sepdebug.exp: Likewise.
1990 * gdb.base/watch_thread_num.exp: Likewise.
1991 * gdb.linespec/keywords.exp: Likewise.
1992 * gdb.multi/info-threads.exp: Likewise.
1993 * gdb.threads/thread-find.exp: Likewise.
1994 * gdb.multi/tids.c: New file.
1995 * gdb.multi/tids.exp: New file.
1997 2016-01-13 Pedro Alves <palves@redhat.com>
1999 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2001 2016-01-13 Pedro Alves <palves@redhat.com>
2003 * gdb.base/default.exp: Expect $_inferior as well.
2004 * gdb.multi/base.exp: Test $_inferior.
2006 2016-01-13 Pedro Alves <palves@redhat.com>
2008 PR breakpoints/19388
2009 * gdb.base/catch-signal-siginfo-cond.c: New file.
2010 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2012 2016-01-12 Josh Stone <jistone@redhat.com>
2013 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2015 * gdb.base/catch-syscall.c (do_execve): New variable.
2016 (main): Conditionally trigger an execve.
2017 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2018 (test_catch_syscall_execve): New, check entry/return across execve.
2019 (do_syscall_tests): Call test_catch_syscall_execve.
2021 2016-01-12 Pedro Alves <palves@redhat.com>
2023 * gdb.base/random-signal.exp (do_test): New procedure, with body
2024 of testcase moved in.
2026 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2027 Pedro Alves <palves@redhat.com>
2029 * gdb.base/funcargs.exp (finish from indirectly called function):
2030 Reintroduce the case for 'First'.
2032 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2033 Pedro Alves <palves@redhat.com>
2035 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2036 (tcatch_vfork_then_child_follow_exec)
2037 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2040 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2043 and repeats to unlimited.
2044 * gdb.python/py-value.exp: Likewise.
2045 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2046 and repeats to unlimited.
2048 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2050 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2051 and reordering the functions.
2052 * gdb.multi/hangout.c: Likewise.
2053 * gdb.multi/hello.c: Likewise.
2055 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2057 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2059 (SingleStatisticTestResult.report): Use dict.keys instead of
2062 2016-01-06 Pedro Alves <palves@redhat.com>
2064 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2066 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2068 * gdb.btrace/dlopen.exp: New.
2069 * gdb.btrace/dlopen.c: New.
2070 * gdb.btrace/dlopen-dso.c: New.
2072 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2074 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2075 PATTERN argument is optional.
2077 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2079 * lib/ada.exp (target_compile_ada_from_dir): New function.
2080 (gdb_compile_ada): Reimplement avoiding the use of project files.
2081 * gdb.ada/gnat_ada.gpr: Delete.
2082 * gdb.ada/cond_lang.exp: Adjust test to make path before
2084 * gdb.ada/small_reg_param.exp: Likewise.
2086 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2088 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2090 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2092 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2095 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2097 * gdb.base/break.exp: Remove dead code.
2098 * gdb.base/sepdebug.exp: Likewise.
2100 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2102 * gdb.asm/asm-source.exp: Remove HP-UX references.
2103 * gdb.base/annota1.exp: Likewise.
2104 * gdb.base/annota3.exp: Likewise.
2105 * gdb.base/attach.exp: Likewise.
2106 * gdb.base/bigcore.exp: Likewise.
2107 * gdb.base/break.exp: Likewise.
2108 * gdb.base/call-ar-st.exp: Likewise.
2109 * gdb.base/callfuncs.exp: Likewise.
2110 * gdb.base/catch-fork-static.exp: Likewise.
2111 * gdb.base/display.exp: Likewise.
2112 * gdb.base/foll-exec-mode.exp: Likewise.
2113 * gdb.base/foll-exec.exp: Likewise.
2114 * gdb.base/foll-fork.exp: Likewise.
2115 * gdb.base/foll-vfork.exp: Likewise.
2116 * gdb.base/funcargs.exp: Likewise.
2117 * gdb.base/hbreak2.exp: Likewise.
2118 * gdb.base/inferior-died.exp: Likewise.
2119 * gdb.base/interrupt.exp: Likewise.
2120 * gdb.base/multi-forks.exp: Likewise.
2121 * gdb.base/nodebug.exp: Likewise.
2122 * gdb.base/sepdebug.exp: Likewise.
2123 * gdb.base/solib1.c: Likewise.
2124 * gdb.base/step-test.exp: Likewise.
2125 * gdb.mi/non-stop.c: Likewise.
2126 * gdb.mi/pthreads.c: Likewise.
2127 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2128 * gdb.threads/pthreads.c: Likewise.
2129 * gdb.threads/staticthreads.exp: Likewise.
2130 * lib/future.exp: Likewise.
2131 * lib/gdb.exp: Likewise.
2132 * gdb.base/so-indr-cl.c: Remove.
2133 * gdb.base/so-indr-cl.exp: Likewise.
2134 * gdb.base/solib.c: Likewise.
2135 * gdb.base/solib.exp: Likewise.
2136 * gdb.base/solib2.c: Likewise.
2138 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2140 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2141 * gdb.base/call-ar-st.exp: Likewise.
2142 * gdb.base/callfuncs.exp: Likewise.
2143 * gdb.base/condbreak.exp: Likewise.
2144 * gdb.base/constvars.exp: Likewise.
2145 * gdb.base/hbreak2.exp: Likewise.
2146 * gdb.base/langs.exp: Likewise.
2147 * gdb.base/list.exp: Likewise.
2148 * gdb.base/long_long.exp: Likewise.
2149 * gdb.base/ptype.exp: Likewise.
2150 * gdb.base/scope.exp: Likewise.
2151 * gdb.base/signals.exp: Likewise.
2152 * gdb.base/so-impl-ld.exp: Likewise.
2153 * gdb.base/varargs.exp: Likewise.
2154 * gdb.base/volatile.exp: Likewise.
2155 * gdb.base/whatis.exp: Likewise.
2156 * gdb.cp/cplusfuncs.exp: Likewise.
2157 * gdb.cp/inherit.exp: Likewise.
2158 * gdb.cp/local.exp: Likewise.
2159 * gdb.cp/member-ptr.exp: Likewise.
2160 * gdb.cp/method.exp: Likewise.
2161 * gdb.cp/overload.exp: Likewise.
2162 * gdb.cp/templates.exp: Likewise.
2163 * gdb.stabs/weird.exp: Likewise.
2164 * lib/compiler.c: Likewise.
2165 * lib/compiler.cc: Likewise.
2166 * lib/cp-support.exp: Likewise.
2167 * lib/gdb.exp: Likewise.
2169 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2171 * configure.ac: Remove HP-UX case.
2172 * configure: Regenerate.
2174 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2176 * lib/gdb.exp (gdb_compile): Add function doc.
2178 2015-12-17 Pedro Alves <palves@redhat.com>
2181 * gdb.multi/info-threads.exp: New file.
2183 2015-12-15 Yao Qi <yao.qi@linaro.org>
2185 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2188 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2190 * gdb.base/history-duplicates.exp: Skip if no readline support.
2192 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2194 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2196 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2198 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2200 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2202 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2203 ctrl-C if nointerrupts target property is set.
2204 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2205 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2206 * gdb.base/paginate-bg-execution.exp: Likewise.
2207 * gdb.base/paginate-execution-startup.exp: Likewise.
2208 * gdb.base/random-signal.exp: Likewise.
2209 * gdb.base/range-stepping.exp: Likewise.
2210 * gdb.cp/annota2.exp: Likewise.
2211 * gdb.cp/annota3.exp: Likewise.
2212 * gdb.gdb/selftest.exp: Likewise.
2213 * gdb.threads/continue-pending-status.exp: Likewise.
2214 * gdb.threads/leader-exit.exp: Likewise.
2215 * gdb.threads/manythreads.exp: Likewise.
2216 * gdb.threads/pthreads.exp: Likewise.
2217 * gdb.threads/schedlock.exp: Likewise.
2218 * gdb.threads/sigthread.exp: Likewise.
2220 2015-12-11 Don Breazeal <donb@codesourcery.com>
2222 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2224 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2225 * gdb.base/foll-exec.exp (main): Enable for target remote.
2226 * gdb.base/foll-fork.exp (main): Likewise.
2227 * gdb.base/foll-vfork.exp (main): Likewise.
2228 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2229 (proc continue_to_exit_bp_loc): Use clean_restart.
2230 * gdb.base/pie-execl.exp (main): Disable for target remote.
2231 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2232 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2233 * gdb.threads/execl.exp (main): Likewise.
2234 * gdb.threads/fork-child-threads.exp (main): Likewise.
2235 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2237 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2239 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2240 pid.tid style ptids, instead of just tid.
2241 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2242 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2243 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2244 ptids, instead of just tid.
2246 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * gdb.base/list.exp (test_list_forward): Add end of file error
2250 (test_repeat_list_command): Add end of file error test.
2251 (test_list_backwards): Add beginning of file error test.
2253 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2255 * gdb.base/list.exp (test_list_invalid_args): New function,
2256 defined, and called.
2258 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2260 * gdb.base/list.exp (test_list): Make test names unique.
2262 2015-12-11 Yao Qi <yao.qi@linaro.org>
2264 * gdb.base/coremaker2.c: Remove.
2266 2015-12-10 Pedro Alves <palves@redhat.com>
2268 * gdb.multi/base.exp: Remove stale "spaces" references.
2270 2015-12-10 Pedro Alves <palves@redhat.com>
2272 * gdb.multi/base.exp: Don't use nowarnings.
2273 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2274 * gdb.multi/hangout.c: Include stdio.h.
2275 * gdb.multi/hello.c: Include stdlib.h.
2276 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2277 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2278 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2280 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2282 * gdb.dwarf2/dw2-ranges-base.c: New file.
2283 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2284 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2285 support additional line table, and debug ranges generation.
2286 (Dwarf::ranges): New function, generate .debug_ranges.
2287 (Dwarf::lines): Support generating simple line table programs.
2288 (Dwarf::assemble): Initialise new namespace variables.
2290 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2292 * gdb.base/async.exp (proc test_background): Add case for
2293 asynchronous execution not supported.
2295 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2297 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2298 format and change test names to make them unique.
2300 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2301 Pedro Alves <pedro@redhat.com>
2304 Add checking of floatformats setup on x86_64 hosts.
2305 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2306 (smallval, bigval): New labels/constants.
2307 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2308 float" after loading bigval and smallval.
2310 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2312 * gdb.ada/fun_overload_menu.exp: New testcase.
2313 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2315 2015-12-04 Josh Stone <jistone@redhat.com>
2317 * gdb.base/catch-fork-static.exp: New.
2319 2015-12-03 Yao Qi <yao.qi@linaro.org>
2321 * gdb.base/sizeof.c: Don't include stdio.h and
2322 ../lib/unbuffer_output.c.
2323 (main): New variable 'size' and 'value'. Remove printf and
2324 gdb_unbuffer_output. Assign return value to size and value.
2325 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2327 (check_sizeof): Check the result by printing variable 'size'.
2328 (check_valueof): Check the result by printing variable 'value'.
2330 2015-12-01 Yao Qi <yao.qi@linaro.org>
2332 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2333 for aarch64*-*-linux* target.
2335 2015-11-30 Pedro Alves <palves@redhat.com>
2337 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2339 2015-11-30 Pedro Alves <palves@redhat.com>
2341 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2342 Handle non-stop mode vCont replies.
2344 2015-11-30 Pedro Alves <palves@redhat.com>
2346 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2347 prepare_for_testing. Start gdb with "set non-stop on" appended to
2348 GDBFLAGS. Lax expected stop output.
2350 2015-11-27 Yao Qi <yao.qi@linaro.org>
2352 * gdb.arch/arm-neon.exp: New.
2353 * gdb.arch/arm-neon.c: New.
2355 2015-11-27 Yao Qi <yao.qi@linaro.org>
2357 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2359 2015-11-27 Yao Qi <yao.qi@linaro.org>
2361 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2362 frames-invalid annotation.
2364 2015-11-27 Yao Qi <yao.qi@linaro.org>
2366 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2368 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2370 * gdb.threads/names.exp: New file.
2371 * gdb.threads/names.c: New file.
2372 * README: Mention gdb,no_thread_names.
2374 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2377 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2380 2015-11-24 Pedro Alves <palves@redhat.com>
2383 * gdb.base/display.exp: Expect displays to be sorted in ascending
2384 order. Use multi_line.
2385 * gdb.base/solib-display.exp: Likewise.
2387 2015-11-24 Pedro Alves <palves@redhat.com>
2390 * gdb.base/display.exp: Expect displays to be sorted in ascending
2391 order. Use multi_line.
2392 * gdb.base/solib-display.exp: Likewise.
2394 2015-11-24 Pedro Alves <palves@redhat.com>
2397 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2398 threads in ascending order.
2399 * gdb.base/foll-fork.exp: Likewise.
2400 * gdb.base/foll-vfork.exp: Likewise.
2401 * gdb.base/multi-forks.exp: Likewise.
2402 * gdb.mi/mi-nonstop.exp: Likewise.
2403 * gdb.mi/mi-nsintrall.exp: Likewise.
2404 * gdb.multi/base.exp: Likewise.
2405 * gdb.multi/multi-arch.exp: Likewise.
2406 * gdb.python/py-inferior.exp: Likewise.
2407 * gdb.threads/break-while-running.exp: Likewise.
2408 * gdb.threads/execl.exp: Likewise.
2409 * gdb.threads/gcore-thread.exp: Likewise.
2410 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2411 * gdb.threads/kill.exp: Likewise.
2412 * gdb.threads/linux-dp.exp: Likewise.
2413 * gdb.threads/multiple-step-overs.exp: Likewise.
2414 * gdb.threads/next-bp-other-thread.exp: Likewise.
2415 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2416 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2417 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2418 * gdb.threads/thread-find.exp: Likewise.
2419 * gdb.threads/tls.exp: Likewise.
2420 * lib/mi-support.exp (mi_reverse_list): Delete.
2421 (mi_check_thread_states): No longer reverse list.
2423 2015-11-24 Pedro Alves <palves@redhat.com>
2425 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2428 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2430 * gdb.trace/actions.c: Include trace-common.h.
2431 (main): Add a location for a fast tracepoint.
2432 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2433 the normal tracepoints.
2434 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2436 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2438 * save-trace.exp: Factor out code to these...
2439 (gdb_save_tracepoints): New.
2440 (gdb_load_tracepoints): New.
2441 (do_save_load_test): New.
2443 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2445 * gdb.base/asmlabel.exp: New test.
2446 * gdb.base/asmlabel.c: New test case.
2448 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2450 * gdb.base/wrong_frame_bt_full-main.c: New file.
2451 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2452 * gdb.base/wrong_frame_bt_full.exp: New file.
2454 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2456 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2458 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2460 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2461 pstate register when comparing registers values in
2462 sparc64-*-linux-gnu targets to avoid spurious differences.
2464 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2466 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2468 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2470 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2471 as type argument to gdb_compile.
2472 * gdb.base/nested-subp2.exp: Likewise.
2473 * gdb.base/nested-subp3.exp: Likewise.
2475 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2477 * lib/dwarf.exp (_note): Fix left shift of negative value.
2478 * gdb.trace/trace-condition.exp: Likewise.
2480 2015-11-13 Yao Qi <yao.qi@linaro.org>
2482 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2483 comments about d10v.
2484 (test_scalar_returns): Likewise.
2485 * gdb.base/d10v.ld: Remove.
2486 * gdb.base/overlays.exp: Remove the target triplet checking for
2488 * gdb.base/structs.exp (test_struct_returns): Remove the
2489 comments about d10v.
2490 (test_struct_calls): Likewise.
2492 2015-11-13 Yao Qi <yao.qi@linaro.org>
2494 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2495 * gdb.base/gnu_vector.c: Don't include stdio.h.
2496 (main): Don't print res and call add_some_intvecs.
2498 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2500 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2503 (func4): Use FAST_TRACEPOINT_LABEL.
2504 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2507 (thread_function): Use FAST_TRACEPOINT_LABEL.
2508 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2510 (marker): Use FAST_TRACEPOINT_LABEL.
2511 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2512 (pendfunc1): Remove.
2513 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2514 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2516 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2517 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2520 (marker): Use FAST_TRACEPOINT_LABEL.
2521 * gdb.trace/trace-common.h: New header.
2522 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2525 (marker): Use FAST_TRACEPOINT_LABEL.
2526 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2528 (thread_function): Use FAST_TRACEPOINT_LABEL.
2530 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2532 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2534 * gdb.trace/change-loc.exp: Use global pcreg definition.
2535 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2536 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2538 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2539 * gdb.trace/pending.exp: Likewise.
2540 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2541 * gdb.trace/trace-break.exp: Likewise.
2542 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2544 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2545 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2547 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2549 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2551 * gdb.ada/fin_fun_out: New testcase.
2553 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2555 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2556 value associated with DW_AT_byte_size.
2557 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2558 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2561 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2563 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2564 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2566 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2567 gdb.dwarf2/dw2-canonicalize-type.exp,
2568 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2569 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2570 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2571 provided by gdb_target_symbol_prefix_flags_asm.
2572 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2573 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2574 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2575 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2576 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2577 macros where needed). Use this macro for symbols which require
2578 the prefix provided by SYMBOL_PREFIX.
2580 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2582 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2584 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2585 representing expressions, of more than one list element.
2586 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2587 to prepend linker symbol prefix to f.
2588 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2589 table_1 and table_2.
2590 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2591 Likewise, for f and g.
2592 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2594 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2596 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2597 table_1_ptr and table_2_ptr.
2599 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2600 Joel Brobecker <brobecker@adacore.com>
2602 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2604 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2606 * gdb.reverse/s390-mvcle.c: New test.
2607 * gdb.reverse/s390-mvcle.exp: New file.
2608 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2610 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2612 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2614 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2616 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2618 * gdb.reverse/getresuid-reverse.exp: Likewise.
2619 * gdb.reverse/pipe-reverse.exp: Likewise.
2620 * gdb.reverse/readv-reverse.exp: Likewise.
2621 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2622 * gdb.reverse/time-reverse.exp: Likewise.
2623 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2625 2015-10-30 Yao Qi <yao.qi@linaro.org>
2627 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2628 (empty_cycle): Remove.
2629 (main): Don't call empty_cycle. Don't use watch_count_done.
2630 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2631 empty_cycle. Rewrite the code counting HW watchpoints.
2633 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2635 * gdb.reverse/fstatat-reverse.c: New test.
2636 * gdb.reverse/fstatat-reverse.exp: New file.
2637 * gdb.reverse/getresuid-reverse.c: New test.
2638 * gdb.reverse/getresuid-reverse.exp: New file.
2639 * gdb.reverse/pipe-reverse.c: New test.
2640 * gdb.reverse/pipe-reverse.exp: New file.
2641 * gdb.reverse/readv-reverse.c: New test.
2642 * gdb.reverse/readv-reverse.exp: New file.
2643 * gdb.reverse/recvmsg-reverse.c: New test.
2644 * gdb.reverse/recvmsg-reverse.exp: New file.
2645 * gdb.reverse/time-reverse.c: New test.
2646 * gdb.reverse/time-reverse.exp: New file.
2647 * gdb.reverse/waitpid-reverse.c: New test.
2648 * gdb.reverse/waitpid-reverse.exp: New file.
2650 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2652 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2654 2015-10-26 Doug Evans <dje@google.com>
2657 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2658 * gdb.dwarf2/bad-regnum.c: New file.
2659 * gdb.dwarf2/bad-regnum.exp: New file.
2661 2015-10-26 Doug Evans <dje@google.com>
2664 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2667 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2669 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2670 for a change by "Mention language in compile error message".
2672 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2675 * gdb.python/py-type.c (C::a_method): New.
2676 (C::a_const_method): New.
2677 (C::a_static_method): New.
2679 * gdb.python/py-type.exp (test_fields): Test getting fields
2680 from function and method.
2682 2015-10-21 Keven Boell <keven.boell@intel.com>
2684 * gdb.fortran/vla-alloc-assoc.exp: New file.
2685 * gdb.fortran/vla-datatypes.exp: New file.
2686 * gdb.fortran/vla-datatypes.f90: New file.
2687 * gdb.fortran/vla-history.exp: New file.
2688 * gdb.fortran/vla-ptype-sub.exp: New file.
2689 * gdb.fortran/vla-ptype.exp: New file.
2690 * gdb.fortran/vla-sizeof.exp: New file.
2691 * gdb.fortran/vla-sub.f90: New file.
2692 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2693 * gdb.fortran/vla-value-sub-finish.exp: New file.
2694 * gdb.fortran/vla-value-sub.exp: New file.
2695 * gdb.fortran/vla-value.exp: New file.
2696 * gdb.fortran/vla-ptr-info.exp: New file.
2697 * gdb.mi/mi-vla-fortran.exp: New file.
2698 * gdb.mi/vla.f90: New file.
2700 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2702 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2703 of hardwired timeout value.
2705 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 Pedro Alves <palves@redhat.com>
2708 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2709 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2711 2015-10-19 Josh Stone <jistone@redhat.com>
2713 * gdb.base/catch-syscall.c: Include <sched.h>.
2714 (unknown_syscall): New variable.
2715 (main): Trigger a vfork and an unknown syscall.
2716 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2717 (unknown_syscall_number): Likewise.
2718 (check_call_to_syscall): Accept an optional syscall pattern.
2719 (check_return_from_syscall): Likewise.
2720 (check_continue): Likewise.
2721 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2722 (test_catch_syscall_skipping_return): New test toggling off 'catch
2723 syscall' to step over the syscall return, then toggling back on.
2724 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2725 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2726 (do_syscall_tests): Call test_catch_syscall_without_args and
2727 test_catch_syscall_mid_vfork.
2728 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2729 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2731 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2733 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2734 print g_vE): Add new pass patterns.
2735 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2736 print various symbol names for vptr fields.
2738 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2740 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2743 2015-10-12 Yao Qi <yao.qi@linaro.org>
2745 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2747 2015-10-12 Yao Qi <yao.qi@linaro.org>
2749 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2750 is aarch64*-*-linux*.
2752 2015-10-12 Yao Qi <yao.qi@linaro.org>
2754 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2755 (can_relocate_bcond_true): ... it.
2756 (can_relocate_bcond_false): New function.
2758 (can_relocate_bl): Likewise.
2759 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2762 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2764 * gdb.base/nested-addr.c: New file.
2765 * gdb.base/nested-addr.exp: New testcase.
2767 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2769 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2770 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2771 its output. Ignore the output of "record goto begin" and instead
2772 check that GDB is replaying.
2774 2015-10-09 Pedro Alves <palves@redhat.com>
2776 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2777 (top level): Use it in the run with no args test.
2779 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2781 * gdb.dlang/properties.exp: New file.
2783 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2785 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2786 whether or not address 0x1000 is mapped on the target.
2788 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2790 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2793 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2795 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2796 instruction-history test.
2798 2015-09-28 Doug Evans <dje@google.com>
2800 * gdb.base/gcore.c (array_func): Add reference to static_array.
2802 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2807 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2809 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2810 short or char as base type.
2812 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2814 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2815 to allow any size enum.
2817 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2819 * gdb.ada/array_ptr_renaming.exp: New testcase.
2820 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2821 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2823 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2825 * gdb.trace/ftrace-lock.c: New file.
2826 * gdb.trace/ftrace-lock.exp: New file.
2828 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2830 * gdb.arch/insn-reloc.c: New file.
2831 * gdb.arch/ftrace-insn-reloc.exp: New file.
2833 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2835 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2837 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2838 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2839 * gdb.trace/range-stepping.c: Likewise.
2840 * gdb.trace/trace-break.c: Likewise.
2841 * gdb.trace/trace-mt.c (thread_function): Likewise.
2842 * gdb.trace/ftrace.c (marker): Likewise.
2843 * gdb.trace/trace-condition.c (marker): Likewise.
2844 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2845 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2848 2015-09-18 Doug Evans <xdje42@gmail.com>
2850 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2851 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2853 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2855 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2860 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2861 the pending breakpoint. Remove timeout override for "Run till
2862 MI pending breakpoint on pendfunc3 on thread 2" test.
2864 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2866 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2869 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2871 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2872 in breakpoint filename pattern.
2874 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2876 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2878 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2880 * gdb.linespec/explicit.exp: Check for readline support for
2881 tab-completion tests. Fix obvious typo.
2883 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2885 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2888 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2890 * gdb.btrace/non-stop.c: New.
2891 * gdb.btrace/non-stop.exp: New.
2893 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2894 Yao Qi <yao.qi@linaro.org>
2896 * gdb.trace/trace-condition.c: New file.
2897 * gdb.trace/trace-condition.exp: New file.
2899 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2901 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2902 for testing bytecode compilation.
2904 2015-09-16 Pedro Alves <palves@redhat.com>
2905 Sandra Loosemore <sandra@codesourcery.com>
2907 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2908 (SECONDS): Redefine.
2909 (main): Call pthread_kill and alarm early.
2910 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2912 (test): If the target can't hardware step and doesn't support
2913 displaced stepping, increase the timeout.
2915 2015-09-16 Pedro Alves <palves@redhat.com>
2917 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2918 (enable_debug): New procedures.
2919 (test): Use them. Bail out if waiting for threads fails.
2920 (top level): Bail out if a test fails.
2922 2015-09-16 Yao Qi <yao.qi@linaro.org>
2924 * gdb.asm/asm-source.exp: Set asm-arch for
2925 aarch64*-*-* target.
2926 * gdb.asm/aarch64.inc: New file.
2928 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2930 * gdb.ada/array_of_variable_length.exp: New testcase.
2931 * gdb.ada/array_of_variable_length/foo.adb: New file.
2932 * gdb.ada/array_of_variable_length/pck.adb: New file.
2933 * gdb.ada/array_of_variable_length/pck.ads: New file.
2935 2015-09-15 Doug Evans <dje@google.com>
2937 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2938 of function static local variable.
2940 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2942 * gdb.threads/tls-so_extern.exp: New test file.
2943 * gdb.threads/tls-so_extern.c: New test file.
2944 * gdb.threads/tls-so_extern_main.c: New test file.
2946 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2948 * gdb.opt/solib-intra-step-lib.c: New file.
2949 * gdb.opt/solib-intra-step-main.c: New file.
2950 * gdb.opt/solib-intra-step.exp: New file.
2952 2015-09-15 Pedro Alves <palves@redhat.com>
2954 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2955 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2957 2015-09-14 Pedro Alves <palves@redhat.com>
2959 * gdb.base/hook-stop-continue.c: Delete.
2960 * gdb.base/hook-stop-continue.exp: Delete.
2961 * gdb.base/hook-stop-frame.c: Delete.
2962 * gdb.base/hook-stop-frame.exp: Delete.
2963 * gdb.base/hook-stop.c: New file.
2964 * gdb.base/hook-stop.exp: New file.
2966 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2968 * gdb.ada/access_to_packed_array.exp: New testcase.
2969 * gdb.ada/access_to_packed_array/foo.adb: New file.
2970 * gdb.ada/access_to_packed_array/pack.adb: New file.
2971 * gdb.ada/access_to_packed_array/pack.ads: New file.
2973 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2975 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2978 2015-09-11 Don Breazeal <donb@codesourcery.com>
2980 * gdb.base/foll-exec.c: Add copyright header. Fix
2982 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2983 (do_exec_tests): Use clean_restart in place of zap_session,
2984 and for test initialization. Fix formatting issues. Use
2985 fail in place of perror.
2986 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2987 an expect statement to match an expression with output from
2988 the program under debug.
2989 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2990 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2991 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2992 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2993 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2995 2015-09-09 Doug Evans <dje@google.com>
2997 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2999 2015-09-09 Doug Evans <dje@google.com>
3001 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3003 2015-09-09 Doug Evans <dje@google.com>
3005 * gdb.base/savedregs.exp: Fix typo.
3007 2015-09-09 Pedro Alves <palves@redhat.com>
3009 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3011 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3013 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3014 command actually switches threads. Give up on remaining
3015 tests if target fails to stop at breakpoint.
3017 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3019 * gdb.ada/funcall_char.exp: New testcase.
3020 * gdb.ada/funcall_char/foo.adb: New file.
3022 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3024 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3025 expected outputs. Add two testcases for completing ambiguous
3027 * gdb.ada/complete/aux_pck.adb: New file.
3028 * gdb.ada/complete/aux_pck.ads: New file.
3029 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3030 Ambiguous_Func functions.
3031 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3032 * gdb.ada/complete/pck.adb: Likewise.
3034 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3036 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3037 failures to run the test program under GDB.
3039 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3041 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3044 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3046 * gdb.base/run-after-attach.exp: New test file.
3047 * gdb.base/run-after-attach.c: New test file.
3049 2015-08-26 Don Breazeal <donb@codesourcery.com>
3051 * gdb.base/foll-exec-2.c: New test program.
3052 * gdb.base/foll-exec-2.exp: New test.
3054 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3056 * gdb.base/nested-subp1.exp: New file.
3057 * gdb.base/nested-subp1.c: New file.
3058 * gdb.base/nested-subp2.exp: New file.
3059 * gdb.base/nested-subp2.c: New file.
3060 * gdb.base/nested-subp3.exp: New file.
3061 * gdb.base/nested-subp3.c: New file.
3063 2015-08-24 Pedro Alves <palves@redhat.com>
3065 * gdb.server/connect-without-multi-process.c: New file.
3066 * gdb.server/connect-without-multi-process.exp: New file.
3068 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3070 * gdb.opt/inline-markers.c: Make z int.
3072 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3074 * gdb.opt/inline-markers.c: Make z volatile.
3076 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3078 * gdb.opt/inline-bt.c: New volatile global z.
3079 * gdb.opt/inline-cmds.c: Likewise.
3080 * gdb.opt/inline-locals.c: Likewise.
3081 * gdb.opt/inline-markers.c: New extern global z.
3083 (inline_fn): Likewise.
3085 2015-08-24 Pedro Alves <palves@redhat.com>
3087 * config/m32r-stub.exp: Remove file.
3088 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3089 * gdb.base/call-rt-st.exp: Likewise.
3090 * gdb.base/call-strs.exp: Likewise.
3091 * gdb.base/default.exp: Remove references to h8300-*-hms and
3093 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3095 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3097 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3098 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3099 and "return" use KFAIL when GDB can not read/write the vector
3102 2015-08-21 Gary Benson <gbenson@redhat.com>
3104 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3106 2015-08-20 Pedro Alves <palves@redhat.com>
3108 * gdb.server/solib-list.exp: No longer expect an interior stop in
3111 2015-08-20 Pedro Alves <palves@redhat.com>
3113 * gdb.server/connect-stopped-target.c: New file.
3114 * gdb.server/connect-stopped-target.exp: New file.
3116 2015-08-20 Pedro Alves <palves@redhat.com>
3118 * gdb.dwarf2/comp-unit-lang.exp: New file.
3119 * gdb.dwarf2/comp-unit-lang.c: New file.
3121 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3123 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3124 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3126 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3128 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3129 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3131 2015-08-18 Doug Evans <dje@google.com>
3132 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3134 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3135 skip_python_tests. New arg prompt_regexp.
3136 (skip_python_tests): New function.
3137 * lib/mi-support.exp (mi_skip_python_tests): New function.
3138 * gdb.python/py-mi-objfile-gdb.py: New file.
3139 * gdb.python/py-mi-objfile.c: New file.
3140 * gdb.python/py-mi-objfile.exp: New file.
3142 2015-08-17 Keith Seitz <keiths@redhat.com>
3144 * gdb.linespec/explicit.exp: Move strace test from here ...
3145 * gdb.trace/strace.exp: ... to here.
3147 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3149 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3150 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3152 2015-08-14 Doug Evans <xdje42@gmail.com>
3154 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3155 inferior before selecting a new file.
3157 2015-08-14 Doug Evans <xdje42@gmail.com>
3159 * gdb.mi/mi-disassemble.exp: Update.
3160 * gdb.base/disasm-optim.S: New file.
3161 * gdb.base/disasm-optim.c: New file.
3162 * gdb.base/disasm-optim.h: New file.
3163 * gdb.base/disasm-optim.exp: New file.
3165 2015-08-14 Keith Seitz <keiths@redhat.com>
3167 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3170 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3172 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3174 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3176 * gdb.ada/fun_renaming.exp: New testcase.
3177 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3178 * gdb.ada/fun_renaming/pack.adb: New file.
3179 * gdb.ada/fun_renaming/pack.ads: New file.
3181 2015-08-12 Keith Seitz <keiths@redhat.com>
3183 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3184 gdb_get_line_number.
3186 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3188 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3189 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3190 gdb.base/dso2dso.exp: New files.
3192 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3193 Pedro Alves <palves@redhat.com>
3194 Keith Seitz <keiths@redhat.com>
3196 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3199 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3201 * gdb.base/gdbhistsize-history.exp
3202 (test_histsize_history_setting): Use save_vars.
3203 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3205 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3206 * gdb.base/readline.exp: Use save_vars.
3208 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3210 * lib/gdb.exp (save_vars): New proc.
3212 2015-08-11 Keith Seitz <keiths@redhat.com>
3214 * gdb.base/help.exp: Update help_breakpoint_text.
3216 2015-08-11 Keith Seitz <keiths@redhat.com>
3218 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3219 (at toplevel): Call test_explicit_breakpoints.
3220 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3222 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3223 breakpoint conditions, "-cond".
3225 2015-08-11 Keith Seitz <keiths@redhat.com>
3227 * gdb.linespec/3explicit.c: New file.
3228 * gdb.linespec/cpexplicit.cc: New file.
3229 * gdb.linespec/cpexplicit.exp: New file.
3230 * gdb.linespec/explicit.c: New file.
3231 * gdb.linespec/explicit.exp: New file.
3232 * gdb.linespec/explicit2.c: New file.
3233 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3234 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3235 before using in the matching pattern.
3236 Clarify that `prefix' is a regular expression.
3238 2015-08-11 Keith Seitz <keiths@redhat.com>
3240 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3242 Add tests for missing ",FMT" and ",".
3244 2015-08-10 Doug Evans <dje@google.com>
3245 Keith Seitz <keiths@redhat.com>
3248 * gdb.base/completion.exp: Add location completer tests.
3250 2015-08-07 Pedro Alves <palves@redhat.com>
3252 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3254 (top level): Run do_test with and without displaced stepping.
3256 2015-08-07 Pedro Alves <palves@redhat.com>
3258 * gdb.base/valgrind-disp-step.c: New file.
3259 * gdb.base/valgrind-disp-step.exp: New file.
3261 2015-08-07 Pedro Alves <palves@redhat.com>
3263 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3265 (main): Add alarm. Run an infinite loop instead of calling
3267 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3269 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3271 (main): Add alarm. Run an infinite loop instead of calling
3273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3276 2015-08-07 Pedro Alves <palves@redhat.com>
3278 * gdb.base/checkpoint-ns.exp: New file.
3279 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3282 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3284 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3285 * gdb.btrace/instruction_history.exp: Update.
3286 * gdb.btrace/tsx.exp: New.
3287 * gdb.btrace/tsx.c: New.
3289 2015-08-06 Pedro Alves <palves@redhat.com>
3291 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3293 * gdb.reverse/until-precsave.exp: Bump timeouts.
3295 2015-08-06 Pedro Alves <palves@redhat.com>
3297 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3299 2015-08-06 Pedro Alves <palves@redhat.com>
3302 * gdb.threads/process-dies-while-handling-bp.c: New file.
3303 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3305 2015-08-06 Pedro Alves <palves@redhat.com>
3307 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3308 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3310 2015-08-05 Pedro Alves <palves@redhat.com>
3312 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3313 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3315 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3317 * gdb.base/bp-permanent.exp: Report test as unsupported if
3318 the target cannot stop at the permanent breakpoint.
3320 2015-08-03 Doug Evans <dje@google.com>
3322 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3325 2015-08-03 Doug Evans <dje@google.com>
3327 * Makefile.in (workers/%.worker, build-perf): New rule.
3328 (GDB_PERFTEST_MODE): New variable.
3329 (check-perf): Use it.
3330 (clean): Clean up gdb.perf parallel build subdirs.
3331 * lib/build-piece.exp: New file.
3332 * lib/gdb.exp (make_gdb_parallel_path): New function
3333 (standard_output_file, standard_temp_file): Call it.
3334 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3336 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3338 2015-08-03 Doug Evans <dje@google.com>
3340 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3341 (LOG_FILE_NAME): New global.
3342 (TextReporter.__init__): Initialize self.txt_sum.
3343 (TextReporter.report): Add support for multiple data-points.
3344 Move report to perftest.sum, put raw data in perftest.log.
3345 (TextReporter.start): Open sum and log files.
3346 (TextReporter.end): Close sum and log files.
3347 * gdb.perf/lib/perftest/testresult.py
3348 (SingleStatisticTestResult.record): Handle multiple data-points.
3350 2015-07-31 Pedro Alves <palves@redhat.com>
3352 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3353 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3354 kill_wait_spawned_process instead of explicit "kill -9".
3355 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3356 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3357 kill_wait_spawned_process.
3358 * gdb.base/attach-twice.exp: Likewise.
3359 * gdb.base/attach.exp: Likewise.
3360 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3362 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3363 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3364 kill_wait_spawned_process.
3365 * gdb.base/valgrind-infcall.exp: Likewise.
3366 * gdb.multi/multi-attach.exp: Likewise.
3367 * gdb.python/py-prompt.exp: Likewise.
3368 * gdb.python/py-sync-interp.exp: Likewise.
3369 * gdb.server/ext-attach.exp: Likewise.
3370 * gdb.threads/attach-into-signal.exp (corefunc): Use
3371 spawn_wait_for_attach, spawn_id_get_pid and
3372 kill_wait_spawned_process.
3373 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3374 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3375 spawn_id_get_pid and kill_wait_spawned_process.
3376 * gdb.threads/attach-stopped.exp (corefunc): Use
3377 spawn_wait_for_attach, spawn_id_get_pid and
3378 kill_wait_spawned_process.
3379 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3380 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3381 kill_wait_spawned_process instead of explicit "kill -9".
3382 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3383 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3384 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3385 processes. Don't map cygwin/windows pids here. Now returns a
3388 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3390 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3391 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3394 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3396 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3398 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3401 2014-05-21 Mark Wielaard <mjw@redhat.com>
3403 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3405 2015-07-30 Pedro Alves <palves@redhat.com>
3407 * linux-low.c (handle_extended_wait): Set the child's last
3408 reported status to TARGET_WAITKIND_STOPPED.
3410 2015-07-30 Pedro Alves <palves@redhat.com>
3413 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3414 only shows inferior 1.
3416 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3417 Pedro Alves <palves@redhat.com>
3420 * gdb.threads/fork-plus-threads.c: New file.
3421 * gdb.threads/fork-plus-threads.exp: New file.
3423 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3425 * gdb.base/batch-preserve-term-settings.exp
3426 (test_terminal_settings_preserved_after_cli_exit): Use
3429 2015-07-29 Pedro Alves <palves@redhat.com>
3430 Don Breazeal <donb@codesourcery.com>
3432 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3433 output from both inferior_spawn_id and gdb_spawn_id.
3435 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3437 * gdb.threads/attach-into-signal.exp (corefunc): Use
3438 with_test_prefix on nested loops, uniquefying the test messages.
3440 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3442 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3445 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3447 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3449 (test_terminal_settings_preserved_after_sigterm): New test.
3451 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3453 * gdb.base/batch-preserve-term-settings.exp
3454 (test_terminal_settings_preserved_after_cli_exit): New test.
3456 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3458 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3459 manipulation of saved_gdbflags.
3460 (test_terminal_settings_preserved): Remove global declaration of
3461 the unused variable pagination_prompt. Remove manipulation of
3462 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3465 2015-07-29 Pedro Alves <palves@redhat.com>
3467 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3469 2015-07-29 Pedro Alves <palves@redhat.com>
3471 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3474 2015-07-29 Pedro Alves <palves@redhat.com>
3476 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3477 (main): Call gdb_unbuffer_output.
3478 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3479 (main): Call gdb_unbuffer_output.
3480 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3481 (main): Call gdb_unbuffer_output.
3482 * gdb.base/call-strs.exp: Adjust to step over the
3483 gdb_unbuffer_output call.
3484 * gdb.base/catch-gdb-caused-signals.c: Include
3485 "../lib/unbuffer_output.c".
3486 (main): Call gdb_unbuffer_output.
3487 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3488 (main): Call gdb_unbuffer_output.
3489 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3490 (main): Call gdb_unbuffer_output.
3491 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3492 (main): Call gdb_unbuffer_output.
3493 * gdb.base/shlib-call.exp: Adjust to step over the
3494 gdb_unbuffer_output call.
3495 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3496 (main): Call gdb_unbuffer_output.
3497 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3498 (main): Call gdb_unbuffer_output.
3499 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3500 (main): Rename to ...
3502 (main): Reimplement.
3503 * gdb.base/varargs.exp: Run to test instead of to main.
3504 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3505 (main): Call gdb_unbuffer_output.
3507 2015-07-29 Pedro Alves <palves@redhat.com>
3509 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3510 factore out from mi_continue_dprintf. For call-style dprintfs,
3511 expect dprintf output out of $inferior_spawn_id.
3512 (mi_continue_dprintf): Use mi_expect_dprintf.
3513 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3514 (main): Call gdb_unbuffer_output.
3516 2015-07-29 Pedro Alves <palves@redhat.com>
3518 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3519 (default_mi_gdb_start): Set inferior_spawn_id instead of
3520 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3522 (mi_gdb_test): Always expect inferior output from both
3523 $inferior_spawn_id and $gdb_spawn_id.
3525 2015-07-29 Pedro Alves <palves@redhat.com>
3527 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3528 send_inferior and $inferior_spawn_id.
3530 2015-07-29 Pedro Alves <palves@redhat.com>
3532 * gdb.gdb/complaints.exp (test_initial_complaints)
3533 (test_serial_complaints, test_short_complaints): Use
3535 (test_empty_complaint): Handle $inferior_spawn_id !=
3538 2015-07-29 Pedro Alves <palves@redhat.com>
3540 * gdb.base/varargs.exp: Use gdb_test_stdio.
3542 2015-07-29 Pedro Alves <palves@redhat.com>
3544 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3546 2015-07-29 Pedro Alves <palves@redhat.com>
3548 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3550 2015-07-29 Pedro Alves <palves@redhat.com>
3552 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3553 parameter into two new parameters, "inf_result" and "gdb_result".
3554 Expect inferior output and gdb output from $inferior_spawn_id and
3555 $gdb_spawn_id, respectively. Adjust all callers.
3557 2015-07-29 Pedro Alves <palves@redhat.com>
3559 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3560 of gdb_test_sequence.
3562 2015-07-29 Pedro Alves <palves@redhat.com>
3564 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3565 (saw_spurious_output): Expect inferior output from
3566 $inferior_spawn_id. Use gdb_test_stdio.
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3570 * gdb.base/dprintf.exp: Use standard_testfile. Change
3571 prepare_for_testing call.
3572 (srcfile): Don't set.
3573 (restart): New procedure.
3574 (test_dprintf): New procecure, use to continue over dprintfs.
3575 (test_call, test_agent): New procedures, tests moved here.
3576 Restart gdb and recreate dprintfs. Adjust expected output.
3578 2015-07-29 Pedro Alves <palves@redhat.com>
3580 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3582 2015-07-29 Pedro Alves <palves@redhat.com>
3584 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3586 2015-07-29 Pedro Alves <palves@redhat.com>
3588 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3591 2015-07-29 Pedro Alves <palves@redhat.com>
3593 * lib/gdb.exp (gdb_test_stdio): New procedure.
3595 2015-07-29 Pedro Alves <palves@redhat.com>
3597 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3599 2015-07-29 Pedro Alves <palves@redhat.com>
3601 * gdb.base/call-signal-resume.exp: Remove check for
3602 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3603 * gdb.base/unwindonsignal.exp: Likewise.
3604 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3605 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3607 2015-07-29 Pedro Alves <palves@redhat.com>
3609 * gdb.base/siginfo-addr.c (pass): New function.
3610 (handler): Call it iff si_addr is correct.
3611 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3612 Set a breakpoint at "pass" and continue to it.
3614 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3616 * gdb.python/py-objfile.exp: Make some tests have unique names.
3617 * gdb.python/py-pp-registration.exp: Likewise.
3619 2015-07-28 Pedro Alves <palves@redhat.com>
3621 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3623 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3625 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3627 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3629 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3631 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3633 * gdb.base/gdb-sigterm-2.exp: New test.
3635 2015-07-25 Doug Evans <xdje42@gmail.com>
3638 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3639 (workers/%.worker, build-perf): New rule.
3640 (GDB_PERFTEST_MODE): New variable.
3641 (check-perf): Use it.
3642 (clean): Clean up gdb.perf parallel build subdirs.
3643 * lib/build-piece.exp: New file.
3644 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3645 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3647 (standard_temp_file): Ditto.
3648 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3651 2015-07-24 Doug Evans <dje@google.com>
3653 * gdb.perf/lib/perftest/utils.py: New file.
3654 * gdb.perf/gm-hello.cc: New file.
3655 * gdb.perf/gm-pervasive-typedef.cc: New file.
3656 * gdb.perf/gm-pervasive-typedef.h: New file.
3657 * gdb.perf/gm-std.cc: New file.
3658 * gdb.perf/gm-std.h: New file.
3659 * gdb.perf/gm-use-cerr.cc: New file.
3660 * gdb.perf/gm-utils.h: New file.
3661 * gdb.perf/gmonster-null-lookup.py: New file.
3662 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3663 * gdb.perf/gmonster-print-cerr.py: New file.
3664 * gdb.perf/gmonster-ptype-string.py: New file.
3665 * gdb.perf/gmonster-runto-main.py: New file.
3666 * gdb.perf/gmonster-select-file.py: New file.
3667 * gdb.perf/gmonster1-null-lookup.exp: New file.
3668 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3669 * gdb.perf/gmonster1-print-cerr.exp: New file.
3670 * gdb.perf/gmonster1-ptype-string.exp: New file.
3671 * gdb.perf/gmonster1-runto-main.exp: New file.
3672 * gdb.perf/gmonster1-select-file.exp: New file.
3673 * gdb.perf/gmonster1.cc: New file.
3674 * gdb.perf/gmonster1.exp: New file.
3675 * gdb.perf/gmonster2-null-lookup.exp: New file.
3676 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3677 * gdb.perf/gmonster2-print-cerr.exp: New file.
3678 * gdb.perf/gmonster2-ptype-string.exp: New file.
3679 * gdb.perf/gmonster2-runto-main.exp: New file.
3680 * gdb.perf/gmonster2-select-file.exp: New file.
3681 * gdb.perf/gmonster2.cc: New file.
3682 * gdb.perf/gmonster2.exp: New file.
3684 2015-07-24 Doug Evans <dje@google.com>
3686 * gdb.perf/README: New file.
3687 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3688 * lib/gen-perf-test.exp: New file.
3690 2015-07-24 Doug Evans <dje@google.com>
3692 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3693 (PerfTest::startup): New function.
3694 (PerfTest::run): Return result of calling body.
3695 (PerfTest::assemble): Rewrite.
3696 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3697 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3698 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3699 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3700 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3702 2015-07-24 Doug Evans <dje@google.com>
3704 * lib/gdb.exp (clean_restart): Make executable optional.
3706 2015-07-24 Doug Evans <dje@google.com>
3708 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3709 compiler_info references.
3710 * gdb.cp/temargs.exp: Ditto.
3711 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3712 (get_compiler_info): Early exit if already computed. Set compiler_info
3713 to "unknown" if there was a problem.
3714 (test_compiler_info): Add function comment. Call get_compiler_info.
3716 2015-07-24 Doug Evans <dje@google.com>
3718 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3719 (workers/%.worker, build-perf): New rule.
3720 (GDB_PERFTEST_MODE): New variable.
3721 (check-perf): Use it.
3722 (clean): Clean up gdb.perf parallel build subdirs.
3723 * lib/build-piece.exp: New file.
3724 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3725 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3727 (standard_temp_file): Ditto.
3728 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3731 2015-07-24 Doug Evans <dje@google.com>
3733 * lib/future.exp (gdb_default_target_compile): New option
3735 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3738 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3740 * gdb.base/catch-syscall.exp: Call gdb_exit before
3743 2015-07-24 Pedro Alves <palves@redhat.com>
3745 * gdb.python/py-events.exp: Accept output between the stop event
3747 * gdb.python/py-evsignal.exp: Likewise.
3748 * gdb.python/py-evthreads.exp: Likewise.
3750 2015-07-24 Pedro Alves <palves@redhat.com>
3753 * gdb.threads/non-ldr-exit.c: New file.
3754 * gdb.threads/non-ldr-exit.exp: New file.
3756 2015-07-24 Yao Qi <yao.qi@linaro.org>
3758 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3761 2015-07-24 Yao Qi <yao.qi@linaro.org>
3763 * gdb.server/ext-restart.exp: New file.
3765 2015-07-24 Yao Qi <yao.qi@linaro.org>
3767 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3769 * gdb.server/ext-wrapper.exp: New file.
3771 2015-07-23 Doug Evans <dje@google.com>
3773 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3774 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3776 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3778 * gdb.ada/var_arr_typedef.exp: New testcase.
3779 * gdb.ada/var_arr_typedef/pack.adb: New file.
3780 * gdb.ada/var_arr_typedef/pack.ads: New file.
3781 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3783 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3785 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3787 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3789 * gdb.arch/i386-biarch-core.exp: Replace istarget
3790 by "complete set gnutarget". Remove expectation for the "core-file"
3793 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3795 Revert the previous commit:
3796 Tests for validate symbol file using build-id.
3798 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3800 Tests for validate symbol file using build-id.
3801 * gdb.base/solib-mismatch-lib.c: New file.
3802 * gdb.base/solib-mismatch-libmod.c: New file.
3803 * gdb.base/solib-mismatch.c: New file.
3804 * gdb.base/solib-mismatch.exp: New file.
3806 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3808 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3810 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3811 * gdb.base/siginfo.exp: Likewise.
3812 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3814 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3816 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3818 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3820 * gdb.trace/range-stepping.exp: Check that the target supports
3823 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3825 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3827 2015-07-14 Pedro Alves <palves@redhat.com>
3829 * gdb.base/killed-outside.exp: New file.
3830 * gdb.base/killed-outside.c: New file.
3832 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3834 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3836 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3838 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3840 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3841 infcall tests instead of setting up for KFAIL.
3843 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3845 * gdb.btrace/record_goto-step.exp: New.
3847 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3850 * gdb.compile/compile.c (struct struct_type): Add volatile to
3852 * gdb.compile/compile.exp
3853 (compile code struct_object.selffield = &struct_object): Skip further
3854 struct_object tests if this one xfails.
3856 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3859 * gdb.trace/ax.exp: Add test.
3861 2015-07-07 Yao Qi <yao.qi@linaro.org>
3863 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3864 instead of istarget "aarch64*-*-*".
3865 * gdb.arch/aarch64-fp.exp: Likewise.
3866 * gdb.base/float.exp: Likewise.
3867 * gdb.reverse/aarch64.exp: Likewise.
3868 * lib/gdb.exp (is_aarch64_target): New proc.
3870 2015-07-07 Yao Qi <yao.qi@linaro.org>
3872 * lib/gdb.exp (is_aarch32_target): New proc.
3873 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3874 instead of "istarget "arm*-*-*"".
3875 * gdb.arch/arm-disp-step.exp: Likewise.
3876 * gdb.arch/thumb-bx-pc.exp: Likewise.
3877 * gdb.arch/thumb-prologue.exp: Likewise.
3878 * gdb.arch/thumb-singlestep.exp: Likewise.
3879 * gdb.base/disp-step-syscall.exp: Likewise.
3880 * gdb.base/float.exp: Likewise.
3882 2015-07-07 Yao Qi <yao.qi@linaro.org>
3884 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3885 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3887 2015-07-07 Yao Qi <yao.qi@linaro.org>
3889 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3890 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3892 * gdb.multi/multi-arch.exp: Likewise.
3894 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3896 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3899 2015-07-07 Yao Qi <yao.qi@linaro.org>
3901 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3903 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3905 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3906 '[' and ']' characters.
3908 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3910 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3912 2015-06-29 Pedro Alves <palves@redhat.com>
3915 * gdb.threads/hand-call-new-thread.c: New file.
3916 * gdb.threads/hand-call-new-thread.c: New file.
3918 2015-06-26 Keith Seitz <keiths@redhat.com>
3919 Doug Evans <dje@google.com>
3922 * gdb.cp/var-tag-2.cc: New file.
3923 * gdb.cp/var-tag-3.cc: New file.
3924 * gdb.cp/var-tag-4.cc: New file.
3925 * gdb.cp/var-tag.cc: New file.
3926 * gdb.cp/var-tag.exp: New file.
3928 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3930 * gdb.base/history-duplicates.exp: New test.
3932 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3934 * gdb.base/completion.exp: Test the completion of the "focus"
3937 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3939 * gdb.arch/amd64-prologue-skip.S: New file.
3940 * gdb.arch/amd64-prologue-skip.exp: New file.
3942 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3944 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3945 is_address_zero_readable check.
3947 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3949 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3950 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3952 2015-06-24 Yao Qi <yao.qi@linaro.org>
3954 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3957 2015-06-24 Yao Qi <yao.qi@linaro.org>
3959 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3960 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3961 * gdb.base/siginfo-thread.exp: Likewise.
3963 2015-06-22 Yao Qi <yao.qi@linaro.org>
3965 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3967 2015-06-22 Yao Qi <yao.qi@linaro.org>
3969 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3971 (skip_hw_watchpoint_tests): Likewise.
3973 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3975 * gdb.base/gdbinit-history.exp: Test the interaction between
3976 setting GDBHISTSIZE and setting the history size via .gdbinit.
3978 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3981 * gdb.base/gdbhistsize-history.exp: New test.
3983 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3985 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3987 * gdb.base/readline.exp: Likewise.
3989 2015-06-17 Yao Qi <yao.qi@linaro.org>
3991 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3994 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3996 * gdb.base/gdbinit-history.exp: Add test case to check that
3997 an unlimited history file does not get truncated on exit.
3999 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4001 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4002 (VECTOR): New macro. Use it...
4003 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4004 ...for these typedefs.
4005 (int8, char1, int1, double1): New typedefs.
4006 (struct just_int2, struct two_int2): New structures.
4007 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4008 (add_structvecs, add_singlevecs): New functions.
4009 (main): Call add_some_intvecs twice.
4010 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4011 the compile and exit upon failure. Try compiling for the "native"
4012 architecture. Test inferior function calls with vector arguments
4013 and vector return value handling with "finish" and "return".
4015 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4017 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4018 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4020 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4022 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4024 PR breakpoints/16465
4025 * gdb.mi/mi-dprintf-pending.c: New file.
4026 * gdb.mi/mi-dprintf-pending.exp: New test.
4027 * gdb.mi/mi-dprintf-pendshr.c: New file.
4029 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4030 Mircea Gherzan <mircea.gherzan@intel.com>
4032 * gdb.arch/i386-mpx-map.c: New file.
4033 * gdb.arch/i386-mpx-map.exp: New File.
4035 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4037 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4038 * gdb.arch/i386-mpx.exp: Indentation fixed.
4040 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4042 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4043 function and improved indentation.
4044 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4045 gdb_test_multiple. Added additional tests to skip the test.
4047 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4049 * gdb.arch/i386-avx512.c: Change path in include file.
4050 * gdb.arch/i386-avx512.exp: Change include dir path
4052 * gdb.arch/i386-mpx.c: Change path in include file.
4053 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4056 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4058 * gdb.compile/compile-print.exp (compile print *vararray@3)
4059 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4061 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4063 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4064 (do not keep jit in memory): ... this.
4065 (expect 5): Change it to ...
4066 (expect no 5): ... this.
4068 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4071 * gdb.mi/mi-detach.exp: New file.
4073 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4076 * gdb.arch/amd64-tailcall-self.S: New file.
4077 * gdb.arch/amd64-tailcall-self.c: New file.
4078 * gdb.arch/amd64-tailcall-self.exp: New file.
4080 2015-05-28 Don Breazeal <donb@codesourcery.com>
4082 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4083 tests for remote targets by checking is_target_gdbserver.
4085 2015-05-27 Doug Evans <dje@google.com>
4087 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4088 * gdb.dwarf2/opaque-type-lookup.c: New file.
4089 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4091 2015-05-26 Doug Evans <dje@google.com>
4093 * gdb.cp/iostream.cc: New file.
4094 * gdb.cp/iostream.exp: New file.
4096 2015-05-26 Doug Evans <dje@google.com>
4098 * gdb.dwarf2/dw2-op-call.exp: Update.
4099 * gdb.dwarf2/dw4-sig-types.exp: Update.
4100 * gdb.dwarf2/implptr.exp: Update.
4101 * gdb.mi/mi-cmd-param-changed.exp: Update.
4103 2015-05-26 Doug Evans <dje@google.com>
4105 * gdb.python/py-lazy-string.c: New file.
4106 * gdb.python/py-lazy-string.exp: New file.
4107 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4108 (main): Update. Add estring3.
4109 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4110 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4112 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4113 Yao Qi <yao.qi@linaro.org>
4115 * gdb.reverse/aarch64.c: New.
4116 * gdb.reverse/aarch64.exp: New.
4118 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4120 * lib/gdb.exp (supports_process_record): Return true for
4122 (supports_reverse): Likewise.
4124 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4126 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4127 Use with_test_prefix.
4129 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4131 * gdb.base/completion.exp: Add test for completion of layout
4134 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4136 * lib/gdb.exp (skip_tui_tests): New proc.
4137 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4139 2015-05-19 Pedro Alves <palves@redhat.com>
4141 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4142 Save the whole env array instead of just HOME. Unset HISTSIZE in
4143 the environment while testing. Restore whole environment
4146 2015-05-16 Doug Evans <xdje42@gmail.com>
4148 * gdb.guile/scm-ports.c: New file.
4149 * gdb.guile/scm-ports.exp: Add memory port tests.
4151 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4153 * gdb.compile/compile-print.c: New file.
4154 * gdb.compile/compile-print.exp: New file.
4156 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4158 * gdb.compile/compile-ops.exp: Cast param to void.
4159 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4160 (compile code struct_object.selffield = &struct_object): Add xfail.
4162 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4164 * gdb.ada/arr_enum_with_gap: New testcase.
4166 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4168 * gdb.ada/byte_packed_arr: New testcase.
4170 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4172 * gdb.ada/pckd_neg: New testcase.
4174 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4177 * gdb.base/gdbinit-history.exp: New test.
4178 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4179 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4181 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4183 * gdb.python/py-xmethods.cc: Enhance test case.
4184 * gdb.python/py-xmethods.exp: New tests.
4185 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4187 (B_indexoper): Likewise.
4188 (global_dm_list) : Add new xmethod worker functions.
4190 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4192 * gdb.base/coredump-filter.exp: Correctly unset
4193 "coredump_var_addr" array.
4195 2015-05-08 Pedro Alves <palves@redhat.com>
4197 * gdb.server/non-existing-program.exp: Unset spawn_id.
4199 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4202 * gdb.python/py-xmethods.exp: Add tests.
4204 2015-05-08 Yao Qi <yao.qi@linaro.org>
4207 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4208 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4209 function set_coredump_filter, and remove remote_exec call.
4210 Remove argument ipid. Callers update.
4211 (top level): Don't get inferior's PID.
4213 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215 * gdb.base/watch_thread_num.exp: Skip test on targets without
4218 2015-05-06 Pedro Alves <palves@redhat.com>
4221 * gdb.server/non-existing-program.exp: New file.
4223 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4225 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4227 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4229 * gdb.ada/out_of_line_in_inlined: New testcase.
4231 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4233 * gdb.ada/var_rec_arr: New testcase.
4235 2015-04-30 Yao Qi <yao.qi@linaro.org>
4237 * gdb.base/break-idempotent.exp: If
4238 skip_hw_watchpoint_multi_tests returns true, skip the tests
4239 on "rwatch" and "awatch".
4241 2015-04-30 Yao Qi <yao.qi@linaro.org>
4243 * gdb.base/relativedebug.exp: Invoke gdb command
4244 "info sharedlibrary", and if libc.so doesn't have debug info,
4247 2015-04-29 Doug Evans <dje@google.com>
4249 * gdb.python/py-xmethods.exp: Add ptype tests.
4250 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4251 get_result_type method.
4253 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4255 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4256 the target does not support hardware watchpoints.
4258 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4260 * gdb.base/break-always.exp: Abort testing if writing to memory
4263 2015-04-28 Doug Evans <dje@google.com>
4265 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4266 * gdb.python/py-pp-registration.exp: ... here. New file.
4267 * gdb.python/py-pp-registration.c: New file.
4268 * gdb.python/py-pp-registration.py: New file.
4270 2015-04-28 Doug Evans <dje@google.com>
4272 * gdb.python/py-bad-printers.c: New file.
4273 * gdb.python/py-bad-printers.py: New file.
4274 * gdb.python/py-bad-printers.exp: New file.
4276 2015-04-28 Sasha Smundak <asmundak@google.com>
4278 * gdb.python/py-type.exp: New test.
4280 2015-04-28 Andy Wingo <wingo@igalia.com>
4282 * gdb.python/py-parameter.exp:
4283 * gdb.guile/scm-parameter.exp: Escape the path that we are
4284 matching against, as it might contain characters that are special
4285 to regular expressions.
4287 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4289 * gdb.ada/rec_comp: New testcase.
4291 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4293 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4296 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4298 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4299 new tests for verilog output.
4301 2015-04-24 Yao Qi <yao.qi@linaro.org>
4303 * boards/remote-gdbserver-on-localhost.exp: New file.
4305 2015-04-23 Pedro Alves <palves@redhat.com>
4307 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4308 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4309 "end of file", remove $inferior_spawn_id from the indirect list.
4311 2015-04-23 Pedro Alves <palves@redhat.com>
4313 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4315 2015-04-23 Pedro Alves <palves@redhat.com>
4317 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4318 on $any_spawn_id instead of only on $gdb_spawn_id.
4320 2015-04-21 Pierre Muller <muller@sourceware.org>
4323 * lib/pascal.exp (gpc_compile): Add new option "class".
4324 (fpc_compile): Likewise.
4325 * gdb.pascal/case-insensitive-symbols.pas: New file.
4326 * gdb.pascal/case-insensitive-symbols.exp: New file.
4328 2015-04-20 Gary Benson <gbenson@redhat.com>
4330 * gdb.base/attach.exp: Fix three extended remote failures.
4332 2015-04-17 Gary Benson <gbenson@redhat.com>
4334 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4335 the main executable over the remote protocol.
4337 2015-04-16 Pedro Alves <palves@redhat.com>
4339 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4340 a new gdbserver if gdbserver_reconnect_p is set.
4342 2015-04-16 Pedro Alves <palves@redhat.com>
4344 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4345 is set, don't exit gdbserver.
4347 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4349 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4350 appropriate .insn, such that an older assembler can be used.
4351 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4352 the z/Architecture instruction set on 31-bit targets as well.
4354 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4356 * gdb.go/handcall.exp: Remove all logic related to the first
4357 breakpoint and rely on go_runto_main instead.
4358 * gdb.go/strings.exp: Likewise.
4359 * gdb.go/unsafe.exp: Likewise.
4360 * gdb.go/hello.exp: Likewise. Also rename the remaining
4361 breakpoint marker to "breakpoint 1".
4362 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4363 * gdb.go/strings.go: Likewise.
4364 * gdb.go/unsafe.go: Likewise.
4365 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4366 "set breakpoint 2 here" and rename the remaining breakpoint marker
4369 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4371 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4372 if itertools.imap is not present.
4373 * gdb.python/py-objfile.exp: Add parentheses.
4374 * gdb.python/py-type.exp: Same.
4375 * gdb.python/py-unwind-maint.py: Same.
4377 2015-04-15 Yao Qi <yao.qi@linaro.org>
4379 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4380 of ":$ptr_size" and set its form explicitly.
4382 2015-04-15 Pedro Alves <palves@redhat.com>
4383 Yao Qi <yao.qi@linaro.org>
4385 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4386 timeout by factor of 4.
4387 (test_regular_watch): Likewise.
4388 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4389 * gdb.reverse/sigall-reverse.exp: Likewise.
4390 * gdb.reverse/until-precsave.exp: Likewise.
4391 * lib/gdb.exp (with_timeout_factor): New proc.
4392 (gdb_expect): Move some code to ...
4393 (get_largest_timeout): ... here. New procedure.
4395 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4397 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4399 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4401 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4402 to write to the .text section.
4404 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4406 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4407 Handle the case of targets that do not provide PID information.
4409 2015-04-13 Yao Qi <yao.qi@linaro.org>
4411 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4412 and use expect instead of gdb_expect.
4414 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4416 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4417 "coredump_var_addr" to avoid naming conflict with other testcases.
4419 2015-04-10 Pedro Alves <palves@redhat.com>
4421 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4422 gdb_test_sequence and gdb_assert.
4424 2015-04-10 Pedro Alves <palves@redhat.com>
4426 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4427 test messages that don't include the breakpoint address.
4429 2015-04-10 Yao Qi <yao.qi@linaro.org>
4431 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4432 false for some offset and width combinations which aren't
4433 supported by linux kernel.
4435 2015-04-10 Pedro Alves <palves@redhat.com>
4437 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4438 procedure, factored out from ...
4439 (top level): ... here. Add "set displaced-stepping" testing axis.
4440 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4441 parameter "displaced". Use it.
4442 (top level): Use foreach and add "set displaced-stepping" testing
4445 2015-04-10 Pedro Alves <palves@redhat.com>
4447 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4449 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4450 both the address of the instruction that triggers the watchpoint
4451 and the address of the instruction immediately after, and use
4452 those addresses for the test. Fix comment.
4454 2015-04-10 Pedro Alves <palves@redhat.com>
4456 * gdb.base/sigstep.exp (breakpoint_to_handler)
4457 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4458 Test "backtrace" in handler.
4459 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4460 (top level): Add new "displaced" test axis to
4461 breakpoint_to_handler, breakpoint_to_handler_entry and
4462 breakpoint_over_handler.
4464 2015-04-10 Pedro Alves <palves@redhat.com>
4467 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4469 2015-04-10 Yao Qi <yao.qi@linaro.org>
4471 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4472 (test_add_rn_pc): New function.
4473 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4474 (top level): Invoke test_add_rn_pc.
4476 2015-04-10 Pedro Alves <palves@redhat.com>
4479 * gdb.base/step-over-no-symbols.exp: New file.
4481 2015-04-09 Andy Wingo <wingo@igalia.com>
4483 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4484 after the Python tests.
4486 2015-04-08 Keith Seitz <keiths@redhat.com>
4489 * gdb.python/py-completion.exp: New tests for completion.
4490 * gdb.python/py-completion.py (CompleteLimit1): New class.
4491 (CompleteLimit2): Likewise.
4492 (CompleteLimit3): Likewise.
4493 (CompleteLimit4): Likewise.
4494 (CompleteLimit5): Likewise.
4495 (CompleteLimit6): Likewise.
4496 (CompleteLimit7): Likewise.
4498 2015-04-08 Pedro Alves <palves@redhat.com>
4502 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4504 (main): Install it as SIGUSR1 handler.
4505 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4506 parameter. Always use "setup" as prefix. Toggle "set
4507 displaced-stepping" off/on depending on global. Don't switch to
4509 (top level): Add displaced stepping "off/on" test axis. Update
4510 "setup" calls. Wrap each subtest with with_test_prefix. Test
4511 continuing with a queued signal in each thread.
4513 2015-04-08 Pedro Alves <palves@redhat.com>
4515 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4516 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4517 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4518 Return early if running to main fails.
4519 * gdb.trace/while-stepping.exp: Likewise.
4521 2015-04-07 Pedro Alves <palves@redhat.com>
4523 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4524 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4525 interact with inferior program.
4527 2015-04-07 Pedro Alves <palves@redhat.com>
4529 * lib/gdb.exp (inferior_spawn_id): New global.
4530 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4531 spawn id after processing the user code.
4532 (default_gdb_start): Set inferior_spawn_id.
4533 (send_inferior): New procedure.
4534 * lib/gdbserver-support.exp (gdbserver_start): Set
4536 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4538 2015-04-07 Pedro Alves <palves@redhat.com>
4540 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4541 * lib/gdbserver-support.exp (gdbserver_start): Make
4542 $server_spawn_id global.
4543 (gdbserver_start): Don't wait for gdbserver's spawn id with
4545 (close_gdbserver): New procedure.
4546 (gdb_exit): Rename the default version and reimplement.
4548 2015-04-07 Pedro Alves <palves@redhat.com>
4550 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4551 append the substituted item, not the original item.
4553 2015-04-07 Pedro Alves <palves@redhat.com>
4555 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4558 2015-04-07 Pedro Alves <palves@redhat.com>
4560 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4561 output appearing once only.
4563 2015-04-07 Pedro Alves <palves@redhat.com>
4565 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4566 that doesn't expect anything. Return early if running to main
4569 2015-04-07 Yao Qi <yao.qi@linaro.org>
4571 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4572 (child_function): Call alarm.
4573 (main): Move call to alarm into the loop.
4574 * gdb.threads/non-stop-fair-events.exp: Build program with
4577 2015-04-06 Doug Evans <xdje42@gmail.com>
4579 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4580 Fix dest parameter to board_info.
4581 (fpc_compile): Ditto.
4582 (gdb_compile_pascal): Rename dest arg to destfile.
4584 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4586 * gdb.ada/funcall_ref.exp: New file.
4587 * gdb.ada/funcall_ref/foo.adb: New file.
4589 2015-04-02 Yao Qi <yao.qi@linaro.org>
4591 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4594 2015-04-02 Gary Benson <gbenson@redhat.com>
4596 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4598 2015-04-01 Sasha Smundak <asmundak@google.com>
4600 * gdb.python/py-unwind-maint.c: New file.
4601 * gdb.python/py-unwind-maint.exp: New test.
4602 * gdb.python/py-unwind-maint.py: New file.
4603 * gdb.python/py-unwind.c: New file.
4604 * gdb.python/py-unwind.exp: New test.
4605 * gdb.python/py-unwind.py: New test.
4607 2015-04-01 Pedro Alves <palves@redhat.com>
4609 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4610 to fail instead of non-existent $test.
4612 2015-04-01 Pedro Alves <palves@redhat.com>
4614 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4615 GDBFLAGS if not empty.
4617 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4619 * gdb.ada/complete.exp: Remove "multi_line".
4620 * gdb.ada/info_exc.exp: Remove "multi_line".
4621 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4622 * gdb.ada/ptype_field.exp: Remove "multi_line".
4623 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4624 * gdb.ada/tagged.exp: Remove "multi_line".
4625 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4627 * gdb.btrace/delta.exp: Likewise.
4628 * gdb.btrace/exception.exp: Likewise.
4629 * gdb.btrace/function_call_history.exp: Likewise.
4630 * gdb.btrace/instruction_history.exp: Likewise.
4631 * gdb.btrace/nohist.exp: Likewise.
4632 * gdb.btrace/record_goto.exp: Likewise.
4633 * gdb.btrace/segv.exp: Likewise.
4634 * gdb.btrace/stepi.exp: Likewise.
4635 * gdb.btrace/tailcall.exp: Likewise.
4636 * gdb.btrace/unknown_functions.exp: Likewise.
4637 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4638 * lib/gdb.exp: Add the "multi_line" helper.
4640 2015-04-01 Pedro Alves <palves@redhat.com>
4642 * gdb.threads/tid-reuse.c: New file.
4643 * gdb.threads/tid-reuse.exp: New file.
4645 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4648 * gdb.base/coredump-filter.c: New file.
4649 * gdb.base/coredump-filter.exp: Likewise.
4651 2015-03-27 Petr Machata <pmachata@redhat.com>
4653 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4654 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4655 (Dwarf::assemble): Initialize them.
4656 (Dwarf::lines): New function.
4658 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4660 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4661 SYMBOL_PREFIX for x86_64-*-cygwin.
4663 2015-03-26 Andy Wingo <wingo@igalia.com>
4666 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4667 const_value but not a location.
4668 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4669 location defined in non-main CUs are visible.
4671 2015-03-26 Yao Qi <yao.qi@linaro.org>
4674 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4675 Add a line number entry for the same line.
4676 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4677 Add a line number entry for the same line.
4679 2015-03-26 Yao Qi <yao.qi@linaro.org>
4681 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4683 (func): Likewise. Add .Lfunc_1 label.
4685 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4690 2015-03-26 Yao Qi <yao.qi@linaro.org>
4692 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4693 Call gdb_compile instead to compile each .s files without debug
4696 2015-03-26 Yao Qi <yao.qi@linaro.org>
4698 * gdb.base/savedregs.exp (process_saved_regs): Make
4699 "Saved registers:" optional in the pattern.
4701 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4703 * gdb.btrace/next.exp: Merged into step.exp.
4704 * gdb.btrace/finish.exp: Merged into step.exp.
4705 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4706 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4707 "record goto" and checking the exact replay position.
4708 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4709 check for "Recording format" in "info record" output.
4710 * gdb.btrace/record_goto.exp: Choose test file based on target.
4711 * gdb.btrace/x86-record_goto.S: Renamed into ...
4712 * gdb.btrace/x86_64-record_goto.S: ... this.
4713 * gdb.btrace/i686-record_goto.S: New.
4714 * gdb.btrace/x86-tailcall.S: Renamed into ...
4715 * gdb.btrace/x86_64-tailcall.S: ... this.
4716 * gdb.btrace/i686-tailcall.S: New.
4717 * gdb.btrace/x86-tailcall.c: Renamed into ...
4718 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4719 separate statements. Update test.
4720 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4721 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4722 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4723 * gdb.btrace/tailcall.exp: Choose test file based on target.
4724 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4726 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4728 * gdb.btrace/exception.exp: Increase BTS buffer size.
4730 2015-03-24 Pedro Alves <palves@redhat.com>
4732 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4734 2015-03-24 Pedro Alves <palves@redhat.com>
4736 * gdb.threads/schedlock.exp (test_step): No longer expect that
4737 "set scheduler-locking step" with "next" over a function call runs
4740 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4742 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4744 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4746 PR breakpoints/16466
4747 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4748 * gdb.mi/mi-pending.c (thread_func): New function.
4749 (int main): Add threading support required.
4750 * gdb.mi/mi-pending.exp: Add tests for this issue.
4751 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4752 (pendfunc2): Remove stdio dependency.
4753 * gdb.mi/mi-pendshr2.c: New file.
4755 2015-03-23 Keith Seitz <keiths@redhat.com>
4757 * gdb.linespec/keywords.c: New file.
4758 * gdb.linespec/keywords.exp: New file.
4760 2015-03-23 Keith Seitz <keiths@redhat.com>
4763 * gdb.dwarf2/staticvirtual.exp: New test.
4765 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4767 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4768 * README: Remove HP-UX and gdb.hp.
4770 * configure: Regenerate.
4771 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4772 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4773 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4774 gdb.hp/gdb.defects/Makefile.
4775 * gdb.hp/Makefile.in: File deleted.
4776 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4777 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4778 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4779 * gdb.hp/gdb.aCC/run.c: File deleted.
4780 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4781 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4782 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4783 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4784 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4785 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4786 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4787 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4788 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4789 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4790 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4791 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4792 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4793 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4794 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4795 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4796 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4797 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4798 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4799 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4800 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4801 * gdb.hp/gdb.compat/average.c: File deleted.
4802 * gdb.hp/gdb.compat/sum.c: File deleted.
4803 * gdb.hp/gdb.compat/xdb.c: File deleted.
4804 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4805 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4806 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4807 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4808 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4809 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4810 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4811 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4812 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4813 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4814 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4815 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4816 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4817 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4818 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4819 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4820 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4821 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4822 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4823 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4824 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4825 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4826 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4827 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4828 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4829 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4830 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4831 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4832 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4833 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4834 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4835 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4836 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4837 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4838 * gdb.hp/tools/odump: File deleted.
4840 2015-03-19 Pedro Alves <palves@redhat.com>
4842 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4843 (saw_thread_3): New globals.
4844 (top level): Increment them when an event for the corresponding
4846 (no thread starvation): New test.
4848 2015-03-19 Pedro Alves <palves@redhat.com>
4850 * gdb.threads/continue-pending-status.c: New file.
4851 * gdb.threads/continue-pending-status.exp: New file.
4853 2015-03-18 Pedro Alves <palves@redhat.com>
4855 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4856 Use gdb_is_target_remote instead of is_remote. Use
4857 gdb_test_multiple instead of gdb_expect. Exit early if
4858 gdb_test_multiple hits its internal matches. Tighten stepi tests
4859 expected output. Fail on exit with any signal, instead of just
4862 2015-03-18 Yao Qi <yao.qi@linaro.org>
4865 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4867 * gdb.base/catch-syscall.exp: Don't skip it on
4868 aarch64*-*-linux* target. Remove elements in all_syscalls.
4869 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4871 (setup_all_syscalls): New proc.
4873 2015-03-16 Yao Qi <yao.qi@linaro.org>
4875 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4876 (top level): Skip tests if valid_addr_p returns false for
4879 2015-03-11 Andy Wingo <wingo@igalia.com>
4881 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4883 2015-03-11 Yao Qi <yao.qi@linaro.org>
4885 * gdb.base/catch-syscall.exp: Fix typo in comments.
4887 2015-03-11 Yao Qi <yao.qi@linaro.org>
4889 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4891 2015-03-09 Pedro Alves <palves@redhat.com>
4893 * dg-extract-results.py: Delete.
4895 2015-03-09 Pedro Alves <palves@redhat.com>
4897 Merge dg-extract-results.sh from GCC upstream (r218843).
4899 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4900 * dg-extract-results.sh: Use --text with grep to avoid issues with
4901 binary files. Fall back to cat -v, if that doesn't work.
4903 2015-03-05 Pedro Alves <palves@redhat.com>
4905 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4907 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4909 * lib/mi-support.exp (mi_expect_interrupt): Accept
4910 alternative event for when in all-stop mode.
4912 2015-03-04 Pedro Alves <palves@redhat.com>
4914 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4916 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4918 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4920 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4922 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4923 regexps for GDB's current line display, accept a hex address
4924 preceding the line number.
4926 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4929 the 'arch1' variable for "s390*-linux*" targets.
4931 2015-03-04 Pedro Alves <palves@redhat.com>
4933 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4934 (main): Pass missing retval argument to pthread_join call.
4936 2015-03-02 Pedro Alves <palves@redhat.com>
4938 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4939 (top level): Call do_test with non-stop as well.
4941 2015-03-02 Pedro Alves <palves@redhat.com>
4943 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4946 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4948 * gdb.arch/s390-vregs.exp: New test.
4949 * gdb.arch/s390-vregs.S: New file.
4951 2015-02-27 Pedro Alves <palves@redhat.com>
4953 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4954 call to catch_command_errors.
4955 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4956 catch_command_errors.
4958 2015-02-27 Pedro Alves <palves@redhat.com>
4960 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4961 "true" for boolean result.
4962 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4965 2015-02-27 Pedro Alves <palves@redhat.com>
4967 * lib/unbuffer_output.c: New file.
4968 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4969 (main): Call gdb_unbuffer_output.
4971 2015-02-27 Yao Qi <yao.qi@linaro.org>
4973 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4976 2015-02-26 Doug Evans <dje@google.com>
4978 * gdb.cp/class2.cc (Dbase, D): New classes.
4979 (main): New local delta.
4980 * gdb.cp/class2.exp: Test printing delta.
4981 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4982 (dynbar): New global.
4983 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4985 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4987 * gdb.compile/compile-ifunc.c: New file.
4988 * gdb.compile/compile-ifunc.exp: New file.
4990 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4992 * gdb.base/structs.exp: Check for correct struct on finish.
4994 2015-02-26 Yao Qi <yao.qi@linaro.org>
4996 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4999 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5001 * gdb.arch/cordic.ko.bz2: New file.
5002 * gdb.arch/cordic.ko.debug.bz2: New file.
5003 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5005 2015-02-25 Yao Qi <yao.qi@linaro.org>
5007 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5008 aarch64*-*-* target.
5010 2015-02-23 Pedro Alves <palves@redhat.com>
5012 * lib/gdb.exp (delete_breakpoints): Rewrite using
5015 2015-02-23 Pedro Alves <palves@redhat.com>
5017 * gdb.base/info-os.c: Include stdlib.h.
5019 2015-02-22 Doug Evans <xdje42@gmail.com>
5022 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5023 is read after symbols have been re-read.
5024 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5025 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5027 2015-02-21 Doug Evans <dje@google.com>
5029 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5031 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5034 * gdb.arch/i386-biarch-core.core.bz2: New file.
5035 * gdb.arch/i386-biarch-core.exp: New file.
5037 2015-02-21 Pedro Alves <palves@redhat.com>
5039 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5042 2015-02-20 Pedro Alves <palves@redhat.com>
5044 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5047 2015-02-20 Pedro Alves <palves@redhat.com>
5049 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5051 2015-02-20 Pedro Alves <palves@redhat.com>
5053 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5054 clean_restart before gdb_target_supports_trace.
5056 2015-02-20 Pedro Alves <palves@redhat.com>
5059 * gdb.threads/clone-thread_db.c: New file.
5060 * gdb.threads/clone-thread_db.exp: New file.
5062 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5064 PR breakpoints/16812
5065 * gdb.base/catch-gdb-caused-signals.c: New file.
5066 * gdb.base/catch-gdb-caused-signals.exp: New file.
5068 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5070 * configure: Regenerated.
5071 * configure.ac: Use GDB_AC_TRANSFORM.
5072 * aclocal.m4: sinclude ../transform.m4.
5074 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5076 * lib/dtrace.exp: New file.
5077 * gdb.base/dtrace-probe.exp: Likewise.
5078 * gdb.base/dtrace-probe.d: Likewise.
5079 * gdb.base/dtrace-probe.c: Likewise.
5080 * lib/pdtrace.in: Likewise.
5081 * configure.ac: Output variables with the transformed names of
5082 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5083 * configure: Regenerated.
5085 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5087 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5088 expected message when trying to access $_probe_* convenience
5089 variables while not on a probe.
5091 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5093 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5095 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5097 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5098 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5100 2015-02-10 Doug Evans <xdje42@gmail.com>
5102 * lib/gdb.exp (gdb_load): Always return a result.
5104 2015-02-10 Pedro Alves <palves@redhat.com>
5106 * gdb.threads/signal-sigtrap.c: New file.
5107 * gdb.threads/signal-sigtrap.exp: New file.
5109 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5111 * gdb.trace/no-attach-trace.c: New file.
5112 * gdb.trace/no-attach-trace.exp: New file.
5114 2015-02-09 Mark Wielaard <mjw@redhat.com>
5116 * gdb.dwarf2/atomic.c: New file.
5117 * gdb.dwarf2/atomic-type.exp: Likewise.
5119 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5121 * gdb.btrace/buffer-size.exp: Update "info record" output.
5122 * gdb.btrace/delta.exp: Update "info record" output.
5123 * gdb.btrace/enable.exp: Update "info record" output.
5124 * gdb.btrace/finish.exp: Update "info record" output.
5125 * gdb.btrace/instruction_history.exp: Update "info record" output.
5126 * gdb.btrace/next.exp: Update "info record" output.
5127 * gdb.btrace/nexti.exp: Update "info record" output.
5128 * gdb.btrace/step.exp: Update "info record" output.
5129 * gdb.btrace/stepi.exp: Update "info record" output.
5130 * gdb.btrace/nohist.exp: Update "info record" output.
5132 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5134 * gdb.btrace/buffer-size: New.
5136 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5138 * gdb.btrace/delta.exp: Update "info record" output.
5139 * gdb.btrace/enable.exp: Update "info record" output.
5140 * gdb.btrace/finish.exp: Update "info record" output.
5141 * gdb.btrace/instruction_history.exp: Update "info record" output.
5142 * gdb.btrace/next.exp: Update "info record" output.
5143 * gdb.btrace/nexti.exp: Update "info record" output.
5144 * gdb.btrace/step.exp: Update "info record" output.
5145 * gdb.btrace/stepi.exp: Update "info record" output.
5146 * gdb.btrace/nohist.exp: Update "info record" output.
5148 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5151 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5153 2015-02-06 Pedro Alves <palves@redhat.com>
5155 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5157 (seconds_left, again): New globals.
5158 (main): Wait seconds_left in a 1-second sleep loop instead of
5159 sleeping 180 seconds. If 'again' is set, reset the seconds
5161 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5162 'again' in the inferior before detaching. Print the seconds left.
5163 (options): New global.
5164 (top level): Build program with -DTIMEOUT=$timeout.
5166 2015-02-06 Pedro Alves <palves@redhat.com>
5168 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5169 determine how many seconds to pass to 'alarm'.
5170 * gdb.base/gdb-sigterm.exp (top level): Build program with
5172 (do_test): Return success/failure indication. Add more verbose
5173 logging. Don't fail if 200 single steps are seen. Instead, fail
5174 when the test times out.
5175 (passes): New global.
5176 (top level): Break the testing loop if testing fails on any
5177 iteration. Use gdb_assert.
5179 2015-02-04 Don Breazeal <donb@codesourcery.com>
5181 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5182 and initialize them.
5183 (ipc_cleanup): New function.
5184 (main): Don't declare shmid, semid, and msqid. Add a call to
5185 atexit so that we call ipc_cleanup on exit.
5187 2015-02-04 Pedro Alves <palves@redhat.com>
5189 * boards/native-extended-gdbserver.exp: Remove any target variant
5190 specifications from the board name before clearing the isremote
5191 flag from board_info.
5193 2015-01-31 Doug Evans <xdje42@gmail.com>
5195 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5197 2015-01-31 Gary Benson <gbenson@redhat.com>
5199 * gdb.base/completion.exp: Disable completion limiting for
5200 existing tests. Add new tests to check completion limiting.
5201 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5203 2015-01-31 Doug Evans <xdje42@gmail.com>
5205 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5207 2015-01-31 Doug Evans <xdje42@gmail.com>
5209 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5210 entries. Duplicate file section script entries.
5211 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5212 inlined entries. Add test for safe-path rejection.
5213 * gdb.python/py-section-script.c: Add duplicate inlined section script
5214 entries. Duplicate file section script entries.
5215 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5216 inlined entries. Add test for safe-path rejection.
5218 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5220 * gdb.ada/disc_arr_bound: New testcase.
5222 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5224 * gdb.ada/mi_var_array: New testcase.
5226 2015-01-27 Doug Evans <dje@google.com>
5228 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5229 Add test for objfile.filename, objfile.username after objfile
5232 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5234 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5235 the second test to print the name attribute of value
5236 returned by the call to gdb.lookup_type, and adjust
5237 the expected output accordingly.
5239 2015-01-25 Mark Wielaard <mjw@redhat.com>
5241 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5242 * gdb.base/disp-step-fork.c: Include unistd.h.
5243 * gdb.base/siginfo-obj.c: Include stdio.h.
5244 * gdb.base/siginfo-thread.c: Likewise.
5245 * gdb.mi/non-stop.c: Include unistd.h.
5246 * gdb.mi/nsthrexec.c: Include stdio.h.
5247 * gdb.mi/pthreads.c: Include unistd.h.
5248 * gdb.modula2/unbounded1.c (main): Declare returns int.
5249 * gdb.reverse/consecutive-reverse.c: Likewise.
5250 * gdb.threads/create-fail.c: Include unistd.h.
5251 * gdb.threads/killed.c: Likewise.
5252 * gdb.threads/linux-dp.c: Likewise.
5253 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5254 * gdb.threads/non-ldr-exc-2.c: Likewise.
5255 * gdb.threads/non-ldr-exc-3.c: Likewise.
5256 * gdb.threads/non-ldr-exc-4.c: Likewise.
5257 * gdb.threads/pthreads.c: Include unistd.h.
5258 (main): Declare returns int.
5259 * gdb.threads/tls-main.c (foo): New declaration.
5260 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5262 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5264 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5265 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5267 2015-01-15 Mark Wielaard <mjw@redhat.com>
5269 * gdb.base/noreturn-return.c: New file.
5270 * gdb.base/noreturn-return.exp: New file.
5271 * gdb.base/noreturn-finish.c: New file.
5272 * gdb.base/noreturn-finish.exp: New file.
5274 2015-01-23 Pedro Alves <palves@redhat.com>
5276 * gdb.threads/continue-pending-after-query.c: New file.
5277 * gdb.threads/continue-pending-after-query.exp: New file.
5279 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5280 Simon Marchi <simon.marchi@ericsson.com>
5282 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5283 * gdb.base/valgrind-db-attach.exp: Same.
5284 * gdb.base/valgrind-infcall.exp: Same.
5285 * lib/mi-support.exp (default_mi_gdb_start): Same.
5286 * lib/prompt.exp (default_prompt_gdb_start): Same.
5287 * lib/gdb.exp (default_gdb_spawn): Same.
5288 (gdb_interact): New.
5291 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5293 * gdb.compile/compile.exp (pointer to jit function): New test.
5295 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5297 * lib/gdb.exp (supports_process_record): Return true for
5299 (supports_reverse): Likewise.
5301 2015-01-15 Don Breazeal <donb@codesourcery.com>
5303 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5304 instead of checking whether the target board is remote and
5305 use spawn_wait_for_attach instead of exec/sleep.
5306 * gdb.base/attach-twice.exp: Likewise.
5308 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5310 * gdb.ada/var_arr_attrs: New testcase.
5312 2015-01-14 Pedro Alves <palves@redhat.com>
5313 Joel Brobecker <brobecker@adacore.com>
5316 * gdb.base/bp-cmds-execution-x-script.c: New file.
5317 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5318 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5320 2015-01-14 Pedro Alves <palves@redhat.com>
5323 * gdb.base/batch-preserve-term-settings.c: New file.
5324 * gdb.base/batch-preserve-term-settings.exp: New file.
5326 2015-01-13 Doug Evans <dje@google.com>
5328 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5331 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5333 * Makefile.in (clean mostlyclean): Do not delete *.py.
5335 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5337 * gdb.python/py-lookup-type.exp: New file.
5339 2015-01-12 Pedro Alves <palves@redhat.com>
5341 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5342 restore GDBFLAGS before returning.
5344 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5346 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5347 is_amd64_regs_target and is_x86_like_target.
5349 2015-01-11 Doug Evans <xdje42@gmail.com>
5351 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5352 is given without an explicit form.
5353 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5355 * gdb.dwarf/corrupt.exp: Ditto.
5356 * gdb.dwarf2/enum-type.exp: Ditto.
5357 * gdb.trace/entry-values.exp: Ditto.
5358 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5360 2015-01-11 Doug Evans <xdje42@gmail.com>
5363 * gdb.base/maint.exp: Remove references to "maint demangle".
5364 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5365 Add tests for explicitly specifying language to demangle.
5366 * gdb.dlang/demangle.exp: Ditto.
5368 2015-01-09 Pedro Alves <palves@redhat.com>
5370 * gdb.threads/non-stop-fair-events.c: New file.
5371 * gdb.threads/non-stop-fair-events.exp: New file.
5373 2015-01-09 Pedro Alves <palves@redhat.com>
5375 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5376 the global scope. Set a breakpoint after all threads are started
5377 rather than stepping over two source lines. Expect the prompt.
5378 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5381 (main): Use threads_started_barrier to wait for all threads to
5382 start. Main thread no longer calls thread_function. Exit after
5384 (loop): New function.
5385 (thread_function): Wait on threads_started_barrier barrier. Call
5386 'loop' at each iteration.
5387 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5388 threads have started, instead of hardcoding number of "next"
5389 steps. Use an access watchpoint instead of a write watchpoint.
5391 2015-01-09 Pedro Alves <palves@redhat.com>
5393 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5394 (thread_func): Wait on barrier.
5395 (main): Wait for all threads to start before stopping GDB.
5396 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5398 (thread1_func, thread2_func): Wait on barrier.
5399 (main): Wait for all threads to start before stopping GDB.
5400 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5402 (thread1_func, thread2_func): Wait on barrier.
5403 (main): Wait for all threads to start before stopping GDB.
5405 2015-01-09 Pedro Alves <palves@redhat.com>
5407 * gdb.threads/attach-many-short-lived-threads.c: New file.
5408 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5410 2014-01-09 Pedro Alves <palves@redhat.com>
5412 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5413 instead of to thread 2.
5414 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5415 Add barrier around each pthread_create call instead of around all
5417 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5418 Set a break on thread_function and have the child threads hit it
5421 2015-01-09 Pedro Alves <palves@redhat.com>
5423 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5424 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5426 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5427 checking whether the target board is remote.
5428 * gdb.multi/multi-attach.exp: Likewise.
5429 * gdb.python/py-sync-interp.exp: Likewise.
5430 * gdb.server/ext-attach.exp: Likewise.
5431 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5432 tests that need to attach, instead of checking whether the target
5433 board is remote at the top of the file.
5435 2015-01-08 Yao Qi <yao@codesourcery.com>
5437 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5439 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5441 Fix testcase compilation.
5442 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5444 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5446 * gdb.python/py-type.exp: Add a couple test about empty
5447 array creation, and negative-length array creation.
5449 2015-01-02 Doug Evans <xdje42@gmail.com>
5451 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5453 2015-01-02 Doug Evans <dje@google.com>
5455 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5457 2014-12-29 Yao Qi <yao@codesourcery.com>
5459 * gdb.trace/entry-values.exp: Update comments. Rename variable
5460 bar_call_foo to returned_from_foo.
5462 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5465 * gdb.linespec/break-asm-file.c: New file.
5466 * gdb.linespec/break-asm-file.exp: New file.
5467 * gdb.linespec/break-asm-file0.s: New file.
5468 * gdb.linespec/break-asm-file1.s: New file.
5470 2014-12-18 Nigel Stephens <nigel@mips.com>
5471 Maciej W. Rozycki <macro@codesourcery.com>
5473 * gdb.base/float.exp: Handle the new output from "info float" on
5476 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5478 Fix MinGW compilation.
5479 * gdb.compile/compile-ops.exp: Update untested message if
5480 !skip_compile_feature_tests.
5481 * gdb.compile/compile-setjmp.exp: Likewise.
5482 * gdb.compile/compile-tls.exp: Likewise.
5483 * gdb.compile/compile.exp: Likewise.
5484 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5485 supported on this host".
5487 2014-12-16 Doug Evans <xdje42@gmail.com>
5489 * boards/stabs.exp: New file.
5491 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5493 * gdb.base/completion.exp: Adjust to format changes of "maint
5494 print user-registers".
5496 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5499 * gdb.arch/aarch64-fp.c: New file.
5500 * gdb.arch/aarch64-fp.exp: New file.
5502 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5504 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5505 r210637, r210913, r211666, r215400, r215817).
5507 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5508 * dg-extract-results.py: New file.
5509 * dg-extract-results.sh: Use it if the environment seems
5512 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5514 * dg-extract-results.py (parse_run): Handle warnings that
5515 are printed before a test harness is run.
5517 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5519 * dg-extract-results.py (Named): Remove __cmp__ method.
5520 (output_variation): Use a key to sort variation.harnesses.
5522 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5524 * dg-extract-results.py: For Python 3, force sys.stdout to
5525 handle surrogate escape sequences.
5526 (safe_open): New function.
5527 (output_segment, main): Use it.
5529 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5531 * dg-extract-results.py (Prog.result_re): Include options
5534 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5536 * dg-extract-results.py (output_variation): Always sort if
5539 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5541 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5542 as long as we get pagination notifications.
5544 2014-12-15 Jason Merrill <jason@redhat.com>
5546 * Makefile.in (check-gdb.%): Restore.
5547 * README: Mention it.
5549 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5551 * gdb.ada/str_uninit: New testcase.
5553 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5556 * gdb.base/vla-stub-define.c: New file.
5557 * gdb.base/vla-stub.c: New file.
5558 * gdb.base/vla-stub.exp: New file.
5560 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5561 Jan Kratochvil <jan.kratochvil@redhat.com>
5562 Tom Tromey <tromey@redhat.com>
5564 * configure.ac: Add gdb.compile/.
5565 * configure: Regenerate.
5566 * gdb.compile/Makefile.in: New file.
5567 * gdb.compile/compile-ops.exp: New file.
5568 * gdb.compile/compile-ops.c: New file.
5569 * gdb.compile/compile-tls.c: New file.
5570 * gdb.compile/compile-tls.exp: New file.
5571 * gdb.compile/compile-constvar.S: New file.
5572 * gdb.compile/compile-constvar.c: New file.
5573 * gdb.compile/compile-mod.c: New file.
5574 * gdb.compile/compile-nodebug.c: New file.
5575 * gdb.compile/compile-setjmp-mod.c: New file.
5576 * gdb.compile/compile-setjmp.c: New file.
5577 * gdb.compile/compile-setjmp.exp: New file.
5578 * gdb.compile/compile-shlib.c: New file.
5579 * gdb.compile/compile.c: New file.
5580 * gdb.compile/compile.exp: New file.
5581 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5583 2014-12-12 Tom Tromey <tromey@redhat.com>
5585 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5586 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5588 2014-12-12 Doug Evans <dje@google.com>
5590 * lib/gdb-python.exp (get_python_valueof): New function.
5591 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5593 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5595 * gdb.base/completion.exp: Add test for completion of "info
5598 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5600 * gdb.base/func-ptrs.c: New file.
5601 * gdb.base/func-ptrs.exp: New file.
5603 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5605 PR breakpoints/17012
5606 * gdb.base/dprintf-detach.c: New file.
5607 * gdb.base/dprintf-detach.exp: New file.
5609 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5611 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5612 * lib/gdb.exp (target_is_gdbserver): New procedure.
5614 2014-12-08 Doug Evans <dje@google.com>
5616 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5618 2014-12-05 Yao Qi <yao@codesourcery.com>
5620 * gdb.guile/scm-error.exp: Remove the third argument to
5621 gdb_remote_download.
5622 * gdb.guile/scm-frame-args.exp: Likewise.
5623 * gdb.guile/scm-section-script.exp: Likewise.
5625 2014-12-05 Yao Qi <yao@codesourcery.com>
5627 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5629 2014-12-04 Doug Evans <dje@google.com>
5631 * gdb.python/py-objfile.exp: Add tests for
5632 objfile.add_separate_debug_file.
5634 2014-12-04 Doug Evans <dje@google.com>
5636 * lib/gdb.exp (get_build_id): New function.
5637 (build_id_debug_filename_get): Rewrite to use it.
5638 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5640 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5642 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5643 `method(long)', not just 0x0.
5644 * gdb.cp/nsalias.exp: Align code labels to 4.
5645 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5646 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5647 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5648 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5649 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5650 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5652 2014-12-02 Doug Evans <dje@google.com>
5655 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5656 * gdb.cp/anon-ns2.cc: ... here. New file.
5657 * gdb.cp/anon-ns.exp: Update.
5659 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5661 * gdb.python/py-events.py (inferior_call_handler): New.
5662 (register_changed_handler, memory_changed_handler): New.
5663 (test_events.invoke): Register new handlers.
5664 * gdb.python/py-events.exp: Add tests for inferior call,
5665 memory_changed and register_changed events.
5667 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5669 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5670 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5671 if the linker doesn't understand this.
5673 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5675 * gdb.python/python.exp: Change expected reply to help().
5677 2014-12-01 Yao Qi <yao@codesourcery.com>
5679 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5680 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5681 * configure: Re-generated.
5683 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5685 * gdb.cp/chained-calls.cc: New file.
5686 * gdb.cp/chained-calls.exp: New file.
5687 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5689 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5691 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5692 * gdb.dwarf2/symtab-producer.exp: Same.
5693 * gdb.gdb/python-interrupts.exp: Same.
5694 * gdb.gdb/python-selftest.exp: Same.
5695 * gdb.python/py-linetable.exp: Same.
5696 * gdb.python/py-type.exp: Same.
5697 * gdb.python/py-value-cc.exp: Same.
5698 * gdb.python/py-value.exp: Same.
5700 2014-11-28 Yao Qi <yao@codesourcery.com>
5702 * gdb.base/break-probes.exp: Match library name prefixed with
5705 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5707 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5708 test expected output. Add parentheses for the call to print.
5709 Remove L suffix from integers.
5711 2014-11-26 Doug Evans <dje@google.com>
5713 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5715 2014-11-22 Yao Qi <yao@codesourcery.com>
5717 * gdb.trace/entry-values.c: Remove asms.
5718 (foo): Add foo_label.
5719 (bar): Add bar_label.
5720 * gdb.trace/entry-values.exp: Remove code computing foo's
5721 length and bar's length.
5722 (Dwarf::assemble): Invoke function_range for bar and use
5723 MACRO_AT_func for foo.
5725 2014-11-22 Yao Qi <yao@codesourcery.com>
5727 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5728 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5729 Use .Lgcc43_procstart instead of gcc43.
5731 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5733 * gdb.ada/n_arr_bound: New testcase.
5735 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5737 PR breakpoints/10737
5738 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5739 test_catch_syscall_multi_arch.
5740 (test_catch_syscall_multi_arch): New function.
5742 2014-11-20 Doug Evans <xdje42@gmail.com>
5744 * gdb.base/maint.exp: Update expected output.
5746 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5748 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5749 4-byte instruction on S390.
5751 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5753 * gdb.ada/arr_arr: New testcase.
5755 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5757 * gdb.ada/pkd_arr_elem: New Testcase.
5759 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5761 * gdb.reverse/break-precsave: Expect completion message for
5763 * gdb.reverse/consecutive-precsave.exp: Likewise.
5764 * gdb.reverse/finish-precsave.exp: Likewise.
5765 * gdb.reverse/i386-precsave.exp: Likewise.
5766 * gdb.reverse/machinestate-precsave.exp: Likewise.
5767 * gdb.reverse/sigall-precsave.exp: Likewise.
5768 * gdb.reverse/solib-precsave.exp: Likewise.
5769 * gdb.reverse/step-precsave.exp: Likewise.
5770 * gdb.reverse/until-precsave.exp: Likewise.
5771 * gdb.reverse/watch-precsave.exp: Likewise.
5773 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5775 * gdb.base/bp-permanent.c: Include unistd.h.
5776 * gdb.python/py-framefilter-mi.c (main): Add return type.
5777 * gdb.python/py-framefilter.c (main): Likewise.
5778 * gdb.trace/actions-changed.c (main): Likewise.
5780 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5782 * gdb.mi/until.c: Add eye-catchers.
5783 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5786 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5788 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5789 function header variants in break1.c.
5790 * gdb.base/ena-dis-br.exp: Likewise.
5791 * gdb.base/hbreak2.exp: Likewise.
5792 * gdb.reverse/until-precsave.exp: Drop references to removed
5793 non-prototype function header variants in ur1.c.
5794 * gdb.reverse/until-reverse.exp: Likewise.
5796 2014-11-17 Petr Machata <pmachata@redhat.com>
5798 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5799 ${_cu_offset_size} bytes abbrev offset.
5801 2014-11-15 Doug Evans <xdje42@gmail.com>
5804 * gdb.base/line-symtabs.exp: New file.
5805 * gdb.base/line-symtabs.c: New file.
5806 * gdb.base/line-symtabs.h: New file.
5808 2014-11-14 Yao Qi <yao@codesourcery.com>
5810 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5811 (func): Add label func_label.
5812 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5813 Replace low_pc and high_pc with MACRO_AT_range.
5814 Replace name, low_pc and high_pc with MACRO_AT_func.
5816 2014-11-14 Yao Qi <yao@codesourcery.com>
5818 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5819 Replace name, low_pc and high_pc with MACRO_AT_func.
5821 2014-11-14 Yao Qi <yao@codesourcery.com>
5823 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5824 produce debug information.
5825 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5827 2014-11-14 Yao Qi <yao@codesourcery.com>
5829 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5830 object and get function length.
5831 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5833 (top-level): Replace gdb_compile and clean_restart with
5834 prepare_for_testing.
5835 * gdb.dwarf2/main.c (main): Add label main_label.
5837 2014-11-14 Yao Qi <yao@codesourcery.com>
5839 * lib/dwarf.exp (function_range): New procedure.
5840 (Dwarf::_handle_macro_at_func): New procedure.
5841 (Dwarf::_handle_macro_at_range): New procedure.
5842 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5844 2014-11-14 Yao Qi <yao@codesourcery.com>
5846 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5847 (_handle_attribute): New procedure.
5849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5851 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5852 * gdb.base/call-sc.c (zed): Likewise.
5853 * gdb.base/checkpoint.c (main): Likewise.
5854 * gdb.base/dump.c (main): Likewise.
5855 * gdb.base/gcore.c (main): Likewise.
5856 * gdb.base/huge.c (main): Likewise.
5857 * gdb.base/multi-forks.c (main): Likewise.
5858 * gdb.base/pr10179-a.c (main): Likewise.
5859 * gdb.base/savedregs.c (main): Likewise.
5860 * gdb.base/sigaltstack.c (main): Likewise.
5861 * gdb.base/siginfo.c (main): Likewise.
5862 * gdb.base/structs.c (zed): Likewise.
5863 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5864 * gdb.mi/mi-syn-frame.c (main): Likewise.
5865 * gdb.mi/until.c (foo, main): Likewise.
5866 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5867 * gdb.base/solib-weak.c (foo): Declare.
5868 * gdb.base/attach-twice.c: Include stdio.h.
5869 * gdb.base/weaklib1.c: Likewise.
5870 * gdb.base/weaklib2.c: Likewise.
5871 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5872 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5874 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5875 * gdb.mi/mi-exit-code.c: Likewise.
5876 * gdb.base/break-interp-lib.c: Include string.h.
5877 * gdb.base/coremaker.c: Likewise.
5878 * gdb.base/testenv.c: Likewise.
5879 * gdb.python/py-finish-breakpoint.c: Likewise.
5880 * gdb.base/inferior-died.c: Include sys/wait.h.
5881 * gdb.base/fileio.c: Include time.h.
5882 * gdb.base/async-shell.c: Include unistd.h.
5883 * gdb.base/dprintf-non-stop.c: Likewise.
5884 * gdb.base/info-os.c: Likewise.
5885 * gdb.mi/mi-console.c: Likewise.
5886 * gdb.mi/watch-nonstop.c: Likewise.
5887 * gdb.python/py-events.c: Likewise.
5888 * gdb.base/async.c (baz): Move up before its invocation.
5889 * gdb.base/code_elim2.c (my_global_func): Likewise.
5890 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5891 * gdb.base/advance.c (func2): Likewise.
5893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5895 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5897 * gdb.base/annota3.c: Likewise.
5898 * gdb.base/async.c: Likewise.
5899 * gdb.base/average.c: Likewise.
5900 * gdb.base/call-ar-st.c: Likewise.
5901 * gdb.base/call-rt-st.c: Likewise.
5902 * gdb.base/call-sc.c: Likewise.
5903 * gdb.base/call-strs.c: Likewise.
5904 * gdb.base/ending-run.c: Likewise.
5905 * gdb.base/execd-prog.c: Likewise.
5906 * gdb.base/exprs.c: Likewise.
5907 * gdb.base/foll-exec.c: Likewise.
5908 * gdb.base/foll-fork.c: Likewise.
5909 * gdb.base/foll-vfork.c: Likewise.
5910 * gdb.base/funcargs.c: Likewise.
5911 * gdb.base/gcore.c: Likewise.
5912 * gdb.base/jump.c: Likewise.
5913 * gdb.base/langs0.c: Likewise.
5914 * gdb.base/langs1.c: Likewise.
5915 * gdb.base/langs2.c: Likewise.
5916 * gdb.base/mips_pro.c: Likewise.
5917 * gdb.base/nodebug.c: Likewise.
5918 * gdb.base/opaque0.c: Likewise.
5919 * gdb.base/opaque1.c: Likewise.
5920 * gdb.base/recurse.c: Likewise.
5921 * gdb.base/run.c: Likewise.
5922 * gdb.base/scope0.c: Likewise.
5923 * gdb.base/scope1.c: Likewise.
5924 * gdb.base/setshow.c: Likewise.
5925 * gdb.base/setvar.c: Likewise.
5926 * gdb.base/shmain.c: Likewise.
5927 * gdb.base/shr1.c: Likewise.
5928 * gdb.base/shr2.c: Likewise.
5929 * gdb.base/sigall.c: Likewise.
5930 * gdb.base/signals.c: Likewise.
5931 * gdb.base/so-indr-cl.c: Likewise.
5932 * gdb.base/solib2.c: Likewise.
5933 * gdb.base/structs.c: Likewise.
5934 * gdb.base/sum.c: Likewise.
5935 * gdb.base/vforked-prog.c: Likewise.
5936 * gdb.base/watchpoint.c: Likewise.
5937 * gdb.reverse/shr2.c: Likewise.
5938 * gdb.reverse/until-reverse.c: Likewise.
5939 * gdb.reverse/ur1.c: Likewise.
5940 * gdb.reverse/watch-reverse.c: Likewise.
5942 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5944 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5946 * gdb.base/sepdebug.exp: Drop references to removed code.
5948 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5950 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5951 variant. Preserve original line numbering.
5952 * gdb.base/list1.c: Likewise.
5954 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5956 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5958 * gdb.base/break1.c: Likewise.
5959 * gdb.base/break.exp: Drop references to removed code.
5961 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5963 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5968 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5970 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5972 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5973 logic into perform_all_tests() and invoke it with and without
5974 function header prototypes.
5975 (do_function_calls): Remove conditional XFAIL for PR 5318.
5976 (rerun_and_prepare): Remove duplicate code.
5977 (perform_all_tests): New. Main logic moved here.
5979 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5981 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5982 code guarded by #ifdef NO_PROTOTYPES.
5983 (t_double_many_args): Likewise.
5984 (DEF_FUNC_MANY_ARGS_1): Likewise.
5985 (DEF_FUNC_VALUES_1): Likewise.
5986 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5987 guarded by #ifdef PROTOTYPES.
5989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5991 * gdb.mi/mi-console.c: Add eye-catcher.
5992 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5993 instead of literal line number.
5995 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5997 * gdb.base/shr2.c: Add eye-catcher.
5998 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6003 * gdb.base/jump.c: Add eye-catchers.
6004 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6007 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6009 * gdb.base/execd-prog.c: Add eye-catchers.
6010 * gdb.base/foll-exec.c: Likewise.
6011 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6016 * gdb.base/ending-run.c: Add eye-catchers.
6017 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6018 literal line numbers.
6020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6022 * gdb.base/call-rt-st.c: Add eye-catchers.
6023 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6024 literal line numbers.
6026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6028 * gdb.base/call-ar-st.c: Add eye-catchers.
6029 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6030 literal line numbers.
6032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034 * gdb.base/average.c: Add eye-catchers.
6035 * gdb.base/sum.c: Likewise.
6036 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6037 regexps dynamically.
6039 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6041 * gdb.base/solib1.c: Add eye-catchers.
6042 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6043 literal line numbers.
6045 2014-11-12 Pedro Alves <palves@redhat.com>
6047 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6050 2014-11-12 Pedro Alves <palves@redhat.com>
6052 * gdb.arch/i386-bp_permanent.c: New file.
6053 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6054 (srcfile): Set to i386-bp_permanent.c.
6055 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6056 that stepi does not execute the 'leave' instruction, instead of
6057 testing it does execute.
6058 * gdb.base/bp-permanent.c: New file.
6059 * gdb.base/bp-permanent.exp: New file.
6061 2014-11-10 Doug Evans <xdje42@gmail.com>
6064 * gdb.base/symtab-search-order.exp: New file.
6065 * gdb.base/symtab-search-order.c: New file.
6066 * gdb.base/symtab-search-order-1.c: New file.
6067 * gdb.base/symtab-search-order-shlib-1.c: New file.
6069 2014-11-07 Pedro Alves <palves@redhat.com>
6072 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6075 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6078 * gdb.cp/pr17494.cc: New file.
6079 * gdb.cp/pr17494.exp: New file.
6081 2014-11-02 Yao Qi <yao@codesourcery.com>
6083 * gdb.python/python.exp: Get working directory and match the
6084 output of "set extended-prompt \\w " with it.
6086 2014-10-30 Doug Evans <dje@google.com>
6088 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6090 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6093 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6095 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6096 * gdb.base/realname-expand.exp: Likewise.
6097 * gdb.linespec/macro-relative.exp: Likewise.
6099 2014-10-29 Pedro Alves <palves@redhat.com>
6102 * gdb.threads/schedlock.c (some_function): New function.
6103 (call_function): New global.
6104 (MAYBE_CALL_SOME_FUNCTION): New macro.
6105 (thread_function): Call it.
6106 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6107 and use it instead of a global counter. Adjust all callers.
6108 (get_current_thread): Use "find current thread" for test message
6109 here rather than having all callers pass down the same string.
6110 (goto_loop): New procedure, factored out from ...
6111 (my_continue): ... this.
6112 (step_ten_loops): Change parameter from test message to command to
6114 (list_count): Delete global.
6115 (check_result): New procedure, factored out from duplicate top
6117 (continue tests): Wrap in with_test_prefix.
6118 (test_step): New procedure, factored out from duplicate top level
6120 (top level): Test "step" in combination with all scheduler-locking
6121 modes. Test "next" in combination with all scheduler-locking
6122 modes, and in combination with stepping over a function call or
6124 * gdb.threads/next-bp-other-thread.c: New file.
6125 * gdb.threads/next-bp-other-thread.exp: New file.
6127 2014-10-29 Pedro Alves <palves@redhat.com>
6130 * gdb.python/python.exp: Test a multi-line command that spawns
6132 * gdb.base/multi-line-starts-subshell.exp: New file.
6134 2014-10-29 Yao Qi <yao@codesourcery.com>
6136 * gdb.base/fileio.exp: Make directories on host.
6138 2014-10-29 Yao Qi <yao@codesourcery.com>
6140 * gdb.base/fileio.c (test_write): Close the file.
6142 2014-10-28 Pedro Alves <palves@redhat.com>
6145 * gdb.base/sigstep.c (no_handler): New global.
6146 (main): If 'no_handler is true, set the signal handlers to
6148 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6149 with_sw_watch and no_handler parameters. Handle them.
6150 (top level) <stepping over handler when stopped at a breakpoint
6151 test>: Add a test axis for testing with a software watchpoint, and
6152 another for testing with the signal handler set to SIG_IGN.
6153 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6154 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6156 2014-10-28 Pedro Alves <palves@redhat.com>
6159 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6160 * gdb.base/sigstep.exp (other_handler_location): New global.
6161 (advance): Support stepping into the signal handler, and running
6162 commands while in the handler.
6163 (in_handler_map): New global.
6164 (top level): In the advance test, add combinations for getting
6165 into the handler with stepping commands, and for running commands
6166 in the handler. Add comment descripting the advancei tests.
6168 2014-10-28 Pedro Alves <palves@redhat.com>
6170 * gdb.base/sigstep.exp: Use build_executable instead of
6171 prepare_for_testing.
6172 (top level): Move code that starts GDB, runs to main and creates a
6174 (restart): ... this new procedure.
6175 (top level): Move backtrace from signal handler test to ...
6176 (validate_backtrace): ... this new procedure.
6177 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6178 with_test_prefix. Always restart GDB.
6179 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6180 with_test_prefix. Always restart GDB. No need to delete
6181 breakpoints after the test.
6182 (test_skip_handler): Remove prefix parameter.
6183 (skip_over_handler, breakpoint_to_handler)
6184 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6185 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6186 restart GDB. No need to delete breakpoints after the test.
6187 (top level): Use foreach to call the test procedures with
6190 2014-10-28 Pedro Alves <palves@redhat.com>
6192 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6193 instead of GNATS numbers.
6194 * gdb.base/sigbpt.exp: Likewise.
6195 * gdb.base/siginfo.exp: Likewise.
6196 * gdb.base/sigstep.exp: Likewise.
6198 2014-10-27 Pedro Alves <palves@redhat.com>
6200 * gdb.base/sigstep.c (dummy): New global.
6201 (main): Issue a couple writes to the new global.
6202 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6204 (skip_over_handler): Use test_skip_handler.
6205 (top level): Call skip_over_handler for stepi and nexti too.
6206 (breakpoint_over_handler): Use test_skip_handler.
6207 (top level): Call breakpoint_over_handler for stepi and nexti too.
6209 2014-10-27 Yao Qi <yao@codesourcery.com>
6211 * gdb.trace/tfile.c (adjust_function_address)
6212 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6213 function descriptor.
6215 2014-10-24 Don Breazeal <donb@codesourcery.com>
6217 * gdb.base/foll-fork.exp (test_follow_fork,
6218 catch_fork_child_follow): Check for updated fork messages emitted
6220 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6221 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6222 vfork_and_exec_child_follow_through_step): Check for updated vfork
6223 messages emitted from infrun.c.
6225 2014-10-24 Pedro Alves <palves@redhat.com>
6227 * gdb.base/corefile.exp: Remove references to ultrix.
6228 * gdb.base/interrupt.exp: Likewise.
6229 * gdb.base/whatis.exp: Likewise.
6230 * gdb.gdb/selftest.exp: Likewise.
6231 * gdb.threads/manythreads.exp: Likewise.
6232 * gdb.threads/print-threads.exp: Likewise.
6233 * gdb.threads/pthreads.exp:: Likewise.
6234 * gdb.threads/schedlock.exp: Likewise.
6236 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6238 * gdb.cp/non-trivial-retval.cc: Add a test case.
6239 * gdb.cp/non-trivial-retval.exp: Add a test.
6241 2014-10-20 Yao Qi <yao@codesourcery.com>
6243 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6244 * gdb.python/py-objfile-script-gdb.py: New file.
6245 * gdb.python/py-objfile-script.exp: Update reference to
6246 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6247 of remote_download. Remove the dest file.
6249 2014-10-20 Yao Qi <yao@codesourcery.com>
6251 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6252 * gdb.base/step-line.exp: Likewise.
6253 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6254 * gdb.dwarf2/dw2-basic.exp: Likewise.
6255 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6256 * gdb.dwarf2/dw2-filename.exp: Likewise.
6257 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6258 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6259 * gdb.dwarf2/dw2-producer.exp: Likewise.
6260 * gdb.dwarf2/mac-fileno.exp: Likewise.
6261 * gdb.python/py-frame-args.exp: Likewise.
6262 * gdb.python/py-framefilter.exp: Likewise.
6263 * gdb.python/py-mi.exp: Likewise.
6264 * gdb.python/py-objfile-script.exp: Likewise
6265 * gdb.python/py-pp-integral.exp: Likewise.
6266 * gdb.python/py-pp-re-notag.exp: Likewise.
6267 * gdb.python/py-prettyprint.exp: Likewise.
6268 * gdb.python/py-section-script.exp: Likewise.
6269 * gdb.python/py-typeprint.exp: Likewise.
6270 * gdb.python/py-xmethods.exp: Likewise.
6271 * gdb.stabs/weird.exp: Likewise.
6272 * gdb.xml/tdesc-regs.exp: Likewise.
6274 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6276 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6277 (out_cu): Use addr_len for the size of addresses.
6278 (out_line): Likewise. Size DW_LNE_set_address instruction
6279 according to addr_len.
6280 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6281 (FUNC): Add START_INSNS to definition.
6283 2014-10-18 Yao Qi <yao@codesourcery.com>
6285 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6286 gdb_has_argv0 return true.
6287 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6288 check [target_info exists noargs], check [gdb_has_argv0]
6290 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6291 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6294 2014-10-17 Doug Evans <dje@google.com>
6296 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6298 * gdb.python/py-events.py: Add clear_objfiles event.
6300 2014-10-17 Doug Evans <dje@google.com>
6302 * gdb.python/py-objfile.exp: Test progspace attribute.
6304 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6306 * gdb.guile/scm-breakpoint.exp: Do not assume any
6307 directory separators when matching source file paths.
6308 * gdb.python/py-breakpoint.exp: Likewise.
6309 * gdb.reverse/break-precsave.exp: Likewise.
6310 * gdb.reverse/break-reverse.exp: Likewise.
6311 * gdb.reverse/consecutive-precsave.exp: Likewise.
6312 * gdb.reverse/finish-precsave.exp: Likewise.
6313 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6314 * gdb.reverse/finish-reverse.exp: Likewise.
6315 * gdb.reverse/i386-precsave.exp: Likewise.
6316 * gdb.reverse/i387-env-reverse.exp: Likewise.
6317 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6318 * gdb.reverse/machinestate-precsave.exp: Likewise.
6319 * gdb.reverse/machinestate.exp: Likewise.
6320 * gdb.reverse/sigall-precsave.exp: Likewise.
6321 * gdb.reverse/solib-precsave.exp: Likewise.
6322 * gdb.reverse/step-precsave.exp: Likewise.
6323 * gdb.reverse/until-precsave.exp: Likewise.
6324 * gdb.reverse/watch-precsave.exp: Likewise.
6325 * gdb.reverse/watch-reverse.exp: Likewise.
6327 2014-10-17 Yao Qi <yao@codesourcery.com>
6329 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6330 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6332 2014-10-17 Pedro Alves <palves@redhat.com>
6335 * gdb.base/bg-execution-repeat.c: New file.
6336 * gdb.base/bg-execution-repeat.exp: New file.
6338 2014-10-17 Pedro Alves <palves@redhat.com>
6341 * gdb.base/continue-all-already-running.c: New file.
6342 * gdb.base/continue-all-already-running.exp: New file.
6344 2014-10-17 Pedro Alves <palves@redhat.com>
6347 * gdb.base/annota-input-while-running.c: New file.
6348 * gdb.base/annota-input-while-running.exp: New file.
6350 2014-10-17 Pedro Alves <palves@redhat.com>
6352 * gdb.base/callfuncs.exp: emove references to osf.
6353 * gdb.base/sigall.exp: Likewise.
6354 * gdb.gdb/selftest.exp: Likewise.
6355 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6356 * gdb.mi/non-stop.c: Likewise.
6357 * gdb.mi/pthreads.c: Likewise.
6358 * gdb.reverse/sigall-precsave.exp: Likewise.
6359 * gdb.reverse/sigall-reverse.exp: Likewise.
6360 * gdb.threads/pthreads.c: Likewise.
6361 * gdb.threads/pthreads.exp: Likewise.
6363 2014-10-17 Yao Qi <yao@codesourcery.com>
6365 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6366 check 'target_info exists noargs'.
6367 (test_command_prompt_position): Likewise.
6368 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6370 (progvar_simple_while_test): Likewise.
6371 (progvar_complex_if_while_test): Likewise.
6372 (if_while_breakpoint_command_test): Likewise.
6373 (infrun_breakpoint_command_test): Likewise.
6374 (breakpoint_command_test): Likewise.
6375 (watchpoint_command_test): Likewise.
6376 (bp_deleted_in_command_test): Likewise.
6377 (temporary_breakpoint_commands): Likewise.
6379 2014-10-16 Yao Qi <yao@codesourcery.com>
6381 * gdb.base/remotetimeout.exp: Remove noargs checking.
6383 2014-10-15 Pedro Alves <palves@redhat.com>
6386 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6387 * gdb.base/breakpoint-in-ro-region.exp
6388 (probe_target_hardware_step): New procedure.
6389 (top level): Probe hardware stepping and hardware breakpoint
6390 support. Test stepping through a read-only region, with both
6391 "breakpoint auto-hw" on and off and both "always-inserted" on and
6394 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6396 * gdb.dlang/demangle.exp: Update for demangling changes.
6398 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6400 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6401 * gdb.cp/non-trivial-retval.exp: Add new tests.
6403 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6407 * gdb.cp/non-trivial-retval.cc: New file.
6408 * gdb.cp/non-trivial-retval.exp: New file.
6410 2014-10-15 Yao Qi <yao@codesourcery.com>
6412 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6415 2014-10-15 Yao Qi <yao@codesourcery.com>
6417 * gdb.python/py-symbol.exp: Match file base name if host is
6418 remote, otherwise match file name with dir name.
6419 * gdb.python/py-symtab.exp: Likewise.
6420 * gdb.python/python.exp: Likewise.
6422 2014-10-15 Yao Qi <yao@codesourcery.com>
6424 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6426 * gdb.python/py-symtab.exp: Likewise.
6427 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6430 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6432 * gdb.ada/addr_arith: New testcase.
6434 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6436 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6437 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6438 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6439 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6441 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6443 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6444 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6445 * gdb.arch/stap-eval-lang-ada.exp: New file.
6447 2014-10-14 Yao Qi <yao@codesourcery.com>
6449 * gdb.mi/mi-var-child.c (nothing1): New function.
6450 (nothing2): New function.
6451 (do_children_tests): Set function pointers by nothing1 and
6453 * gdb.mi/mi-var-child.exp: Step over new added statements.
6454 Update test to match the new output.
6455 * gdb.mi/var-cmd.c (nothing1): New function.
6456 (nothing2): New function.
6457 (do_children_tests): Set function pointers by nothing1 and
6459 * gdb.mi/mi-var-display.exp: Update test to match output.
6460 Step to the line specified by $line_dct_nothing.
6461 Increase the number of lines to step.
6463 2014-10-14 Yao Qi <yao@codesourcery.com>
6465 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6467 * gdb.mi/mi2-var-child.exp: Likewise.
6469 2014-10-13 Doug Evans <dje@google.com>
6471 * gdb.python/py-objfile.exp: Change name of file name test.
6473 2014-10-13 Doug Evans <dje@google.com>
6475 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6476 from the start of the CU.
6478 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6479 Yao Qi <yao@codesourcery.com>
6481 Fix "save breakpoints" for "catch" command.
6482 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6483 Remove -nonewline. Match also the added "main" line.
6485 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6487 Fix "save breakpoints" for "disable $bpnum" command.
6488 * gdb.base/save-bp.c (main): Add label.
6489 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6491 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6493 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6495 2014-10-11 Yao Qi <yao@codesourcery.com>
6497 * gdb.server/server-kill.exp: Execute command
6498 "set remote trace-status-packet on" before "tstatus".
6500 2014-10-11 Yao Qi <yao@codesourcery.com>
6502 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6503 (main): Call getppid.
6504 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6505 and continue to it. Read variable "server_pid".
6507 2014-10-11 Yao Qi <yao@codesourcery.com>
6509 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6511 2014-10-11 Yao Qi <yao@codesourcery.com>
6513 * gdb.threads/thread-find.exp: Don't execute command
6515 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6516 * gdb.threads/linux-dp.exp: Don't check the condition
6517 $threads_created equals to zero.
6519 2014-10-10 Pedro Alves <palves@redhat.com>
6521 * gdb.base/bigcore.exp: Remove references to IRIX.
6522 * gdb.base/funcargs.exp: Likewise.
6523 * gdb.base/interrupt.exp: Likewise.
6524 * gdb.base/mips_pro.exp: Likewise.
6525 * gdb.base/nodebug.exp: Likewise.
6526 * gdb.base/setvar.exp: Likewise.
6527 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6529 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6530 Pedro Alves <palves@redhat.com>
6533 * gdb.base/vdso-warning.c: New file.
6534 * gdb.base/vdso-warning.exp: New file.
6536 2014-10-02 Doug Evans <dje@google.com>
6538 * gdb.base/structs.c (main): Don't run forever.
6540 2014-10-02 Pedro Alves <palves@redhat.com>
6542 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6543 (top level) <stop threads 1, stop threads 2>: Use it.
6545 2014-10-02 Pedro Alves <palves@redhat.com>
6547 * gdb.threads/break-while-running.exp (test): Add new
6548 'update_thread_list' argument. Skip "info threads" if false.
6549 (top level): Add new 'update_thread_list' axis.
6551 2014-10-02 Pedro Alves <palves@redhat.com>
6553 PR breakpoints/17431
6554 * gdb.base/execl-update-breakpoints.c: New file.
6555 * gdb.base/execl-update-breakpoints.exp: New file.
6557 2014-10-01 Pedro Alves <palves@redhat.com>
6559 * gdb.base/breakpoint-in-ro-region.c: New file.
6560 * gdb.base/breakpoint-in-ro-region.exp: New file.
6562 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6564 * gdb.mi/mi-exit-code.exp: New file.
6565 * gdb.mi/mi-exit-code.c: New file.
6567 2014-09-30 Yao Qi <yao@codesourcery.com>
6569 * lib/prelink-support.exp (build_executable_own_libs): Error if
6570 the target isn't native.
6572 2014-09-30 Yao Qi <yao@codesourcery.com>
6574 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6577 2014-09-22 Pedro Alves <palves@redhat.com>
6579 * gdb.threads/break-while-running.exp: New file.
6580 * gdb.threads/break-while-running.c: New file.
6582 2014-09-19 Yao Qi <yao@codesourcery.com>
6584 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6585 Invoke test. Restart GDB with --readnow and invoke test again.
6587 2014-09-19 Yao Qi <yao@codesourcery.com>
6589 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6590 proc set_breakpoint_on_gcd_function. Invoke
6591 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6592 invoke set_breakpoint_on_gcd_function again.
6594 2014-09-18 Doug Evans <dje@google.com>
6596 * gdb.dwarf2/symtab-producer.exp: New file.
6598 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6600 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6601 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6602 * gdb.base/global-var-nested-by-dso.c: Likewise.
6603 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6605 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6606 Pedro Alves <palves@redhat.com>
6608 * gdb.base/watch-bitfields.exp: Pass string other than test file
6609 name to prepare_for_testing.
6610 (watch): New procedure.
6611 (expect_watchpoint): Use with_test_prefix.
6612 (top level): Factor out tests to ...
6613 (test_watch_location, test_regular_watch): ... these new
6614 procedures, and use with_test_prefix and gdb_continue_to_end.
6616 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6618 PR breakpoints/12526
6619 * gdb.base/watch-bitfields.exp: New file.
6620 * gdb.base/watch-bitfields.c: New file.
6622 2014-09-16 Pedro Alves <palves@redhat.com>
6624 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6625 software and hardware addresses, not software address against
6628 2014-09-16 Pedro Alves <palves@redhat.com>
6630 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6631 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6633 2014-09-16 Pedro Alves <palves@redhat.com>
6635 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6637 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6638 "*-*-vxworks*" throughout.
6639 * gdb.base/break.exp: Likewise.
6640 * gdb.base/default.exp: Likewise.
6641 * gdb.base/scope.exp: Likewise.
6642 * gdb.base/sepdebug.exp: Likewise.
6643 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6645 * gdb.base/run.c: Likewise.
6646 * gdb.base/sepdebug.c: Likewise.
6647 * gdb.hp/gdb.aCC/run.c: Likewise.
6648 * gdb.reverse/until-reverse.c: Likewise.
6649 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6651 2014-09-16 Yao Qi <yao@codesourcery.com>
6653 * boards/local-remote-host-native.exp: New file.
6655 2014-09-14 Doug Evans <xdje42@gmail.com>
6657 * gdb.threads/queue-signal.c (thread_count): New variable.
6658 (thread_count_mutex, thread_count_condvar): New variables.
6659 (incr_thread_count, wait_all_threads_running): New functions.
6660 (main): Wait for all threads to be in their thread functions.
6662 2014-09-13 Doug Evans <xdje42@gmail.com>
6664 * gdb.threads/queue-signal.c: New file.
6665 * gdb.threads/queue-signal.exp: New file.
6667 2014-09-13 Doug Evans <xdje42@gmail.com>
6669 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6670 be consistent with what default_gdb_init uses.
6671 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6672 the plain text of the prompt. Add some logging printfs.
6673 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6675 2014-09-12 Pedro Alves <palves@redhat.com>
6677 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6678 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6679 * gdb.arch/i386-size-overlap.exp: Likewise.
6680 * gdb.arch/i386-size.exp: Likewise.
6681 * gdb.arch/i386-unwind.exp: Likewise.
6682 * gdb.base/a2-run.exp: Likewise.
6683 * gdb.base/break.exp: Likewise.
6684 * gdb.base/charset.exp: Likewise.
6685 * gdb.base/chng-syms.exp: Likewise.
6686 * gdb.base/commands.exp: Likewise.
6687 * gdb.base/dbx.exp: Likewise.
6688 * gdb.base/find.exp: Likewise.
6689 * gdb.base/funcargs.exp: Likewise.
6690 * gdb.base/jit-simple.exp: Likewise.
6691 * gdb.base/reread.exp: Likewise.
6692 * gdb.base/sepdebug.exp: Likewise.
6693 * gdb.base/step-bt.exp: Likewise.
6694 * gdb.cp/mb-inline.exp: Likewise.
6695 * gdb.cp/mb-templates.exp: Likewise.
6696 * gdb.objc/basicclass.exp: Likewise.
6697 * gdb.threads/killed.exp: Likewise.
6699 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6702 * gdb.arch/powerpc-stackless.S: New file.
6703 * gdb.arch/powerpc-stackless.exp: New file.
6705 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6707 * gdb.base/attach.c: Include unistd.h.
6708 (main): Call alarm. Add label postloop.
6709 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6710 gdb_breakpoint, gdb_continue_to_breakpoint.
6711 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6713 2014-09-11 Pedro Alves <palves@redhat.com>
6716 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6717 * gdb.base/attach.exp (test_command_line_attach_run): New
6719 (top level): Call it.
6721 2014-09-11 Pedro Alves <palves@redhat.com>
6723 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6724 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6725 (do_command_attach_tests): Use spawn_wait_for_attach.
6726 * gdb.base/solib-overlap.exp: Likewise.
6727 * gdb.multi/multi-attach.exp: Likewise.
6728 * gdb.python/py-prompt.exp: Likewise.
6729 * gdb.python/py-sync-interp.exp: Likewise.
6730 * gdb.server/ext-attach.exp: Likewise.
6732 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6734 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6735 command in testcase. Simplify testcase.
6737 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6739 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6741 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6743 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6745 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6747 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6749 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6751 * gdb.dwarf2/dynarr-ptr.c: New file.
6752 * gdb.dwarf2/dynarr-ptr.exp: New file.
6754 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6756 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6757 of 30 rather than hardcoding 120 for a slow test case. Take the
6758 `gdb,timeout' target setting into account for this calculation.
6759 Don't extend the timeout for the test cases that don't need it.
6761 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6763 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6764 a factor of 2 for a slow test case. Take the `gdb,timeout'
6765 target setting into account for this calculation.
6766 * gdb.reverse/until-precsave.exp: Increase the timeout by
6767 a factor of 15 and 3 respectively rather than adding 120
6768 for a pair of slow test cases. Take the `gdb,timeout'
6769 target setting into account for this calculation.
6771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6773 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6774 timeout, don't pass one down to gdb_expect.
6775 (gdb_expect): Rework timeout selection.
6777 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6779 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6780 exception on timeout.
6781 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6782 (gdbserver_start_extended): Catch any `gdbserver_start' error
6784 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6785 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6786 `gdbserver_gdb_load' error exceptions.
6788 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6790 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6791 120 on waiting for the TCP socket to open.
6793 2014-09-09 Doug Evans <xdje42@gmail.com>
6795 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6796 _caller_matches, _any_caller_is, _any_caller_matches.
6798 2014-09-09 Doug Evans <xdje42@gmail.com>
6800 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6802 2014-09-09 Yao Qi <yao@codesourcery.com>
6804 * gdb.mi/mi-var-display.exp: Set print symbol off.
6806 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6809 * gdb.base/commands.exp: Add tests to verify user-defined
6810 commands with empty bodies.
6811 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6812 python commands in `show user command`.
6813 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6814 scheme commands in `show user command`.
6816 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6819 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6820 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6821 * gdb.python/py-framefilter-invalidarg.exp: New file.
6822 * gdb.python/py-framefilter-invalidarg.py: New file.
6824 2014-09-06 Doug Evans <xdje42@gmail.com>
6827 * gdb.python/py-caller-is.c: New file.
6828 * gdb.python/py-caller-is.exp: New file.
6830 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6833 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6834 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6836 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6839 * gdb.fortran/print-formatted.exp: New file.
6840 * gdb.fortran/print-formatted.f90: Likewise.
6842 2014-09-03 Sasha Smundak <asmundak@google.com>
6844 * gdb.python/py-frame.exp: Test Frame.read_register.
6846 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6849 * gdb.python/py-completion.exp: New file.
6850 * gdb.python/py-completion.py: Likewise.
6852 2014-08-28 Doug Evans <dje@google.com>
6854 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6855 eax,etc. are live with values set by gdb and thus the compiler can't
6857 * gdb.arch/i386-pseudo.c (main): Ditto.
6859 2014-08-27 Doug Evans <dje@google.com>
6861 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6863 2014-08-25 Doug Evans <dje@google.com>
6865 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6868 2014-08-25 Doug Evans <dje@google.com>
6870 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6872 2014-08-24 Yao Qi <yao@codesourcery.com>
6874 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6876 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6878 2014-08-22 Doug Evans <dje@google.com>
6881 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6882 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6883 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6885 2014-08-22 Yao Qi <yao@codesourcery.com>
6887 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6888 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6889 * gdb.python/python.exp: Likewise. Use .py file on the host
6890 instead of the build.
6892 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6894 * gdb.threads/gcore-stale-thread.c: New file.
6895 * gdb.threads/gcore-stale-thread.exp: New file.
6897 2014-08-21 Pedro Alves <palves@redhat.com>
6899 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6900 * gdb.base/gcore-relro-pie.exp: Likewise.
6901 * gdb.base/gcore-relro.exp: Likewise.
6902 * gdb.base/gcore.exp: Likewise.
6903 * gdb.base/print-symbol-loading.exp: Likewise.
6904 * gdb.threads/gcore-thread.exp: Likewise.
6905 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6907 2014-08-20 Pedro Alves <palves@redhat.com>
6908 Jan Kratochvil <jan.kratochvil@redhat.com>
6910 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6912 (EXPECT): Handle READ1 being set.
6913 (all): Depend on EXTRA_RULES.
6914 (check-read1, expect-read1, read1.so, read1): New rules.
6915 * README (Testsuite Parameters): Document the READ1 make variable.
6916 (Race detection): New section.
6917 * configure: Regenerate.
6918 * configure.ac: If build==host==target, and running under a
6919 GNU/glibc system, add read1 to the extra Makefile rules.
6920 (EXTRA_RULES): AC_SUBST it.
6921 * lib/read1.c: New file.
6923 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6925 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6926 the handling of variables declared as a typedef to an array
6927 which a DW_AT_data_location attribute.
6929 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6930 Pedro Alves <palves@redhat.com>
6934 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6937 2014-08-19 Pedro Alves <palves@redhat.com>
6939 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6941 2014-08-19 Yao Qi <yao@codesourcery.com>
6943 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6946 2014-08-18 David Blaikie <dblaikie@gmail.com>
6948 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6950 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6952 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6953 attribute in array range.
6955 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6957 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6959 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6962 * gdb.cp/pr17132.cc: New file.
6963 * gdb.cp/pr17132.exp: New file.
6965 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6967 * gdb.python/py-xmethods.py (A_getarrayind)
6968 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6969 Use 'print' with function call syntax.
6970 (E_method_matcher.match): Fix tab vs space indentation mixup.
6972 2014-08-15 Yao Qi <yao@codesourcery.com>
6974 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6977 2014-08-15 Yao Qi <yao@codesourcery.com>
6979 * gdb.cp/casts.exp: Set print symbol off.
6980 * gdb.cp/class2.exp: Likewise.
6981 * gdb.cp/overload.exp: Likewise.
6982 * gdb.cp/templates.exp: Likewise.
6984 2014-08-11 Doug Evans <dje@google.com>
6986 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6987 (test_load_shlib): Update.
6989 2014-08-09 Yao Qi <yao@codesourcery.com>
6991 * gdb.base/display.exp: Invoke is_address_zero_readable.
6992 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6993 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6994 * gdb.base/hbreak-unmapped.exp: Return if
6995 is_address_zero_readable returns true.
6996 * gdb.base/signest.exp: Likewise.
6997 * gdb.base/signull.exp: Likewise.
6998 * gdb.base/sigbpt.exp: Likewise.
6999 * gdb.guile/scm-disasm.exp: Do the test if
7000 is_address_zero_readable returns false.
7001 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7002 * gdb.python/py-arch.exp: Likewise.
7003 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7004 * lib/gdb.exp (is_address_zero_readable): New proc.
7006 2014-08-09 Yao Qi <yao@codesourcery.com>
7009 * gdb.mi/mi-var-display.exp: Make test messages unique.
7011 2014-08-04 Tom Tromey <tromey@redhat.com>
7013 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7016 2014-08-04 Tom Tromey <tromey@redhat.com>
7018 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7021 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7023 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7024 inner_vla_struct_object_size.
7025 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7028 2014-07-30 Pedro Alves <palves@redhat.com>
7030 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7033 2014-07-29 Yao Qi <yao@codesourcery.com>
7036 * gdb.base/until-nodebug.exp: New.
7038 2014-07-28 Doug Evans <xdje42@gmail.com>
7041 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7042 previously existing parameter, and previously ambiguously spelled
7045 2014-07-28 Will Newton <will.newton@linaro.org>
7047 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7049 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7050 Doug Evans <xdje42@gmail.com>
7053 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7055 2014-07-25 Pedro Alves <palves@redhat.com>
7057 * gdb.threads/signal-command-handle-nopass.c: New file.
7058 * gdb.threads/signal-command-handle-nopass.exp: New file.
7059 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7060 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7061 * gdb.threads/signal-delivered-right-thread.c: New file.
7062 * gdb.threads/signal-delivered-right-thread.exp: New file.
7064 2014-07-25 Pedro Alves <palves@redhat.com>
7066 * gdb.base/double-prompt-target-event-error.exp
7067 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7069 (cancel_pagination_in_target_event): Rework double prompt
7071 * gdb.base/paginate-after-ctrl-c-running.exp
7072 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7074 * gdb.base/paginate-bg-execution.exp
7075 (test_bg_execution_pagination_return)
7076 (test_bg_execution_pagination_cancel): Remove '-notransfer
7078 * gdb.base/paginate-execution-startup.exp
7079 (test_fg_execution_pagination_return)
7080 (test_fg_execution_pagination_cancel): Remove '-notransfer
7082 * gdb.base/paginate-inferior-exit.exp
7083 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7085 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7086 * lib/gdb.exp (pagination_prompt): Run text through
7088 (gdb_test_multiple): Match $pagination_prompt instead of
7090 (string_to_regexp): Move to lib/gdb-utils.exp.
7092 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7094 * gdb.arch/amd64-entry-value-paramref.S: New file.
7095 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7096 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7097 * gdb.arch/amd64-optimout-repeat.S: New file.
7098 * gdb.arch/amd64-optimout-repeat.c: New file.
7099 * gdb.arch/amd64-optimout-repeat.exp: New file.
7101 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7104 * gdb.base/statistics.exp: New file.
7106 2014-07-17 Doug Evans <dje@google.com>
7109 * gdb.base/maint.exp: Update testing of per-command stats.
7111 2014-07-16 Pedro Alves <palves@redhat.com>
7113 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7114 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7115 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7116 (tfile_write_buf): New functions.
7117 (add_memory_block): Rewrite using the above.
7118 (adjust_function_address): New function.
7119 (FUNCTION_ADDRESS): New macro.
7120 (write_basic_trace_file): Remove short_x local, and use
7121 tfile_write_16. Change type of func_addr local to unsigned long
7122 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7123 here. Cast argument of add_memory_block to char pointer.
7124 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7125 (main): Remove parameters.
7126 * gdb.trace/tfile.exp: Remove nowarnings.
7128 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7130 * gdb.base/debug-expr.exp: Test string evaluation with
7131 "debug expression" on.
7133 2014-07-15 Pedro Alves <palves@redhat.com>
7135 * gdb.base/reread.exp: Use clean_restart.
7137 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7139 * gdb.arch/avr-flash-qualifer.c: New.
7140 * gdb.arch/avr-flash-qualifer.exp: New.
7142 2014-07-14 Pedro Alves <palves@redhat.com>
7144 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7145 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7147 2014-07-14 Pedro Alves <palves@redhat.com>
7149 * gdb.base/double-prompt-target-event-error.c: New file.
7150 * gdb.base/double-prompt-target-event-error.exp: New file.
7152 2014-07-14 Pedro Alves <palves@redhat.com>
7155 * gdb.base/paginate-inferior-exit.c: New file.
7156 * gdb.base/paginate-inferior-exit.exp: New file.
7158 2014-07-14 Pedro Alves <palves@redhat.com>
7161 * gdb.base/paginate-bg-execution.c: New file.
7162 * gdb.base/paginate-bg-execution.exp: New file.
7164 2014-07-14 Pedro Alves <palves@redhat.com>
7167 * gdb.base/paginate-execution-startup.c: New file.
7168 * gdb.base/paginate-execution-startup.exp: New file.
7169 * lib/gdb.exp (pagination_prompt): New global.
7170 (default_gdb_spawn): New procedure, factored out from
7172 (default_gdb_start): Adjust to call default_gdb_spawn.
7173 (gdb_spawn): New procedure.
7175 2014-07-14 Pedro Alves <palves@redhat.com>
7177 * lib/gdb.exp (gdb_assert): New procedure.
7178 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7180 2014-07-14 Pedro Alves <palves@redhat.com>
7182 * gdb.base/execution-termios.c: New file.
7183 * gdb.base/execution-termios.exp: New file.
7185 2014-07-14 Tom Tromey <tromey@redhat.com>
7187 * gdb.cp/vla-cxx.cc: New file.
7188 * gdb.cp/vla-cxx.exp: New file.
7190 2014-07-14 Tom Tromey <tromey@redhat.com>
7192 * gdb.reverse/rerun-prec.c: New file.
7193 * gdb.reverse/rerun-prec.exp: New file.
7195 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7196 Maciej W. Rozycki <macro@codesourcery.com>
7198 * lib/gdb-utils.exp: New file.
7199 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7200 inline `gdb_init_command' processing.
7201 (gdb_start_cmd): Likewise.
7202 * lib/mi-support.exp (mi_run_cmd): Likewise.
7203 * README: Document `gdb_init_command' and `gdb_init_commands'.
7205 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7207 Fix false FAIL running under a very long directory name.
7208 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7209 and "set print elements 10000". Twice.
7211 2014-07-11 Yao Qi <yao@codesourcery.com>
7213 * gdb.base/exprs.exp: "set print symbol off".
7215 2014-07-11 Pedro Alves <palves@redhat.com>
7217 * gdb.threads/kill.c: New file.
7218 * gdb.threads/kill.exp: New file.
7220 2014-07-10 Yao Qi <yao@codesourcery.com>
7222 * gdb.trace/tfile.c (write_basic_trace_file)
7223 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7224 address written to trace file.
7226 2014-07-09 Pedro Alves <palves@redhat.com>
7228 * gdb.base/attach-wait-input.exp: New file.
7229 * gdb.base/attach-wait-input.c: New file.
7231 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7233 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7234 setting up test structures.
7235 (main): Call new test function.
7236 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7237 test function, continue into test function and walk test
7240 2014-07-02 Yao Qi <yao@codesourcery.com>
7242 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7243 'bar_start' at the beginning of functions 'foo' and 'bar'
7245 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7246 instead of 'foo' and 'bar'.
7248 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7250 * gdb.btrace/segv.exp: New.
7251 * gdb.btrace/segv.c: New.
7253 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7255 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7258 2014-06-30 Mark Wielaard <mjw@redhat.com>
7260 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7261 vulture, vilify, villar): New volatile array constants.
7262 (vindictive, vegetation): New const volatile array constants.
7263 * gdb.base/volatile.exp: Test volatile and const volatile array
7266 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7268 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7269 target lacks support for awatch, rwatch, or hbreak.
7271 2014-06-27 Yao Qi <yao@codesourcery.com>
7273 * gdb.multi/dummy-frame-restore.exp: New.
7274 * gdb.multi/dummy-frame-restore.c: New.
7276 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7278 * gdb.btrace/gcore.exp: New.
7280 2014-06-23 Pedro Alves <palves@redhat.com>
7282 * gdb.base/watchpoint-reuse-slot.c: New file.
7283 * gdb.base/watchpoint-reuse-slot.exp: New file.
7285 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7287 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7288 progspace's filename in 'info', 'enable' and 'disable' command
7291 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7293 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7294 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7295 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7297 2014-06-20 Gary Benson <gbenson@redhat.com>
7299 * gdb.arch/i386-avx.exp: Fix include file location.
7300 * gdb.arch/i386-sse.exp: Likewise.
7302 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7304 * gdb.dlang/expression.exp: New file.
7306 2014-06-19 Pedro Alves <palves@redhat.com>
7308 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7310 (top level): ... here. Iterate running tests under different
7311 scheduler-locking settings.
7313 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7315 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7316 to DW_FORM_addr and use non-zero addresses.
7318 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7321 * gdb.python/py-xmethods.cc: Add global function call counters and
7322 increment them in their respective functions. Remove "cout"
7324 * gdb.python/py-xmethods.exp: Make tests check the global function
7325 call counters instead of depending on inferior IO.
7327 2014-06-18 Don Breazeal <donb@codesourcery.com>
7329 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7331 (explicit_fork_parent_follow): Deleted procedure.
7332 (explicit_fork_child_follow): Deleted procedure.
7333 (test_follow_fork): New procedure.
7334 (do_fork_tests): Replace calls to deleted procedures with
7335 calls to test_follow_fork and reset GDB for subsequent
7338 2014-06-17 Yao Qi <yao@codesourcery.com>
7340 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7343 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7345 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7346 Initialize ptr and S explicitly.
7347 (skip_type_update_when_not_use_rtti_test): Likewise.
7349 2014-06-16 Keith Seitz <keiths@redhat.com>
7352 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7353 the inferior is started.
7355 2014-06-16 Pedro Alves <palves@redhat.com>
7357 * gdb.base/break-main-file-remove-fail.c: New file.
7358 * gdb.base/break-main-file-remove-fail.exp: New file.
7359 * gdb.base/break-unload-file.exp: Use build_executable instead of
7360 prepare_for_testing.
7361 (test_break): New parameter "initial_load". Handle it.
7362 (top level): Add initial_load cmdline/file axis.
7364 2014-06-12 Tom Tromey <tromey@redhat.com>
7366 * gdb.base/completion.exp: Don't use directory name in test.
7368 2014-06-09 Gary Benson <gbenson@redhat.com>
7370 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7371 separate the always-available ANSI-standard signals from the
7372 signals that require checking.
7374 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7378 2014-06-07 Keith Seitz <keiths@redhat.com>
7382 * gdb.cp/var-tag.cc: New file.
7383 * gdb.cp/var-tag.exp: New file.
7384 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7385 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7386 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7387 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7389 2014-06-06 Doug Evans <xdje42@gmail.com>
7391 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7393 2014-06-06 Pedro Alves <palves@redhat.com>
7395 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7396 in target debug output instead of looking at RSP packets,
7397 disabling the test on any target that uses hardware stepping.
7400 2014-06-06 Pedro Alves <palves@redhat.com>
7402 * gdb.base/break-unload-file.exp: Fix typo.
7404 2014-06-06 Yao Qi <yao@codesourcery.com>
7406 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7407 from "jit_function" to "^jit_function".
7409 2014-06-06 Yao Qi <yao@codesourcery.com>
7411 * gdb.base/async.c (foo): Add one statement.
7412 * gdb.base/async.exp: Get the next instruction address and
7413 match the output of "nexti" by instruction address. Match
7414 the hex address in the output of "finish".
7416 2014-06-06 Gary Benson <gbenson@redhat.com>
7418 * gdb.base/call-signals.c: Remove preprocessor conditionals
7419 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7420 SIGSEGV and SIGTERM.
7421 * gdb.base/sigall.c: Likewise.
7422 * gdb.base/unwindonsignal.c: Likewise.
7423 * gdb.reverse/sigall-reverse.c: Likewise.
7425 2014-06-06 Yao Qi <yao@codesourcery.com>
7427 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7428 readable, skip the test.
7430 2014-06-06 Yao Qi <yao@codesourcery.com>
7432 * gdb.threads/staticthreads.c (thread_function): Move the line
7433 setting breakpoint on forward.
7434 * gdb.threads/staticthreads.exp: Update comments.
7436 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7438 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7439 "history-append! type error".
7441 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7443 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7444 erroneous dprintf expected input.
7446 2014-06-04 Doug Evans <xdje42@gmail.com>
7448 * gdb.guile/scm-generics.exp: Delete.
7450 2014-06-04 Doug Evans <xdje42@gmail.com>
7452 * gdb.guile/scm-breakpoint.exp: Update.
7453 Add tests for breakpoint registration.
7455 2014-06-04 Tom Tromey <tromey@redhat.com>
7457 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7459 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7460 inner_vla_struct, vla_union types. Initialize objects of those
7461 types and compute their sizes.
7463 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7464 Hui Zhu <hui@codesourcery.com>
7466 * gdb.base/fileio.exp: Add test for shell not available as well as
7468 * gdb.base/fileio.c (test_system): Check for shell twice.
7470 2014-06-04 Yao Qi <yao@codesourcery.com>
7472 * gdb.base/auto-connect-native-target.exp: Remove redundant
7473 space from the regexp pattern.
7475 2014-06-04 Yao Qi <yao@codesourcery.com>
7477 * gdb.base/default.exp: Replace "child" with "native" in
7480 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7482 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7483 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7484 * gdb.python/py-xmethods.py: Python script supporting the
7485 new testcase and tests.
7487 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7488 Pedro Alves <palves@redhat.com>
7490 PR breakpoints/17000
7491 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7492 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7494 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7496 * gdb.base/subst.exp: Add tests to verify partial path matching
7499 2014-06-03 Pedro Alves <palves@redhat.com>
7501 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7502 target that doesn't use software single-stepping.
7504 2014-06-03 Pedro Alves <palves@redhat.com>
7506 PR breakpoints/17000
7507 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7508 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7510 2014-06-02 Doug Evans <xdje42@gmail.com>
7512 * gdb.guile/scm-parameter.exp: New file.
7514 2014-06-02 Doug Evans <xdje42@gmail.com>
7516 * gdb.guile/scm-cmd.c: New file.
7517 * gdb.guile/scm-cmd.exp: New file.
7519 2014-06-02 Doug Evans <xdje42@gmail.com>
7521 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7522 pretty-printer lookup.
7523 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7524 (make-pp_s-printer): Call it.
7525 (make-pretty-printer-from-dict): New function.
7526 (lookup-pretty-printer-maker-from-dict): New function.
7527 (*pretty-printer*): Simplify.
7528 (make-objfile-pp_s-printer): New function.
7529 (install-objfile-pretty-printers!): New function.
7530 (make-progspace-pp_s-printer): New function.
7531 (install-progspace-pretty-printers!): New function.
7532 * gdb.guile/scm-progspace.c: New file.
7533 * gdb.guile/scm-progspace.exp: New file.
7535 2014-06-02 Pedro Alves <palves@redhat.com>
7537 * gdb.base/dprintf-bp-same-addr.c: New file.
7538 * gdb.base/dprintf-bp-same-addr.exp: New file.
7540 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7542 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7543 * gdb.arch/powerpc-power.s: Likewise.
7545 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7547 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7549 2014-06-01 Yao Qi <yao@codesourcery.com>
7551 * gdb.base/watchpoint.exp (test_watch_location): Check null
7552 pointer can be dereferenced. If not, do the test, otherwise
7555 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7557 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7559 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7561 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7563 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7564 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7565 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7566 * gdb.arch/amd64-invalid-stack-top.c: New file.
7567 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7569 2014-05-30 Pedro Alves <palves@redhat.com>
7571 PR breakpoints/17000
7572 * gdb.base/sss-bp-on-user-bp.c: New file.
7573 * gdb.base/sss-bp-on-user-bp.exp: New file.
7575 2014-05-30 David Blaikie <dblaikie@gmail.com>
7577 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7578 gnu_inline semantics via attribute.
7579 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7580 source explicitly specifies the required semantics.
7582 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7584 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7586 2014-05-29 Pedro Alves <palves@redhat.com>
7587 Tom Tromey <tromey@redhat.com>
7589 * gdb.base/async-shell.exp: Don't enable target-async.
7590 * gdb.base/async.exp
7591 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7593 (top level): Don't test with "target-async".
7594 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7595 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7596 * gdb.base/inferior-died.exp: Don't enable target-async.
7597 * gdb.base/interrupt-noterm.exp: Likewise.
7598 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7599 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7600 * gdb.mi/mi-nonstop.exp: Likewise.
7601 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7602 * gdb.mi/mi-nsintrall.exp: Likewise.
7603 * gdb.mi/mi-nsmoribund.exp: Likewise.
7604 * gdb.mi/mi-nsthrexec.exp: Likewise.
7605 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7606 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7607 * gdb.python/py-evsignal.exp: Don't enable target-async.
7608 * gdb.python/py-evthreads.exp: Likewise.
7609 * gdb.python/py-prompt.exp: Likewise.
7610 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7611 * gdb.server/solib-list.exp: Don't enable target-async.
7612 * gdb.threads/thread-specific-bp.exp: Likewise.
7613 * lib/mi-support.exp: Adjust to use mi-async.
7615 2014-05-29 Pedro Alves <palves@redhat.com>
7618 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7619 reason, even in sync mode.
7621 2014-05-29 Pedro Alves <palves@redhat.com>
7622 Hui Zhu <hui@codesourcery.com>
7625 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7626 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7627 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7628 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7630 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7632 * config/monitor.exp (gdb_target_monitor): Replace use of
7633 "set remotebaud" by "set serial baud".
7635 2014-05-26 Andy Wingo <wingo@igalia.com>
7637 * gdb.guile/scm-breakpoint.exp:
7638 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7639 properties instead of gdb-object-properties.
7641 2014-05-26 Yao Qi <yao@codesourcery.com>
7643 * gdb.server/no-thread-db.exp: Specify source file name
7644 explicitly when setting a breakpoint.
7646 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7648 * gdb.btrace/vdso.c: New.
7649 * gdb.btrace/vdso.exp: New.
7651 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7653 * gdb.base/gcore.exp (capture_command_output): Move ...
7654 * lib/gdb.exp (capture_command_output): ... here.
7656 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7658 * gdb.btrace/data.exp: Test memory access during btrace replay.
7660 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7662 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7664 2014-05-21 Pedro Alves <palves@redhat.com>
7667 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7668 (top level): Test that output related to execution commands is
7669 sent to the console with CLI commands, but not with MI commands.
7670 Test that breakpoint events are always mirrored to the console.
7671 Also expect the new source line to be output after a "next" in
7672 async mode too. Make it a pass/fail test.
7673 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7675 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7677 2014-05-21 Pedro Alves <palves@redhat.com>
7679 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7680 Use them to test variations of "list" after reaching a breakpoint.
7681 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7682 Test "list" with listsize 10 after reaching a breakpoint.
7683 * gdb.python/python.exp (decode_line current location line
7684 number): Adjust expected line number.
7686 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7688 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7689 behavior for $args, pass it directly to "run".
7691 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7693 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7696 2014-05-21 Pedro Alves <palves@redhat.com>
7698 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7699 auto-connect-native-target off".
7700 * gdb.base/auto-connect-native-target.c: New file.
7701 * gdb.base/auto-connect-native-target.exp: New file.
7703 2014-05-21 Pedro Alves <palves@redhat.com>
7705 * gdb.base/default.exp: Test "target native" instead of "target
7708 2014-05-21 Mark Wielaard <mjw@redhat.com>
7710 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7712 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7714 Fix TLS access for -static -pthread.
7715 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7716 <HAVE_TLS> (thread_function, main): Initialize it.
7717 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7719 <$have_tls != "">: Check TLSVAR.
7721 2014-05-21 Pedro Alves <palves@redhat.com>
7723 * gdb.base/dcache-line-read-error.c: New.
7724 * gdb.base/dcache-line-read-error.exp: New.
7726 2014-05-20 Pedro Alves <palves@redhat.com>
7728 * gdb.base/compare-sections.c: New file.
7729 * gdb.base/compare-sections.exp: New file.
7731 2014-05-20 Pedro Alves <palves@redhat.com>
7733 * gdb.base/break-idempotent.c: New file.
7734 * gdb.base/break-idempotent.exp: New file.
7736 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7738 * gdb.btrace/nohist.exp: New.
7740 2014-05-20 Yao Qi <yao@codesourcery.com>
7742 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7743 gdb.reverse directory and gdb_reverse_timeout exists in board
7745 * README: Document gdb_reverse_timeout.
7747 2014-05-20 Yao Qi <yao@codesourcery.com>
7749 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7750 'test_file_name'. Treat args as a string instead of a list.
7751 (gdb_init): Rename argument 'args' by 'test_file_name'.
7753 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7755 * gdb.arch/powerpc-power.exp: New file.
7756 * gdb.arch/powerpc-power.s: New file.
7758 2014-05-16 Doug Evans <dje@google.com>
7760 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7761 * gdb.base/completion.exp: Check that all expected files exist
7762 before doing file completion.
7764 2014-05-16 Doug Evans <dje@google.com>
7766 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7768 (do_syscall_tests_without_xml): Update.
7770 2014-05-16 Pedro Alves <palves@redhat.com>
7772 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7773 instead of "unknown output after running".
7775 2014-05-16 Yao Qi <yao@codesourcery.com>
7777 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7778 file1.txt from host at the end.
7779 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7781 2014-05-15 Doug Evans <dje@google.com>
7783 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7784 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7785 loading file. Add test for TU lookup.
7787 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7789 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7790 calling "-exec-arguments" or "set args" before running the
7793 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7795 * lib/mi-support.exp (mi_expect_stop): Expect message for
7796 inferiors that exit with non-zero exit code.
7798 2014-05-14 Yao Qi <yao@codesourcery.com>
7800 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7801 match absolute path on remote host.
7802 (test_file_list_exec_source_files): Remove "/" from the
7805 2014-05-14 Yao Qi <yao@codesourcery.com>
7807 * boards/local-remote-host-notty.exp (${board}_file): New
7810 2014-05-07 Kyle McMartin <kyle@redhat.com>
7812 Pushed by Joel Brobecker <brobecker@adacore.com>.
7813 * gdb.arch/aarch64-atomic-inst.c: New file.
7814 * gdb.arch/aarch64-atomic-inst.exp: New file.
7816 2014-05-07 Yao Qi <yao@codesourcery.com>
7818 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7819 in current context" too.
7821 2014-05-05 Keith Seitz <keiths@redhat.com>
7823 * gdb.linespec/ls-dollar.exp: Add test for linespec
7824 file:convenience_variable.
7826 2014-05-05 Yao Qi <yao@codesourcery.com>
7828 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7829 traceframes into tfile and ctf trace files. Read data from
7830 trace file and test collected data.
7831 (gdb_collect_locals_test): Likewise.
7832 (gdb_unavailable_registers_test): Likewise.
7833 (gdb_unavailable_floats): Likewise.
7834 (gdb_collect_globals_test): Likewise.
7835 (top-level): Append "ctf" to trace_file_targets if GDB
7838 2014-05-05 Yao Qi <yao@codesourcery.com>
7840 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7842 (gdb_collect_args_test_1): ... it. New proc.
7843 (gdb_collect_locals_test): Move some code to ...
7844 (gdb_collect_locals_test_1): ... it. New proc.
7845 (gdb_unavailable_registers_test): Move some code to ...
7846 (gdb_unavailable_registers_test_1): ... it. New proc.
7847 (gdb_unavailable_floats): Move some code to ...
7848 (gdb_unavailable_floats_1): ... it. New proc.
7850 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7852 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7853 probes to test for bitness recognition.
7854 * gdb.arch/amd64-stap-optional-prefix.exp
7855 (test_probe_value_without_reg): New procedure.
7856 Add code to test for different kinds of bitness.
7858 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7860 PR breakpoints/16889
7861 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7862 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7864 2014-05-01 Pedro Alves <palves@redhat.com>
7866 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7867 gdb_file_cmd if no file is specified.
7868 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7869 last_loaded_file to set the remote exec-file.
7871 2014-05-01 Pedro Alves <palves@redhat.com>
7873 * boards/local-remote-host.exp: New file.
7875 2014-05-01 Pedro Alves <palves@redhat.com>
7877 * boards/local-remote-host.exp: Rename to ...
7878 * boards/local-remote-host-notty.exp: ... this.
7880 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7882 * gdb.ada/dyn_arrayidx: New testcase.
7884 2014-04-26 Yao Qi <yao@codesourcery.com>
7886 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7887 and compute the length of function main. Save it in
7889 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7890 (top-level): Use gdb_compile to compile objects into
7891 executable and restart GDB. Remove invocation to
7892 prepare_for_testing.
7894 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7895 Pedro Alves <palves@redhat.com>
7898 * gdb.multi/multi-attach.c: New file.
7899 * gdb.multi/multi-attach.exp: New file.
7901 2014-04-25 Pedro Alves <palves@redhat.com>
7903 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7905 (top level): Test that "set remote conditional-breakpoints-packet
7906 off" works as intended.
7907 * gdb.base/dprintf.exp: Test that "set remote
7908 breakpoint-commands-packet off" works as intended.
7909 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7911 (top level): Call it.
7912 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7913 remote fast-tracepoints-packet off" works as intended.
7914 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7915 * lib/gdb.exp (gdb_is_target_remote): ... here.
7917 2014-04-24 David Blaikie <dblaikie@gmail.com>
7919 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7920 ensure clang would not discard them.
7921 * gdb.base/gdbvars.c: Ditto.
7922 * gdb.base/memattr.c: Ditto.
7923 * gdb.base/whatis.c: Ditto.
7924 * gdb.python/py-prettyprint.c: Ditto.
7925 * gdb.trace/actions.c: Ditto.
7926 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7927 ensure clang would not discard it.
7929 2014-04-24 David Blaikie <dblaikie@gmail.com>
7931 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7932 clang to emit the full definition of type required by the test
7933 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7935 2014-04-24 David Blaikie <dblaikie@gmail.com>
7937 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7938 coax Clang into emitting the definition of the type.
7939 * gdb.cp/pr10728-x.h (y): Ditto.
7940 * gdb.cp/pr10728-y.cc (y): Ditto.
7942 2014-04-24 David Blaikie <dblaikie@gmail.com>
7944 * gdb.base/label.exp: XFAIL label related tests under Clang.
7945 * gdb.cp/cplabel.exp: Ditto.
7946 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7947 under Clang those using labels.
7949 2014-04-25 Yao Qi <yao@codesourcery.com>
7951 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7953 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7954 partial_label and double_label.
7956 2014-04-24 David Blaikie <dblaikie@gmail.com>
7958 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7960 2014-04-24 David Blaikie <dblaikie@gmail.com>
7962 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7963 of the function to work across GCC and Clang.
7964 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7965 pointer types (const void ** const V void **).
7967 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7968 Walfred Tedeschi <walfred.tedeschi@intel.com>
7970 * Makefile.in (EXECUTABLES): Added i386-avx512.
7971 * gdb.arch/i386-avx512.c: New file.
7972 * gdb.arch/i386-avx512.exp: Likewise.
7974 2014-04-23 Keith Seitz <keiths@redhat.com>
7976 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7977 (mi_make_breakpoint_table): New procedure.
7978 (mi_create_breakpoint): Use mi_make_breakpoint
7979 and return the result.
7980 (mi_make_breakpoint): New procedure.
7981 (mi_build_kv_pairs): New procedure.
7983 * gdb.mi/mi-break.exp: Remove unused globals,
7984 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7985 All callers updated.
7986 * gdb.mi/mi-dprintf.exp: Use variable to track command
7988 Update all callers of mi_create_breakpoint and use
7989 mi_make_breakpoint_table.
7990 Remove any unused global variables.
7991 * gdb.mi/mi-nonstop.exp: Likewise.
7992 * gdb.mi/mi-nsintrall.exp: Likewise.
7993 * gdb.mi/mi-nsmoribund.exp: Likewise.
7994 * gdb.mi/mi-nsthrexec.exp: Likewise.
7995 * gdb.mi/mi-reverse.exp: Likewise.
7996 * gdb.mi/mi-simplerun.exp: Likewise.
7997 * gdb.mi/mi-stepn.exp: Likewise.
7998 * gdb.mi/mi-syn-frame.exp: Likewise.
7999 * gdb.mi/mi-until.exp: Likewise.
8000 * gdb.mi/mi-var-cp.exp: Likewise.
8001 * gdb.mi/mi-var-display.exp: Likewise.
8002 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8003 * gdb.mi/mi2-var-child.exp: Likewise.
8004 * gdb.mi/mi-vla-c99.exp: Likewise.
8005 * lib/mi-support.exp: Likewise.
8007 From Ian Lance Taylor <iant@cygnus.com>:
8008 * lib/gdb.exp (parse_args): New procedure.
8010 2014-04-23 Pedro Alves <palves@redhat.com>
8012 * gdb.base/break-unload-file.c: New file.
8013 * gdb.base/break-unload-file.exp: New file.
8014 * gdb.base/sym-file-lib.c (baz): New function.
8015 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8017 (load): Store the segment's mapped size.
8018 (unload): New function.
8019 (unload_shlib): New function.
8020 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8021 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8022 set a breakpoint at baz, and call it.
8023 * gdb.base/sym-file.exp: New tests for stale breakpoint
8026 2014-04-23 Pedro Alves <palves@redhat.com>
8028 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8029 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8030 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8031 * gdb.base/hbreak-unmapped.c: New file.
8032 * gdb.base/hbreak-unmapped.exp: New file.
8033 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8034 * lib/gdb.exp (gdb_is_target_remote): ... here.
8036 2014-04-22 Pedro Alves <palves@redhat.com>
8038 * gdb.base/consecutive-step-over.c: New file.
8039 * gdb.base/consecutive-step-over.exp: New file.
8041 2014-04-22 Pedro Alves <palves@redhat.com>
8043 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8044 instead of send_gdb/gdb_expect.
8046 2014-04-22 Yao Qi <yao@codesourcery.com>
8048 * lib/trace-support.exp (generate_tracefile): New procedure.
8049 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8051 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8052 if generate_tracefile returns 1.
8054 2014-04-18 Tom Tromey <palves@redhat.com>
8055 Pedro alves <tromey@redhat.com>
8058 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8059 with a backtrace limit.
8060 * gdb.python/py-frame-inline.exp: Test running to an inline
8061 function with a backtrace limit, and printing the newest frame.
8062 * gdb.python/py-frame-inline.c (main): Call f.
8064 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8066 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8068 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8070 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8071 Drop prefix from unsupported source file path.
8073 2014-04-17 Yao Qi <yao@codesourcery.com>
8075 * lib/gdb.exp (with_target_charset): New proc.
8076 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8077 with_target_charset.
8078 (test_print_strings): Likewise.
8079 (test_repeat_bytes): Likewise.
8080 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8083 2014-04-16 Keith Seitz <keiths@redhat.com>
8086 * gdb.dwarf2/corrupt.c: New file.
8087 * gdb.dwarf2/corrupt.exp: New file.
8089 2014-04-16 Keith Seitz <keiths@redhat.com>
8092 * gdb.cp/namelessclass.cc: New file.
8093 * gdb.cp/namelessclass.exp: New file.
8094 * gdb.cp/namelessclass.S: New file.
8096 2014-04-16 Doug Evans <dje@google.com>
8098 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8100 (gdbserver_default_get_comm_port): New function.
8101 (gdbserver_start): Check if board file provided
8102 "gdbserver,get_comm_port" and use it if so.
8103 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8104 (gdb,socketport): Set to "stdio".
8105 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8106 (stdio_gdbserver_template): Delete.
8107 (${board}_get_remote_address): Update.
8108 (${board}_build_remote_cmd): Delete.
8109 (${board}_get_comm_port): New function.
8110 (${board}_spawn): Update.
8111 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8113 (${board}_get_remote_address): Update.
8114 (${board}_get_comm_port): New function.
8116 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8118 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8119 appearing in any order.
8121 2014-04-15 Doug Evans <dje@google.com>
8123 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8124 uninitialized value of "description".
8126 2014-04-15 Keith Seitz <keiths@redhat.com>
8128 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8129 Remove unused globals.
8130 (test_running_the_program): Likewise.
8131 (test_controlled_execution): Likewise.
8132 (test_controlling_breakpoints): Likewise.
8133 (test_program_termination): Likewise.
8135 2014-04-15 Keith Seitz <keiths@redhat.com>
8137 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8139 (test_rbreak_creation_and_listing): Likewise.
8140 (test_ignore_count): Likewise.
8141 (test_error): Likewise.
8143 2014-04-15 Pedro Alves <palves@redhat.com>
8145 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8146 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8148 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8149 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8150 to sym-file-loader.c.
8151 (struct library): Forward declare.
8152 (load_shlib, lookup_function): Change prototypes.
8153 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8154 (translate_offset): Remove declarations.
8155 (get_text_addr): New declaration.
8156 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8157 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8159 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8160 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8161 here from sym-file-loader.h.
8162 (struct library): New structure.
8163 (load_shlib, lookup_function): Change prototypes and adjust to
8164 work with a struct library.
8165 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8166 (translate_offset): Make static.
8167 (get_text_addr): New function.
8168 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8170 2014-04-15 Pedro Alves <palves@redhat.com>
8172 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8174 2014-04-15 Pedro Alves <palves@redhat.com>
8176 * gdb.base/sym-file-loader.c: Include <limits.h>.
8177 (SELF_LINK): New define.
8178 (get_origin): New function.
8179 (load_shlib): Use it.
8180 * gdb.base/sym-file.exp: Don't early return if the target is
8181 remote. Use runto_main, and issue fail is that fails. Use
8183 (shlib_name): Delete.
8184 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8186 2014-04-15 Pedro Alves <palves@redhat.com>
8188 * gdb.base/sym-file.exp: Remove regex characters from test
8189 message. Don't refer to breakpoint numbers in test messages.
8191 2014-04-14 Keith Seitz <keiths@redhat.com>
8194 * gdb.cp/var-tag.cc: New file.
8195 * gdb.cp/var-tag.exp: New file.
8196 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8197 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8198 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8199 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8201 2014-04-14 Tom Tromey <tromey@redhat.com>
8203 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8204 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8206 * gdb.cp/enum-class.exp: New file.
8207 * gdb.cp/enum-class.cc: New file.
8209 2014-04-14 Tom Tromey <tromey@redhat.com>
8211 * gdb.dwarf2/enum-type.exp: New file.
8213 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8215 * gdb.mi/mi-vla-c99.exp: New file.
8216 * gdb.mi/vla.c: New file.
8218 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8220 * gdb.base/vla-datatypes.c: New file.
8221 * gdb.base/vla-datatypes.exp: New file.
8223 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8225 * gdb.base/vla-ptr.c: New file.
8226 * gdb.base/vla-ptr.exp: New file.
8228 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8230 * gdb.dwarf2/count.exp: New file.
8232 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8234 * gdb.base/vla-sideeffect.c: New file.
8235 * gdb.base/vla-sideeffect.exp: New file.
8237 2014-04-14 David Blaikie <dblaikie@gmail.com>
8239 * gdb.mi/non-stop.c: Add return value for non-void function return
8241 * gdb.threads/staticthreads.c: Ditto.
8243 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8244 Doug Evans <xdje42@gmail.com>
8246 * gdb.guile/scm-value.c: Improve test case.
8247 * gdb.guile/scm-value.exp: Add new test.
8249 2014-04-11 David Blaikie <dblaikie@gmail.com>
8251 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8252 override Clang's default.
8254 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8256 Revert the following changes (regressions):
8258 * gdb.base/vla-sideeffect.c: New file.
8259 * gdb.base/vla-sideeffect.exp: New file.
8261 * gdb.dwarf2/count.exp: New file.
8263 * gdb.base/vla-multi.c: New file.
8264 * gdb.base/vla-multi.exp: New file.
8266 * gdb.base/vla-ptr.c: New file.
8267 * gdb.base/vla-ptr.exp: New file.
8269 * gdb.base/vla-datatypes.c: New file.
8270 * gdb.base/vla-datatypes.exp: New file.
8272 * gdb.mi/mi-vla-c99.exp: New file.
8273 * gdb.mi/vla.c: New file.
8275 2014-04-11 Keith Seitz <keiths@redhat.com>
8278 * gdb.cp/cpsizeof.exp: New file.
8279 * gdb.cp/cpsizeof.cc: New file.
8281 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8283 * gdb.mi/mi-vla-c99.exp: New file.
8284 * gdb.mi/vla.c: New file.
8286 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8288 * gdb.base/vla-datatypes.c: New file.
8289 * gdb.base/vla-datatypes.exp: New file.
8291 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8293 * gdb.base/vla-ptr.c: New file.
8294 * gdb.base/vla-ptr.exp: New file.
8296 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8298 * gdb.base/vla-multi.c: New file.
8299 * gdb.base/vla-multi.exp: New file.
8301 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8303 * gdb.dwarf2/count.exp: New file.
8305 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8307 * gdb.base/vla-sideeffect.c: New file.
8308 * gdb.base/vla-sideeffect.exp: New file.
8310 2014-04-11 Yao Qi <yao@codesourcery.com>
8312 * gdb.base/completion.exp: Check file exists before running tests
8315 2014-04-10 Pedro Alves <palves@redhat.com>
8317 * gdb.base/cond-eval-mode.c: New file.
8318 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8319 prepare_for_testing to build the new file. Check result of
8321 (test_break, test_watch): New procedures.
8322 (top level): Use them.
8324 2014-04-08 Pierre Muller <muller@sourceware.org>
8326 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8327 Ctrl-V use for mingw hosts.
8329 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8331 * gdb.python/py-value.c: Improve test case.
8332 * gdb.python/py-value.exp: Add new test.
8334 2014-04-07 David Blaikie <dblaikie@gmail.com>
8336 * lib/compiler.c: Identify the clang compiler.
8337 * lib/compiler.cc: Ditto.
8339 2014-04-03 Yao Qi <yao@codesourcery.com>
8341 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8343 2014-04-01 Anton Blanchard <anton@samba.org>
8345 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8348 2014-04-01 Anton Blanchard <anton@samba.org>
8350 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8351 prepare_for_testing.
8353 2014-04-01 Anton Blanchard <anton@samba.org>
8355 * gdb.arch/ppc64-atomic-inst.c: Remove.
8356 * gdb.arch/ppc64-atomic-inst.S: New file.
8357 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8359 2014-03-31 Doug Evans <dje@google.com>
8361 * gdb.base/print-symbol-loading-lib.c: New file.
8362 * gdb.base/print-symbol-loading-main.c: New file.
8363 * gdb.base/print-symbol-loading.exp: New file.
8365 2014-03-31 Yao Qi <yao@codesourcery.com>
8367 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8369 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8371 * gdb.ada/mi_dyn_arr: New testcase.
8373 2014-03-27 Doug Evans <dje@google.com>
8375 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8377 2014-03-27 Yao Qi <yao@codesourcery.com>
8379 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8380 if target is nios2-*-*.
8382 2014-03-26 Yao Qi <yao@codesourcery.com>
8384 * lib/gdb.exp (readline_is_used): New proc.
8385 * gdb.base/completion.exp: Move tests on command complete up.
8386 Skip the rest of tests if readline is not used.
8387 * gdb.ada/complete.exp: Skp the test if readline is not
8389 * gdb.base/filesym.exp: Likewise.
8390 * gdb.base/macscp.exp: Likewise.
8391 * gdb.base/readline-ask.exp: Likewise.
8392 * gdb.base/readline.exp: Likewise.
8393 * gdb.python/py-cmd.exp: Likewise.
8394 * gdb.trace/tfile.exp: Likewise.
8396 2014-03-26 Yao Qi <yao@codesourcery.com>
8398 * gdb.base/macscp.exp: Fix code format issues.
8400 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8402 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8403 * gdb.asm/powerpc64le.inc: New file.
8405 2014-03-25 Pedro Alves <palves@redhat.com>
8406 Doug Evans <dje@google.com>
8408 * gdb.base/source-execution.c: New file.
8409 * gdb.base/source-execution.exp: New file.
8410 * gdb.base/source-execution.gdb: New file.
8412 2014-03-24 Doug Evans <dje@google.com>
8414 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8417 2014-03-24 Hui Zhu <hui@codesourcery.com>
8418 Pedro Alves <palves@redhat.com>
8420 PR breakpoints/16101
8421 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8422 test pass/fail messages. Detect missing support for dprintf when
8423 breakpoints are actually inserted.
8424 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8425 breakpoints are actually inserted.
8426 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8429 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8431 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8433 2014-03-22 Doug Evans <xdje42@gmail.com>
8435 * gdb.python/python.exp (python not supported): Verify multi-line
8436 python command issues an error.
8437 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8438 guile command issues an error.
8440 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8442 * gdb.threads/thread-specific.exp: Handle the lack of usable
8443 $this_breakpoint and $this_thread.
8445 2014-03-21 Hui Zhu <hui@codesourcery.com>
8447 * gdb.base/attach.exp (do_command_attach_tests): New.
8449 2014-03-20 Tom Tromey <tromey@redhat.com>
8450 Pedro Alves <palves@redhat.com>
8453 * gdb.base/condbreak-call-false.c: New file.
8454 * gdb.base/condbreak-call-false.exp: New file.
8456 2014-03-20 Pedro Alves <palves@redhat.com>
8458 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8460 (block_signals, unblock_signals): Delete.
8461 (child_function_2, main): Remove references to deleted variable
8464 2014-03-20 Pedro Alves <palves@redhat.com>
8466 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8467 Use pthread_kill to signal thread 2.
8468 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8469 Adjust to make the test send itself a signal rather than using the
8470 host's "kill" command.
8472 2014-03-20 Pedro Alves <palves@redhat.com>
8474 * gdb.threads/multiple-step-overs.c: New file.
8475 * gdb.threads/multiple-step-overs.exp: New file.
8476 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8477 Adjust expected infrun debug output.
8479 2014-03-20 Pedro Alves <palves@redhat.com>
8481 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8482 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8484 2014-03-20 Pedro Alves <palves@redhat.com>
8487 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8488 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8489 of gdb_test_multiple.
8490 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8491 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8493 2014-03-20 Pedro Alves <palves@redhat.com>
8495 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8496 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8498 2014-03-19 Pedro Alves <palves@redhat.com>
8500 * gdb.base/async.exp: Remove early return.
8502 2014-03-19 Pedro Alves <palves@redhat.com>
8504 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8506 2014-03-19 Pedro Alves <palves@redhat.com>
8508 * gdb.base/async.exp (test_background): Expect \r\n after
8509 "completed." in the fail pattern.
8511 2014-03-19 Pedro Alves <palves@redhat.com>
8513 * gdb.base/async.exp (test_background): New procedure.
8514 Use it for all background execution command tests.
8516 2014-03-19 Pedro Alves <palves@redhat.com>
8518 * gdb.base/async.exp: Use prepare_for_testing.
8520 2014-03-19 Pedro Alves <palves@redhat.com>
8522 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8525 2014-03-19 Pedro Alves <palves@redhat.com>
8527 * gdb.base/async.c (main): Add "jump here" and "until here" line
8529 * gdb.base/async.exp (jump_here): New global.
8530 (jump& test): Use it.
8531 (until_here): New global.
8532 (until& test): Use it.
8534 2014-03-19 Pedro Alves <palves@redhat.com>
8536 * gdb.base/async.exp: Don't frob gdb_protocol.
8538 2014-03-18 Doug Evans <xdje42@gmail.com>
8540 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8541 Fix spelling of exec-done-display.
8543 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8546 * gdb.base/gdb-sigterm.c: New file.
8547 * gdb.base/gdb-sigterm.exp: New file.
8549 2014-03-18 Pedro Alves <palves@redhat.com>
8552 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8553 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8556 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8558 * gdb.ada/pckd_arr_ren: New testcase.
8560 2014-03-13 Doug Evans <xdje42@gmail.com>
8563 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8564 collect after discarding symbols.
8566 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8567 Doug Evans <xdje42@gmail.com>
8569 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8570 to history survives a gc.
8572 2014-03-13 Pedro Alves <palves@redhat.com>
8574 * gdb.base/default.exp: Don't test "target procfs".
8576 2014-03-13 Pedro Alves <palves@redhat.com>
8578 * gdb.base/default.exp: Update "target child" and "target procfs"
8579 tests to not expect "Unix".
8581 2014-03-12 Tom Tromey <tromey@redhat.com>
8583 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8584 New procs. Add target-async tests.
8585 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8586 Add target-async tests.
8588 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8590 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8591 'func_start' and 'func_end' for the beginning and end of the
8592 function code, respectively.
8593 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8594 'func_end' instead of 'func' and 'main'.
8596 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8598 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8599 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8600 generate the debug info assembler source.
8602 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8604 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8605 * gdb.dwarf2/arr-subrange.exp: Likewise.
8606 * gdb.dwarf2/dwz.exp: Likewise.
8607 * gdb.dwarf2/method-ptr.exp: Likewise.
8608 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8609 * gdb.dwarf2/subrange.exp: Likewise.
8610 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8611 * gdb.dwarf2/implptrpiece.exp: Likewise.
8612 * gdb.dwarf2/nostaticblock.exp: Likewise.
8614 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8616 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8617 directory to absolute path name arguments.
8619 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8621 * gdb.ada/tagged_access: New testcase.
8623 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8625 * gdb.btrace/data.exp: Update expected output.
8627 2014-03-06 Yao Qi <yao@codesourcery.com>
8629 * gdb.trace/pr16508.exp: New file.
8631 2014-03-05 Pedro Alves <palves@redhat.com>
8634 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8636 (top level): Adjust to use it. Add tests that exercise breakpoint
8637 interaction with the code-cache.
8639 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8641 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8642 test for 'history-append!'.
8644 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8646 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8647 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8648 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8649 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8650 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8651 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8653 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8655 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8656 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8657 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8659 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8661 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8663 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8665 * gdb.dwarf2/arr-stride.c: New file.
8666 * gdb.dwarf2/arr-stride.exp: New file.
8668 2014-02-26 Pedro Alves <palves@redhat.com>
8670 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8671 that won't ever trigger. Make sure that GDB reports the correct
8672 breakpoint that caused the stop.
8674 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8677 * gdb.base/auto-load-script: New file.
8678 * gdb.base/auto-load.c: New file.
8679 * gdb.base/auto-load.exp: New file.
8682 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8684 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8686 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8687 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8689 2014-02-24 Doug Evans <dje@google.com>
8691 * lib/gdb.exp (run_on_host): Log error output if program fails.
8693 2014-02-21 Pedro Alves <palves@redhat.com>
8695 * gdb.threads/step-after-sr-lock.c: Rename to ...
8696 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8697 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8698 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8701 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8704 * gdb.arch/amd64-stap-special-operands.exp: New file.
8705 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8706 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8707 * gdb.arch/amd64-stap-triplet.S: Likewise.
8708 * gdb.arch/amd64-stap-triplet.c: Likewise.
8710 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8712 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8713 in .section pseudo-op.
8715 2014-02-20 lin zuojian <manjian2006@gmail.com>
8716 Joel Brobecker <brobecker@adacore.com>
8717 Doug Evans <xdje42@gmail.com>
8720 * gdb.dwarf2/dw2-icycle.S: New file.
8721 * gdb.dwarf2/dw2-icycle.c: New file.
8722 * gdb.dwarf2/dw2-icycle.exp: New file.
8724 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8726 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8727 operations on gdb.Value objects.
8728 * gdb.python/py-value-cc.exp: Add new test to test operations on
8731 2014-02-18 Doug Evans <dje@google.com>
8733 * Makefile.in (TESTS): New variable.
8734 (expanded_tests, expanded_tests_or_none): New variables
8735 (check-single): Pass $(expanded_tests_or_none) to runtest.
8736 (check-parallel): Only run tests in $(TESTS) if non-empty.
8737 (check/no-matching-tests-found): New rule.
8738 * README: Document TESTS makefile variable.
8740 2014-02-18 Doug Evans <dje@google.com>
8742 * Makefile.in (check-parallel): rm -rf outputs temp.
8744 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8746 Fix "ERROR: no fileid for" in the testsuite.
8747 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8749 2014-02-12 Doug Evans <dje@google.com>
8751 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8752 (MISCELLANEOUS): New variable.
8753 (clean): rm -rf $(MISCELLANEOUS).
8754 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8755 dwp live in the same directory as symlinks, with each symlink pointed
8756 to a differently named file in a different directory.
8758 2014-02-11 Doug Evans <dje@google.com>
8760 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8761 of Tcl file commands.
8763 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8765 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8768 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8770 * gdb.ada/tick_length_array_enum_idx: New testcase.
8772 2014-02-10 Doug Evans <xdje42@gmail.com>
8774 * configure.ac (AC_OUTPUT): Add gdb.guile.
8775 * configure: Regenerate.
8776 * lib/gdb-guile.exp: New file.
8777 * lib/gdb.exp (get_target_charset): New function.
8778 * gdb.base/help.exp: Update expected output from "apropos apropos".
8779 * gdb.guile/Makefile.in: New file.
8780 * gdb.guile/guile.exp: New file.
8781 * gdb.guile/scm-arch.c: New file.
8782 * gdb.guile/scm-arch.exp: New file.
8783 * gdb.guile/scm-block.c: New file.
8784 * gdb.guile/scm-block.exp: New file.
8785 * gdb.guile/scm-breakpoint.c: New file.
8786 * gdb.guile/scm-breakpoint.exp: New file.
8787 * gdb.guile/scm-disasm.c: New file.
8788 * gdb.guile/scm-disasm.exp: New file.
8789 * gdb.guile/scm-equal.c: New file.
8790 * gdb.guile/scm-equal.exp: New file.
8791 * gdb.guile/scm-error.exp: New file.
8792 * gdb.guile/scm-error.scm: New file.
8793 * gdb.guile/scm-frame-args.c: New file.
8794 * gdb.guile/scm-frame-args.exp: New file.
8795 * gdb.guile/scm-frame-args.scm: New file.
8796 * gdb.guile/scm-frame-inline.c: New file.
8797 * gdb.guile/scm-frame-inline.exp: New file.
8798 * gdb.guile/scm-frame.c: New file.
8799 * gdb.guile/scm-frame.exp: New file.
8800 * gdb.guile/scm-generics.exp: New file.
8801 * gdb.guile/scm-gsmob.exp: New file.
8802 * gdb.guile/scm-iterator.c: New file.
8803 * gdb.guile/scm-iterator.exp: New file.
8804 * gdb.guile/scm-math.c: New file.
8805 * gdb.guile/scm-math.exp: New file.
8806 * gdb.guile/scm-objfile-script-gdb.in: New file.
8807 * gdb.guile/scm-objfile-script.c: New file.
8808 * gdb.guile/scm-objfile-script.exp: New file.
8809 * gdb.guile/scm-objfile.c: New file.
8810 * gdb.guile/scm-objfile.exp: New file.
8811 * gdb.guile/scm-ports.exp: New file.
8812 * gdb.guile/scm-pretty-print.c: New file.
8813 * gdb.guile/scm-pretty-print.exp: New file.
8814 * gdb.guile/scm-pretty-print.scm: New file.
8815 * gdb.guile/scm-section-script.c: New file.
8816 * gdb.guile/scm-section-script.exp: New file.
8817 * gdb.guile/scm-section-script.scm: New file.
8818 * gdb.guile/scm-symbol.c: New file.
8819 * gdb.guile/scm-symbol.exp: New file.
8820 * gdb.guile/scm-symtab-2.c: New file.
8821 * gdb.guile/scm-symtab.c: New file.
8822 * gdb.guile/scm-symtab.exp: New file.
8823 * gdb.guile/scm-type.c: New file.
8824 * gdb.guile/scm-type.exp: New file.
8825 * gdb.guile/scm-value-cc.cc: New file.
8826 * gdb.guile/scm-value-cc.exp: New file.
8827 * gdb.guile/scm-value.c: New file.
8828 * gdb.guile/scm-value.exp: New file.
8829 * gdb.guile/source2.scm: New file.
8830 * gdb.guile/types-module.cc: New file.
8831 * gdb.guile/types-module.exp: New file.
8833 2014-02-10 Yao Qi <yao@codesourcery.com>
8836 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8837 * configure: Regenerated.
8838 * Makefile.in: New file.
8840 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8842 * gdb.python/py-framefilter.exp: Fix typo.
8844 2014-02-08 Yao Qi <yao@codesourcery.com>
8846 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8847 that no =breakpoint-modified is emitted when breakpoints are
8848 modified through MI commands.
8850 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8851 Pedro Alves <palves@redhat.com>
8853 * gdb.threads/step-after-sr-lock.c: New file.
8854 * gdb.threads/step-after-sr-lock.exp: New file.
8856 2014-02-07 Pedro Alves <palves@redhat.com>
8858 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8860 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8862 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8863 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8865 2014-02-06 Doug Evans <xdje42@gmail.com>
8867 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8870 * gdb.gdb/python-interrupts.exp: New file.
8872 2014-02-05 Yao Qi <yao@codesourcery.com>
8874 * gdb.trace/report.exp (use_collected_data): Test the output
8875 of "info threads" and "info inferiors".
8877 2014-02-05 Yao Qi <yao@codesourcery.com>
8881 2013-05-24 Yao Qi <yao@codesourcery.com>
8883 * gdb.trace/tfile.exp: Test inferior and thread.
8885 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8887 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8889 * gdb.base/step-bt.c: Call hello via function pointer to make
8890 sure its first instruction is executed on powerpc64le-linux.
8892 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8894 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8896 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8898 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8899 of the test patterns for use on little-endian systems.
8901 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8903 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8904 (decimal_vector): Fix for little-endian.
8906 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8908 * gdb.arch/sparc-sysstep.exp: New file.
8909 * gdb.arch/sparc-sysstep.c: Likewise.
8911 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8913 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8915 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8917 2014-01-23 Tom Tromey <tromey@redhat.com>
8919 * gdb.ada/array_char_idx: New testcase.
8921 2014-01-23 Tom Tromey <tromey@redhat.com>
8924 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8925 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8928 2014-01-23 Tom Tromey <tromey@redhat.com>
8931 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8932 string from an inferior frame.
8933 * gdb.python/py-framefilter-mi.exp: Update.
8935 2014-01-22 Doug Evans <dje@google.com>
8937 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8939 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8941 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8943 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8945 * gdb.trace/entry-values.exp: Remove excess space character from
8946 regex patterns. Handle s390 call instruction.
8948 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8950 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8951 define "*_start" label. Make "name" static.
8952 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8953 ${name} by references to ${name}_start.
8955 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8957 * gdb.base/info-macros.exp: Remove "debug" from the compile
8960 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8962 * gdb.dlang/demangle.exp: New file.
8964 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8966 * gdb.dlang/primitive-types.exp: New file.
8968 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8970 * configure.ac: Create gdb.dlang/Makefile.
8971 * configure: Regenerate.
8972 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8973 * gdb.dlang/Makefile.in: New file.
8974 * lib/d-support.exp: New file.
8975 * lib/gdb.exp (skip_d_tests): New proc.
8977 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8979 * gdb.btrace/delta.exp: Check reverse stepi.
8980 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8981 * gdb.btrace/finish.exp: New.
8982 * gdb.btrace/next.exp: New.
8983 * gdb.btrace/nexti.exp: New.
8984 * gdb.btrace/record_goto.c: Add comments.
8985 * gdb.btrace/step.exp: New.
8986 * gdb.btrace/stepi.exp: New.
8987 * gdb.btrace/multi-thread-step.c: New.
8988 * gdb.btrace/multi-thread-step.exp: New.
8989 * gdb.btrace/rn-dl-bind.c: New.
8990 * gdb.btrace/rn-dl-bind.exp: New.
8991 * gdb.btrace/data.c: New.
8992 * gdb.btrace/data.exp: New.
8993 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8995 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8997 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8998 * gdb.btrace/exception.exp: Update.
8999 * gdb.btrace/instruction_history.exp: Update.
9000 * gdb.btrace/record_goto.exp: Update.
9001 * gdb.btrace/tailcall.exp: Update.
9002 * gdb.btrace/unknown_functions.exp: Update.
9003 * gdb.btrace/delta.exp: New.
9005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9007 * gdb.btrace/record_goto.exp: Add backtrace test.
9008 * gdb.btrace/tailcall.exp: Add backtrace test.
9010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9012 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9013 * gdb.btrace/record_goto.c: New.
9014 * gdb.btrace/record_goto.exp: New.
9015 * gdb.btrace/x86-record_goto.S: New.
9017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9019 * gdb.btrace/function_call_history.exp: Update tests.
9020 * gdb.btrace/instruction_history.exp: Update tests.
9022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9024 * gdb.btrace/function_call_history.exp: Fix expected field
9025 order for "record function-call-history".
9026 Add new tests for "record function-call-history /c".
9027 * gdb.btrace/exception.cc: New.
9028 * gdb.btrace/exception.exp: New.
9029 * gdb.btrace/tailcall.exp: New.
9030 * gdb.btrace/x86-tailcall.S: New.
9031 * gdb.btrace/x86-tailcall.c: New.
9032 * gdb.btrace/unknown_functions.c: New.
9033 * gdb.btrace/unknown_functions.exp: New.
9034 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9038 * gdb.btrace/instruction_history.exp: Update.
9039 * gdb.btrace/function_call_history.exp: Update.
9041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9043 * gdb.btrace/function_call_history.exp: Fix expected function
9045 * gdb.btrace/instruction_history.exp: Initialize traced.
9046 Remove traced_functions.
9048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9050 * gdb.btrace/function_call_history.exp: Update
9051 * gdb.btrace/instruction_history.exp: Update.
9053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9055 * gdb.btrace/enable.exp: Update expected text.
9057 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9059 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9062 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9064 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9066 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9068 * lib/gdb.exp (supports_process_record): Return true for
9069 arm*-linux*. (supports_reverse): Likewise.
9071 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9075 * gdb.python/py-type.c: Enhance test case.
9076 * gdb.python/py-value-cc.cc: Likewise
9077 * gdb.python/py-type.exp: Add new tests.
9078 * gdb.python/py-value-cc.exp: Likewise
9080 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9081 Pedro Alves <palves@redhat.com>
9083 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9085 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9086 references to ${name}_start by references to ${name}.
9088 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9090 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9092 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9094 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9096 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9097 Pedro Alves <palves@redhat.com>
9099 * gdb.mi/mi-info-os.exp: Connect to the target with
9102 2014-01-08 Pedro Alves <palves@redhat.com>
9104 * gdb.threads/reconnect-signal.c: New file.
9105 * gdb.threads/reconnect-signal.exp: New file.
9107 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9109 * gdb.base/source-dir.exp: New file.
9111 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9113 * gdb.ada/mi_interface: New testcase.
9115 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9117 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9118 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9119 gdb.ada/pp-rec-component/pck.ads: New files.
9121 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9123 * gdb.python/py-pp-integral.c: New file.
9124 * gdb.python/py-pp-integral.py: New file.
9125 * gdb.python/py-pp-integral.exp: New file.
9127 For older changes see ChangeLog-1993-2013.
9133 ;; version-control: never
9136 Copyright 2014-2016 Free Software Foundation, Inc.
9137 Copying and distribution of this file, with or without modification,
9138 are permitted provided the copyright notice and this notice are preserved.