1 2016-10-13 Yao Qi <yao.qi@linaro.org>
3 * gdb.base/code_elim.exp (get_var_address): Remove.
4 * gdb.base/relocate.exp: Likewise.
5 * gdb.base/shreloc.exp: Likewise.
6 * lib/gdb.exp (get_var_address): New.
8 2016-10-13 Yao Qi <yao.qi@linaro.org>
10 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11 floating point tests if $skip_float_test is false.
13 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
15 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
16 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
18 Add 1 to argc so we guarantee distinct initial/modified argc values.
20 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
24 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
27 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
28 * gdb.arch/vsx-regs.exp: Likewise.
30 2016-10-07 Yao Qi <yao.qi@linaro.org>
32 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
34 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
36 * gdb.python/python.exp: Test decode_line("*0").
38 2016-10-06 Doug Evans <dje@google.com>
40 * gdb.python/py-value.exp (test_value_creation): Add test for large
41 unsigned 64-bit value.
43 2016-10-06 Tom Tromey <tom@tromey.com>
45 * gdb.compile/compile.exp: Change java tests to rust.
46 * gdb.base/setshow.exp: Change java tests to rust.
47 * gdb.base/default.exp: Remove java from language list.
48 * README (Examples): Update language example.
49 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
51 * lib/gdb.exp (skip_java_tests): Remove.
52 * lib/java.exp: Remove.
55 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
57 * gdb.arch/mips-fcr.exp: New test.
58 * gdb.arch/mips-fcr.c: Source for the new test.
60 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
62 * gdb.base/solib-disc.exp: Use `standard_output_file'
65 2016-10-06 Pedro Alves <palves@redhat.com>
67 * gdb.base/jit-simple-dl.c: New file.
68 * gdb.base/jit-simple-jit.c: New file, factored out from ...
69 * gdb.base/jit-simple.c: ... this.
70 * gdb.base/jit-simple.exp (jit_run): Delete.
71 (build_jit): New proc.
72 (jit_test_reread): Recompile either the main program or the shared
73 library, depending on what is being tested. Skip changing address
74 if caller wants to. Compare before/after addresses. If testing
75 standalone, explicitly load the binary. Test "maint info
77 (top level): Add "standalone vs shared lib" and "change address"
78 vs "same address" axes.
80 2016-10-06 Pedro Alves <palves@redhat.com>
82 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
85 (jit_test_reread): Use with_test_prefix. Reload the main binary
86 explicitly. Compare the before/after addresses of the JIT
89 2016-08-15 Doug Evans <dje@google.com>
91 * gdb.xml/extra-regs.xml: Update, end field now required, default type
92 for single bitfields is bool.
93 * gdb.xml/tdesc-regs.exp: Ditto.
95 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
97 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
99 2016-10-05 Yao Qi <yao.qi@linaro.org>
101 * lib/gdb.exp (support_complex_tests): Return zero if
102 gdb_skip_float_test return true.
104 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
105 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
108 * gdb.mi/user-selected-context-sync.exp: New file.
109 * gdb.mi/user-selected-context-sync.c: New file.
111 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
112 2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
115 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
116 =thread-select-event check.
118 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
120 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
121 the compulsory L operand changes.
122 * gdb.arch/powerpc-power.s: Likewise.
124 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
126 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
127 * gdb.base/jit-attach-pie.c: New file.
128 * gdb.base/jit-attach-pie.exp: New file.
130 2016-09-28 Pedro Alves <palves@redhat.com>
132 * gdb.base/infcall-input.c: New file.
133 * gdb.base/infcall-input.exp: New file.
135 2016-09-22 Yao Qi <yao.qi@linaro.org>
137 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
138 (gdb_exit): Rename it to ...
139 (gdbserver_gdb_exit): ... Close GDBserver.
140 (gdb_exit): New proc, call gdbserver_gdb_exit.
141 (mi_gdb_exit): Likewise.
143 2016-09-22 Yao Qi <yao.qi@linaro.org>
145 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
147 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
150 2016-09-22 Yao Qi <yao.qi@linaro.org>
152 * lib/gdbserver-support.exp: Check the existence of
153 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
155 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
157 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
159 2016-09-21 Tom Tromey <tom@tromey.com>
162 * gdb.base/quit.exp: New file.
164 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
166 * .gitignore: New file.
168 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
170 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
173 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
175 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
177 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
179 * gdb.cp/casts.cc (decltype): Move it ...
180 (main): ... with its call to ...
181 * gdb.cp/casts03.cc: ... a new file.
182 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
184 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
186 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
188 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
190 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
191 and sync up the test with tests in gas/testsuite/gas/ppc.
192 * gdb.arch/powerpc-power.exp: Likewise.
194 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
196 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
198 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
199 Jan Kratochvil <jan.kratochvil@redhat.com>
201 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
202 make m1's definition to be different from m2's. Use 'dummy' as an
203 argument for probe 'two'.
205 2016-09-10 Jon Beniston <jon@beniston.com>
207 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
210 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
212 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
213 variable declaration.
214 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
215 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
216 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
217 received HWCAP as its argument.
219 2016-09-06 Pedro Alves <palves@redhat.com>
221 * gdb.base/new-ui-pending-input.c: New file.
222 * gdb.base/new-ui-pending-input.exp: New file.
223 * gdb.exp (clear_gdb_spawn_id): New procedure.
224 (with_spawn_id): Check whether gdb_spawn_id exists before
225 referencing it. If gdb_spawn_id didn't exist on entry, clear it
228 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
230 * gdb.base/float128.c: New file.
231 * gdb.base/float128.exp: Likewise.
232 * gdb.base/floatn.c: Likewise.
233 * gdb.base/floatn.exp: Likewise.
235 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
237 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
239 2016-09-05 Pedro Alves <palves@redhat.com>
242 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
243 unwinders are immediately called as side effect of "source" or
244 "disable unwinder" commands.
245 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
247 2016-09-02 Yao Qi <yao.qi@linaro.org>
249 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
250 is true and $type is "float" or "double".
252 2016-09-02 Yao Qi <yao.qi@linaro.org>
254 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
256 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
257 * gdb.base/call-rt-st.exp: Likewise.
258 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
259 return value instead of gdb,skip_float_test.
260 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
261 (do_function_calls): Use its return value instead of
263 * gdb.base/finish.exp: Likewise.
264 * gdb.base/funcargs.exp: Likewise.
265 * gdb.base/return.exp: Likewise.
266 * gdb.base/return2.exp: Likewise.
267 * gdb.base/varargs.exp: Likewise.
268 * lib/gdb.exp (gdb_skip_float_test): Change it to
269 gdb_caching_proc. Detect the broken ptrace on arm-linux.
271 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
273 * gdb.multi/tids.exp: Test "thread apply all".
275 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
277 * gdb.base/default.exp (tty): Remove.
279 2016-08-24 Kevin Buettner <kevinb@redhat.com>
281 * gdb.python/py-recurse-unwind.c: New file.
282 * gdb.python/py-recurse-unwind.py: New file.
283 * gdb.python/py-recurse-unwind.exp: New file.
285 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
287 * gdb.base/set-inferior-tty.exp: New file.
288 * gdb.base/set-inferior-tty.c: New file.
290 2016-08-23 Pedro Alves <palves@redhat.com>
293 * gdb.base/new-ui-echo.c: New file.
294 * gdb.base/new-ui-echo.exp: New file.
296 2016-08-23 Yao Qi <yao.qi@linaro.org>
298 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
300 * gdb.server/connect-without-multi-process.exp (do_test):
303 2016-08-23 Yao Qi <yao.qi@linaro.org>
305 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
306 standalone_txt. Delete gdb_txt and standalone_txt on host
307 and target. Spawn the binary on target. Copy files from
310 2016-08-22 Pedro Alves <palves@redhat.com>
313 * gdb.base/vdso-warning.exp: Test core dumps too. Use
314 with_test_prefix. Factor out bits to ...
315 (test_no_vdso): ... this new procedure.
317 2016-08-19 Carl Love <cel@us.ibm.com>
319 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
320 maintaining separate logic for constructing the output path.
321 * gdb.arch/powerpc-d128-regs.exp: Likewise.
322 * gdb.arch/ppc-dfp.exp: Likewise.
323 * gdb.arch/ppc-fp.exp: Likewise.
324 * gdb.arch/vsx-regs.exp: Likewise.
325 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
326 binprefix for generating the additional binary files.
328 2016-08-19 Pedro Alves <palves@redhat.com>
330 * gdb.trace/mi-trace-frame-collected.exp
331 (test_trace_frame_collected): On x32, expect two registers.
333 2016-08-18 Carl Love <cel@us.ibm.com>
335 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
336 and sync up the test with tests in gas/testsuite/gas/ppc.
337 * gdb.arch/powerpc-power.exp: Likewise.
339 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
341 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
342 expected error message.
344 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
346 * gdb.multi/remove-inferiors.exp: New file.
347 * gdb.multi/remove-inferiors.c: New file.
349 2016-08-12 Yao Qi <yao.qi@linaro.org>
351 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
354 2016-08-10 Pedro Alves <palves@redhat.com>
357 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
360 2016-08-09 Pedro Alves <palves@redhat.com>
361 Simon Marchi <simon.marchi@ericsson.com>
364 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
365 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
367 2016-08-09 Pedro Alves <palves@redhat.com>
370 * gdb.mi/mi-cmd-error.exp: New file.
372 2016-08-09 Pedro Alves <palves@redhat.com>
375 * gdb.base/signals-state-child.c: New file.
376 * gdb.base/signals-state-child.exp: New file.
377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
379 2016-08-09 Pedro Alves <palves@redhat.com>
381 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
383 2016-08-03 Tom Tromey <tom@tromey.com>
386 * gdb.python/py-frame-inline.exp: Add Frame.function test.
388 2016-08-01 Yao Qi <yao.qi@linaro.org>
390 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
391 variable mode to "multi-process" if $multi_process is 1, otherwise
392 set it to "single-process".
394 2016-08-01 Yao Qi <yao.qi@linaro.org>
396 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
397 * gdb.cp/cpexprs.exp: Likewise.
398 * gdb.cp/m-static.exp: Likewise.
400 2016-07-26 Tom Tromey <tom@tromey.com>
403 * gdb.threads/tls.exp (check_thread_local): Add python symbol
406 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
408 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
409 selecting assembly source files.
410 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
411 assembly source files.
412 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
413 assembly source files.
414 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
415 selecting assembly source files.
417 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
419 * gdb.base/new-ui.exp (do_test_invalid_args): New
422 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
424 * gdb.btrace/reconnect.c: New file.
425 * gdb.btrace/reconnect.exp: New file.
427 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
429 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
430 to test_catch_syscall_group.
431 (test_catch_syscall_group): New.
433 2016-07-21 Tom Tromey <tom@tromey.com>
435 * gdb.rust/simple.rs (main): Use empty struct expression.
436 * gdb.rust/simple.exp: Add tests for empty struct expression.
438 2016-07-21 Yao Qi <yao.qi@linaro.org>
440 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
441 if gdb_skip_xml_test is true on some targets.
443 2016-07-21 Yao Qi <yao.qi@linaro.org>
445 * gdb.server/solib-list.exp: Unset last_loaded_file.
447 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
449 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
450 "step into captured_main (args)".
452 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
454 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
456 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
458 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
460 2016-07-19 Pedro Alves <palves@redhat.com>
462 * gdb.opt/inline-break.exp: Remove optimize=-O2.
463 * gdb.opt/inline-bt.exp: Likewise.
464 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
465 additional_flags=-Winline.
466 * gdb.opt/inline-locals.exp: Likewise.
467 * gdb.opt/inline-markers.c (ATTR): Define.
468 (inlined_fn): Use it.
470 2016-07-19 Yao Qi <yao.qi@linaro.org>
472 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
473 (test_with_self): Remove some code. Remove argument executable.
474 (top-level): Use do_self_tests.
476 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
477 Don Breazeal <donb@codesourcery.com>
479 * gdb.base/maint.exp: Escape paths used in regular expressions.
480 * gdb.stabs/weird.exp: Likewise.
482 2016-07-13 Tom Tromey <tom@tromey.com>
484 PR python/15620, PR python/18620:
485 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
486 (test_bkpt_events): New procs.
488 2016-07-13 Tom Tromey <tom@tromey.com>
491 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
493 (test_watchpoints): Likewise.
494 (test_bkpt_pending): New proc.
496 2016-07-13 Tom Tromey <tom@tromey.com>
499 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
502 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
504 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
505 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
506 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
508 (g): Rename g_end_lbl to g_label.
509 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
511 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
513 2016-07-12 Tom Tromey <tom@tromey.com>
516 * gdb.python/py-unwind-maint.exp: Update tests.
518 2016-07-12 Yao Qi <yao.qi@linaro.org>
520 * lib/selftest-support.exp (selftest_setup): Match the output
521 when captured_main is inlined.
523 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
525 * gdb.fortran/derived-types.exp (result_line, result_line_2):
527 (print this%a, print this%b, print this): New tests.
528 * gdb.fortran/derived-types.f90 (this): New object and
531 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
533 * gdb.ada/arraydim.exp: Remove extra directory level in build
536 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
538 * lib/ada.exp: Remove extra directory level in build directory.
539 * gdb.ada/cond_lang.exp: Likewise.
540 * gdb.ada/exec_changed.exp: Likewise.
541 * gdb.ada/lang_switch.exp: Likewise.
543 2016-07-06 Manish Goregaokar <manish@mozilla.com>
545 * simple.rs: Add test for raw pointer subscripting
546 * simple.exp: Add test expectations
548 2016-07-05 Yao Qi <yao.qi@linaro.org>
550 * gdb.mi/mi-reverse.exp: Match =record-started output.
552 2016-07-01 Pedro Alves <palves@redhat.com>
554 * gdb.base/jit-reader.exp (info_registers_current_frame): New
556 (jit_reader_test): Test the jit reader's unwinder.
557 * gdb.base/jithost.c (jit_function_00_code): New global.
558 (main): Use memcpy to fill in the mmapped code, instead of poking
560 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
562 (read_debug_info): Save the function's range.
563 (read_sp): New function.
564 (unwind_frame): Use it. Also unwind RBP.
565 (get_frame_id): Use read_sp.
566 (gdb_init_reader): Use calloc instead of malloc.
567 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
568 parameter. Use gdb_test_multiple.
570 2016-07-01 Pedro Alves <palves@redhat.com>
571 Antoine Tremblay <antoine.tremblay@ericsson.com>
573 * gdb.threads/process-dies-while-detaching.c: New file.
574 * gdb.threads/process-dies-while-detaching.exp: New file.
576 2016-07-01 Pedro Alves <palves@redhat.com>
578 * gdb.multi/watchpoint-multi-exit.c: New file.
579 * gdb.multi/watchpoint-multi-exit.exp: New file.
581 2016-06-30 Pedro Alves <palves@redhat.com>
583 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
584 unset inferior_spawn_id.
586 2016-06-30 Pedro Alves <palves@redhat.com>
588 * lib/mi-support.exp (default_mi_gdb_start): Declare global
589 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
591 2016-06-29 Yao Qi <yao.qi@linaro.org>
593 * gdb.base/return.c: Add copyright header.
595 2016-06-29 Tom Tromey <tom@tromey.com>
598 * gdb.python/py-framefilter.exp: Add tests for setting priority
599 and disabling of non-existent frame filter.
601 2016-06-29 Yao Qi <yao.qi@linaro.org>
603 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
606 2016-06-28 Yao Qi <yao.qi@linaro.org>
608 * gdb.base/catch-syscall.exp: Remove check on isnative and target
609 triplets. Start gdb, execute catch syscall, and continue. Check
610 gdb's output to determine catch syscall is supported.
612 2016-06-27 Manish Goregaokar <manish@mozilla.com>
614 * gdb.rust/simple.rs: Add test for returning unit in a function.
615 * gdb.rust/simple.exp: Add expectation for functions returning
618 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
620 * gdb.python/py-breakpoint-create-fail.c,
621 gdb.python/py-breakpoint-create-fail.exp,
622 gdb.python/py-breakpoint-create-fail.py: New testcase.
624 2016-06-25 Manish Goregaokar <manish@mozilla.com>
627 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
628 * gdb.rust/simple.exp: Add test expectations for new NonZero
631 2016-06-24 David Taylor <dtaylor@emc.com>
633 * gdb.base/offsets.exp: New file.
634 * gdb.base/offsets.c: New file.
636 2016-06-23 Tom Tromey <tom@tromey.com>
639 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
640 before any filters are loaded.
642 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
644 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
645 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
647 * gdb.fortran/derived-type-function.exp: New file.
648 * gdb.fortran/derived-type-function.f90: New file.
651 2016-06-21 Pedro Alves <palves@redhat.com>
653 * gdb.base/new-ui.exp: New file.
654 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
655 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
656 (with_spawn_id): New procedure.
658 2016-06-21 Pedro Alves <palves@redhat.com>
660 * gdb.mi/mi-exec-run.exp: New file.
662 2016-06-21 Pedro Alves <palves@redhat.com>
664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
665 breakpoint command's output on the main UI.
666 (test_break): New procedure, factored out from calls in the top
668 (top level): Use foreach_with_prefix to test MI as main UI and as
671 2016-06-21 Pedro Alves <palves@redhat.com>
673 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
674 (test_awatch_creation_and_listing)
675 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
676 Remove 'type' parameter.
677 (test_watchpoint_all): New parameter mi_mode. Remove
679 (top level): Use foreach_with_prefix, and add main/separate UI MI
682 2016-06-21 Pedro Alves <palves@redhat.com>
684 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
685 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
686 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
687 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
688 (gdb_main_spawn_id, mi_spawn_id): Declare and
690 (mi_create_inferior_pty): New procedure,
691 factored out from default_mi_gdb_start.
692 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
694 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
695 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
696 Use mi_create_inferior_pty.
697 (mi_gdb_start): Use eval to pass down args list.
699 2016-06-21 Pedro Alves <palves@redhat.com>
701 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
702 * gdb.opt/inline-cmds.exp: Add MI tests.
704 2016-06-21 Pedro Alves <palves@redhat.com>
706 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
708 2016-06-21 Pedro Alves <palves@redhat.com>
710 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
711 (top level): Use it instead of mi_execute_to.
713 2016-06-21 Pedro Alves <palves@redhat.com>
715 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
716 (cont_handler_str): New.
717 (signal_stop_handler): Set stop_handler_str instead of printing to
719 (continue_handler): Set cont_handler_str instead of printing to
721 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
722 mi_send_resuming_command. Print stop_handler_str and
723 cont_handler_str instead of expecting the python events print
726 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
728 * gdb.base/jit-reader.exp: New file.
729 * gdb.base/jithost.c: New file.
730 * gdb.base/jithost.h: New file.
731 * gdb.base/jitreader.c : New file.
732 * gdb.base/jit-protocol.h: New file.
734 2016-06-17 Yao Qi <yao.qi@linaro.org>
736 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
737 parameters follow_fork and detach_on_fork. Set follow-fork-mode
738 and detach-on-fork. Adjust tests.
739 (top level): Invoke break_cond_on_syscall with combinations of
740 syscall, follow-fork-mode and detach-on-fork.
742 2016-06-17 Yao Qi <yao.qi@linaro.org>
744 * gdb.base/step-over-exit.c: New.
745 * gdb.base/step-over-exit.exp: New.
747 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
749 * gdb.base/float.exp: Add target check for nds32*-*-*.
750 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
752 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
754 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
755 for unsupported target features.
756 * gdb.base/call-rt-st.exp: Likewise.
757 * gdb.base/call-sc.exp: Likewise.
758 * gdb.base/call-signal-resume.exp: Likewise.
759 * gdb.base/call-strs.exp: Likewise.
760 * gdb.base/callexit.exp: Likewise.
761 * gdb.base/callfuncs.exp: Likewise.
762 * gdb.base/nodebug.exp: Likewise.
763 * gdb.base/printcmds.exp: Likewise.
764 * gdb.base/ptype.exp: Likewise.
765 * gdb.base/structs.exp: Likewise.
766 * gdb.base/unwindonsignal.exp: Likewise.
767 * gdb.cp/gdb2495.exp: Likewise.
768 * gdb.cp/templates.exp: Likewise.
769 * gdb.cp/virtfunc.exp: Likewise.
770 * gdb.threads/hand-call-in-threads.exp: Likewise.
771 * gdb.threads/interrupted-hand-call.exp: Likewise.
772 * gdb.threads/thread-unwindonsignal.exp: Likewise.
774 2016-06-10 Tom Tromey <tom@tromey.com>
777 * gdb.rust/expr.exp: Add test for integer constant larger than
780 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
782 * gdb.fortran/nested-funcs.exp: New.
783 * gdb.fortran/nested-funcs.f90: New.
785 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
787 * gdb.base/examine-backward.c: New file.
788 * gdb.base/examine-backward.exp: New file.
790 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
792 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
795 2016-06-02 Tom Tromey <tom@tromey.com>
798 * gdb.python/py-shared.exp: Add solib_name test.
800 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
802 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
804 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
807 * gdb.dwarf2/implref.exp: Rename to...
808 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
809 * gdb.dwarf2/implref-array.c: New file.
810 * gdb.dwarf2/implref-array.exp: Likewise.
811 * gdb.dwarf2/implref-global.c: Likewise.
812 * gdb.dwarf2/implref-global.exp: Likewise.
813 * gdb.dwarf2/implref-struct.c: Likewise.
814 * gdb.dwarf2/implref-struct.exp: Likewise.
816 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
818 * gdb.trace/trace-condition.exp: Add 64bit tests.
820 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
822 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
824 (main): Adapt to 8 to 64 bits types.
825 * gdb.trace/trace-condition.exp: Add new tests.
827 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
829 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
831 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
833 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
834 Move condition tests...
835 * gdb.trace/trace-condition.exp: Here.
837 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
839 * gdb.trace/trace-condition.exp: Add counter-case tests.
841 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
844 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
845 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
847 2016-05-27 Pedro Alves <palves@redhat.com>
849 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
851 (top level): Call it, and bail out of DejaGnu is known to be bad.
853 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
855 * gdb.base/whatis.c: Extend the test case.
856 * gdb.base/whatis.exp: Add additional tests.
858 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
860 * gdb.fortran/type.f90: Add pointer variable.
861 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
863 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
865 * gdb.fortran/vla-type.exp: Fix testcase name.
867 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
869 * gdb.fortran/vla-type.exp: Access elements in nested structs.
871 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
873 * gdb.fortran/type.f90: Add nested structures.
874 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
875 * gdb.fortran/derived-type.exp: Adapt expected output.
876 * gdb.fortran/vla-type.exp: Adapt expected output.
878 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
880 * gdb.fortran/whatis_type.exp: Adapt expected output.
882 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
884 * gdb.fortran/print_type.exp: Fix expected output.
885 * gdb.fortran/whatis_type.exp: Fix expected output.
887 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
889 * gdb.fortran/whatis_type.exp: Use multi_line.
891 2016-05-24 Tom Tromey <tom@tromey.com>
894 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
895 use value as an index.
897 2016-05-23 Tom Tromey <tom@tromey.com>
900 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
903 2016-05-24 Pedro Alves <palves@redhat.com>
906 * gdb.threads/clone-attach-detach.c: New file.
907 * gdb.threads/clone-attach-detach.exp: New file.
909 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
911 * gdb.base/annota-input-while-running.exp: Fix syntax error.
913 2016-05-23 Tom Tromey <tom@tromey.com>
915 PR python/19438, PR python/18393:
916 * gdb.python/py-progspace.exp: Add "dir" test.
917 * gdb.python/py-objfile.exp: Add "dir" test.
919 2016-05-23 Yao Qi <yao.qi@linaro.org>
921 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
922 * gdb.arch/thumb2-it.exp: Likewise.
924 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
926 * gdb.mi/mi-threads-interrupt.c: New file.
927 * gdb.mi/mi-threads-interrupt.exp: New file.
929 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
932 * gdb.mi/mi-async-run.exp: New file.
933 * gdb.mi/mi-async-run.c: New file.
935 2016-05-17 Tom Tromey <tom@tromey.com>
936 Manish Goregaokar <manishsmail@gmail.com>
938 * lib/rust-support.exp: New file.
939 * lib/gdb.exp (skip_rust_tests): New proc.
940 (build_executable_from_specs): Handle rust.
941 * lib/future.exp (gdb_find_rustc): New proc.
942 (gdb_default_target_compile): Handle rust.
943 * gdb.rust/expr.exp: New file.
944 * gdb.rust/generics.exp: New file.
945 * gdb.rust/generics.rs: New file.
946 * gdb.rust/methods.exp: New file.
947 * gdb.rust/methods.rs: New file.
948 * gdb.rust/modules.exp: New file.
949 * gdb.rust/modules.rs: New file.
950 * gdb.rust/simple.exp: New file.
951 * gdb.rust/simple.rs: New file.
953 2016-05-17 Tom Tromey <tom@tromey.com>
955 * gdb.base/default.exp (set language): Add rust.
957 2016-05-17 Tom Tromey <tom@tromey.com>
959 * gdb.gdb/unittest.exp: New file.
961 2016-05-16 Yao Qi <yao.qi@linaro.org>
963 * gdb.base/batch-preserve-term-settings.exp: Remove variable
964 shell_prompt. Update shell_prompt_re.
966 2016-05-12 Doug Evans <dje@google.com>
969 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
970 $options when building executable.
971 * gdb.dwarf2/fission-loclists-pie.S: New file.
972 * gdb.dwarf2/fission-loclists-pie.exp: New file.
974 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
976 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
977 of [is_remote target],
979 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
981 * lib/gdb.exp (use_gdb_stub): New procedure.
983 2016-05-03 Yunlian Jiang <yunlian@google.com>
984 Doug Evans <dje@google.com>
987 * gdb.dwarf2/dwp-sepdebug.c: New file.
988 * gdb.dwarf2/dwp-sepdebug.exp: New file.
990 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
992 * gdb.base/detach.exp: Remove is_remote check.
994 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
996 * gdb.base/annota-input-while-running.exp: Don't check for
997 [is_remote target]. Enable annotations after running to main.
998 Remove unused "set test..." line.
1000 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1002 * gdb.trace/trace-enable-disable.exp: New file.
1003 * gdb.trace/trace-enable-disable.c: New file.
1005 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1007 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1008 use it in info sharedlibrary test.
1009 * gdb.trace/ftrace-lock.exp: Likewise.
1010 * gdb.trace/ftrace.exp: Likewise.
1011 * gdb.trace/range-stepping.exp: Likewise.
1012 * gdb.trace/trace-break.exp: Likewise.
1013 * gdb.trace/trace-condition.exp: Likewise.
1014 * gdb.trace/trace-mt.exp: Likewise.
1016 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1018 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1019 (gdb_load_shlib): ... this.
1020 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1022 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1023 * gdb.base/ctxobj.exp: Likewise.
1024 * gdb.base/dprintf-pending.exp: Likewise.
1025 * gdb.base/dso2dso.exp: Likewise.
1026 * gdb.base/fixsection.exp: Likewise.
1027 * gdb.base/gcore-relro.exp: Likewise.
1028 * gdb.base/gdb1555.exp: Likewise.
1029 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1030 * gdb.base/gnu-ifunc.exp: Likewise.
1031 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1032 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1033 * gdb.base/pending.exp: Likewise.
1034 * gdb.base/print-file-var.exp: Likewise.
1035 * gdb.base/print-symbol-loading.exp: Likewise.
1036 * gdb.base/shlib-call.exp: Likewise.
1037 * gdb.base/shreloc.exp: Likewise.
1038 * gdb.base/so-impl-ld.exp: Likewise.
1039 * gdb.base/solib-disc.exp: Likewise.
1040 * gdb.base/solib-nodir.exp: Likewise.
1041 * gdb.base/solib-overlap.exp: Likewise.
1042 * gdb.base/solib-symbol.exp: Likewise.
1043 * gdb.base/solib-weak.exp (do_test): Likewise.
1044 * gdb.base/sym-file.exp: Likewise.
1045 * gdb.base/symtab-search-order.exp: Likewise.
1046 * gdb.base/type-opaque.exp: Likewise.
1047 * gdb.base/unload.exp: Likewise.
1048 * gdb.base/watchpoint-solib.exp: Likewise.
1049 * gdb.compile/compile.exp: Likewise.
1050 * gdb.cp/gdb2384.exp: Likewise.
1051 * gdb.cp/infcall-dlopen.exp: Likewise.
1052 * gdb.cp/re-set-overloaded.exp: Likewise.
1053 * gdb.fortran/library-module.exp: Likewise.
1054 * gdb.opt/solib-intra-step.exp: Likewise.
1055 * gdb.python/py-finish-breakpoint.exp: Likewise.
1056 * gdb.python/py-shared.exp: Likewise.
1057 * gdb.reverse/solib-precsave.exp: Likewise.
1058 * gdb.reverse/solib-reverse.exp: Likewise.
1059 * gdb.server/solib-list.exp: Likewise.
1060 * gdb.threads/dlopen-libpthread.exp: Likewise.
1061 * gdb.threads/tls-shared.exp: Likewise.
1062 * gdb.threads/tls-so_extern.exp: Likewise.
1063 * gdb.trace/change-loc.exp: Likewise.
1064 * gdb.trace/ftrace-lock.exp: Likewise.
1065 * gdb.trace/ftrace.exp: Likewise.
1066 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1067 * gdb.trace/pending.exp: Likewise.
1068 * gdb.trace/range-stepping.exp: Likewise.
1069 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1070 (strace_info_marker): Likewise.
1071 (strace_probe_marker): Likewise.
1072 (strace_trace_on_same_addr): Likewise.
1073 (strace_trace_on_diff_addr): Likewise.
1074 * gdb.trace/trace-break.exp: Likewise.
1075 * gdb.trace/trace-condition.exp: Likewise.
1076 * gdb.trace/trace-mt.exp: Likewise.
1078 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1080 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1081 result of gdb_remote_download.
1082 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1083 * gdb.base/dso2dso.exp: Likewise.
1084 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1085 * gdb.base/print-file-var.exp: Likewise.
1086 * gdb.base/shlib-call.exp: Likewise.
1087 * gdb.base/shreloc.exp: Likewise.
1088 * gdb.base/solib-overlap.exp: Likewise.
1089 * gdb.base/solib-weak.exp (do_test): Likewise.
1090 * gdb.base/unload.exp: Likewise.
1092 2016-04-27 Yao Qi <yao.qi@linaro.org>
1094 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1097 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1099 * vla-type.exp: Print structure from toplevel.
1101 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1103 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1105 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1108 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1110 * gdb.fortran/vla-type.f90: New file.
1111 * gdb.fortran/vla-type.exp: New file.
1113 2016-04-25 Yao Qi <yao.qi@linaro.org>
1115 * gdb.base/branch-to-self.c: New file.
1116 * gdb.base/branch-to-self.exp: New file.
1118 2016-04-22 Yao Qi <yao.qi@linaro.org>
1120 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1123 2016-04-22 Yao Qi <yao.qi@linaro.org>
1125 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1126 * gdb.base/annota3.exp: Likewise.
1128 2016-04-22 Yao Qi <yao.qi@linaro.org>
1130 * gdb.reverse/step-precsave.exp: Do one step and test program
1131 stops in "callee" and do multiple steps until program goes out
1133 * gdb.reverse/step-reverse.exp: Likewise.
1135 2016-04-22 Yao Qi <yao.qi@linaro.org>
1137 * gdb.trace/signal.exp: Also pass if
1138 $tracepoint_hits($i) > $iterations.
1140 2016-04-22 Yao Qi <yao.qi@linaro.org>
1142 * gdb.trace/signal.c: New file.
1143 * gdb.trace/signal.exp: New file.
1145 2016-04-19 Doug Evans <xdje42@gmail.com>
1147 * gdb.base/bad-file.exp: New file.
1149 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1151 * gdb.dwarf2/implref.exp: New file.
1153 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1155 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1156 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1157 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1158 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1159 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1160 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1161 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1162 * lib/fortran.exp (fortran_int4): New procedure.
1163 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1164 (fortran_logical4): Likewise.
1166 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1168 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1170 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1172 * lib/compiler.c: Add Intel specific preprocessor macros.
1173 * lib/compiler.cc: Likewise.
1175 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
1177 * gdb.server/connect-with-no-symbol-file.c: New file.
1178 * gdb.server/connect-with-no-symbol-file.exp: New file.
1180 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1182 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1184 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1186 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1187 standard output directory.
1189 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1191 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1193 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1195 * gdb.btrace/instruction_history.c (loop): Add declaration.
1197 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1199 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1201 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1203 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1204 parentheses to print.
1205 (continue_handler): Likewise.
1207 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1209 * gdb.server/solib-list.exp: Remove is_remote check.
1210 Pass shlib= to gdb_compile. Don't link shared library with
1211 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1212 Run binary filename through "readlink -f" on the target.
1214 2016-04-08 Pedro Alves <palves@redhat.com>
1216 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1217 interpreter filename as argument to gdbserver_spawn.
1218 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1219 Return empty if $last_loaded_file does not exist.
1221 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1223 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1224 * gdb.base/jit-main.c: Use exit after usage.
1226 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1229 GDBHISTSIZE prior to the tests.
1230 * gdb.base/gdbinit-history.exp: Likewise.
1232 2016-04-07 Pedro Alves <palves@redhat.com>
1234 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1235 instead of build_executable. Use gdb_load_shlibs.
1237 2016-04-07 Yao Qi <yao.qi@linaro.org>
1239 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1240 Execute "si" command.
1242 2016-04-07 Yao Qi <yao.qi@linaro.org>
1244 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1245 number instead of the comments on some line.
1247 2016-04-06 Don Breazeal <donb@codesourcery.com>
1249 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1250 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1252 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1254 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1255 standard_output_file. Remove unused binfile variable.
1257 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1259 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1260 * gdb.python/py-mi-objfile.exp: Match "list main" output
1263 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1265 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1268 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1270 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1272 * gdb.trace/ftrace.exp: Likewise.
1273 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1275 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1276 (gdb_load_shlibs): Copy libraries to test directory when testing
1277 natively. Only set solib-search-path if testing remotely.
1278 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1280 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1282 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1283 gdb_download. Use it even if the target is not remote.
1284 * gdb.base/jit.exp (compile_jit_test): Likewise.
1285 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1286 output directory if the destination board is local, otherwise use
1287 the standard remote_download from DejaGnu.
1288 (gdb_download): Remove.
1289 (gdb_load_shlibs): Use gdb_remote_download instead of
1291 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1292 Use gdb_remote_download instead of gdb_download. Use it even if
1293 the target is not remote.
1294 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1295 instead of gdb_download.
1297 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1299 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1300 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1303 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1306 * gdb.base/printcmds.exp: Add artificial arrays tests.
1308 2016-03-31 Pedro Alves <palves@redhat.com>
1311 * gdb.base/jit-main.c: Include unistd.h.
1312 (ATTACH): Define to 0 if not already defined.
1313 (wait_for_gdb, mypid): New globals.
1314 (WAIT_FOR_GDB): New macro.
1315 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1316 some breakpoint locations.
1317 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1319 (one_jit_test): Add REATTACH parameter, and handle it. Use
1320 continue_to_test_location.
1321 (top level): Test attach, and adjusts calls to one_jit_test.
1323 2016-03-31 Pedro Alves <palves@redhat.com>
1326 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1327 BINSUFFIX parameter, and handle it.
1328 (top level): Adjust calls compile_jit_test.
1330 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1333 * gdb.python/py-mi-events-gdb.py: New file.
1334 * gdb.python/py-mi-events.c: New file.
1335 * gdb.python/py-mi-events.exp: New file.
1337 2016-03-30 Yao Qi <yao.qi@linaro.org>
1339 * gdb.reverse/until-precsave.exp: Match function name only.
1340 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1341 Move malloc to a condition block.
1342 * gdb.reverse/until-reverse.exp: Match function name only.
1344 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1346 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1347 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1348 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1349 variable for GPR 0 instead of assuming it is register 0.
1350 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1351 * lib/trace-support.exp: Add s390 registers.
1353 2016-03-29 Yao Qi <yao.qi@linaro.org>
1355 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1357 2016-03-24 Yao Qi <yao.qi@linaro.org>
1359 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1362 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1364 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1365 maintaining separate logic for constructing the output path.
1367 2016-03-16 Don Breazeal <donb@codesourcery.com>
1369 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1370 Retry fork and waitpid on interrupted system call errors.
1371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1372 Use with_timeout_factor to increase timeout by factor of 10.
1374 2016-03-15 Don Breazeal <donb@codesourcery.com>
1376 * gdb.cp/scope-err.cc: New test program.
1377 * gdb.cp/scope-err.exp: New test script.
1378 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1379 lines and "set breakpoint here" comment.
1380 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1381 Fixed some whitespace and format issues.
1382 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1383 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1385 2016-03-15 Doug Evans <dje@google.com>
1387 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1388 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1389 All callers updated. Add tests for enums, mixed flags register.
1391 2016-03-15 Doug Evans <dje@google.com>
1393 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1394 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1396 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1398 * gdb.base/default.exp: Add $_as_string to the list of expected
1399 convenience functions.
1401 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1403 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1405 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1407 * gdb.python/py-as-string.exp: New file.
1408 * gdb.python/py-as-string.c: New file.
1410 2016-03-09 Pedro Alves <palves@redhat.com>
1412 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1413 signal" -> "Thread NN received signal" output change.
1414 * gdb.threads/ia64-sigill.exp: Likewise.
1415 * gdb.threads/linux-dp.exp: Likewise.
1416 * gdb.threads/manythreads.exp: Likewise.
1417 * gdb.threads/pending-step.exp: Likewise.
1418 * gdb.threads/print-threads.exp: Likewise.
1419 * gdb.threads/sigstep-threads.exp: Likewise.
1420 * gdb.threads/staticthreads.exp: Likewise.
1421 * gdb.threads/tls.exp: Likewise.
1423 2016-03-09 Pedro Alves <palves@redhat.com>
1425 * gdb.base/command-line-input.exp: New file.
1427 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1429 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1430 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1431 * gdb.trace/pending.exp: Accept leading dot before function name.
1432 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1433 * lib/trace-support.exp: Set registers for ppc.
1435 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1437 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1438 use it for disassembly; accept .main in addition to main in backtrace.
1440 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1441 Marcin Kościelnicki <koriakin@0x04.net>
1443 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1444 (gdb_recursion_test_ptr): New global variable.
1445 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1447 (gdb_c_test): Ditto.
1449 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1451 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1454 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1456 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1457 (bar): Add bar_start_lbl label.
1458 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1459 of foo/bar for emitting DWARF and tracing.
1461 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1463 * analyze-racy-logs.py: Set executable bit.
1465 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1467 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1468 (CHECK_TARGET_TMP): Likewise.
1469 (check-single-racy): New rule.
1470 (check-parallel-racy): Likewise.
1471 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1472 (do-check-parallel-racy): New rule.
1473 (check-racy/%.exp): Likewise.
1474 * README (Racy testcases): New section.
1475 * analyze-racy-logs.py: New file.
1477 2016-03-03 Doug Evans <dje@google.com>
1479 * gdb.base/skip.exp: Use with_test_prefix.
1481 2016-03-03 Yao Qi <yao.qi@linaro.org>
1483 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1484 Invoke step_over_syscall "clone" and break_cond_on_syscall
1486 * gdb.base/step-over-clone.c: New file.
1488 2016-03-03 Yao Qi <yao.qi@linaro.org>
1490 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1493 2016-03-03 Yao Qi <yao.qi@linaro.org>
1495 * gdb.base/disp-step-fork.c: Rename to ...
1496 * gdb.base/step-over-fork.c: ... it. New file.
1497 * gdb.base/disp-step-vfork.c: Rename to ...
1498 * gdb.base/step-over-vfork.c: ... it. New file.
1499 * gdb.base/disp-step-syscall.exp: Rename to ...
1500 * gdb.base/step-over-syscall.exp: ... it. New file.
1501 (disp_step_cross_syscall): Rename to ...
1502 (step_over_syscall): ... it.
1504 2016-03-03 Yao Qi <yao.qi@linaro.org>
1506 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1507 If target supports condition evaluation on target, invoke
1508 break_cond_on_syscall for fork and vfork.
1510 2016-03-03 Yao Qi <yao.qi@linaro.org>
1512 * gdb.base/disp-step-syscall.exp: Don't invoke
1513 support_displaced_stepping.
1514 (disp_step_cross_syscall): Test with displaced stepping off and
1517 2016-03-03 Yao Qi <yao.qi@linaro.org>
1519 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1522 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1525 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1527 * gdb.fortran/vla-history.exp: Remove breakpoint.
1529 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1531 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1534 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1536 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1539 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1541 * gdb.mi/vla.f90: Nullify pointer after declaration.
1543 2016-03-01 Pedro Alves <palves@redhat.com>
1545 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1547 2016-03-01 Pedro Alves <palves@redhat.com>
1549 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1550 before anything else.
1551 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1553 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1554 before anything else.
1555 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1557 2016-03-01 Pedro Alves <palves@redhat.com>
1559 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1561 2016-03-01 Yao Qi <yao.qi@linaro.org>
1563 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1564 prepare_for_testing.
1566 2016-03-01 Yao Qi <yao.qi@linaro.org>
1568 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1570 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1572 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1573 manually constructing the output path.
1575 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1577 * gdb.arch/s390-stackless.S: New.
1578 * gdb.arch/s390-stackless.exp: New.
1580 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1582 * gdb.dlang/circular.c: New file.
1583 * gdb.dlang/circular.exp: New file.
1585 2016-02-26 Yao Qi <yao.qi@linaro.org>
1587 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1588 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1589 (testcases): Update.
1591 2016-02-26 Yao Qi <yao.qi@linaro.org>
1593 * gdb.reverse/aarch64.c: Rename to ...
1594 * gdb.reverse/insn-reverse.c: ... it.
1595 * gdb.reverse/aarch64.exp: Rename to ...
1596 * gdb.reverse/insn-reverse.exp: ... it.
1598 2016-02-26 Yao Qi <yao.qi@linaro.org>
1600 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1601 (testcase_ftype): New.
1602 (testcases): New array.
1604 (main): Call each element in testcases.
1605 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1606 (read_testcase): New.
1607 Do the tests in a loop.
1609 2016-02-25 Yao Qi <yao.qi@linaro.org>
1611 * gdb.base/branches.c: Remove.
1613 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1616 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1618 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1620 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1622 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1624 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1625 change x86_64 call_insn to 'callq'.
1627 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1629 * gdb.trace/tfile-avx.c: Move to...
1630 * gdb.trace/tracefile-pseudo-reg.c: Here.
1631 * gdb.trace/tfile-avx.exp: Move to...
1632 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1634 2016-02-24 Gary Benson <gbenson@redhat.com>
1636 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1639 2016-02-23 Doug Evans <dje@google.com>
1641 * gdb.base/skip.c (test_skip): New function.
1642 (end_test_skip_file_and_function): New function.
1643 (test_skip_file_and_function): New function.
1644 * gdb.base/skip1.c (test_skip): New function.
1645 (skip1_test_skip_file_and_function): New function.
1646 * gdb.base/skip.exp: Add tests for new skip options.
1647 * gdb.base/skip-solib.exp: Update expected output.
1648 * gdb.perf/skip-command.cc: New file.
1649 * gdb.perf/skip-command.exp: New file.
1650 * gdb.perf/skip-command.py: New file.
1652 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1654 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1655 info registers pattern.
1657 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1659 * lib/future.exp: Add D support.
1660 (gdb_find_gdc): New proc.
1661 (gdb_default_target_compile): Add D support.
1663 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1665 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1667 (trace_speed_test): Determine the iteration count for a time
1668 between 15..30 seconds.
1670 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1672 * gdb.arch/i386-mpx-sigsegv.c: New file.
1673 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1674 * gdb.arch/i386-mpx-simple_segv.c: New file.
1675 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1677 2016-02-18 Yao Qi <yao.qi@linaro.org>
1679 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1680 Don't call setup_kfail.
1682 2016-02-18 Yao Qi <yao.qi@linaro.org>
1684 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1685 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1687 2016-02-16 Doug Evans <dje@google.com>
1689 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1690 * gdb.base/skip1.c: Ditto.
1691 * gdb.base/skip.exp: Whitespace cleanup.
1693 2016-02-16 Don Breazeal <donb@codesourcery.com>
1696 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1697 Remove kfail for PR remote/19496.
1699 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1701 * lib/gdb.exp (standard_temp_file): Return a path specific to
1702 the runtest invocation.
1704 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1706 * gdb.trace/save-trace.exp: Change relative path to be in the
1707 standard output directory.
1709 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1711 * gdb.arch/i386-prologue.c: Add missing prototypes.
1713 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1715 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1716 * gdb.arch/i386-prologue.exp: Likewise.
1717 * gdb.arch/i386-size.exp: Likewise.
1719 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1721 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1722 define object file path.
1723 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1725 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1726 standard_output_file to define binfile.
1728 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1730 Fix compatibility with recent gfortran-5.3.1.
1731 * gdb.fortran/vla-history.exp (print vla1 allocated)
1732 (print vla2 allocated, print $2, print $3): Remove
1733 (print $4): Rename to ...
1734 (print $2): ... here.
1735 (print $9): Rename to ...
1736 (print $5): ... here.
1737 (print $10): Rename to ...
1738 (print $6): ... here.
1739 * gdb.fortran/vla.f90: Add pvla initialization.
1741 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1743 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1745 * gdb.fortran/vla-value-sub.exp: Likewise.
1747 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1749 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1751 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1753 * i386-biarch-core.exp: Define corefile using
1754 standard_output_file.
1756 2016-02-12 Yao Qi <yao.qi@linaro.org>
1758 * gdb.arch/arm-single-step-kernel-helper.c: New.
1759 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1761 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1763 * gdb.btrace/tailcall-only.exp: New.
1764 * gdb.btrace/tailcall-only.c: New.
1765 * gdb.btrace/x86_64-tailcall-only.S: New.
1766 * gdb.btrace/i686-tailcall-only.S: New.
1768 2016-02-11 Pedro Alves <palves@redhat.com>
1770 * README (Parallel testing): Add missing double quotes.
1772 2016-02-11 Pedro Alves <palves@redhat.com>
1774 * README (Parallel testing): New section.
1775 (GDB_PARALLEL): Rewrite.
1776 (FORCE_PARALLEL): Document.
1778 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1780 * gdb.trace/tfile-avx.c: New test.
1781 * gdb.trace/tfile-avx.exp: New test.
1783 2016-02-09 Keith Seitz <keiths@redhat.com>
1785 PR breakpoints/19546
1786 * gdb.base/infcall-exec.c: New file.
1787 * gdb.base/infcall-exec2.c: New file.
1788 * gdb.base/infcall-exec.exp: New file.
1790 2016-02-09 Keith Seitz <keiths@redhat.com>
1792 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1793 (toplevel): Call test_bkpt_address.
1795 2016-02-09 Keith Seitz <keiths@redhat.com>
1798 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1799 (toplevel): Call test_bkpt_address.
1801 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1803 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1805 * configure: Regenerate.
1807 2016-02-09 Pedro Alves <palves@redhat.com>
1809 PR breakpoints/19548
1810 * gdb.base/execl-update-breakpoints.c (some_function): New
1813 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1814 Tighten expected GDB output.
1816 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1818 * Makefile.in (ALL_SUBDIRS): Remove.
1819 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1820 (distclean maintainer-clean realclean): Likewise.
1821 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1822 * configure: Regenerate.
1823 * gdb.ada/Makefile.in: Delete.
1824 * gdb.arch/Makefile.in: Likewise.
1825 * gdb.asm/Makefile.in: Likewise.
1826 * gdb.base/Makefile.in: Likewise.
1827 * gdb.btrace/Makefile.in: Likewise.
1828 * gdb.cell/Makefile.in: Likewise.
1829 * gdb.compile/Makefile.in: Likewise.
1830 * gdb.cp/Makefile.in: Likewise.
1831 * gdb.disasm/Makefile.in: Likewise.
1832 * gdb.dlang/Makefile.in: Likewise.
1833 * gdb.dwarf2/Makefile.in: Likewise.
1834 * gdb.fortran/Makefile.in: Likewise.
1835 * gdb.gdb/Makefile.in: Likewise.
1836 * gdb.go/Makefile.in: Likewise.
1837 * gdb.guile/Makefile.in: Likewise.
1838 * gdb.java/Makefile.in: Likewise.
1839 * gdb.linespec/Makefile.in: Likewise.
1840 * gdb.mi/Makefile.in: Likewise.
1841 * gdb.modula2/Makefile.in: Likewise.
1842 * gdb.multi/Makefile.in: Likewise.
1843 * gdb.objc/Makefile.in: Likewise.
1844 * gdb.opencl/Makefile.in: Likewise.
1845 * gdb.opt/Makefile.in: Likewise.
1846 * gdb.pascal/Makefile.in: Likewise.
1847 * gdb.perf/Makefile.in: Likewise.
1848 * gdb.python/Makefile.in: Likewise.
1849 * gdb.reverse/Makefile.in: Likewise.
1850 * gdb.server/Makefile.in: Likewise.
1851 * gdb.stabs/Makefile.in: Likewise.
1852 * gdb.threads/Makefile.in: Likewise.
1853 * gdb.trace/Makefile.in: Likewise.
1854 * gdb.xml/Makefile.in: Likewise.
1855 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1857 (standard_output_file): Remove check for GDB_PARALLEL, always
1858 return path in outputs/$subdir/$testname.
1860 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1862 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1863 (site.exp): Assign abs_srcdir to tcl's srcdir.
1865 2016-02-04 Yao Qi <yao.qi@linaro.org>
1867 * gdb.base/foll-exec-mode.c: Include limits.h.
1868 (main): Add parameters argc and argv. Get directory from
1870 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1872 * gdb.base/foll-exec.c: Include limits.h.
1873 (main): Add parameters argc and argv.
1874 Get directory from argv[0].
1875 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1876 Adjust tests on the number of lines as source code changed.
1877 * gdb.base/foll-vfork-exit.c: Include limits.h.
1878 (main): Add one line of statement before vfork.
1879 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1880 (main): Add parameters argc and argv. Get directory from
1882 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1883 (setup_gdb): Set tbreak to skip some source lines.
1884 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1885 (main): Add parameters argc and argv. Get directory from
1887 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1889 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1890 (main): Add parameters argc and argv. Get directory from
1892 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1895 2016-02-01 Doug Evans <dje@google.com>
1897 * gdb.base/skip.exp: Clean up multiple references to same test name.
1899 2016-02-01 Pedro Alves <palves@redhat.com>
1902 * gdb.threads/forking-threads-plus-breakpoint.exp
1903 (displaced_stepping_supported): New global.
1904 (probe_displaced_stepping_support): New procedure.
1905 (do_test): Add 'displaced' parameter, and use it.
1906 (top level): Check for displaced stepping support. Add displaced
1907 stepping on/off testing axis.
1909 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1911 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1912 pointer. Don't perform further tests on the unassociated pointer
1913 if the first test fails.
1915 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1917 * gdb.base/max-value-size.c: New file.
1918 * gdb.base/max-value-size.exp: New file.
1919 * gdb.base/huge.exp: Disable max-value-size for this test.
1921 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1923 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1925 2016-01-28 Yao Qi <yao.qi@linaro.org>
1927 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1929 2016-01-25 Pedro Alves <palves@redhat.com>
1932 * gdb.base/fork-running-state.c: New file.
1933 * gdb.base/fork-running-state.exp: New file.
1935 2016-01-25 Pedro Alves <palves@redhat.com>
1938 * gdb.base/catch-fork-kill.c: New file.
1939 * gdb.base/catch-fork-kill.exp: New file.
1941 2016-01-25 Pedro Alves <palves@redhat.com>
1943 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1944 Delete, moved to lib/gdb.exp.
1945 * gdb.threads/forking-threads-plus-breakpoint.exp
1946 (foreach_with_prefix): Likewise.
1947 * gdb.threads/process-dies-while-handling-bp.exp
1948 (foreach_with_prefix): Likewise.
1949 * lib/gdb.exp (foreach_with_prefix): New procedure.
1951 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1953 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1954 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1956 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1958 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1961 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1962 Pedro Alves <palves@redhat.com>
1964 Fix testsuite compatibility with Guile.
1965 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1968 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1970 Fix testsuite compatibility with Guile.
1971 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1972 (thread 1): New test for backtrace through signal handler.
1974 2016-01-22 Yao Qi <yao.qi@linaro.org>
1977 * gdb.base/multi-forks.c: Include
1978 ../lib/unbuffer_output.c
1979 (main): Call gdb_unbuffer_output.
1981 2016-01-21 Doug Evans <dje@google.com>
1983 * lib/ada.exp (gdb_compile_ada): Fix typo.
1985 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1987 * gdb.base/break-fun-addr.exp: New file.
1988 * gdb.base/break-fun-addr1.c: New file.
1989 * gdb.base/break-fun-addr2.c: New file.
1991 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1993 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1994 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1997 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1999 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2000 when GDB can not set the vector return value. Add more comments
2003 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2005 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2008 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2010 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2012 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2014 * Makefile.in (check-single): Pass --status to runtest.
2015 (check/%.exp): Likewise.
2017 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2019 * Makefile.in (check-parallel): Propagate return code from make
2022 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2024 * gdb.trace/ftrace.exp: Fix expected message on continue.
2025 * gdb.trace/pending.exp: Fix expected message on continue.
2026 * gdb.trace/trace-break.exp: Fix expected message on continue.
2028 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2030 * lib/gdb.exp (gdb_test): Remove unused global references.
2032 2016-01-18 Pedro Alves <palves@redhat.com>
2034 * gdb.base/async-shell.exp: Adjust expected output.
2035 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2036 * gdb.base/siginfo-thread.exp: Adjust expected output.
2037 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2038 * gdb.java/jnpe.exp: Adjust expected output.
2039 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2040 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2041 * gdb.threads/leader-exit.exp: Adjust expected output.
2042 * gdb.threads/manythreads.exp: Adjust expected output.
2043 * gdb.threads/pthreads.exp: Adjust expected output.
2044 * gdb.threads/schedlock.exp: Adjust expected output.
2045 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2046 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2048 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2050 * gdb.threads/sigthread.exp: Adjust expected output.
2051 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2053 2016-01-18 Yao Qi <yao.qi@linaro.org>
2055 * gdb.guile/scm-section-script.c: Replace @progbits with
2057 * gdb.python/py-section-script.c: Likewise.
2059 2016-01-15 Pedro Alves <palves@redhat.com>
2061 * gdb.multi/tids.exp: Test star wildcard ranges.
2063 2016-01-15 Pedro Alves <palves@redhat.com>
2065 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2066 command from "thread apply" invocation.
2067 (thr_apply_info_thr_invalid): Default the expected output to the
2069 (top level): Add tests that use convenience variables. Add tests
2070 for "thread apply" with a valid TID list, but missing the command.
2072 2016-01-13 Pedro Alves <palves@redhat.com>
2074 * gdb.base/default.exp: Expect $_gthread as well.
2075 * gdb.multi/tids.exp: Test $_gthread.
2076 * gdb.threads/thread-specific.exp: Test $_gthread.
2078 2016-01-13 Pedro Alves <palves@redhat.com>
2080 * gdb.multi/tids.exp: Test "info threads -gid".
2082 2016-01-13 Pedro Alves <palves@redhat.com>
2084 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2086 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2088 2016-01-07 Pedro Alves <palves@redhat.com>
2090 * gdb.base/break.exp: Adjust to output changes.
2091 * gdb.base/hbreak2.exp: Likewise.
2092 * gdb.base/sepdebug.exp: Likewise.
2093 * gdb.base/watch_thread_num.exp: Likewise.
2094 * gdb.linespec/keywords.exp: Likewise.
2095 * gdb.multi/info-threads.exp: Likewise.
2096 * gdb.threads/thread-find.exp: Likewise.
2097 * gdb.multi/tids.c: New file.
2098 * gdb.multi/tids.exp: New file.
2100 2016-01-13 Pedro Alves <palves@redhat.com>
2102 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2104 2016-01-13 Pedro Alves <palves@redhat.com>
2106 * gdb.base/default.exp: Expect $_inferior as well.
2107 * gdb.multi/base.exp: Test $_inferior.
2109 2016-01-13 Pedro Alves <palves@redhat.com>
2111 PR breakpoints/19388
2112 * gdb.base/catch-signal-siginfo-cond.c: New file.
2113 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2115 2016-01-12 Josh Stone <jistone@redhat.com>
2116 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2118 * gdb.base/catch-syscall.c (do_execve): New variable.
2119 (main): Conditionally trigger an execve.
2120 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2121 (test_catch_syscall_execve): New, check entry/return across execve.
2122 (do_syscall_tests): Call test_catch_syscall_execve.
2124 2016-01-12 Pedro Alves <palves@redhat.com>
2126 * gdb.base/random-signal.exp (do_test): New procedure, with body
2127 of testcase moved in.
2129 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2130 Pedro Alves <palves@redhat.com>
2132 * gdb.base/funcargs.exp (finish from indirectly called function):
2133 Reintroduce the case for 'First'.
2135 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136 Pedro Alves <palves@redhat.com>
2138 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2139 (tcatch_vfork_then_child_follow_exec)
2140 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2143 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2145 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2146 and repeats to unlimited.
2147 * gdb.python/py-value.exp: Likewise.
2148 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2149 and repeats to unlimited.
2151 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2153 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2154 and reordering the functions.
2155 * gdb.multi/hangout.c: Likewise.
2156 * gdb.multi/hello.c: Likewise.
2158 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2160 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2162 (SingleStatisticTestResult.report): Use dict.keys instead of
2165 2016-01-06 Pedro Alves <palves@redhat.com>
2167 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2169 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2171 * gdb.btrace/dlopen.exp: New.
2172 * gdb.btrace/dlopen.c: New.
2173 * gdb.btrace/dlopen-dso.c: New.
2175 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2177 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2178 PATTERN argument is optional.
2180 2015-12-24 Joel Brobecker <brobecker@adacore.com>
2182 * lib/ada.exp (target_compile_ada_from_dir): New function.
2183 (gdb_compile_ada): Reimplement avoiding the use of project files.
2184 * gdb.ada/gnat_ada.gpr: Delete.
2185 * gdb.ada/cond_lang.exp: Adjust test to make path before
2187 * gdb.ada/small_reg_param.exp: Likewise.
2189 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2191 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2193 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2195 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2198 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2200 * gdb.base/break.exp: Remove dead code.
2201 * gdb.base/sepdebug.exp: Likewise.
2203 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2205 * gdb.asm/asm-source.exp: Remove HP-UX references.
2206 * gdb.base/annota1.exp: Likewise.
2207 * gdb.base/annota3.exp: Likewise.
2208 * gdb.base/attach.exp: Likewise.
2209 * gdb.base/bigcore.exp: Likewise.
2210 * gdb.base/break.exp: Likewise.
2211 * gdb.base/call-ar-st.exp: Likewise.
2212 * gdb.base/callfuncs.exp: Likewise.
2213 * gdb.base/catch-fork-static.exp: Likewise.
2214 * gdb.base/display.exp: Likewise.
2215 * gdb.base/foll-exec-mode.exp: Likewise.
2216 * gdb.base/foll-exec.exp: Likewise.
2217 * gdb.base/foll-fork.exp: Likewise.
2218 * gdb.base/foll-vfork.exp: Likewise.
2219 * gdb.base/funcargs.exp: Likewise.
2220 * gdb.base/hbreak2.exp: Likewise.
2221 * gdb.base/inferior-died.exp: Likewise.
2222 * gdb.base/interrupt.exp: Likewise.
2223 * gdb.base/multi-forks.exp: Likewise.
2224 * gdb.base/nodebug.exp: Likewise.
2225 * gdb.base/sepdebug.exp: Likewise.
2226 * gdb.base/solib1.c: Likewise.
2227 * gdb.base/step-test.exp: Likewise.
2228 * gdb.mi/non-stop.c: Likewise.
2229 * gdb.mi/pthreads.c: Likewise.
2230 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2231 * gdb.threads/pthreads.c: Likewise.
2232 * gdb.threads/staticthreads.exp: Likewise.
2233 * lib/future.exp: Likewise.
2234 * lib/gdb.exp: Likewise.
2235 * gdb.base/so-indr-cl.c: Remove.
2236 * gdb.base/so-indr-cl.exp: Likewise.
2237 * gdb.base/solib.c: Likewise.
2238 * gdb.base/solib.exp: Likewise.
2239 * gdb.base/solib2.c: Likewise.
2241 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2243 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2244 * gdb.base/call-ar-st.exp: Likewise.
2245 * gdb.base/callfuncs.exp: Likewise.
2246 * gdb.base/condbreak.exp: Likewise.
2247 * gdb.base/constvars.exp: Likewise.
2248 * gdb.base/hbreak2.exp: Likewise.
2249 * gdb.base/langs.exp: Likewise.
2250 * gdb.base/list.exp: Likewise.
2251 * gdb.base/long_long.exp: Likewise.
2252 * gdb.base/ptype.exp: Likewise.
2253 * gdb.base/scope.exp: Likewise.
2254 * gdb.base/signals.exp: Likewise.
2255 * gdb.base/so-impl-ld.exp: Likewise.
2256 * gdb.base/varargs.exp: Likewise.
2257 * gdb.base/volatile.exp: Likewise.
2258 * gdb.base/whatis.exp: Likewise.
2259 * gdb.cp/cplusfuncs.exp: Likewise.
2260 * gdb.cp/inherit.exp: Likewise.
2261 * gdb.cp/local.exp: Likewise.
2262 * gdb.cp/member-ptr.exp: Likewise.
2263 * gdb.cp/method.exp: Likewise.
2264 * gdb.cp/overload.exp: Likewise.
2265 * gdb.cp/templates.exp: Likewise.
2266 * gdb.stabs/weird.exp: Likewise.
2267 * lib/compiler.c: Likewise.
2268 * lib/compiler.cc: Likewise.
2269 * lib/cp-support.exp: Likewise.
2270 * lib/gdb.exp: Likewise.
2272 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2274 * configure.ac: Remove HP-UX case.
2275 * configure: Regenerate.
2277 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2279 * lib/gdb.exp (gdb_compile): Add function doc.
2281 2015-12-17 Pedro Alves <palves@redhat.com>
2284 * gdb.multi/info-threads.exp: New file.
2286 2015-12-15 Yao Qi <yao.qi@linaro.org>
2288 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2291 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2293 * gdb.base/history-duplicates.exp: Skip if no readline support.
2295 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2297 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2299 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2301 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2303 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2305 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2306 ctrl-C if nointerrupts target property is set.
2307 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2308 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2309 * gdb.base/paginate-bg-execution.exp: Likewise.
2310 * gdb.base/paginate-execution-startup.exp: Likewise.
2311 * gdb.base/random-signal.exp: Likewise.
2312 * gdb.base/range-stepping.exp: Likewise.
2313 * gdb.cp/annota2.exp: Likewise.
2314 * gdb.cp/annota3.exp: Likewise.
2315 * gdb.gdb/selftest.exp: Likewise.
2316 * gdb.threads/continue-pending-status.exp: Likewise.
2317 * gdb.threads/leader-exit.exp: Likewise.
2318 * gdb.threads/manythreads.exp: Likewise.
2319 * gdb.threads/pthreads.exp: Likewise.
2320 * gdb.threads/schedlock.exp: Likewise.
2321 * gdb.threads/sigthread.exp: Likewise.
2323 2015-12-11 Don Breazeal <donb@codesourcery.com>
2325 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2327 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2328 * gdb.base/foll-exec.exp (main): Enable for target remote.
2329 * gdb.base/foll-fork.exp (main): Likewise.
2330 * gdb.base/foll-vfork.exp (main): Likewise.
2331 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2332 (proc continue_to_exit_bp_loc): Use clean_restart.
2333 * gdb.base/pie-execl.exp (main): Disable for target remote.
2334 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2335 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2336 * gdb.threads/execl.exp (main): Likewise.
2337 * gdb.threads/fork-child-threads.exp (main): Likewise.
2338 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2340 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2342 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2343 pid.tid style ptids, instead of just tid.
2344 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2345 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2346 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2347 ptids, instead of just tid.
2349 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2351 * gdb.base/list.exp (test_list_forward): Add end of file error
2353 (test_repeat_list_command): Add end of file error test.
2354 (test_list_backwards): Add beginning of file error test.
2356 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2358 * gdb.base/list.exp (test_list_invalid_args): New function,
2359 defined, and called.
2361 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2363 * gdb.base/list.exp (test_list): Make test names unique.
2365 2015-12-11 Yao Qi <yao.qi@linaro.org>
2367 * gdb.base/coremaker2.c: Remove.
2369 2015-12-10 Pedro Alves <palves@redhat.com>
2371 * gdb.multi/base.exp: Remove stale "spaces" references.
2373 2015-12-10 Pedro Alves <palves@redhat.com>
2375 * gdb.multi/base.exp: Don't use nowarnings.
2376 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2377 * gdb.multi/hangout.c: Include stdio.h.
2378 * gdb.multi/hello.c: Include stdlib.h.
2379 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2380 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2381 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2383 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2385 * gdb.dwarf2/dw2-ranges-base.c: New file.
2386 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2387 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2388 support additional line table, and debug ranges generation.
2389 (Dwarf::ranges): New function, generate .debug_ranges.
2390 (Dwarf::lines): Support generating simple line table programs.
2391 (Dwarf::assemble): Initialise new namespace variables.
2393 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2395 * gdb.base/async.exp (proc test_background): Add case for
2396 asynchronous execution not supported.
2398 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2400 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2401 format and change test names to make them unique.
2403 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2404 Pedro Alves <pedro@redhat.com>
2407 Add checking of floatformats setup on x86_64 hosts.
2408 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2409 (smallval, bigval): New labels/constants.
2410 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2411 float" after loading bigval and smallval.
2413 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2415 * gdb.ada/fun_overload_menu.exp: New testcase.
2416 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2418 2015-12-04 Josh Stone <jistone@redhat.com>
2420 * gdb.base/catch-fork-static.exp: New.
2422 2015-12-03 Yao Qi <yao.qi@linaro.org>
2424 * gdb.base/sizeof.c: Don't include stdio.h and
2425 ../lib/unbuffer_output.c.
2426 (main): New variable 'size' and 'value'. Remove printf and
2427 gdb_unbuffer_output. Assign return value to size and value.
2428 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2430 (check_sizeof): Check the result by printing variable 'size'.
2431 (check_valueof): Check the result by printing variable 'value'.
2433 2015-12-01 Yao Qi <yao.qi@linaro.org>
2435 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2436 for aarch64*-*-linux* target.
2438 2015-11-30 Pedro Alves <palves@redhat.com>
2440 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2442 2015-11-30 Pedro Alves <palves@redhat.com>
2444 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2445 Handle non-stop mode vCont replies.
2447 2015-11-30 Pedro Alves <palves@redhat.com>
2449 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2450 prepare_for_testing. Start gdb with "set non-stop on" appended to
2451 GDBFLAGS. Lax expected stop output.
2453 2015-11-27 Yao Qi <yao.qi@linaro.org>
2455 * gdb.arch/arm-neon.exp: New.
2456 * gdb.arch/arm-neon.c: New.
2458 2015-11-27 Yao Qi <yao.qi@linaro.org>
2460 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2462 2015-11-27 Yao Qi <yao.qi@linaro.org>
2464 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2465 frames-invalid annotation.
2467 2015-11-27 Yao Qi <yao.qi@linaro.org>
2469 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2471 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2473 * gdb.threads/names.exp: New file.
2474 * gdb.threads/names.c: New file.
2475 * README: Mention gdb,no_thread_names.
2477 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2480 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2483 2015-11-24 Pedro Alves <palves@redhat.com>
2486 * gdb.base/display.exp: Expect displays to be sorted in ascending
2487 order. Use multi_line.
2488 * gdb.base/solib-display.exp: Likewise.
2490 2015-11-24 Pedro Alves <palves@redhat.com>
2493 * gdb.base/display.exp: Expect displays to be sorted in ascending
2494 order. Use multi_line.
2495 * gdb.base/solib-display.exp: Likewise.
2497 2015-11-24 Pedro Alves <palves@redhat.com>
2500 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2501 threads in ascending order.
2502 * gdb.base/foll-fork.exp: Likewise.
2503 * gdb.base/foll-vfork.exp: Likewise.
2504 * gdb.base/multi-forks.exp: Likewise.
2505 * gdb.mi/mi-nonstop.exp: Likewise.
2506 * gdb.mi/mi-nsintrall.exp: Likewise.
2507 * gdb.multi/base.exp: Likewise.
2508 * gdb.multi/multi-arch.exp: Likewise.
2509 * gdb.python/py-inferior.exp: Likewise.
2510 * gdb.threads/break-while-running.exp: Likewise.
2511 * gdb.threads/execl.exp: Likewise.
2512 * gdb.threads/gcore-thread.exp: Likewise.
2513 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2514 * gdb.threads/kill.exp: Likewise.
2515 * gdb.threads/linux-dp.exp: Likewise.
2516 * gdb.threads/multiple-step-overs.exp: Likewise.
2517 * gdb.threads/next-bp-other-thread.exp: Likewise.
2518 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2519 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2520 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2521 * gdb.threads/thread-find.exp: Likewise.
2522 * gdb.threads/tls.exp: Likewise.
2523 * lib/mi-support.exp (mi_reverse_list): Delete.
2524 (mi_check_thread_states): No longer reverse list.
2526 2015-11-24 Pedro Alves <palves@redhat.com>
2528 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2531 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2533 * gdb.trace/actions.c: Include trace-common.h.
2534 (main): Add a location for a fast tracepoint.
2535 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2536 the normal tracepoints.
2537 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2539 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2541 * save-trace.exp: Factor out code to these...
2542 (gdb_save_tracepoints): New.
2543 (gdb_load_tracepoints): New.
2544 (do_save_load_test): New.
2546 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2548 * gdb.base/asmlabel.exp: New test.
2549 * gdb.base/asmlabel.c: New test case.
2551 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2553 * gdb.base/wrong_frame_bt_full-main.c: New file.
2554 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2555 * gdb.base/wrong_frame_bt_full.exp: New file.
2557 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2559 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2561 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2563 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2564 pstate register when comparing registers values in
2565 sparc64-*-linux-gnu targets to avoid spurious differences.
2567 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2569 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2571 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2573 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2574 as type argument to gdb_compile.
2575 * gdb.base/nested-subp2.exp: Likewise.
2576 * gdb.base/nested-subp3.exp: Likewise.
2578 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2580 * lib/dwarf.exp (_note): Fix left shift of negative value.
2581 * gdb.trace/trace-condition.exp: Likewise.
2583 2015-11-13 Yao Qi <yao.qi@linaro.org>
2585 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2586 comments about d10v.
2587 (test_scalar_returns): Likewise.
2588 * gdb.base/d10v.ld: Remove.
2589 * gdb.base/overlays.exp: Remove the target triplet checking for
2591 * gdb.base/structs.exp (test_struct_returns): Remove the
2592 comments about d10v.
2593 (test_struct_calls): Likewise.
2595 2015-11-13 Yao Qi <yao.qi@linaro.org>
2597 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2598 * gdb.base/gnu_vector.c: Don't include stdio.h.
2599 (main): Don't print res and call add_some_intvecs.
2601 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2603 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2606 (func4): Use FAST_TRACEPOINT_LABEL.
2607 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2610 (thread_function): Use FAST_TRACEPOINT_LABEL.
2611 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2613 (marker): Use FAST_TRACEPOINT_LABEL.
2614 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2615 (pendfunc1): Remove.
2616 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2617 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2619 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2620 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2623 (marker): Use FAST_TRACEPOINT_LABEL.
2624 * gdb.trace/trace-common.h: New header.
2625 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2628 (marker): Use FAST_TRACEPOINT_LABEL.
2629 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2631 (thread_function): Use FAST_TRACEPOINT_LABEL.
2633 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2635 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2637 * gdb.trace/change-loc.exp: Use global pcreg definition.
2638 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2639 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2641 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2642 * gdb.trace/pending.exp: Likewise.
2643 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2644 * gdb.trace/trace-break.exp: Likewise.
2645 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2647 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2648 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2650 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2652 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2654 * gdb.ada/fin_fun_out: New testcase.
2656 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2658 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2659 value associated with DW_AT_byte_size.
2660 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2661 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2664 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2666 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2667 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2669 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2670 gdb.dwarf2/dw2-canonicalize-type.exp,
2671 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2672 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2673 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2674 provided by gdb_target_symbol_prefix_flags_asm.
2675 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2676 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2677 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2678 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2679 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2680 macros where needed). Use this macro for symbols which require
2681 the prefix provided by SYMBOL_PREFIX.
2683 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2685 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2687 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2688 representing expressions, of more than one list element.
2689 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2690 to prepend linker symbol prefix to f.
2691 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2692 table_1 and table_2.
2693 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2694 Likewise, for f and g.
2695 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2697 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2699 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2700 table_1_ptr and table_2_ptr.
2702 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2703 Joel Brobecker <brobecker@adacore.com>
2705 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2707 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2709 * gdb.reverse/s390-mvcle.c: New test.
2710 * gdb.reverse/s390-mvcle.exp: New file.
2711 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2713 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2715 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2717 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2719 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2721 * gdb.reverse/getresuid-reverse.exp: Likewise.
2722 * gdb.reverse/pipe-reverse.exp: Likewise.
2723 * gdb.reverse/readv-reverse.exp: Likewise.
2724 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2725 * gdb.reverse/time-reverse.exp: Likewise.
2726 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2728 2015-10-30 Yao Qi <yao.qi@linaro.org>
2730 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2731 (empty_cycle): Remove.
2732 (main): Don't call empty_cycle. Don't use watch_count_done.
2733 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2734 empty_cycle. Rewrite the code counting HW watchpoints.
2736 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2738 * gdb.reverse/fstatat-reverse.c: New test.
2739 * gdb.reverse/fstatat-reverse.exp: New file.
2740 * gdb.reverse/getresuid-reverse.c: New test.
2741 * gdb.reverse/getresuid-reverse.exp: New file.
2742 * gdb.reverse/pipe-reverse.c: New test.
2743 * gdb.reverse/pipe-reverse.exp: New file.
2744 * gdb.reverse/readv-reverse.c: New test.
2745 * gdb.reverse/readv-reverse.exp: New file.
2746 * gdb.reverse/recvmsg-reverse.c: New test.
2747 * gdb.reverse/recvmsg-reverse.exp: New file.
2748 * gdb.reverse/time-reverse.c: New test.
2749 * gdb.reverse/time-reverse.exp: New file.
2750 * gdb.reverse/waitpid-reverse.c: New test.
2751 * gdb.reverse/waitpid-reverse.exp: New file.
2753 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2755 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2757 2015-10-26 Doug Evans <dje@google.com>
2760 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2761 * gdb.dwarf2/bad-regnum.c: New file.
2762 * gdb.dwarf2/bad-regnum.exp: New file.
2764 2015-10-26 Doug Evans <dje@google.com>
2767 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2770 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2772 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2773 for a change by "Mention language in compile error message".
2775 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2778 * gdb.python/py-type.c (C::a_method): New.
2779 (C::a_const_method): New.
2780 (C::a_static_method): New.
2782 * gdb.python/py-type.exp (test_fields): Test getting fields
2783 from function and method.
2785 2015-10-21 Keven Boell <keven.boell@intel.com>
2787 * gdb.fortran/vla-alloc-assoc.exp: New file.
2788 * gdb.fortran/vla-datatypes.exp: New file.
2789 * gdb.fortran/vla-datatypes.f90: New file.
2790 * gdb.fortran/vla-history.exp: New file.
2791 * gdb.fortran/vla-ptype-sub.exp: New file.
2792 * gdb.fortran/vla-ptype.exp: New file.
2793 * gdb.fortran/vla-sizeof.exp: New file.
2794 * gdb.fortran/vla-sub.f90: New file.
2795 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2796 * gdb.fortran/vla-value-sub-finish.exp: New file.
2797 * gdb.fortran/vla-value-sub.exp: New file.
2798 * gdb.fortran/vla-value.exp: New file.
2799 * gdb.fortran/vla-ptr-info.exp: New file.
2800 * gdb.mi/mi-vla-fortran.exp: New file.
2801 * gdb.mi/vla.f90: New file.
2803 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2805 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2806 of hardwired timeout value.
2808 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2809 Pedro Alves <palves@redhat.com>
2811 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2812 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2814 2015-10-19 Josh Stone <jistone@redhat.com>
2816 * gdb.base/catch-syscall.c: Include <sched.h>.
2817 (unknown_syscall): New variable.
2818 (main): Trigger a vfork and an unknown syscall.
2819 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2820 (unknown_syscall_number): Likewise.
2821 (check_call_to_syscall): Accept an optional syscall pattern.
2822 (check_return_from_syscall): Likewise.
2823 (check_continue): Likewise.
2824 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2825 (test_catch_syscall_skipping_return): New test toggling off 'catch
2826 syscall' to step over the syscall return, then toggling back on.
2827 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2828 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2829 (do_syscall_tests): Call test_catch_syscall_without_args and
2830 test_catch_syscall_mid_vfork.
2831 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2832 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2834 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2836 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2837 print g_vE): Add new pass patterns.
2838 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2839 print various symbol names for vptr fields.
2841 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2843 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2846 2015-10-12 Yao Qi <yao.qi@linaro.org>
2848 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2850 2015-10-12 Yao Qi <yao.qi@linaro.org>
2852 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2853 is aarch64*-*-linux*.
2855 2015-10-12 Yao Qi <yao.qi@linaro.org>
2857 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2858 (can_relocate_bcond_true): ... it.
2859 (can_relocate_bcond_false): New function.
2861 (can_relocate_bl): Likewise.
2862 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2865 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2867 * gdb.base/nested-addr.c: New file.
2868 * gdb.base/nested-addr.exp: New testcase.
2870 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2872 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2873 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2874 its output. Ignore the output of "record goto begin" and instead
2875 check that GDB is replaying.
2877 2015-10-09 Pedro Alves <palves@redhat.com>
2879 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2880 (top level): Use it in the run with no args test.
2882 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2884 * gdb.dlang/properties.exp: New file.
2886 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2888 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2889 whether or not address 0x1000 is mapped on the target.
2891 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2893 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2896 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2898 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2899 instruction-history test.
2901 2015-09-28 Doug Evans <dje@google.com>
2903 * gdb.base/gcore.c (array_func): Add reference to static_array.
2905 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2910 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2912 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2913 short or char as base type.
2915 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2917 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2918 to allow any size enum.
2920 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2922 * gdb.ada/array_ptr_renaming.exp: New testcase.
2923 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2924 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2926 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2928 * gdb.trace/ftrace-lock.c: New file.
2929 * gdb.trace/ftrace-lock.exp: New file.
2931 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2933 * gdb.arch/insn-reloc.c: New file.
2934 * gdb.arch/ftrace-insn-reloc.exp: New file.
2936 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2938 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2940 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2941 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2942 * gdb.trace/range-stepping.c: Likewise.
2943 * gdb.trace/trace-break.c: Likewise.
2944 * gdb.trace/trace-mt.c (thread_function): Likewise.
2945 * gdb.trace/ftrace.c (marker): Likewise.
2946 * gdb.trace/trace-condition.c (marker): Likewise.
2947 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2948 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2951 2015-09-18 Doug Evans <xdje42@gmail.com>
2953 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2954 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2956 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2958 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2961 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2963 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2964 the pending breakpoint. Remove timeout override for "Run till
2965 MI pending breakpoint on pendfunc3 on thread 2" test.
2967 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2969 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2972 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2974 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2975 in breakpoint filename pattern.
2977 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2979 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2981 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2983 * gdb.linespec/explicit.exp: Check for readline support for
2984 tab-completion tests. Fix obvious typo.
2986 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2988 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2991 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2993 * gdb.btrace/non-stop.c: New.
2994 * gdb.btrace/non-stop.exp: New.
2996 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2997 Yao Qi <yao.qi@linaro.org>
2999 * gdb.trace/trace-condition.c: New file.
3000 * gdb.trace/trace-condition.exp: New file.
3002 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3004 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3005 for testing bytecode compilation.
3007 2015-09-16 Pedro Alves <palves@redhat.com>
3008 Sandra Loosemore <sandra@codesourcery.com>
3010 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3011 (SECONDS): Redefine.
3012 (main): Call pthread_kill and alarm early.
3013 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3015 (test): If the target can't hardware step and doesn't support
3016 displaced stepping, increase the timeout.
3018 2015-09-16 Pedro Alves <palves@redhat.com>
3020 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3021 (enable_debug): New procedures.
3022 (test): Use them. Bail out if waiting for threads fails.
3023 (top level): Bail out if a test fails.
3025 2015-09-16 Yao Qi <yao.qi@linaro.org>
3027 * gdb.asm/asm-source.exp: Set asm-arch for
3028 aarch64*-*-* target.
3029 * gdb.asm/aarch64.inc: New file.
3031 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3033 * gdb.ada/array_of_variable_length.exp: New testcase.
3034 * gdb.ada/array_of_variable_length/foo.adb: New file.
3035 * gdb.ada/array_of_variable_length/pck.adb: New file.
3036 * gdb.ada/array_of_variable_length/pck.ads: New file.
3038 2015-09-15 Doug Evans <dje@google.com>
3040 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3041 of function static local variable.
3043 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3045 * gdb.threads/tls-so_extern.exp: New test file.
3046 * gdb.threads/tls-so_extern.c: New test file.
3047 * gdb.threads/tls-so_extern_main.c: New test file.
3049 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3051 * gdb.opt/solib-intra-step-lib.c: New file.
3052 * gdb.opt/solib-intra-step-main.c: New file.
3053 * gdb.opt/solib-intra-step.exp: New file.
3055 2015-09-15 Pedro Alves <palves@redhat.com>
3057 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3058 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3060 2015-09-14 Pedro Alves <palves@redhat.com>
3062 * gdb.base/hook-stop-continue.c: Delete.
3063 * gdb.base/hook-stop-continue.exp: Delete.
3064 * gdb.base/hook-stop-frame.c: Delete.
3065 * gdb.base/hook-stop-frame.exp: Delete.
3066 * gdb.base/hook-stop.c: New file.
3067 * gdb.base/hook-stop.exp: New file.
3069 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3071 * gdb.ada/access_to_packed_array.exp: New testcase.
3072 * gdb.ada/access_to_packed_array/foo.adb: New file.
3073 * gdb.ada/access_to_packed_array/pack.adb: New file.
3074 * gdb.ada/access_to_packed_array/pack.ads: New file.
3076 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3078 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3081 2015-09-11 Don Breazeal <donb@codesourcery.com>
3083 * gdb.base/foll-exec.c: Add copyright header. Fix
3085 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3086 (do_exec_tests): Use clean_restart in place of zap_session,
3087 and for test initialization. Fix formatting issues. Use
3088 fail in place of perror.
3089 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3090 an expect statement to match an expression with output from
3091 the program under debug.
3092 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3093 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3094 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3095 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3096 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3098 2015-09-09 Doug Evans <dje@google.com>
3100 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3102 2015-09-09 Doug Evans <dje@google.com>
3104 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3106 2015-09-09 Doug Evans <dje@google.com>
3108 * gdb.base/savedregs.exp: Fix typo.
3110 2015-09-09 Pedro Alves <palves@redhat.com>
3112 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3114 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3116 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3117 command actually switches threads. Give up on remaining
3118 tests if target fails to stop at breakpoint.
3120 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3122 * gdb.ada/funcall_char.exp: New testcase.
3123 * gdb.ada/funcall_char/foo.adb: New file.
3125 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3127 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3128 expected outputs. Add two testcases for completing ambiguous
3130 * gdb.ada/complete/aux_pck.adb: New file.
3131 * gdb.ada/complete/aux_pck.ads: New file.
3132 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3133 Ambiguous_Func functions.
3134 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3135 * gdb.ada/complete/pck.adb: Likewise.
3137 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3139 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3140 failures to run the test program under GDB.
3142 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
3144 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3147 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3149 * gdb.base/run-after-attach.exp: New test file.
3150 * gdb.base/run-after-attach.c: New test file.
3152 2015-08-26 Don Breazeal <donb@codesourcery.com>
3154 * gdb.base/foll-exec-2.c: New test program.
3155 * gdb.base/foll-exec-2.exp: New test.
3157 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3159 * gdb.base/nested-subp1.exp: New file.
3160 * gdb.base/nested-subp1.c: New file.
3161 * gdb.base/nested-subp2.exp: New file.
3162 * gdb.base/nested-subp2.c: New file.
3163 * gdb.base/nested-subp3.exp: New file.
3164 * gdb.base/nested-subp3.c: New file.
3166 2015-08-24 Pedro Alves <palves@redhat.com>
3168 * gdb.server/connect-without-multi-process.c: New file.
3169 * gdb.server/connect-without-multi-process.exp: New file.
3171 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3173 * gdb.opt/inline-markers.c: Make z int.
3175 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3177 * gdb.opt/inline-markers.c: Make z volatile.
3179 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
3181 * gdb.opt/inline-bt.c: New volatile global z.
3182 * gdb.opt/inline-cmds.c: Likewise.
3183 * gdb.opt/inline-locals.c: Likewise.
3184 * gdb.opt/inline-markers.c: New extern global z.
3186 (inline_fn): Likewise.
3188 2015-08-24 Pedro Alves <palves@redhat.com>
3190 * config/m32r-stub.exp: Remove file.
3191 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3192 * gdb.base/call-rt-st.exp: Likewise.
3193 * gdb.base/call-strs.exp: Likewise.
3194 * gdb.base/default.exp: Remove references to h8300-*-hms and
3196 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3198 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3200 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3201 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3202 and "return" use KFAIL when GDB can not read/write the vector
3205 2015-08-21 Gary Benson <gbenson@redhat.com>
3207 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3209 2015-08-20 Pedro Alves <palves@redhat.com>
3211 * gdb.server/solib-list.exp: No longer expect an interior stop in
3214 2015-08-20 Pedro Alves <palves@redhat.com>
3216 * gdb.server/connect-stopped-target.c: New file.
3217 * gdb.server/connect-stopped-target.exp: New file.
3219 2015-08-20 Pedro Alves <palves@redhat.com>
3221 * gdb.dwarf2/comp-unit-lang.exp: New file.
3222 * gdb.dwarf2/comp-unit-lang.c: New file.
3224 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3226 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3227 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3229 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3231 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3232 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3234 2015-08-18 Doug Evans <dje@google.com>
3235 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3237 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3238 skip_python_tests. New arg prompt_regexp.
3239 (skip_python_tests): New function.
3240 * lib/mi-support.exp (mi_skip_python_tests): New function.
3241 * gdb.python/py-mi-objfile-gdb.py: New file.
3242 * gdb.python/py-mi-objfile.c: New file.
3243 * gdb.python/py-mi-objfile.exp: New file.
3245 2015-08-17 Keith Seitz <keiths@redhat.com>
3247 * gdb.linespec/explicit.exp: Move strace test from here ...
3248 * gdb.trace/strace.exp: ... to here.
3250 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3252 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3253 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3255 2015-08-14 Doug Evans <xdje42@gmail.com>
3257 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3258 inferior before selecting a new file.
3260 2015-08-14 Doug Evans <xdje42@gmail.com>
3262 * gdb.mi/mi-disassemble.exp: Update.
3263 * gdb.base/disasm-optim.S: New file.
3264 * gdb.base/disasm-optim.c: New file.
3265 * gdb.base/disasm-optim.h: New file.
3266 * gdb.base/disasm-optim.exp: New file.
3268 2015-08-14 Keith Seitz <keiths@redhat.com>
3270 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3273 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3275 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3277 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3279 * gdb.ada/fun_renaming.exp: New testcase.
3280 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3281 * gdb.ada/fun_renaming/pack.adb: New file.
3282 * gdb.ada/fun_renaming/pack.ads: New file.
3284 2015-08-12 Keith Seitz <keiths@redhat.com>
3286 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3287 gdb_get_line_number.
3289 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3291 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3292 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3293 gdb.base/dso2dso.exp: New files.
3295 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3296 Pedro Alves <palves@redhat.com>
3297 Keith Seitz <keiths@redhat.com>
3299 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3302 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3304 * gdb.base/gdbhistsize-history.exp
3305 (test_histsize_history_setting): Use save_vars.
3306 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3308 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3309 * gdb.base/readline.exp: Use save_vars.
3311 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3313 * lib/gdb.exp (save_vars): New proc.
3315 2015-08-11 Keith Seitz <keiths@redhat.com>
3317 * gdb.base/help.exp: Update help_breakpoint_text.
3319 2015-08-11 Keith Seitz <keiths@redhat.com>
3321 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3322 (at toplevel): Call test_explicit_breakpoints.
3323 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3325 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3326 breakpoint conditions, "-cond".
3328 2015-08-11 Keith Seitz <keiths@redhat.com>
3330 * gdb.linespec/3explicit.c: New file.
3331 * gdb.linespec/cpexplicit.cc: New file.
3332 * gdb.linespec/cpexplicit.exp: New file.
3333 * gdb.linespec/explicit.c: New file.
3334 * gdb.linespec/explicit.exp: New file.
3335 * gdb.linespec/explicit2.c: New file.
3336 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3337 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3338 before using in the matching pattern.
3339 Clarify that `prefix' is a regular expression.
3341 2015-08-11 Keith Seitz <keiths@redhat.com>
3343 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3345 Add tests for missing ",FMT" and ",".
3347 2015-08-10 Doug Evans <dje@google.com>
3348 Keith Seitz <keiths@redhat.com>
3351 * gdb.base/completion.exp: Add location completer tests.
3353 2015-08-07 Pedro Alves <palves@redhat.com>
3355 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3357 (top level): Run do_test with and without displaced stepping.
3359 2015-08-07 Pedro Alves <palves@redhat.com>
3361 * gdb.base/valgrind-disp-step.c: New file.
3362 * gdb.base/valgrind-disp-step.exp: New file.
3364 2015-08-07 Pedro Alves <palves@redhat.com>
3366 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3368 (main): Add alarm. Run an infinite loop instead of calling
3370 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3372 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3374 (main): Add alarm. Run an infinite loop instead of calling
3376 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3379 2015-08-07 Pedro Alves <palves@redhat.com>
3381 * gdb.base/checkpoint-ns.exp: New file.
3382 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3385 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3387 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3388 * gdb.btrace/instruction_history.exp: Update.
3389 * gdb.btrace/tsx.exp: New.
3390 * gdb.btrace/tsx.c: New.
3392 2015-08-06 Pedro Alves <palves@redhat.com>
3394 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3396 * gdb.reverse/until-precsave.exp: Bump timeouts.
3398 2015-08-06 Pedro Alves <palves@redhat.com>
3400 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3402 2015-08-06 Pedro Alves <palves@redhat.com>
3405 * gdb.threads/process-dies-while-handling-bp.c: New file.
3406 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3408 2015-08-06 Pedro Alves <palves@redhat.com>
3410 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3411 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3413 2015-08-05 Pedro Alves <palves@redhat.com>
3415 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3416 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3418 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3420 * gdb.base/bp-permanent.exp: Report test as unsupported if
3421 the target cannot stop at the permanent breakpoint.
3423 2015-08-03 Doug Evans <dje@google.com>
3425 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3428 2015-08-03 Doug Evans <dje@google.com>
3430 * Makefile.in (workers/%.worker, build-perf): New rule.
3431 (GDB_PERFTEST_MODE): New variable.
3432 (check-perf): Use it.
3433 (clean): Clean up gdb.perf parallel build subdirs.
3434 * lib/build-piece.exp: New file.
3435 * lib/gdb.exp (make_gdb_parallel_path): New function
3436 (standard_output_file, standard_temp_file): Call it.
3437 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3439 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3441 2015-08-03 Doug Evans <dje@google.com>
3443 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3444 (LOG_FILE_NAME): New global.
3445 (TextReporter.__init__): Initialize self.txt_sum.
3446 (TextReporter.report): Add support for multiple data-points.
3447 Move report to perftest.sum, put raw data in perftest.log.
3448 (TextReporter.start): Open sum and log files.
3449 (TextReporter.end): Close sum and log files.
3450 * gdb.perf/lib/perftest/testresult.py
3451 (SingleStatisticTestResult.record): Handle multiple data-points.
3453 2015-07-31 Pedro Alves <palves@redhat.com>
3455 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3456 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3457 kill_wait_spawned_process instead of explicit "kill -9".
3458 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3459 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3460 kill_wait_spawned_process.
3461 * gdb.base/attach-twice.exp: Likewise.
3462 * gdb.base/attach.exp: Likewise.
3463 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3465 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3466 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3467 kill_wait_spawned_process.
3468 * gdb.base/valgrind-infcall.exp: Likewise.
3469 * gdb.multi/multi-attach.exp: Likewise.
3470 * gdb.python/py-prompt.exp: Likewise.
3471 * gdb.python/py-sync-interp.exp: Likewise.
3472 * gdb.server/ext-attach.exp: Likewise.
3473 * gdb.threads/attach-into-signal.exp (corefunc): Use
3474 spawn_wait_for_attach, spawn_id_get_pid and
3475 kill_wait_spawned_process.
3476 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3477 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3478 spawn_id_get_pid and kill_wait_spawned_process.
3479 * gdb.threads/attach-stopped.exp (corefunc): Use
3480 spawn_wait_for_attach, spawn_id_get_pid and
3481 kill_wait_spawned_process.
3482 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3483 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3484 kill_wait_spawned_process instead of explicit "kill -9".
3485 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3486 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3487 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3488 processes. Don't map cygwin/windows pids here. Now returns a
3491 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3493 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3494 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3497 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3499 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3501 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3504 2014-05-21 Mark Wielaard <mjw@redhat.com>
3506 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3508 2015-07-30 Pedro Alves <palves@redhat.com>
3510 * linux-low.c (handle_extended_wait): Set the child's last
3511 reported status to TARGET_WAITKIND_STOPPED.
3513 2015-07-30 Pedro Alves <palves@redhat.com>
3516 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3517 only shows inferior 1.
3519 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3520 Pedro Alves <palves@redhat.com>
3523 * gdb.threads/fork-plus-threads.c: New file.
3524 * gdb.threads/fork-plus-threads.exp: New file.
3526 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3528 * gdb.base/batch-preserve-term-settings.exp
3529 (test_terminal_settings_preserved_after_cli_exit): Use
3532 2015-07-29 Pedro Alves <palves@redhat.com>
3533 Don Breazeal <donb@codesourcery.com>
3535 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3536 output from both inferior_spawn_id and gdb_spawn_id.
3538 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3540 * gdb.threads/attach-into-signal.exp (corefunc): Use
3541 with_test_prefix on nested loops, uniquefying the test messages.
3543 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3545 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3548 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3550 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3552 (test_terminal_settings_preserved_after_sigterm): New test.
3554 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3556 * gdb.base/batch-preserve-term-settings.exp
3557 (test_terminal_settings_preserved_after_cli_exit): New test.
3559 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3561 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3562 manipulation of saved_gdbflags.
3563 (test_terminal_settings_preserved): Remove global declaration of
3564 the unused variable pagination_prompt. Remove manipulation of
3565 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3568 2015-07-29 Pedro Alves <palves@redhat.com>
3570 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3572 2015-07-29 Pedro Alves <palves@redhat.com>
3574 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3577 2015-07-29 Pedro Alves <palves@redhat.com>
3579 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3580 (main): Call gdb_unbuffer_output.
3581 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3582 (main): Call gdb_unbuffer_output.
3583 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3584 (main): Call gdb_unbuffer_output.
3585 * gdb.base/call-strs.exp: Adjust to step over the
3586 gdb_unbuffer_output call.
3587 * gdb.base/catch-gdb-caused-signals.c: Include
3588 "../lib/unbuffer_output.c".
3589 (main): Call gdb_unbuffer_output.
3590 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3591 (main): Call gdb_unbuffer_output.
3592 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3593 (main): Call gdb_unbuffer_output.
3594 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3595 (main): Call gdb_unbuffer_output.
3596 * gdb.base/shlib-call.exp: Adjust to step over the
3597 gdb_unbuffer_output call.
3598 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3599 (main): Call gdb_unbuffer_output.
3600 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3601 (main): Call gdb_unbuffer_output.
3602 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3603 (main): Rename to ...
3605 (main): Reimplement.
3606 * gdb.base/varargs.exp: Run to test instead of to main.
3607 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3608 (main): Call gdb_unbuffer_output.
3610 2015-07-29 Pedro Alves <palves@redhat.com>
3612 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3613 factore out from mi_continue_dprintf. For call-style dprintfs,
3614 expect dprintf output out of $inferior_spawn_id.
3615 (mi_continue_dprintf): Use mi_expect_dprintf.
3616 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3617 (main): Call gdb_unbuffer_output.
3619 2015-07-29 Pedro Alves <palves@redhat.com>
3621 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3622 (default_mi_gdb_start): Set inferior_spawn_id instead of
3623 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3625 (mi_gdb_test): Always expect inferior output from both
3626 $inferior_spawn_id and $gdb_spawn_id.
3628 2015-07-29 Pedro Alves <palves@redhat.com>
3630 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3631 send_inferior and $inferior_spawn_id.
3633 2015-07-29 Pedro Alves <palves@redhat.com>
3635 * gdb.gdb/complaints.exp (test_initial_complaints)
3636 (test_serial_complaints, test_short_complaints): Use
3638 (test_empty_complaint): Handle $inferior_spawn_id !=
3641 2015-07-29 Pedro Alves <palves@redhat.com>
3643 * gdb.base/varargs.exp: Use gdb_test_stdio.
3645 2015-07-29 Pedro Alves <palves@redhat.com>
3647 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3649 2015-07-29 Pedro Alves <palves@redhat.com>
3651 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3653 2015-07-29 Pedro Alves <palves@redhat.com>
3655 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3656 parameter into two new parameters, "inf_result" and "gdb_result".
3657 Expect inferior output and gdb output from $inferior_spawn_id and
3658 $gdb_spawn_id, respectively. Adjust all callers.
3660 2015-07-29 Pedro Alves <palves@redhat.com>
3662 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3663 of gdb_test_sequence.
3665 2015-07-29 Pedro Alves <palves@redhat.com>
3667 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3668 (saw_spurious_output): Expect inferior output from
3669 $inferior_spawn_id. Use gdb_test_stdio.
3671 2015-07-29 Pedro Alves <palves@redhat.com>
3673 * gdb.base/dprintf.exp: Use standard_testfile. Change
3674 prepare_for_testing call.
3675 (srcfile): Don't set.
3676 (restart): New procedure.
3677 (test_dprintf): New procecure, use to continue over dprintfs.
3678 (test_call, test_agent): New procedures, tests moved here.
3679 Restart gdb and recreate dprintfs. Adjust expected output.
3681 2015-07-29 Pedro Alves <palves@redhat.com>
3683 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3685 2015-07-29 Pedro Alves <palves@redhat.com>
3687 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3689 2015-07-29 Pedro Alves <palves@redhat.com>
3691 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3694 2015-07-29 Pedro Alves <palves@redhat.com>
3696 * lib/gdb.exp (gdb_test_stdio): New procedure.
3698 2015-07-29 Pedro Alves <palves@redhat.com>
3700 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3702 2015-07-29 Pedro Alves <palves@redhat.com>
3704 * gdb.base/call-signal-resume.exp: Remove check for
3705 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3706 * gdb.base/unwindonsignal.exp: Likewise.
3707 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3708 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3710 2015-07-29 Pedro Alves <palves@redhat.com>
3712 * gdb.base/siginfo-addr.c (pass): New function.
3713 (handler): Call it iff si_addr is correct.
3714 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3715 Set a breakpoint at "pass" and continue to it.
3717 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3719 * gdb.python/py-objfile.exp: Make some tests have unique names.
3720 * gdb.python/py-pp-registration.exp: Likewise.
3722 2015-07-28 Pedro Alves <palves@redhat.com>
3724 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3726 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3728 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3730 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3732 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3734 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3736 * gdb.base/gdb-sigterm-2.exp: New test.
3738 2015-07-25 Doug Evans <xdje42@gmail.com>
3741 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3742 (workers/%.worker, build-perf): New rule.
3743 (GDB_PERFTEST_MODE): New variable.
3744 (check-perf): Use it.
3745 (clean): Clean up gdb.perf parallel build subdirs.
3746 * lib/build-piece.exp: New file.
3747 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3748 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3750 (standard_temp_file): Ditto.
3751 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3754 2015-07-24 Doug Evans <dje@google.com>
3756 * gdb.perf/lib/perftest/utils.py: New file.
3757 * gdb.perf/gm-hello.cc: New file.
3758 * gdb.perf/gm-pervasive-typedef.cc: New file.
3759 * gdb.perf/gm-pervasive-typedef.h: New file.
3760 * gdb.perf/gm-std.cc: New file.
3761 * gdb.perf/gm-std.h: New file.
3762 * gdb.perf/gm-use-cerr.cc: New file.
3763 * gdb.perf/gm-utils.h: New file.
3764 * gdb.perf/gmonster-null-lookup.py: New file.
3765 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3766 * gdb.perf/gmonster-print-cerr.py: New file.
3767 * gdb.perf/gmonster-ptype-string.py: New file.
3768 * gdb.perf/gmonster-runto-main.py: New file.
3769 * gdb.perf/gmonster-select-file.py: New file.
3770 * gdb.perf/gmonster1-null-lookup.exp: New file.
3771 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3772 * gdb.perf/gmonster1-print-cerr.exp: New file.
3773 * gdb.perf/gmonster1-ptype-string.exp: New file.
3774 * gdb.perf/gmonster1-runto-main.exp: New file.
3775 * gdb.perf/gmonster1-select-file.exp: New file.
3776 * gdb.perf/gmonster1.cc: New file.
3777 * gdb.perf/gmonster1.exp: New file.
3778 * gdb.perf/gmonster2-null-lookup.exp: New file.
3779 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3780 * gdb.perf/gmonster2-print-cerr.exp: New file.
3781 * gdb.perf/gmonster2-ptype-string.exp: New file.
3782 * gdb.perf/gmonster2-runto-main.exp: New file.
3783 * gdb.perf/gmonster2-select-file.exp: New file.
3784 * gdb.perf/gmonster2.cc: New file.
3785 * gdb.perf/gmonster2.exp: New file.
3787 2015-07-24 Doug Evans <dje@google.com>
3789 * gdb.perf/README: New file.
3790 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3791 * lib/gen-perf-test.exp: New file.
3793 2015-07-24 Doug Evans <dje@google.com>
3795 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3796 (PerfTest::startup): New function.
3797 (PerfTest::run): Return result of calling body.
3798 (PerfTest::assemble): Rewrite.
3799 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3800 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3801 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3802 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3803 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3805 2015-07-24 Doug Evans <dje@google.com>
3807 * lib/gdb.exp (clean_restart): Make executable optional.
3809 2015-07-24 Doug Evans <dje@google.com>
3811 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3812 compiler_info references.
3813 * gdb.cp/temargs.exp: Ditto.
3814 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3815 (get_compiler_info): Early exit if already computed. Set compiler_info
3816 to "unknown" if there was a problem.
3817 (test_compiler_info): Add function comment. Call get_compiler_info.
3819 2015-07-24 Doug Evans <dje@google.com>
3821 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3822 (workers/%.worker, build-perf): New rule.
3823 (GDB_PERFTEST_MODE): New variable.
3824 (check-perf): Use it.
3825 (clean): Clean up gdb.perf parallel build subdirs.
3826 * lib/build-piece.exp: New file.
3827 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3828 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3830 (standard_temp_file): Ditto.
3831 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3834 2015-07-24 Doug Evans <dje@google.com>
3836 * lib/future.exp (gdb_default_target_compile): New option
3838 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3841 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3843 * gdb.base/catch-syscall.exp: Call gdb_exit before
3846 2015-07-24 Pedro Alves <palves@redhat.com>
3848 * gdb.python/py-events.exp: Accept output between the stop event
3850 * gdb.python/py-evsignal.exp: Likewise.
3851 * gdb.python/py-evthreads.exp: Likewise.
3853 2015-07-24 Pedro Alves <palves@redhat.com>
3856 * gdb.threads/non-ldr-exit.c: New file.
3857 * gdb.threads/non-ldr-exit.exp: New file.
3859 2015-07-24 Yao Qi <yao.qi@linaro.org>
3861 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3864 2015-07-24 Yao Qi <yao.qi@linaro.org>
3866 * gdb.server/ext-restart.exp: New file.
3868 2015-07-24 Yao Qi <yao.qi@linaro.org>
3870 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3872 * gdb.server/ext-wrapper.exp: New file.
3874 2015-07-23 Doug Evans <dje@google.com>
3876 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3877 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3879 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3881 * gdb.ada/var_arr_typedef.exp: New testcase.
3882 * gdb.ada/var_arr_typedef/pack.adb: New file.
3883 * gdb.ada/var_arr_typedef/pack.ads: New file.
3884 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3886 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3888 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3890 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3892 * gdb.arch/i386-biarch-core.exp: Replace istarget
3893 by "complete set gnutarget". Remove expectation for the "core-file"
3896 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3898 Revert the previous commit:
3899 Tests for validate symbol file using build-id.
3901 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3903 Tests for validate symbol file using build-id.
3904 * gdb.base/solib-mismatch-lib.c: New file.
3905 * gdb.base/solib-mismatch-libmod.c: New file.
3906 * gdb.base/solib-mismatch.c: New file.
3907 * gdb.base/solib-mismatch.exp: New file.
3909 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3911 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3913 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3914 * gdb.base/siginfo.exp: Likewise.
3915 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3917 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3919 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3921 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3923 * gdb.trace/range-stepping.exp: Check that the target supports
3926 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3928 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3930 2015-07-14 Pedro Alves <palves@redhat.com>
3932 * gdb.base/killed-outside.exp: New file.
3933 * gdb.base/killed-outside.c: New file.
3935 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3937 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3939 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3941 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3943 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3944 infcall tests instead of setting up for KFAIL.
3946 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3948 * gdb.btrace/record_goto-step.exp: New.
3950 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3953 * gdb.compile/compile.c (struct struct_type): Add volatile to
3955 * gdb.compile/compile.exp
3956 (compile code struct_object.selffield = &struct_object): Skip further
3957 struct_object tests if this one xfails.
3959 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3962 * gdb.trace/ax.exp: Add test.
3964 2015-07-07 Yao Qi <yao.qi@linaro.org>
3966 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3967 instead of istarget "aarch64*-*-*".
3968 * gdb.arch/aarch64-fp.exp: Likewise.
3969 * gdb.base/float.exp: Likewise.
3970 * gdb.reverse/aarch64.exp: Likewise.
3971 * lib/gdb.exp (is_aarch64_target): New proc.
3973 2015-07-07 Yao Qi <yao.qi@linaro.org>
3975 * lib/gdb.exp (is_aarch32_target): New proc.
3976 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3977 instead of "istarget "arm*-*-*"".
3978 * gdb.arch/arm-disp-step.exp: Likewise.
3979 * gdb.arch/thumb-bx-pc.exp: Likewise.
3980 * gdb.arch/thumb-prologue.exp: Likewise.
3981 * gdb.arch/thumb-singlestep.exp: Likewise.
3982 * gdb.base/disp-step-syscall.exp: Likewise.
3983 * gdb.base/float.exp: Likewise.
3985 2015-07-07 Yao Qi <yao.qi@linaro.org>
3987 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3988 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3990 2015-07-07 Yao Qi <yao.qi@linaro.org>
3992 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3993 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3995 * gdb.multi/multi-arch.exp: Likewise.
3997 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3999 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4002 2015-07-07 Yao Qi <yao.qi@linaro.org>
4004 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4006 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4008 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4009 '[' and ']' characters.
4011 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4015 2015-06-29 Pedro Alves <palves@redhat.com>
4018 * gdb.threads/hand-call-new-thread.c: New file.
4019 * gdb.threads/hand-call-new-thread.c: New file.
4021 2015-06-26 Keith Seitz <keiths@redhat.com>
4022 Doug Evans <dje@google.com>
4025 * gdb.cp/var-tag-2.cc: New file.
4026 * gdb.cp/var-tag-3.cc: New file.
4027 * gdb.cp/var-tag-4.cc: New file.
4028 * gdb.cp/var-tag.cc: New file.
4029 * gdb.cp/var-tag.exp: New file.
4031 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4033 * gdb.base/history-duplicates.exp: New test.
4035 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4037 * gdb.base/completion.exp: Test the completion of the "focus"
4040 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4042 * gdb.arch/amd64-prologue-skip.S: New file.
4043 * gdb.arch/amd64-prologue-skip.exp: New file.
4045 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4047 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4048 is_address_zero_readable check.
4050 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4052 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4053 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4055 2015-06-24 Yao Qi <yao.qi@linaro.org>
4057 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4060 2015-06-24 Yao Qi <yao.qi@linaro.org>
4062 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4063 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4064 * gdb.base/siginfo-thread.exp: Likewise.
4066 2015-06-22 Yao Qi <yao.qi@linaro.org>
4068 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4070 2015-06-22 Yao Qi <yao.qi@linaro.org>
4072 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4074 (skip_hw_watchpoint_tests): Likewise.
4076 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4078 * gdb.base/gdbinit-history.exp: Test the interaction between
4079 setting GDBHISTSIZE and setting the history size via .gdbinit.
4081 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4084 * gdb.base/gdbhistsize-history.exp: New test.
4086 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4088 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4090 * gdb.base/readline.exp: Likewise.
4092 2015-06-17 Yao Qi <yao.qi@linaro.org>
4094 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4097 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4099 * gdb.base/gdbinit-history.exp: Add test case to check that
4100 an unlimited history file does not get truncated on exit.
4102 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4104 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4105 (VECTOR): New macro. Use it...
4106 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4107 ...for these typedefs.
4108 (int8, char1, int1, double1): New typedefs.
4109 (struct just_int2, struct two_int2): New structures.
4110 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4111 (add_structvecs, add_singlevecs): New functions.
4112 (main): Call add_some_intvecs twice.
4113 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4114 the compile and exit upon failure. Try compiling for the "native"
4115 architecture. Test inferior function calls with vector arguments
4116 and vector return value handling with "finish" and "return".
4118 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4120 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4121 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4123 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4125 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4127 PR breakpoints/16465
4128 * gdb.mi/mi-dprintf-pending.c: New file.
4129 * gdb.mi/mi-dprintf-pending.exp: New test.
4130 * gdb.mi/mi-dprintf-pendshr.c: New file.
4132 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4133 Mircea Gherzan <mircea.gherzan@intel.com>
4135 * gdb.arch/i386-mpx-map.c: New file.
4136 * gdb.arch/i386-mpx-map.exp: New File.
4138 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4140 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4141 * gdb.arch/i386-mpx.exp: Indentation fixed.
4143 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4145 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4146 function and improved indentation.
4147 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4148 gdb_test_multiple. Added additional tests to skip the test.
4150 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4152 * gdb.arch/i386-avx512.c: Change path in include file.
4153 * gdb.arch/i386-avx512.exp: Change include dir path
4155 * gdb.arch/i386-mpx.c: Change path in include file.
4156 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4159 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4161 * gdb.compile/compile-print.exp (compile print *vararray@3)
4162 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4164 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4166 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4167 (do not keep jit in memory): ... this.
4168 (expect 5): Change it to ...
4169 (expect no 5): ... this.
4171 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4174 * gdb.mi/mi-detach.exp: New file.
4176 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4179 * gdb.arch/amd64-tailcall-self.S: New file.
4180 * gdb.arch/amd64-tailcall-self.c: New file.
4181 * gdb.arch/amd64-tailcall-self.exp: New file.
4183 2015-05-28 Don Breazeal <donb@codesourcery.com>
4185 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4186 tests for remote targets by checking is_target_gdbserver.
4188 2015-05-27 Doug Evans <dje@google.com>
4190 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4191 * gdb.dwarf2/opaque-type-lookup.c: New file.
4192 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4194 2015-05-26 Doug Evans <dje@google.com>
4196 * gdb.cp/iostream.cc: New file.
4197 * gdb.cp/iostream.exp: New file.
4199 2015-05-26 Doug Evans <dje@google.com>
4201 * gdb.dwarf2/dw2-op-call.exp: Update.
4202 * gdb.dwarf2/dw4-sig-types.exp: Update.
4203 * gdb.dwarf2/implptr.exp: Update.
4204 * gdb.mi/mi-cmd-param-changed.exp: Update.
4206 2015-05-26 Doug Evans <dje@google.com>
4208 * gdb.python/py-lazy-string.c: New file.
4209 * gdb.python/py-lazy-string.exp: New file.
4210 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4211 (main): Update. Add estring3.
4212 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4213 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4215 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4216 Yao Qi <yao.qi@linaro.org>
4218 * gdb.reverse/aarch64.c: New.
4219 * gdb.reverse/aarch64.exp: New.
4221 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4223 * lib/gdb.exp (supports_process_record): Return true for
4225 (supports_reverse): Likewise.
4227 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4229 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4230 Use with_test_prefix.
4232 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4234 * gdb.base/completion.exp: Add test for completion of layout
4237 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4239 * lib/gdb.exp (skip_tui_tests): New proc.
4240 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4242 2015-05-19 Pedro Alves <palves@redhat.com>
4244 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4245 Save the whole env array instead of just HOME. Unset HISTSIZE in
4246 the environment while testing. Restore whole environment
4249 2015-05-16 Doug Evans <xdje42@gmail.com>
4251 * gdb.guile/scm-ports.c: New file.
4252 * gdb.guile/scm-ports.exp: Add memory port tests.
4254 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4256 * gdb.compile/compile-print.c: New file.
4257 * gdb.compile/compile-print.exp: New file.
4259 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4261 * gdb.compile/compile-ops.exp: Cast param to void.
4262 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4263 (compile code struct_object.selffield = &struct_object): Add xfail.
4265 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4267 * gdb.ada/arr_enum_with_gap: New testcase.
4269 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4271 * gdb.ada/byte_packed_arr: New testcase.
4273 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4275 * gdb.ada/pckd_neg: New testcase.
4277 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4280 * gdb.base/gdbinit-history.exp: New test.
4281 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4282 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4284 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4286 * gdb.python/py-xmethods.cc: Enhance test case.
4287 * gdb.python/py-xmethods.exp: New tests.
4288 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4290 (B_indexoper): Likewise.
4291 (global_dm_list) : Add new xmethod worker functions.
4293 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4295 * gdb.base/coredump-filter.exp: Correctly unset
4296 "coredump_var_addr" array.
4298 2015-05-08 Pedro Alves <palves@redhat.com>
4300 * gdb.server/non-existing-program.exp: Unset spawn_id.
4302 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4305 * gdb.python/py-xmethods.exp: Add tests.
4307 2015-05-08 Yao Qi <yao.qi@linaro.org>
4310 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4311 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4312 function set_coredump_filter, and remove remote_exec call.
4313 Remove argument ipid. Callers update.
4314 (top level): Don't get inferior's PID.
4316 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4318 * gdb.base/watch_thread_num.exp: Skip test on targets without
4321 2015-05-06 Pedro Alves <palves@redhat.com>
4324 * gdb.server/non-existing-program.exp: New file.
4326 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4328 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4330 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4332 * gdb.ada/out_of_line_in_inlined: New testcase.
4334 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4336 * gdb.ada/var_rec_arr: New testcase.
4338 2015-04-30 Yao Qi <yao.qi@linaro.org>
4340 * gdb.base/break-idempotent.exp: If
4341 skip_hw_watchpoint_multi_tests returns true, skip the tests
4342 on "rwatch" and "awatch".
4344 2015-04-30 Yao Qi <yao.qi@linaro.org>
4346 * gdb.base/relativedebug.exp: Invoke gdb command
4347 "info sharedlibrary", and if libc.so doesn't have debug info,
4350 2015-04-29 Doug Evans <dje@google.com>
4352 * gdb.python/py-xmethods.exp: Add ptype tests.
4353 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4354 get_result_type method.
4356 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4358 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4359 the target does not support hardware watchpoints.
4361 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4363 * gdb.base/break-always.exp: Abort testing if writing to memory
4366 2015-04-28 Doug Evans <dje@google.com>
4368 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4369 * gdb.python/py-pp-registration.exp: ... here. New file.
4370 * gdb.python/py-pp-registration.c: New file.
4371 * gdb.python/py-pp-registration.py: New file.
4373 2015-04-28 Doug Evans <dje@google.com>
4375 * gdb.python/py-bad-printers.c: New file.
4376 * gdb.python/py-bad-printers.py: New file.
4377 * gdb.python/py-bad-printers.exp: New file.
4379 2015-04-28 Sasha Smundak <asmundak@google.com>
4381 * gdb.python/py-type.exp: New test.
4383 2015-04-28 Andy Wingo <wingo@igalia.com>
4385 * gdb.python/py-parameter.exp:
4386 * gdb.guile/scm-parameter.exp: Escape the path that we are
4387 matching against, as it might contain characters that are special
4388 to regular expressions.
4390 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4392 * gdb.ada/rec_comp: New testcase.
4394 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4396 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4399 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4401 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4402 new tests for verilog output.
4404 2015-04-24 Yao Qi <yao.qi@linaro.org>
4406 * boards/remote-gdbserver-on-localhost.exp: New file.
4408 2015-04-23 Pedro Alves <palves@redhat.com>
4410 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4411 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4412 "end of file", remove $inferior_spawn_id from the indirect list.
4414 2015-04-23 Pedro Alves <palves@redhat.com>
4416 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4418 2015-04-23 Pedro Alves <palves@redhat.com>
4420 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4421 on $any_spawn_id instead of only on $gdb_spawn_id.
4423 2015-04-21 Pierre Muller <muller@sourceware.org>
4426 * lib/pascal.exp (gpc_compile): Add new option "class".
4427 (fpc_compile): Likewise.
4428 * gdb.pascal/case-insensitive-symbols.pas: New file.
4429 * gdb.pascal/case-insensitive-symbols.exp: New file.
4431 2015-04-20 Gary Benson <gbenson@redhat.com>
4433 * gdb.base/attach.exp: Fix three extended remote failures.
4435 2015-04-17 Gary Benson <gbenson@redhat.com>
4437 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4438 the main executable over the remote protocol.
4440 2015-04-16 Pedro Alves <palves@redhat.com>
4442 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4443 a new gdbserver if gdbserver_reconnect_p is set.
4445 2015-04-16 Pedro Alves <palves@redhat.com>
4447 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4448 is set, don't exit gdbserver.
4450 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4452 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4453 appropriate .insn, such that an older assembler can be used.
4454 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4455 the z/Architecture instruction set on 31-bit targets as well.
4457 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4459 * gdb.go/handcall.exp: Remove all logic related to the first
4460 breakpoint and rely on go_runto_main instead.
4461 * gdb.go/strings.exp: Likewise.
4462 * gdb.go/unsafe.exp: Likewise.
4463 * gdb.go/hello.exp: Likewise. Also rename the remaining
4464 breakpoint marker to "breakpoint 1".
4465 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4466 * gdb.go/strings.go: Likewise.
4467 * gdb.go/unsafe.go: Likewise.
4468 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4469 "set breakpoint 2 here" and rename the remaining breakpoint marker
4472 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4474 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4475 if itertools.imap is not present.
4476 * gdb.python/py-objfile.exp: Add parentheses.
4477 * gdb.python/py-type.exp: Same.
4478 * gdb.python/py-unwind-maint.py: Same.
4480 2015-04-15 Yao Qi <yao.qi@linaro.org>
4482 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4483 of ":$ptr_size" and set its form explicitly.
4485 2015-04-15 Pedro Alves <palves@redhat.com>
4486 Yao Qi <yao.qi@linaro.org>
4488 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4489 timeout by factor of 4.
4490 (test_regular_watch): Likewise.
4491 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4492 * gdb.reverse/sigall-reverse.exp: Likewise.
4493 * gdb.reverse/until-precsave.exp: Likewise.
4494 * lib/gdb.exp (with_timeout_factor): New proc.
4495 (gdb_expect): Move some code to ...
4496 (get_largest_timeout): ... here. New procedure.
4498 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4500 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4502 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4504 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4505 to write to the .text section.
4507 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4509 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4510 Handle the case of targets that do not provide PID information.
4512 2015-04-13 Yao Qi <yao.qi@linaro.org>
4514 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4515 and use expect instead of gdb_expect.
4517 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4519 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4520 "coredump_var_addr" to avoid naming conflict with other testcases.
4522 2015-04-10 Pedro Alves <palves@redhat.com>
4524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4525 gdb_test_sequence and gdb_assert.
4527 2015-04-10 Pedro Alves <palves@redhat.com>
4529 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4530 test messages that don't include the breakpoint address.
4532 2015-04-10 Yao Qi <yao.qi@linaro.org>
4534 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4535 false for some offset and width combinations which aren't
4536 supported by linux kernel.
4538 2015-04-10 Pedro Alves <palves@redhat.com>
4540 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4541 procedure, factored out from ...
4542 (top level): ... here. Add "set displaced-stepping" testing axis.
4543 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4544 parameter "displaced". Use it.
4545 (top level): Use foreach and add "set displaced-stepping" testing
4548 2015-04-10 Pedro Alves <palves@redhat.com>
4550 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4552 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4553 both the address of the instruction that triggers the watchpoint
4554 and the address of the instruction immediately after, and use
4555 those addresses for the test. Fix comment.
4557 2015-04-10 Pedro Alves <palves@redhat.com>
4559 * gdb.base/sigstep.exp (breakpoint_to_handler)
4560 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4561 Test "backtrace" in handler.
4562 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4563 (top level): Add new "displaced" test axis to
4564 breakpoint_to_handler, breakpoint_to_handler_entry and
4565 breakpoint_over_handler.
4567 2015-04-10 Pedro Alves <palves@redhat.com>
4570 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4572 2015-04-10 Yao Qi <yao.qi@linaro.org>
4574 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4575 (test_add_rn_pc): New function.
4576 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4577 (top level): Invoke test_add_rn_pc.
4579 2015-04-10 Pedro Alves <palves@redhat.com>
4582 * gdb.base/step-over-no-symbols.exp: New file.
4584 2015-04-09 Andy Wingo <wingo@igalia.com>
4586 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4587 after the Python tests.
4589 2015-04-08 Keith Seitz <keiths@redhat.com>
4592 * gdb.python/py-completion.exp: New tests for completion.
4593 * gdb.python/py-completion.py (CompleteLimit1): New class.
4594 (CompleteLimit2): Likewise.
4595 (CompleteLimit3): Likewise.
4596 (CompleteLimit4): Likewise.
4597 (CompleteLimit5): Likewise.
4598 (CompleteLimit6): Likewise.
4599 (CompleteLimit7): Likewise.
4601 2015-04-08 Pedro Alves <palves@redhat.com>
4605 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4607 (main): Install it as SIGUSR1 handler.
4608 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4609 parameter. Always use "setup" as prefix. Toggle "set
4610 displaced-stepping" off/on depending on global. Don't switch to
4612 (top level): Add displaced stepping "off/on" test axis. Update
4613 "setup" calls. Wrap each subtest with with_test_prefix. Test
4614 continuing with a queued signal in each thread.
4616 2015-04-08 Pedro Alves <palves@redhat.com>
4618 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4619 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4620 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4621 Return early if running to main fails.
4622 * gdb.trace/while-stepping.exp: Likewise.
4624 2015-04-07 Pedro Alves <palves@redhat.com>
4626 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4627 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4628 interact with inferior program.
4630 2015-04-07 Pedro Alves <palves@redhat.com>
4632 * lib/gdb.exp (inferior_spawn_id): New global.
4633 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4634 spawn id after processing the user code.
4635 (default_gdb_start): Set inferior_spawn_id.
4636 (send_inferior): New procedure.
4637 * lib/gdbserver-support.exp (gdbserver_start): Set
4639 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4641 2015-04-07 Pedro Alves <palves@redhat.com>
4643 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4644 * lib/gdbserver-support.exp (gdbserver_start): Make
4645 $server_spawn_id global.
4646 (gdbserver_start): Don't wait for gdbserver's spawn id with
4648 (close_gdbserver): New procedure.
4649 (gdb_exit): Rename the default version and reimplement.
4651 2015-04-07 Pedro Alves <palves@redhat.com>
4653 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4654 append the substituted item, not the original item.
4656 2015-04-07 Pedro Alves <palves@redhat.com>
4658 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4661 2015-04-07 Pedro Alves <palves@redhat.com>
4663 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4664 output appearing once only.
4666 2015-04-07 Pedro Alves <palves@redhat.com>
4668 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4669 that doesn't expect anything. Return early if running to main
4672 2015-04-07 Yao Qi <yao.qi@linaro.org>
4674 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4675 (child_function): Call alarm.
4676 (main): Move call to alarm into the loop.
4677 * gdb.threads/non-stop-fair-events.exp: Build program with
4680 2015-04-06 Doug Evans <xdje42@gmail.com>
4682 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4683 Fix dest parameter to board_info.
4684 (fpc_compile): Ditto.
4685 (gdb_compile_pascal): Rename dest arg to destfile.
4687 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4689 * gdb.ada/funcall_ref.exp: New file.
4690 * gdb.ada/funcall_ref/foo.adb: New file.
4692 2015-04-02 Yao Qi <yao.qi@linaro.org>
4694 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4697 2015-04-02 Gary Benson <gbenson@redhat.com>
4699 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4701 2015-04-01 Sasha Smundak <asmundak@google.com>
4703 * gdb.python/py-unwind-maint.c: New file.
4704 * gdb.python/py-unwind-maint.exp: New test.
4705 * gdb.python/py-unwind-maint.py: New file.
4706 * gdb.python/py-unwind.c: New file.
4707 * gdb.python/py-unwind.exp: New test.
4708 * gdb.python/py-unwind.py: New test.
4710 2015-04-01 Pedro Alves <palves@redhat.com>
4712 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4713 to fail instead of non-existent $test.
4715 2015-04-01 Pedro Alves <palves@redhat.com>
4717 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4718 GDBFLAGS if not empty.
4720 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4722 * gdb.ada/complete.exp: Remove "multi_line".
4723 * gdb.ada/info_exc.exp: Remove "multi_line".
4724 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4725 * gdb.ada/ptype_field.exp: Remove "multi_line".
4726 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4727 * gdb.ada/tagged.exp: Remove "multi_line".
4728 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4730 * gdb.btrace/delta.exp: Likewise.
4731 * gdb.btrace/exception.exp: Likewise.
4732 * gdb.btrace/function_call_history.exp: Likewise.
4733 * gdb.btrace/instruction_history.exp: Likewise.
4734 * gdb.btrace/nohist.exp: Likewise.
4735 * gdb.btrace/record_goto.exp: Likewise.
4736 * gdb.btrace/segv.exp: Likewise.
4737 * gdb.btrace/stepi.exp: Likewise.
4738 * gdb.btrace/tailcall.exp: Likewise.
4739 * gdb.btrace/unknown_functions.exp: Likewise.
4740 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4741 * lib/gdb.exp: Add the "multi_line" helper.
4743 2015-04-01 Pedro Alves <palves@redhat.com>
4745 * gdb.threads/tid-reuse.c: New file.
4746 * gdb.threads/tid-reuse.exp: New file.
4748 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4751 * gdb.base/coredump-filter.c: New file.
4752 * gdb.base/coredump-filter.exp: Likewise.
4754 2015-03-27 Petr Machata <pmachata@redhat.com>
4756 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4757 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4758 (Dwarf::assemble): Initialize them.
4759 (Dwarf::lines): New function.
4761 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4763 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4764 SYMBOL_PREFIX for x86_64-*-cygwin.
4766 2015-03-26 Andy Wingo <wingo@igalia.com>
4769 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4770 const_value but not a location.
4771 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4772 location defined in non-main CUs are visible.
4774 2015-03-26 Yao Qi <yao.qi@linaro.org>
4777 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4778 Add a line number entry for the same line.
4779 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4780 Add a line number entry for the same line.
4782 2015-03-26 Yao Qi <yao.qi@linaro.org>
4784 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4786 (func): Likewise. Add .Lfunc_1 label.
4788 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4793 2015-03-26 Yao Qi <yao.qi@linaro.org>
4795 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4796 Call gdb_compile instead to compile each .s files without debug
4799 2015-03-26 Yao Qi <yao.qi@linaro.org>
4801 * gdb.base/savedregs.exp (process_saved_regs): Make
4802 "Saved registers:" optional in the pattern.
4804 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4806 * gdb.btrace/next.exp: Merged into step.exp.
4807 * gdb.btrace/finish.exp: Merged into step.exp.
4808 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4809 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4810 "record goto" and checking the exact replay position.
4811 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4812 check for "Recording format" in "info record" output.
4813 * gdb.btrace/record_goto.exp: Choose test file based on target.
4814 * gdb.btrace/x86-record_goto.S: Renamed into ...
4815 * gdb.btrace/x86_64-record_goto.S: ... this.
4816 * gdb.btrace/i686-record_goto.S: New.
4817 * gdb.btrace/x86-tailcall.S: Renamed into ...
4818 * gdb.btrace/x86_64-tailcall.S: ... this.
4819 * gdb.btrace/i686-tailcall.S: New.
4820 * gdb.btrace/x86-tailcall.c: Renamed into ...
4821 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4822 separate statements. Update test.
4823 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4824 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4825 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4826 * gdb.btrace/tailcall.exp: Choose test file based on target.
4827 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4829 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4831 * gdb.btrace/exception.exp: Increase BTS buffer size.
4833 2015-03-24 Pedro Alves <palves@redhat.com>
4835 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4837 2015-03-24 Pedro Alves <palves@redhat.com>
4839 * gdb.threads/schedlock.exp (test_step): No longer expect that
4840 "set scheduler-locking step" with "next" over a function call runs
4843 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4845 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4847 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4849 PR breakpoints/16466
4850 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4851 * gdb.mi/mi-pending.c (thread_func): New function.
4852 (int main): Add threading support required.
4853 * gdb.mi/mi-pending.exp: Add tests for this issue.
4854 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4855 (pendfunc2): Remove stdio dependency.
4856 * gdb.mi/mi-pendshr2.c: New file.
4858 2015-03-23 Keith Seitz <keiths@redhat.com>
4860 * gdb.linespec/keywords.c: New file.
4861 * gdb.linespec/keywords.exp: New file.
4863 2015-03-23 Keith Seitz <keiths@redhat.com>
4866 * gdb.dwarf2/staticvirtual.exp: New test.
4868 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4870 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4871 * README: Remove HP-UX and gdb.hp.
4873 * configure: Regenerate.
4874 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4875 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4876 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4877 gdb.hp/gdb.defects/Makefile.
4878 * gdb.hp/Makefile.in: File deleted.
4879 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4880 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4881 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4882 * gdb.hp/gdb.aCC/run.c: File deleted.
4883 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4884 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4885 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4886 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4887 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4888 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4889 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4890 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4891 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4892 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4893 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4894 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4895 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4896 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4897 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4898 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4899 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4900 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4901 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4902 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4903 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4904 * gdb.hp/gdb.compat/average.c: File deleted.
4905 * gdb.hp/gdb.compat/sum.c: File deleted.
4906 * gdb.hp/gdb.compat/xdb.c: File deleted.
4907 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4908 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4909 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4910 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4911 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4912 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4913 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4914 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4915 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4916 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4917 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4918 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4919 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4920 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4921 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4922 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4923 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4924 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4925 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4926 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4927 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4928 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4929 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4930 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4931 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4932 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4933 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4934 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4935 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4936 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4937 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4938 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4939 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4940 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4941 * gdb.hp/tools/odump: File deleted.
4943 2015-03-19 Pedro Alves <palves@redhat.com>
4945 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4946 (saw_thread_3): New globals.
4947 (top level): Increment them when an event for the corresponding
4949 (no thread starvation): New test.
4951 2015-03-19 Pedro Alves <palves@redhat.com>
4953 * gdb.threads/continue-pending-status.c: New file.
4954 * gdb.threads/continue-pending-status.exp: New file.
4956 2015-03-18 Pedro Alves <palves@redhat.com>
4958 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4959 Use gdb_is_target_remote instead of is_remote. Use
4960 gdb_test_multiple instead of gdb_expect. Exit early if
4961 gdb_test_multiple hits its internal matches. Tighten stepi tests
4962 expected output. Fail on exit with any signal, instead of just
4965 2015-03-18 Yao Qi <yao.qi@linaro.org>
4968 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4970 * gdb.base/catch-syscall.exp: Don't skip it on
4971 aarch64*-*-linux* target. Remove elements in all_syscalls.
4972 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4974 (setup_all_syscalls): New proc.
4976 2015-03-16 Yao Qi <yao.qi@linaro.org>
4978 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4979 (top level): Skip tests if valid_addr_p returns false for
4982 2015-03-11 Andy Wingo <wingo@igalia.com>
4984 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4986 2015-03-11 Yao Qi <yao.qi@linaro.org>
4988 * gdb.base/catch-syscall.exp: Fix typo in comments.
4990 2015-03-11 Yao Qi <yao.qi@linaro.org>
4992 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4994 2015-03-09 Pedro Alves <palves@redhat.com>
4996 * dg-extract-results.py: Delete.
4998 2015-03-09 Pedro Alves <palves@redhat.com>
5000 Merge dg-extract-results.sh from GCC upstream (r218843).
5002 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5003 * dg-extract-results.sh: Use --text with grep to avoid issues with
5004 binary files. Fall back to cat -v, if that doesn't work.
5006 2015-03-05 Pedro Alves <palves@redhat.com>
5008 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5010 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5012 * lib/mi-support.exp (mi_expect_interrupt): Accept
5013 alternative event for when in all-stop mode.
5015 2015-03-04 Pedro Alves <palves@redhat.com>
5017 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5019 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5021 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5023 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5025 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5026 regexps for GDB's current line display, accept a hex address
5027 preceding the line number.
5029 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5031 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5032 the 'arch1' variable for "s390*-linux*" targets.
5034 2015-03-04 Pedro Alves <palves@redhat.com>
5036 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5037 (main): Pass missing retval argument to pthread_join call.
5039 2015-03-02 Pedro Alves <palves@redhat.com>
5041 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5042 (top level): Call do_test with non-stop as well.
5044 2015-03-02 Pedro Alves <palves@redhat.com>
5046 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5049 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5051 * gdb.arch/s390-vregs.exp: New test.
5052 * gdb.arch/s390-vregs.S: New file.
5054 2015-02-27 Pedro Alves <palves@redhat.com>
5056 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5057 call to catch_command_errors.
5058 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5059 catch_command_errors.
5061 2015-02-27 Pedro Alves <palves@redhat.com>
5063 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5064 "true" for boolean result.
5065 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5068 2015-02-27 Pedro Alves <palves@redhat.com>
5070 * lib/unbuffer_output.c: New file.
5071 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5072 (main): Call gdb_unbuffer_output.
5074 2015-02-27 Yao Qi <yao.qi@linaro.org>
5076 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5079 2015-02-26 Doug Evans <dje@google.com>
5081 * gdb.cp/class2.cc (Dbase, D): New classes.
5082 (main): New local delta.
5083 * gdb.cp/class2.exp: Test printing delta.
5084 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5085 (dynbar): New global.
5086 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5088 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5090 * gdb.compile/compile-ifunc.c: New file.
5091 * gdb.compile/compile-ifunc.exp: New file.
5093 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5095 * gdb.base/structs.exp: Check for correct struct on finish.
5097 2015-02-26 Yao Qi <yao.qi@linaro.org>
5099 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5102 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5104 * gdb.arch/cordic.ko.bz2: New file.
5105 * gdb.arch/cordic.ko.debug.bz2: New file.
5106 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5108 2015-02-25 Yao Qi <yao.qi@linaro.org>
5110 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5111 aarch64*-*-* target.
5113 2015-02-23 Pedro Alves <palves@redhat.com>
5115 * lib/gdb.exp (delete_breakpoints): Rewrite using
5118 2015-02-23 Pedro Alves <palves@redhat.com>
5120 * gdb.base/info-os.c: Include stdlib.h.
5122 2015-02-22 Doug Evans <xdje42@gmail.com>
5125 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5126 is read after symbols have been re-read.
5127 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5128 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5130 2015-02-21 Doug Evans <dje@google.com>
5132 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5134 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5137 * gdb.arch/i386-biarch-core.core.bz2: New file.
5138 * gdb.arch/i386-biarch-core.exp: New file.
5140 2015-02-21 Pedro Alves <palves@redhat.com>
5142 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5145 2015-02-20 Pedro Alves <palves@redhat.com>
5147 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5150 2015-02-20 Pedro Alves <palves@redhat.com>
5152 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5154 2015-02-20 Pedro Alves <palves@redhat.com>
5156 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5157 clean_restart before gdb_target_supports_trace.
5159 2015-02-20 Pedro Alves <palves@redhat.com>
5162 * gdb.threads/clone-thread_db.c: New file.
5163 * gdb.threads/clone-thread_db.exp: New file.
5165 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5167 PR breakpoints/16812
5168 * gdb.base/catch-gdb-caused-signals.c: New file.
5169 * gdb.base/catch-gdb-caused-signals.exp: New file.
5171 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5173 * configure: Regenerated.
5174 * configure.ac: Use GDB_AC_TRANSFORM.
5175 * aclocal.m4: sinclude ../transform.m4.
5177 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5179 * lib/dtrace.exp: New file.
5180 * gdb.base/dtrace-probe.exp: Likewise.
5181 * gdb.base/dtrace-probe.d: Likewise.
5182 * gdb.base/dtrace-probe.c: Likewise.
5183 * lib/pdtrace.in: Likewise.
5184 * configure.ac: Output variables with the transformed names of
5185 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5186 * configure: Regenerated.
5188 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5190 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5191 expected message when trying to access $_probe_* convenience
5192 variables while not on a probe.
5194 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5196 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5198 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5200 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5201 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5203 2015-02-10 Doug Evans <xdje42@gmail.com>
5205 * lib/gdb.exp (gdb_load): Always return a result.
5207 2015-02-10 Pedro Alves <palves@redhat.com>
5209 * gdb.threads/signal-sigtrap.c: New file.
5210 * gdb.threads/signal-sigtrap.exp: New file.
5212 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5214 * gdb.trace/no-attach-trace.c: New file.
5215 * gdb.trace/no-attach-trace.exp: New file.
5217 2015-02-09 Mark Wielaard <mjw@redhat.com>
5219 * gdb.dwarf2/atomic.c: New file.
5220 * gdb.dwarf2/atomic-type.exp: Likewise.
5222 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5224 * gdb.btrace/buffer-size.exp: Update "info record" output.
5225 * gdb.btrace/delta.exp: Update "info record" output.
5226 * gdb.btrace/enable.exp: Update "info record" output.
5227 * gdb.btrace/finish.exp: Update "info record" output.
5228 * gdb.btrace/instruction_history.exp: Update "info record" output.
5229 * gdb.btrace/next.exp: Update "info record" output.
5230 * gdb.btrace/nexti.exp: Update "info record" output.
5231 * gdb.btrace/step.exp: Update "info record" output.
5232 * gdb.btrace/stepi.exp: Update "info record" output.
5233 * gdb.btrace/nohist.exp: Update "info record" output.
5235 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5237 * gdb.btrace/buffer-size: New.
5239 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5241 * gdb.btrace/delta.exp: Update "info record" output.
5242 * gdb.btrace/enable.exp: Update "info record" output.
5243 * gdb.btrace/finish.exp: Update "info record" output.
5244 * gdb.btrace/instruction_history.exp: Update "info record" output.
5245 * gdb.btrace/next.exp: Update "info record" output.
5246 * gdb.btrace/nexti.exp: Update "info record" output.
5247 * gdb.btrace/step.exp: Update "info record" output.
5248 * gdb.btrace/stepi.exp: Update "info record" output.
5249 * gdb.btrace/nohist.exp: Update "info record" output.
5251 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5254 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5256 2015-02-06 Pedro Alves <palves@redhat.com>
5258 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5260 (seconds_left, again): New globals.
5261 (main): Wait seconds_left in a 1-second sleep loop instead of
5262 sleeping 180 seconds. If 'again' is set, reset the seconds
5264 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5265 'again' in the inferior before detaching. Print the seconds left.
5266 (options): New global.
5267 (top level): Build program with -DTIMEOUT=$timeout.
5269 2015-02-06 Pedro Alves <palves@redhat.com>
5271 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5272 determine how many seconds to pass to 'alarm'.
5273 * gdb.base/gdb-sigterm.exp (top level): Build program with
5275 (do_test): Return success/failure indication. Add more verbose
5276 logging. Don't fail if 200 single steps are seen. Instead, fail
5277 when the test times out.
5278 (passes): New global.
5279 (top level): Break the testing loop if testing fails on any
5280 iteration. Use gdb_assert.
5282 2015-02-04 Don Breazeal <donb@codesourcery.com>
5284 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5285 and initialize them.
5286 (ipc_cleanup): New function.
5287 (main): Don't declare shmid, semid, and msqid. Add a call to
5288 atexit so that we call ipc_cleanup on exit.
5290 2015-02-04 Pedro Alves <palves@redhat.com>
5292 * boards/native-extended-gdbserver.exp: Remove any target variant
5293 specifications from the board name before clearing the isremote
5294 flag from board_info.
5296 2015-01-31 Doug Evans <xdje42@gmail.com>
5298 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5300 2015-01-31 Gary Benson <gbenson@redhat.com>
5302 * gdb.base/completion.exp: Disable completion limiting for
5303 existing tests. Add new tests to check completion limiting.
5304 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5306 2015-01-31 Doug Evans <xdje42@gmail.com>
5308 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5310 2015-01-31 Doug Evans <xdje42@gmail.com>
5312 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5313 entries. Duplicate file section script entries.
5314 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5315 inlined entries. Add test for safe-path rejection.
5316 * gdb.python/py-section-script.c: Add duplicate inlined section script
5317 entries. Duplicate file section script entries.
5318 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5319 inlined entries. Add test for safe-path rejection.
5321 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5323 * gdb.ada/disc_arr_bound: New testcase.
5325 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5327 * gdb.ada/mi_var_array: New testcase.
5329 2015-01-27 Doug Evans <dje@google.com>
5331 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5332 Add test for objfile.filename, objfile.username after objfile
5335 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5337 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5338 the second test to print the name attribute of value
5339 returned by the call to gdb.lookup_type, and adjust
5340 the expected output accordingly.
5342 2015-01-25 Mark Wielaard <mjw@redhat.com>
5344 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5345 * gdb.base/disp-step-fork.c: Include unistd.h.
5346 * gdb.base/siginfo-obj.c: Include stdio.h.
5347 * gdb.base/siginfo-thread.c: Likewise.
5348 * gdb.mi/non-stop.c: Include unistd.h.
5349 * gdb.mi/nsthrexec.c: Include stdio.h.
5350 * gdb.mi/pthreads.c: Include unistd.h.
5351 * gdb.modula2/unbounded1.c (main): Declare returns int.
5352 * gdb.reverse/consecutive-reverse.c: Likewise.
5353 * gdb.threads/create-fail.c: Include unistd.h.
5354 * gdb.threads/killed.c: Likewise.
5355 * gdb.threads/linux-dp.c: Likewise.
5356 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5357 * gdb.threads/non-ldr-exc-2.c: Likewise.
5358 * gdb.threads/non-ldr-exc-3.c: Likewise.
5359 * gdb.threads/non-ldr-exc-4.c: Likewise.
5360 * gdb.threads/pthreads.c: Include unistd.h.
5361 (main): Declare returns int.
5362 * gdb.threads/tls-main.c (foo): New declaration.
5363 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5365 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5367 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5368 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5370 2015-01-15 Mark Wielaard <mjw@redhat.com>
5372 * gdb.base/noreturn-return.c: New file.
5373 * gdb.base/noreturn-return.exp: New file.
5374 * gdb.base/noreturn-finish.c: New file.
5375 * gdb.base/noreturn-finish.exp: New file.
5377 2015-01-23 Pedro Alves <palves@redhat.com>
5379 * gdb.threads/continue-pending-after-query.c: New file.
5380 * gdb.threads/continue-pending-after-query.exp: New file.
5382 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5383 Simon Marchi <simon.marchi@ericsson.com>
5385 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5386 * gdb.base/valgrind-db-attach.exp: Same.
5387 * gdb.base/valgrind-infcall.exp: Same.
5388 * lib/mi-support.exp (default_mi_gdb_start): Same.
5389 * lib/prompt.exp (default_prompt_gdb_start): Same.
5390 * lib/gdb.exp (default_gdb_spawn): Same.
5391 (gdb_interact): New.
5394 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5396 * gdb.compile/compile.exp (pointer to jit function): New test.
5398 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5400 * lib/gdb.exp (supports_process_record): Return true for
5402 (supports_reverse): Likewise.
5404 2015-01-15 Don Breazeal <donb@codesourcery.com>
5406 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5407 instead of checking whether the target board is remote and
5408 use spawn_wait_for_attach instead of exec/sleep.
5409 * gdb.base/attach-twice.exp: Likewise.
5411 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5413 * gdb.ada/var_arr_attrs: New testcase.
5415 2015-01-14 Pedro Alves <palves@redhat.com>
5416 Joel Brobecker <brobecker@adacore.com>
5419 * gdb.base/bp-cmds-execution-x-script.c: New file.
5420 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5421 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5423 2015-01-14 Pedro Alves <palves@redhat.com>
5426 * gdb.base/batch-preserve-term-settings.c: New file.
5427 * gdb.base/batch-preserve-term-settings.exp: New file.
5429 2015-01-13 Doug Evans <dje@google.com>
5431 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5434 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5436 * Makefile.in (clean mostlyclean): Do not delete *.py.
5438 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5440 * gdb.python/py-lookup-type.exp: New file.
5442 2015-01-12 Pedro Alves <palves@redhat.com>
5444 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5445 restore GDBFLAGS before returning.
5447 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5449 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5450 is_amd64_regs_target and is_x86_like_target.
5452 2015-01-11 Doug Evans <xdje42@gmail.com>
5454 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5455 is given without an explicit form.
5456 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5458 * gdb.dwarf/corrupt.exp: Ditto.
5459 * gdb.dwarf2/enum-type.exp: Ditto.
5460 * gdb.trace/entry-values.exp: Ditto.
5461 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5463 2015-01-11 Doug Evans <xdje42@gmail.com>
5466 * gdb.base/maint.exp: Remove references to "maint demangle".
5467 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5468 Add tests for explicitly specifying language to demangle.
5469 * gdb.dlang/demangle.exp: Ditto.
5471 2015-01-09 Pedro Alves <palves@redhat.com>
5473 * gdb.threads/non-stop-fair-events.c: New file.
5474 * gdb.threads/non-stop-fair-events.exp: New file.
5476 2015-01-09 Pedro Alves <palves@redhat.com>
5478 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5479 the global scope. Set a breakpoint after all threads are started
5480 rather than stepping over two source lines. Expect the prompt.
5481 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5484 (main): Use threads_started_barrier to wait for all threads to
5485 start. Main thread no longer calls thread_function. Exit after
5487 (loop): New function.
5488 (thread_function): Wait on threads_started_barrier barrier. Call
5489 'loop' at each iteration.
5490 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5491 threads have started, instead of hardcoding number of "next"
5492 steps. Use an access watchpoint instead of a write watchpoint.
5494 2015-01-09 Pedro Alves <palves@redhat.com>
5496 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5497 (thread_func): Wait on barrier.
5498 (main): Wait for all threads to start before stopping GDB.
5499 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5501 (thread1_func, thread2_func): Wait on barrier.
5502 (main): Wait for all threads to start before stopping GDB.
5503 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5505 (thread1_func, thread2_func): Wait on barrier.
5506 (main): Wait for all threads to start before stopping GDB.
5508 2015-01-09 Pedro Alves <palves@redhat.com>
5510 * gdb.threads/attach-many-short-lived-threads.c: New file.
5511 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5513 2014-01-09 Pedro Alves <palves@redhat.com>
5515 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5516 instead of to thread 2.
5517 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5518 Add barrier around each pthread_create call instead of around all
5520 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5521 Set a break on thread_function and have the child threads hit it
5524 2015-01-09 Pedro Alves <palves@redhat.com>
5526 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5527 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5529 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5530 checking whether the target board is remote.
5531 * gdb.multi/multi-attach.exp: Likewise.
5532 * gdb.python/py-sync-interp.exp: Likewise.
5533 * gdb.server/ext-attach.exp: Likewise.
5534 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5535 tests that need to attach, instead of checking whether the target
5536 board is remote at the top of the file.
5538 2015-01-08 Yao Qi <yao@codesourcery.com>
5540 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5542 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5544 Fix testcase compilation.
5545 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5547 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5549 * gdb.python/py-type.exp: Add a couple test about empty
5550 array creation, and negative-length array creation.
5552 2015-01-02 Doug Evans <xdje42@gmail.com>
5554 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5556 2015-01-02 Doug Evans <dje@google.com>
5558 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5560 2014-12-29 Yao Qi <yao@codesourcery.com>
5562 * gdb.trace/entry-values.exp: Update comments. Rename variable
5563 bar_call_foo to returned_from_foo.
5565 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5568 * gdb.linespec/break-asm-file.c: New file.
5569 * gdb.linespec/break-asm-file.exp: New file.
5570 * gdb.linespec/break-asm-file0.s: New file.
5571 * gdb.linespec/break-asm-file1.s: New file.
5573 2014-12-18 Nigel Stephens <nigel@mips.com>
5574 Maciej W. Rozycki <macro@codesourcery.com>
5576 * gdb.base/float.exp: Handle the new output from "info float" on
5579 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5581 Fix MinGW compilation.
5582 * gdb.compile/compile-ops.exp: Update untested message if
5583 !skip_compile_feature_tests.
5584 * gdb.compile/compile-setjmp.exp: Likewise.
5585 * gdb.compile/compile-tls.exp: Likewise.
5586 * gdb.compile/compile.exp: Likewise.
5587 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5588 supported on this host".
5590 2014-12-16 Doug Evans <xdje42@gmail.com>
5592 * boards/stabs.exp: New file.
5594 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5596 * gdb.base/completion.exp: Adjust to format changes of "maint
5597 print user-registers".
5599 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5602 * gdb.arch/aarch64-fp.c: New file.
5603 * gdb.arch/aarch64-fp.exp: New file.
5605 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5607 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5608 r210637, r210913, r211666, r215400, r215817).
5610 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5611 * dg-extract-results.py: New file.
5612 * dg-extract-results.sh: Use it if the environment seems
5615 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5617 * dg-extract-results.py (parse_run): Handle warnings that
5618 are printed before a test harness is run.
5620 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5622 * dg-extract-results.py (Named): Remove __cmp__ method.
5623 (output_variation): Use a key to sort variation.harnesses.
5625 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5627 * dg-extract-results.py: For Python 3, force sys.stdout to
5628 handle surrogate escape sequences.
5629 (safe_open): New function.
5630 (output_segment, main): Use it.
5632 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5634 * dg-extract-results.py (Prog.result_re): Include options
5637 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5639 * dg-extract-results.py (output_variation): Always sort if
5642 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5644 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5645 as long as we get pagination notifications.
5647 2014-12-15 Jason Merrill <jason@redhat.com>
5649 * Makefile.in (check-gdb.%): Restore.
5650 * README: Mention it.
5652 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5654 * gdb.ada/str_uninit: New testcase.
5656 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5659 * gdb.base/vla-stub-define.c: New file.
5660 * gdb.base/vla-stub.c: New file.
5661 * gdb.base/vla-stub.exp: New file.
5663 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5664 Jan Kratochvil <jan.kratochvil@redhat.com>
5665 Tom Tromey <tromey@redhat.com>
5667 * configure.ac: Add gdb.compile/.
5668 * configure: Regenerate.
5669 * gdb.compile/Makefile.in: New file.
5670 * gdb.compile/compile-ops.exp: New file.
5671 * gdb.compile/compile-ops.c: New file.
5672 * gdb.compile/compile-tls.c: New file.
5673 * gdb.compile/compile-tls.exp: New file.
5674 * gdb.compile/compile-constvar.S: New file.
5675 * gdb.compile/compile-constvar.c: New file.
5676 * gdb.compile/compile-mod.c: New file.
5677 * gdb.compile/compile-nodebug.c: New file.
5678 * gdb.compile/compile-setjmp-mod.c: New file.
5679 * gdb.compile/compile-setjmp.c: New file.
5680 * gdb.compile/compile-setjmp.exp: New file.
5681 * gdb.compile/compile-shlib.c: New file.
5682 * gdb.compile/compile.c: New file.
5683 * gdb.compile/compile.exp: New file.
5684 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5686 2014-12-12 Tom Tromey <tromey@redhat.com>
5688 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5689 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5691 2014-12-12 Doug Evans <dje@google.com>
5693 * lib/gdb-python.exp (get_python_valueof): New function.
5694 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5696 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5698 * gdb.base/completion.exp: Add test for completion of "info
5701 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5703 * gdb.base/func-ptrs.c: New file.
5704 * gdb.base/func-ptrs.exp: New file.
5706 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5708 PR breakpoints/17012
5709 * gdb.base/dprintf-detach.c: New file.
5710 * gdb.base/dprintf-detach.exp: New file.
5712 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5714 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5715 * lib/gdb.exp (target_is_gdbserver): New procedure.
5717 2014-12-08 Doug Evans <dje@google.com>
5719 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5721 2014-12-05 Yao Qi <yao@codesourcery.com>
5723 * gdb.guile/scm-error.exp: Remove the third argument to
5724 gdb_remote_download.
5725 * gdb.guile/scm-frame-args.exp: Likewise.
5726 * gdb.guile/scm-section-script.exp: Likewise.
5728 2014-12-05 Yao Qi <yao@codesourcery.com>
5730 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5732 2014-12-04 Doug Evans <dje@google.com>
5734 * gdb.python/py-objfile.exp: Add tests for
5735 objfile.add_separate_debug_file.
5737 2014-12-04 Doug Evans <dje@google.com>
5739 * lib/gdb.exp (get_build_id): New function.
5740 (build_id_debug_filename_get): Rewrite to use it.
5741 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5743 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5745 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5746 `method(long)', not just 0x0.
5747 * gdb.cp/nsalias.exp: Align code labels to 4.
5748 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5749 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5750 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5751 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5752 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5753 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5755 2014-12-02 Doug Evans <dje@google.com>
5758 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5759 * gdb.cp/anon-ns2.cc: ... here. New file.
5760 * gdb.cp/anon-ns.exp: Update.
5762 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5764 * gdb.python/py-events.py (inferior_call_handler): New.
5765 (register_changed_handler, memory_changed_handler): New.
5766 (test_events.invoke): Register new handlers.
5767 * gdb.python/py-events.exp: Add tests for inferior call,
5768 memory_changed and register_changed events.
5770 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5772 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5773 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5774 if the linker doesn't understand this.
5776 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5778 * gdb.python/python.exp: Change expected reply to help().
5780 2014-12-01 Yao Qi <yao@codesourcery.com>
5782 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5783 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5784 * configure: Re-generated.
5786 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5788 * gdb.cp/chained-calls.cc: New file.
5789 * gdb.cp/chained-calls.exp: New file.
5790 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5792 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5794 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5795 * gdb.dwarf2/symtab-producer.exp: Same.
5796 * gdb.gdb/python-interrupts.exp: Same.
5797 * gdb.gdb/python-selftest.exp: Same.
5798 * gdb.python/py-linetable.exp: Same.
5799 * gdb.python/py-type.exp: Same.
5800 * gdb.python/py-value-cc.exp: Same.
5801 * gdb.python/py-value.exp: Same.
5803 2014-11-28 Yao Qi <yao@codesourcery.com>
5805 * gdb.base/break-probes.exp: Match library name prefixed with
5808 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5810 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5811 test expected output. Add parentheses for the call to print.
5812 Remove L suffix from integers.
5814 2014-11-26 Doug Evans <dje@google.com>
5816 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5818 2014-11-22 Yao Qi <yao@codesourcery.com>
5820 * gdb.trace/entry-values.c: Remove asms.
5821 (foo): Add foo_label.
5822 (bar): Add bar_label.
5823 * gdb.trace/entry-values.exp: Remove code computing foo's
5824 length and bar's length.
5825 (Dwarf::assemble): Invoke function_range for bar and use
5826 MACRO_AT_func for foo.
5828 2014-11-22 Yao Qi <yao@codesourcery.com>
5830 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5831 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5832 Use .Lgcc43_procstart instead of gcc43.
5834 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5836 * gdb.ada/n_arr_bound: New testcase.
5838 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5840 PR breakpoints/10737
5841 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5842 test_catch_syscall_multi_arch.
5843 (test_catch_syscall_multi_arch): New function.
5845 2014-11-20 Doug Evans <xdje42@gmail.com>
5847 * gdb.base/maint.exp: Update expected output.
5849 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5851 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5852 4-byte instruction on S390.
5854 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5856 * gdb.ada/arr_arr: New testcase.
5858 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5860 * gdb.ada/pkd_arr_elem: New Testcase.
5862 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5864 * gdb.reverse/break-precsave: Expect completion message for
5866 * gdb.reverse/consecutive-precsave.exp: Likewise.
5867 * gdb.reverse/finish-precsave.exp: Likewise.
5868 * gdb.reverse/i386-precsave.exp: Likewise.
5869 * gdb.reverse/machinestate-precsave.exp: Likewise.
5870 * gdb.reverse/sigall-precsave.exp: Likewise.
5871 * gdb.reverse/solib-precsave.exp: Likewise.
5872 * gdb.reverse/step-precsave.exp: Likewise.
5873 * gdb.reverse/until-precsave.exp: Likewise.
5874 * gdb.reverse/watch-precsave.exp: Likewise.
5876 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5878 * gdb.base/bp-permanent.c: Include unistd.h.
5879 * gdb.python/py-framefilter-mi.c (main): Add return type.
5880 * gdb.python/py-framefilter.c (main): Likewise.
5881 * gdb.trace/actions-changed.c (main): Likewise.
5883 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5885 * gdb.mi/until.c: Add eye-catchers.
5886 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5889 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5891 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5892 function header variants in break1.c.
5893 * gdb.base/ena-dis-br.exp: Likewise.
5894 * gdb.base/hbreak2.exp: Likewise.
5895 * gdb.reverse/until-precsave.exp: Drop references to removed
5896 non-prototype function header variants in ur1.c.
5897 * gdb.reverse/until-reverse.exp: Likewise.
5899 2014-11-17 Petr Machata <pmachata@redhat.com>
5901 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5902 ${_cu_offset_size} bytes abbrev offset.
5904 2014-11-15 Doug Evans <xdje42@gmail.com>
5907 * gdb.base/line-symtabs.exp: New file.
5908 * gdb.base/line-symtabs.c: New file.
5909 * gdb.base/line-symtabs.h: New file.
5911 2014-11-14 Yao Qi <yao@codesourcery.com>
5913 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5914 (func): Add label func_label.
5915 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5916 Replace low_pc and high_pc with MACRO_AT_range.
5917 Replace name, low_pc and high_pc with MACRO_AT_func.
5919 2014-11-14 Yao Qi <yao@codesourcery.com>
5921 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5922 Replace name, low_pc and high_pc with MACRO_AT_func.
5924 2014-11-14 Yao Qi <yao@codesourcery.com>
5926 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5927 produce debug information.
5928 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5930 2014-11-14 Yao Qi <yao@codesourcery.com>
5932 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5933 object and get function length.
5934 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5936 (top-level): Replace gdb_compile and clean_restart with
5937 prepare_for_testing.
5938 * gdb.dwarf2/main.c (main): Add label main_label.
5940 2014-11-14 Yao Qi <yao@codesourcery.com>
5942 * lib/dwarf.exp (function_range): New procedure.
5943 (Dwarf::_handle_macro_at_func): New procedure.
5944 (Dwarf::_handle_macro_at_range): New procedure.
5945 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5947 2014-11-14 Yao Qi <yao@codesourcery.com>
5949 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5950 (_handle_attribute): New procedure.
5952 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5954 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5955 * gdb.base/call-sc.c (zed): Likewise.
5956 * gdb.base/checkpoint.c (main): Likewise.
5957 * gdb.base/dump.c (main): Likewise.
5958 * gdb.base/gcore.c (main): Likewise.
5959 * gdb.base/huge.c (main): Likewise.
5960 * gdb.base/multi-forks.c (main): Likewise.
5961 * gdb.base/pr10179-a.c (main): Likewise.
5962 * gdb.base/savedregs.c (main): Likewise.
5963 * gdb.base/sigaltstack.c (main): Likewise.
5964 * gdb.base/siginfo.c (main): Likewise.
5965 * gdb.base/structs.c (zed): Likewise.
5966 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5967 * gdb.mi/mi-syn-frame.c (main): Likewise.
5968 * gdb.mi/until.c (foo, main): Likewise.
5969 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5970 * gdb.base/solib-weak.c (foo): Declare.
5971 * gdb.base/attach-twice.c: Include stdio.h.
5972 * gdb.base/weaklib1.c: Likewise.
5973 * gdb.base/weaklib2.c: Likewise.
5974 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5975 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5977 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5978 * gdb.mi/mi-exit-code.c: Likewise.
5979 * gdb.base/break-interp-lib.c: Include string.h.
5980 * gdb.base/coremaker.c: Likewise.
5981 * gdb.base/testenv.c: Likewise.
5982 * gdb.python/py-finish-breakpoint.c: Likewise.
5983 * gdb.base/inferior-died.c: Include sys/wait.h.
5984 * gdb.base/fileio.c: Include time.h.
5985 * gdb.base/async-shell.c: Include unistd.h.
5986 * gdb.base/dprintf-non-stop.c: Likewise.
5987 * gdb.base/info-os.c: Likewise.
5988 * gdb.mi/mi-console.c: Likewise.
5989 * gdb.mi/watch-nonstop.c: Likewise.
5990 * gdb.python/py-events.c: Likewise.
5991 * gdb.base/async.c (baz): Move up before its invocation.
5992 * gdb.base/code_elim2.c (my_global_func): Likewise.
5993 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5994 * gdb.base/advance.c (func2): Likewise.
5996 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5998 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6000 * gdb.base/annota3.c: Likewise.
6001 * gdb.base/async.c: Likewise.
6002 * gdb.base/average.c: Likewise.
6003 * gdb.base/call-ar-st.c: Likewise.
6004 * gdb.base/call-rt-st.c: Likewise.
6005 * gdb.base/call-sc.c: Likewise.
6006 * gdb.base/call-strs.c: Likewise.
6007 * gdb.base/ending-run.c: Likewise.
6008 * gdb.base/execd-prog.c: Likewise.
6009 * gdb.base/exprs.c: Likewise.
6010 * gdb.base/foll-exec.c: Likewise.
6011 * gdb.base/foll-fork.c: Likewise.
6012 * gdb.base/foll-vfork.c: Likewise.
6013 * gdb.base/funcargs.c: Likewise.
6014 * gdb.base/gcore.c: Likewise.
6015 * gdb.base/jump.c: Likewise.
6016 * gdb.base/langs0.c: Likewise.
6017 * gdb.base/langs1.c: Likewise.
6018 * gdb.base/langs2.c: Likewise.
6019 * gdb.base/mips_pro.c: Likewise.
6020 * gdb.base/nodebug.c: Likewise.
6021 * gdb.base/opaque0.c: Likewise.
6022 * gdb.base/opaque1.c: Likewise.
6023 * gdb.base/recurse.c: Likewise.
6024 * gdb.base/run.c: Likewise.
6025 * gdb.base/scope0.c: Likewise.
6026 * gdb.base/scope1.c: Likewise.
6027 * gdb.base/setshow.c: Likewise.
6028 * gdb.base/setvar.c: Likewise.
6029 * gdb.base/shmain.c: Likewise.
6030 * gdb.base/shr1.c: Likewise.
6031 * gdb.base/shr2.c: Likewise.
6032 * gdb.base/sigall.c: Likewise.
6033 * gdb.base/signals.c: Likewise.
6034 * gdb.base/so-indr-cl.c: Likewise.
6035 * gdb.base/solib2.c: Likewise.
6036 * gdb.base/structs.c: Likewise.
6037 * gdb.base/sum.c: Likewise.
6038 * gdb.base/vforked-prog.c: Likewise.
6039 * gdb.base/watchpoint.c: Likewise.
6040 * gdb.reverse/shr2.c: Likewise.
6041 * gdb.reverse/until-reverse.c: Likewise.
6042 * gdb.reverse/ur1.c: Likewise.
6043 * gdb.reverse/watch-reverse.c: Likewise.
6045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6047 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6049 * gdb.base/sepdebug.exp: Drop references to removed code.
6051 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6053 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6054 variant. Preserve original line numbering.
6055 * gdb.base/list1.c: Likewise.
6057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6059 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6061 * gdb.base/break1.c: Likewise.
6062 * gdb.base/break.exp: Drop references to removed code.
6064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6066 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6069 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6071 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6075 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6076 logic into perform_all_tests() and invoke it with and without
6077 function header prototypes.
6078 (do_function_calls): Remove conditional XFAIL for PR 5318.
6079 (rerun_and_prepare): Remove duplicate code.
6080 (perform_all_tests): New. Main logic moved here.
6082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6084 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6085 code guarded by #ifdef NO_PROTOTYPES.
6086 (t_double_many_args): Likewise.
6087 (DEF_FUNC_MANY_ARGS_1): Likewise.
6088 (DEF_FUNC_VALUES_1): Likewise.
6089 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6090 guarded by #ifdef PROTOTYPES.
6092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6094 * gdb.mi/mi-console.c: Add eye-catcher.
6095 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6096 instead of literal line number.
6098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6100 * gdb.base/shr2.c: Add eye-catcher.
6101 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6104 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6106 * gdb.base/jump.c: Add eye-catchers.
6107 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6112 * gdb.base/execd-prog.c: Add eye-catchers.
6113 * gdb.base/foll-exec.c: Likewise.
6114 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6117 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6119 * gdb.base/ending-run.c: Add eye-catchers.
6120 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6121 literal line numbers.
6123 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6125 * gdb.base/call-rt-st.c: Add eye-catchers.
6126 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6127 literal line numbers.
6129 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6131 * gdb.base/call-ar-st.c: Add eye-catchers.
6132 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6133 literal line numbers.
6135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6137 * gdb.base/average.c: Add eye-catchers.
6138 * gdb.base/sum.c: Likewise.
6139 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6140 regexps dynamically.
6142 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6144 * gdb.base/solib1.c: Add eye-catchers.
6145 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6146 literal line numbers.
6148 2014-11-12 Pedro Alves <palves@redhat.com>
6150 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6153 2014-11-12 Pedro Alves <palves@redhat.com>
6155 * gdb.arch/i386-bp_permanent.c: New file.
6156 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6157 (srcfile): Set to i386-bp_permanent.c.
6158 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6159 that stepi does not execute the 'leave' instruction, instead of
6160 testing it does execute.
6161 * gdb.base/bp-permanent.c: New file.
6162 * gdb.base/bp-permanent.exp: New file.
6164 2014-11-10 Doug Evans <xdje42@gmail.com>
6167 * gdb.base/symtab-search-order.exp: New file.
6168 * gdb.base/symtab-search-order.c: New file.
6169 * gdb.base/symtab-search-order-1.c: New file.
6170 * gdb.base/symtab-search-order-shlib-1.c: New file.
6172 2014-11-07 Pedro Alves <palves@redhat.com>
6175 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6178 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6181 * gdb.cp/pr17494.cc: New file.
6182 * gdb.cp/pr17494.exp: New file.
6184 2014-11-02 Yao Qi <yao@codesourcery.com>
6186 * gdb.python/python.exp: Get working directory and match the
6187 output of "set extended-prompt \\w " with it.
6189 2014-10-30 Doug Evans <dje@google.com>
6191 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6193 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6196 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6198 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6199 * gdb.base/realname-expand.exp: Likewise.
6200 * gdb.linespec/macro-relative.exp: Likewise.
6202 2014-10-29 Pedro Alves <palves@redhat.com>
6205 * gdb.threads/schedlock.c (some_function): New function.
6206 (call_function): New global.
6207 (MAYBE_CALL_SOME_FUNCTION): New macro.
6208 (thread_function): Call it.
6209 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6210 and use it instead of a global counter. Adjust all callers.
6211 (get_current_thread): Use "find current thread" for test message
6212 here rather than having all callers pass down the same string.
6213 (goto_loop): New procedure, factored out from ...
6214 (my_continue): ... this.
6215 (step_ten_loops): Change parameter from test message to command to
6217 (list_count): Delete global.
6218 (check_result): New procedure, factored out from duplicate top
6220 (continue tests): Wrap in with_test_prefix.
6221 (test_step): New procedure, factored out from duplicate top level
6223 (top level): Test "step" in combination with all scheduler-locking
6224 modes. Test "next" in combination with all scheduler-locking
6225 modes, and in combination with stepping over a function call or
6227 * gdb.threads/next-bp-other-thread.c: New file.
6228 * gdb.threads/next-bp-other-thread.exp: New file.
6230 2014-10-29 Pedro Alves <palves@redhat.com>
6233 * gdb.python/python.exp: Test a multi-line command that spawns
6235 * gdb.base/multi-line-starts-subshell.exp: New file.
6237 2014-10-29 Yao Qi <yao@codesourcery.com>
6239 * gdb.base/fileio.exp: Make directories on host.
6241 2014-10-29 Yao Qi <yao@codesourcery.com>
6243 * gdb.base/fileio.c (test_write): Close the file.
6245 2014-10-28 Pedro Alves <palves@redhat.com>
6248 * gdb.base/sigstep.c (no_handler): New global.
6249 (main): If 'no_handler is true, set the signal handlers to
6251 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6252 with_sw_watch and no_handler parameters. Handle them.
6253 (top level) <stepping over handler when stopped at a breakpoint
6254 test>: Add a test axis for testing with a software watchpoint, and
6255 another for testing with the signal handler set to SIG_IGN.
6256 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6257 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6259 2014-10-28 Pedro Alves <palves@redhat.com>
6262 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6263 * gdb.base/sigstep.exp (other_handler_location): New global.
6264 (advance): Support stepping into the signal handler, and running
6265 commands while in the handler.
6266 (in_handler_map): New global.
6267 (top level): In the advance test, add combinations for getting
6268 into the handler with stepping commands, and for running commands
6269 in the handler. Add comment descripting the advancei tests.
6271 2014-10-28 Pedro Alves <palves@redhat.com>
6273 * gdb.base/sigstep.exp: Use build_executable instead of
6274 prepare_for_testing.
6275 (top level): Move code that starts GDB, runs to main and creates a
6277 (restart): ... this new procedure.
6278 (top level): Move backtrace from signal handler test to ...
6279 (validate_backtrace): ... this new procedure.
6280 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6281 with_test_prefix. Always restart GDB.
6282 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6283 with_test_prefix. Always restart GDB. No need to delete
6284 breakpoints after the test.
6285 (test_skip_handler): Remove prefix parameter.
6286 (skip_over_handler, breakpoint_to_handler)
6287 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6288 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6289 restart GDB. No need to delete breakpoints after the test.
6290 (top level): Use foreach to call the test procedures with
6293 2014-10-28 Pedro Alves <palves@redhat.com>
6295 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6296 instead of GNATS numbers.
6297 * gdb.base/sigbpt.exp: Likewise.
6298 * gdb.base/siginfo.exp: Likewise.
6299 * gdb.base/sigstep.exp: Likewise.
6301 2014-10-27 Pedro Alves <palves@redhat.com>
6303 * gdb.base/sigstep.c (dummy): New global.
6304 (main): Issue a couple writes to the new global.
6305 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6307 (skip_over_handler): Use test_skip_handler.
6308 (top level): Call skip_over_handler for stepi and nexti too.
6309 (breakpoint_over_handler): Use test_skip_handler.
6310 (top level): Call breakpoint_over_handler for stepi and nexti too.
6312 2014-10-27 Yao Qi <yao@codesourcery.com>
6314 * gdb.trace/tfile.c (adjust_function_address)
6315 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6316 function descriptor.
6318 2014-10-24 Don Breazeal <donb@codesourcery.com>
6320 * gdb.base/foll-fork.exp (test_follow_fork,
6321 catch_fork_child_follow): Check for updated fork messages emitted
6323 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6324 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6325 vfork_and_exec_child_follow_through_step): Check for updated vfork
6326 messages emitted from infrun.c.
6328 2014-10-24 Pedro Alves <palves@redhat.com>
6330 * gdb.base/corefile.exp: Remove references to ultrix.
6331 * gdb.base/interrupt.exp: Likewise.
6332 * gdb.base/whatis.exp: Likewise.
6333 * gdb.gdb/selftest.exp: Likewise.
6334 * gdb.threads/manythreads.exp: Likewise.
6335 * gdb.threads/print-threads.exp: Likewise.
6336 * gdb.threads/pthreads.exp:: Likewise.
6337 * gdb.threads/schedlock.exp: Likewise.
6339 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6341 * gdb.cp/non-trivial-retval.cc: Add a test case.
6342 * gdb.cp/non-trivial-retval.exp: Add a test.
6344 2014-10-20 Yao Qi <yao@codesourcery.com>
6346 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6347 * gdb.python/py-objfile-script-gdb.py: New file.
6348 * gdb.python/py-objfile-script.exp: Update reference to
6349 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6350 of remote_download. Remove the dest file.
6352 2014-10-20 Yao Qi <yao@codesourcery.com>
6354 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6355 * gdb.base/step-line.exp: Likewise.
6356 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6357 * gdb.dwarf2/dw2-basic.exp: Likewise.
6358 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6359 * gdb.dwarf2/dw2-filename.exp: Likewise.
6360 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6361 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6362 * gdb.dwarf2/dw2-producer.exp: Likewise.
6363 * gdb.dwarf2/mac-fileno.exp: Likewise.
6364 * gdb.python/py-frame-args.exp: Likewise.
6365 * gdb.python/py-framefilter.exp: Likewise.
6366 * gdb.python/py-mi.exp: Likewise.
6367 * gdb.python/py-objfile-script.exp: Likewise
6368 * gdb.python/py-pp-integral.exp: Likewise.
6369 * gdb.python/py-pp-re-notag.exp: Likewise.
6370 * gdb.python/py-prettyprint.exp: Likewise.
6371 * gdb.python/py-section-script.exp: Likewise.
6372 * gdb.python/py-typeprint.exp: Likewise.
6373 * gdb.python/py-xmethods.exp: Likewise.
6374 * gdb.stabs/weird.exp: Likewise.
6375 * gdb.xml/tdesc-regs.exp: Likewise.
6377 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6379 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6380 (out_cu): Use addr_len for the size of addresses.
6381 (out_line): Likewise. Size DW_LNE_set_address instruction
6382 according to addr_len.
6383 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6384 (FUNC): Add START_INSNS to definition.
6386 2014-10-18 Yao Qi <yao@codesourcery.com>
6388 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6389 gdb_has_argv0 return true.
6390 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6391 check [target_info exists noargs], check [gdb_has_argv0]
6393 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6394 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6397 2014-10-17 Doug Evans <dje@google.com>
6399 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6401 * gdb.python/py-events.py: Add clear_objfiles event.
6403 2014-10-17 Doug Evans <dje@google.com>
6405 * gdb.python/py-objfile.exp: Test progspace attribute.
6407 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6409 * gdb.guile/scm-breakpoint.exp: Do not assume any
6410 directory separators when matching source file paths.
6411 * gdb.python/py-breakpoint.exp: Likewise.
6412 * gdb.reverse/break-precsave.exp: Likewise.
6413 * gdb.reverse/break-reverse.exp: Likewise.
6414 * gdb.reverse/consecutive-precsave.exp: Likewise.
6415 * gdb.reverse/finish-precsave.exp: Likewise.
6416 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6417 * gdb.reverse/finish-reverse.exp: Likewise.
6418 * gdb.reverse/i386-precsave.exp: Likewise.
6419 * gdb.reverse/i387-env-reverse.exp: Likewise.
6420 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6421 * gdb.reverse/machinestate-precsave.exp: Likewise.
6422 * gdb.reverse/machinestate.exp: Likewise.
6423 * gdb.reverse/sigall-precsave.exp: Likewise.
6424 * gdb.reverse/solib-precsave.exp: Likewise.
6425 * gdb.reverse/step-precsave.exp: Likewise.
6426 * gdb.reverse/until-precsave.exp: Likewise.
6427 * gdb.reverse/watch-precsave.exp: Likewise.
6428 * gdb.reverse/watch-reverse.exp: Likewise.
6430 2014-10-17 Yao Qi <yao@codesourcery.com>
6432 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6433 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6435 2014-10-17 Pedro Alves <palves@redhat.com>
6438 * gdb.base/bg-execution-repeat.c: New file.
6439 * gdb.base/bg-execution-repeat.exp: New file.
6441 2014-10-17 Pedro Alves <palves@redhat.com>
6444 * gdb.base/continue-all-already-running.c: New file.
6445 * gdb.base/continue-all-already-running.exp: New file.
6447 2014-10-17 Pedro Alves <palves@redhat.com>
6450 * gdb.base/annota-input-while-running.c: New file.
6451 * gdb.base/annota-input-while-running.exp: New file.
6453 2014-10-17 Pedro Alves <palves@redhat.com>
6455 * gdb.base/callfuncs.exp: emove references to osf.
6456 * gdb.base/sigall.exp: Likewise.
6457 * gdb.gdb/selftest.exp: Likewise.
6458 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6459 * gdb.mi/non-stop.c: Likewise.
6460 * gdb.mi/pthreads.c: Likewise.
6461 * gdb.reverse/sigall-precsave.exp: Likewise.
6462 * gdb.reverse/sigall-reverse.exp: Likewise.
6463 * gdb.threads/pthreads.c: Likewise.
6464 * gdb.threads/pthreads.exp: Likewise.
6466 2014-10-17 Yao Qi <yao@codesourcery.com>
6468 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6469 check 'target_info exists noargs'.
6470 (test_command_prompt_position): Likewise.
6471 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6473 (progvar_simple_while_test): Likewise.
6474 (progvar_complex_if_while_test): Likewise.
6475 (if_while_breakpoint_command_test): Likewise.
6476 (infrun_breakpoint_command_test): Likewise.
6477 (breakpoint_command_test): Likewise.
6478 (watchpoint_command_test): Likewise.
6479 (bp_deleted_in_command_test): Likewise.
6480 (temporary_breakpoint_commands): Likewise.
6482 2014-10-16 Yao Qi <yao@codesourcery.com>
6484 * gdb.base/remotetimeout.exp: Remove noargs checking.
6486 2014-10-15 Pedro Alves <palves@redhat.com>
6489 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6490 * gdb.base/breakpoint-in-ro-region.exp
6491 (probe_target_hardware_step): New procedure.
6492 (top level): Probe hardware stepping and hardware breakpoint
6493 support. Test stepping through a read-only region, with both
6494 "breakpoint auto-hw" on and off and both "always-inserted" on and
6497 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6499 * gdb.dlang/demangle.exp: Update for demangling changes.
6501 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6503 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6504 * gdb.cp/non-trivial-retval.exp: Add new tests.
6506 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6510 * gdb.cp/non-trivial-retval.cc: New file.
6511 * gdb.cp/non-trivial-retval.exp: New file.
6513 2014-10-15 Yao Qi <yao@codesourcery.com>
6515 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6518 2014-10-15 Yao Qi <yao@codesourcery.com>
6520 * gdb.python/py-symbol.exp: Match file base name if host is
6521 remote, otherwise match file name with dir name.
6522 * gdb.python/py-symtab.exp: Likewise.
6523 * gdb.python/python.exp: Likewise.
6525 2014-10-15 Yao Qi <yao@codesourcery.com>
6527 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6529 * gdb.python/py-symtab.exp: Likewise.
6530 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6533 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6535 * gdb.ada/addr_arith: New testcase.
6537 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6539 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6540 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6541 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6542 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6544 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6546 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6547 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6548 * gdb.arch/stap-eval-lang-ada.exp: New file.
6550 2014-10-14 Yao Qi <yao@codesourcery.com>
6552 * gdb.mi/mi-var-child.c (nothing1): New function.
6553 (nothing2): New function.
6554 (do_children_tests): Set function pointers by nothing1 and
6556 * gdb.mi/mi-var-child.exp: Step over new added statements.
6557 Update test to match the new output.
6558 * gdb.mi/var-cmd.c (nothing1): New function.
6559 (nothing2): New function.
6560 (do_children_tests): Set function pointers by nothing1 and
6562 * gdb.mi/mi-var-display.exp: Update test to match output.
6563 Step to the line specified by $line_dct_nothing.
6564 Increase the number of lines to step.
6566 2014-10-14 Yao Qi <yao@codesourcery.com>
6568 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6570 * gdb.mi/mi2-var-child.exp: Likewise.
6572 2014-10-13 Doug Evans <dje@google.com>
6574 * gdb.python/py-objfile.exp: Change name of file name test.
6576 2014-10-13 Doug Evans <dje@google.com>
6578 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6579 from the start of the CU.
6581 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6582 Yao Qi <yao@codesourcery.com>
6584 Fix "save breakpoints" for "catch" command.
6585 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6586 Remove -nonewline. Match also the added "main" line.
6588 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6590 Fix "save breakpoints" for "disable $bpnum" command.
6591 * gdb.base/save-bp.c (main): Add label.
6592 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6594 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6596 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6598 2014-10-11 Yao Qi <yao@codesourcery.com>
6600 * gdb.server/server-kill.exp: Execute command
6601 "set remote trace-status-packet on" before "tstatus".
6603 2014-10-11 Yao Qi <yao@codesourcery.com>
6605 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6606 (main): Call getppid.
6607 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6608 and continue to it. Read variable "server_pid".
6610 2014-10-11 Yao Qi <yao@codesourcery.com>
6612 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6614 2014-10-11 Yao Qi <yao@codesourcery.com>
6616 * gdb.threads/thread-find.exp: Don't execute command
6618 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6619 * gdb.threads/linux-dp.exp: Don't check the condition
6620 $threads_created equals to zero.
6622 2014-10-10 Pedro Alves <palves@redhat.com>
6624 * gdb.base/bigcore.exp: Remove references to IRIX.
6625 * gdb.base/funcargs.exp: Likewise.
6626 * gdb.base/interrupt.exp: Likewise.
6627 * gdb.base/mips_pro.exp: Likewise.
6628 * gdb.base/nodebug.exp: Likewise.
6629 * gdb.base/setvar.exp: Likewise.
6630 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6632 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6633 Pedro Alves <palves@redhat.com>
6636 * gdb.base/vdso-warning.c: New file.
6637 * gdb.base/vdso-warning.exp: New file.
6639 2014-10-02 Doug Evans <dje@google.com>
6641 * gdb.base/structs.c (main): Don't run forever.
6643 2014-10-02 Pedro Alves <palves@redhat.com>
6645 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6646 (top level) <stop threads 1, stop threads 2>: Use it.
6648 2014-10-02 Pedro Alves <palves@redhat.com>
6650 * gdb.threads/break-while-running.exp (test): Add new
6651 'update_thread_list' argument. Skip "info threads" if false.
6652 (top level): Add new 'update_thread_list' axis.
6654 2014-10-02 Pedro Alves <palves@redhat.com>
6656 PR breakpoints/17431
6657 * gdb.base/execl-update-breakpoints.c: New file.
6658 * gdb.base/execl-update-breakpoints.exp: New file.
6660 2014-10-01 Pedro Alves <palves@redhat.com>
6662 * gdb.base/breakpoint-in-ro-region.c: New file.
6663 * gdb.base/breakpoint-in-ro-region.exp: New file.
6665 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6667 * gdb.mi/mi-exit-code.exp: New file.
6668 * gdb.mi/mi-exit-code.c: New file.
6670 2014-09-30 Yao Qi <yao@codesourcery.com>
6672 * lib/prelink-support.exp (build_executable_own_libs): Error if
6673 the target isn't native.
6675 2014-09-30 Yao Qi <yao@codesourcery.com>
6677 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6680 2014-09-22 Pedro Alves <palves@redhat.com>
6682 * gdb.threads/break-while-running.exp: New file.
6683 * gdb.threads/break-while-running.c: New file.
6685 2014-09-19 Yao Qi <yao@codesourcery.com>
6687 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6688 Invoke test. Restart GDB with --readnow and invoke test again.
6690 2014-09-19 Yao Qi <yao@codesourcery.com>
6692 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6693 proc set_breakpoint_on_gcd_function. Invoke
6694 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6695 invoke set_breakpoint_on_gcd_function again.
6697 2014-09-18 Doug Evans <dje@google.com>
6699 * gdb.dwarf2/symtab-producer.exp: New file.
6701 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6703 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6704 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6705 * gdb.base/global-var-nested-by-dso.c: Likewise.
6706 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6708 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6709 Pedro Alves <palves@redhat.com>
6711 * gdb.base/watch-bitfields.exp: Pass string other than test file
6712 name to prepare_for_testing.
6713 (watch): New procedure.
6714 (expect_watchpoint): Use with_test_prefix.
6715 (top level): Factor out tests to ...
6716 (test_watch_location, test_regular_watch): ... these new
6717 procedures, and use with_test_prefix and gdb_continue_to_end.
6719 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6721 PR breakpoints/12526
6722 * gdb.base/watch-bitfields.exp: New file.
6723 * gdb.base/watch-bitfields.c: New file.
6725 2014-09-16 Pedro Alves <palves@redhat.com>
6727 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6728 software and hardware addresses, not software address against
6731 2014-09-16 Pedro Alves <palves@redhat.com>
6733 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6734 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6736 2014-09-16 Pedro Alves <palves@redhat.com>
6738 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6740 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6741 "*-*-vxworks*" throughout.
6742 * gdb.base/break.exp: Likewise.
6743 * gdb.base/default.exp: Likewise.
6744 * gdb.base/scope.exp: Likewise.
6745 * gdb.base/sepdebug.exp: Likewise.
6746 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6748 * gdb.base/run.c: Likewise.
6749 * gdb.base/sepdebug.c: Likewise.
6750 * gdb.hp/gdb.aCC/run.c: Likewise.
6751 * gdb.reverse/until-reverse.c: Likewise.
6752 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6754 2014-09-16 Yao Qi <yao@codesourcery.com>
6756 * boards/local-remote-host-native.exp: New file.
6758 2014-09-14 Doug Evans <xdje42@gmail.com>
6760 * gdb.threads/queue-signal.c (thread_count): New variable.
6761 (thread_count_mutex, thread_count_condvar): New variables.
6762 (incr_thread_count, wait_all_threads_running): New functions.
6763 (main): Wait for all threads to be in their thread functions.
6765 2014-09-13 Doug Evans <xdje42@gmail.com>
6767 * gdb.threads/queue-signal.c: New file.
6768 * gdb.threads/queue-signal.exp: New file.
6770 2014-09-13 Doug Evans <xdje42@gmail.com>
6772 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6773 be consistent with what default_gdb_init uses.
6774 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6775 the plain text of the prompt. Add some logging printfs.
6776 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6778 2014-09-12 Pedro Alves <palves@redhat.com>
6780 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6781 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6782 * gdb.arch/i386-size-overlap.exp: Likewise.
6783 * gdb.arch/i386-size.exp: Likewise.
6784 * gdb.arch/i386-unwind.exp: Likewise.
6785 * gdb.base/a2-run.exp: Likewise.
6786 * gdb.base/break.exp: Likewise.
6787 * gdb.base/charset.exp: Likewise.
6788 * gdb.base/chng-syms.exp: Likewise.
6789 * gdb.base/commands.exp: Likewise.
6790 * gdb.base/dbx.exp: Likewise.
6791 * gdb.base/find.exp: Likewise.
6792 * gdb.base/funcargs.exp: Likewise.
6793 * gdb.base/jit-simple.exp: Likewise.
6794 * gdb.base/reread.exp: Likewise.
6795 * gdb.base/sepdebug.exp: Likewise.
6796 * gdb.base/step-bt.exp: Likewise.
6797 * gdb.cp/mb-inline.exp: Likewise.
6798 * gdb.cp/mb-templates.exp: Likewise.
6799 * gdb.objc/basicclass.exp: Likewise.
6800 * gdb.threads/killed.exp: Likewise.
6802 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6805 * gdb.arch/powerpc-stackless.S: New file.
6806 * gdb.arch/powerpc-stackless.exp: New file.
6808 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6810 * gdb.base/attach.c: Include unistd.h.
6811 (main): Call alarm. Add label postloop.
6812 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6813 gdb_breakpoint, gdb_continue_to_breakpoint.
6814 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6816 2014-09-11 Pedro Alves <palves@redhat.com>
6819 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6820 * gdb.base/attach.exp (test_command_line_attach_run): New
6822 (top level): Call it.
6824 2014-09-11 Pedro Alves <palves@redhat.com>
6826 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6827 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6828 (do_command_attach_tests): Use spawn_wait_for_attach.
6829 * gdb.base/solib-overlap.exp: Likewise.
6830 * gdb.multi/multi-attach.exp: Likewise.
6831 * gdb.python/py-prompt.exp: Likewise.
6832 * gdb.python/py-sync-interp.exp: Likewise.
6833 * gdb.server/ext-attach.exp: Likewise.
6835 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6837 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6838 command in testcase. Simplify testcase.
6840 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6842 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6844 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6846 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6848 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6850 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6852 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6854 * gdb.dwarf2/dynarr-ptr.c: New file.
6855 * gdb.dwarf2/dynarr-ptr.exp: New file.
6857 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6859 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6860 of 30 rather than hardcoding 120 for a slow test case. Take the
6861 `gdb,timeout' target setting into account for this calculation.
6862 Don't extend the timeout for the test cases that don't need it.
6864 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6866 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6867 a factor of 2 for a slow test case. Take the `gdb,timeout'
6868 target setting into account for this calculation.
6869 * gdb.reverse/until-precsave.exp: Increase the timeout by
6870 a factor of 15 and 3 respectively rather than adding 120
6871 for a pair of slow test cases. Take the `gdb,timeout'
6872 target setting into account for this calculation.
6874 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6876 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6877 timeout, don't pass one down to gdb_expect.
6878 (gdb_expect): Rework timeout selection.
6880 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6882 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6883 exception on timeout.
6884 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6885 (gdbserver_start_extended): Catch any `gdbserver_start' error
6887 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6888 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6889 `gdbserver_gdb_load' error exceptions.
6891 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6893 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6894 120 on waiting for the TCP socket to open.
6896 2014-09-09 Doug Evans <xdje42@gmail.com>
6898 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6899 _caller_matches, _any_caller_is, _any_caller_matches.
6901 2014-09-09 Doug Evans <xdje42@gmail.com>
6903 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6905 2014-09-09 Yao Qi <yao@codesourcery.com>
6907 * gdb.mi/mi-var-display.exp: Set print symbol off.
6909 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6912 * gdb.base/commands.exp: Add tests to verify user-defined
6913 commands with empty bodies.
6914 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6915 python commands in `show user command`.
6916 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6917 scheme commands in `show user command`.
6919 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6922 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6923 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6924 * gdb.python/py-framefilter-invalidarg.exp: New file.
6925 * gdb.python/py-framefilter-invalidarg.py: New file.
6927 2014-09-06 Doug Evans <xdje42@gmail.com>
6930 * gdb.python/py-caller-is.c: New file.
6931 * gdb.python/py-caller-is.exp: New file.
6933 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6936 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6937 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6939 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6942 * gdb.fortran/print-formatted.exp: New file.
6943 * gdb.fortran/print-formatted.f90: Likewise.
6945 2014-09-03 Sasha Smundak <asmundak@google.com>
6947 * gdb.python/py-frame.exp: Test Frame.read_register.
6949 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6952 * gdb.python/py-completion.exp: New file.
6953 * gdb.python/py-completion.py: Likewise.
6955 2014-08-28 Doug Evans <dje@google.com>
6957 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6958 eax,etc. are live with values set by gdb and thus the compiler can't
6960 * gdb.arch/i386-pseudo.c (main): Ditto.
6962 2014-08-27 Doug Evans <dje@google.com>
6964 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6966 2014-08-25 Doug Evans <dje@google.com>
6968 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6971 2014-08-25 Doug Evans <dje@google.com>
6973 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6975 2014-08-24 Yao Qi <yao@codesourcery.com>
6977 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6979 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6981 2014-08-22 Doug Evans <dje@google.com>
6984 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6985 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6986 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6988 2014-08-22 Yao Qi <yao@codesourcery.com>
6990 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6991 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6992 * gdb.python/python.exp: Likewise. Use .py file on the host
6993 instead of the build.
6995 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6997 * gdb.threads/gcore-stale-thread.c: New file.
6998 * gdb.threads/gcore-stale-thread.exp: New file.
7000 2014-08-21 Pedro Alves <palves@redhat.com>
7002 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7003 * gdb.base/gcore-relro-pie.exp: Likewise.
7004 * gdb.base/gcore-relro.exp: Likewise.
7005 * gdb.base/gcore.exp: Likewise.
7006 * gdb.base/print-symbol-loading.exp: Likewise.
7007 * gdb.threads/gcore-thread.exp: Likewise.
7008 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7010 2014-08-20 Pedro Alves <palves@redhat.com>
7011 Jan Kratochvil <jan.kratochvil@redhat.com>
7013 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7015 (EXPECT): Handle READ1 being set.
7016 (all): Depend on EXTRA_RULES.
7017 (check-read1, expect-read1, read1.so, read1): New rules.
7018 * README (Testsuite Parameters): Document the READ1 make variable.
7019 (Race detection): New section.
7020 * configure: Regenerate.
7021 * configure.ac: If build==host==target, and running under a
7022 GNU/glibc system, add read1 to the extra Makefile rules.
7023 (EXTRA_RULES): AC_SUBST it.
7024 * lib/read1.c: New file.
7026 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7028 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7029 the handling of variables declared as a typedef to an array
7030 which a DW_AT_data_location attribute.
7032 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7033 Pedro Alves <palves@redhat.com>
7037 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7040 2014-08-19 Pedro Alves <palves@redhat.com>
7042 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7044 2014-08-19 Yao Qi <yao@codesourcery.com>
7046 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7049 2014-08-18 David Blaikie <dblaikie@gmail.com>
7051 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7053 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7055 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7056 attribute in array range.
7058 2014-08-18 Joel Brobecker <brobecker@adacore.com>
7060 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7062 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7065 * gdb.cp/pr17132.cc: New file.
7066 * gdb.cp/pr17132.exp: New file.
7068 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7070 * gdb.python/py-xmethods.py (A_getarrayind)
7071 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7072 Use 'print' with function call syntax.
7073 (E_method_matcher.match): Fix tab vs space indentation mixup.
7075 2014-08-15 Yao Qi <yao@codesourcery.com>
7077 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7080 2014-08-15 Yao Qi <yao@codesourcery.com>
7082 * gdb.cp/casts.exp: Set print symbol off.
7083 * gdb.cp/class2.exp: Likewise.
7084 * gdb.cp/overload.exp: Likewise.
7085 * gdb.cp/templates.exp: Likewise.
7087 2014-08-11 Doug Evans <dje@google.com>
7089 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7090 (test_load_shlib): Update.
7092 2014-08-09 Yao Qi <yao@codesourcery.com>
7094 * gdb.base/display.exp: Invoke is_address_zero_readable.
7095 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7096 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7097 * gdb.base/hbreak-unmapped.exp: Return if
7098 is_address_zero_readable returns true.
7099 * gdb.base/signest.exp: Likewise.
7100 * gdb.base/signull.exp: Likewise.
7101 * gdb.base/sigbpt.exp: Likewise.
7102 * gdb.guile/scm-disasm.exp: Do the test if
7103 is_address_zero_readable returns false.
7104 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7105 * gdb.python/py-arch.exp: Likewise.
7106 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7107 * lib/gdb.exp (is_address_zero_readable): New proc.
7109 2014-08-09 Yao Qi <yao@codesourcery.com>
7112 * gdb.mi/mi-var-display.exp: Make test messages unique.
7114 2014-08-04 Tom Tromey <tromey@redhat.com>
7116 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7119 2014-08-04 Tom Tromey <tromey@redhat.com>
7121 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7124 2014-08-01 Joel Brobecker <brobecker@adacore.com>
7126 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7127 inner_vla_struct_object_size.
7128 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7131 2014-07-30 Pedro Alves <palves@redhat.com>
7133 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7136 2014-07-29 Yao Qi <yao@codesourcery.com>
7139 * gdb.base/until-nodebug.exp: New.
7141 2014-07-28 Doug Evans <xdje42@gmail.com>
7144 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7145 previously existing parameter, and previously ambiguously spelled
7148 2014-07-28 Will Newton <will.newton@linaro.org>
7150 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7152 2014-07-26 Ludovic Courtès <ludo@gnu.org>
7153 Doug Evans <xdje42@gmail.com>
7156 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7158 2014-07-25 Pedro Alves <palves@redhat.com>
7160 * gdb.threads/signal-command-handle-nopass.c: New file.
7161 * gdb.threads/signal-command-handle-nopass.exp: New file.
7162 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7163 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7164 * gdb.threads/signal-delivered-right-thread.c: New file.
7165 * gdb.threads/signal-delivered-right-thread.exp: New file.
7167 2014-07-25 Pedro Alves <palves@redhat.com>
7169 * gdb.base/double-prompt-target-event-error.exp
7170 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7172 (cancel_pagination_in_target_event): Rework double prompt
7174 * gdb.base/paginate-after-ctrl-c-running.exp
7175 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7177 * gdb.base/paginate-bg-execution.exp
7178 (test_bg_execution_pagination_return)
7179 (test_bg_execution_pagination_cancel): Remove '-notransfer
7181 * gdb.base/paginate-execution-startup.exp
7182 (test_fg_execution_pagination_return)
7183 (test_fg_execution_pagination_cancel): Remove '-notransfer
7185 * gdb.base/paginate-inferior-exit.exp
7186 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7188 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7189 * lib/gdb.exp (pagination_prompt): Run text through
7191 (gdb_test_multiple): Match $pagination_prompt instead of
7193 (string_to_regexp): Move to lib/gdb-utils.exp.
7195 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7197 * gdb.arch/amd64-entry-value-paramref.S: New file.
7198 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7199 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7200 * gdb.arch/amd64-optimout-repeat.S: New file.
7201 * gdb.arch/amd64-optimout-repeat.c: New file.
7202 * gdb.arch/amd64-optimout-repeat.exp: New file.
7204 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7207 * gdb.base/statistics.exp: New file.
7209 2014-07-17 Doug Evans <dje@google.com>
7212 * gdb.base/maint.exp: Update testing of per-command stats.
7214 2014-07-16 Pedro Alves <palves@redhat.com>
7216 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7217 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7218 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7219 (tfile_write_buf): New functions.
7220 (add_memory_block): Rewrite using the above.
7221 (adjust_function_address): New function.
7222 (FUNCTION_ADDRESS): New macro.
7223 (write_basic_trace_file): Remove short_x local, and use
7224 tfile_write_16. Change type of func_addr local to unsigned long
7225 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7226 here. Cast argument of add_memory_block to char pointer.
7227 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7228 (main): Remove parameters.
7229 * gdb.trace/tfile.exp: Remove nowarnings.
7231 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7233 * gdb.base/debug-expr.exp: Test string evaluation with
7234 "debug expression" on.
7236 2014-07-15 Pedro Alves <palves@redhat.com>
7238 * gdb.base/reread.exp: Use clean_restart.
7240 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7242 * gdb.arch/avr-flash-qualifer.c: New.
7243 * gdb.arch/avr-flash-qualifer.exp: New.
7245 2014-07-14 Pedro Alves <palves@redhat.com>
7247 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7248 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7250 2014-07-14 Pedro Alves <palves@redhat.com>
7252 * gdb.base/double-prompt-target-event-error.c: New file.
7253 * gdb.base/double-prompt-target-event-error.exp: New file.
7255 2014-07-14 Pedro Alves <palves@redhat.com>
7258 * gdb.base/paginate-inferior-exit.c: New file.
7259 * gdb.base/paginate-inferior-exit.exp: New file.
7261 2014-07-14 Pedro Alves <palves@redhat.com>
7264 * gdb.base/paginate-bg-execution.c: New file.
7265 * gdb.base/paginate-bg-execution.exp: New file.
7267 2014-07-14 Pedro Alves <palves@redhat.com>
7270 * gdb.base/paginate-execution-startup.c: New file.
7271 * gdb.base/paginate-execution-startup.exp: New file.
7272 * lib/gdb.exp (pagination_prompt): New global.
7273 (default_gdb_spawn): New procedure, factored out from
7275 (default_gdb_start): Adjust to call default_gdb_spawn.
7276 (gdb_spawn): New procedure.
7278 2014-07-14 Pedro Alves <palves@redhat.com>
7280 * lib/gdb.exp (gdb_assert): New procedure.
7281 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7283 2014-07-14 Pedro Alves <palves@redhat.com>
7285 * gdb.base/execution-termios.c: New file.
7286 * gdb.base/execution-termios.exp: New file.
7288 2014-07-14 Tom Tromey <tromey@redhat.com>
7290 * gdb.cp/vla-cxx.cc: New file.
7291 * gdb.cp/vla-cxx.exp: New file.
7293 2014-07-14 Tom Tromey <tromey@redhat.com>
7295 * gdb.reverse/rerun-prec.c: New file.
7296 * gdb.reverse/rerun-prec.exp: New file.
7298 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7299 Maciej W. Rozycki <macro@codesourcery.com>
7301 * lib/gdb-utils.exp: New file.
7302 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7303 inline `gdb_init_command' processing.
7304 (gdb_start_cmd): Likewise.
7305 * lib/mi-support.exp (mi_run_cmd): Likewise.
7306 * README: Document `gdb_init_command' and `gdb_init_commands'.
7308 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7310 Fix false FAIL running under a very long directory name.
7311 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7312 and "set print elements 10000". Twice.
7314 2014-07-11 Yao Qi <yao@codesourcery.com>
7316 * gdb.base/exprs.exp: "set print symbol off".
7318 2014-07-11 Pedro Alves <palves@redhat.com>
7320 * gdb.threads/kill.c: New file.
7321 * gdb.threads/kill.exp: New file.
7323 2014-07-10 Yao Qi <yao@codesourcery.com>
7325 * gdb.trace/tfile.c (write_basic_trace_file)
7326 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7327 address written to trace file.
7329 2014-07-09 Pedro Alves <palves@redhat.com>
7331 * gdb.base/attach-wait-input.exp: New file.
7332 * gdb.base/attach-wait-input.c: New file.
7334 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7336 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7337 setting up test structures.
7338 (main): Call new test function.
7339 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7340 test function, continue into test function and walk test
7343 2014-07-02 Yao Qi <yao@codesourcery.com>
7345 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7346 'bar_start' at the beginning of functions 'foo' and 'bar'
7348 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7349 instead of 'foo' and 'bar'.
7351 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7353 * gdb.btrace/segv.exp: New.
7354 * gdb.btrace/segv.c: New.
7356 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7358 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7361 2014-06-30 Mark Wielaard <mjw@redhat.com>
7363 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7364 vulture, vilify, villar): New volatile array constants.
7365 (vindictive, vegetation): New const volatile array constants.
7366 * gdb.base/volatile.exp: Test volatile and const volatile array
7369 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7371 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7372 target lacks support for awatch, rwatch, or hbreak.
7374 2014-06-27 Yao Qi <yao@codesourcery.com>
7376 * gdb.multi/dummy-frame-restore.exp: New.
7377 * gdb.multi/dummy-frame-restore.c: New.
7379 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7381 * gdb.btrace/gcore.exp: New.
7383 2014-06-23 Pedro Alves <palves@redhat.com>
7385 * gdb.base/watchpoint-reuse-slot.c: New file.
7386 * gdb.base/watchpoint-reuse-slot.exp: New file.
7388 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7390 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7391 progspace's filename in 'info', 'enable' and 'disable' command
7394 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7396 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7397 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7398 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7400 2014-06-20 Gary Benson <gbenson@redhat.com>
7402 * gdb.arch/i386-avx.exp: Fix include file location.
7403 * gdb.arch/i386-sse.exp: Likewise.
7405 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7407 * gdb.dlang/expression.exp: New file.
7409 2014-06-19 Pedro Alves <palves@redhat.com>
7411 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7413 (top level): ... here. Iterate running tests under different
7414 scheduler-locking settings.
7416 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7418 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7419 to DW_FORM_addr and use non-zero addresses.
7421 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7424 * gdb.python/py-xmethods.cc: Add global function call counters and
7425 increment them in their respective functions. Remove "cout"
7427 * gdb.python/py-xmethods.exp: Make tests check the global function
7428 call counters instead of depending on inferior IO.
7430 2014-06-18 Don Breazeal <donb@codesourcery.com>
7432 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7434 (explicit_fork_parent_follow): Deleted procedure.
7435 (explicit_fork_child_follow): Deleted procedure.
7436 (test_follow_fork): New procedure.
7437 (do_fork_tests): Replace calls to deleted procedures with
7438 calls to test_follow_fork and reset GDB for subsequent
7441 2014-06-17 Yao Qi <yao@codesourcery.com>
7443 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7446 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7448 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7449 Initialize ptr and S explicitly.
7450 (skip_type_update_when_not_use_rtti_test): Likewise.
7452 2014-06-16 Keith Seitz <keiths@redhat.com>
7455 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7456 the inferior is started.
7458 2014-06-16 Pedro Alves <palves@redhat.com>
7460 * gdb.base/break-main-file-remove-fail.c: New file.
7461 * gdb.base/break-main-file-remove-fail.exp: New file.
7462 * gdb.base/break-unload-file.exp: Use build_executable instead of
7463 prepare_for_testing.
7464 (test_break): New parameter "initial_load". Handle it.
7465 (top level): Add initial_load cmdline/file axis.
7467 2014-06-12 Tom Tromey <tromey@redhat.com>
7469 * gdb.base/completion.exp: Don't use directory name in test.
7471 2014-06-09 Gary Benson <gbenson@redhat.com>
7473 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7474 separate the always-available ANSI-standard signals from the
7475 signals that require checking.
7477 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7481 2014-06-07 Keith Seitz <keiths@redhat.com>
7485 * gdb.cp/var-tag.cc: New file.
7486 * gdb.cp/var-tag.exp: New file.
7487 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7488 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7489 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7490 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7492 2014-06-06 Doug Evans <xdje42@gmail.com>
7494 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7496 2014-06-06 Pedro Alves <palves@redhat.com>
7498 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7499 in target debug output instead of looking at RSP packets,
7500 disabling the test on any target that uses hardware stepping.
7503 2014-06-06 Pedro Alves <palves@redhat.com>
7505 * gdb.base/break-unload-file.exp: Fix typo.
7507 2014-06-06 Yao Qi <yao@codesourcery.com>
7509 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7510 from "jit_function" to "^jit_function".
7512 2014-06-06 Yao Qi <yao@codesourcery.com>
7514 * gdb.base/async.c (foo): Add one statement.
7515 * gdb.base/async.exp: Get the next instruction address and
7516 match the output of "nexti" by instruction address. Match
7517 the hex address in the output of "finish".
7519 2014-06-06 Gary Benson <gbenson@redhat.com>
7521 * gdb.base/call-signals.c: Remove preprocessor conditionals
7522 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7523 SIGSEGV and SIGTERM.
7524 * gdb.base/sigall.c: Likewise.
7525 * gdb.base/unwindonsignal.c: Likewise.
7526 * gdb.reverse/sigall-reverse.c: Likewise.
7528 2014-06-06 Yao Qi <yao@codesourcery.com>
7530 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7531 readable, skip the test.
7533 2014-06-06 Yao Qi <yao@codesourcery.com>
7535 * gdb.threads/staticthreads.c (thread_function): Move the line
7536 setting breakpoint on forward.
7537 * gdb.threads/staticthreads.exp: Update comments.
7539 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7541 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7542 "history-append! type error".
7544 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7546 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7547 erroneous dprintf expected input.
7549 2014-06-04 Doug Evans <xdje42@gmail.com>
7551 * gdb.guile/scm-generics.exp: Delete.
7553 2014-06-04 Doug Evans <xdje42@gmail.com>
7555 * gdb.guile/scm-breakpoint.exp: Update.
7556 Add tests for breakpoint registration.
7558 2014-06-04 Tom Tromey <tromey@redhat.com>
7560 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7562 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7563 inner_vla_struct, vla_union types. Initialize objects of those
7564 types and compute their sizes.
7566 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7567 Hui Zhu <hui@codesourcery.com>
7569 * gdb.base/fileio.exp: Add test for shell not available as well as
7571 * gdb.base/fileio.c (test_system): Check for shell twice.
7573 2014-06-04 Yao Qi <yao@codesourcery.com>
7575 * gdb.base/auto-connect-native-target.exp: Remove redundant
7576 space from the regexp pattern.
7578 2014-06-04 Yao Qi <yao@codesourcery.com>
7580 * gdb.base/default.exp: Replace "child" with "native" in
7583 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7585 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7586 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7587 * gdb.python/py-xmethods.py: Python script supporting the
7588 new testcase and tests.
7590 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7591 Pedro Alves <palves@redhat.com>
7593 PR breakpoints/17000
7594 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7595 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7597 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7599 * gdb.base/subst.exp: Add tests to verify partial path matching
7602 2014-06-03 Pedro Alves <palves@redhat.com>
7604 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7605 target that doesn't use software single-stepping.
7607 2014-06-03 Pedro Alves <palves@redhat.com>
7609 PR breakpoints/17000
7610 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7611 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7613 2014-06-02 Doug Evans <xdje42@gmail.com>
7615 * gdb.guile/scm-parameter.exp: New file.
7617 2014-06-02 Doug Evans <xdje42@gmail.com>
7619 * gdb.guile/scm-cmd.c: New file.
7620 * gdb.guile/scm-cmd.exp: New file.
7622 2014-06-02 Doug Evans <xdje42@gmail.com>
7624 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7625 pretty-printer lookup.
7626 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7627 (make-pp_s-printer): Call it.
7628 (make-pretty-printer-from-dict): New function.
7629 (lookup-pretty-printer-maker-from-dict): New function.
7630 (*pretty-printer*): Simplify.
7631 (make-objfile-pp_s-printer): New function.
7632 (install-objfile-pretty-printers!): New function.
7633 (make-progspace-pp_s-printer): New function.
7634 (install-progspace-pretty-printers!): New function.
7635 * gdb.guile/scm-progspace.c: New file.
7636 * gdb.guile/scm-progspace.exp: New file.
7638 2014-06-02 Pedro Alves <palves@redhat.com>
7640 * gdb.base/dprintf-bp-same-addr.c: New file.
7641 * gdb.base/dprintf-bp-same-addr.exp: New file.
7643 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7645 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7646 * gdb.arch/powerpc-power.s: Likewise.
7648 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7650 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7652 2014-06-01 Yao Qi <yao@codesourcery.com>
7654 * gdb.base/watchpoint.exp (test_watch_location): Check null
7655 pointer can be dereferenced. If not, do the test, otherwise
7658 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7660 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7662 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7664 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7666 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7667 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7668 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7669 * gdb.arch/amd64-invalid-stack-top.c: New file.
7670 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7672 2014-05-30 Pedro Alves <palves@redhat.com>
7674 PR breakpoints/17000
7675 * gdb.base/sss-bp-on-user-bp.c: New file.
7676 * gdb.base/sss-bp-on-user-bp.exp: New file.
7678 2014-05-30 David Blaikie <dblaikie@gmail.com>
7680 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7681 gnu_inline semantics via attribute.
7682 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7683 source explicitly specifies the required semantics.
7685 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7687 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7689 2014-05-29 Pedro Alves <palves@redhat.com>
7690 Tom Tromey <tromey@redhat.com>
7692 * gdb.base/async-shell.exp: Don't enable target-async.
7693 * gdb.base/async.exp
7694 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7696 (top level): Don't test with "target-async".
7697 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7698 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7699 * gdb.base/inferior-died.exp: Don't enable target-async.
7700 * gdb.base/interrupt-noterm.exp: Likewise.
7701 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7702 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7703 * gdb.mi/mi-nonstop.exp: Likewise.
7704 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7705 * gdb.mi/mi-nsintrall.exp: Likewise.
7706 * gdb.mi/mi-nsmoribund.exp: Likewise.
7707 * gdb.mi/mi-nsthrexec.exp: Likewise.
7708 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7709 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7710 * gdb.python/py-evsignal.exp: Don't enable target-async.
7711 * gdb.python/py-evthreads.exp: Likewise.
7712 * gdb.python/py-prompt.exp: Likewise.
7713 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7714 * gdb.server/solib-list.exp: Don't enable target-async.
7715 * gdb.threads/thread-specific-bp.exp: Likewise.
7716 * lib/mi-support.exp: Adjust to use mi-async.
7718 2014-05-29 Pedro Alves <palves@redhat.com>
7721 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7722 reason, even in sync mode.
7724 2014-05-29 Pedro Alves <palves@redhat.com>
7725 Hui Zhu <hui@codesourcery.com>
7728 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7729 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7730 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7731 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7733 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7735 * config/monitor.exp (gdb_target_monitor): Replace use of
7736 "set remotebaud" by "set serial baud".
7738 2014-05-26 Andy Wingo <wingo@igalia.com>
7740 * gdb.guile/scm-breakpoint.exp:
7741 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7742 properties instead of gdb-object-properties.
7744 2014-05-26 Yao Qi <yao@codesourcery.com>
7746 * gdb.server/no-thread-db.exp: Specify source file name
7747 explicitly when setting a breakpoint.
7749 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7751 * gdb.btrace/vdso.c: New.
7752 * gdb.btrace/vdso.exp: New.
7754 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7756 * gdb.base/gcore.exp (capture_command_output): Move ...
7757 * lib/gdb.exp (capture_command_output): ... here.
7759 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7761 * gdb.btrace/data.exp: Test memory access during btrace replay.
7763 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7765 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7767 2014-05-21 Pedro Alves <palves@redhat.com>
7770 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7771 (top level): Test that output related to execution commands is
7772 sent to the console with CLI commands, but not with MI commands.
7773 Test that breakpoint events are always mirrored to the console.
7774 Also expect the new source line to be output after a "next" in
7775 async mode too. Make it a pass/fail test.
7776 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7778 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7780 2014-05-21 Pedro Alves <palves@redhat.com>
7782 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7783 Use them to test variations of "list" after reaching a breakpoint.
7784 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7785 Test "list" with listsize 10 after reaching a breakpoint.
7786 * gdb.python/python.exp (decode_line current location line
7787 number): Adjust expected line number.
7789 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7791 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7792 behavior for $args, pass it directly to "run".
7794 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7796 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7799 2014-05-21 Pedro Alves <palves@redhat.com>
7801 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7802 auto-connect-native-target off".
7803 * gdb.base/auto-connect-native-target.c: New file.
7804 * gdb.base/auto-connect-native-target.exp: New file.
7806 2014-05-21 Pedro Alves <palves@redhat.com>
7808 * gdb.base/default.exp: Test "target native" instead of "target
7811 2014-05-21 Mark Wielaard <mjw@redhat.com>
7813 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7815 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7817 Fix TLS access for -static -pthread.
7818 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7819 <HAVE_TLS> (thread_function, main): Initialize it.
7820 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7822 <$have_tls != "">: Check TLSVAR.
7824 2014-05-21 Pedro Alves <palves@redhat.com>
7826 * gdb.base/dcache-line-read-error.c: New.
7827 * gdb.base/dcache-line-read-error.exp: New.
7829 2014-05-20 Pedro Alves <palves@redhat.com>
7831 * gdb.base/compare-sections.c: New file.
7832 * gdb.base/compare-sections.exp: New file.
7834 2014-05-20 Pedro Alves <palves@redhat.com>
7836 * gdb.base/break-idempotent.c: New file.
7837 * gdb.base/break-idempotent.exp: New file.
7839 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7841 * gdb.btrace/nohist.exp: New.
7843 2014-05-20 Yao Qi <yao@codesourcery.com>
7845 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7846 gdb.reverse directory and gdb_reverse_timeout exists in board
7848 * README: Document gdb_reverse_timeout.
7850 2014-05-20 Yao Qi <yao@codesourcery.com>
7852 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7853 'test_file_name'. Treat args as a string instead of a list.
7854 (gdb_init): Rename argument 'args' by 'test_file_name'.
7856 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7858 * gdb.arch/powerpc-power.exp: New file.
7859 * gdb.arch/powerpc-power.s: New file.
7861 2014-05-16 Doug Evans <dje@google.com>
7863 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7864 * gdb.base/completion.exp: Check that all expected files exist
7865 before doing file completion.
7867 2014-05-16 Doug Evans <dje@google.com>
7869 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7871 (do_syscall_tests_without_xml): Update.
7873 2014-05-16 Pedro Alves <palves@redhat.com>
7875 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7876 instead of "unknown output after running".
7878 2014-05-16 Yao Qi <yao@codesourcery.com>
7880 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7881 file1.txt from host at the end.
7882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7884 2014-05-15 Doug Evans <dje@google.com>
7886 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7887 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7888 loading file. Add test for TU lookup.
7890 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7892 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7893 calling "-exec-arguments" or "set args" before running the
7896 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7898 * lib/mi-support.exp (mi_expect_stop): Expect message for
7899 inferiors that exit with non-zero exit code.
7901 2014-05-14 Yao Qi <yao@codesourcery.com>
7903 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7904 match absolute path on remote host.
7905 (test_file_list_exec_source_files): Remove "/" from the
7908 2014-05-14 Yao Qi <yao@codesourcery.com>
7910 * boards/local-remote-host-notty.exp (${board}_file): New
7913 2014-05-07 Kyle McMartin <kyle@redhat.com>
7915 Pushed by Joel Brobecker <brobecker@adacore.com>.
7916 * gdb.arch/aarch64-atomic-inst.c: New file.
7917 * gdb.arch/aarch64-atomic-inst.exp: New file.
7919 2014-05-07 Yao Qi <yao@codesourcery.com>
7921 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7922 in current context" too.
7924 2014-05-05 Keith Seitz <keiths@redhat.com>
7926 * gdb.linespec/ls-dollar.exp: Add test for linespec
7927 file:convenience_variable.
7929 2014-05-05 Yao Qi <yao@codesourcery.com>
7931 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7932 traceframes into tfile and ctf trace files. Read data from
7933 trace file and test collected data.
7934 (gdb_collect_locals_test): Likewise.
7935 (gdb_unavailable_registers_test): Likewise.
7936 (gdb_unavailable_floats): Likewise.
7937 (gdb_collect_globals_test): Likewise.
7938 (top-level): Append "ctf" to trace_file_targets if GDB
7941 2014-05-05 Yao Qi <yao@codesourcery.com>
7943 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7945 (gdb_collect_args_test_1): ... it. New proc.
7946 (gdb_collect_locals_test): Move some code to ...
7947 (gdb_collect_locals_test_1): ... it. New proc.
7948 (gdb_unavailable_registers_test): Move some code to ...
7949 (gdb_unavailable_registers_test_1): ... it. New proc.
7950 (gdb_unavailable_floats): Move some code to ...
7951 (gdb_unavailable_floats_1): ... it. New proc.
7953 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7955 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7956 probes to test for bitness recognition.
7957 * gdb.arch/amd64-stap-optional-prefix.exp
7958 (test_probe_value_without_reg): New procedure.
7959 Add code to test for different kinds of bitness.
7961 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7963 PR breakpoints/16889
7964 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7965 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7967 2014-05-01 Pedro Alves <palves@redhat.com>
7969 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7970 gdb_file_cmd if no file is specified.
7971 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7972 last_loaded_file to set the remote exec-file.
7974 2014-05-01 Pedro Alves <palves@redhat.com>
7976 * boards/local-remote-host.exp: New file.
7978 2014-05-01 Pedro Alves <palves@redhat.com>
7980 * boards/local-remote-host.exp: Rename to ...
7981 * boards/local-remote-host-notty.exp: ... this.
7983 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7985 * gdb.ada/dyn_arrayidx: New testcase.
7987 2014-04-26 Yao Qi <yao@codesourcery.com>
7989 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7990 and compute the length of function main. Save it in
7992 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7993 (top-level): Use gdb_compile to compile objects into
7994 executable and restart GDB. Remove invocation to
7995 prepare_for_testing.
7997 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7998 Pedro Alves <palves@redhat.com>
8001 * gdb.multi/multi-attach.c: New file.
8002 * gdb.multi/multi-attach.exp: New file.
8004 2014-04-25 Pedro Alves <palves@redhat.com>
8006 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8008 (top level): Test that "set remote conditional-breakpoints-packet
8009 off" works as intended.
8010 * gdb.base/dprintf.exp: Test that "set remote
8011 breakpoint-commands-packet off" works as intended.
8012 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8014 (top level): Call it.
8015 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8016 remote fast-tracepoints-packet off" works as intended.
8017 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8018 * lib/gdb.exp (gdb_is_target_remote): ... here.
8020 2014-04-24 David Blaikie <dblaikie@gmail.com>
8022 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8023 ensure clang would not discard them.
8024 * gdb.base/gdbvars.c: Ditto.
8025 * gdb.base/memattr.c: Ditto.
8026 * gdb.base/whatis.c: Ditto.
8027 * gdb.python/py-prettyprint.c: Ditto.
8028 * gdb.trace/actions.c: Ditto.
8029 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8030 ensure clang would not discard it.
8032 2014-04-24 David Blaikie <dblaikie@gmail.com>
8034 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8035 clang to emit the full definition of type required by the test
8036 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8038 2014-04-24 David Blaikie <dblaikie@gmail.com>
8040 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8041 coax Clang into emitting the definition of the type.
8042 * gdb.cp/pr10728-x.h (y): Ditto.
8043 * gdb.cp/pr10728-y.cc (y): Ditto.
8045 2014-04-24 David Blaikie <dblaikie@gmail.com>
8047 * gdb.base/label.exp: XFAIL label related tests under Clang.
8048 * gdb.cp/cplabel.exp: Ditto.
8049 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8050 under Clang those using labels.
8052 2014-04-25 Yao Qi <yao@codesourcery.com>
8054 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8056 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8057 partial_label and double_label.
8059 2014-04-24 David Blaikie <dblaikie@gmail.com>
8061 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8063 2014-04-24 David Blaikie <dblaikie@gmail.com>
8065 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8066 of the function to work across GCC and Clang.
8067 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8068 pointer types (const void ** const V void **).
8070 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
8071 Walfred Tedeschi <walfred.tedeschi@intel.com>
8073 * Makefile.in (EXECUTABLES): Added i386-avx512.
8074 * gdb.arch/i386-avx512.c: New file.
8075 * gdb.arch/i386-avx512.exp: Likewise.
8077 2014-04-23 Keith Seitz <keiths@redhat.com>
8079 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8080 (mi_make_breakpoint_table): New procedure.
8081 (mi_create_breakpoint): Use mi_make_breakpoint
8082 and return the result.
8083 (mi_make_breakpoint): New procedure.
8084 (mi_build_kv_pairs): New procedure.
8086 * gdb.mi/mi-break.exp: Remove unused globals,
8087 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8088 All callers updated.
8089 * gdb.mi/mi-dprintf.exp: Use variable to track command
8091 Update all callers of mi_create_breakpoint and use
8092 mi_make_breakpoint_table.
8093 Remove any unused global variables.
8094 * gdb.mi/mi-nonstop.exp: Likewise.
8095 * gdb.mi/mi-nsintrall.exp: Likewise.
8096 * gdb.mi/mi-nsmoribund.exp: Likewise.
8097 * gdb.mi/mi-nsthrexec.exp: Likewise.
8098 * gdb.mi/mi-reverse.exp: Likewise.
8099 * gdb.mi/mi-simplerun.exp: Likewise.
8100 * gdb.mi/mi-stepn.exp: Likewise.
8101 * gdb.mi/mi-syn-frame.exp: Likewise.
8102 * gdb.mi/mi-until.exp: Likewise.
8103 * gdb.mi/mi-var-cp.exp: Likewise.
8104 * gdb.mi/mi-var-display.exp: Likewise.
8105 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8106 * gdb.mi/mi2-var-child.exp: Likewise.
8107 * gdb.mi/mi-vla-c99.exp: Likewise.
8108 * lib/mi-support.exp: Likewise.
8110 From Ian Lance Taylor <iant@cygnus.com>:
8111 * lib/gdb.exp (parse_args): New procedure.
8113 2014-04-23 Pedro Alves <palves@redhat.com>
8115 * gdb.base/break-unload-file.c: New file.
8116 * gdb.base/break-unload-file.exp: New file.
8117 * gdb.base/sym-file-lib.c (baz): New function.
8118 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8120 (load): Store the segment's mapped size.
8121 (unload): New function.
8122 (unload_shlib): New function.
8123 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8124 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8125 set a breakpoint at baz, and call it.
8126 * gdb.base/sym-file.exp: New tests for stale breakpoint
8129 2014-04-23 Pedro Alves <palves@redhat.com>
8131 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8132 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8133 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8134 * gdb.base/hbreak-unmapped.c: New file.
8135 * gdb.base/hbreak-unmapped.exp: New file.
8136 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8137 * lib/gdb.exp (gdb_is_target_remote): ... here.
8139 2014-04-22 Pedro Alves <palves@redhat.com>
8141 * gdb.base/consecutive-step-over.c: New file.
8142 * gdb.base/consecutive-step-over.exp: New file.
8144 2014-04-22 Pedro Alves <palves@redhat.com>
8146 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8147 instead of send_gdb/gdb_expect.
8149 2014-04-22 Yao Qi <yao@codesourcery.com>
8151 * lib/trace-support.exp (generate_tracefile): New procedure.
8152 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8154 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8155 if generate_tracefile returns 1.
8157 2014-04-18 Tom Tromey <palves@redhat.com>
8158 Pedro alves <tromey@redhat.com>
8161 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8162 with a backtrace limit.
8163 * gdb.python/py-frame-inline.exp: Test running to an inline
8164 function with a backtrace limit, and printing the newest frame.
8165 * gdb.python/py-frame-inline.c (main): Call f.
8167 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8169 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8171 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8173 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8174 Drop prefix from unsupported source file path.
8176 2014-04-17 Yao Qi <yao@codesourcery.com>
8178 * lib/gdb.exp (with_target_charset): New proc.
8179 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8180 with_target_charset.
8181 (test_print_strings): Likewise.
8182 (test_repeat_bytes): Likewise.
8183 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8186 2014-04-16 Keith Seitz <keiths@redhat.com>
8189 * gdb.dwarf2/corrupt.c: New file.
8190 * gdb.dwarf2/corrupt.exp: New file.
8192 2014-04-16 Keith Seitz <keiths@redhat.com>
8195 * gdb.cp/namelessclass.cc: New file.
8196 * gdb.cp/namelessclass.exp: New file.
8197 * gdb.cp/namelessclass.S: New file.
8199 2014-04-16 Doug Evans <dje@google.com>
8201 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8203 (gdbserver_default_get_comm_port): New function.
8204 (gdbserver_start): Check if board file provided
8205 "gdbserver,get_comm_port" and use it if so.
8206 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8207 (gdb,socketport): Set to "stdio".
8208 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8209 (stdio_gdbserver_template): Delete.
8210 (${board}_get_remote_address): Update.
8211 (${board}_build_remote_cmd): Delete.
8212 (${board}_get_comm_port): New function.
8213 (${board}_spawn): Update.
8214 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8216 (${board}_get_remote_address): Update.
8217 (${board}_get_comm_port): New function.
8219 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8221 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8222 appearing in any order.
8224 2014-04-15 Doug Evans <dje@google.com>
8226 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8227 uninitialized value of "description".
8229 2014-04-15 Keith Seitz <keiths@redhat.com>
8231 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8232 Remove unused globals.
8233 (test_running_the_program): Likewise.
8234 (test_controlled_execution): Likewise.
8235 (test_controlling_breakpoints): Likewise.
8236 (test_program_termination): Likewise.
8238 2014-04-15 Keith Seitz <keiths@redhat.com>
8240 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8242 (test_rbreak_creation_and_listing): Likewise.
8243 (test_ignore_count): Likewise.
8244 (test_error): Likewise.
8246 2014-04-15 Pedro Alves <palves@redhat.com>
8248 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8249 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8251 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8252 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8253 to sym-file-loader.c.
8254 (struct library): Forward declare.
8255 (load_shlib, lookup_function): Change prototypes.
8256 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8257 (translate_offset): Remove declarations.
8258 (get_text_addr): New declaration.
8259 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8260 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8262 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8263 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8264 here from sym-file-loader.h.
8265 (struct library): New structure.
8266 (load_shlib, lookup_function): Change prototypes and adjust to
8267 work with a struct library.
8268 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8269 (translate_offset): Make static.
8270 (get_text_addr): New function.
8271 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8273 2014-04-15 Pedro Alves <palves@redhat.com>
8275 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8277 2014-04-15 Pedro Alves <palves@redhat.com>
8279 * gdb.base/sym-file-loader.c: Include <limits.h>.
8280 (SELF_LINK): New define.
8281 (get_origin): New function.
8282 (load_shlib): Use it.
8283 * gdb.base/sym-file.exp: Don't early return if the target is
8284 remote. Use runto_main, and issue fail is that fails. Use
8286 (shlib_name): Delete.
8287 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8289 2014-04-15 Pedro Alves <palves@redhat.com>
8291 * gdb.base/sym-file.exp: Remove regex characters from test
8292 message. Don't refer to breakpoint numbers in test messages.
8294 2014-04-14 Keith Seitz <keiths@redhat.com>
8297 * gdb.cp/var-tag.cc: New file.
8298 * gdb.cp/var-tag.exp: New file.
8299 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8300 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8301 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8302 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8304 2014-04-14 Tom Tromey <tromey@redhat.com>
8306 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8307 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8309 * gdb.cp/enum-class.exp: New file.
8310 * gdb.cp/enum-class.cc: New file.
8312 2014-04-14 Tom Tromey <tromey@redhat.com>
8314 * gdb.dwarf2/enum-type.exp: New file.
8316 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8318 * gdb.mi/mi-vla-c99.exp: New file.
8319 * gdb.mi/vla.c: New file.
8321 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8323 * gdb.base/vla-datatypes.c: New file.
8324 * gdb.base/vla-datatypes.exp: New file.
8326 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8328 * gdb.base/vla-ptr.c: New file.
8329 * gdb.base/vla-ptr.exp: New file.
8331 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8333 * gdb.dwarf2/count.exp: New file.
8335 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8337 * gdb.base/vla-sideeffect.c: New file.
8338 * gdb.base/vla-sideeffect.exp: New file.
8340 2014-04-14 David Blaikie <dblaikie@gmail.com>
8342 * gdb.mi/non-stop.c: Add return value for non-void function return
8344 * gdb.threads/staticthreads.c: Ditto.
8346 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8347 Doug Evans <xdje42@gmail.com>
8349 * gdb.guile/scm-value.c: Improve test case.
8350 * gdb.guile/scm-value.exp: Add new test.
8352 2014-04-11 David Blaikie <dblaikie@gmail.com>
8354 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8355 override Clang's default.
8357 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8359 Revert the following changes (regressions):
8361 * gdb.base/vla-sideeffect.c: New file.
8362 * gdb.base/vla-sideeffect.exp: New file.
8364 * gdb.dwarf2/count.exp: New file.
8366 * gdb.base/vla-multi.c: New file.
8367 * gdb.base/vla-multi.exp: New file.
8369 * gdb.base/vla-ptr.c: New file.
8370 * gdb.base/vla-ptr.exp: New file.
8372 * gdb.base/vla-datatypes.c: New file.
8373 * gdb.base/vla-datatypes.exp: New file.
8375 * gdb.mi/mi-vla-c99.exp: New file.
8376 * gdb.mi/vla.c: New file.
8378 2014-04-11 Keith Seitz <keiths@redhat.com>
8381 * gdb.cp/cpsizeof.exp: New file.
8382 * gdb.cp/cpsizeof.cc: New file.
8384 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8386 * gdb.mi/mi-vla-c99.exp: New file.
8387 * gdb.mi/vla.c: New file.
8389 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8391 * gdb.base/vla-datatypes.c: New file.
8392 * gdb.base/vla-datatypes.exp: New file.
8394 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8396 * gdb.base/vla-ptr.c: New file.
8397 * gdb.base/vla-ptr.exp: New file.
8399 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8401 * gdb.base/vla-multi.c: New file.
8402 * gdb.base/vla-multi.exp: New file.
8404 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8406 * gdb.dwarf2/count.exp: New file.
8408 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8410 * gdb.base/vla-sideeffect.c: New file.
8411 * gdb.base/vla-sideeffect.exp: New file.
8413 2014-04-11 Yao Qi <yao@codesourcery.com>
8415 * gdb.base/completion.exp: Check file exists before running tests
8418 2014-04-10 Pedro Alves <palves@redhat.com>
8420 * gdb.base/cond-eval-mode.c: New file.
8421 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8422 prepare_for_testing to build the new file. Check result of
8424 (test_break, test_watch): New procedures.
8425 (top level): Use them.
8427 2014-04-08 Pierre Muller <muller@sourceware.org>
8429 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8430 Ctrl-V use for mingw hosts.
8432 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8434 * gdb.python/py-value.c: Improve test case.
8435 * gdb.python/py-value.exp: Add new test.
8437 2014-04-07 David Blaikie <dblaikie@gmail.com>
8439 * lib/compiler.c: Identify the clang compiler.
8440 * lib/compiler.cc: Ditto.
8442 2014-04-03 Yao Qi <yao@codesourcery.com>
8444 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8446 2014-04-01 Anton Blanchard <anton@samba.org>
8448 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8451 2014-04-01 Anton Blanchard <anton@samba.org>
8453 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8454 prepare_for_testing.
8456 2014-04-01 Anton Blanchard <anton@samba.org>
8458 * gdb.arch/ppc64-atomic-inst.c: Remove.
8459 * gdb.arch/ppc64-atomic-inst.S: New file.
8460 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8462 2014-03-31 Doug Evans <dje@google.com>
8464 * gdb.base/print-symbol-loading-lib.c: New file.
8465 * gdb.base/print-symbol-loading-main.c: New file.
8466 * gdb.base/print-symbol-loading.exp: New file.
8468 2014-03-31 Yao Qi <yao@codesourcery.com>
8470 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8472 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8474 * gdb.ada/mi_dyn_arr: New testcase.
8476 2014-03-27 Doug Evans <dje@google.com>
8478 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8480 2014-03-27 Yao Qi <yao@codesourcery.com>
8482 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8483 if target is nios2-*-*.
8485 2014-03-26 Yao Qi <yao@codesourcery.com>
8487 * lib/gdb.exp (readline_is_used): New proc.
8488 * gdb.base/completion.exp: Move tests on command complete up.
8489 Skip the rest of tests if readline is not used.
8490 * gdb.ada/complete.exp: Skp the test if readline is not
8492 * gdb.base/filesym.exp: Likewise.
8493 * gdb.base/macscp.exp: Likewise.
8494 * gdb.base/readline-ask.exp: Likewise.
8495 * gdb.base/readline.exp: Likewise.
8496 * gdb.python/py-cmd.exp: Likewise.
8497 * gdb.trace/tfile.exp: Likewise.
8499 2014-03-26 Yao Qi <yao@codesourcery.com>
8501 * gdb.base/macscp.exp: Fix code format issues.
8503 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8505 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8506 * gdb.asm/powerpc64le.inc: New file.
8508 2014-03-25 Pedro Alves <palves@redhat.com>
8509 Doug Evans <dje@google.com>
8511 * gdb.base/source-execution.c: New file.
8512 * gdb.base/source-execution.exp: New file.
8513 * gdb.base/source-execution.gdb: New file.
8515 2014-03-24 Doug Evans <dje@google.com>
8517 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8520 2014-03-24 Hui Zhu <hui@codesourcery.com>
8521 Pedro Alves <palves@redhat.com>
8523 PR breakpoints/16101
8524 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8525 test pass/fail messages. Detect missing support for dprintf when
8526 breakpoints are actually inserted.
8527 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8528 breakpoints are actually inserted.
8529 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8532 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8534 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8536 2014-03-22 Doug Evans <xdje42@gmail.com>
8538 * gdb.python/python.exp (python not supported): Verify multi-line
8539 python command issues an error.
8540 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8541 guile command issues an error.
8543 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8545 * gdb.threads/thread-specific.exp: Handle the lack of usable
8546 $this_breakpoint and $this_thread.
8548 2014-03-21 Hui Zhu <hui@codesourcery.com>
8550 * gdb.base/attach.exp (do_command_attach_tests): New.
8552 2014-03-20 Tom Tromey <tromey@redhat.com>
8553 Pedro Alves <palves@redhat.com>
8556 * gdb.base/condbreak-call-false.c: New file.
8557 * gdb.base/condbreak-call-false.exp: New file.
8559 2014-03-20 Pedro Alves <palves@redhat.com>
8561 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8563 (block_signals, unblock_signals): Delete.
8564 (child_function_2, main): Remove references to deleted variable
8567 2014-03-20 Pedro Alves <palves@redhat.com>
8569 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8570 Use pthread_kill to signal thread 2.
8571 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8572 Adjust to make the test send itself a signal rather than using the
8573 host's "kill" command.
8575 2014-03-20 Pedro Alves <palves@redhat.com>
8577 * gdb.threads/multiple-step-overs.c: New file.
8578 * gdb.threads/multiple-step-overs.exp: New file.
8579 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8580 Adjust expected infrun debug output.
8582 2014-03-20 Pedro Alves <palves@redhat.com>
8584 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8585 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8587 2014-03-20 Pedro Alves <palves@redhat.com>
8590 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8591 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8592 of gdb_test_multiple.
8593 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8594 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8596 2014-03-20 Pedro Alves <palves@redhat.com>
8598 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8599 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8601 2014-03-19 Pedro Alves <palves@redhat.com>
8603 * gdb.base/async.exp: Remove early return.
8605 2014-03-19 Pedro Alves <palves@redhat.com>
8607 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8609 2014-03-19 Pedro Alves <palves@redhat.com>
8611 * gdb.base/async.exp (test_background): Expect \r\n after
8612 "completed." in the fail pattern.
8614 2014-03-19 Pedro Alves <palves@redhat.com>
8616 * gdb.base/async.exp (test_background): New procedure.
8617 Use it for all background execution command tests.
8619 2014-03-19 Pedro Alves <palves@redhat.com>
8621 * gdb.base/async.exp: Use prepare_for_testing.
8623 2014-03-19 Pedro Alves <palves@redhat.com>
8625 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8628 2014-03-19 Pedro Alves <palves@redhat.com>
8630 * gdb.base/async.c (main): Add "jump here" and "until here" line
8632 * gdb.base/async.exp (jump_here): New global.
8633 (jump& test): Use it.
8634 (until_here): New global.
8635 (until& test): Use it.
8637 2014-03-19 Pedro Alves <palves@redhat.com>
8639 * gdb.base/async.exp: Don't frob gdb_protocol.
8641 2014-03-18 Doug Evans <xdje42@gmail.com>
8643 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8644 Fix spelling of exec-done-display.
8646 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8649 * gdb.base/gdb-sigterm.c: New file.
8650 * gdb.base/gdb-sigterm.exp: New file.
8652 2014-03-18 Pedro Alves <palves@redhat.com>
8655 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8656 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8659 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8661 * gdb.ada/pckd_arr_ren: New testcase.
8663 2014-03-13 Doug Evans <xdje42@gmail.com>
8666 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8667 collect after discarding symbols.
8669 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8670 Doug Evans <xdje42@gmail.com>
8672 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8673 to history survives a gc.
8675 2014-03-13 Pedro Alves <palves@redhat.com>
8677 * gdb.base/default.exp: Don't test "target procfs".
8679 2014-03-13 Pedro Alves <palves@redhat.com>
8681 * gdb.base/default.exp: Update "target child" and "target procfs"
8682 tests to not expect "Unix".
8684 2014-03-12 Tom Tromey <tromey@redhat.com>
8686 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8687 New procs. Add target-async tests.
8688 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8689 Add target-async tests.
8691 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8693 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8694 'func_start' and 'func_end' for the beginning and end of the
8695 function code, respectively.
8696 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8697 'func_end' instead of 'func' and 'main'.
8699 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8701 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8702 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8703 generate the debug info assembler source.
8705 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8707 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8708 * gdb.dwarf2/arr-subrange.exp: Likewise.
8709 * gdb.dwarf2/dwz.exp: Likewise.
8710 * gdb.dwarf2/method-ptr.exp: Likewise.
8711 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8712 * gdb.dwarf2/subrange.exp: Likewise.
8713 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8714 * gdb.dwarf2/implptrpiece.exp: Likewise.
8715 * gdb.dwarf2/nostaticblock.exp: Likewise.
8717 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8720 directory to absolute path name arguments.
8722 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8724 * gdb.ada/tagged_access: New testcase.
8726 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8728 * gdb.btrace/data.exp: Update expected output.
8730 2014-03-06 Yao Qi <yao@codesourcery.com>
8732 * gdb.trace/pr16508.exp: New file.
8734 2014-03-05 Pedro Alves <palves@redhat.com>
8737 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8739 (top level): Adjust to use it. Add tests that exercise breakpoint
8740 interaction with the code-cache.
8742 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8744 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8745 test for 'history-append!'.
8747 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8749 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8750 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8751 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8752 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8753 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8754 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8756 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8758 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8759 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8760 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8762 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8764 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8766 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8768 * gdb.dwarf2/arr-stride.c: New file.
8769 * gdb.dwarf2/arr-stride.exp: New file.
8771 2014-02-26 Pedro Alves <palves@redhat.com>
8773 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8774 that won't ever trigger. Make sure that GDB reports the correct
8775 breakpoint that caused the stop.
8777 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8780 * gdb.base/auto-load-script: New file.
8781 * gdb.base/auto-load.c: New file.
8782 * gdb.base/auto-load.exp: New file.
8785 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8787 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8789 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8790 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8792 2014-02-24 Doug Evans <dje@google.com>
8794 * lib/gdb.exp (run_on_host): Log error output if program fails.
8796 2014-02-21 Pedro Alves <palves@redhat.com>
8798 * gdb.threads/step-after-sr-lock.c: Rename to ...
8799 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8800 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8801 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8804 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8807 * gdb.arch/amd64-stap-special-operands.exp: New file.
8808 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8809 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8810 * gdb.arch/amd64-stap-triplet.S: Likewise.
8811 * gdb.arch/amd64-stap-triplet.c: Likewise.
8813 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8815 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8816 in .section pseudo-op.
8818 2014-02-20 lin zuojian <manjian2006@gmail.com>
8819 Joel Brobecker <brobecker@adacore.com>
8820 Doug Evans <xdje42@gmail.com>
8823 * gdb.dwarf2/dw2-icycle.S: New file.
8824 * gdb.dwarf2/dw2-icycle.c: New file.
8825 * gdb.dwarf2/dw2-icycle.exp: New file.
8827 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8829 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8830 operations on gdb.Value objects.
8831 * gdb.python/py-value-cc.exp: Add new test to test operations on
8834 2014-02-18 Doug Evans <dje@google.com>
8836 * Makefile.in (TESTS): New variable.
8837 (expanded_tests, expanded_tests_or_none): New variables
8838 (check-single): Pass $(expanded_tests_or_none) to runtest.
8839 (check-parallel): Only run tests in $(TESTS) if non-empty.
8840 (check/no-matching-tests-found): New rule.
8841 * README: Document TESTS makefile variable.
8843 2014-02-18 Doug Evans <dje@google.com>
8845 * Makefile.in (check-parallel): rm -rf outputs temp.
8847 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8849 Fix "ERROR: no fileid for" in the testsuite.
8850 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8852 2014-02-12 Doug Evans <dje@google.com>
8854 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8855 (MISCELLANEOUS): New variable.
8856 (clean): rm -rf $(MISCELLANEOUS).
8857 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8858 dwp live in the same directory as symlinks, with each symlink pointed
8859 to a differently named file in a different directory.
8861 2014-02-11 Doug Evans <dje@google.com>
8863 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8864 of Tcl file commands.
8866 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8868 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8871 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8873 * gdb.ada/tick_length_array_enum_idx: New testcase.
8875 2014-02-10 Doug Evans <xdje42@gmail.com>
8877 * configure.ac (AC_OUTPUT): Add gdb.guile.
8878 * configure: Regenerate.
8879 * lib/gdb-guile.exp: New file.
8880 * lib/gdb.exp (get_target_charset): New function.
8881 * gdb.base/help.exp: Update expected output from "apropos apropos".
8882 * gdb.guile/Makefile.in: New file.
8883 * gdb.guile/guile.exp: New file.
8884 * gdb.guile/scm-arch.c: New file.
8885 * gdb.guile/scm-arch.exp: New file.
8886 * gdb.guile/scm-block.c: New file.
8887 * gdb.guile/scm-block.exp: New file.
8888 * gdb.guile/scm-breakpoint.c: New file.
8889 * gdb.guile/scm-breakpoint.exp: New file.
8890 * gdb.guile/scm-disasm.c: New file.
8891 * gdb.guile/scm-disasm.exp: New file.
8892 * gdb.guile/scm-equal.c: New file.
8893 * gdb.guile/scm-equal.exp: New file.
8894 * gdb.guile/scm-error.exp: New file.
8895 * gdb.guile/scm-error.scm: New file.
8896 * gdb.guile/scm-frame-args.c: New file.
8897 * gdb.guile/scm-frame-args.exp: New file.
8898 * gdb.guile/scm-frame-args.scm: New file.
8899 * gdb.guile/scm-frame-inline.c: New file.
8900 * gdb.guile/scm-frame-inline.exp: New file.
8901 * gdb.guile/scm-frame.c: New file.
8902 * gdb.guile/scm-frame.exp: New file.
8903 * gdb.guile/scm-generics.exp: New file.
8904 * gdb.guile/scm-gsmob.exp: New file.
8905 * gdb.guile/scm-iterator.c: New file.
8906 * gdb.guile/scm-iterator.exp: New file.
8907 * gdb.guile/scm-math.c: New file.
8908 * gdb.guile/scm-math.exp: New file.
8909 * gdb.guile/scm-objfile-script-gdb.in: New file.
8910 * gdb.guile/scm-objfile-script.c: New file.
8911 * gdb.guile/scm-objfile-script.exp: New file.
8912 * gdb.guile/scm-objfile.c: New file.
8913 * gdb.guile/scm-objfile.exp: New file.
8914 * gdb.guile/scm-ports.exp: New file.
8915 * gdb.guile/scm-pretty-print.c: New file.
8916 * gdb.guile/scm-pretty-print.exp: New file.
8917 * gdb.guile/scm-pretty-print.scm: New file.
8918 * gdb.guile/scm-section-script.c: New file.
8919 * gdb.guile/scm-section-script.exp: New file.
8920 * gdb.guile/scm-section-script.scm: New file.
8921 * gdb.guile/scm-symbol.c: New file.
8922 * gdb.guile/scm-symbol.exp: New file.
8923 * gdb.guile/scm-symtab-2.c: New file.
8924 * gdb.guile/scm-symtab.c: New file.
8925 * gdb.guile/scm-symtab.exp: New file.
8926 * gdb.guile/scm-type.c: New file.
8927 * gdb.guile/scm-type.exp: New file.
8928 * gdb.guile/scm-value-cc.cc: New file.
8929 * gdb.guile/scm-value-cc.exp: New file.
8930 * gdb.guile/scm-value.c: New file.
8931 * gdb.guile/scm-value.exp: New file.
8932 * gdb.guile/source2.scm: New file.
8933 * gdb.guile/types-module.cc: New file.
8934 * gdb.guile/types-module.exp: New file.
8936 2014-02-10 Yao Qi <yao@codesourcery.com>
8939 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8940 * configure: Regenerated.
8941 * Makefile.in: New file.
8943 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8945 * gdb.python/py-framefilter.exp: Fix typo.
8947 2014-02-08 Yao Qi <yao@codesourcery.com>
8949 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8950 that no =breakpoint-modified is emitted when breakpoints are
8951 modified through MI commands.
8953 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8954 Pedro Alves <palves@redhat.com>
8956 * gdb.threads/step-after-sr-lock.c: New file.
8957 * gdb.threads/step-after-sr-lock.exp: New file.
8959 2014-02-07 Pedro Alves <palves@redhat.com>
8961 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8963 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8965 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8966 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8968 2014-02-06 Doug Evans <xdje42@gmail.com>
8970 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8973 * gdb.gdb/python-interrupts.exp: New file.
8975 2014-02-05 Yao Qi <yao@codesourcery.com>
8977 * gdb.trace/report.exp (use_collected_data): Test the output
8978 of "info threads" and "info inferiors".
8980 2014-02-05 Yao Qi <yao@codesourcery.com>
8984 2013-05-24 Yao Qi <yao@codesourcery.com>
8986 * gdb.trace/tfile.exp: Test inferior and thread.
8988 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8990 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8992 * gdb.base/step-bt.c: Call hello via function pointer to make
8993 sure its first instruction is executed on powerpc64le-linux.
8995 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8997 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8999 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9001 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9002 of the test patterns for use on little-endian systems.
9004 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9006 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9007 (decimal_vector): Fix for little-endian.
9009 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9011 * gdb.arch/sparc-sysstep.exp: New file.
9012 * gdb.arch/sparc-sysstep.c: Likewise.
9014 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9016 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9018 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9020 2014-01-23 Tom Tromey <tromey@redhat.com>
9022 * gdb.ada/array_char_idx: New testcase.
9024 2014-01-23 Tom Tromey <tromey@redhat.com>
9027 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9028 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9031 2014-01-23 Tom Tromey <tromey@redhat.com>
9034 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9035 string from an inferior frame.
9036 * gdb.python/py-framefilter-mi.exp: Update.
9038 2014-01-22 Doug Evans <dje@google.com>
9040 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9042 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9044 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9046 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9048 * gdb.trace/entry-values.exp: Remove excess space character from
9049 regex patterns. Handle s390 call instruction.
9051 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9053 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9054 define "*_start" label. Make "name" static.
9055 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9056 ${name} by references to ${name}_start.
9058 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9060 * gdb.base/info-macros.exp: Remove "debug" from the compile
9063 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9065 * gdb.dlang/demangle.exp: New file.
9067 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9069 * gdb.dlang/primitive-types.exp: New file.
9071 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9073 * configure.ac: Create gdb.dlang/Makefile.
9074 * configure: Regenerate.
9075 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9076 * gdb.dlang/Makefile.in: New file.
9077 * lib/d-support.exp: New file.
9078 * lib/gdb.exp (skip_d_tests): New proc.
9080 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9082 * gdb.btrace/delta.exp: Check reverse stepi.
9083 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9084 * gdb.btrace/finish.exp: New.
9085 * gdb.btrace/next.exp: New.
9086 * gdb.btrace/nexti.exp: New.
9087 * gdb.btrace/record_goto.c: Add comments.
9088 * gdb.btrace/step.exp: New.
9089 * gdb.btrace/stepi.exp: New.
9090 * gdb.btrace/multi-thread-step.c: New.
9091 * gdb.btrace/multi-thread-step.exp: New.
9092 * gdb.btrace/rn-dl-bind.c: New.
9093 * gdb.btrace/rn-dl-bind.exp: New.
9094 * gdb.btrace/data.c: New.
9095 * gdb.btrace/data.exp: New.
9096 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9100 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9101 * gdb.btrace/exception.exp: Update.
9102 * gdb.btrace/instruction_history.exp: Update.
9103 * gdb.btrace/record_goto.exp: Update.
9104 * gdb.btrace/tailcall.exp: Update.
9105 * gdb.btrace/unknown_functions.exp: Update.
9106 * gdb.btrace/delta.exp: New.
9108 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9110 * gdb.btrace/record_goto.exp: Add backtrace test.
9111 * gdb.btrace/tailcall.exp: Add backtrace test.
9113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9115 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9116 * gdb.btrace/record_goto.c: New.
9117 * gdb.btrace/record_goto.exp: New.
9118 * gdb.btrace/x86-record_goto.S: New.
9120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9122 * gdb.btrace/function_call_history.exp: Update tests.
9123 * gdb.btrace/instruction_history.exp: Update tests.
9125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9127 * gdb.btrace/function_call_history.exp: Fix expected field
9128 order for "record function-call-history".
9129 Add new tests for "record function-call-history /c".
9130 * gdb.btrace/exception.cc: New.
9131 * gdb.btrace/exception.exp: New.
9132 * gdb.btrace/tailcall.exp: New.
9133 * gdb.btrace/x86-tailcall.S: New.
9134 * gdb.btrace/x86-tailcall.c: New.
9135 * gdb.btrace/unknown_functions.c: New.
9136 * gdb.btrace/unknown_functions.exp: New.
9137 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9141 * gdb.btrace/instruction_history.exp: Update.
9142 * gdb.btrace/function_call_history.exp: Update.
9144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9146 * gdb.btrace/function_call_history.exp: Fix expected function
9148 * gdb.btrace/instruction_history.exp: Initialize traced.
9149 Remove traced_functions.
9151 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9153 * gdb.btrace/function_call_history.exp: Update
9154 * gdb.btrace/instruction_history.exp: Update.
9156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9158 * gdb.btrace/enable.exp: Update expected text.
9160 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9162 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9165 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9167 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9169 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
9171 * lib/gdb.exp (supports_process_record): Return true for
9172 arm*-linux*. (supports_reverse): Likewise.
9174 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9178 * gdb.python/py-type.c: Enhance test case.
9179 * gdb.python/py-value-cc.cc: Likewise
9180 * gdb.python/py-type.exp: Add new tests.
9181 * gdb.python/py-value-cc.exp: Likewise
9183 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9184 Pedro Alves <palves@redhat.com>
9186 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9188 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9189 references to ${name}_start by references to ${name}.
9191 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9193 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9195 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9197 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9199 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9200 Pedro Alves <palves@redhat.com>
9202 * gdb.mi/mi-info-os.exp: Connect to the target with
9205 2014-01-08 Pedro Alves <palves@redhat.com>
9207 * gdb.threads/reconnect-signal.c: New file.
9208 * gdb.threads/reconnect-signal.exp: New file.
9210 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9212 * gdb.base/source-dir.exp: New file.
9214 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9216 * gdb.ada/mi_interface: New testcase.
9218 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9220 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9221 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9222 gdb.ada/pp-rec-component/pck.ads: New files.
9224 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9226 * gdb.python/py-pp-integral.c: New file.
9227 * gdb.python/py-pp-integral.py: New file.
9228 * gdb.python/py-pp-integral.exp: New file.
9230 For older changes see ChangeLog-1993-2013.
9236 ;; version-control: never
9239 Copyright 2014-2016 Free Software Foundation, Inc.
9240 Copying and distribution of this file, with or without modification,
9241 are permitted provided the copyright notice and this notice are preserved.