1 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
3 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8 * gdb.base/exec-invalid-sysroot.exp: New file.
10 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
18 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
20 * gdb.base/killed-outside.exp: Remove $options from a call to
21 `prepare_for_testing'.
23 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
25 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
28 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
30 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
33 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
35 * gdb.trace/mi-trace-save.exp: New file.
37 2016-10-13 Yao Qi <yao.qi@linaro.org>
39 * gdb.base/code_elim.exp (get_var_address): Remove.
40 * gdb.base/relocate.exp: Likewise.
41 * gdb.base/shreloc.exp: Likewise.
42 * lib/gdb.exp (get_var_address): New.
44 2016-10-13 Yao Qi <yao.qi@linaro.org>
46 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
47 floating point tests if $skip_float_test is false.
49 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
51 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
52 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
54 Add 1 to argc so we guarantee distinct initial/modified argc values.
56 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
58 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
60 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
62 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
63 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
64 * gdb.arch/vsx-regs.exp: Likewise.
66 2016-10-07 Yao Qi <yao.qi@linaro.org>
68 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
70 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
72 * gdb.python/python.exp: Test decode_line("*0").
74 2016-10-06 Doug Evans <dje@google.com>
76 * gdb.python/py-value.exp (test_value_creation): Add test for large
77 unsigned 64-bit value.
79 2016-10-06 Tom Tromey <tom@tromey.com>
81 * gdb.compile/compile.exp: Change java tests to rust.
82 * gdb.base/setshow.exp: Change java tests to rust.
83 * gdb.base/default.exp: Remove java from language list.
84 * README (Examples): Update language example.
85 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
87 * lib/gdb.exp (skip_java_tests): Remove.
88 * lib/java.exp: Remove.
91 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
93 * gdb.arch/mips-fcr.exp: New test.
94 * gdb.arch/mips-fcr.c: Source for the new test.
96 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
98 * gdb.base/solib-disc.exp: Use `standard_output_file'
101 2016-10-06 Pedro Alves <palves@redhat.com>
103 * gdb.base/jit-simple-dl.c: New file.
104 * gdb.base/jit-simple-jit.c: New file, factored out from ...
105 * gdb.base/jit-simple.c: ... this.
106 * gdb.base/jit-simple.exp (jit_run): Delete.
107 (build_jit): New proc.
108 (jit_test_reread): Recompile either the main program or the shared
109 library, depending on what is being tested. Skip changing address
110 if caller wants to. Compare before/after addresses. If testing
111 standalone, explicitly load the binary. Test "maint info
113 (top level): Add "standalone vs shared lib" and "change address"
114 vs "same address" axes.
116 2016-10-06 Pedro Alves <palves@redhat.com>
118 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
121 (jit_test_reread): Use with_test_prefix. Reload the main binary
122 explicitly. Compare the before/after addresses of the JIT
125 2016-08-15 Doug Evans <dje@google.com>
127 * gdb.xml/extra-regs.xml: Update, end field now required, default type
128 for single bitfields is bool.
129 * gdb.xml/tdesc-regs.exp: Ditto.
131 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
133 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
135 2016-10-05 Yao Qi <yao.qi@linaro.org>
137 * lib/gdb.exp (support_complex_tests): Return zero if
138 gdb_skip_float_test return true.
140 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
141 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
144 * gdb.mi/user-selected-context-sync.exp: New file.
145 * gdb.mi/user-selected-context-sync.c: New file.
147 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
148 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
151 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
152 =thread-select-event check.
154 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
156 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
157 the compulsory L operand changes.
158 * gdb.arch/powerpc-power.s: Likewise.
160 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
162 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
163 * gdb.base/jit-attach-pie.c: New file.
164 * gdb.base/jit-attach-pie.exp: New file.
166 2016-09-28 Pedro Alves <palves@redhat.com>
168 * gdb.base/infcall-input.c: New file.
169 * gdb.base/infcall-input.exp: New file.
171 2016-09-22 Yao Qi <yao.qi@linaro.org>
173 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
174 (gdb_exit): Rename it to ...
175 (gdbserver_gdb_exit): ... Close GDBserver.
176 (gdb_exit): New proc, call gdbserver_gdb_exit.
177 (mi_gdb_exit): Likewise.
179 2016-09-22 Yao Qi <yao.qi@linaro.org>
181 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
183 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
186 2016-09-22 Yao Qi <yao.qi@linaro.org>
188 * lib/gdbserver-support.exp: Check the existence of
189 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
191 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
193 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
195 2016-09-21 Tom Tromey <tom@tromey.com>
198 * gdb.base/quit.exp: New file.
200 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
202 * .gitignore: New file.
204 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
206 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
209 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
211 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
213 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
215 * gdb.cp/casts.cc (decltype): Move it ...
216 (main): ... with its call to ...
217 * gdb.cp/casts03.cc: ... a new file.
218 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
220 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
222 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
224 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
226 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
227 and sync up the test with tests in gas/testsuite/gas/ppc.
228 * gdb.arch/powerpc-power.exp: Likewise.
230 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
232 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
234 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
235 Jan Kratochvil <jan.kratochvil@redhat.com>
237 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
238 make m1's definition to be different from m2's. Use 'dummy' as an
239 argument for probe 'two'.
241 2016-09-10 Jon Beniston <jon@beniston.com>
243 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
246 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
248 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
249 variable declaration.
250 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
251 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
252 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
253 received HWCAP as its argument.
255 2016-09-06 Pedro Alves <palves@redhat.com>
257 * gdb.base/new-ui-pending-input.c: New file.
258 * gdb.base/new-ui-pending-input.exp: New file.
259 * gdb.exp (clear_gdb_spawn_id): New procedure.
260 (with_spawn_id): Check whether gdb_spawn_id exists before
261 referencing it. If gdb_spawn_id didn't exist on entry, clear it
264 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
266 * gdb.base/float128.c: New file.
267 * gdb.base/float128.exp: Likewise.
268 * gdb.base/floatn.c: Likewise.
269 * gdb.base/floatn.exp: Likewise.
271 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
273 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
275 2016-09-05 Pedro Alves <palves@redhat.com>
278 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
279 unwinders are immediately called as side effect of "source" or
280 "disable unwinder" commands.
281 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
283 2016-09-02 Yao Qi <yao.qi@linaro.org>
285 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
286 is true and $type is "float" or "double".
288 2016-09-02 Yao Qi <yao.qi@linaro.org>
290 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
292 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
293 * gdb.base/call-rt-st.exp: Likewise.
294 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
295 return value instead of gdb,skip_float_test.
296 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
297 (do_function_calls): Use its return value instead of
299 * gdb.base/finish.exp: Likewise.
300 * gdb.base/funcargs.exp: Likewise.
301 * gdb.base/return.exp: Likewise.
302 * gdb.base/return2.exp: Likewise.
303 * gdb.base/varargs.exp: Likewise.
304 * lib/gdb.exp (gdb_skip_float_test): Change it to
305 gdb_caching_proc. Detect the broken ptrace on arm-linux.
307 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
309 * gdb.multi/tids.exp: Test "thread apply all".
311 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
313 * gdb.base/default.exp (tty): Remove.
315 2016-08-24 Kevin Buettner <kevinb@redhat.com>
317 * gdb.python/py-recurse-unwind.c: New file.
318 * gdb.python/py-recurse-unwind.py: New file.
319 * gdb.python/py-recurse-unwind.exp: New file.
321 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
323 * gdb.base/set-inferior-tty.exp: New file.
324 * gdb.base/set-inferior-tty.c: New file.
326 2016-08-23 Pedro Alves <palves@redhat.com>
329 * gdb.base/new-ui-echo.c: New file.
330 * gdb.base/new-ui-echo.exp: New file.
332 2016-08-23 Yao Qi <yao.qi@linaro.org>
334 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
336 * gdb.server/connect-without-multi-process.exp (do_test):
339 2016-08-23 Yao Qi <yao.qi@linaro.org>
341 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
342 standalone_txt. Delete gdb_txt and standalone_txt on host
343 and target. Spawn the binary on target. Copy files from
346 2016-08-22 Pedro Alves <palves@redhat.com>
349 * gdb.base/vdso-warning.exp: Test core dumps too. Use
350 with_test_prefix. Factor out bits to ...
351 (test_no_vdso): ... this new procedure.
353 2016-08-19 Carl Love <cel@us.ibm.com>
355 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
356 maintaining separate logic for constructing the output path.
357 * gdb.arch/powerpc-d128-regs.exp: Likewise.
358 * gdb.arch/ppc-dfp.exp: Likewise.
359 * gdb.arch/ppc-fp.exp: Likewise.
360 * gdb.arch/vsx-regs.exp: Likewise.
361 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
362 binprefix for generating the additional binary files.
364 2016-08-19 Pedro Alves <palves@redhat.com>
366 * gdb.trace/mi-trace-frame-collected.exp
367 (test_trace_frame_collected): On x32, expect two registers.
369 2016-08-18 Carl Love <cel@us.ibm.com>
371 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
372 and sync up the test with tests in gas/testsuite/gas/ppc.
373 * gdb.arch/powerpc-power.exp: Likewise.
375 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
377 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
378 expected error message.
380 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
382 * gdb.multi/remove-inferiors.exp: New file.
383 * gdb.multi/remove-inferiors.c: New file.
385 2016-08-12 Yao Qi <yao.qi@linaro.org>
387 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
390 2016-08-10 Pedro Alves <palves@redhat.com>
393 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
396 2016-08-09 Pedro Alves <palves@redhat.com>
397 Simon Marchi <simon.marchi@ericsson.com>
400 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
401 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
403 2016-08-09 Pedro Alves <palves@redhat.com>
406 * gdb.mi/mi-cmd-error.exp: New file.
408 2016-08-09 Pedro Alves <palves@redhat.com>
411 * gdb.base/signals-state-child.c: New file.
412 * gdb.base/signals-state-child.exp: New file.
413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
415 2016-08-09 Pedro Alves <palves@redhat.com>
417 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
419 2016-08-03 Tom Tromey <tom@tromey.com>
422 * gdb.python/py-frame-inline.exp: Add Frame.function test.
424 2016-08-01 Yao Qi <yao.qi@linaro.org>
426 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
427 variable mode to "multi-process" if $multi_process is 1, otherwise
428 set it to "single-process".
430 2016-08-01 Yao Qi <yao.qi@linaro.org>
432 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
433 * gdb.cp/cpexprs.exp: Likewise.
434 * gdb.cp/m-static.exp: Likewise.
436 2016-07-26 Tom Tromey <tom@tromey.com>
439 * gdb.threads/tls.exp (check_thread_local): Add python symbol
442 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
444 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
445 selecting assembly source files.
446 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
447 assembly source files.
448 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
449 assembly source files.
450 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
451 selecting assembly source files.
453 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
455 * gdb.base/new-ui.exp (do_test_invalid_args): New
458 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
460 * gdb.btrace/reconnect.c: New file.
461 * gdb.btrace/reconnect.exp: New file.
463 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
465 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
466 to test_catch_syscall_group.
467 (test_catch_syscall_group): New.
469 2016-07-21 Tom Tromey <tom@tromey.com>
471 * gdb.rust/simple.rs (main): Use empty struct expression.
472 * gdb.rust/simple.exp: Add tests for empty struct expression.
474 2016-07-21 Yao Qi <yao.qi@linaro.org>
476 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
477 if gdb_skip_xml_test is true on some targets.
479 2016-07-21 Yao Qi <yao.qi@linaro.org>
481 * gdb.server/solib-list.exp: Unset last_loaded_file.
483 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
485 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
486 "step into captured_main (args)".
488 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
490 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
492 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
494 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
496 2016-07-19 Pedro Alves <palves@redhat.com>
498 * gdb.opt/inline-break.exp: Remove optimize=-O2.
499 * gdb.opt/inline-bt.exp: Likewise.
500 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
501 additional_flags=-Winline.
502 * gdb.opt/inline-locals.exp: Likewise.
503 * gdb.opt/inline-markers.c (ATTR): Define.
504 (inlined_fn): Use it.
506 2016-07-19 Yao Qi <yao.qi@linaro.org>
508 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
509 (test_with_self): Remove some code. Remove argument executable.
510 (top-level): Use do_self_tests.
512 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
513 Don Breazeal <donb@codesourcery.com>
515 * gdb.base/maint.exp: Escape paths used in regular expressions.
516 * gdb.stabs/weird.exp: Likewise.
518 2016-07-13 Tom Tromey <tom@tromey.com>
520 PR python/15620, PR python/18620:
521 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
522 (test_bkpt_events): New procs.
524 2016-07-13 Tom Tromey <tom@tromey.com>
527 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
529 (test_watchpoints): Likewise.
530 (test_bkpt_pending): New proc.
532 2016-07-13 Tom Tromey <tom@tromey.com>
535 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
538 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
540 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
541 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
542 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
544 (g): Rename g_end_lbl to g_label.
545 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
547 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
549 2016-07-12 Tom Tromey <tom@tromey.com>
552 * gdb.python/py-unwind-maint.exp: Update tests.
554 2016-07-12 Yao Qi <yao.qi@linaro.org>
556 * lib/selftest-support.exp (selftest_setup): Match the output
557 when captured_main is inlined.
559 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
561 * gdb.fortran/derived-types.exp (result_line, result_line_2):
563 (print this%a, print this%b, print this): New tests.
564 * gdb.fortran/derived-types.f90 (this): New object and
567 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
569 * gdb.ada/arraydim.exp: Remove extra directory level in build
572 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
574 * lib/ada.exp: Remove extra directory level in build directory.
575 * gdb.ada/cond_lang.exp: Likewise.
576 * gdb.ada/exec_changed.exp: Likewise.
577 * gdb.ada/lang_switch.exp: Likewise.
579 2016-07-06 Manish Goregaokar <manish@mozilla.com>
581 * simple.rs: Add test for raw pointer subscripting
582 * simple.exp: Add test expectations
584 2016-07-05 Yao Qi <yao.qi@linaro.org>
586 * gdb.mi/mi-reverse.exp: Match =record-started output.
588 2016-07-01 Pedro Alves <palves@redhat.com>
590 * gdb.base/jit-reader.exp (info_registers_current_frame): New
592 (jit_reader_test): Test the jit reader's unwinder.
593 * gdb.base/jithost.c (jit_function_00_code): New global.
594 (main): Use memcpy to fill in the mmapped code, instead of poking
596 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
598 (read_debug_info): Save the function's range.
599 (read_sp): New function.
600 (unwind_frame): Use it. Also unwind RBP.
601 (get_frame_id): Use read_sp.
602 (gdb_init_reader): Use calloc instead of malloc.
603 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
604 parameter. Use gdb_test_multiple.
606 2016-07-01 Pedro Alves <palves@redhat.com>
607 Antoine Tremblay <antoine.tremblay@ericsson.com>
609 * gdb.threads/process-dies-while-detaching.c: New file.
610 * gdb.threads/process-dies-while-detaching.exp: New file.
612 2016-07-01 Pedro Alves <palves@redhat.com>
614 * gdb.multi/watchpoint-multi-exit.c: New file.
615 * gdb.multi/watchpoint-multi-exit.exp: New file.
617 2016-06-30 Pedro Alves <palves@redhat.com>
619 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
620 unset inferior_spawn_id.
622 2016-06-30 Pedro Alves <palves@redhat.com>
624 * lib/mi-support.exp (default_mi_gdb_start): Declare global
625 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
627 2016-06-29 Yao Qi <yao.qi@linaro.org>
629 * gdb.base/return.c: Add copyright header.
631 2016-06-29 Tom Tromey <tom@tromey.com>
634 * gdb.python/py-framefilter.exp: Add tests for setting priority
635 and disabling of non-existent frame filter.
637 2016-06-29 Yao Qi <yao.qi@linaro.org>
639 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
642 2016-06-28 Yao Qi <yao.qi@linaro.org>
644 * gdb.base/catch-syscall.exp: Remove check on isnative and target
645 triplets. Start gdb, execute catch syscall, and continue. Check
646 gdb's output to determine catch syscall is supported.
648 2016-06-27 Manish Goregaokar <manish@mozilla.com>
650 * gdb.rust/simple.rs: Add test for returning unit in a function.
651 * gdb.rust/simple.exp: Add expectation for functions returning
654 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
656 * gdb.python/py-breakpoint-create-fail.c,
657 gdb.python/py-breakpoint-create-fail.exp,
658 gdb.python/py-breakpoint-create-fail.py: New testcase.
660 2016-06-25 Manish Goregaokar <manish@mozilla.com>
663 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
664 * gdb.rust/simple.exp: Add test expectations for new NonZero
667 2016-06-24 David Taylor <dtaylor@emc.com>
669 * gdb.base/offsets.exp: New file.
670 * gdb.base/offsets.c: New file.
672 2016-06-23 Tom Tromey <tom@tromey.com>
675 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
676 before any filters are loaded.
678 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
680 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
681 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
683 * gdb.fortran/derived-type-function.exp: New file.
684 * gdb.fortran/derived-type-function.f90: New file.
687 2016-06-21 Pedro Alves <palves@redhat.com>
689 * gdb.base/new-ui.exp: New file.
690 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
691 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
692 (with_spawn_id): New procedure.
694 2016-06-21 Pedro Alves <palves@redhat.com>
696 * gdb.mi/mi-exec-run.exp: New file.
698 2016-06-21 Pedro Alves <palves@redhat.com>
700 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
701 breakpoint command's output on the main UI.
702 (test_break): New procedure, factored out from calls in the top
704 (top level): Use foreach_with_prefix to test MI as main UI and as
707 2016-06-21 Pedro Alves <palves@redhat.com>
709 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
710 (test_awatch_creation_and_listing)
711 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
712 Remove 'type' parameter.
713 (test_watchpoint_all): New parameter mi_mode. Remove
715 (top level): Use foreach_with_prefix, and add main/separate UI MI
718 2016-06-21 Pedro Alves <palves@redhat.com>
720 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
721 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
722 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
723 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
724 (gdb_main_spawn_id, mi_spawn_id): Declare and
726 (mi_create_inferior_pty): New procedure,
727 factored out from default_mi_gdb_start.
728 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
730 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
731 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
732 Use mi_create_inferior_pty.
733 (mi_gdb_start): Use eval to pass down args list.
735 2016-06-21 Pedro Alves <palves@redhat.com>
737 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
738 * gdb.opt/inline-cmds.exp: Add MI tests.
740 2016-06-21 Pedro Alves <palves@redhat.com>
742 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
744 2016-06-21 Pedro Alves <palves@redhat.com>
746 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
747 (top level): Use it instead of mi_execute_to.
749 2016-06-21 Pedro Alves <palves@redhat.com>
751 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
752 (cont_handler_str): New.
753 (signal_stop_handler): Set stop_handler_str instead of printing to
755 (continue_handler): Set cont_handler_str instead of printing to
757 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
758 mi_send_resuming_command. Print stop_handler_str and
759 cont_handler_str instead of expecting the python events print
762 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
764 * gdb.base/jit-reader.exp: New file.
765 * gdb.base/jithost.c: New file.
766 * gdb.base/jithost.h: New file.
767 * gdb.base/jitreader.c : New file.
768 * gdb.base/jit-protocol.h: New file.
770 2016-06-17 Yao Qi <yao.qi@linaro.org>
772 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
773 parameters follow_fork and detach_on_fork. Set follow-fork-mode
774 and detach-on-fork. Adjust tests.
775 (top level): Invoke break_cond_on_syscall with combinations of
776 syscall, follow-fork-mode and detach-on-fork.
778 2016-06-17 Yao Qi <yao.qi@linaro.org>
780 * gdb.base/step-over-exit.c: New.
781 * gdb.base/step-over-exit.exp: New.
783 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
785 * gdb.base/float.exp: Add target check for nds32*-*-*.
786 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
788 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
790 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
791 for unsupported target features.
792 * gdb.base/call-rt-st.exp: Likewise.
793 * gdb.base/call-sc.exp: Likewise.
794 * gdb.base/call-signal-resume.exp: Likewise.
795 * gdb.base/call-strs.exp: Likewise.
796 * gdb.base/callexit.exp: Likewise.
797 * gdb.base/callfuncs.exp: Likewise.
798 * gdb.base/nodebug.exp: Likewise.
799 * gdb.base/printcmds.exp: Likewise.
800 * gdb.base/ptype.exp: Likewise.
801 * gdb.base/structs.exp: Likewise.
802 * gdb.base/unwindonsignal.exp: Likewise.
803 * gdb.cp/gdb2495.exp: Likewise.
804 * gdb.cp/templates.exp: Likewise.
805 * gdb.cp/virtfunc.exp: Likewise.
806 * gdb.threads/hand-call-in-threads.exp: Likewise.
807 * gdb.threads/interrupted-hand-call.exp: Likewise.
808 * gdb.threads/thread-unwindonsignal.exp: Likewise.
810 2016-06-10 Tom Tromey <tom@tromey.com>
813 * gdb.rust/expr.exp: Add test for integer constant larger than
816 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
818 * gdb.fortran/nested-funcs.exp: New.
819 * gdb.fortran/nested-funcs.f90: New.
821 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
823 * gdb.base/examine-backward.c: New file.
824 * gdb.base/examine-backward.exp: New file.
826 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
828 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
831 2016-06-02 Tom Tromey <tom@tromey.com>
834 * gdb.python/py-shared.exp: Add solib_name test.
836 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
838 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
840 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
843 * gdb.dwarf2/implref.exp: Rename to...
844 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
845 * gdb.dwarf2/implref-array.c: New file.
846 * gdb.dwarf2/implref-array.exp: Likewise.
847 * gdb.dwarf2/implref-global.c: Likewise.
848 * gdb.dwarf2/implref-global.exp: Likewise.
849 * gdb.dwarf2/implref-struct.c: Likewise.
850 * gdb.dwarf2/implref-struct.exp: Likewise.
852 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
854 * gdb.trace/trace-condition.exp: Add 64bit tests.
856 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
858 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
860 (main): Adapt to 8 to 64 bits types.
861 * gdb.trace/trace-condition.exp: Add new tests.
863 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
865 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
867 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
869 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
870 Move condition tests...
871 * gdb.trace/trace-condition.exp: Here.
873 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
875 * gdb.trace/trace-condition.exp: Add counter-case tests.
877 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
880 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
881 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
883 2016-05-27 Pedro Alves <palves@redhat.com>
885 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
887 (top level): Call it, and bail out of DejaGnu is known to be bad.
889 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
891 * gdb.base/whatis.c: Extend the test case.
892 * gdb.base/whatis.exp: Add additional tests.
894 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
896 * gdb.fortran/type.f90: Add pointer variable.
897 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
899 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
901 * gdb.fortran/vla-type.exp: Fix testcase name.
903 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
905 * gdb.fortran/vla-type.exp: Access elements in nested structs.
907 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
909 * gdb.fortran/type.f90: Add nested structures.
910 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
911 * gdb.fortran/derived-type.exp: Adapt expected output.
912 * gdb.fortran/vla-type.exp: Adapt expected output.
914 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
916 * gdb.fortran/whatis_type.exp: Adapt expected output.
918 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
920 * gdb.fortran/print_type.exp: Fix expected output.
921 * gdb.fortran/whatis_type.exp: Fix expected output.
923 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
925 * gdb.fortran/whatis_type.exp: Use multi_line.
927 2016-05-24 Tom Tromey <tom@tromey.com>
930 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
931 use value as an index.
933 2016-05-23 Tom Tromey <tom@tromey.com>
936 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
939 2016-05-24 Pedro Alves <palves@redhat.com>
942 * gdb.threads/clone-attach-detach.c: New file.
943 * gdb.threads/clone-attach-detach.exp: New file.
945 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
947 * gdb.base/annota-input-while-running.exp: Fix syntax error.
949 2016-05-23 Tom Tromey <tom@tromey.com>
951 PR python/19438, PR python/18393:
952 * gdb.python/py-progspace.exp: Add "dir" test.
953 * gdb.python/py-objfile.exp: Add "dir" test.
955 2016-05-23 Yao Qi <yao.qi@linaro.org>
957 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
958 * gdb.arch/thumb2-it.exp: Likewise.
960 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
962 * gdb.mi/mi-threads-interrupt.c: New file.
963 * gdb.mi/mi-threads-interrupt.exp: New file.
965 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
968 * gdb.mi/mi-async-run.exp: New file.
969 * gdb.mi/mi-async-run.c: New file.
971 2016-05-17 Tom Tromey <tom@tromey.com>
972 Manish Goregaokar <manishsmail@gmail.com>
974 * lib/rust-support.exp: New file.
975 * lib/gdb.exp (skip_rust_tests): New proc.
976 (build_executable_from_specs): Handle rust.
977 * lib/future.exp (gdb_find_rustc): New proc.
978 (gdb_default_target_compile): Handle rust.
979 * gdb.rust/expr.exp: New file.
980 * gdb.rust/generics.exp: New file.
981 * gdb.rust/generics.rs: New file.
982 * gdb.rust/methods.exp: New file.
983 * gdb.rust/methods.rs: New file.
984 * gdb.rust/modules.exp: New file.
985 * gdb.rust/modules.rs: New file.
986 * gdb.rust/simple.exp: New file.
987 * gdb.rust/simple.rs: New file.
989 2016-05-17 Tom Tromey <tom@tromey.com>
991 * gdb.base/default.exp (set language): Add rust.
993 2016-05-17 Tom Tromey <tom@tromey.com>
995 * gdb.gdb/unittest.exp: New file.
997 2016-05-16 Yao Qi <yao.qi@linaro.org>
999 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1000 shell_prompt. Update shell_prompt_re.
1002 2016-05-12 Doug Evans <dje@google.com>
1005 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1006 $options when building executable.
1007 * gdb.dwarf2/fission-loclists-pie.S: New file.
1008 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1010 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1012 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1013 of [is_remote target],
1015 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1017 * lib/gdb.exp (use_gdb_stub): New procedure.
1019 2016-05-03 Yunlian Jiang <yunlian@google.com>
1020 Doug Evans <dje@google.com>
1023 * gdb.dwarf2/dwp-sepdebug.c: New file.
1024 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1026 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1028 * gdb.base/detach.exp: Remove is_remote check.
1030 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1032 * gdb.base/annota-input-while-running.exp: Don't check for
1033 [is_remote target]. Enable annotations after running to main.
1034 Remove unused "set test..." line.
1036 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1038 * gdb.trace/trace-enable-disable.exp: New file.
1039 * gdb.trace/trace-enable-disable.c: New file.
1041 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1043 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1044 use it in info sharedlibrary test.
1045 * gdb.trace/ftrace-lock.exp: Likewise.
1046 * gdb.trace/ftrace.exp: Likewise.
1047 * gdb.trace/range-stepping.exp: Likewise.
1048 * gdb.trace/trace-break.exp: Likewise.
1049 * gdb.trace/trace-condition.exp: Likewise.
1050 * gdb.trace/trace-mt.exp: Likewise.
1052 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1054 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1055 (gdb_load_shlib): ... this.
1056 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1058 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1059 * gdb.base/ctxobj.exp: Likewise.
1060 * gdb.base/dprintf-pending.exp: Likewise.
1061 * gdb.base/dso2dso.exp: Likewise.
1062 * gdb.base/fixsection.exp: Likewise.
1063 * gdb.base/gcore-relro.exp: Likewise.
1064 * gdb.base/gdb1555.exp: Likewise.
1065 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1066 * gdb.base/gnu-ifunc.exp: Likewise.
1067 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1068 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1069 * gdb.base/pending.exp: Likewise.
1070 * gdb.base/print-file-var.exp: Likewise.
1071 * gdb.base/print-symbol-loading.exp: Likewise.
1072 * gdb.base/shlib-call.exp: Likewise.
1073 * gdb.base/shreloc.exp: Likewise.
1074 * gdb.base/so-impl-ld.exp: Likewise.
1075 * gdb.base/solib-disc.exp: Likewise.
1076 * gdb.base/solib-nodir.exp: Likewise.
1077 * gdb.base/solib-overlap.exp: Likewise.
1078 * gdb.base/solib-symbol.exp: Likewise.
1079 * gdb.base/solib-weak.exp (do_test): Likewise.
1080 * gdb.base/sym-file.exp: Likewise.
1081 * gdb.base/symtab-search-order.exp: Likewise.
1082 * gdb.base/type-opaque.exp: Likewise.
1083 * gdb.base/unload.exp: Likewise.
1084 * gdb.base/watchpoint-solib.exp: Likewise.
1085 * gdb.compile/compile.exp: Likewise.
1086 * gdb.cp/gdb2384.exp: Likewise.
1087 * gdb.cp/infcall-dlopen.exp: Likewise.
1088 * gdb.cp/re-set-overloaded.exp: Likewise.
1089 * gdb.fortran/library-module.exp: Likewise.
1090 * gdb.opt/solib-intra-step.exp: Likewise.
1091 * gdb.python/py-finish-breakpoint.exp: Likewise.
1092 * gdb.python/py-shared.exp: Likewise.
1093 * gdb.reverse/solib-precsave.exp: Likewise.
1094 * gdb.reverse/solib-reverse.exp: Likewise.
1095 * gdb.server/solib-list.exp: Likewise.
1096 * gdb.threads/dlopen-libpthread.exp: Likewise.
1097 * gdb.threads/tls-shared.exp: Likewise.
1098 * gdb.threads/tls-so_extern.exp: Likewise.
1099 * gdb.trace/change-loc.exp: Likewise.
1100 * gdb.trace/ftrace-lock.exp: Likewise.
1101 * gdb.trace/ftrace.exp: Likewise.
1102 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1103 * gdb.trace/pending.exp: Likewise.
1104 * gdb.trace/range-stepping.exp: Likewise.
1105 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1106 (strace_info_marker): Likewise.
1107 (strace_probe_marker): Likewise.
1108 (strace_trace_on_same_addr): Likewise.
1109 (strace_trace_on_diff_addr): Likewise.
1110 * gdb.trace/trace-break.exp: Likewise.
1111 * gdb.trace/trace-condition.exp: Likewise.
1112 * gdb.trace/trace-mt.exp: Likewise.
1114 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1116 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1117 result of gdb_remote_download.
1118 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1119 * gdb.base/dso2dso.exp: Likewise.
1120 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1121 * gdb.base/print-file-var.exp: Likewise.
1122 * gdb.base/shlib-call.exp: Likewise.
1123 * gdb.base/shreloc.exp: Likewise.
1124 * gdb.base/solib-overlap.exp: Likewise.
1125 * gdb.base/solib-weak.exp (do_test): Likewise.
1126 * gdb.base/unload.exp: Likewise.
1128 2016-04-27 Yao Qi <yao.qi@linaro.org>
1130 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1133 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1135 * vla-type.exp: Print structure from toplevel.
1137 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1139 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1141 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1144 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1146 * gdb.fortran/vla-type.f90: New file.
1147 * gdb.fortran/vla-type.exp: New file.
1149 2016-04-25 Yao Qi <yao.qi@linaro.org>
1151 * gdb.base/branch-to-self.c: New file.
1152 * gdb.base/branch-to-self.exp: New file.
1154 2016-04-22 Yao Qi <yao.qi@linaro.org>
1156 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1159 2016-04-22 Yao Qi <yao.qi@linaro.org>
1161 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1162 * gdb.base/annota3.exp: Likewise.
1164 2016-04-22 Yao Qi <yao.qi@linaro.org>
1166 * gdb.reverse/step-precsave.exp: Do one step and test program
1167 stops in "callee" and do multiple steps until program goes out
1169 * gdb.reverse/step-reverse.exp: Likewise.
1171 2016-04-22 Yao Qi <yao.qi@linaro.org>
1173 * gdb.trace/signal.exp: Also pass if
1174 $tracepoint_hits($i) > $iterations.
1176 2016-04-22 Yao Qi <yao.qi@linaro.org>
1178 * gdb.trace/signal.c: New file.
1179 * gdb.trace/signal.exp: New file.
1181 2016-04-19 Doug Evans <xdje42@gmail.com>
1183 * gdb.base/bad-file.exp: New file.
1185 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1187 * gdb.dwarf2/implref.exp: New file.
1189 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1191 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1192 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1193 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1194 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1195 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1196 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1197 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1198 * lib/fortran.exp (fortran_int4): New procedure.
1199 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1200 (fortran_logical4): Likewise.
1202 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1204 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1206 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1208 * lib/compiler.c: Add Intel specific preprocessor macros.
1209 * lib/compiler.cc: Likewise.
1211 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1213 * gdb.server/connect-with-no-symbol-file.c: New file.
1214 * gdb.server/connect-with-no-symbol-file.exp: New file.
1216 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1218 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1220 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1222 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1223 standard output directory.
1225 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1227 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1229 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1231 * gdb.btrace/instruction_history.c (loop): Add declaration.
1233 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1235 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1237 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1239 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1240 parentheses to print.
1241 (continue_handler): Likewise.
1243 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1245 * gdb.server/solib-list.exp: Remove is_remote check.
1246 Pass shlib= to gdb_compile. Don't link shared library with
1247 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1248 Run binary filename through "readlink -f" on the target.
1250 2016-04-08 Pedro Alves <palves@redhat.com>
1252 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1253 interpreter filename as argument to gdbserver_spawn.
1254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1255 Return empty if $last_loaded_file does not exist.
1257 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1259 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1260 * gdb.base/jit-main.c: Use exit after usage.
1262 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1264 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1265 GDBHISTSIZE prior to the tests.
1266 * gdb.base/gdbinit-history.exp: Likewise.
1268 2016-04-07 Pedro Alves <palves@redhat.com>
1270 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1271 instead of build_executable. Use gdb_load_shlibs.
1273 2016-04-07 Yao Qi <yao.qi@linaro.org>
1275 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1276 Execute "si" command.
1278 2016-04-07 Yao Qi <yao.qi@linaro.org>
1280 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1281 number instead of the comments on some line.
1283 2016-04-06 Don Breazeal <donb@codesourcery.com>
1285 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1286 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1288 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1290 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1291 standard_output_file. Remove unused binfile variable.
1293 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1295 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1296 * gdb.python/py-mi-objfile.exp: Match "list main" output
1299 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1301 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1304 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1306 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1308 * gdb.trace/ftrace.exp: Likewise.
1309 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1311 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1312 (gdb_load_shlibs): Copy libraries to test directory when testing
1313 natively. Only set solib-search-path if testing remotely.
1314 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1316 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1318 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1319 gdb_download. Use it even if the target is not remote.
1320 * gdb.base/jit.exp (compile_jit_test): Likewise.
1321 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1322 output directory if the destination board is local, otherwise use
1323 the standard remote_download from DejaGnu.
1324 (gdb_download): Remove.
1325 (gdb_load_shlibs): Use gdb_remote_download instead of
1327 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1328 Use gdb_remote_download instead of gdb_download. Use it even if
1329 the target is not remote.
1330 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1331 instead of gdb_download.
1333 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1335 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1336 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1339 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1342 * gdb.base/printcmds.exp: Add artificial arrays tests.
1344 2016-03-31 Pedro Alves <palves@redhat.com>
1347 * gdb.base/jit-main.c: Include unistd.h.
1348 (ATTACH): Define to 0 if not already defined.
1349 (wait_for_gdb, mypid): New globals.
1350 (WAIT_FOR_GDB): New macro.
1351 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1352 some breakpoint locations.
1353 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1355 (one_jit_test): Add REATTACH parameter, and handle it. Use
1356 continue_to_test_location.
1357 (top level): Test attach, and adjusts calls to one_jit_test.
1359 2016-03-31 Pedro Alves <palves@redhat.com>
1362 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1363 BINSUFFIX parameter, and handle it.
1364 (top level): Adjust calls compile_jit_test.
1366 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1369 * gdb.python/py-mi-events-gdb.py: New file.
1370 * gdb.python/py-mi-events.c: New file.
1371 * gdb.python/py-mi-events.exp: New file.
1373 2016-03-30 Yao Qi <yao.qi@linaro.org>
1375 * gdb.reverse/until-precsave.exp: Match function name only.
1376 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1377 Move malloc to a condition block.
1378 * gdb.reverse/until-reverse.exp: Match function name only.
1380 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1382 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1383 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1384 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1385 variable for GPR 0 instead of assuming it is register 0.
1386 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1387 * lib/trace-support.exp: Add s390 registers.
1389 2016-03-29 Yao Qi <yao.qi@linaro.org>
1391 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1393 2016-03-24 Yao Qi <yao.qi@linaro.org>
1395 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1398 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1400 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1401 maintaining separate logic for constructing the output path.
1403 2016-03-16 Don Breazeal <donb@codesourcery.com>
1405 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1406 Retry fork and waitpid on interrupted system call errors.
1407 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1408 Use with_timeout_factor to increase timeout by factor of 10.
1410 2016-03-15 Don Breazeal <donb@codesourcery.com>
1412 * gdb.cp/scope-err.cc: New test program.
1413 * gdb.cp/scope-err.exp: New test script.
1414 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1415 lines and "set breakpoint here" comment.
1416 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1417 Fixed some whitespace and format issues.
1418 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1419 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1421 2016-03-15 Doug Evans <dje@google.com>
1423 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1424 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1425 All callers updated. Add tests for enums, mixed flags register.
1427 2016-03-15 Doug Evans <dje@google.com>
1429 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1430 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1432 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1434 * gdb.base/default.exp: Add $_as_string to the list of expected
1435 convenience functions.
1437 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1439 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1441 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1443 * gdb.python/py-as-string.exp: New file.
1444 * gdb.python/py-as-string.c: New file.
1446 2016-03-09 Pedro Alves <palves@redhat.com>
1448 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1449 signal" -> "Thread NN received signal" output change.
1450 * gdb.threads/ia64-sigill.exp: Likewise.
1451 * gdb.threads/linux-dp.exp: Likewise.
1452 * gdb.threads/manythreads.exp: Likewise.
1453 * gdb.threads/pending-step.exp: Likewise.
1454 * gdb.threads/print-threads.exp: Likewise.
1455 * gdb.threads/sigstep-threads.exp: Likewise.
1456 * gdb.threads/staticthreads.exp: Likewise.
1457 * gdb.threads/tls.exp: Likewise.
1459 2016-03-09 Pedro Alves <palves@redhat.com>
1461 * gdb.base/command-line-input.exp: New file.
1463 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1465 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1466 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1467 * gdb.trace/pending.exp: Accept leading dot before function name.
1468 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1469 * lib/trace-support.exp: Set registers for ppc.
1471 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1473 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1474 use it for disassembly; accept .main in addition to main in backtrace.
1476 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1477 Marcin Kościelnicki <koriakin@0x04.net>
1479 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1480 (gdb_recursion_test_ptr): New global variable.
1481 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1483 (gdb_c_test): Ditto.
1485 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1487 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1490 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1492 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1493 (bar): Add bar_start_lbl label.
1494 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1495 of foo/bar for emitting DWARF and tracing.
1497 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1499 * analyze-racy-logs.py: Set executable bit.
1501 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1503 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1504 (CHECK_TARGET_TMP): Likewise.
1505 (check-single-racy): New rule.
1506 (check-parallel-racy): Likewise.
1507 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1508 (do-check-parallel-racy): New rule.
1509 (check-racy/%.exp): Likewise.
1510 * README (Racy testcases): New section.
1511 * analyze-racy-logs.py: New file.
1513 2016-03-03 Doug Evans <dje@google.com>
1515 * gdb.base/skip.exp: Use with_test_prefix.
1517 2016-03-03 Yao Qi <yao.qi@linaro.org>
1519 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1520 Invoke step_over_syscall "clone" and break_cond_on_syscall
1522 * gdb.base/step-over-clone.c: New file.
1524 2016-03-03 Yao Qi <yao.qi@linaro.org>
1526 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1529 2016-03-03 Yao Qi <yao.qi@linaro.org>
1531 * gdb.base/disp-step-fork.c: Rename to ...
1532 * gdb.base/step-over-fork.c: ... it. New file.
1533 * gdb.base/disp-step-vfork.c: Rename to ...
1534 * gdb.base/step-over-vfork.c: ... it. New file.
1535 * gdb.base/disp-step-syscall.exp: Rename to ...
1536 * gdb.base/step-over-syscall.exp: ... it. New file.
1537 (disp_step_cross_syscall): Rename to ...
1538 (step_over_syscall): ... it.
1540 2016-03-03 Yao Qi <yao.qi@linaro.org>
1542 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1543 If target supports condition evaluation on target, invoke
1544 break_cond_on_syscall for fork and vfork.
1546 2016-03-03 Yao Qi <yao.qi@linaro.org>
1548 * gdb.base/disp-step-syscall.exp: Don't invoke
1549 support_displaced_stepping.
1550 (disp_step_cross_syscall): Test with displaced stepping off and
1553 2016-03-03 Yao Qi <yao.qi@linaro.org>
1555 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1558 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1561 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1563 * gdb.fortran/vla-history.exp: Remove breakpoint.
1565 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1567 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1570 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1572 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1575 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1577 * gdb.mi/vla.f90: Nullify pointer after declaration.
1579 2016-03-01 Pedro Alves <palves@redhat.com>
1581 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1583 2016-03-01 Pedro Alves <palves@redhat.com>
1585 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1586 before anything else.
1587 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1589 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1590 before anything else.
1591 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1593 2016-03-01 Pedro Alves <palves@redhat.com>
1595 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1597 2016-03-01 Yao Qi <yao.qi@linaro.org>
1599 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1600 prepare_for_testing.
1602 2016-03-01 Yao Qi <yao.qi@linaro.org>
1604 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1606 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1608 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1609 manually constructing the output path.
1611 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1613 * gdb.arch/s390-stackless.S: New.
1614 * gdb.arch/s390-stackless.exp: New.
1616 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1618 * gdb.dlang/circular.c: New file.
1619 * gdb.dlang/circular.exp: New file.
1621 2016-02-26 Yao Qi <yao.qi@linaro.org>
1623 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1624 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1625 (testcases): Update.
1627 2016-02-26 Yao Qi <yao.qi@linaro.org>
1629 * gdb.reverse/aarch64.c: Rename to ...
1630 * gdb.reverse/insn-reverse.c: ... it.
1631 * gdb.reverse/aarch64.exp: Rename to ...
1632 * gdb.reverse/insn-reverse.exp: ... it.
1634 2016-02-26 Yao Qi <yao.qi@linaro.org>
1636 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1637 (testcase_ftype): New.
1638 (testcases): New array.
1640 (main): Call each element in testcases.
1641 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1642 (read_testcase): New.
1643 Do the tests in a loop.
1645 2016-02-25 Yao Qi <yao.qi@linaro.org>
1647 * gdb.base/branches.c: Remove.
1649 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1652 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1654 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1656 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1658 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1660 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1661 change x86_64 call_insn to 'callq'.
1663 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1665 * gdb.trace/tfile-avx.c: Move to...
1666 * gdb.trace/tracefile-pseudo-reg.c: Here.
1667 * gdb.trace/tfile-avx.exp: Move to...
1668 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1670 2016-02-24 Gary Benson <gbenson@redhat.com>
1672 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1675 2016-02-23 Doug Evans <dje@google.com>
1677 * gdb.base/skip.c (test_skip): New function.
1678 (end_test_skip_file_and_function): New function.
1679 (test_skip_file_and_function): New function.
1680 * gdb.base/skip1.c (test_skip): New function.
1681 (skip1_test_skip_file_and_function): New function.
1682 * gdb.base/skip.exp: Add tests for new skip options.
1683 * gdb.base/skip-solib.exp: Update expected output.
1684 * gdb.perf/skip-command.cc: New file.
1685 * gdb.perf/skip-command.exp: New file.
1686 * gdb.perf/skip-command.py: New file.
1688 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1690 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1691 info registers pattern.
1693 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1695 * lib/future.exp: Add D support.
1696 (gdb_find_gdc): New proc.
1697 (gdb_default_target_compile): Add D support.
1699 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1701 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1703 (trace_speed_test): Determine the iteration count for a time
1704 between 15..30 seconds.
1706 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1708 * gdb.arch/i386-mpx-sigsegv.c: New file.
1709 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1710 * gdb.arch/i386-mpx-simple_segv.c: New file.
1711 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1713 2016-02-18 Yao Qi <yao.qi@linaro.org>
1715 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1716 Don't call setup_kfail.
1718 2016-02-18 Yao Qi <yao.qi@linaro.org>
1720 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1721 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1723 2016-02-16 Doug Evans <dje@google.com>
1725 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1726 * gdb.base/skip1.c: Ditto.
1727 * gdb.base/skip.exp: Whitespace cleanup.
1729 2016-02-16 Don Breazeal <donb@codesourcery.com>
1732 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1733 Remove kfail for PR remote/19496.
1735 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1737 * lib/gdb.exp (standard_temp_file): Return a path specific to
1738 the runtest invocation.
1740 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1742 * gdb.trace/save-trace.exp: Change relative path to be in the
1743 standard output directory.
1745 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1747 * gdb.arch/i386-prologue.c: Add missing prototypes.
1749 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1751 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1752 * gdb.arch/i386-prologue.exp: Likewise.
1753 * gdb.arch/i386-size.exp: Likewise.
1755 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1757 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1758 define object file path.
1759 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1761 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1762 standard_output_file to define binfile.
1764 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1766 Fix compatibility with recent gfortran-5.3.1.
1767 * gdb.fortran/vla-history.exp (print vla1 allocated)
1768 (print vla2 allocated, print $2, print $3): Remove
1769 (print $4): Rename to ...
1770 (print $2): ... here.
1771 (print $9): Rename to ...
1772 (print $5): ... here.
1773 (print $10): Rename to ...
1774 (print $6): ... here.
1775 * gdb.fortran/vla.f90: Add pvla initialization.
1777 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1781 * gdb.fortran/vla-value-sub.exp: Likewise.
1783 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1785 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1787 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1789 * i386-biarch-core.exp: Define corefile using
1790 standard_output_file.
1792 2016-02-12 Yao Qi <yao.qi@linaro.org>
1794 * gdb.arch/arm-single-step-kernel-helper.c: New.
1795 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1797 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1799 * gdb.btrace/tailcall-only.exp: New.
1800 * gdb.btrace/tailcall-only.c: New.
1801 * gdb.btrace/x86_64-tailcall-only.S: New.
1802 * gdb.btrace/i686-tailcall-only.S: New.
1804 2016-02-11 Pedro Alves <palves@redhat.com>
1806 * README (Parallel testing): Add missing double quotes.
1808 2016-02-11 Pedro Alves <palves@redhat.com>
1810 * README (Parallel testing): New section.
1811 (GDB_PARALLEL): Rewrite.
1812 (FORCE_PARALLEL): Document.
1814 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1816 * gdb.trace/tfile-avx.c: New test.
1817 * gdb.trace/tfile-avx.exp: New test.
1819 2016-02-09 Keith Seitz <keiths@redhat.com>
1821 PR breakpoints/19546
1822 * gdb.base/infcall-exec.c: New file.
1823 * gdb.base/infcall-exec2.c: New file.
1824 * gdb.base/infcall-exec.exp: New file.
1826 2016-02-09 Keith Seitz <keiths@redhat.com>
1828 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1829 (toplevel): Call test_bkpt_address.
1831 2016-02-09 Keith Seitz <keiths@redhat.com>
1834 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1835 (toplevel): Call test_bkpt_address.
1837 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1839 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1841 * configure: Regenerate.
1843 2016-02-09 Pedro Alves <palves@redhat.com>
1845 PR breakpoints/19548
1846 * gdb.base/execl-update-breakpoints.c (some_function): New
1849 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1850 Tighten expected GDB output.
1852 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1854 * Makefile.in (ALL_SUBDIRS): Remove.
1855 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1856 (distclean maintainer-clean realclean): Likewise.
1857 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1858 * configure: Regenerate.
1859 * gdb.ada/Makefile.in: Delete.
1860 * gdb.arch/Makefile.in: Likewise.
1861 * gdb.asm/Makefile.in: Likewise.
1862 * gdb.base/Makefile.in: Likewise.
1863 * gdb.btrace/Makefile.in: Likewise.
1864 * gdb.cell/Makefile.in: Likewise.
1865 * gdb.compile/Makefile.in: Likewise.
1866 * gdb.cp/Makefile.in: Likewise.
1867 * gdb.disasm/Makefile.in: Likewise.
1868 * gdb.dlang/Makefile.in: Likewise.
1869 * gdb.dwarf2/Makefile.in: Likewise.
1870 * gdb.fortran/Makefile.in: Likewise.
1871 * gdb.gdb/Makefile.in: Likewise.
1872 * gdb.go/Makefile.in: Likewise.
1873 * gdb.guile/Makefile.in: Likewise.
1874 * gdb.java/Makefile.in: Likewise.
1875 * gdb.linespec/Makefile.in: Likewise.
1876 * gdb.mi/Makefile.in: Likewise.
1877 * gdb.modula2/Makefile.in: Likewise.
1878 * gdb.multi/Makefile.in: Likewise.
1879 * gdb.objc/Makefile.in: Likewise.
1880 * gdb.opencl/Makefile.in: Likewise.
1881 * gdb.opt/Makefile.in: Likewise.
1882 * gdb.pascal/Makefile.in: Likewise.
1883 * gdb.perf/Makefile.in: Likewise.
1884 * gdb.python/Makefile.in: Likewise.
1885 * gdb.reverse/Makefile.in: Likewise.
1886 * gdb.server/Makefile.in: Likewise.
1887 * gdb.stabs/Makefile.in: Likewise.
1888 * gdb.threads/Makefile.in: Likewise.
1889 * gdb.trace/Makefile.in: Likewise.
1890 * gdb.xml/Makefile.in: Likewise.
1891 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1893 (standard_output_file): Remove check for GDB_PARALLEL, always
1894 return path in outputs/$subdir/$testname.
1896 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1898 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1899 (site.exp): Assign abs_srcdir to tcl's srcdir.
1901 2016-02-04 Yao Qi <yao.qi@linaro.org>
1903 * gdb.base/foll-exec-mode.c: Include limits.h.
1904 (main): Add parameters argc and argv. Get directory from
1906 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1908 * gdb.base/foll-exec.c: Include limits.h.
1909 (main): Add parameters argc and argv.
1910 Get directory from argv[0].
1911 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1912 Adjust tests on the number of lines as source code changed.
1913 * gdb.base/foll-vfork-exit.c: Include limits.h.
1914 (main): Add one line of statement before vfork.
1915 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1916 (main): Add parameters argc and argv. Get directory from
1918 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1919 (setup_gdb): Set tbreak to skip some source lines.
1920 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1921 (main): Add parameters argc and argv. Get directory from
1923 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1925 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1926 (main): Add parameters argc and argv. Get directory from
1928 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1931 2016-02-01 Doug Evans <dje@google.com>
1933 * gdb.base/skip.exp: Clean up multiple references to same test name.
1935 2016-02-01 Pedro Alves <palves@redhat.com>
1938 * gdb.threads/forking-threads-plus-breakpoint.exp
1939 (displaced_stepping_supported): New global.
1940 (probe_displaced_stepping_support): New procedure.
1941 (do_test): Add 'displaced' parameter, and use it.
1942 (top level): Check for displaced stepping support. Add displaced
1943 stepping on/off testing axis.
1945 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1947 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1948 pointer. Don't perform further tests on the unassociated pointer
1949 if the first test fails.
1951 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1953 * gdb.base/max-value-size.c: New file.
1954 * gdb.base/max-value-size.exp: New file.
1955 * gdb.base/huge.exp: Disable max-value-size for this test.
1957 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1959 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1961 2016-01-28 Yao Qi <yao.qi@linaro.org>
1963 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1965 2016-01-25 Pedro Alves <palves@redhat.com>
1968 * gdb.base/fork-running-state.c: New file.
1969 * gdb.base/fork-running-state.exp: New file.
1971 2016-01-25 Pedro Alves <palves@redhat.com>
1974 * gdb.base/catch-fork-kill.c: New file.
1975 * gdb.base/catch-fork-kill.exp: New file.
1977 2016-01-25 Pedro Alves <palves@redhat.com>
1979 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1980 Delete, moved to lib/gdb.exp.
1981 * gdb.threads/forking-threads-plus-breakpoint.exp
1982 (foreach_with_prefix): Likewise.
1983 * gdb.threads/process-dies-while-handling-bp.exp
1984 (foreach_with_prefix): Likewise.
1985 * lib/gdb.exp (foreach_with_prefix): New procedure.
1987 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1989 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1990 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1992 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1994 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1997 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1998 Pedro Alves <palves@redhat.com>
2000 Fix testsuite compatibility with Guile.
2001 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2004 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2006 Fix testsuite compatibility with Guile.
2007 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2008 (thread 1): New test for backtrace through signal handler.
2010 2016-01-22 Yao Qi <yao.qi@linaro.org>
2013 * gdb.base/multi-forks.c: Include
2014 ../lib/unbuffer_output.c
2015 (main): Call gdb_unbuffer_output.
2017 2016-01-21 Doug Evans <dje@google.com>
2019 * lib/ada.exp (gdb_compile_ada): Fix typo.
2021 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2023 * gdb.base/break-fun-addr.exp: New file.
2024 * gdb.base/break-fun-addr1.c: New file.
2025 * gdb.base/break-fun-addr2.c: New file.
2027 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2029 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2030 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2033 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2035 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2036 when GDB can not set the vector return value. Add more comments
2039 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2041 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2044 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2046 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2048 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2050 * Makefile.in (check-single): Pass --status to runtest.
2051 (check/%.exp): Likewise.
2053 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2055 * Makefile.in (check-parallel): Propagate return code from make
2058 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2060 * gdb.trace/ftrace.exp: Fix expected message on continue.
2061 * gdb.trace/pending.exp: Fix expected message on continue.
2062 * gdb.trace/trace-break.exp: Fix expected message on continue.
2064 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2066 * lib/gdb.exp (gdb_test): Remove unused global references.
2068 2016-01-18 Pedro Alves <palves@redhat.com>
2070 * gdb.base/async-shell.exp: Adjust expected output.
2071 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2072 * gdb.base/siginfo-thread.exp: Adjust expected output.
2073 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2074 * gdb.java/jnpe.exp: Adjust expected output.
2075 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2076 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2077 * gdb.threads/leader-exit.exp: Adjust expected output.
2078 * gdb.threads/manythreads.exp: Adjust expected output.
2079 * gdb.threads/pthreads.exp: Adjust expected output.
2080 * gdb.threads/schedlock.exp: Adjust expected output.
2081 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2082 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2084 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2086 * gdb.threads/sigthread.exp: Adjust expected output.
2087 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2089 2016-01-18 Yao Qi <yao.qi@linaro.org>
2091 * gdb.guile/scm-section-script.c: Replace @progbits with
2093 * gdb.python/py-section-script.c: Likewise.
2095 2016-01-15 Pedro Alves <palves@redhat.com>
2097 * gdb.multi/tids.exp: Test star wildcard ranges.
2099 2016-01-15 Pedro Alves <palves@redhat.com>
2101 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2102 command from "thread apply" invocation.
2103 (thr_apply_info_thr_invalid): Default the expected output to the
2105 (top level): Add tests that use convenience variables. Add tests
2106 for "thread apply" with a valid TID list, but missing the command.
2108 2016-01-13 Pedro Alves <palves@redhat.com>
2110 * gdb.base/default.exp: Expect $_gthread as well.
2111 * gdb.multi/tids.exp: Test $_gthread.
2112 * gdb.threads/thread-specific.exp: Test $_gthread.
2114 2016-01-13 Pedro Alves <palves@redhat.com>
2116 * gdb.multi/tids.exp: Test "info threads -gid".
2118 2016-01-13 Pedro Alves <palves@redhat.com>
2120 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2122 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2124 2016-01-07 Pedro Alves <palves@redhat.com>
2126 * gdb.base/break.exp: Adjust to output changes.
2127 * gdb.base/hbreak2.exp: Likewise.
2128 * gdb.base/sepdebug.exp: Likewise.
2129 * gdb.base/watch_thread_num.exp: Likewise.
2130 * gdb.linespec/keywords.exp: Likewise.
2131 * gdb.multi/info-threads.exp: Likewise.
2132 * gdb.threads/thread-find.exp: Likewise.
2133 * gdb.multi/tids.c: New file.
2134 * gdb.multi/tids.exp: New file.
2136 2016-01-13 Pedro Alves <palves@redhat.com>
2138 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2140 2016-01-13 Pedro Alves <palves@redhat.com>
2142 * gdb.base/default.exp: Expect $_inferior as well.
2143 * gdb.multi/base.exp: Test $_inferior.
2145 2016-01-13 Pedro Alves <palves@redhat.com>
2147 PR breakpoints/19388
2148 * gdb.base/catch-signal-siginfo-cond.c: New file.
2149 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2151 2016-01-12 Josh Stone <jistone@redhat.com>
2152 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2154 * gdb.base/catch-syscall.c (do_execve): New variable.
2155 (main): Conditionally trigger an execve.
2156 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2157 (test_catch_syscall_execve): New, check entry/return across execve.
2158 (do_syscall_tests): Call test_catch_syscall_execve.
2160 2016-01-12 Pedro Alves <palves@redhat.com>
2162 * gdb.base/random-signal.exp (do_test): New procedure, with body
2163 of testcase moved in.
2165 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2166 Pedro Alves <palves@redhat.com>
2168 * gdb.base/funcargs.exp (finish from indirectly called function):
2169 Reintroduce the case for 'First'.
2171 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 Pedro Alves <palves@redhat.com>
2174 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2175 (tcatch_vfork_then_child_follow_exec)
2176 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2179 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2181 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2182 and repeats to unlimited.
2183 * gdb.python/py-value.exp: Likewise.
2184 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2185 and repeats to unlimited.
2187 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2189 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2190 and reordering the functions.
2191 * gdb.multi/hangout.c: Likewise.
2192 * gdb.multi/hello.c: Likewise.
2194 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2196 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2198 (SingleStatisticTestResult.report): Use dict.keys instead of
2201 2016-01-06 Pedro Alves <palves@redhat.com>
2203 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2205 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2207 * gdb.btrace/dlopen.exp: New.
2208 * gdb.btrace/dlopen.c: New.
2209 * gdb.btrace/dlopen-dso.c: New.
2211 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2213 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2214 PATTERN argument is optional.
2216 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2218 * lib/ada.exp (target_compile_ada_from_dir): New function.
2219 (gdb_compile_ada): Reimplement avoiding the use of project files.
2220 * gdb.ada/gnat_ada.gpr: Delete.
2221 * gdb.ada/cond_lang.exp: Adjust test to make path before
2223 * gdb.ada/small_reg_param.exp: Likewise.
2225 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2227 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2229 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2231 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2234 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2236 * gdb.base/break.exp: Remove dead code.
2237 * gdb.base/sepdebug.exp: Likewise.
2239 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2241 * gdb.asm/asm-source.exp: Remove HP-UX references.
2242 * gdb.base/annota1.exp: Likewise.
2243 * gdb.base/annota3.exp: Likewise.
2244 * gdb.base/attach.exp: Likewise.
2245 * gdb.base/bigcore.exp: Likewise.
2246 * gdb.base/break.exp: Likewise.
2247 * gdb.base/call-ar-st.exp: Likewise.
2248 * gdb.base/callfuncs.exp: Likewise.
2249 * gdb.base/catch-fork-static.exp: Likewise.
2250 * gdb.base/display.exp: Likewise.
2251 * gdb.base/foll-exec-mode.exp: Likewise.
2252 * gdb.base/foll-exec.exp: Likewise.
2253 * gdb.base/foll-fork.exp: Likewise.
2254 * gdb.base/foll-vfork.exp: Likewise.
2255 * gdb.base/funcargs.exp: Likewise.
2256 * gdb.base/hbreak2.exp: Likewise.
2257 * gdb.base/inferior-died.exp: Likewise.
2258 * gdb.base/interrupt.exp: Likewise.
2259 * gdb.base/multi-forks.exp: Likewise.
2260 * gdb.base/nodebug.exp: Likewise.
2261 * gdb.base/sepdebug.exp: Likewise.
2262 * gdb.base/solib1.c: Likewise.
2263 * gdb.base/step-test.exp: Likewise.
2264 * gdb.mi/non-stop.c: Likewise.
2265 * gdb.mi/pthreads.c: Likewise.
2266 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2267 * gdb.threads/pthreads.c: Likewise.
2268 * gdb.threads/staticthreads.exp: Likewise.
2269 * lib/future.exp: Likewise.
2270 * lib/gdb.exp: Likewise.
2271 * gdb.base/so-indr-cl.c: Remove.
2272 * gdb.base/so-indr-cl.exp: Likewise.
2273 * gdb.base/solib.c: Likewise.
2274 * gdb.base/solib.exp: Likewise.
2275 * gdb.base/solib2.c: Likewise.
2277 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2279 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2280 * gdb.base/call-ar-st.exp: Likewise.
2281 * gdb.base/callfuncs.exp: Likewise.
2282 * gdb.base/condbreak.exp: Likewise.
2283 * gdb.base/constvars.exp: Likewise.
2284 * gdb.base/hbreak2.exp: Likewise.
2285 * gdb.base/langs.exp: Likewise.
2286 * gdb.base/list.exp: Likewise.
2287 * gdb.base/long_long.exp: Likewise.
2288 * gdb.base/ptype.exp: Likewise.
2289 * gdb.base/scope.exp: Likewise.
2290 * gdb.base/signals.exp: Likewise.
2291 * gdb.base/so-impl-ld.exp: Likewise.
2292 * gdb.base/varargs.exp: Likewise.
2293 * gdb.base/volatile.exp: Likewise.
2294 * gdb.base/whatis.exp: Likewise.
2295 * gdb.cp/cplusfuncs.exp: Likewise.
2296 * gdb.cp/inherit.exp: Likewise.
2297 * gdb.cp/local.exp: Likewise.
2298 * gdb.cp/member-ptr.exp: Likewise.
2299 * gdb.cp/method.exp: Likewise.
2300 * gdb.cp/overload.exp: Likewise.
2301 * gdb.cp/templates.exp: Likewise.
2302 * gdb.stabs/weird.exp: Likewise.
2303 * lib/compiler.c: Likewise.
2304 * lib/compiler.cc: Likewise.
2305 * lib/cp-support.exp: Likewise.
2306 * lib/gdb.exp: Likewise.
2308 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2310 * configure.ac: Remove HP-UX case.
2311 * configure: Regenerate.
2313 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2315 * lib/gdb.exp (gdb_compile): Add function doc.
2317 2015-12-17 Pedro Alves <palves@redhat.com>
2320 * gdb.multi/info-threads.exp: New file.
2322 2015-12-15 Yao Qi <yao.qi@linaro.org>
2324 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2327 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2329 * gdb.base/history-duplicates.exp: Skip if no readline support.
2331 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2333 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2335 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2337 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2339 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2341 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2342 ctrl-C if nointerrupts target property is set.
2343 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2344 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2345 * gdb.base/paginate-bg-execution.exp: Likewise.
2346 * gdb.base/paginate-execution-startup.exp: Likewise.
2347 * gdb.base/random-signal.exp: Likewise.
2348 * gdb.base/range-stepping.exp: Likewise.
2349 * gdb.cp/annota2.exp: Likewise.
2350 * gdb.cp/annota3.exp: Likewise.
2351 * gdb.gdb/selftest.exp: Likewise.
2352 * gdb.threads/continue-pending-status.exp: Likewise.
2353 * gdb.threads/leader-exit.exp: Likewise.
2354 * gdb.threads/manythreads.exp: Likewise.
2355 * gdb.threads/pthreads.exp: Likewise.
2356 * gdb.threads/schedlock.exp: Likewise.
2357 * gdb.threads/sigthread.exp: Likewise.
2359 2015-12-11 Don Breazeal <donb@codesourcery.com>
2361 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2363 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2364 * gdb.base/foll-exec.exp (main): Enable for target remote.
2365 * gdb.base/foll-fork.exp (main): Likewise.
2366 * gdb.base/foll-vfork.exp (main): Likewise.
2367 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2368 (proc continue_to_exit_bp_loc): Use clean_restart.
2369 * gdb.base/pie-execl.exp (main): Disable for target remote.
2370 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2371 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2372 * gdb.threads/execl.exp (main): Likewise.
2373 * gdb.threads/fork-child-threads.exp (main): Likewise.
2374 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2376 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2378 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2379 pid.tid style ptids, instead of just tid.
2380 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2381 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2382 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2383 ptids, instead of just tid.
2385 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2387 * gdb.base/list.exp (test_list_forward): Add end of file error
2389 (test_repeat_list_command): Add end of file error test.
2390 (test_list_backwards): Add beginning of file error test.
2392 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2394 * gdb.base/list.exp (test_list_invalid_args): New function,
2395 defined, and called.
2397 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2399 * gdb.base/list.exp (test_list): Make test names unique.
2401 2015-12-11 Yao Qi <yao.qi@linaro.org>
2403 * gdb.base/coremaker2.c: Remove.
2405 2015-12-10 Pedro Alves <palves@redhat.com>
2407 * gdb.multi/base.exp: Remove stale "spaces" references.
2409 2015-12-10 Pedro Alves <palves@redhat.com>
2411 * gdb.multi/base.exp: Don't use nowarnings.
2412 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2413 * gdb.multi/hangout.c: Include stdio.h.
2414 * gdb.multi/hello.c: Include stdlib.h.
2415 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2416 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2417 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2419 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2421 * gdb.dwarf2/dw2-ranges-base.c: New file.
2422 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2423 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2424 support additional line table, and debug ranges generation.
2425 (Dwarf::ranges): New function, generate .debug_ranges.
2426 (Dwarf::lines): Support generating simple line table programs.
2427 (Dwarf::assemble): Initialise new namespace variables.
2429 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2431 * gdb.base/async.exp (proc test_background): Add case for
2432 asynchronous execution not supported.
2434 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2436 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2437 format and change test names to make them unique.
2439 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2440 Pedro Alves <pedro@redhat.com>
2443 Add checking of floatformats setup on x86_64 hosts.
2444 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2445 (smallval, bigval): New labels/constants.
2446 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2447 float" after loading bigval and smallval.
2449 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2451 * gdb.ada/fun_overload_menu.exp: New testcase.
2452 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2454 2015-12-04 Josh Stone <jistone@redhat.com>
2456 * gdb.base/catch-fork-static.exp: New.
2458 2015-12-03 Yao Qi <yao.qi@linaro.org>
2460 * gdb.base/sizeof.c: Don't include stdio.h and
2461 ../lib/unbuffer_output.c.
2462 (main): New variable 'size' and 'value'. Remove printf and
2463 gdb_unbuffer_output. Assign return value to size and value.
2464 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2466 (check_sizeof): Check the result by printing variable 'size'.
2467 (check_valueof): Check the result by printing variable 'value'.
2469 2015-12-01 Yao Qi <yao.qi@linaro.org>
2471 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2472 for aarch64*-*-linux* target.
2474 2015-11-30 Pedro Alves <palves@redhat.com>
2476 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2478 2015-11-30 Pedro Alves <palves@redhat.com>
2480 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2481 Handle non-stop mode vCont replies.
2483 2015-11-30 Pedro Alves <palves@redhat.com>
2485 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2486 prepare_for_testing. Start gdb with "set non-stop on" appended to
2487 GDBFLAGS. Lax expected stop output.
2489 2015-11-27 Yao Qi <yao.qi@linaro.org>
2491 * gdb.arch/arm-neon.exp: New.
2492 * gdb.arch/arm-neon.c: New.
2494 2015-11-27 Yao Qi <yao.qi@linaro.org>
2496 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2498 2015-11-27 Yao Qi <yao.qi@linaro.org>
2500 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2501 frames-invalid annotation.
2503 2015-11-27 Yao Qi <yao.qi@linaro.org>
2505 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2507 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2509 * gdb.threads/names.exp: New file.
2510 * gdb.threads/names.c: New file.
2511 * README: Mention gdb,no_thread_names.
2513 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2516 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2519 2015-11-24 Pedro Alves <palves@redhat.com>
2522 * gdb.base/display.exp: Expect displays to be sorted in ascending
2523 order. Use multi_line.
2524 * gdb.base/solib-display.exp: Likewise.
2526 2015-11-24 Pedro Alves <palves@redhat.com>
2529 * gdb.base/display.exp: Expect displays to be sorted in ascending
2530 order. Use multi_line.
2531 * gdb.base/solib-display.exp: Likewise.
2533 2015-11-24 Pedro Alves <palves@redhat.com>
2536 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2537 threads in ascending order.
2538 * gdb.base/foll-fork.exp: Likewise.
2539 * gdb.base/foll-vfork.exp: Likewise.
2540 * gdb.base/multi-forks.exp: Likewise.
2541 * gdb.mi/mi-nonstop.exp: Likewise.
2542 * gdb.mi/mi-nsintrall.exp: Likewise.
2543 * gdb.multi/base.exp: Likewise.
2544 * gdb.multi/multi-arch.exp: Likewise.
2545 * gdb.python/py-inferior.exp: Likewise.
2546 * gdb.threads/break-while-running.exp: Likewise.
2547 * gdb.threads/execl.exp: Likewise.
2548 * gdb.threads/gcore-thread.exp: Likewise.
2549 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2550 * gdb.threads/kill.exp: Likewise.
2551 * gdb.threads/linux-dp.exp: Likewise.
2552 * gdb.threads/multiple-step-overs.exp: Likewise.
2553 * gdb.threads/next-bp-other-thread.exp: Likewise.
2554 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2555 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2556 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2557 * gdb.threads/thread-find.exp: Likewise.
2558 * gdb.threads/tls.exp: Likewise.
2559 * lib/mi-support.exp (mi_reverse_list): Delete.
2560 (mi_check_thread_states): No longer reverse list.
2562 2015-11-24 Pedro Alves <palves@redhat.com>
2564 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2567 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2569 * gdb.trace/actions.c: Include trace-common.h.
2570 (main): Add a location for a fast tracepoint.
2571 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2572 the normal tracepoints.
2573 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2575 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2577 * save-trace.exp: Factor out code to these...
2578 (gdb_save_tracepoints): New.
2579 (gdb_load_tracepoints): New.
2580 (do_save_load_test): New.
2582 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2584 * gdb.base/asmlabel.exp: New test.
2585 * gdb.base/asmlabel.c: New test case.
2587 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2589 * gdb.base/wrong_frame_bt_full-main.c: New file.
2590 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2591 * gdb.base/wrong_frame_bt_full.exp: New file.
2593 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2595 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2597 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2599 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2600 pstate register when comparing registers values in
2601 sparc64-*-linux-gnu targets to avoid spurious differences.
2603 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2605 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2607 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2609 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2610 as type argument to gdb_compile.
2611 * gdb.base/nested-subp2.exp: Likewise.
2612 * gdb.base/nested-subp3.exp: Likewise.
2614 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2616 * lib/dwarf.exp (_note): Fix left shift of negative value.
2617 * gdb.trace/trace-condition.exp: Likewise.
2619 2015-11-13 Yao Qi <yao.qi@linaro.org>
2621 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2622 comments about d10v.
2623 (test_scalar_returns): Likewise.
2624 * gdb.base/d10v.ld: Remove.
2625 * gdb.base/overlays.exp: Remove the target triplet checking for
2627 * gdb.base/structs.exp (test_struct_returns): Remove the
2628 comments about d10v.
2629 (test_struct_calls): Likewise.
2631 2015-11-13 Yao Qi <yao.qi@linaro.org>
2633 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2634 * gdb.base/gnu_vector.c: Don't include stdio.h.
2635 (main): Don't print res and call add_some_intvecs.
2637 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2639 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2642 (func4): Use FAST_TRACEPOINT_LABEL.
2643 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2646 (thread_function): Use FAST_TRACEPOINT_LABEL.
2647 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2649 (marker): Use FAST_TRACEPOINT_LABEL.
2650 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2651 (pendfunc1): Remove.
2652 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2653 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2655 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2656 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2659 (marker): Use FAST_TRACEPOINT_LABEL.
2660 * gdb.trace/trace-common.h: New header.
2661 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2664 (marker): Use FAST_TRACEPOINT_LABEL.
2665 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2667 (thread_function): Use FAST_TRACEPOINT_LABEL.
2669 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2671 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2673 * gdb.trace/change-loc.exp: Use global pcreg definition.
2674 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2675 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2677 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2678 * gdb.trace/pending.exp: Likewise.
2679 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2680 * gdb.trace/trace-break.exp: Likewise.
2681 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2683 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2684 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2686 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2688 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2690 * gdb.ada/fin_fun_out: New testcase.
2692 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2694 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2695 value associated with DW_AT_byte_size.
2696 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2697 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2700 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2702 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2703 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2705 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2706 gdb.dwarf2/dw2-canonicalize-type.exp,
2707 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2708 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2709 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2710 provided by gdb_target_symbol_prefix_flags_asm.
2711 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2712 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2713 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2714 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2715 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2716 macros where needed). Use this macro for symbols which require
2717 the prefix provided by SYMBOL_PREFIX.
2719 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2721 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2723 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2724 representing expressions, of more than one list element.
2725 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2726 to prepend linker symbol prefix to f.
2727 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2728 table_1 and table_2.
2729 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2730 Likewise, for f and g.
2731 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2733 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2735 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2736 table_1_ptr and table_2_ptr.
2738 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Joel Brobecker <brobecker@adacore.com>
2741 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2743 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2745 * gdb.reverse/s390-mvcle.c: New test.
2746 * gdb.reverse/s390-mvcle.exp: New file.
2747 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2749 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2751 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2753 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2755 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2757 * gdb.reverse/getresuid-reverse.exp: Likewise.
2758 * gdb.reverse/pipe-reverse.exp: Likewise.
2759 * gdb.reverse/readv-reverse.exp: Likewise.
2760 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2761 * gdb.reverse/time-reverse.exp: Likewise.
2762 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2764 2015-10-30 Yao Qi <yao.qi@linaro.org>
2766 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2767 (empty_cycle): Remove.
2768 (main): Don't call empty_cycle. Don't use watch_count_done.
2769 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2770 empty_cycle. Rewrite the code counting HW watchpoints.
2772 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2774 * gdb.reverse/fstatat-reverse.c: New test.
2775 * gdb.reverse/fstatat-reverse.exp: New file.
2776 * gdb.reverse/getresuid-reverse.c: New test.
2777 * gdb.reverse/getresuid-reverse.exp: New file.
2778 * gdb.reverse/pipe-reverse.c: New test.
2779 * gdb.reverse/pipe-reverse.exp: New file.
2780 * gdb.reverse/readv-reverse.c: New test.
2781 * gdb.reverse/readv-reverse.exp: New file.
2782 * gdb.reverse/recvmsg-reverse.c: New test.
2783 * gdb.reverse/recvmsg-reverse.exp: New file.
2784 * gdb.reverse/time-reverse.c: New test.
2785 * gdb.reverse/time-reverse.exp: New file.
2786 * gdb.reverse/waitpid-reverse.c: New test.
2787 * gdb.reverse/waitpid-reverse.exp: New file.
2789 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2791 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2793 2015-10-26 Doug Evans <dje@google.com>
2796 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2797 * gdb.dwarf2/bad-regnum.c: New file.
2798 * gdb.dwarf2/bad-regnum.exp: New file.
2800 2015-10-26 Doug Evans <dje@google.com>
2803 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2806 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2808 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2809 for a change by "Mention language in compile error message".
2811 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2814 * gdb.python/py-type.c (C::a_method): New.
2815 (C::a_const_method): New.
2816 (C::a_static_method): New.
2818 * gdb.python/py-type.exp (test_fields): Test getting fields
2819 from function and method.
2821 2015-10-21 Keven Boell <keven.boell@intel.com>
2823 * gdb.fortran/vla-alloc-assoc.exp: New file.
2824 * gdb.fortran/vla-datatypes.exp: New file.
2825 * gdb.fortran/vla-datatypes.f90: New file.
2826 * gdb.fortran/vla-history.exp: New file.
2827 * gdb.fortran/vla-ptype-sub.exp: New file.
2828 * gdb.fortran/vla-ptype.exp: New file.
2829 * gdb.fortran/vla-sizeof.exp: New file.
2830 * gdb.fortran/vla-sub.f90: New file.
2831 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2832 * gdb.fortran/vla-value-sub-finish.exp: New file.
2833 * gdb.fortran/vla-value-sub.exp: New file.
2834 * gdb.fortran/vla-value.exp: New file.
2835 * gdb.fortran/vla-ptr-info.exp: New file.
2836 * gdb.mi/mi-vla-fortran.exp: New file.
2837 * gdb.mi/vla.f90: New file.
2839 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2841 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2842 of hardwired timeout value.
2844 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2845 Pedro Alves <palves@redhat.com>
2847 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2848 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2850 2015-10-19 Josh Stone <jistone@redhat.com>
2852 * gdb.base/catch-syscall.c: Include <sched.h>.
2853 (unknown_syscall): New variable.
2854 (main): Trigger a vfork and an unknown syscall.
2855 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2856 (unknown_syscall_number): Likewise.
2857 (check_call_to_syscall): Accept an optional syscall pattern.
2858 (check_return_from_syscall): Likewise.
2859 (check_continue): Likewise.
2860 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2861 (test_catch_syscall_skipping_return): New test toggling off 'catch
2862 syscall' to step over the syscall return, then toggling back on.
2863 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2864 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2865 (do_syscall_tests): Call test_catch_syscall_without_args and
2866 test_catch_syscall_mid_vfork.
2867 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2868 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2870 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2872 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2873 print g_vE): Add new pass patterns.
2874 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2875 print various symbol names for vptr fields.
2877 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2879 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2882 2015-10-12 Yao Qi <yao.qi@linaro.org>
2884 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2886 2015-10-12 Yao Qi <yao.qi@linaro.org>
2888 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2889 is aarch64*-*-linux*.
2891 2015-10-12 Yao Qi <yao.qi@linaro.org>
2893 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2894 (can_relocate_bcond_true): ... it.
2895 (can_relocate_bcond_false): New function.
2897 (can_relocate_bl): Likewise.
2898 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2901 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2903 * gdb.base/nested-addr.c: New file.
2904 * gdb.base/nested-addr.exp: New testcase.
2906 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2908 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2909 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2910 its output. Ignore the output of "record goto begin" and instead
2911 check that GDB is replaying.
2913 2015-10-09 Pedro Alves <palves@redhat.com>
2915 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2916 (top level): Use it in the run with no args test.
2918 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2920 * gdb.dlang/properties.exp: New file.
2922 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2924 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2925 whether or not address 0x1000 is mapped on the target.
2927 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2929 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2932 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2934 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2935 instruction-history test.
2937 2015-09-28 Doug Evans <dje@google.com>
2939 * gdb.base/gcore.c (array_func): Add reference to static_array.
2941 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2943 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2946 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2948 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2949 short or char as base type.
2951 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2953 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2954 to allow any size enum.
2956 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2958 * gdb.ada/array_ptr_renaming.exp: New testcase.
2959 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2960 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2962 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2964 * gdb.trace/ftrace-lock.c: New file.
2965 * gdb.trace/ftrace-lock.exp: New file.
2967 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2969 * gdb.arch/insn-reloc.c: New file.
2970 * gdb.arch/ftrace-insn-reloc.exp: New file.
2972 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2974 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2976 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2977 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2978 * gdb.trace/range-stepping.c: Likewise.
2979 * gdb.trace/trace-break.c: Likewise.
2980 * gdb.trace/trace-mt.c (thread_function): Likewise.
2981 * gdb.trace/ftrace.c (marker): Likewise.
2982 * gdb.trace/trace-condition.c (marker): Likewise.
2983 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2984 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2987 2015-09-18 Doug Evans <xdje42@gmail.com>
2989 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2990 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2992 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2994 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2997 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2999 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3000 the pending breakpoint. Remove timeout override for "Run till
3001 MI pending breakpoint on pendfunc3 on thread 2" test.
3003 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3005 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3008 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3010 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3011 in breakpoint filename pattern.
3013 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3015 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3017 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3019 * gdb.linespec/explicit.exp: Check for readline support for
3020 tab-completion tests. Fix obvious typo.
3022 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3024 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3027 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3029 * gdb.btrace/non-stop.c: New.
3030 * gdb.btrace/non-stop.exp: New.
3032 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3033 Yao Qi <yao.qi@linaro.org>
3035 * gdb.trace/trace-condition.c: New file.
3036 * gdb.trace/trace-condition.exp: New file.
3038 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3040 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3041 for testing bytecode compilation.
3043 2015-09-16 Pedro Alves <palves@redhat.com>
3044 Sandra Loosemore <sandra@codesourcery.com>
3046 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3047 (SECONDS): Redefine.
3048 (main): Call pthread_kill and alarm early.
3049 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3051 (test): If the target can't hardware step and doesn't support
3052 displaced stepping, increase the timeout.
3054 2015-09-16 Pedro Alves <palves@redhat.com>
3056 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3057 (enable_debug): New procedures.
3058 (test): Use them. Bail out if waiting for threads fails.
3059 (top level): Bail out if a test fails.
3061 2015-09-16 Yao Qi <yao.qi@linaro.org>
3063 * gdb.asm/asm-source.exp: Set asm-arch for
3064 aarch64*-*-* target.
3065 * gdb.asm/aarch64.inc: New file.
3067 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3069 * gdb.ada/array_of_variable_length.exp: New testcase.
3070 * gdb.ada/array_of_variable_length/foo.adb: New file.
3071 * gdb.ada/array_of_variable_length/pck.adb: New file.
3072 * gdb.ada/array_of_variable_length/pck.ads: New file.
3074 2015-09-15 Doug Evans <dje@google.com>
3076 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3077 of function static local variable.
3079 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3081 * gdb.threads/tls-so_extern.exp: New test file.
3082 * gdb.threads/tls-so_extern.c: New test file.
3083 * gdb.threads/tls-so_extern_main.c: New test file.
3085 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3087 * gdb.opt/solib-intra-step-lib.c: New file.
3088 * gdb.opt/solib-intra-step-main.c: New file.
3089 * gdb.opt/solib-intra-step.exp: New file.
3091 2015-09-15 Pedro Alves <palves@redhat.com>
3093 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3094 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3096 2015-09-14 Pedro Alves <palves@redhat.com>
3098 * gdb.base/hook-stop-continue.c: Delete.
3099 * gdb.base/hook-stop-continue.exp: Delete.
3100 * gdb.base/hook-stop-frame.c: Delete.
3101 * gdb.base/hook-stop-frame.exp: Delete.
3102 * gdb.base/hook-stop.c: New file.
3103 * gdb.base/hook-stop.exp: New file.
3105 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3107 * gdb.ada/access_to_packed_array.exp: New testcase.
3108 * gdb.ada/access_to_packed_array/foo.adb: New file.
3109 * gdb.ada/access_to_packed_array/pack.adb: New file.
3110 * gdb.ada/access_to_packed_array/pack.ads: New file.
3112 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3114 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3117 2015-09-11 Don Breazeal <donb@codesourcery.com>
3119 * gdb.base/foll-exec.c: Add copyright header. Fix
3121 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3122 (do_exec_tests): Use clean_restart in place of zap_session,
3123 and for test initialization. Fix formatting issues. Use
3124 fail in place of perror.
3125 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3126 an expect statement to match an expression with output from
3127 the program under debug.
3128 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3129 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3130 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3131 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3132 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3134 2015-09-09 Doug Evans <dje@google.com>
3136 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3138 2015-09-09 Doug Evans <dje@google.com>
3140 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3142 2015-09-09 Doug Evans <dje@google.com>
3144 * gdb.base/savedregs.exp: Fix typo.
3146 2015-09-09 Pedro Alves <palves@redhat.com>
3148 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3150 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3152 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3153 command actually switches threads. Give up on remaining
3154 tests if target fails to stop at breakpoint.
3156 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3158 * gdb.ada/funcall_char.exp: New testcase.
3159 * gdb.ada/funcall_char/foo.adb: New file.
3161 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3163 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3164 expected outputs. Add two testcases for completing ambiguous
3166 * gdb.ada/complete/aux_pck.adb: New file.
3167 * gdb.ada/complete/aux_pck.ads: New file.
3168 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3169 Ambiguous_Func functions.
3170 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3171 * gdb.ada/complete/pck.adb: Likewise.
3173 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3175 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3176 failures to run the test program under GDB.
3178 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3180 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3183 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3185 * gdb.base/run-after-attach.exp: New test file.
3186 * gdb.base/run-after-attach.c: New test file.
3188 2015-08-26 Don Breazeal <donb@codesourcery.com>
3190 * gdb.base/foll-exec-2.c: New test program.
3191 * gdb.base/foll-exec-2.exp: New test.
3193 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3195 * gdb.base/nested-subp1.exp: New file.
3196 * gdb.base/nested-subp1.c: New file.
3197 * gdb.base/nested-subp2.exp: New file.
3198 * gdb.base/nested-subp2.c: New file.
3199 * gdb.base/nested-subp3.exp: New file.
3200 * gdb.base/nested-subp3.c: New file.
3202 2015-08-24 Pedro Alves <palves@redhat.com>
3204 * gdb.server/connect-without-multi-process.c: New file.
3205 * gdb.server/connect-without-multi-process.exp: New file.
3207 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3209 * gdb.opt/inline-markers.c: Make z int.
3211 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3213 * gdb.opt/inline-markers.c: Make z volatile.
3215 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3217 * gdb.opt/inline-bt.c: New volatile global z.
3218 * gdb.opt/inline-cmds.c: Likewise.
3219 * gdb.opt/inline-locals.c: Likewise.
3220 * gdb.opt/inline-markers.c: New extern global z.
3222 (inline_fn): Likewise.
3224 2015-08-24 Pedro Alves <palves@redhat.com>
3226 * config/m32r-stub.exp: Remove file.
3227 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3228 * gdb.base/call-rt-st.exp: Likewise.
3229 * gdb.base/call-strs.exp: Likewise.
3230 * gdb.base/default.exp: Remove references to h8300-*-hms and
3232 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3234 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3236 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3237 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3238 and "return" use KFAIL when GDB can not read/write the vector
3241 2015-08-21 Gary Benson <gbenson@redhat.com>
3243 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3245 2015-08-20 Pedro Alves <palves@redhat.com>
3247 * gdb.server/solib-list.exp: No longer expect an interior stop in
3250 2015-08-20 Pedro Alves <palves@redhat.com>
3252 * gdb.server/connect-stopped-target.c: New file.
3253 * gdb.server/connect-stopped-target.exp: New file.
3255 2015-08-20 Pedro Alves <palves@redhat.com>
3257 * gdb.dwarf2/comp-unit-lang.exp: New file.
3258 * gdb.dwarf2/comp-unit-lang.c: New file.
3260 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3262 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3263 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3265 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3267 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3268 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3270 2015-08-18 Doug Evans <dje@google.com>
3271 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3273 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3274 skip_python_tests. New arg prompt_regexp.
3275 (skip_python_tests): New function.
3276 * lib/mi-support.exp (mi_skip_python_tests): New function.
3277 * gdb.python/py-mi-objfile-gdb.py: New file.
3278 * gdb.python/py-mi-objfile.c: New file.
3279 * gdb.python/py-mi-objfile.exp: New file.
3281 2015-08-17 Keith Seitz <keiths@redhat.com>
3283 * gdb.linespec/explicit.exp: Move strace test from here ...
3284 * gdb.trace/strace.exp: ... to here.
3286 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3288 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3289 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3291 2015-08-14 Doug Evans <xdje42@gmail.com>
3293 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3294 inferior before selecting a new file.
3296 2015-08-14 Doug Evans <xdje42@gmail.com>
3298 * gdb.mi/mi-disassemble.exp: Update.
3299 * gdb.base/disasm-optim.S: New file.
3300 * gdb.base/disasm-optim.c: New file.
3301 * gdb.base/disasm-optim.h: New file.
3302 * gdb.base/disasm-optim.exp: New file.
3304 2015-08-14 Keith Seitz <keiths@redhat.com>
3306 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3309 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3311 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3313 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3315 * gdb.ada/fun_renaming.exp: New testcase.
3316 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3317 * gdb.ada/fun_renaming/pack.adb: New file.
3318 * gdb.ada/fun_renaming/pack.ads: New file.
3320 2015-08-12 Keith Seitz <keiths@redhat.com>
3322 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3323 gdb_get_line_number.
3325 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3327 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3328 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3329 gdb.base/dso2dso.exp: New files.
3331 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3332 Pedro Alves <palves@redhat.com>
3333 Keith Seitz <keiths@redhat.com>
3335 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3338 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3340 * gdb.base/gdbhistsize-history.exp
3341 (test_histsize_history_setting): Use save_vars.
3342 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3344 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3345 * gdb.base/readline.exp: Use save_vars.
3347 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3349 * lib/gdb.exp (save_vars): New proc.
3351 2015-08-11 Keith Seitz <keiths@redhat.com>
3353 * gdb.base/help.exp: Update help_breakpoint_text.
3355 2015-08-11 Keith Seitz <keiths@redhat.com>
3357 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3358 (at toplevel): Call test_explicit_breakpoints.
3359 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3361 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3362 breakpoint conditions, "-cond".
3364 2015-08-11 Keith Seitz <keiths@redhat.com>
3366 * gdb.linespec/3explicit.c: New file.
3367 * gdb.linespec/cpexplicit.cc: New file.
3368 * gdb.linespec/cpexplicit.exp: New file.
3369 * gdb.linespec/explicit.c: New file.
3370 * gdb.linespec/explicit.exp: New file.
3371 * gdb.linespec/explicit2.c: New file.
3372 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3373 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3374 before using in the matching pattern.
3375 Clarify that `prefix' is a regular expression.
3377 2015-08-11 Keith Seitz <keiths@redhat.com>
3379 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3381 Add tests for missing ",FMT" and ",".
3383 2015-08-10 Doug Evans <dje@google.com>
3384 Keith Seitz <keiths@redhat.com>
3387 * gdb.base/completion.exp: Add location completer tests.
3389 2015-08-07 Pedro Alves <palves@redhat.com>
3391 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3393 (top level): Run do_test with and without displaced stepping.
3395 2015-08-07 Pedro Alves <palves@redhat.com>
3397 * gdb.base/valgrind-disp-step.c: New file.
3398 * gdb.base/valgrind-disp-step.exp: New file.
3400 2015-08-07 Pedro Alves <palves@redhat.com>
3402 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3404 (main): Add alarm. Run an infinite loop instead of calling
3406 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3408 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3410 (main): Add alarm. Run an infinite loop instead of calling
3412 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3415 2015-08-07 Pedro Alves <palves@redhat.com>
3417 * gdb.base/checkpoint-ns.exp: New file.
3418 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3421 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3423 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3424 * gdb.btrace/instruction_history.exp: Update.
3425 * gdb.btrace/tsx.exp: New.
3426 * gdb.btrace/tsx.c: New.
3428 2015-08-06 Pedro Alves <palves@redhat.com>
3430 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3432 * gdb.reverse/until-precsave.exp: Bump timeouts.
3434 2015-08-06 Pedro Alves <palves@redhat.com>
3436 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3438 2015-08-06 Pedro Alves <palves@redhat.com>
3441 * gdb.threads/process-dies-while-handling-bp.c: New file.
3442 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3444 2015-08-06 Pedro Alves <palves@redhat.com>
3446 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3447 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3449 2015-08-05 Pedro Alves <palves@redhat.com>
3451 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3452 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3454 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3456 * gdb.base/bp-permanent.exp: Report test as unsupported if
3457 the target cannot stop at the permanent breakpoint.
3459 2015-08-03 Doug Evans <dje@google.com>
3461 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3464 2015-08-03 Doug Evans <dje@google.com>
3466 * Makefile.in (workers/%.worker, build-perf): New rule.
3467 (GDB_PERFTEST_MODE): New variable.
3468 (check-perf): Use it.
3469 (clean): Clean up gdb.perf parallel build subdirs.
3470 * lib/build-piece.exp: New file.
3471 * lib/gdb.exp (make_gdb_parallel_path): New function
3472 (standard_output_file, standard_temp_file): Call it.
3473 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3475 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3477 2015-08-03 Doug Evans <dje@google.com>
3479 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3480 (LOG_FILE_NAME): New global.
3481 (TextReporter.__init__): Initialize self.txt_sum.
3482 (TextReporter.report): Add support for multiple data-points.
3483 Move report to perftest.sum, put raw data in perftest.log.
3484 (TextReporter.start): Open sum and log files.
3485 (TextReporter.end): Close sum and log files.
3486 * gdb.perf/lib/perftest/testresult.py
3487 (SingleStatisticTestResult.record): Handle multiple data-points.
3489 2015-07-31 Pedro Alves <palves@redhat.com>
3491 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3492 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3493 kill_wait_spawned_process instead of explicit "kill -9".
3494 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3495 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3496 kill_wait_spawned_process.
3497 * gdb.base/attach-twice.exp: Likewise.
3498 * gdb.base/attach.exp: Likewise.
3499 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3501 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3502 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3503 kill_wait_spawned_process.
3504 * gdb.base/valgrind-infcall.exp: Likewise.
3505 * gdb.multi/multi-attach.exp: Likewise.
3506 * gdb.python/py-prompt.exp: Likewise.
3507 * gdb.python/py-sync-interp.exp: Likewise.
3508 * gdb.server/ext-attach.exp: Likewise.
3509 * gdb.threads/attach-into-signal.exp (corefunc): Use
3510 spawn_wait_for_attach, spawn_id_get_pid and
3511 kill_wait_spawned_process.
3512 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3513 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3514 spawn_id_get_pid and kill_wait_spawned_process.
3515 * gdb.threads/attach-stopped.exp (corefunc): Use
3516 spawn_wait_for_attach, spawn_id_get_pid and
3517 kill_wait_spawned_process.
3518 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3519 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3520 kill_wait_spawned_process instead of explicit "kill -9".
3521 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3522 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3523 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3524 processes. Don't map cygwin/windows pids here. Now returns a
3527 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3529 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3530 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3533 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3535 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3537 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3540 2014-05-21 Mark Wielaard <mjw@redhat.com>
3542 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3544 2015-07-30 Pedro Alves <palves@redhat.com>
3546 * linux-low.c (handle_extended_wait): Set the child's last
3547 reported status to TARGET_WAITKIND_STOPPED.
3549 2015-07-30 Pedro Alves <palves@redhat.com>
3552 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3553 only shows inferior 1.
3555 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3556 Pedro Alves <palves@redhat.com>
3559 * gdb.threads/fork-plus-threads.c: New file.
3560 * gdb.threads/fork-plus-threads.exp: New file.
3562 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3564 * gdb.base/batch-preserve-term-settings.exp
3565 (test_terminal_settings_preserved_after_cli_exit): Use
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3569 Don Breazeal <donb@codesourcery.com>
3571 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3572 output from both inferior_spawn_id and gdb_spawn_id.
3574 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3576 * gdb.threads/attach-into-signal.exp (corefunc): Use
3577 with_test_prefix on nested loops, uniquefying the test messages.
3579 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3581 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3584 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3586 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3588 (test_terminal_settings_preserved_after_sigterm): New test.
3590 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3592 * gdb.base/batch-preserve-term-settings.exp
3593 (test_terminal_settings_preserved_after_cli_exit): New test.
3595 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3597 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3598 manipulation of saved_gdbflags.
3599 (test_terminal_settings_preserved): Remove global declaration of
3600 the unused variable pagination_prompt. Remove manipulation of
3601 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3604 2015-07-29 Pedro Alves <palves@redhat.com>
3606 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3608 2015-07-29 Pedro Alves <palves@redhat.com>
3610 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3613 2015-07-29 Pedro Alves <palves@redhat.com>
3615 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3616 (main): Call gdb_unbuffer_output.
3617 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3618 (main): Call gdb_unbuffer_output.
3619 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3620 (main): Call gdb_unbuffer_output.
3621 * gdb.base/call-strs.exp: Adjust to step over the
3622 gdb_unbuffer_output call.
3623 * gdb.base/catch-gdb-caused-signals.c: Include
3624 "../lib/unbuffer_output.c".
3625 (main): Call gdb_unbuffer_output.
3626 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3627 (main): Call gdb_unbuffer_output.
3628 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3629 (main): Call gdb_unbuffer_output.
3630 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3631 (main): Call gdb_unbuffer_output.
3632 * gdb.base/shlib-call.exp: Adjust to step over the
3633 gdb_unbuffer_output call.
3634 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3635 (main): Call gdb_unbuffer_output.
3636 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3637 (main): Call gdb_unbuffer_output.
3638 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3639 (main): Rename to ...
3641 (main): Reimplement.
3642 * gdb.base/varargs.exp: Run to test instead of to main.
3643 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3644 (main): Call gdb_unbuffer_output.
3646 2015-07-29 Pedro Alves <palves@redhat.com>
3648 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3649 factore out from mi_continue_dprintf. For call-style dprintfs,
3650 expect dprintf output out of $inferior_spawn_id.
3651 (mi_continue_dprintf): Use mi_expect_dprintf.
3652 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3653 (main): Call gdb_unbuffer_output.
3655 2015-07-29 Pedro Alves <palves@redhat.com>
3657 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3658 (default_mi_gdb_start): Set inferior_spawn_id instead of
3659 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3661 (mi_gdb_test): Always expect inferior output from both
3662 $inferior_spawn_id and $gdb_spawn_id.
3664 2015-07-29 Pedro Alves <palves@redhat.com>
3666 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3667 send_inferior and $inferior_spawn_id.
3669 2015-07-29 Pedro Alves <palves@redhat.com>
3671 * gdb.gdb/complaints.exp (test_initial_complaints)
3672 (test_serial_complaints, test_short_complaints): Use
3674 (test_empty_complaint): Handle $inferior_spawn_id !=
3677 2015-07-29 Pedro Alves <palves@redhat.com>
3679 * gdb.base/varargs.exp: Use gdb_test_stdio.
3681 2015-07-29 Pedro Alves <palves@redhat.com>
3683 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3685 2015-07-29 Pedro Alves <palves@redhat.com>
3687 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3689 2015-07-29 Pedro Alves <palves@redhat.com>
3691 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3692 parameter into two new parameters, "inf_result" and "gdb_result".
3693 Expect inferior output and gdb output from $inferior_spawn_id and
3694 $gdb_spawn_id, respectively. Adjust all callers.
3696 2015-07-29 Pedro Alves <palves@redhat.com>
3698 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3699 of gdb_test_sequence.
3701 2015-07-29 Pedro Alves <palves@redhat.com>
3703 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3704 (saw_spurious_output): Expect inferior output from
3705 $inferior_spawn_id. Use gdb_test_stdio.
3707 2015-07-29 Pedro Alves <palves@redhat.com>
3709 * gdb.base/dprintf.exp: Use standard_testfile. Change
3710 prepare_for_testing call.
3711 (srcfile): Don't set.
3712 (restart): New procedure.
3713 (test_dprintf): New procecure, use to continue over dprintfs.
3714 (test_call, test_agent): New procedures, tests moved here.
3715 Restart gdb and recreate dprintfs. Adjust expected output.
3717 2015-07-29 Pedro Alves <palves@redhat.com>
3719 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3721 2015-07-29 Pedro Alves <palves@redhat.com>
3723 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3725 2015-07-29 Pedro Alves <palves@redhat.com>
3727 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3730 2015-07-29 Pedro Alves <palves@redhat.com>
3732 * lib/gdb.exp (gdb_test_stdio): New procedure.
3734 2015-07-29 Pedro Alves <palves@redhat.com>
3736 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3738 2015-07-29 Pedro Alves <palves@redhat.com>
3740 * gdb.base/call-signal-resume.exp: Remove check for
3741 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3742 * gdb.base/unwindonsignal.exp: Likewise.
3743 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3744 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3746 2015-07-29 Pedro Alves <palves@redhat.com>
3748 * gdb.base/siginfo-addr.c (pass): New function.
3749 (handler): Call it iff si_addr is correct.
3750 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3751 Set a breakpoint at "pass" and continue to it.
3753 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3755 * gdb.python/py-objfile.exp: Make some tests have unique names.
3756 * gdb.python/py-pp-registration.exp: Likewise.
3758 2015-07-28 Pedro Alves <palves@redhat.com>
3760 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3762 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3764 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3766 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3768 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3770 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3772 * gdb.base/gdb-sigterm-2.exp: New test.
3774 2015-07-25 Doug Evans <xdje42@gmail.com>
3777 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3778 (workers/%.worker, build-perf): New rule.
3779 (GDB_PERFTEST_MODE): New variable.
3780 (check-perf): Use it.
3781 (clean): Clean up gdb.perf parallel build subdirs.
3782 * lib/build-piece.exp: New file.
3783 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3784 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3786 (standard_temp_file): Ditto.
3787 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3790 2015-07-24 Doug Evans <dje@google.com>
3792 * gdb.perf/lib/perftest/utils.py: New file.
3793 * gdb.perf/gm-hello.cc: New file.
3794 * gdb.perf/gm-pervasive-typedef.cc: New file.
3795 * gdb.perf/gm-pervasive-typedef.h: New file.
3796 * gdb.perf/gm-std.cc: New file.
3797 * gdb.perf/gm-std.h: New file.
3798 * gdb.perf/gm-use-cerr.cc: New file.
3799 * gdb.perf/gm-utils.h: New file.
3800 * gdb.perf/gmonster-null-lookup.py: New file.
3801 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3802 * gdb.perf/gmonster-print-cerr.py: New file.
3803 * gdb.perf/gmonster-ptype-string.py: New file.
3804 * gdb.perf/gmonster-runto-main.py: New file.
3805 * gdb.perf/gmonster-select-file.py: New file.
3806 * gdb.perf/gmonster1-null-lookup.exp: New file.
3807 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3808 * gdb.perf/gmonster1-print-cerr.exp: New file.
3809 * gdb.perf/gmonster1-ptype-string.exp: New file.
3810 * gdb.perf/gmonster1-runto-main.exp: New file.
3811 * gdb.perf/gmonster1-select-file.exp: New file.
3812 * gdb.perf/gmonster1.cc: New file.
3813 * gdb.perf/gmonster1.exp: New file.
3814 * gdb.perf/gmonster2-null-lookup.exp: New file.
3815 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3816 * gdb.perf/gmonster2-print-cerr.exp: New file.
3817 * gdb.perf/gmonster2-ptype-string.exp: New file.
3818 * gdb.perf/gmonster2-runto-main.exp: New file.
3819 * gdb.perf/gmonster2-select-file.exp: New file.
3820 * gdb.perf/gmonster2.cc: New file.
3821 * gdb.perf/gmonster2.exp: New file.
3823 2015-07-24 Doug Evans <dje@google.com>
3825 * gdb.perf/README: New file.
3826 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3827 * lib/gen-perf-test.exp: New file.
3829 2015-07-24 Doug Evans <dje@google.com>
3831 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3832 (PerfTest::startup): New function.
3833 (PerfTest::run): Return result of calling body.
3834 (PerfTest::assemble): Rewrite.
3835 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3836 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3837 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3838 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3839 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3841 2015-07-24 Doug Evans <dje@google.com>
3843 * lib/gdb.exp (clean_restart): Make executable optional.
3845 2015-07-24 Doug Evans <dje@google.com>
3847 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3848 compiler_info references.
3849 * gdb.cp/temargs.exp: Ditto.
3850 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3851 (get_compiler_info): Early exit if already computed. Set compiler_info
3852 to "unknown" if there was a problem.
3853 (test_compiler_info): Add function comment. Call get_compiler_info.
3855 2015-07-24 Doug Evans <dje@google.com>
3857 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3858 (workers/%.worker, build-perf): New rule.
3859 (GDB_PERFTEST_MODE): New variable.
3860 (check-perf): Use it.
3861 (clean): Clean up gdb.perf parallel build subdirs.
3862 * lib/build-piece.exp: New file.
3863 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3864 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3866 (standard_temp_file): Ditto.
3867 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3870 2015-07-24 Doug Evans <dje@google.com>
3872 * lib/future.exp (gdb_default_target_compile): New option
3874 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3877 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3879 * gdb.base/catch-syscall.exp: Call gdb_exit before
3882 2015-07-24 Pedro Alves <palves@redhat.com>
3884 * gdb.python/py-events.exp: Accept output between the stop event
3886 * gdb.python/py-evsignal.exp: Likewise.
3887 * gdb.python/py-evthreads.exp: Likewise.
3889 2015-07-24 Pedro Alves <palves@redhat.com>
3892 * gdb.threads/non-ldr-exit.c: New file.
3893 * gdb.threads/non-ldr-exit.exp: New file.
3895 2015-07-24 Yao Qi <yao.qi@linaro.org>
3897 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3900 2015-07-24 Yao Qi <yao.qi@linaro.org>
3902 * gdb.server/ext-restart.exp: New file.
3904 2015-07-24 Yao Qi <yao.qi@linaro.org>
3906 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3908 * gdb.server/ext-wrapper.exp: New file.
3910 2015-07-23 Doug Evans <dje@google.com>
3912 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3913 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3915 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3917 * gdb.ada/var_arr_typedef.exp: New testcase.
3918 * gdb.ada/var_arr_typedef/pack.adb: New file.
3919 * gdb.ada/var_arr_typedef/pack.ads: New file.
3920 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3922 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3924 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3926 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3928 * gdb.arch/i386-biarch-core.exp: Replace istarget
3929 by "complete set gnutarget". Remove expectation for the "core-file"
3932 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3934 Revert the previous commit:
3935 Tests for validate symbol file using build-id.
3937 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3939 Tests for validate symbol file using build-id.
3940 * gdb.base/solib-mismatch-lib.c: New file.
3941 * gdb.base/solib-mismatch-libmod.c: New file.
3942 * gdb.base/solib-mismatch.c: New file.
3943 * gdb.base/solib-mismatch.exp: New file.
3945 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3947 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3949 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3950 * gdb.base/siginfo.exp: Likewise.
3951 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3953 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3955 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3957 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3959 * gdb.trace/range-stepping.exp: Check that the target supports
3962 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3966 2015-07-14 Pedro Alves <palves@redhat.com>
3968 * gdb.base/killed-outside.exp: New file.
3969 * gdb.base/killed-outside.c: New file.
3971 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3973 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3975 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3977 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3979 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3980 infcall tests instead of setting up for KFAIL.
3982 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3984 * gdb.btrace/record_goto-step.exp: New.
3986 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3989 * gdb.compile/compile.c (struct struct_type): Add volatile to
3991 * gdb.compile/compile.exp
3992 (compile code struct_object.selffield = &struct_object): Skip further
3993 struct_object tests if this one xfails.
3995 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3998 * gdb.trace/ax.exp: Add test.
4000 2015-07-07 Yao Qi <yao.qi@linaro.org>
4002 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4003 instead of istarget "aarch64*-*-*".
4004 * gdb.arch/aarch64-fp.exp: Likewise.
4005 * gdb.base/float.exp: Likewise.
4006 * gdb.reverse/aarch64.exp: Likewise.
4007 * lib/gdb.exp (is_aarch64_target): New proc.
4009 2015-07-07 Yao Qi <yao.qi@linaro.org>
4011 * lib/gdb.exp (is_aarch32_target): New proc.
4012 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4013 instead of "istarget "arm*-*-*"".
4014 * gdb.arch/arm-disp-step.exp: Likewise.
4015 * gdb.arch/thumb-bx-pc.exp: Likewise.
4016 * gdb.arch/thumb-prologue.exp: Likewise.
4017 * gdb.arch/thumb-singlestep.exp: Likewise.
4018 * gdb.base/disp-step-syscall.exp: Likewise.
4019 * gdb.base/float.exp: Likewise.
4021 2015-07-07 Yao Qi <yao.qi@linaro.org>
4023 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4024 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4026 2015-07-07 Yao Qi <yao.qi@linaro.org>
4028 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4029 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4031 * gdb.multi/multi-arch.exp: Likewise.
4033 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4035 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4038 2015-07-07 Yao Qi <yao.qi@linaro.org>
4040 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4042 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4044 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4045 '[' and ']' characters.
4047 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4049 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4051 2015-06-29 Pedro Alves <palves@redhat.com>
4054 * gdb.threads/hand-call-new-thread.c: New file.
4055 * gdb.threads/hand-call-new-thread.c: New file.
4057 2015-06-26 Keith Seitz <keiths@redhat.com>
4058 Doug Evans <dje@google.com>
4061 * gdb.cp/var-tag-2.cc: New file.
4062 * gdb.cp/var-tag-3.cc: New file.
4063 * gdb.cp/var-tag-4.cc: New file.
4064 * gdb.cp/var-tag.cc: New file.
4065 * gdb.cp/var-tag.exp: New file.
4067 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4069 * gdb.base/history-duplicates.exp: New test.
4071 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4073 * gdb.base/completion.exp: Test the completion of the "focus"
4076 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4078 * gdb.arch/amd64-prologue-skip.S: New file.
4079 * gdb.arch/amd64-prologue-skip.exp: New file.
4081 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4083 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4084 is_address_zero_readable check.
4086 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4088 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4089 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4091 2015-06-24 Yao Qi <yao.qi@linaro.org>
4093 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4096 2015-06-24 Yao Qi <yao.qi@linaro.org>
4098 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4099 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4100 * gdb.base/siginfo-thread.exp: Likewise.
4102 2015-06-22 Yao Qi <yao.qi@linaro.org>
4104 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4106 2015-06-22 Yao Qi <yao.qi@linaro.org>
4108 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4110 (skip_hw_watchpoint_tests): Likewise.
4112 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4114 * gdb.base/gdbinit-history.exp: Test the interaction between
4115 setting GDBHISTSIZE and setting the history size via .gdbinit.
4117 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4120 * gdb.base/gdbhistsize-history.exp: New test.
4122 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4124 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4126 * gdb.base/readline.exp: Likewise.
4128 2015-06-17 Yao Qi <yao.qi@linaro.org>
4130 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4133 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4135 * gdb.base/gdbinit-history.exp: Add test case to check that
4136 an unlimited history file does not get truncated on exit.
4138 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4140 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4141 (VECTOR): New macro. Use it...
4142 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4143 ...for these typedefs.
4144 (int8, char1, int1, double1): New typedefs.
4145 (struct just_int2, struct two_int2): New structures.
4146 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4147 (add_structvecs, add_singlevecs): New functions.
4148 (main): Call add_some_intvecs twice.
4149 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4150 the compile and exit upon failure. Try compiling for the "native"
4151 architecture. Test inferior function calls with vector arguments
4152 and vector return value handling with "finish" and "return".
4154 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4156 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4157 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4159 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4161 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4163 PR breakpoints/16465
4164 * gdb.mi/mi-dprintf-pending.c: New file.
4165 * gdb.mi/mi-dprintf-pending.exp: New test.
4166 * gdb.mi/mi-dprintf-pendshr.c: New file.
4168 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4169 Mircea Gherzan <mircea.gherzan@intel.com>
4171 * gdb.arch/i386-mpx-map.c: New file.
4172 * gdb.arch/i386-mpx-map.exp: New File.
4174 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4176 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4177 * gdb.arch/i386-mpx.exp: Indentation fixed.
4179 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4181 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4182 function and improved indentation.
4183 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4184 gdb_test_multiple. Added additional tests to skip the test.
4186 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4188 * gdb.arch/i386-avx512.c: Change path in include file.
4189 * gdb.arch/i386-avx512.exp: Change include dir path
4191 * gdb.arch/i386-mpx.c: Change path in include file.
4192 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4195 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4197 * gdb.compile/compile-print.exp (compile print *vararray@3)
4198 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4200 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4202 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4203 (do not keep jit in memory): ... this.
4204 (expect 5): Change it to ...
4205 (expect no 5): ... this.
4207 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4210 * gdb.mi/mi-detach.exp: New file.
4212 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4215 * gdb.arch/amd64-tailcall-self.S: New file.
4216 * gdb.arch/amd64-tailcall-self.c: New file.
4217 * gdb.arch/amd64-tailcall-self.exp: New file.
4219 2015-05-28 Don Breazeal <donb@codesourcery.com>
4221 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4222 tests for remote targets by checking is_target_gdbserver.
4224 2015-05-27 Doug Evans <dje@google.com>
4226 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4227 * gdb.dwarf2/opaque-type-lookup.c: New file.
4228 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4230 2015-05-26 Doug Evans <dje@google.com>
4232 * gdb.cp/iostream.cc: New file.
4233 * gdb.cp/iostream.exp: New file.
4235 2015-05-26 Doug Evans <dje@google.com>
4237 * gdb.dwarf2/dw2-op-call.exp: Update.
4238 * gdb.dwarf2/dw4-sig-types.exp: Update.
4239 * gdb.dwarf2/implptr.exp: Update.
4240 * gdb.mi/mi-cmd-param-changed.exp: Update.
4242 2015-05-26 Doug Evans <dje@google.com>
4244 * gdb.python/py-lazy-string.c: New file.
4245 * gdb.python/py-lazy-string.exp: New file.
4246 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4247 (main): Update. Add estring3.
4248 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4249 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4251 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4252 Yao Qi <yao.qi@linaro.org>
4254 * gdb.reverse/aarch64.c: New.
4255 * gdb.reverse/aarch64.exp: New.
4257 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4259 * lib/gdb.exp (supports_process_record): Return true for
4261 (supports_reverse): Likewise.
4263 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4265 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4266 Use with_test_prefix.
4268 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4270 * gdb.base/completion.exp: Add test for completion of layout
4273 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4275 * lib/gdb.exp (skip_tui_tests): New proc.
4276 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4278 2015-05-19 Pedro Alves <palves@redhat.com>
4280 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4281 Save the whole env array instead of just HOME. Unset HISTSIZE in
4282 the environment while testing. Restore whole environment
4285 2015-05-16 Doug Evans <xdje42@gmail.com>
4287 * gdb.guile/scm-ports.c: New file.
4288 * gdb.guile/scm-ports.exp: Add memory port tests.
4290 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4292 * gdb.compile/compile-print.c: New file.
4293 * gdb.compile/compile-print.exp: New file.
4295 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4297 * gdb.compile/compile-ops.exp: Cast param to void.
4298 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4299 (compile code struct_object.selffield = &struct_object): Add xfail.
4301 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4303 * gdb.ada/arr_enum_with_gap: New testcase.
4305 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4307 * gdb.ada/byte_packed_arr: New testcase.
4309 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4311 * gdb.ada/pckd_neg: New testcase.
4313 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4316 * gdb.base/gdbinit-history.exp: New test.
4317 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4318 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4320 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4322 * gdb.python/py-xmethods.cc: Enhance test case.
4323 * gdb.python/py-xmethods.exp: New tests.
4324 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4326 (B_indexoper): Likewise.
4327 (global_dm_list) : Add new xmethod worker functions.
4329 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4331 * gdb.base/coredump-filter.exp: Correctly unset
4332 "coredump_var_addr" array.
4334 2015-05-08 Pedro Alves <palves@redhat.com>
4336 * gdb.server/non-existing-program.exp: Unset spawn_id.
4338 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4341 * gdb.python/py-xmethods.exp: Add tests.
4343 2015-05-08 Yao Qi <yao.qi@linaro.org>
4346 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4347 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4348 function set_coredump_filter, and remove remote_exec call.
4349 Remove argument ipid. Callers update.
4350 (top level): Don't get inferior's PID.
4352 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * gdb.base/watch_thread_num.exp: Skip test on targets without
4357 2015-05-06 Pedro Alves <palves@redhat.com>
4360 * gdb.server/non-existing-program.exp: New file.
4362 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4364 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4366 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4368 * gdb.ada/out_of_line_in_inlined: New testcase.
4370 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4372 * gdb.ada/var_rec_arr: New testcase.
4374 2015-04-30 Yao Qi <yao.qi@linaro.org>
4376 * gdb.base/break-idempotent.exp: If
4377 skip_hw_watchpoint_multi_tests returns true, skip the tests
4378 on "rwatch" and "awatch".
4380 2015-04-30 Yao Qi <yao.qi@linaro.org>
4382 * gdb.base/relativedebug.exp: Invoke gdb command
4383 "info sharedlibrary", and if libc.so doesn't have debug info,
4386 2015-04-29 Doug Evans <dje@google.com>
4388 * gdb.python/py-xmethods.exp: Add ptype tests.
4389 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4390 get_result_type method.
4392 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4394 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4395 the target does not support hardware watchpoints.
4397 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4399 * gdb.base/break-always.exp: Abort testing if writing to memory
4402 2015-04-28 Doug Evans <dje@google.com>
4404 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4405 * gdb.python/py-pp-registration.exp: ... here. New file.
4406 * gdb.python/py-pp-registration.c: New file.
4407 * gdb.python/py-pp-registration.py: New file.
4409 2015-04-28 Doug Evans <dje@google.com>
4411 * gdb.python/py-bad-printers.c: New file.
4412 * gdb.python/py-bad-printers.py: New file.
4413 * gdb.python/py-bad-printers.exp: New file.
4415 2015-04-28 Sasha Smundak <asmundak@google.com>
4417 * gdb.python/py-type.exp: New test.
4419 2015-04-28 Andy Wingo <wingo@igalia.com>
4421 * gdb.python/py-parameter.exp:
4422 * gdb.guile/scm-parameter.exp: Escape the path that we are
4423 matching against, as it might contain characters that are special
4424 to regular expressions.
4426 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4428 * gdb.ada/rec_comp: New testcase.
4430 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4432 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4435 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4437 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4438 new tests for verilog output.
4440 2015-04-24 Yao Qi <yao.qi@linaro.org>
4442 * boards/remote-gdbserver-on-localhost.exp: New file.
4444 2015-04-23 Pedro Alves <palves@redhat.com>
4446 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4447 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4448 "end of file", remove $inferior_spawn_id from the indirect list.
4450 2015-04-23 Pedro Alves <palves@redhat.com>
4452 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4454 2015-04-23 Pedro Alves <palves@redhat.com>
4456 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4457 on $any_spawn_id instead of only on $gdb_spawn_id.
4459 2015-04-21 Pierre Muller <muller@sourceware.org>
4462 * lib/pascal.exp (gpc_compile): Add new option "class".
4463 (fpc_compile): Likewise.
4464 * gdb.pascal/case-insensitive-symbols.pas: New file.
4465 * gdb.pascal/case-insensitive-symbols.exp: New file.
4467 2015-04-20 Gary Benson <gbenson@redhat.com>
4469 * gdb.base/attach.exp: Fix three extended remote failures.
4471 2015-04-17 Gary Benson <gbenson@redhat.com>
4473 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4474 the main executable over the remote protocol.
4476 2015-04-16 Pedro Alves <palves@redhat.com>
4478 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4479 a new gdbserver if gdbserver_reconnect_p is set.
4481 2015-04-16 Pedro Alves <palves@redhat.com>
4483 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4484 is set, don't exit gdbserver.
4486 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4488 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4489 appropriate .insn, such that an older assembler can be used.
4490 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4491 the z/Architecture instruction set on 31-bit targets as well.
4493 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4495 * gdb.go/handcall.exp: Remove all logic related to the first
4496 breakpoint and rely on go_runto_main instead.
4497 * gdb.go/strings.exp: Likewise.
4498 * gdb.go/unsafe.exp: Likewise.
4499 * gdb.go/hello.exp: Likewise. Also rename the remaining
4500 breakpoint marker to "breakpoint 1".
4501 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4502 * gdb.go/strings.go: Likewise.
4503 * gdb.go/unsafe.go: Likewise.
4504 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4505 "set breakpoint 2 here" and rename the remaining breakpoint marker
4508 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4510 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4511 if itertools.imap is not present.
4512 * gdb.python/py-objfile.exp: Add parentheses.
4513 * gdb.python/py-type.exp: Same.
4514 * gdb.python/py-unwind-maint.py: Same.
4516 2015-04-15 Yao Qi <yao.qi@linaro.org>
4518 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4519 of ":$ptr_size" and set its form explicitly.
4521 2015-04-15 Pedro Alves <palves@redhat.com>
4522 Yao Qi <yao.qi@linaro.org>
4524 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4525 timeout by factor of 4.
4526 (test_regular_watch): Likewise.
4527 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4528 * gdb.reverse/sigall-reverse.exp: Likewise.
4529 * gdb.reverse/until-precsave.exp: Likewise.
4530 * lib/gdb.exp (with_timeout_factor): New proc.
4531 (gdb_expect): Move some code to ...
4532 (get_largest_timeout): ... here. New procedure.
4534 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4536 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4538 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4540 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4541 to write to the .text section.
4543 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4545 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4546 Handle the case of targets that do not provide PID information.
4548 2015-04-13 Yao Qi <yao.qi@linaro.org>
4550 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4551 and use expect instead of gdb_expect.
4553 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4555 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4556 "coredump_var_addr" to avoid naming conflict with other testcases.
4558 2015-04-10 Pedro Alves <palves@redhat.com>
4560 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4561 gdb_test_sequence and gdb_assert.
4563 2015-04-10 Pedro Alves <palves@redhat.com>
4565 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4566 test messages that don't include the breakpoint address.
4568 2015-04-10 Yao Qi <yao.qi@linaro.org>
4570 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4571 false for some offset and width combinations which aren't
4572 supported by linux kernel.
4574 2015-04-10 Pedro Alves <palves@redhat.com>
4576 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4577 procedure, factored out from ...
4578 (top level): ... here. Add "set displaced-stepping" testing axis.
4579 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4580 parameter "displaced". Use it.
4581 (top level): Use foreach and add "set displaced-stepping" testing
4584 2015-04-10 Pedro Alves <palves@redhat.com>
4586 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4588 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4589 both the address of the instruction that triggers the watchpoint
4590 and the address of the instruction immediately after, and use
4591 those addresses for the test. Fix comment.
4593 2015-04-10 Pedro Alves <palves@redhat.com>
4595 * gdb.base/sigstep.exp (breakpoint_to_handler)
4596 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4597 Test "backtrace" in handler.
4598 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4599 (top level): Add new "displaced" test axis to
4600 breakpoint_to_handler, breakpoint_to_handler_entry and
4601 breakpoint_over_handler.
4603 2015-04-10 Pedro Alves <palves@redhat.com>
4606 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4608 2015-04-10 Yao Qi <yao.qi@linaro.org>
4610 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4611 (test_add_rn_pc): New function.
4612 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4613 (top level): Invoke test_add_rn_pc.
4615 2015-04-10 Pedro Alves <palves@redhat.com>
4618 * gdb.base/step-over-no-symbols.exp: New file.
4620 2015-04-09 Andy Wingo <wingo@igalia.com>
4622 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4623 after the Python tests.
4625 2015-04-08 Keith Seitz <keiths@redhat.com>
4628 * gdb.python/py-completion.exp: New tests for completion.
4629 * gdb.python/py-completion.py (CompleteLimit1): New class.
4630 (CompleteLimit2): Likewise.
4631 (CompleteLimit3): Likewise.
4632 (CompleteLimit4): Likewise.
4633 (CompleteLimit5): Likewise.
4634 (CompleteLimit6): Likewise.
4635 (CompleteLimit7): Likewise.
4637 2015-04-08 Pedro Alves <palves@redhat.com>
4641 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4643 (main): Install it as SIGUSR1 handler.
4644 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4645 parameter. Always use "setup" as prefix. Toggle "set
4646 displaced-stepping" off/on depending on global. Don't switch to
4648 (top level): Add displaced stepping "off/on" test axis. Update
4649 "setup" calls. Wrap each subtest with with_test_prefix. Test
4650 continuing with a queued signal in each thread.
4652 2015-04-08 Pedro Alves <palves@redhat.com>
4654 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4655 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4656 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4657 Return early if running to main fails.
4658 * gdb.trace/while-stepping.exp: Likewise.
4660 2015-04-07 Pedro Alves <palves@redhat.com>
4662 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4663 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4664 interact with inferior program.
4666 2015-04-07 Pedro Alves <palves@redhat.com>
4668 * lib/gdb.exp (inferior_spawn_id): New global.
4669 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4670 spawn id after processing the user code.
4671 (default_gdb_start): Set inferior_spawn_id.
4672 (send_inferior): New procedure.
4673 * lib/gdbserver-support.exp (gdbserver_start): Set
4675 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4677 2015-04-07 Pedro Alves <palves@redhat.com>
4679 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4680 * lib/gdbserver-support.exp (gdbserver_start): Make
4681 $server_spawn_id global.
4682 (gdbserver_start): Don't wait for gdbserver's spawn id with
4684 (close_gdbserver): New procedure.
4685 (gdb_exit): Rename the default version and reimplement.
4687 2015-04-07 Pedro Alves <palves@redhat.com>
4689 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4690 append the substituted item, not the original item.
4692 2015-04-07 Pedro Alves <palves@redhat.com>
4694 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4697 2015-04-07 Pedro Alves <palves@redhat.com>
4699 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4700 output appearing once only.
4702 2015-04-07 Pedro Alves <palves@redhat.com>
4704 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4705 that doesn't expect anything. Return early if running to main
4708 2015-04-07 Yao Qi <yao.qi@linaro.org>
4710 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4711 (child_function): Call alarm.
4712 (main): Move call to alarm into the loop.
4713 * gdb.threads/non-stop-fair-events.exp: Build program with
4716 2015-04-06 Doug Evans <xdje42@gmail.com>
4718 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4719 Fix dest parameter to board_info.
4720 (fpc_compile): Ditto.
4721 (gdb_compile_pascal): Rename dest arg to destfile.
4723 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4725 * gdb.ada/funcall_ref.exp: New file.
4726 * gdb.ada/funcall_ref/foo.adb: New file.
4728 2015-04-02 Yao Qi <yao.qi@linaro.org>
4730 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4733 2015-04-02 Gary Benson <gbenson@redhat.com>
4735 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4737 2015-04-01 Sasha Smundak <asmundak@google.com>
4739 * gdb.python/py-unwind-maint.c: New file.
4740 * gdb.python/py-unwind-maint.exp: New test.
4741 * gdb.python/py-unwind-maint.py: New file.
4742 * gdb.python/py-unwind.c: New file.
4743 * gdb.python/py-unwind.exp: New test.
4744 * gdb.python/py-unwind.py: New test.
4746 2015-04-01 Pedro Alves <palves@redhat.com>
4748 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4749 to fail instead of non-existent $test.
4751 2015-04-01 Pedro Alves <palves@redhat.com>
4753 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4754 GDBFLAGS if not empty.
4756 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4758 * gdb.ada/complete.exp: Remove "multi_line".
4759 * gdb.ada/info_exc.exp: Remove "multi_line".
4760 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4761 * gdb.ada/ptype_field.exp: Remove "multi_line".
4762 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4763 * gdb.ada/tagged.exp: Remove "multi_line".
4764 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4766 * gdb.btrace/delta.exp: Likewise.
4767 * gdb.btrace/exception.exp: Likewise.
4768 * gdb.btrace/function_call_history.exp: Likewise.
4769 * gdb.btrace/instruction_history.exp: Likewise.
4770 * gdb.btrace/nohist.exp: Likewise.
4771 * gdb.btrace/record_goto.exp: Likewise.
4772 * gdb.btrace/segv.exp: Likewise.
4773 * gdb.btrace/stepi.exp: Likewise.
4774 * gdb.btrace/tailcall.exp: Likewise.
4775 * gdb.btrace/unknown_functions.exp: Likewise.
4776 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4777 * lib/gdb.exp: Add the "multi_line" helper.
4779 2015-04-01 Pedro Alves <palves@redhat.com>
4781 * gdb.threads/tid-reuse.c: New file.
4782 * gdb.threads/tid-reuse.exp: New file.
4784 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4787 * gdb.base/coredump-filter.c: New file.
4788 * gdb.base/coredump-filter.exp: Likewise.
4790 2015-03-27 Petr Machata <pmachata@redhat.com>
4792 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4793 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4794 (Dwarf::assemble): Initialize them.
4795 (Dwarf::lines): New function.
4797 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4799 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4800 SYMBOL_PREFIX for x86_64-*-cygwin.
4802 2015-03-26 Andy Wingo <wingo@igalia.com>
4805 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4806 const_value but not a location.
4807 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4808 location defined in non-main CUs are visible.
4810 2015-03-26 Yao Qi <yao.qi@linaro.org>
4813 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4814 Add a line number entry for the same line.
4815 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4816 Add a line number entry for the same line.
4818 2015-03-26 Yao Qi <yao.qi@linaro.org>
4820 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4822 (func): Likewise. Add .Lfunc_1 label.
4824 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4829 2015-03-26 Yao Qi <yao.qi@linaro.org>
4831 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4832 Call gdb_compile instead to compile each .s files without debug
4835 2015-03-26 Yao Qi <yao.qi@linaro.org>
4837 * gdb.base/savedregs.exp (process_saved_regs): Make
4838 "Saved registers:" optional in the pattern.
4840 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4842 * gdb.btrace/next.exp: Merged into step.exp.
4843 * gdb.btrace/finish.exp: Merged into step.exp.
4844 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4845 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4846 "record goto" and checking the exact replay position.
4847 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4848 check for "Recording format" in "info record" output.
4849 * gdb.btrace/record_goto.exp: Choose test file based on target.
4850 * gdb.btrace/x86-record_goto.S: Renamed into ...
4851 * gdb.btrace/x86_64-record_goto.S: ... this.
4852 * gdb.btrace/i686-record_goto.S: New.
4853 * gdb.btrace/x86-tailcall.S: Renamed into ...
4854 * gdb.btrace/x86_64-tailcall.S: ... this.
4855 * gdb.btrace/i686-tailcall.S: New.
4856 * gdb.btrace/x86-tailcall.c: Renamed into ...
4857 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4858 separate statements. Update test.
4859 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4860 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4861 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4862 * gdb.btrace/tailcall.exp: Choose test file based on target.
4863 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4865 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4867 * gdb.btrace/exception.exp: Increase BTS buffer size.
4869 2015-03-24 Pedro Alves <palves@redhat.com>
4871 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4873 2015-03-24 Pedro Alves <palves@redhat.com>
4875 * gdb.threads/schedlock.exp (test_step): No longer expect that
4876 "set scheduler-locking step" with "next" over a function call runs
4879 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4881 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4883 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4885 PR breakpoints/16466
4886 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4887 * gdb.mi/mi-pending.c (thread_func): New function.
4888 (int main): Add threading support required.
4889 * gdb.mi/mi-pending.exp: Add tests for this issue.
4890 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4891 (pendfunc2): Remove stdio dependency.
4892 * gdb.mi/mi-pendshr2.c: New file.
4894 2015-03-23 Keith Seitz <keiths@redhat.com>
4896 * gdb.linespec/keywords.c: New file.
4897 * gdb.linespec/keywords.exp: New file.
4899 2015-03-23 Keith Seitz <keiths@redhat.com>
4902 * gdb.dwarf2/staticvirtual.exp: New test.
4904 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4906 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4907 * README: Remove HP-UX and gdb.hp.
4909 * configure: Regenerate.
4910 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4911 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4912 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4913 gdb.hp/gdb.defects/Makefile.
4914 * gdb.hp/Makefile.in: File deleted.
4915 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4916 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4917 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4918 * gdb.hp/gdb.aCC/run.c: File deleted.
4919 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4920 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4921 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4922 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4923 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4924 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4925 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4926 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4927 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4928 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4929 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4930 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4931 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4932 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4933 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4934 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4935 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4936 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4937 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4938 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4939 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4940 * gdb.hp/gdb.compat/average.c: File deleted.
4941 * gdb.hp/gdb.compat/sum.c: File deleted.
4942 * gdb.hp/gdb.compat/xdb.c: File deleted.
4943 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4944 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4945 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4946 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4947 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4948 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4949 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4950 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4951 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4952 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4953 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4954 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4955 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4956 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4957 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4958 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4959 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4960 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4961 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4962 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4963 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4964 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4965 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4966 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4967 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4968 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4969 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4970 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4971 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4972 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4973 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4974 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4975 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4976 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4977 * gdb.hp/tools/odump: File deleted.
4979 2015-03-19 Pedro Alves <palves@redhat.com>
4981 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4982 (saw_thread_3): New globals.
4983 (top level): Increment them when an event for the corresponding
4985 (no thread starvation): New test.
4987 2015-03-19 Pedro Alves <palves@redhat.com>
4989 * gdb.threads/continue-pending-status.c: New file.
4990 * gdb.threads/continue-pending-status.exp: New file.
4992 2015-03-18 Pedro Alves <palves@redhat.com>
4994 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4995 Use gdb_is_target_remote instead of is_remote. Use
4996 gdb_test_multiple instead of gdb_expect. Exit early if
4997 gdb_test_multiple hits its internal matches. Tighten stepi tests
4998 expected output. Fail on exit with any signal, instead of just
5001 2015-03-18 Yao Qi <yao.qi@linaro.org>
5004 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5006 * gdb.base/catch-syscall.exp: Don't skip it on
5007 aarch64*-*-linux* target. Remove elements in all_syscalls.
5008 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5010 (setup_all_syscalls): New proc.
5012 2015-03-16 Yao Qi <yao.qi@linaro.org>
5014 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5015 (top level): Skip tests if valid_addr_p returns false for
5018 2015-03-11 Andy Wingo <wingo@igalia.com>
5020 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5022 2015-03-11 Yao Qi <yao.qi@linaro.org>
5024 * gdb.base/catch-syscall.exp: Fix typo in comments.
5026 2015-03-11 Yao Qi <yao.qi@linaro.org>
5028 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5030 2015-03-09 Pedro Alves <palves@redhat.com>
5032 * dg-extract-results.py: Delete.
5034 2015-03-09 Pedro Alves <palves@redhat.com>
5036 Merge dg-extract-results.sh from GCC upstream (r218843).
5038 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5039 * dg-extract-results.sh: Use --text with grep to avoid issues with
5040 binary files. Fall back to cat -v, if that doesn't work.
5042 2015-03-05 Pedro Alves <palves@redhat.com>
5044 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5046 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5048 * lib/mi-support.exp (mi_expect_interrupt): Accept
5049 alternative event for when in all-stop mode.
5051 2015-03-04 Pedro Alves <palves@redhat.com>
5053 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5055 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5057 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5059 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5061 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5062 regexps for GDB's current line display, accept a hex address
5063 preceding the line number.
5065 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5067 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5068 the 'arch1' variable for "s390*-linux*" targets.
5070 2015-03-04 Pedro Alves <palves@redhat.com>
5072 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5073 (main): Pass missing retval argument to pthread_join call.
5075 2015-03-02 Pedro Alves <palves@redhat.com>
5077 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5078 (top level): Call do_test with non-stop as well.
5080 2015-03-02 Pedro Alves <palves@redhat.com>
5082 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5085 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5087 * gdb.arch/s390-vregs.exp: New test.
5088 * gdb.arch/s390-vregs.S: New file.
5090 2015-02-27 Pedro Alves <palves@redhat.com>
5092 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5093 call to catch_command_errors.
5094 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5095 catch_command_errors.
5097 2015-02-27 Pedro Alves <palves@redhat.com>
5099 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5100 "true" for boolean result.
5101 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5104 2015-02-27 Pedro Alves <palves@redhat.com>
5106 * lib/unbuffer_output.c: New file.
5107 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5108 (main): Call gdb_unbuffer_output.
5110 2015-02-27 Yao Qi <yao.qi@linaro.org>
5112 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5115 2015-02-26 Doug Evans <dje@google.com>
5117 * gdb.cp/class2.cc (Dbase, D): New classes.
5118 (main): New local delta.
5119 * gdb.cp/class2.exp: Test printing delta.
5120 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5121 (dynbar): New global.
5122 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5124 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5126 * gdb.compile/compile-ifunc.c: New file.
5127 * gdb.compile/compile-ifunc.exp: New file.
5129 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5131 * gdb.base/structs.exp: Check for correct struct on finish.
5133 2015-02-26 Yao Qi <yao.qi@linaro.org>
5135 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5138 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5140 * gdb.arch/cordic.ko.bz2: New file.
5141 * gdb.arch/cordic.ko.debug.bz2: New file.
5142 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5144 2015-02-25 Yao Qi <yao.qi@linaro.org>
5146 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5147 aarch64*-*-* target.
5149 2015-02-23 Pedro Alves <palves@redhat.com>
5151 * lib/gdb.exp (delete_breakpoints): Rewrite using
5154 2015-02-23 Pedro Alves <palves@redhat.com>
5156 * gdb.base/info-os.c: Include stdlib.h.
5158 2015-02-22 Doug Evans <xdje42@gmail.com>
5161 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5162 is read after symbols have been re-read.
5163 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5164 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5166 2015-02-21 Doug Evans <dje@google.com>
5168 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5170 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5173 * gdb.arch/i386-biarch-core.core.bz2: New file.
5174 * gdb.arch/i386-biarch-core.exp: New file.
5176 2015-02-21 Pedro Alves <palves@redhat.com>
5178 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5181 2015-02-20 Pedro Alves <palves@redhat.com>
5183 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5186 2015-02-20 Pedro Alves <palves@redhat.com>
5188 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5190 2015-02-20 Pedro Alves <palves@redhat.com>
5192 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5193 clean_restart before gdb_target_supports_trace.
5195 2015-02-20 Pedro Alves <palves@redhat.com>
5198 * gdb.threads/clone-thread_db.c: New file.
5199 * gdb.threads/clone-thread_db.exp: New file.
5201 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5203 PR breakpoints/16812
5204 * gdb.base/catch-gdb-caused-signals.c: New file.
5205 * gdb.base/catch-gdb-caused-signals.exp: New file.
5207 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5209 * configure: Regenerated.
5210 * configure.ac: Use GDB_AC_TRANSFORM.
5211 * aclocal.m4: sinclude ../transform.m4.
5213 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5215 * lib/dtrace.exp: New file.
5216 * gdb.base/dtrace-probe.exp: Likewise.
5217 * gdb.base/dtrace-probe.d: Likewise.
5218 * gdb.base/dtrace-probe.c: Likewise.
5219 * lib/pdtrace.in: Likewise.
5220 * configure.ac: Output variables with the transformed names of
5221 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5222 * configure: Regenerated.
5224 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5226 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5227 expected message when trying to access $_probe_* convenience
5228 variables while not on a probe.
5230 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5232 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5234 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5236 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5237 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5239 2015-02-10 Doug Evans <xdje42@gmail.com>
5241 * lib/gdb.exp (gdb_load): Always return a result.
5243 2015-02-10 Pedro Alves <palves@redhat.com>
5245 * gdb.threads/signal-sigtrap.c: New file.
5246 * gdb.threads/signal-sigtrap.exp: New file.
5248 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5250 * gdb.trace/no-attach-trace.c: New file.
5251 * gdb.trace/no-attach-trace.exp: New file.
5253 2015-02-09 Mark Wielaard <mjw@redhat.com>
5255 * gdb.dwarf2/atomic.c: New file.
5256 * gdb.dwarf2/atomic-type.exp: Likewise.
5258 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5260 * gdb.btrace/buffer-size.exp: Update "info record" output.
5261 * gdb.btrace/delta.exp: Update "info record" output.
5262 * gdb.btrace/enable.exp: Update "info record" output.
5263 * gdb.btrace/finish.exp: Update "info record" output.
5264 * gdb.btrace/instruction_history.exp: Update "info record" output.
5265 * gdb.btrace/next.exp: Update "info record" output.
5266 * gdb.btrace/nexti.exp: Update "info record" output.
5267 * gdb.btrace/step.exp: Update "info record" output.
5268 * gdb.btrace/stepi.exp: Update "info record" output.
5269 * gdb.btrace/nohist.exp: Update "info record" output.
5271 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5273 * gdb.btrace/buffer-size: New.
5275 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5277 * gdb.btrace/delta.exp: Update "info record" output.
5278 * gdb.btrace/enable.exp: Update "info record" output.
5279 * gdb.btrace/finish.exp: Update "info record" output.
5280 * gdb.btrace/instruction_history.exp: Update "info record" output.
5281 * gdb.btrace/next.exp: Update "info record" output.
5282 * gdb.btrace/nexti.exp: Update "info record" output.
5283 * gdb.btrace/step.exp: Update "info record" output.
5284 * gdb.btrace/stepi.exp: Update "info record" output.
5285 * gdb.btrace/nohist.exp: Update "info record" output.
5287 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5290 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5292 2015-02-06 Pedro Alves <palves@redhat.com>
5294 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5296 (seconds_left, again): New globals.
5297 (main): Wait seconds_left in a 1-second sleep loop instead of
5298 sleeping 180 seconds. If 'again' is set, reset the seconds
5300 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5301 'again' in the inferior before detaching. Print the seconds left.
5302 (options): New global.
5303 (top level): Build program with -DTIMEOUT=$timeout.
5305 2015-02-06 Pedro Alves <palves@redhat.com>
5307 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5308 determine how many seconds to pass to 'alarm'.
5309 * gdb.base/gdb-sigterm.exp (top level): Build program with
5311 (do_test): Return success/failure indication. Add more verbose
5312 logging. Don't fail if 200 single steps are seen. Instead, fail
5313 when the test times out.
5314 (passes): New global.
5315 (top level): Break the testing loop if testing fails on any
5316 iteration. Use gdb_assert.
5318 2015-02-04 Don Breazeal <donb@codesourcery.com>
5320 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5321 and initialize them.
5322 (ipc_cleanup): New function.
5323 (main): Don't declare shmid, semid, and msqid. Add a call to
5324 atexit so that we call ipc_cleanup on exit.
5326 2015-02-04 Pedro Alves <palves@redhat.com>
5328 * boards/native-extended-gdbserver.exp: Remove any target variant
5329 specifications from the board name before clearing the isremote
5330 flag from board_info.
5332 2015-01-31 Doug Evans <xdje42@gmail.com>
5334 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5336 2015-01-31 Gary Benson <gbenson@redhat.com>
5338 * gdb.base/completion.exp: Disable completion limiting for
5339 existing tests. Add new tests to check completion limiting.
5340 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5342 2015-01-31 Doug Evans <xdje42@gmail.com>
5344 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5346 2015-01-31 Doug Evans <xdje42@gmail.com>
5348 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5349 entries. Duplicate file section script entries.
5350 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5351 inlined entries. Add test for safe-path rejection.
5352 * gdb.python/py-section-script.c: Add duplicate inlined section script
5353 entries. Duplicate file section script entries.
5354 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5355 inlined entries. Add test for safe-path rejection.
5357 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5359 * gdb.ada/disc_arr_bound: New testcase.
5361 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5363 * gdb.ada/mi_var_array: New testcase.
5365 2015-01-27 Doug Evans <dje@google.com>
5367 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5368 Add test for objfile.filename, objfile.username after objfile
5371 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5373 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5374 the second test to print the name attribute of value
5375 returned by the call to gdb.lookup_type, and adjust
5376 the expected output accordingly.
5378 2015-01-25 Mark Wielaard <mjw@redhat.com>
5380 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5381 * gdb.base/disp-step-fork.c: Include unistd.h.
5382 * gdb.base/siginfo-obj.c: Include stdio.h.
5383 * gdb.base/siginfo-thread.c: Likewise.
5384 * gdb.mi/non-stop.c: Include unistd.h.
5385 * gdb.mi/nsthrexec.c: Include stdio.h.
5386 * gdb.mi/pthreads.c: Include unistd.h.
5387 * gdb.modula2/unbounded1.c (main): Declare returns int.
5388 * gdb.reverse/consecutive-reverse.c: Likewise.
5389 * gdb.threads/create-fail.c: Include unistd.h.
5390 * gdb.threads/killed.c: Likewise.
5391 * gdb.threads/linux-dp.c: Likewise.
5392 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5393 * gdb.threads/non-ldr-exc-2.c: Likewise.
5394 * gdb.threads/non-ldr-exc-3.c: Likewise.
5395 * gdb.threads/non-ldr-exc-4.c: Likewise.
5396 * gdb.threads/pthreads.c: Include unistd.h.
5397 (main): Declare returns int.
5398 * gdb.threads/tls-main.c (foo): New declaration.
5399 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5401 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5403 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5404 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5406 2015-01-15 Mark Wielaard <mjw@redhat.com>
5408 * gdb.base/noreturn-return.c: New file.
5409 * gdb.base/noreturn-return.exp: New file.
5410 * gdb.base/noreturn-finish.c: New file.
5411 * gdb.base/noreturn-finish.exp: New file.
5413 2015-01-23 Pedro Alves <palves@redhat.com>
5415 * gdb.threads/continue-pending-after-query.c: New file.
5416 * gdb.threads/continue-pending-after-query.exp: New file.
5418 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5419 Simon Marchi <simon.marchi@ericsson.com>
5421 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5422 * gdb.base/valgrind-db-attach.exp: Same.
5423 * gdb.base/valgrind-infcall.exp: Same.
5424 * lib/mi-support.exp (default_mi_gdb_start): Same.
5425 * lib/prompt.exp (default_prompt_gdb_start): Same.
5426 * lib/gdb.exp (default_gdb_spawn): Same.
5427 (gdb_interact): New.
5430 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5432 * gdb.compile/compile.exp (pointer to jit function): New test.
5434 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5436 * lib/gdb.exp (supports_process_record): Return true for
5438 (supports_reverse): Likewise.
5440 2015-01-15 Don Breazeal <donb@codesourcery.com>
5442 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5443 instead of checking whether the target board is remote and
5444 use spawn_wait_for_attach instead of exec/sleep.
5445 * gdb.base/attach-twice.exp: Likewise.
5447 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5449 * gdb.ada/var_arr_attrs: New testcase.
5451 2015-01-14 Pedro Alves <palves@redhat.com>
5452 Joel Brobecker <brobecker@adacore.com>
5455 * gdb.base/bp-cmds-execution-x-script.c: New file.
5456 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5457 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5459 2015-01-14 Pedro Alves <palves@redhat.com>
5462 * gdb.base/batch-preserve-term-settings.c: New file.
5463 * gdb.base/batch-preserve-term-settings.exp: New file.
5465 2015-01-13 Doug Evans <dje@google.com>
5467 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5470 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5472 * Makefile.in (clean mostlyclean): Do not delete *.py.
5474 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5476 * gdb.python/py-lookup-type.exp: New file.
5478 2015-01-12 Pedro Alves <palves@redhat.com>
5480 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5481 restore GDBFLAGS before returning.
5483 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5485 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5486 is_amd64_regs_target and is_x86_like_target.
5488 2015-01-11 Doug Evans <xdje42@gmail.com>
5490 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5491 is given without an explicit form.
5492 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5494 * gdb.dwarf/corrupt.exp: Ditto.
5495 * gdb.dwarf2/enum-type.exp: Ditto.
5496 * gdb.trace/entry-values.exp: Ditto.
5497 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5499 2015-01-11 Doug Evans <xdje42@gmail.com>
5502 * gdb.base/maint.exp: Remove references to "maint demangle".
5503 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5504 Add tests for explicitly specifying language to demangle.
5505 * gdb.dlang/demangle.exp: Ditto.
5507 2015-01-09 Pedro Alves <palves@redhat.com>
5509 * gdb.threads/non-stop-fair-events.c: New file.
5510 * gdb.threads/non-stop-fair-events.exp: New file.
5512 2015-01-09 Pedro Alves <palves@redhat.com>
5514 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5515 the global scope. Set a breakpoint after all threads are started
5516 rather than stepping over two source lines. Expect the prompt.
5517 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5520 (main): Use threads_started_barrier to wait for all threads to
5521 start. Main thread no longer calls thread_function. Exit after
5523 (loop): New function.
5524 (thread_function): Wait on threads_started_barrier barrier. Call
5525 'loop' at each iteration.
5526 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5527 threads have started, instead of hardcoding number of "next"
5528 steps. Use an access watchpoint instead of a write watchpoint.
5530 2015-01-09 Pedro Alves <palves@redhat.com>
5532 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5533 (thread_func): Wait on barrier.
5534 (main): Wait for all threads to start before stopping GDB.
5535 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5537 (thread1_func, thread2_func): Wait on barrier.
5538 (main): Wait for all threads to start before stopping GDB.
5539 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5541 (thread1_func, thread2_func): Wait on barrier.
5542 (main): Wait for all threads to start before stopping GDB.
5544 2015-01-09 Pedro Alves <palves@redhat.com>
5546 * gdb.threads/attach-many-short-lived-threads.c: New file.
5547 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5549 2014-01-09 Pedro Alves <palves@redhat.com>
5551 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5552 instead of to thread 2.
5553 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5554 Add barrier around each pthread_create call instead of around all
5556 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5557 Set a break on thread_function and have the child threads hit it
5560 2015-01-09 Pedro Alves <palves@redhat.com>
5562 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5563 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5565 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5566 checking whether the target board is remote.
5567 * gdb.multi/multi-attach.exp: Likewise.
5568 * gdb.python/py-sync-interp.exp: Likewise.
5569 * gdb.server/ext-attach.exp: Likewise.
5570 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5571 tests that need to attach, instead of checking whether the target
5572 board is remote at the top of the file.
5574 2015-01-08 Yao Qi <yao@codesourcery.com>
5576 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5578 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5580 Fix testcase compilation.
5581 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5583 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5585 * gdb.python/py-type.exp: Add a couple test about empty
5586 array creation, and negative-length array creation.
5588 2015-01-02 Doug Evans <xdje42@gmail.com>
5590 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5592 2015-01-02 Doug Evans <dje@google.com>
5594 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5596 2014-12-29 Yao Qi <yao@codesourcery.com>
5598 * gdb.trace/entry-values.exp: Update comments. Rename variable
5599 bar_call_foo to returned_from_foo.
5601 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5604 * gdb.linespec/break-asm-file.c: New file.
5605 * gdb.linespec/break-asm-file.exp: New file.
5606 * gdb.linespec/break-asm-file0.s: New file.
5607 * gdb.linespec/break-asm-file1.s: New file.
5609 2014-12-18 Nigel Stephens <nigel@mips.com>
5610 Maciej W. Rozycki <macro@codesourcery.com>
5612 * gdb.base/float.exp: Handle the new output from "info float" on
5615 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 Fix MinGW compilation.
5618 * gdb.compile/compile-ops.exp: Update untested message if
5619 !skip_compile_feature_tests.
5620 * gdb.compile/compile-setjmp.exp: Likewise.
5621 * gdb.compile/compile-tls.exp: Likewise.
5622 * gdb.compile/compile.exp: Likewise.
5623 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5624 supported on this host".
5626 2014-12-16 Doug Evans <xdje42@gmail.com>
5628 * boards/stabs.exp: New file.
5630 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5632 * gdb.base/completion.exp: Adjust to format changes of "maint
5633 print user-registers".
5635 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5638 * gdb.arch/aarch64-fp.c: New file.
5639 * gdb.arch/aarch64-fp.exp: New file.
5641 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5643 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5644 r210637, r210913, r211666, r215400, r215817).
5646 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5647 * dg-extract-results.py: New file.
5648 * dg-extract-results.sh: Use it if the environment seems
5651 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5653 * dg-extract-results.py (parse_run): Handle warnings that
5654 are printed before a test harness is run.
5656 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5658 * dg-extract-results.py (Named): Remove __cmp__ method.
5659 (output_variation): Use a key to sort variation.harnesses.
5661 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5663 * dg-extract-results.py: For Python 3, force sys.stdout to
5664 handle surrogate escape sequences.
5665 (safe_open): New function.
5666 (output_segment, main): Use it.
5668 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5670 * dg-extract-results.py (Prog.result_re): Include options
5673 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5675 * dg-extract-results.py (output_variation): Always sort if
5678 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5680 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5681 as long as we get pagination notifications.
5683 2014-12-15 Jason Merrill <jason@redhat.com>
5685 * Makefile.in (check-gdb.%): Restore.
5686 * README: Mention it.
5688 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5690 * gdb.ada/str_uninit: New testcase.
5692 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5695 * gdb.base/vla-stub-define.c: New file.
5696 * gdb.base/vla-stub.c: New file.
5697 * gdb.base/vla-stub.exp: New file.
5699 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5700 Jan Kratochvil <jan.kratochvil@redhat.com>
5701 Tom Tromey <tromey@redhat.com>
5703 * configure.ac: Add gdb.compile/.
5704 * configure: Regenerate.
5705 * gdb.compile/Makefile.in: New file.
5706 * gdb.compile/compile-ops.exp: New file.
5707 * gdb.compile/compile-ops.c: New file.
5708 * gdb.compile/compile-tls.c: New file.
5709 * gdb.compile/compile-tls.exp: New file.
5710 * gdb.compile/compile-constvar.S: New file.
5711 * gdb.compile/compile-constvar.c: New file.
5712 * gdb.compile/compile-mod.c: New file.
5713 * gdb.compile/compile-nodebug.c: New file.
5714 * gdb.compile/compile-setjmp-mod.c: New file.
5715 * gdb.compile/compile-setjmp.c: New file.
5716 * gdb.compile/compile-setjmp.exp: New file.
5717 * gdb.compile/compile-shlib.c: New file.
5718 * gdb.compile/compile.c: New file.
5719 * gdb.compile/compile.exp: New file.
5720 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5722 2014-12-12 Tom Tromey <tromey@redhat.com>
5724 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5725 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5727 2014-12-12 Doug Evans <dje@google.com>
5729 * lib/gdb-python.exp (get_python_valueof): New function.
5730 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5732 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5734 * gdb.base/completion.exp: Add test for completion of "info
5737 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5739 * gdb.base/func-ptrs.c: New file.
5740 * gdb.base/func-ptrs.exp: New file.
5742 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5744 PR breakpoints/17012
5745 * gdb.base/dprintf-detach.c: New file.
5746 * gdb.base/dprintf-detach.exp: New file.
5748 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5750 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5751 * lib/gdb.exp (target_is_gdbserver): New procedure.
5753 2014-12-08 Doug Evans <dje@google.com>
5755 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5757 2014-12-05 Yao Qi <yao@codesourcery.com>
5759 * gdb.guile/scm-error.exp: Remove the third argument to
5760 gdb_remote_download.
5761 * gdb.guile/scm-frame-args.exp: Likewise.
5762 * gdb.guile/scm-section-script.exp: Likewise.
5764 2014-12-05 Yao Qi <yao@codesourcery.com>
5766 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5768 2014-12-04 Doug Evans <dje@google.com>
5770 * gdb.python/py-objfile.exp: Add tests for
5771 objfile.add_separate_debug_file.
5773 2014-12-04 Doug Evans <dje@google.com>
5775 * lib/gdb.exp (get_build_id): New function.
5776 (build_id_debug_filename_get): Rewrite to use it.
5777 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5779 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5781 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5782 `method(long)', not just 0x0.
5783 * gdb.cp/nsalias.exp: Align code labels to 4.
5784 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5785 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5786 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5787 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5788 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5789 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5791 2014-12-02 Doug Evans <dje@google.com>
5794 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5795 * gdb.cp/anon-ns2.cc: ... here. New file.
5796 * gdb.cp/anon-ns.exp: Update.
5798 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5800 * gdb.python/py-events.py (inferior_call_handler): New.
5801 (register_changed_handler, memory_changed_handler): New.
5802 (test_events.invoke): Register new handlers.
5803 * gdb.python/py-events.exp: Add tests for inferior call,
5804 memory_changed and register_changed events.
5806 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5808 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5809 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5810 if the linker doesn't understand this.
5812 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5814 * gdb.python/python.exp: Change expected reply to help().
5816 2014-12-01 Yao Qi <yao@codesourcery.com>
5818 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5819 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5820 * configure: Re-generated.
5822 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5824 * gdb.cp/chained-calls.cc: New file.
5825 * gdb.cp/chained-calls.exp: New file.
5826 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5828 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5830 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5831 * gdb.dwarf2/symtab-producer.exp: Same.
5832 * gdb.gdb/python-interrupts.exp: Same.
5833 * gdb.gdb/python-selftest.exp: Same.
5834 * gdb.python/py-linetable.exp: Same.
5835 * gdb.python/py-type.exp: Same.
5836 * gdb.python/py-value-cc.exp: Same.
5837 * gdb.python/py-value.exp: Same.
5839 2014-11-28 Yao Qi <yao@codesourcery.com>
5841 * gdb.base/break-probes.exp: Match library name prefixed with
5844 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5846 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5847 test expected output. Add parentheses for the call to print.
5848 Remove L suffix from integers.
5850 2014-11-26 Doug Evans <dje@google.com>
5852 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5854 2014-11-22 Yao Qi <yao@codesourcery.com>
5856 * gdb.trace/entry-values.c: Remove asms.
5857 (foo): Add foo_label.
5858 (bar): Add bar_label.
5859 * gdb.trace/entry-values.exp: Remove code computing foo's
5860 length and bar's length.
5861 (Dwarf::assemble): Invoke function_range for bar and use
5862 MACRO_AT_func for foo.
5864 2014-11-22 Yao Qi <yao@codesourcery.com>
5866 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5867 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5868 Use .Lgcc43_procstart instead of gcc43.
5870 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5872 * gdb.ada/n_arr_bound: New testcase.
5874 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5876 PR breakpoints/10737
5877 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5878 test_catch_syscall_multi_arch.
5879 (test_catch_syscall_multi_arch): New function.
5881 2014-11-20 Doug Evans <xdje42@gmail.com>
5883 * gdb.base/maint.exp: Update expected output.
5885 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5887 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5888 4-byte instruction on S390.
5890 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5892 * gdb.ada/arr_arr: New testcase.
5894 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5896 * gdb.ada/pkd_arr_elem: New Testcase.
5898 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5900 * gdb.reverse/break-precsave: Expect completion message for
5902 * gdb.reverse/consecutive-precsave.exp: Likewise.
5903 * gdb.reverse/finish-precsave.exp: Likewise.
5904 * gdb.reverse/i386-precsave.exp: Likewise.
5905 * gdb.reverse/machinestate-precsave.exp: Likewise.
5906 * gdb.reverse/sigall-precsave.exp: Likewise.
5907 * gdb.reverse/solib-precsave.exp: Likewise.
5908 * gdb.reverse/step-precsave.exp: Likewise.
5909 * gdb.reverse/until-precsave.exp: Likewise.
5910 * gdb.reverse/watch-precsave.exp: Likewise.
5912 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5914 * gdb.base/bp-permanent.c: Include unistd.h.
5915 * gdb.python/py-framefilter-mi.c (main): Add return type.
5916 * gdb.python/py-framefilter.c (main): Likewise.
5917 * gdb.trace/actions-changed.c (main): Likewise.
5919 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5921 * gdb.mi/until.c: Add eye-catchers.
5922 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5925 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5927 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5928 function header variants in break1.c.
5929 * gdb.base/ena-dis-br.exp: Likewise.
5930 * gdb.base/hbreak2.exp: Likewise.
5931 * gdb.reverse/until-precsave.exp: Drop references to removed
5932 non-prototype function header variants in ur1.c.
5933 * gdb.reverse/until-reverse.exp: Likewise.
5935 2014-11-17 Petr Machata <pmachata@redhat.com>
5937 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5938 ${_cu_offset_size} bytes abbrev offset.
5940 2014-11-15 Doug Evans <xdje42@gmail.com>
5943 * gdb.base/line-symtabs.exp: New file.
5944 * gdb.base/line-symtabs.c: New file.
5945 * gdb.base/line-symtabs.h: New file.
5947 2014-11-14 Yao Qi <yao@codesourcery.com>
5949 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5950 (func): Add label func_label.
5951 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5952 Replace low_pc and high_pc with MACRO_AT_range.
5953 Replace name, low_pc and high_pc with MACRO_AT_func.
5955 2014-11-14 Yao Qi <yao@codesourcery.com>
5957 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5958 Replace name, low_pc and high_pc with MACRO_AT_func.
5960 2014-11-14 Yao Qi <yao@codesourcery.com>
5962 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5963 produce debug information.
5964 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5966 2014-11-14 Yao Qi <yao@codesourcery.com>
5968 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5969 object and get function length.
5970 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5972 (top-level): Replace gdb_compile and clean_restart with
5973 prepare_for_testing.
5974 * gdb.dwarf2/main.c (main): Add label main_label.
5976 2014-11-14 Yao Qi <yao@codesourcery.com>
5978 * lib/dwarf.exp (function_range): New procedure.
5979 (Dwarf::_handle_macro_at_func): New procedure.
5980 (Dwarf::_handle_macro_at_range): New procedure.
5981 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5983 2014-11-14 Yao Qi <yao@codesourcery.com>
5985 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5986 (_handle_attribute): New procedure.
5988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5990 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5991 * gdb.base/call-sc.c (zed): Likewise.
5992 * gdb.base/checkpoint.c (main): Likewise.
5993 * gdb.base/dump.c (main): Likewise.
5994 * gdb.base/gcore.c (main): Likewise.
5995 * gdb.base/huge.c (main): Likewise.
5996 * gdb.base/multi-forks.c (main): Likewise.
5997 * gdb.base/pr10179-a.c (main): Likewise.
5998 * gdb.base/savedregs.c (main): Likewise.
5999 * gdb.base/sigaltstack.c (main): Likewise.
6000 * gdb.base/siginfo.c (main): Likewise.
6001 * gdb.base/structs.c (zed): Likewise.
6002 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6003 * gdb.mi/mi-syn-frame.c (main): Likewise.
6004 * gdb.mi/until.c (foo, main): Likewise.
6005 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6006 * gdb.base/solib-weak.c (foo): Declare.
6007 * gdb.base/attach-twice.c: Include stdio.h.
6008 * gdb.base/weaklib1.c: Likewise.
6009 * gdb.base/weaklib2.c: Likewise.
6010 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6011 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6013 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6014 * gdb.mi/mi-exit-code.c: Likewise.
6015 * gdb.base/break-interp-lib.c: Include string.h.
6016 * gdb.base/coremaker.c: Likewise.
6017 * gdb.base/testenv.c: Likewise.
6018 * gdb.python/py-finish-breakpoint.c: Likewise.
6019 * gdb.base/inferior-died.c: Include sys/wait.h.
6020 * gdb.base/fileio.c: Include time.h.
6021 * gdb.base/async-shell.c: Include unistd.h.
6022 * gdb.base/dprintf-non-stop.c: Likewise.
6023 * gdb.base/info-os.c: Likewise.
6024 * gdb.mi/mi-console.c: Likewise.
6025 * gdb.mi/watch-nonstop.c: Likewise.
6026 * gdb.python/py-events.c: Likewise.
6027 * gdb.base/async.c (baz): Move up before its invocation.
6028 * gdb.base/code_elim2.c (my_global_func): Likewise.
6029 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6030 * gdb.base/advance.c (func2): Likewise.
6032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6036 * gdb.base/annota3.c: Likewise.
6037 * gdb.base/async.c: Likewise.
6038 * gdb.base/average.c: Likewise.
6039 * gdb.base/call-ar-st.c: Likewise.
6040 * gdb.base/call-rt-st.c: Likewise.
6041 * gdb.base/call-sc.c: Likewise.
6042 * gdb.base/call-strs.c: Likewise.
6043 * gdb.base/ending-run.c: Likewise.
6044 * gdb.base/execd-prog.c: Likewise.
6045 * gdb.base/exprs.c: Likewise.
6046 * gdb.base/foll-exec.c: Likewise.
6047 * gdb.base/foll-fork.c: Likewise.
6048 * gdb.base/foll-vfork.c: Likewise.
6049 * gdb.base/funcargs.c: Likewise.
6050 * gdb.base/gcore.c: Likewise.
6051 * gdb.base/jump.c: Likewise.
6052 * gdb.base/langs0.c: Likewise.
6053 * gdb.base/langs1.c: Likewise.
6054 * gdb.base/langs2.c: Likewise.
6055 * gdb.base/mips_pro.c: Likewise.
6056 * gdb.base/nodebug.c: Likewise.
6057 * gdb.base/opaque0.c: Likewise.
6058 * gdb.base/opaque1.c: Likewise.
6059 * gdb.base/recurse.c: Likewise.
6060 * gdb.base/run.c: Likewise.
6061 * gdb.base/scope0.c: Likewise.
6062 * gdb.base/scope1.c: Likewise.
6063 * gdb.base/setshow.c: Likewise.
6064 * gdb.base/setvar.c: Likewise.
6065 * gdb.base/shmain.c: Likewise.
6066 * gdb.base/shr1.c: Likewise.
6067 * gdb.base/shr2.c: Likewise.
6068 * gdb.base/sigall.c: Likewise.
6069 * gdb.base/signals.c: Likewise.
6070 * gdb.base/so-indr-cl.c: Likewise.
6071 * gdb.base/solib2.c: Likewise.
6072 * gdb.base/structs.c: Likewise.
6073 * gdb.base/sum.c: Likewise.
6074 * gdb.base/vforked-prog.c: Likewise.
6075 * gdb.base/watchpoint.c: Likewise.
6076 * gdb.reverse/shr2.c: Likewise.
6077 * gdb.reverse/until-reverse.c: Likewise.
6078 * gdb.reverse/ur1.c: Likewise.
6079 * gdb.reverse/watch-reverse.c: Likewise.
6081 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6083 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6085 * gdb.base/sepdebug.exp: Drop references to removed code.
6087 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6090 variant. Preserve original line numbering.
6091 * gdb.base/list1.c: Likewise.
6093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6095 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6097 * gdb.base/break1.c: Likewise.
6098 * gdb.base/break.exp: Drop references to removed code.
6100 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6102 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6107 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6111 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6112 logic into perform_all_tests() and invoke it with and without
6113 function header prototypes.
6114 (do_function_calls): Remove conditional XFAIL for PR 5318.
6115 (rerun_and_prepare): Remove duplicate code.
6116 (perform_all_tests): New. Main logic moved here.
6118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6120 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6121 code guarded by #ifdef NO_PROTOTYPES.
6122 (t_double_many_args): Likewise.
6123 (DEF_FUNC_MANY_ARGS_1): Likewise.
6124 (DEF_FUNC_VALUES_1): Likewise.
6125 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6126 guarded by #ifdef PROTOTYPES.
6128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6130 * gdb.mi/mi-console.c: Add eye-catcher.
6131 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6132 instead of literal line number.
6134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6136 * gdb.base/shr2.c: Add eye-catcher.
6137 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6142 * gdb.base/jump.c: Add eye-catchers.
6143 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6148 * gdb.base/execd-prog.c: Add eye-catchers.
6149 * gdb.base/foll-exec.c: Likewise.
6150 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6155 * gdb.base/ending-run.c: Add eye-catchers.
6156 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6157 literal line numbers.
6159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6161 * gdb.base/call-rt-st.c: Add eye-catchers.
6162 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6163 literal line numbers.
6165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6167 * gdb.base/call-ar-st.c: Add eye-catchers.
6168 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6169 literal line numbers.
6171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6173 * gdb.base/average.c: Add eye-catchers.
6174 * gdb.base/sum.c: Likewise.
6175 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6176 regexps dynamically.
6178 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6180 * gdb.base/solib1.c: Add eye-catchers.
6181 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6182 literal line numbers.
6184 2014-11-12 Pedro Alves <palves@redhat.com>
6186 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6189 2014-11-12 Pedro Alves <palves@redhat.com>
6191 * gdb.arch/i386-bp_permanent.c: New file.
6192 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6193 (srcfile): Set to i386-bp_permanent.c.
6194 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6195 that stepi does not execute the 'leave' instruction, instead of
6196 testing it does execute.
6197 * gdb.base/bp-permanent.c: New file.
6198 * gdb.base/bp-permanent.exp: New file.
6200 2014-11-10 Doug Evans <xdje42@gmail.com>
6203 * gdb.base/symtab-search-order.exp: New file.
6204 * gdb.base/symtab-search-order.c: New file.
6205 * gdb.base/symtab-search-order-1.c: New file.
6206 * gdb.base/symtab-search-order-shlib-1.c: New file.
6208 2014-11-07 Pedro Alves <palves@redhat.com>
6211 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6214 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6217 * gdb.cp/pr17494.cc: New file.
6218 * gdb.cp/pr17494.exp: New file.
6220 2014-11-02 Yao Qi <yao@codesourcery.com>
6222 * gdb.python/python.exp: Get working directory and match the
6223 output of "set extended-prompt \\w " with it.
6225 2014-10-30 Doug Evans <dje@google.com>
6227 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6229 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6232 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6234 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6235 * gdb.base/realname-expand.exp: Likewise.
6236 * gdb.linespec/macro-relative.exp: Likewise.
6238 2014-10-29 Pedro Alves <palves@redhat.com>
6241 * gdb.threads/schedlock.c (some_function): New function.
6242 (call_function): New global.
6243 (MAYBE_CALL_SOME_FUNCTION): New macro.
6244 (thread_function): Call it.
6245 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6246 and use it instead of a global counter. Adjust all callers.
6247 (get_current_thread): Use "find current thread" for test message
6248 here rather than having all callers pass down the same string.
6249 (goto_loop): New procedure, factored out from ...
6250 (my_continue): ... this.
6251 (step_ten_loops): Change parameter from test message to command to
6253 (list_count): Delete global.
6254 (check_result): New procedure, factored out from duplicate top
6256 (continue tests): Wrap in with_test_prefix.
6257 (test_step): New procedure, factored out from duplicate top level
6259 (top level): Test "step" in combination with all scheduler-locking
6260 modes. Test "next" in combination with all scheduler-locking
6261 modes, and in combination with stepping over a function call or
6263 * gdb.threads/next-bp-other-thread.c: New file.
6264 * gdb.threads/next-bp-other-thread.exp: New file.
6266 2014-10-29 Pedro Alves <palves@redhat.com>
6269 * gdb.python/python.exp: Test a multi-line command that spawns
6271 * gdb.base/multi-line-starts-subshell.exp: New file.
6273 2014-10-29 Yao Qi <yao@codesourcery.com>
6275 * gdb.base/fileio.exp: Make directories on host.
6277 2014-10-29 Yao Qi <yao@codesourcery.com>
6279 * gdb.base/fileio.c (test_write): Close the file.
6281 2014-10-28 Pedro Alves <palves@redhat.com>
6284 * gdb.base/sigstep.c (no_handler): New global.
6285 (main): If 'no_handler is true, set the signal handlers to
6287 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6288 with_sw_watch and no_handler parameters. Handle them.
6289 (top level) <stepping over handler when stopped at a breakpoint
6290 test>: Add a test axis for testing with a software watchpoint, and
6291 another for testing with the signal handler set to SIG_IGN.
6292 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6293 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6295 2014-10-28 Pedro Alves <palves@redhat.com>
6298 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6299 * gdb.base/sigstep.exp (other_handler_location): New global.
6300 (advance): Support stepping into the signal handler, and running
6301 commands while in the handler.
6302 (in_handler_map): New global.
6303 (top level): In the advance test, add combinations for getting
6304 into the handler with stepping commands, and for running commands
6305 in the handler. Add comment descripting the advancei tests.
6307 2014-10-28 Pedro Alves <palves@redhat.com>
6309 * gdb.base/sigstep.exp: Use build_executable instead of
6310 prepare_for_testing.
6311 (top level): Move code that starts GDB, runs to main and creates a
6313 (restart): ... this new procedure.
6314 (top level): Move backtrace from signal handler test to ...
6315 (validate_backtrace): ... this new procedure.
6316 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6317 with_test_prefix. Always restart GDB.
6318 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6319 with_test_prefix. Always restart GDB. No need to delete
6320 breakpoints after the test.
6321 (test_skip_handler): Remove prefix parameter.
6322 (skip_over_handler, breakpoint_to_handler)
6323 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6324 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6325 restart GDB. No need to delete breakpoints after the test.
6326 (top level): Use foreach to call the test procedures with
6329 2014-10-28 Pedro Alves <palves@redhat.com>
6331 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6332 instead of GNATS numbers.
6333 * gdb.base/sigbpt.exp: Likewise.
6334 * gdb.base/siginfo.exp: Likewise.
6335 * gdb.base/sigstep.exp: Likewise.
6337 2014-10-27 Pedro Alves <palves@redhat.com>
6339 * gdb.base/sigstep.c (dummy): New global.
6340 (main): Issue a couple writes to the new global.
6341 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6343 (skip_over_handler): Use test_skip_handler.
6344 (top level): Call skip_over_handler for stepi and nexti too.
6345 (breakpoint_over_handler): Use test_skip_handler.
6346 (top level): Call breakpoint_over_handler for stepi and nexti too.
6348 2014-10-27 Yao Qi <yao@codesourcery.com>
6350 * gdb.trace/tfile.c (adjust_function_address)
6351 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6352 function descriptor.
6354 2014-10-24 Don Breazeal <donb@codesourcery.com>
6356 * gdb.base/foll-fork.exp (test_follow_fork,
6357 catch_fork_child_follow): Check for updated fork messages emitted
6359 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6360 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6361 vfork_and_exec_child_follow_through_step): Check for updated vfork
6362 messages emitted from infrun.c.
6364 2014-10-24 Pedro Alves <palves@redhat.com>
6366 * gdb.base/corefile.exp: Remove references to ultrix.
6367 * gdb.base/interrupt.exp: Likewise.
6368 * gdb.base/whatis.exp: Likewise.
6369 * gdb.gdb/selftest.exp: Likewise.
6370 * gdb.threads/manythreads.exp: Likewise.
6371 * gdb.threads/print-threads.exp: Likewise.
6372 * gdb.threads/pthreads.exp:: Likewise.
6373 * gdb.threads/schedlock.exp: Likewise.
6375 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6377 * gdb.cp/non-trivial-retval.cc: Add a test case.
6378 * gdb.cp/non-trivial-retval.exp: Add a test.
6380 2014-10-20 Yao Qi <yao@codesourcery.com>
6382 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6383 * gdb.python/py-objfile-script-gdb.py: New file.
6384 * gdb.python/py-objfile-script.exp: Update reference to
6385 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6386 of remote_download. Remove the dest file.
6388 2014-10-20 Yao Qi <yao@codesourcery.com>
6390 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6391 * gdb.base/step-line.exp: Likewise.
6392 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6393 * gdb.dwarf2/dw2-basic.exp: Likewise.
6394 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6395 * gdb.dwarf2/dw2-filename.exp: Likewise.
6396 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6397 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6398 * gdb.dwarf2/dw2-producer.exp: Likewise.
6399 * gdb.dwarf2/mac-fileno.exp: Likewise.
6400 * gdb.python/py-frame-args.exp: Likewise.
6401 * gdb.python/py-framefilter.exp: Likewise.
6402 * gdb.python/py-mi.exp: Likewise.
6403 * gdb.python/py-objfile-script.exp: Likewise
6404 * gdb.python/py-pp-integral.exp: Likewise.
6405 * gdb.python/py-pp-re-notag.exp: Likewise.
6406 * gdb.python/py-prettyprint.exp: Likewise.
6407 * gdb.python/py-section-script.exp: Likewise.
6408 * gdb.python/py-typeprint.exp: Likewise.
6409 * gdb.python/py-xmethods.exp: Likewise.
6410 * gdb.stabs/weird.exp: Likewise.
6411 * gdb.xml/tdesc-regs.exp: Likewise.
6413 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6415 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6416 (out_cu): Use addr_len for the size of addresses.
6417 (out_line): Likewise. Size DW_LNE_set_address instruction
6418 according to addr_len.
6419 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6420 (FUNC): Add START_INSNS to definition.
6422 2014-10-18 Yao Qi <yao@codesourcery.com>
6424 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6425 gdb_has_argv0 return true.
6426 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6427 check [target_info exists noargs], check [gdb_has_argv0]
6429 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6430 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6433 2014-10-17 Doug Evans <dje@google.com>
6435 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6437 * gdb.python/py-events.py: Add clear_objfiles event.
6439 2014-10-17 Doug Evans <dje@google.com>
6441 * gdb.python/py-objfile.exp: Test progspace attribute.
6443 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6445 * gdb.guile/scm-breakpoint.exp: Do not assume any
6446 directory separators when matching source file paths.
6447 * gdb.python/py-breakpoint.exp: Likewise.
6448 * gdb.reverse/break-precsave.exp: Likewise.
6449 * gdb.reverse/break-reverse.exp: Likewise.
6450 * gdb.reverse/consecutive-precsave.exp: Likewise.
6451 * gdb.reverse/finish-precsave.exp: Likewise.
6452 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6453 * gdb.reverse/finish-reverse.exp: Likewise.
6454 * gdb.reverse/i386-precsave.exp: Likewise.
6455 * gdb.reverse/i387-env-reverse.exp: Likewise.
6456 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6457 * gdb.reverse/machinestate-precsave.exp: Likewise.
6458 * gdb.reverse/machinestate.exp: Likewise.
6459 * gdb.reverse/sigall-precsave.exp: Likewise.
6460 * gdb.reverse/solib-precsave.exp: Likewise.
6461 * gdb.reverse/step-precsave.exp: Likewise.
6462 * gdb.reverse/until-precsave.exp: Likewise.
6463 * gdb.reverse/watch-precsave.exp: Likewise.
6464 * gdb.reverse/watch-reverse.exp: Likewise.
6466 2014-10-17 Yao Qi <yao@codesourcery.com>
6468 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6469 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6471 2014-10-17 Pedro Alves <palves@redhat.com>
6474 * gdb.base/bg-execution-repeat.c: New file.
6475 * gdb.base/bg-execution-repeat.exp: New file.
6477 2014-10-17 Pedro Alves <palves@redhat.com>
6480 * gdb.base/continue-all-already-running.c: New file.
6481 * gdb.base/continue-all-already-running.exp: New file.
6483 2014-10-17 Pedro Alves <palves@redhat.com>
6486 * gdb.base/annota-input-while-running.c: New file.
6487 * gdb.base/annota-input-while-running.exp: New file.
6489 2014-10-17 Pedro Alves <palves@redhat.com>
6491 * gdb.base/callfuncs.exp: emove references to osf.
6492 * gdb.base/sigall.exp: Likewise.
6493 * gdb.gdb/selftest.exp: Likewise.
6494 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6495 * gdb.mi/non-stop.c: Likewise.
6496 * gdb.mi/pthreads.c: Likewise.
6497 * gdb.reverse/sigall-precsave.exp: Likewise.
6498 * gdb.reverse/sigall-reverse.exp: Likewise.
6499 * gdb.threads/pthreads.c: Likewise.
6500 * gdb.threads/pthreads.exp: Likewise.
6502 2014-10-17 Yao Qi <yao@codesourcery.com>
6504 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6505 check 'target_info exists noargs'.
6506 (test_command_prompt_position): Likewise.
6507 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6509 (progvar_simple_while_test): Likewise.
6510 (progvar_complex_if_while_test): Likewise.
6511 (if_while_breakpoint_command_test): Likewise.
6512 (infrun_breakpoint_command_test): Likewise.
6513 (breakpoint_command_test): Likewise.
6514 (watchpoint_command_test): Likewise.
6515 (bp_deleted_in_command_test): Likewise.
6516 (temporary_breakpoint_commands): Likewise.
6518 2014-10-16 Yao Qi <yao@codesourcery.com>
6520 * gdb.base/remotetimeout.exp: Remove noargs checking.
6522 2014-10-15 Pedro Alves <palves@redhat.com>
6525 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6526 * gdb.base/breakpoint-in-ro-region.exp
6527 (probe_target_hardware_step): New procedure.
6528 (top level): Probe hardware stepping and hardware breakpoint
6529 support. Test stepping through a read-only region, with both
6530 "breakpoint auto-hw" on and off and both "always-inserted" on and
6533 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6535 * gdb.dlang/demangle.exp: Update for demangling changes.
6537 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6539 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6540 * gdb.cp/non-trivial-retval.exp: Add new tests.
6542 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6546 * gdb.cp/non-trivial-retval.cc: New file.
6547 * gdb.cp/non-trivial-retval.exp: New file.
6549 2014-10-15 Yao Qi <yao@codesourcery.com>
6551 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6554 2014-10-15 Yao Qi <yao@codesourcery.com>
6556 * gdb.python/py-symbol.exp: Match file base name if host is
6557 remote, otherwise match file name with dir name.
6558 * gdb.python/py-symtab.exp: Likewise.
6559 * gdb.python/python.exp: Likewise.
6561 2014-10-15 Yao Qi <yao@codesourcery.com>
6563 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6565 * gdb.python/py-symtab.exp: Likewise.
6566 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6569 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6571 * gdb.ada/addr_arith: New testcase.
6573 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6575 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6576 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6577 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6578 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6580 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6582 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6583 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6584 * gdb.arch/stap-eval-lang-ada.exp: New file.
6586 2014-10-14 Yao Qi <yao@codesourcery.com>
6588 * gdb.mi/mi-var-child.c (nothing1): New function.
6589 (nothing2): New function.
6590 (do_children_tests): Set function pointers by nothing1 and
6592 * gdb.mi/mi-var-child.exp: Step over new added statements.
6593 Update test to match the new output.
6594 * gdb.mi/var-cmd.c (nothing1): New function.
6595 (nothing2): New function.
6596 (do_children_tests): Set function pointers by nothing1 and
6598 * gdb.mi/mi-var-display.exp: Update test to match output.
6599 Step to the line specified by $line_dct_nothing.
6600 Increase the number of lines to step.
6602 2014-10-14 Yao Qi <yao@codesourcery.com>
6604 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6606 * gdb.mi/mi2-var-child.exp: Likewise.
6608 2014-10-13 Doug Evans <dje@google.com>
6610 * gdb.python/py-objfile.exp: Change name of file name test.
6612 2014-10-13 Doug Evans <dje@google.com>
6614 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6615 from the start of the CU.
6617 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6618 Yao Qi <yao@codesourcery.com>
6620 Fix "save breakpoints" for "catch" command.
6621 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6622 Remove -nonewline. Match also the added "main" line.
6624 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6626 Fix "save breakpoints" for "disable $bpnum" command.
6627 * gdb.base/save-bp.c (main): Add label.
6628 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6630 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6632 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6634 2014-10-11 Yao Qi <yao@codesourcery.com>
6636 * gdb.server/server-kill.exp: Execute command
6637 "set remote trace-status-packet on" before "tstatus".
6639 2014-10-11 Yao Qi <yao@codesourcery.com>
6641 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6642 (main): Call getppid.
6643 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6644 and continue to it. Read variable "server_pid".
6646 2014-10-11 Yao Qi <yao@codesourcery.com>
6648 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6650 2014-10-11 Yao Qi <yao@codesourcery.com>
6652 * gdb.threads/thread-find.exp: Don't execute command
6654 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6655 * gdb.threads/linux-dp.exp: Don't check the condition
6656 $threads_created equals to zero.
6658 2014-10-10 Pedro Alves <palves@redhat.com>
6660 * gdb.base/bigcore.exp: Remove references to IRIX.
6661 * gdb.base/funcargs.exp: Likewise.
6662 * gdb.base/interrupt.exp: Likewise.
6663 * gdb.base/mips_pro.exp: Likewise.
6664 * gdb.base/nodebug.exp: Likewise.
6665 * gdb.base/setvar.exp: Likewise.
6666 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6668 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6669 Pedro Alves <palves@redhat.com>
6672 * gdb.base/vdso-warning.c: New file.
6673 * gdb.base/vdso-warning.exp: New file.
6675 2014-10-02 Doug Evans <dje@google.com>
6677 * gdb.base/structs.c (main): Don't run forever.
6679 2014-10-02 Pedro Alves <palves@redhat.com>
6681 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6682 (top level) <stop threads 1, stop threads 2>: Use it.
6684 2014-10-02 Pedro Alves <palves@redhat.com>
6686 * gdb.threads/break-while-running.exp (test): Add new
6687 'update_thread_list' argument. Skip "info threads" if false.
6688 (top level): Add new 'update_thread_list' axis.
6690 2014-10-02 Pedro Alves <palves@redhat.com>
6692 PR breakpoints/17431
6693 * gdb.base/execl-update-breakpoints.c: New file.
6694 * gdb.base/execl-update-breakpoints.exp: New file.
6696 2014-10-01 Pedro Alves <palves@redhat.com>
6698 * gdb.base/breakpoint-in-ro-region.c: New file.
6699 * gdb.base/breakpoint-in-ro-region.exp: New file.
6701 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6703 * gdb.mi/mi-exit-code.exp: New file.
6704 * gdb.mi/mi-exit-code.c: New file.
6706 2014-09-30 Yao Qi <yao@codesourcery.com>
6708 * lib/prelink-support.exp (build_executable_own_libs): Error if
6709 the target isn't native.
6711 2014-09-30 Yao Qi <yao@codesourcery.com>
6713 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6716 2014-09-22 Pedro Alves <palves@redhat.com>
6718 * gdb.threads/break-while-running.exp: New file.
6719 * gdb.threads/break-while-running.c: New file.
6721 2014-09-19 Yao Qi <yao@codesourcery.com>
6723 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6724 Invoke test. Restart GDB with --readnow and invoke test again.
6726 2014-09-19 Yao Qi <yao@codesourcery.com>
6728 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6729 proc set_breakpoint_on_gcd_function. Invoke
6730 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6731 invoke set_breakpoint_on_gcd_function again.
6733 2014-09-18 Doug Evans <dje@google.com>
6735 * gdb.dwarf2/symtab-producer.exp: New file.
6737 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6739 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6740 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6741 * gdb.base/global-var-nested-by-dso.c: Likewise.
6742 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6744 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6745 Pedro Alves <palves@redhat.com>
6747 * gdb.base/watch-bitfields.exp: Pass string other than test file
6748 name to prepare_for_testing.
6749 (watch): New procedure.
6750 (expect_watchpoint): Use with_test_prefix.
6751 (top level): Factor out tests to ...
6752 (test_watch_location, test_regular_watch): ... these new
6753 procedures, and use with_test_prefix and gdb_continue_to_end.
6755 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6757 PR breakpoints/12526
6758 * gdb.base/watch-bitfields.exp: New file.
6759 * gdb.base/watch-bitfields.c: New file.
6761 2014-09-16 Pedro Alves <palves@redhat.com>
6763 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6764 software and hardware addresses, not software address against
6767 2014-09-16 Pedro Alves <palves@redhat.com>
6769 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6770 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6772 2014-09-16 Pedro Alves <palves@redhat.com>
6774 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6776 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6777 "*-*-vxworks*" throughout.
6778 * gdb.base/break.exp: Likewise.
6779 * gdb.base/default.exp: Likewise.
6780 * gdb.base/scope.exp: Likewise.
6781 * gdb.base/sepdebug.exp: Likewise.
6782 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6784 * gdb.base/run.c: Likewise.
6785 * gdb.base/sepdebug.c: Likewise.
6786 * gdb.hp/gdb.aCC/run.c: Likewise.
6787 * gdb.reverse/until-reverse.c: Likewise.
6788 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6790 2014-09-16 Yao Qi <yao@codesourcery.com>
6792 * boards/local-remote-host-native.exp: New file.
6794 2014-09-14 Doug Evans <xdje42@gmail.com>
6796 * gdb.threads/queue-signal.c (thread_count): New variable.
6797 (thread_count_mutex, thread_count_condvar): New variables.
6798 (incr_thread_count, wait_all_threads_running): New functions.
6799 (main): Wait for all threads to be in their thread functions.
6801 2014-09-13 Doug Evans <xdje42@gmail.com>
6803 * gdb.threads/queue-signal.c: New file.
6804 * gdb.threads/queue-signal.exp: New file.
6806 2014-09-13 Doug Evans <xdje42@gmail.com>
6808 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6809 be consistent with what default_gdb_init uses.
6810 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6811 the plain text of the prompt. Add some logging printfs.
6812 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6814 2014-09-12 Pedro Alves <palves@redhat.com>
6816 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6817 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6818 * gdb.arch/i386-size-overlap.exp: Likewise.
6819 * gdb.arch/i386-size.exp: Likewise.
6820 * gdb.arch/i386-unwind.exp: Likewise.
6821 * gdb.base/a2-run.exp: Likewise.
6822 * gdb.base/break.exp: Likewise.
6823 * gdb.base/charset.exp: Likewise.
6824 * gdb.base/chng-syms.exp: Likewise.
6825 * gdb.base/commands.exp: Likewise.
6826 * gdb.base/dbx.exp: Likewise.
6827 * gdb.base/find.exp: Likewise.
6828 * gdb.base/funcargs.exp: Likewise.
6829 * gdb.base/jit-simple.exp: Likewise.
6830 * gdb.base/reread.exp: Likewise.
6831 * gdb.base/sepdebug.exp: Likewise.
6832 * gdb.base/step-bt.exp: Likewise.
6833 * gdb.cp/mb-inline.exp: Likewise.
6834 * gdb.cp/mb-templates.exp: Likewise.
6835 * gdb.objc/basicclass.exp: Likewise.
6836 * gdb.threads/killed.exp: Likewise.
6838 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6841 * gdb.arch/powerpc-stackless.S: New file.
6842 * gdb.arch/powerpc-stackless.exp: New file.
6844 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6846 * gdb.base/attach.c: Include unistd.h.
6847 (main): Call alarm. Add label postloop.
6848 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6849 gdb_breakpoint, gdb_continue_to_breakpoint.
6850 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6852 2014-09-11 Pedro Alves <palves@redhat.com>
6855 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6856 * gdb.base/attach.exp (test_command_line_attach_run): New
6858 (top level): Call it.
6860 2014-09-11 Pedro Alves <palves@redhat.com>
6862 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6863 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6864 (do_command_attach_tests): Use spawn_wait_for_attach.
6865 * gdb.base/solib-overlap.exp: Likewise.
6866 * gdb.multi/multi-attach.exp: Likewise.
6867 * gdb.python/py-prompt.exp: Likewise.
6868 * gdb.python/py-sync-interp.exp: Likewise.
6869 * gdb.server/ext-attach.exp: Likewise.
6871 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6873 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6874 command in testcase. Simplify testcase.
6876 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6878 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6880 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6882 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6884 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6886 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6888 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6890 * gdb.dwarf2/dynarr-ptr.c: New file.
6891 * gdb.dwarf2/dynarr-ptr.exp: New file.
6893 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6895 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6896 of 30 rather than hardcoding 120 for a slow test case. Take the
6897 `gdb,timeout' target setting into account for this calculation.
6898 Don't extend the timeout for the test cases that don't need it.
6900 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6902 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6903 a factor of 2 for a slow test case. Take the `gdb,timeout'
6904 target setting into account for this calculation.
6905 * gdb.reverse/until-precsave.exp: Increase the timeout by
6906 a factor of 15 and 3 respectively rather than adding 120
6907 for a pair of slow test cases. Take the `gdb,timeout'
6908 target setting into account for this calculation.
6910 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6912 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6913 timeout, don't pass one down to gdb_expect.
6914 (gdb_expect): Rework timeout selection.
6916 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6918 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6919 exception on timeout.
6920 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6921 (gdbserver_start_extended): Catch any `gdbserver_start' error
6923 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6924 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6925 `gdbserver_gdb_load' error exceptions.
6927 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6929 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6930 120 on waiting for the TCP socket to open.
6932 2014-09-09 Doug Evans <xdje42@gmail.com>
6934 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6935 _caller_matches, _any_caller_is, _any_caller_matches.
6937 2014-09-09 Doug Evans <xdje42@gmail.com>
6939 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6941 2014-09-09 Yao Qi <yao@codesourcery.com>
6943 * gdb.mi/mi-var-display.exp: Set print symbol off.
6945 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6948 * gdb.base/commands.exp: Add tests to verify user-defined
6949 commands with empty bodies.
6950 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6951 python commands in `show user command`.
6952 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6953 scheme commands in `show user command`.
6955 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6958 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6959 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6960 * gdb.python/py-framefilter-invalidarg.exp: New file.
6961 * gdb.python/py-framefilter-invalidarg.py: New file.
6963 2014-09-06 Doug Evans <xdje42@gmail.com>
6966 * gdb.python/py-caller-is.c: New file.
6967 * gdb.python/py-caller-is.exp: New file.
6969 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6972 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6973 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6975 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6978 * gdb.fortran/print-formatted.exp: New file.
6979 * gdb.fortran/print-formatted.f90: Likewise.
6981 2014-09-03 Sasha Smundak <asmundak@google.com>
6983 * gdb.python/py-frame.exp: Test Frame.read_register.
6985 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6988 * gdb.python/py-completion.exp: New file.
6989 * gdb.python/py-completion.py: Likewise.
6991 2014-08-28 Doug Evans <dje@google.com>
6993 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6994 eax,etc. are live with values set by gdb and thus the compiler can't
6996 * gdb.arch/i386-pseudo.c (main): Ditto.
6998 2014-08-27 Doug Evans <dje@google.com>
7000 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7002 2014-08-25 Doug Evans <dje@google.com>
7004 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7007 2014-08-25 Doug Evans <dje@google.com>
7009 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7011 2014-08-24 Yao Qi <yao@codesourcery.com>
7013 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7015 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7017 2014-08-22 Doug Evans <dje@google.com>
7020 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7021 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7022 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7024 2014-08-22 Yao Qi <yao@codesourcery.com>
7026 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7027 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7028 * gdb.python/python.exp: Likewise. Use .py file on the host
7029 instead of the build.
7031 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7033 * gdb.threads/gcore-stale-thread.c: New file.
7034 * gdb.threads/gcore-stale-thread.exp: New file.
7036 2014-08-21 Pedro Alves <palves@redhat.com>
7038 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7039 * gdb.base/gcore-relro-pie.exp: Likewise.
7040 * gdb.base/gcore-relro.exp: Likewise.
7041 * gdb.base/gcore.exp: Likewise.
7042 * gdb.base/print-symbol-loading.exp: Likewise.
7043 * gdb.threads/gcore-thread.exp: Likewise.
7044 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7046 2014-08-20 Pedro Alves <palves@redhat.com>
7047 Jan Kratochvil <jan.kratochvil@redhat.com>
7049 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7051 (EXPECT): Handle READ1 being set.
7052 (all): Depend on EXTRA_RULES.
7053 (check-read1, expect-read1, read1.so, read1): New rules.
7054 * README (Testsuite Parameters): Document the READ1 make variable.
7055 (Race detection): New section.
7056 * configure: Regenerate.
7057 * configure.ac: If build==host==target, and running under a
7058 GNU/glibc system, add read1 to the extra Makefile rules.
7059 (EXTRA_RULES): AC_SUBST it.
7060 * lib/read1.c: New file.
7062 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7064 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7065 the handling of variables declared as a typedef to an array
7066 which a DW_AT_data_location attribute.
7068 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7069 Pedro Alves <palves@redhat.com>
7073 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7076 2014-08-19 Pedro Alves <palves@redhat.com>
7078 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7080 2014-08-19 Yao Qi <yao@codesourcery.com>
7082 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7085 2014-08-18 David Blaikie <dblaikie@gmail.com>
7087 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7089 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7091 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7092 attribute in array range.
7094 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7096 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7098 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7101 * gdb.cp/pr17132.cc: New file.
7102 * gdb.cp/pr17132.exp: New file.
7104 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7106 * gdb.python/py-xmethods.py (A_getarrayind)
7107 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7108 Use 'print' with function call syntax.
7109 (E_method_matcher.match): Fix tab vs space indentation mixup.
7111 2014-08-15 Yao Qi <yao@codesourcery.com>
7113 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7116 2014-08-15 Yao Qi <yao@codesourcery.com>
7118 * gdb.cp/casts.exp: Set print symbol off.
7119 * gdb.cp/class2.exp: Likewise.
7120 * gdb.cp/overload.exp: Likewise.
7121 * gdb.cp/templates.exp: Likewise.
7123 2014-08-11 Doug Evans <dje@google.com>
7125 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7126 (test_load_shlib): Update.
7128 2014-08-09 Yao Qi <yao@codesourcery.com>
7130 * gdb.base/display.exp: Invoke is_address_zero_readable.
7131 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7132 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7133 * gdb.base/hbreak-unmapped.exp: Return if
7134 is_address_zero_readable returns true.
7135 * gdb.base/signest.exp: Likewise.
7136 * gdb.base/signull.exp: Likewise.
7137 * gdb.base/sigbpt.exp: Likewise.
7138 * gdb.guile/scm-disasm.exp: Do the test if
7139 is_address_zero_readable returns false.
7140 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7141 * gdb.python/py-arch.exp: Likewise.
7142 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7143 * lib/gdb.exp (is_address_zero_readable): New proc.
7145 2014-08-09 Yao Qi <yao@codesourcery.com>
7148 * gdb.mi/mi-var-display.exp: Make test messages unique.
7150 2014-08-04 Tom Tromey <tromey@redhat.com>
7152 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7155 2014-08-04 Tom Tromey <tromey@redhat.com>
7157 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7160 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7162 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7163 inner_vla_struct_object_size.
7164 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7167 2014-07-30 Pedro Alves <palves@redhat.com>
7169 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7172 2014-07-29 Yao Qi <yao@codesourcery.com>
7175 * gdb.base/until-nodebug.exp: New.
7177 2014-07-28 Doug Evans <xdje42@gmail.com>
7180 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7181 previously existing parameter, and previously ambiguously spelled
7184 2014-07-28 Will Newton <will.newton@linaro.org>
7186 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7188 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7189 Doug Evans <xdje42@gmail.com>
7192 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7194 2014-07-25 Pedro Alves <palves@redhat.com>
7196 * gdb.threads/signal-command-handle-nopass.c: New file.
7197 * gdb.threads/signal-command-handle-nopass.exp: New file.
7198 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7199 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7200 * gdb.threads/signal-delivered-right-thread.c: New file.
7201 * gdb.threads/signal-delivered-right-thread.exp: New file.
7203 2014-07-25 Pedro Alves <palves@redhat.com>
7205 * gdb.base/double-prompt-target-event-error.exp
7206 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7208 (cancel_pagination_in_target_event): Rework double prompt
7210 * gdb.base/paginate-after-ctrl-c-running.exp
7211 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7213 * gdb.base/paginate-bg-execution.exp
7214 (test_bg_execution_pagination_return)
7215 (test_bg_execution_pagination_cancel): Remove '-notransfer
7217 * gdb.base/paginate-execution-startup.exp
7218 (test_fg_execution_pagination_return)
7219 (test_fg_execution_pagination_cancel): Remove '-notransfer
7221 * gdb.base/paginate-inferior-exit.exp
7222 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7224 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7225 * lib/gdb.exp (pagination_prompt): Run text through
7227 (gdb_test_multiple): Match $pagination_prompt instead of
7229 (string_to_regexp): Move to lib/gdb-utils.exp.
7231 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7233 * gdb.arch/amd64-entry-value-paramref.S: New file.
7234 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7235 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7236 * gdb.arch/amd64-optimout-repeat.S: New file.
7237 * gdb.arch/amd64-optimout-repeat.c: New file.
7238 * gdb.arch/amd64-optimout-repeat.exp: New file.
7240 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7243 * gdb.base/statistics.exp: New file.
7245 2014-07-17 Doug Evans <dje@google.com>
7248 * gdb.base/maint.exp: Update testing of per-command stats.
7250 2014-07-16 Pedro Alves <palves@redhat.com>
7252 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7253 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7254 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7255 (tfile_write_buf): New functions.
7256 (add_memory_block): Rewrite using the above.
7257 (adjust_function_address): New function.
7258 (FUNCTION_ADDRESS): New macro.
7259 (write_basic_trace_file): Remove short_x local, and use
7260 tfile_write_16. Change type of func_addr local to unsigned long
7261 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7262 here. Cast argument of add_memory_block to char pointer.
7263 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7264 (main): Remove parameters.
7265 * gdb.trace/tfile.exp: Remove nowarnings.
7267 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7269 * gdb.base/debug-expr.exp: Test string evaluation with
7270 "debug expression" on.
7272 2014-07-15 Pedro Alves <palves@redhat.com>
7274 * gdb.base/reread.exp: Use clean_restart.
7276 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7278 * gdb.arch/avr-flash-qualifer.c: New.
7279 * gdb.arch/avr-flash-qualifer.exp: New.
7281 2014-07-14 Pedro Alves <palves@redhat.com>
7283 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7284 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7286 2014-07-14 Pedro Alves <palves@redhat.com>
7288 * gdb.base/double-prompt-target-event-error.c: New file.
7289 * gdb.base/double-prompt-target-event-error.exp: New file.
7291 2014-07-14 Pedro Alves <palves@redhat.com>
7294 * gdb.base/paginate-inferior-exit.c: New file.
7295 * gdb.base/paginate-inferior-exit.exp: New file.
7297 2014-07-14 Pedro Alves <palves@redhat.com>
7300 * gdb.base/paginate-bg-execution.c: New file.
7301 * gdb.base/paginate-bg-execution.exp: New file.
7303 2014-07-14 Pedro Alves <palves@redhat.com>
7306 * gdb.base/paginate-execution-startup.c: New file.
7307 * gdb.base/paginate-execution-startup.exp: New file.
7308 * lib/gdb.exp (pagination_prompt): New global.
7309 (default_gdb_spawn): New procedure, factored out from
7311 (default_gdb_start): Adjust to call default_gdb_spawn.
7312 (gdb_spawn): New procedure.
7314 2014-07-14 Pedro Alves <palves@redhat.com>
7316 * lib/gdb.exp (gdb_assert): New procedure.
7317 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7319 2014-07-14 Pedro Alves <palves@redhat.com>
7321 * gdb.base/execution-termios.c: New file.
7322 * gdb.base/execution-termios.exp: New file.
7324 2014-07-14 Tom Tromey <tromey@redhat.com>
7326 * gdb.cp/vla-cxx.cc: New file.
7327 * gdb.cp/vla-cxx.exp: New file.
7329 2014-07-14 Tom Tromey <tromey@redhat.com>
7331 * gdb.reverse/rerun-prec.c: New file.
7332 * gdb.reverse/rerun-prec.exp: New file.
7334 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7335 Maciej W. Rozycki <macro@codesourcery.com>
7337 * lib/gdb-utils.exp: New file.
7338 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7339 inline `gdb_init_command' processing.
7340 (gdb_start_cmd): Likewise.
7341 * lib/mi-support.exp (mi_run_cmd): Likewise.
7342 * README: Document `gdb_init_command' and `gdb_init_commands'.
7344 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7346 Fix false FAIL running under a very long directory name.
7347 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7348 and "set print elements 10000". Twice.
7350 2014-07-11 Yao Qi <yao@codesourcery.com>
7352 * gdb.base/exprs.exp: "set print symbol off".
7354 2014-07-11 Pedro Alves <palves@redhat.com>
7356 * gdb.threads/kill.c: New file.
7357 * gdb.threads/kill.exp: New file.
7359 2014-07-10 Yao Qi <yao@codesourcery.com>
7361 * gdb.trace/tfile.c (write_basic_trace_file)
7362 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7363 address written to trace file.
7365 2014-07-09 Pedro Alves <palves@redhat.com>
7367 * gdb.base/attach-wait-input.exp: New file.
7368 * gdb.base/attach-wait-input.c: New file.
7370 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7372 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7373 setting up test structures.
7374 (main): Call new test function.
7375 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7376 test function, continue into test function and walk test
7379 2014-07-02 Yao Qi <yao@codesourcery.com>
7381 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7382 'bar_start' at the beginning of functions 'foo' and 'bar'
7384 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7385 instead of 'foo' and 'bar'.
7387 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7389 * gdb.btrace/segv.exp: New.
7390 * gdb.btrace/segv.c: New.
7392 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7394 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7397 2014-06-30 Mark Wielaard <mjw@redhat.com>
7399 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7400 vulture, vilify, villar): New volatile array constants.
7401 (vindictive, vegetation): New const volatile array constants.
7402 * gdb.base/volatile.exp: Test volatile and const volatile array
7405 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7407 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7408 target lacks support for awatch, rwatch, or hbreak.
7410 2014-06-27 Yao Qi <yao@codesourcery.com>
7412 * gdb.multi/dummy-frame-restore.exp: New.
7413 * gdb.multi/dummy-frame-restore.c: New.
7415 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7417 * gdb.btrace/gcore.exp: New.
7419 2014-06-23 Pedro Alves <palves@redhat.com>
7421 * gdb.base/watchpoint-reuse-slot.c: New file.
7422 * gdb.base/watchpoint-reuse-slot.exp: New file.
7424 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7426 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7427 progspace's filename in 'info', 'enable' and 'disable' command
7430 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7432 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7433 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7434 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7436 2014-06-20 Gary Benson <gbenson@redhat.com>
7438 * gdb.arch/i386-avx.exp: Fix include file location.
7439 * gdb.arch/i386-sse.exp: Likewise.
7441 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7443 * gdb.dlang/expression.exp: New file.
7445 2014-06-19 Pedro Alves <palves@redhat.com>
7447 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7449 (top level): ... here. Iterate running tests under different
7450 scheduler-locking settings.
7452 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7454 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7455 to DW_FORM_addr and use non-zero addresses.
7457 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7460 * gdb.python/py-xmethods.cc: Add global function call counters and
7461 increment them in their respective functions. Remove "cout"
7463 * gdb.python/py-xmethods.exp: Make tests check the global function
7464 call counters instead of depending on inferior IO.
7466 2014-06-18 Don Breazeal <donb@codesourcery.com>
7468 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7470 (explicit_fork_parent_follow): Deleted procedure.
7471 (explicit_fork_child_follow): Deleted procedure.
7472 (test_follow_fork): New procedure.
7473 (do_fork_tests): Replace calls to deleted procedures with
7474 calls to test_follow_fork and reset GDB for subsequent
7477 2014-06-17 Yao Qi <yao@codesourcery.com>
7479 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7482 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7484 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7485 Initialize ptr and S explicitly.
7486 (skip_type_update_when_not_use_rtti_test): Likewise.
7488 2014-06-16 Keith Seitz <keiths@redhat.com>
7491 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7492 the inferior is started.
7494 2014-06-16 Pedro Alves <palves@redhat.com>
7496 * gdb.base/break-main-file-remove-fail.c: New file.
7497 * gdb.base/break-main-file-remove-fail.exp: New file.
7498 * gdb.base/break-unload-file.exp: Use build_executable instead of
7499 prepare_for_testing.
7500 (test_break): New parameter "initial_load". Handle it.
7501 (top level): Add initial_load cmdline/file axis.
7503 2014-06-12 Tom Tromey <tromey@redhat.com>
7505 * gdb.base/completion.exp: Don't use directory name in test.
7507 2014-06-09 Gary Benson <gbenson@redhat.com>
7509 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7510 separate the always-available ANSI-standard signals from the
7511 signals that require checking.
7513 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7517 2014-06-07 Keith Seitz <keiths@redhat.com>
7521 * gdb.cp/var-tag.cc: New file.
7522 * gdb.cp/var-tag.exp: New file.
7523 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7524 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7525 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7526 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7528 2014-06-06 Doug Evans <xdje42@gmail.com>
7530 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7532 2014-06-06 Pedro Alves <palves@redhat.com>
7534 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7535 in target debug output instead of looking at RSP packets,
7536 disabling the test on any target that uses hardware stepping.
7539 2014-06-06 Pedro Alves <palves@redhat.com>
7541 * gdb.base/break-unload-file.exp: Fix typo.
7543 2014-06-06 Yao Qi <yao@codesourcery.com>
7545 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7546 from "jit_function" to "^jit_function".
7548 2014-06-06 Yao Qi <yao@codesourcery.com>
7550 * gdb.base/async.c (foo): Add one statement.
7551 * gdb.base/async.exp: Get the next instruction address and
7552 match the output of "nexti" by instruction address. Match
7553 the hex address in the output of "finish".
7555 2014-06-06 Gary Benson <gbenson@redhat.com>
7557 * gdb.base/call-signals.c: Remove preprocessor conditionals
7558 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7559 SIGSEGV and SIGTERM.
7560 * gdb.base/sigall.c: Likewise.
7561 * gdb.base/unwindonsignal.c: Likewise.
7562 * gdb.reverse/sigall-reverse.c: Likewise.
7564 2014-06-06 Yao Qi <yao@codesourcery.com>
7566 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7567 readable, skip the test.
7569 2014-06-06 Yao Qi <yao@codesourcery.com>
7571 * gdb.threads/staticthreads.c (thread_function): Move the line
7572 setting breakpoint on forward.
7573 * gdb.threads/staticthreads.exp: Update comments.
7575 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7577 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7578 "history-append! type error".
7580 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7582 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7583 erroneous dprintf expected input.
7585 2014-06-04 Doug Evans <xdje42@gmail.com>
7587 * gdb.guile/scm-generics.exp: Delete.
7589 2014-06-04 Doug Evans <xdje42@gmail.com>
7591 * gdb.guile/scm-breakpoint.exp: Update.
7592 Add tests for breakpoint registration.
7594 2014-06-04 Tom Tromey <tromey@redhat.com>
7596 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7598 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7599 inner_vla_struct, vla_union types. Initialize objects of those
7600 types and compute their sizes.
7602 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7603 Hui Zhu <hui@codesourcery.com>
7605 * gdb.base/fileio.exp: Add test for shell not available as well as
7607 * gdb.base/fileio.c (test_system): Check for shell twice.
7609 2014-06-04 Yao Qi <yao@codesourcery.com>
7611 * gdb.base/auto-connect-native-target.exp: Remove redundant
7612 space from the regexp pattern.
7614 2014-06-04 Yao Qi <yao@codesourcery.com>
7616 * gdb.base/default.exp: Replace "child" with "native" in
7619 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7621 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7622 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7623 * gdb.python/py-xmethods.py: Python script supporting the
7624 new testcase and tests.
7626 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7627 Pedro Alves <palves@redhat.com>
7629 PR breakpoints/17000
7630 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7631 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7633 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7635 * gdb.base/subst.exp: Add tests to verify partial path matching
7638 2014-06-03 Pedro Alves <palves@redhat.com>
7640 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7641 target that doesn't use software single-stepping.
7643 2014-06-03 Pedro Alves <palves@redhat.com>
7645 PR breakpoints/17000
7646 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7647 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7649 2014-06-02 Doug Evans <xdje42@gmail.com>
7651 * gdb.guile/scm-parameter.exp: New file.
7653 2014-06-02 Doug Evans <xdje42@gmail.com>
7655 * gdb.guile/scm-cmd.c: New file.
7656 * gdb.guile/scm-cmd.exp: New file.
7658 2014-06-02 Doug Evans <xdje42@gmail.com>
7660 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7661 pretty-printer lookup.
7662 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7663 (make-pp_s-printer): Call it.
7664 (make-pretty-printer-from-dict): New function.
7665 (lookup-pretty-printer-maker-from-dict): New function.
7666 (*pretty-printer*): Simplify.
7667 (make-objfile-pp_s-printer): New function.
7668 (install-objfile-pretty-printers!): New function.
7669 (make-progspace-pp_s-printer): New function.
7670 (install-progspace-pretty-printers!): New function.
7671 * gdb.guile/scm-progspace.c: New file.
7672 * gdb.guile/scm-progspace.exp: New file.
7674 2014-06-02 Pedro Alves <palves@redhat.com>
7676 * gdb.base/dprintf-bp-same-addr.c: New file.
7677 * gdb.base/dprintf-bp-same-addr.exp: New file.
7679 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7681 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7682 * gdb.arch/powerpc-power.s: Likewise.
7684 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7686 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7688 2014-06-01 Yao Qi <yao@codesourcery.com>
7690 * gdb.base/watchpoint.exp (test_watch_location): Check null
7691 pointer can be dereferenced. If not, do the test, otherwise
7694 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7696 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7698 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7700 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7702 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7703 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7704 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7705 * gdb.arch/amd64-invalid-stack-top.c: New file.
7706 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7708 2014-05-30 Pedro Alves <palves@redhat.com>
7710 PR breakpoints/17000
7711 * gdb.base/sss-bp-on-user-bp.c: New file.
7712 * gdb.base/sss-bp-on-user-bp.exp: New file.
7714 2014-05-30 David Blaikie <dblaikie@gmail.com>
7716 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7717 gnu_inline semantics via attribute.
7718 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7719 source explicitly specifies the required semantics.
7721 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7723 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7725 2014-05-29 Pedro Alves <palves@redhat.com>
7726 Tom Tromey <tromey@redhat.com>
7728 * gdb.base/async-shell.exp: Don't enable target-async.
7729 * gdb.base/async.exp
7730 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7732 (top level): Don't test with "target-async".
7733 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7734 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7735 * gdb.base/inferior-died.exp: Don't enable target-async.
7736 * gdb.base/interrupt-noterm.exp: Likewise.
7737 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7738 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7739 * gdb.mi/mi-nonstop.exp: Likewise.
7740 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7741 * gdb.mi/mi-nsintrall.exp: Likewise.
7742 * gdb.mi/mi-nsmoribund.exp: Likewise.
7743 * gdb.mi/mi-nsthrexec.exp: Likewise.
7744 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7745 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7746 * gdb.python/py-evsignal.exp: Don't enable target-async.
7747 * gdb.python/py-evthreads.exp: Likewise.
7748 * gdb.python/py-prompt.exp: Likewise.
7749 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7750 * gdb.server/solib-list.exp: Don't enable target-async.
7751 * gdb.threads/thread-specific-bp.exp: Likewise.
7752 * lib/mi-support.exp: Adjust to use mi-async.
7754 2014-05-29 Pedro Alves <palves@redhat.com>
7757 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7758 reason, even in sync mode.
7760 2014-05-29 Pedro Alves <palves@redhat.com>
7761 Hui Zhu <hui@codesourcery.com>
7764 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7765 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7766 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7767 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7769 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7771 * config/monitor.exp (gdb_target_monitor): Replace use of
7772 "set remotebaud" by "set serial baud".
7774 2014-05-26 Andy Wingo <wingo@igalia.com>
7776 * gdb.guile/scm-breakpoint.exp:
7777 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7778 properties instead of gdb-object-properties.
7780 2014-05-26 Yao Qi <yao@codesourcery.com>
7782 * gdb.server/no-thread-db.exp: Specify source file name
7783 explicitly when setting a breakpoint.
7785 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7787 * gdb.btrace/vdso.c: New.
7788 * gdb.btrace/vdso.exp: New.
7790 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7792 * gdb.base/gcore.exp (capture_command_output): Move ...
7793 * lib/gdb.exp (capture_command_output): ... here.
7795 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7797 * gdb.btrace/data.exp: Test memory access during btrace replay.
7799 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7801 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7803 2014-05-21 Pedro Alves <palves@redhat.com>
7806 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7807 (top level): Test that output related to execution commands is
7808 sent to the console with CLI commands, but not with MI commands.
7809 Test that breakpoint events are always mirrored to the console.
7810 Also expect the new source line to be output after a "next" in
7811 async mode too. Make it a pass/fail test.
7812 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7814 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7816 2014-05-21 Pedro Alves <palves@redhat.com>
7818 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7819 Use them to test variations of "list" after reaching a breakpoint.
7820 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7821 Test "list" with listsize 10 after reaching a breakpoint.
7822 * gdb.python/python.exp (decode_line current location line
7823 number): Adjust expected line number.
7825 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7827 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7828 behavior for $args, pass it directly to "run".
7830 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7832 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7835 2014-05-21 Pedro Alves <palves@redhat.com>
7837 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7838 auto-connect-native-target off".
7839 * gdb.base/auto-connect-native-target.c: New file.
7840 * gdb.base/auto-connect-native-target.exp: New file.
7842 2014-05-21 Pedro Alves <palves@redhat.com>
7844 * gdb.base/default.exp: Test "target native" instead of "target
7847 2014-05-21 Mark Wielaard <mjw@redhat.com>
7849 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7851 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7853 Fix TLS access for -static -pthread.
7854 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7855 <HAVE_TLS> (thread_function, main): Initialize it.
7856 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7858 <$have_tls != "">: Check TLSVAR.
7860 2014-05-21 Pedro Alves <palves@redhat.com>
7862 * gdb.base/dcache-line-read-error.c: New.
7863 * gdb.base/dcache-line-read-error.exp: New.
7865 2014-05-20 Pedro Alves <palves@redhat.com>
7867 * gdb.base/compare-sections.c: New file.
7868 * gdb.base/compare-sections.exp: New file.
7870 2014-05-20 Pedro Alves <palves@redhat.com>
7872 * gdb.base/break-idempotent.c: New file.
7873 * gdb.base/break-idempotent.exp: New file.
7875 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7877 * gdb.btrace/nohist.exp: New.
7879 2014-05-20 Yao Qi <yao@codesourcery.com>
7881 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7882 gdb.reverse directory and gdb_reverse_timeout exists in board
7884 * README: Document gdb_reverse_timeout.
7886 2014-05-20 Yao Qi <yao@codesourcery.com>
7888 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7889 'test_file_name'. Treat args as a string instead of a list.
7890 (gdb_init): Rename argument 'args' by 'test_file_name'.
7892 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7894 * gdb.arch/powerpc-power.exp: New file.
7895 * gdb.arch/powerpc-power.s: New file.
7897 2014-05-16 Doug Evans <dje@google.com>
7899 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7900 * gdb.base/completion.exp: Check that all expected files exist
7901 before doing file completion.
7903 2014-05-16 Doug Evans <dje@google.com>
7905 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7907 (do_syscall_tests_without_xml): Update.
7909 2014-05-16 Pedro Alves <palves@redhat.com>
7911 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7912 instead of "unknown output after running".
7914 2014-05-16 Yao Qi <yao@codesourcery.com>
7916 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7917 file1.txt from host at the end.
7918 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7920 2014-05-15 Doug Evans <dje@google.com>
7922 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7923 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7924 loading file. Add test for TU lookup.
7926 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7928 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7929 calling "-exec-arguments" or "set args" before running the
7932 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7934 * lib/mi-support.exp (mi_expect_stop): Expect message for
7935 inferiors that exit with non-zero exit code.
7937 2014-05-14 Yao Qi <yao@codesourcery.com>
7939 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7940 match absolute path on remote host.
7941 (test_file_list_exec_source_files): Remove "/" from the
7944 2014-05-14 Yao Qi <yao@codesourcery.com>
7946 * boards/local-remote-host-notty.exp (${board}_file): New
7949 2014-05-07 Kyle McMartin <kyle@redhat.com>
7951 Pushed by Joel Brobecker <brobecker@adacore.com>.
7952 * gdb.arch/aarch64-atomic-inst.c: New file.
7953 * gdb.arch/aarch64-atomic-inst.exp: New file.
7955 2014-05-07 Yao Qi <yao@codesourcery.com>
7957 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7958 in current context" too.
7960 2014-05-05 Keith Seitz <keiths@redhat.com>
7962 * gdb.linespec/ls-dollar.exp: Add test for linespec
7963 file:convenience_variable.
7965 2014-05-05 Yao Qi <yao@codesourcery.com>
7967 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7968 traceframes into tfile and ctf trace files. Read data from
7969 trace file and test collected data.
7970 (gdb_collect_locals_test): Likewise.
7971 (gdb_unavailable_registers_test): Likewise.
7972 (gdb_unavailable_floats): Likewise.
7973 (gdb_collect_globals_test): Likewise.
7974 (top-level): Append "ctf" to trace_file_targets if GDB
7977 2014-05-05 Yao Qi <yao@codesourcery.com>
7979 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7981 (gdb_collect_args_test_1): ... it. New proc.
7982 (gdb_collect_locals_test): Move some code to ...
7983 (gdb_collect_locals_test_1): ... it. New proc.
7984 (gdb_unavailable_registers_test): Move some code to ...
7985 (gdb_unavailable_registers_test_1): ... it. New proc.
7986 (gdb_unavailable_floats): Move some code to ...
7987 (gdb_unavailable_floats_1): ... it. New proc.
7989 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7991 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7992 probes to test for bitness recognition.
7993 * gdb.arch/amd64-stap-optional-prefix.exp
7994 (test_probe_value_without_reg): New procedure.
7995 Add code to test for different kinds of bitness.
7997 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7999 PR breakpoints/16889
8000 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8001 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8003 2014-05-01 Pedro Alves <palves@redhat.com>
8005 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8006 gdb_file_cmd if no file is specified.
8007 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8008 last_loaded_file to set the remote exec-file.
8010 2014-05-01 Pedro Alves <palves@redhat.com>
8012 * boards/local-remote-host.exp: New file.
8014 2014-05-01 Pedro Alves <palves@redhat.com>
8016 * boards/local-remote-host.exp: Rename to ...
8017 * boards/local-remote-host-notty.exp: ... this.
8019 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8021 * gdb.ada/dyn_arrayidx: New testcase.
8023 2014-04-26 Yao Qi <yao@codesourcery.com>
8025 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8026 and compute the length of function main. Save it in
8028 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8029 (top-level): Use gdb_compile to compile objects into
8030 executable and restart GDB. Remove invocation to
8031 prepare_for_testing.
8033 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8034 Pedro Alves <palves@redhat.com>
8037 * gdb.multi/multi-attach.c: New file.
8038 * gdb.multi/multi-attach.exp: New file.
8040 2014-04-25 Pedro Alves <palves@redhat.com>
8042 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8044 (top level): Test that "set remote conditional-breakpoints-packet
8045 off" works as intended.
8046 * gdb.base/dprintf.exp: Test that "set remote
8047 breakpoint-commands-packet off" works as intended.
8048 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8050 (top level): Call it.
8051 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8052 remote fast-tracepoints-packet off" works as intended.
8053 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8054 * lib/gdb.exp (gdb_is_target_remote): ... here.
8056 2014-04-24 David Blaikie <dblaikie@gmail.com>
8058 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8059 ensure clang would not discard them.
8060 * gdb.base/gdbvars.c: Ditto.
8061 * gdb.base/memattr.c: Ditto.
8062 * gdb.base/whatis.c: Ditto.
8063 * gdb.python/py-prettyprint.c: Ditto.
8064 * gdb.trace/actions.c: Ditto.
8065 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8066 ensure clang would not discard it.
8068 2014-04-24 David Blaikie <dblaikie@gmail.com>
8070 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8071 clang to emit the full definition of type required by the test
8072 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8074 2014-04-24 David Blaikie <dblaikie@gmail.com>
8076 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8077 coax Clang into emitting the definition of the type.
8078 * gdb.cp/pr10728-x.h (y): Ditto.
8079 * gdb.cp/pr10728-y.cc (y): Ditto.
8081 2014-04-24 David Blaikie <dblaikie@gmail.com>
8083 * gdb.base/label.exp: XFAIL label related tests under Clang.
8084 * gdb.cp/cplabel.exp: Ditto.
8085 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8086 under Clang those using labels.
8088 2014-04-25 Yao Qi <yao@codesourcery.com>
8090 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8092 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8093 partial_label and double_label.
8095 2014-04-24 David Blaikie <dblaikie@gmail.com>
8097 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8099 2014-04-24 David Blaikie <dblaikie@gmail.com>
8101 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8102 of the function to work across GCC and Clang.
8103 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8104 pointer types (const void ** const V void **).
8106 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8107 Walfred Tedeschi <walfred.tedeschi@intel.com>
8109 * Makefile.in (EXECUTABLES): Added i386-avx512.
8110 * gdb.arch/i386-avx512.c: New file.
8111 * gdb.arch/i386-avx512.exp: Likewise.
8113 2014-04-23 Keith Seitz <keiths@redhat.com>
8115 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8116 (mi_make_breakpoint_table): New procedure.
8117 (mi_create_breakpoint): Use mi_make_breakpoint
8118 and return the result.
8119 (mi_make_breakpoint): New procedure.
8120 (mi_build_kv_pairs): New procedure.
8122 * gdb.mi/mi-break.exp: Remove unused globals,
8123 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8124 All callers updated.
8125 * gdb.mi/mi-dprintf.exp: Use variable to track command
8127 Update all callers of mi_create_breakpoint and use
8128 mi_make_breakpoint_table.
8129 Remove any unused global variables.
8130 * gdb.mi/mi-nonstop.exp: Likewise.
8131 * gdb.mi/mi-nsintrall.exp: Likewise.
8132 * gdb.mi/mi-nsmoribund.exp: Likewise.
8133 * gdb.mi/mi-nsthrexec.exp: Likewise.
8134 * gdb.mi/mi-reverse.exp: Likewise.
8135 * gdb.mi/mi-simplerun.exp: Likewise.
8136 * gdb.mi/mi-stepn.exp: Likewise.
8137 * gdb.mi/mi-syn-frame.exp: Likewise.
8138 * gdb.mi/mi-until.exp: Likewise.
8139 * gdb.mi/mi-var-cp.exp: Likewise.
8140 * gdb.mi/mi-var-display.exp: Likewise.
8141 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8142 * gdb.mi/mi2-var-child.exp: Likewise.
8143 * gdb.mi/mi-vla-c99.exp: Likewise.
8144 * lib/mi-support.exp: Likewise.
8146 From Ian Lance Taylor <iant@cygnus.com>:
8147 * lib/gdb.exp (parse_args): New procedure.
8149 2014-04-23 Pedro Alves <palves@redhat.com>
8151 * gdb.base/break-unload-file.c: New file.
8152 * gdb.base/break-unload-file.exp: New file.
8153 * gdb.base/sym-file-lib.c (baz): New function.
8154 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8156 (load): Store the segment's mapped size.
8157 (unload): New function.
8158 (unload_shlib): New function.
8159 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8160 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8161 set a breakpoint at baz, and call it.
8162 * gdb.base/sym-file.exp: New tests for stale breakpoint
8165 2014-04-23 Pedro Alves <palves@redhat.com>
8167 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8168 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8169 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8170 * gdb.base/hbreak-unmapped.c: New file.
8171 * gdb.base/hbreak-unmapped.exp: New file.
8172 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8173 * lib/gdb.exp (gdb_is_target_remote): ... here.
8175 2014-04-22 Pedro Alves <palves@redhat.com>
8177 * gdb.base/consecutive-step-over.c: New file.
8178 * gdb.base/consecutive-step-over.exp: New file.
8180 2014-04-22 Pedro Alves <palves@redhat.com>
8182 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8183 instead of send_gdb/gdb_expect.
8185 2014-04-22 Yao Qi <yao@codesourcery.com>
8187 * lib/trace-support.exp (generate_tracefile): New procedure.
8188 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8190 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8191 if generate_tracefile returns 1.
8193 2014-04-18 Tom Tromey <palves@redhat.com>
8194 Pedro alves <tromey@redhat.com>
8197 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8198 with a backtrace limit.
8199 * gdb.python/py-frame-inline.exp: Test running to an inline
8200 function with a backtrace limit, and printing the newest frame.
8201 * gdb.python/py-frame-inline.c (main): Call f.
8203 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8205 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8207 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8209 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8210 Drop prefix from unsupported source file path.
8212 2014-04-17 Yao Qi <yao@codesourcery.com>
8214 * lib/gdb.exp (with_target_charset): New proc.
8215 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8216 with_target_charset.
8217 (test_print_strings): Likewise.
8218 (test_repeat_bytes): Likewise.
8219 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8222 2014-04-16 Keith Seitz <keiths@redhat.com>
8225 * gdb.dwarf2/corrupt.c: New file.
8226 * gdb.dwarf2/corrupt.exp: New file.
8228 2014-04-16 Keith Seitz <keiths@redhat.com>
8231 * gdb.cp/namelessclass.cc: New file.
8232 * gdb.cp/namelessclass.exp: New file.
8233 * gdb.cp/namelessclass.S: New file.
8235 2014-04-16 Doug Evans <dje@google.com>
8237 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8239 (gdbserver_default_get_comm_port): New function.
8240 (gdbserver_start): Check if board file provided
8241 "gdbserver,get_comm_port" and use it if so.
8242 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8243 (gdb,socketport): Set to "stdio".
8244 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8245 (stdio_gdbserver_template): Delete.
8246 (${board}_get_remote_address): Update.
8247 (${board}_build_remote_cmd): Delete.
8248 (${board}_get_comm_port): New function.
8249 (${board}_spawn): Update.
8250 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8252 (${board}_get_remote_address): Update.
8253 (${board}_get_comm_port): New function.
8255 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8257 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8258 appearing in any order.
8260 2014-04-15 Doug Evans <dje@google.com>
8262 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8263 uninitialized value of "description".
8265 2014-04-15 Keith Seitz <keiths@redhat.com>
8267 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8268 Remove unused globals.
8269 (test_running_the_program): Likewise.
8270 (test_controlled_execution): Likewise.
8271 (test_controlling_breakpoints): Likewise.
8272 (test_program_termination): Likewise.
8274 2014-04-15 Keith Seitz <keiths@redhat.com>
8276 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8278 (test_rbreak_creation_and_listing): Likewise.
8279 (test_ignore_count): Likewise.
8280 (test_error): Likewise.
8282 2014-04-15 Pedro Alves <palves@redhat.com>
8284 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8285 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8287 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8288 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8289 to sym-file-loader.c.
8290 (struct library): Forward declare.
8291 (load_shlib, lookup_function): Change prototypes.
8292 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8293 (translate_offset): Remove declarations.
8294 (get_text_addr): New declaration.
8295 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8296 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8298 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8299 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8300 here from sym-file-loader.h.
8301 (struct library): New structure.
8302 (load_shlib, lookup_function): Change prototypes and adjust to
8303 work with a struct library.
8304 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8305 (translate_offset): Make static.
8306 (get_text_addr): New function.
8307 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8309 2014-04-15 Pedro Alves <palves@redhat.com>
8311 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8313 2014-04-15 Pedro Alves <palves@redhat.com>
8315 * gdb.base/sym-file-loader.c: Include <limits.h>.
8316 (SELF_LINK): New define.
8317 (get_origin): New function.
8318 (load_shlib): Use it.
8319 * gdb.base/sym-file.exp: Don't early return if the target is
8320 remote. Use runto_main, and issue fail is that fails. Use
8322 (shlib_name): Delete.
8323 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8325 2014-04-15 Pedro Alves <palves@redhat.com>
8327 * gdb.base/sym-file.exp: Remove regex characters from test
8328 message. Don't refer to breakpoint numbers in test messages.
8330 2014-04-14 Keith Seitz <keiths@redhat.com>
8333 * gdb.cp/var-tag.cc: New file.
8334 * gdb.cp/var-tag.exp: New file.
8335 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8336 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8337 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8338 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8340 2014-04-14 Tom Tromey <tromey@redhat.com>
8342 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8343 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8345 * gdb.cp/enum-class.exp: New file.
8346 * gdb.cp/enum-class.cc: New file.
8348 2014-04-14 Tom Tromey <tromey@redhat.com>
8350 * gdb.dwarf2/enum-type.exp: New file.
8352 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8354 * gdb.mi/mi-vla-c99.exp: New file.
8355 * gdb.mi/vla.c: New file.
8357 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8359 * gdb.base/vla-datatypes.c: New file.
8360 * gdb.base/vla-datatypes.exp: New file.
8362 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8364 * gdb.base/vla-ptr.c: New file.
8365 * gdb.base/vla-ptr.exp: New file.
8367 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8369 * gdb.dwarf2/count.exp: New file.
8371 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8373 * gdb.base/vla-sideeffect.c: New file.
8374 * gdb.base/vla-sideeffect.exp: New file.
8376 2014-04-14 David Blaikie <dblaikie@gmail.com>
8378 * gdb.mi/non-stop.c: Add return value for non-void function return
8380 * gdb.threads/staticthreads.c: Ditto.
8382 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8383 Doug Evans <xdje42@gmail.com>
8385 * gdb.guile/scm-value.c: Improve test case.
8386 * gdb.guile/scm-value.exp: Add new test.
8388 2014-04-11 David Blaikie <dblaikie@gmail.com>
8390 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8391 override Clang's default.
8393 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8395 Revert the following changes (regressions):
8397 * gdb.base/vla-sideeffect.c: New file.
8398 * gdb.base/vla-sideeffect.exp: New file.
8400 * gdb.dwarf2/count.exp: New file.
8402 * gdb.base/vla-multi.c: New file.
8403 * gdb.base/vla-multi.exp: New file.
8405 * gdb.base/vla-ptr.c: New file.
8406 * gdb.base/vla-ptr.exp: New file.
8408 * gdb.base/vla-datatypes.c: New file.
8409 * gdb.base/vla-datatypes.exp: New file.
8411 * gdb.mi/mi-vla-c99.exp: New file.
8412 * gdb.mi/vla.c: New file.
8414 2014-04-11 Keith Seitz <keiths@redhat.com>
8417 * gdb.cp/cpsizeof.exp: New file.
8418 * gdb.cp/cpsizeof.cc: New file.
8420 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8422 * gdb.mi/mi-vla-c99.exp: New file.
8423 * gdb.mi/vla.c: New file.
8425 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8427 * gdb.base/vla-datatypes.c: New file.
8428 * gdb.base/vla-datatypes.exp: New file.
8430 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8432 * gdb.base/vla-ptr.c: New file.
8433 * gdb.base/vla-ptr.exp: New file.
8435 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8437 * gdb.base/vla-multi.c: New file.
8438 * gdb.base/vla-multi.exp: New file.
8440 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8442 * gdb.dwarf2/count.exp: New file.
8444 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8446 * gdb.base/vla-sideeffect.c: New file.
8447 * gdb.base/vla-sideeffect.exp: New file.
8449 2014-04-11 Yao Qi <yao@codesourcery.com>
8451 * gdb.base/completion.exp: Check file exists before running tests
8454 2014-04-10 Pedro Alves <palves@redhat.com>
8456 * gdb.base/cond-eval-mode.c: New file.
8457 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8458 prepare_for_testing to build the new file. Check result of
8460 (test_break, test_watch): New procedures.
8461 (top level): Use them.
8463 2014-04-08 Pierre Muller <muller@sourceware.org>
8465 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8466 Ctrl-V use for mingw hosts.
8468 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8470 * gdb.python/py-value.c: Improve test case.
8471 * gdb.python/py-value.exp: Add new test.
8473 2014-04-07 David Blaikie <dblaikie@gmail.com>
8475 * lib/compiler.c: Identify the clang compiler.
8476 * lib/compiler.cc: Ditto.
8478 2014-04-03 Yao Qi <yao@codesourcery.com>
8480 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8482 2014-04-01 Anton Blanchard <anton@samba.org>
8484 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8487 2014-04-01 Anton Blanchard <anton@samba.org>
8489 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8490 prepare_for_testing.
8492 2014-04-01 Anton Blanchard <anton@samba.org>
8494 * gdb.arch/ppc64-atomic-inst.c: Remove.
8495 * gdb.arch/ppc64-atomic-inst.S: New file.
8496 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8498 2014-03-31 Doug Evans <dje@google.com>
8500 * gdb.base/print-symbol-loading-lib.c: New file.
8501 * gdb.base/print-symbol-loading-main.c: New file.
8502 * gdb.base/print-symbol-loading.exp: New file.
8504 2014-03-31 Yao Qi <yao@codesourcery.com>
8506 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8508 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8510 * gdb.ada/mi_dyn_arr: New testcase.
8512 2014-03-27 Doug Evans <dje@google.com>
8514 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8516 2014-03-27 Yao Qi <yao@codesourcery.com>
8518 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8519 if target is nios2-*-*.
8521 2014-03-26 Yao Qi <yao@codesourcery.com>
8523 * lib/gdb.exp (readline_is_used): New proc.
8524 * gdb.base/completion.exp: Move tests on command complete up.
8525 Skip the rest of tests if readline is not used.
8526 * gdb.ada/complete.exp: Skp the test if readline is not
8528 * gdb.base/filesym.exp: Likewise.
8529 * gdb.base/macscp.exp: Likewise.
8530 * gdb.base/readline-ask.exp: Likewise.
8531 * gdb.base/readline.exp: Likewise.
8532 * gdb.python/py-cmd.exp: Likewise.
8533 * gdb.trace/tfile.exp: Likewise.
8535 2014-03-26 Yao Qi <yao@codesourcery.com>
8537 * gdb.base/macscp.exp: Fix code format issues.
8539 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8541 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8542 * gdb.asm/powerpc64le.inc: New file.
8544 2014-03-25 Pedro Alves <palves@redhat.com>
8545 Doug Evans <dje@google.com>
8547 * gdb.base/source-execution.c: New file.
8548 * gdb.base/source-execution.exp: New file.
8549 * gdb.base/source-execution.gdb: New file.
8551 2014-03-24 Doug Evans <dje@google.com>
8553 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8556 2014-03-24 Hui Zhu <hui@codesourcery.com>
8557 Pedro Alves <palves@redhat.com>
8559 PR breakpoints/16101
8560 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8561 test pass/fail messages. Detect missing support for dprintf when
8562 breakpoints are actually inserted.
8563 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8564 breakpoints are actually inserted.
8565 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8568 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8570 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8572 2014-03-22 Doug Evans <xdje42@gmail.com>
8574 * gdb.python/python.exp (python not supported): Verify multi-line
8575 python command issues an error.
8576 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8577 guile command issues an error.
8579 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8581 * gdb.threads/thread-specific.exp: Handle the lack of usable
8582 $this_breakpoint and $this_thread.
8584 2014-03-21 Hui Zhu <hui@codesourcery.com>
8586 * gdb.base/attach.exp (do_command_attach_tests): New.
8588 2014-03-20 Tom Tromey <tromey@redhat.com>
8589 Pedro Alves <palves@redhat.com>
8592 * gdb.base/condbreak-call-false.c: New file.
8593 * gdb.base/condbreak-call-false.exp: New file.
8595 2014-03-20 Pedro Alves <palves@redhat.com>
8597 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8599 (block_signals, unblock_signals): Delete.
8600 (child_function_2, main): Remove references to deleted variable
8603 2014-03-20 Pedro Alves <palves@redhat.com>
8605 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8606 Use pthread_kill to signal thread 2.
8607 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8608 Adjust to make the test send itself a signal rather than using the
8609 host's "kill" command.
8611 2014-03-20 Pedro Alves <palves@redhat.com>
8613 * gdb.threads/multiple-step-overs.c: New file.
8614 * gdb.threads/multiple-step-overs.exp: New file.
8615 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8616 Adjust expected infrun debug output.
8618 2014-03-20 Pedro Alves <palves@redhat.com>
8620 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8621 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8623 2014-03-20 Pedro Alves <palves@redhat.com>
8626 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8627 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8628 of gdb_test_multiple.
8629 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8630 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8632 2014-03-20 Pedro Alves <palves@redhat.com>
8634 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8635 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8637 2014-03-19 Pedro Alves <palves@redhat.com>
8639 * gdb.base/async.exp: Remove early return.
8641 2014-03-19 Pedro Alves <palves@redhat.com>
8643 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8645 2014-03-19 Pedro Alves <palves@redhat.com>
8647 * gdb.base/async.exp (test_background): Expect \r\n after
8648 "completed." in the fail pattern.
8650 2014-03-19 Pedro Alves <palves@redhat.com>
8652 * gdb.base/async.exp (test_background): New procedure.
8653 Use it for all background execution command tests.
8655 2014-03-19 Pedro Alves <palves@redhat.com>
8657 * gdb.base/async.exp: Use prepare_for_testing.
8659 2014-03-19 Pedro Alves <palves@redhat.com>
8661 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8664 2014-03-19 Pedro Alves <palves@redhat.com>
8666 * gdb.base/async.c (main): Add "jump here" and "until here" line
8668 * gdb.base/async.exp (jump_here): New global.
8669 (jump& test): Use it.
8670 (until_here): New global.
8671 (until& test): Use it.
8673 2014-03-19 Pedro Alves <palves@redhat.com>
8675 * gdb.base/async.exp: Don't frob gdb_protocol.
8677 2014-03-18 Doug Evans <xdje42@gmail.com>
8679 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8680 Fix spelling of exec-done-display.
8682 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8685 * gdb.base/gdb-sigterm.c: New file.
8686 * gdb.base/gdb-sigterm.exp: New file.
8688 2014-03-18 Pedro Alves <palves@redhat.com>
8691 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8692 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8695 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8697 * gdb.ada/pckd_arr_ren: New testcase.
8699 2014-03-13 Doug Evans <xdje42@gmail.com>
8702 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8703 collect after discarding symbols.
8705 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8706 Doug Evans <xdje42@gmail.com>
8708 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8709 to history survives a gc.
8711 2014-03-13 Pedro Alves <palves@redhat.com>
8713 * gdb.base/default.exp: Don't test "target procfs".
8715 2014-03-13 Pedro Alves <palves@redhat.com>
8717 * gdb.base/default.exp: Update "target child" and "target procfs"
8718 tests to not expect "Unix".
8720 2014-03-12 Tom Tromey <tromey@redhat.com>
8722 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8723 New procs. Add target-async tests.
8724 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8725 Add target-async tests.
8727 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8729 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8730 'func_start' and 'func_end' for the beginning and end of the
8731 function code, respectively.
8732 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8733 'func_end' instead of 'func' and 'main'.
8735 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8737 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8738 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8739 generate the debug info assembler source.
8741 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8743 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8744 * gdb.dwarf2/arr-subrange.exp: Likewise.
8745 * gdb.dwarf2/dwz.exp: Likewise.
8746 * gdb.dwarf2/method-ptr.exp: Likewise.
8747 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8748 * gdb.dwarf2/subrange.exp: Likewise.
8749 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8750 * gdb.dwarf2/implptrpiece.exp: Likewise.
8751 * gdb.dwarf2/nostaticblock.exp: Likewise.
8753 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8755 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8756 directory to absolute path name arguments.
8758 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8760 * gdb.ada/tagged_access: New testcase.
8762 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8764 * gdb.btrace/data.exp: Update expected output.
8766 2014-03-06 Yao Qi <yao@codesourcery.com>
8768 * gdb.trace/pr16508.exp: New file.
8770 2014-03-05 Pedro Alves <palves@redhat.com>
8773 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8775 (top level): Adjust to use it. Add tests that exercise breakpoint
8776 interaction with the code-cache.
8778 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8780 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8781 test for 'history-append!'.
8783 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8785 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8786 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8787 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8788 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8789 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8790 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8792 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8794 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8795 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8796 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8798 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8800 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8802 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8804 * gdb.dwarf2/arr-stride.c: New file.
8805 * gdb.dwarf2/arr-stride.exp: New file.
8807 2014-02-26 Pedro Alves <palves@redhat.com>
8809 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8810 that won't ever trigger. Make sure that GDB reports the correct
8811 breakpoint that caused the stop.
8813 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8816 * gdb.base/auto-load-script: New file.
8817 * gdb.base/auto-load.c: New file.
8818 * gdb.base/auto-load.exp: New file.
8821 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8823 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8825 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8826 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8828 2014-02-24 Doug Evans <dje@google.com>
8830 * lib/gdb.exp (run_on_host): Log error output if program fails.
8832 2014-02-21 Pedro Alves <palves@redhat.com>
8834 * gdb.threads/step-after-sr-lock.c: Rename to ...
8835 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8836 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8837 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8840 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8843 * gdb.arch/amd64-stap-special-operands.exp: New file.
8844 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8845 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8846 * gdb.arch/amd64-stap-triplet.S: Likewise.
8847 * gdb.arch/amd64-stap-triplet.c: Likewise.
8849 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8851 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8852 in .section pseudo-op.
8854 2014-02-20 lin zuojian <manjian2006@gmail.com>
8855 Joel Brobecker <brobecker@adacore.com>
8856 Doug Evans <xdje42@gmail.com>
8859 * gdb.dwarf2/dw2-icycle.S: New file.
8860 * gdb.dwarf2/dw2-icycle.c: New file.
8861 * gdb.dwarf2/dw2-icycle.exp: New file.
8863 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8865 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8866 operations on gdb.Value objects.
8867 * gdb.python/py-value-cc.exp: Add new test to test operations on
8870 2014-02-18 Doug Evans <dje@google.com>
8872 * Makefile.in (TESTS): New variable.
8873 (expanded_tests, expanded_tests_or_none): New variables
8874 (check-single): Pass $(expanded_tests_or_none) to runtest.
8875 (check-parallel): Only run tests in $(TESTS) if non-empty.
8876 (check/no-matching-tests-found): New rule.
8877 * README: Document TESTS makefile variable.
8879 2014-02-18 Doug Evans <dje@google.com>
8881 * Makefile.in (check-parallel): rm -rf outputs temp.
8883 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8885 Fix "ERROR: no fileid for" in the testsuite.
8886 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8888 2014-02-12 Doug Evans <dje@google.com>
8890 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8891 (MISCELLANEOUS): New variable.
8892 (clean): rm -rf $(MISCELLANEOUS).
8893 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8894 dwp live in the same directory as symlinks, with each symlink pointed
8895 to a differently named file in a different directory.
8897 2014-02-11 Doug Evans <dje@google.com>
8899 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8900 of Tcl file commands.
8902 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8904 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8907 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8909 * gdb.ada/tick_length_array_enum_idx: New testcase.
8911 2014-02-10 Doug Evans <xdje42@gmail.com>
8913 * configure.ac (AC_OUTPUT): Add gdb.guile.
8914 * configure: Regenerate.
8915 * lib/gdb-guile.exp: New file.
8916 * lib/gdb.exp (get_target_charset): New function.
8917 * gdb.base/help.exp: Update expected output from "apropos apropos".
8918 * gdb.guile/Makefile.in: New file.
8919 * gdb.guile/guile.exp: New file.
8920 * gdb.guile/scm-arch.c: New file.
8921 * gdb.guile/scm-arch.exp: New file.
8922 * gdb.guile/scm-block.c: New file.
8923 * gdb.guile/scm-block.exp: New file.
8924 * gdb.guile/scm-breakpoint.c: New file.
8925 * gdb.guile/scm-breakpoint.exp: New file.
8926 * gdb.guile/scm-disasm.c: New file.
8927 * gdb.guile/scm-disasm.exp: New file.
8928 * gdb.guile/scm-equal.c: New file.
8929 * gdb.guile/scm-equal.exp: New file.
8930 * gdb.guile/scm-error.exp: New file.
8931 * gdb.guile/scm-error.scm: New file.
8932 * gdb.guile/scm-frame-args.c: New file.
8933 * gdb.guile/scm-frame-args.exp: New file.
8934 * gdb.guile/scm-frame-args.scm: New file.
8935 * gdb.guile/scm-frame-inline.c: New file.
8936 * gdb.guile/scm-frame-inline.exp: New file.
8937 * gdb.guile/scm-frame.c: New file.
8938 * gdb.guile/scm-frame.exp: New file.
8939 * gdb.guile/scm-generics.exp: New file.
8940 * gdb.guile/scm-gsmob.exp: New file.
8941 * gdb.guile/scm-iterator.c: New file.
8942 * gdb.guile/scm-iterator.exp: New file.
8943 * gdb.guile/scm-math.c: New file.
8944 * gdb.guile/scm-math.exp: New file.
8945 * gdb.guile/scm-objfile-script-gdb.in: New file.
8946 * gdb.guile/scm-objfile-script.c: New file.
8947 * gdb.guile/scm-objfile-script.exp: New file.
8948 * gdb.guile/scm-objfile.c: New file.
8949 * gdb.guile/scm-objfile.exp: New file.
8950 * gdb.guile/scm-ports.exp: New file.
8951 * gdb.guile/scm-pretty-print.c: New file.
8952 * gdb.guile/scm-pretty-print.exp: New file.
8953 * gdb.guile/scm-pretty-print.scm: New file.
8954 * gdb.guile/scm-section-script.c: New file.
8955 * gdb.guile/scm-section-script.exp: New file.
8956 * gdb.guile/scm-section-script.scm: New file.
8957 * gdb.guile/scm-symbol.c: New file.
8958 * gdb.guile/scm-symbol.exp: New file.
8959 * gdb.guile/scm-symtab-2.c: New file.
8960 * gdb.guile/scm-symtab.c: New file.
8961 * gdb.guile/scm-symtab.exp: New file.
8962 * gdb.guile/scm-type.c: New file.
8963 * gdb.guile/scm-type.exp: New file.
8964 * gdb.guile/scm-value-cc.cc: New file.
8965 * gdb.guile/scm-value-cc.exp: New file.
8966 * gdb.guile/scm-value.c: New file.
8967 * gdb.guile/scm-value.exp: New file.
8968 * gdb.guile/source2.scm: New file.
8969 * gdb.guile/types-module.cc: New file.
8970 * gdb.guile/types-module.exp: New file.
8972 2014-02-10 Yao Qi <yao@codesourcery.com>
8975 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8976 * configure: Regenerated.
8977 * Makefile.in: New file.
8979 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8981 * gdb.python/py-framefilter.exp: Fix typo.
8983 2014-02-08 Yao Qi <yao@codesourcery.com>
8985 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8986 that no =breakpoint-modified is emitted when breakpoints are
8987 modified through MI commands.
8989 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8990 Pedro Alves <palves@redhat.com>
8992 * gdb.threads/step-after-sr-lock.c: New file.
8993 * gdb.threads/step-after-sr-lock.exp: New file.
8995 2014-02-07 Pedro Alves <palves@redhat.com>
8997 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8999 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9001 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9002 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9004 2014-02-06 Doug Evans <xdje42@gmail.com>
9006 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9009 * gdb.gdb/python-interrupts.exp: New file.
9011 2014-02-05 Yao Qi <yao@codesourcery.com>
9013 * gdb.trace/report.exp (use_collected_data): Test the output
9014 of "info threads" and "info inferiors".
9016 2014-02-05 Yao Qi <yao@codesourcery.com>
9020 2013-05-24 Yao Qi <yao@codesourcery.com>
9022 * gdb.trace/tfile.exp: Test inferior and thread.
9024 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9026 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9028 * gdb.base/step-bt.c: Call hello via function pointer to make
9029 sure its first instruction is executed on powerpc64le-linux.
9031 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9033 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9035 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9037 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9038 of the test patterns for use on little-endian systems.
9040 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9042 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9043 (decimal_vector): Fix for little-endian.
9045 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9047 * gdb.arch/sparc-sysstep.exp: New file.
9048 * gdb.arch/sparc-sysstep.c: Likewise.
9050 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9052 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9054 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9056 2014-01-23 Tom Tromey <tromey@redhat.com>
9058 * gdb.ada/array_char_idx: New testcase.
9060 2014-01-23 Tom Tromey <tromey@redhat.com>
9063 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9064 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9067 2014-01-23 Tom Tromey <tromey@redhat.com>
9070 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9071 string from an inferior frame.
9072 * gdb.python/py-framefilter-mi.exp: Update.
9074 2014-01-22 Doug Evans <dje@google.com>
9076 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9078 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9080 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9082 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9084 * gdb.trace/entry-values.exp: Remove excess space character from
9085 regex patterns. Handle s390 call instruction.
9087 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9089 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9090 define "*_start" label. Make "name" static.
9091 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9092 ${name} by references to ${name}_start.
9094 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9096 * gdb.base/info-macros.exp: Remove "debug" from the compile
9099 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9101 * gdb.dlang/demangle.exp: New file.
9103 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9105 * gdb.dlang/primitive-types.exp: New file.
9107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9109 * configure.ac: Create gdb.dlang/Makefile.
9110 * configure: Regenerate.
9111 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9112 * gdb.dlang/Makefile.in: New file.
9113 * lib/d-support.exp: New file.
9114 * lib/gdb.exp (skip_d_tests): New proc.
9116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9118 * gdb.btrace/delta.exp: Check reverse stepi.
9119 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9120 * gdb.btrace/finish.exp: New.
9121 * gdb.btrace/next.exp: New.
9122 * gdb.btrace/nexti.exp: New.
9123 * gdb.btrace/record_goto.c: Add comments.
9124 * gdb.btrace/step.exp: New.
9125 * gdb.btrace/stepi.exp: New.
9126 * gdb.btrace/multi-thread-step.c: New.
9127 * gdb.btrace/multi-thread-step.exp: New.
9128 * gdb.btrace/rn-dl-bind.c: New.
9129 * gdb.btrace/rn-dl-bind.exp: New.
9130 * gdb.btrace/data.c: New.
9131 * gdb.btrace/data.exp: New.
9132 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9134 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9136 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9137 * gdb.btrace/exception.exp: Update.
9138 * gdb.btrace/instruction_history.exp: Update.
9139 * gdb.btrace/record_goto.exp: Update.
9140 * gdb.btrace/tailcall.exp: Update.
9141 * gdb.btrace/unknown_functions.exp: Update.
9142 * gdb.btrace/delta.exp: New.
9144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9146 * gdb.btrace/record_goto.exp: Add backtrace test.
9147 * gdb.btrace/tailcall.exp: Add backtrace test.
9149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9151 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9152 * gdb.btrace/record_goto.c: New.
9153 * gdb.btrace/record_goto.exp: New.
9154 * gdb.btrace/x86-record_goto.S: New.
9156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9158 * gdb.btrace/function_call_history.exp: Update tests.
9159 * gdb.btrace/instruction_history.exp: Update tests.
9161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9163 * gdb.btrace/function_call_history.exp: Fix expected field
9164 order for "record function-call-history".
9165 Add new tests for "record function-call-history /c".
9166 * gdb.btrace/exception.cc: New.
9167 * gdb.btrace/exception.exp: New.
9168 * gdb.btrace/tailcall.exp: New.
9169 * gdb.btrace/x86-tailcall.S: New.
9170 * gdb.btrace/x86-tailcall.c: New.
9171 * gdb.btrace/unknown_functions.c: New.
9172 * gdb.btrace/unknown_functions.exp: New.
9173 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9177 * gdb.btrace/instruction_history.exp: Update.
9178 * gdb.btrace/function_call_history.exp: Update.
9180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9182 * gdb.btrace/function_call_history.exp: Fix expected function
9184 * gdb.btrace/instruction_history.exp: Initialize traced.
9185 Remove traced_functions.
9187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9189 * gdb.btrace/function_call_history.exp: Update
9190 * gdb.btrace/instruction_history.exp: Update.
9192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9194 * gdb.btrace/enable.exp: Update expected text.
9196 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9198 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9201 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9203 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9205 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9207 * lib/gdb.exp (supports_process_record): Return true for
9208 arm*-linux*. (supports_reverse): Likewise.
9210 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9214 * gdb.python/py-type.c: Enhance test case.
9215 * gdb.python/py-value-cc.cc: Likewise
9216 * gdb.python/py-type.exp: Add new tests.
9217 * gdb.python/py-value-cc.exp: Likewise
9219 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9220 Pedro Alves <palves@redhat.com>
9222 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9224 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9225 references to ${name}_start by references to ${name}.
9227 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9229 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9231 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9233 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9235 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9236 Pedro Alves <palves@redhat.com>
9238 * gdb.mi/mi-info-os.exp: Connect to the target with
9241 2014-01-08 Pedro Alves <palves@redhat.com>
9243 * gdb.threads/reconnect-signal.c: New file.
9244 * gdb.threads/reconnect-signal.exp: New file.
9246 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9248 * gdb.base/source-dir.exp: New file.
9250 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9252 * gdb.ada/mi_interface: New testcase.
9254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9256 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9257 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9258 gdb.ada/pp-rec-component/pck.ads: New files.
9260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9262 * gdb.python/py-pp-integral.c: New file.
9263 * gdb.python/py-pp-integral.py: New file.
9264 * gdb.python/py-pp-integral.exp: New file.
9266 For older changes see ChangeLog-1993-2013.
9272 ;; version-control: never
9275 Copyright 2014-2016 Free Software Foundation, Inc.
9276 Copying and distribution of this file, with or without modification,
9277 are permitted provided the copyright notice and this notice are preserved.