1 2016-03-01 Pedro Alves <palves@redhat.com>
3 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5 2016-03-01 Yao Qi <yao.qi@linaro.org>
7 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10 2016-03-01 Yao Qi <yao.qi@linaro.org>
12 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
17 manually constructing the output path.
19 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
21 * gdb.arch/s390-stackless.S: New.
22 * gdb.arch/s390-stackless.exp: New.
24 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
26 * gdb.dlang/circular.c: New file.
27 * gdb.dlang/circular.exp: New file.
29 2016-02-26 Yao Qi <yao.qi@linaro.org>
31 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
32 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
35 2016-02-26 Yao Qi <yao.qi@linaro.org>
37 * gdb.reverse/aarch64.c: Rename to ...
38 * gdb.reverse/insn-reverse.c: ... it.
39 * gdb.reverse/aarch64.exp: Rename to ...
40 * gdb.reverse/insn-reverse.exp: ... it.
42 2016-02-26 Yao Qi <yao.qi@linaro.org>
44 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
45 (testcase_ftype): New.
46 (testcases): New array.
48 (main): Call each element in testcases.
49 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
51 Do the tests in a loop.
53 2016-02-25 Yao Qi <yao.qi@linaro.org>
55 * gdb.base/branches.c: Remove.
57 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
60 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
62 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
64 * gdb.trace/ftrace.exp: Remove unnecessary target check.
66 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
68 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
69 change x86_64 call_insn to 'callq'.
71 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
73 * gdb.trace/tfile-avx.c: Move to...
74 * gdb.trace/tracefile-pseudo-reg.c: Here.
75 * gdb.trace/tfile-avx.exp: Move to...
76 * gdb.trace/tracefile-pseudo-reg.exp: Here.
78 2016-02-24 Gary Benson <gbenson@redhat.com>
80 * gdb.base/attach-pie-noexec.exp: Do not expect an error
83 2016-02-23 Doug Evans <dje@google.com>
85 * gdb.base/skip.c (test_skip): New function.
86 (end_test_skip_file_and_function): New function.
87 (test_skip_file_and_function): New function.
88 * gdb.base/skip1.c (test_skip): New function.
89 (skip1_test_skip_file_and_function): New function.
90 * gdb.base/skip.exp: Add tests for new skip options.
91 * gdb.base/skip-solib.exp: Update expected output.
92 * gdb.perf/skip-command.cc: New file.
93 * gdb.perf/skip-command.exp: New file.
94 * gdb.perf/skip-command.py: New file.
96 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
98 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
99 info registers pattern.
101 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
103 * lib/future.exp: Add D support.
104 (gdb_find_gdc): New proc.
105 (gdb_default_target_compile): Add D support.
107 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
109 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
111 (trace_speed_test): Determine the iteration count for a time
112 between 15..30 seconds.
114 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
116 * gdb.arch/i386-mpx-sigsegv.c: New file.
117 * gdb.arch/i386-mpx-sigsegv.exp: New file.
118 * gdb.arch/i386-mpx-simple_segv.c: New file.
119 * gdb.arch/i386-mpx-simple_segv.exp: New file.
121 2016-02-18 Yao Qi <yao.qi@linaro.org>
123 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
124 Don't call setup_kfail.
126 2016-02-18 Yao Qi <yao.qi@linaro.org>
128 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
129 Set "set breakpoint condition-evaluation" per $cond_bp_target.
131 2016-02-16 Doug Evans <dje@google.com>
133 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
134 * gdb.base/skip1.c: Ditto.
135 * gdb.base/skip.exp: Whitespace cleanup.
137 2016-02-16 Don Breazeal <donb@codesourcery.com>
140 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
141 Remove kfail for PR remote/19496.
143 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
145 * lib/gdb.exp (standard_temp_file): Return a path specific to
146 the runtest invocation.
148 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
150 * gdb.trace/save-trace.exp: Change relative path to be in the
151 standard output directory.
153 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
155 * gdb.arch/i386-prologue.c: Add missing prototypes.
157 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
159 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
160 * gdb.arch/i386-prologue.exp: Likewise.
161 * gdb.arch/i386-size.exp: Likewise.
163 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
165 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
166 define object file path.
167 * gdb.btrace/gcore.exp: Use standard_output_file to define core
169 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
170 standard_output_file to define binfile.
172 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
174 Fix compatibility with recent gfortran-5.3.1.
175 * gdb.fortran/vla-history.exp (print vla1 allocated)
176 (print vla2 allocated, print $2, print $3): Remove
177 (print $4): Rename to ...
178 (print $2): ... here.
179 (print $9): Rename to ...
180 (print $5): ... here.
181 (print $10): Rename to ...
182 (print $6): ... here.
183 * gdb.fortran/vla.f90: Add pvla initialization.
185 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
187 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
189 * gdb.fortran/vla-value-sub.exp: Likewise.
191 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
193 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
195 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
197 * i386-biarch-core.exp: Define corefile using
198 standard_output_file.
200 2016-02-12 Yao Qi <yao.qi@linaro.org>
202 * gdb.arch/arm-single-step-kernel-helper.c: New.
203 * gdb.arch/arm-single-step-kernel-helper.exp: New.
205 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
207 * gdb.btrace/tailcall-only.exp: New.
208 * gdb.btrace/tailcall-only.c: New.
209 * gdb.btrace/x86_64-tailcall-only.S: New.
210 * gdb.btrace/i686-tailcall-only.S: New.
212 2016-02-11 Pedro Alves <palves@redhat.com>
214 * README (Parallel testing): Add missing double quotes.
216 2016-02-11 Pedro Alves <palves@redhat.com>
218 * README (Parallel testing): New section.
219 (GDB_PARALLEL): Rewrite.
220 (FORCE_PARALLEL): Document.
222 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
224 * gdb.trace/tfile-avx.c: New test.
225 * gdb.trace/tfile-avx.exp: New test.
227 2016-02-09 Keith Seitz <keiths@redhat.com>
230 * gdb.base/infcall-exec.c: New file.
231 * gdb.base/infcall-exec2.c: New file.
232 * gdb.base/infcall-exec.exp: New file.
234 2016-02-09 Keith Seitz <keiths@redhat.com>
236 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
237 (toplevel): Call test_bkpt_address.
239 2016-02-09 Keith Seitz <keiths@redhat.com>
242 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
243 (toplevel): Call test_bkpt_address.
245 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
247 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
249 * configure: Regenerate.
251 2016-02-09 Pedro Alves <palves@redhat.com>
254 * gdb.base/execl-update-breakpoints.c (some_function): New
257 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
258 Tighten expected GDB output.
260 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
262 * Makefile.in (ALL_SUBDIRS): Remove.
263 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
264 (distclean maintainer-clean realclean): Likewise.
265 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
266 * configure: Regenerate.
267 * gdb.ada/Makefile.in: Delete.
268 * gdb.arch/Makefile.in: Likewise.
269 * gdb.asm/Makefile.in: Likewise.
270 * gdb.base/Makefile.in: Likewise.
271 * gdb.btrace/Makefile.in: Likewise.
272 * gdb.cell/Makefile.in: Likewise.
273 * gdb.compile/Makefile.in: Likewise.
274 * gdb.cp/Makefile.in: Likewise.
275 * gdb.disasm/Makefile.in: Likewise.
276 * gdb.dlang/Makefile.in: Likewise.
277 * gdb.dwarf2/Makefile.in: Likewise.
278 * gdb.fortran/Makefile.in: Likewise.
279 * gdb.gdb/Makefile.in: Likewise.
280 * gdb.go/Makefile.in: Likewise.
281 * gdb.guile/Makefile.in: Likewise.
282 * gdb.java/Makefile.in: Likewise.
283 * gdb.linespec/Makefile.in: Likewise.
284 * gdb.mi/Makefile.in: Likewise.
285 * gdb.modula2/Makefile.in: Likewise.
286 * gdb.multi/Makefile.in: Likewise.
287 * gdb.objc/Makefile.in: Likewise.
288 * gdb.opencl/Makefile.in: Likewise.
289 * gdb.opt/Makefile.in: Likewise.
290 * gdb.pascal/Makefile.in: Likewise.
291 * gdb.perf/Makefile.in: Likewise.
292 * gdb.python/Makefile.in: Likewise.
293 * gdb.reverse/Makefile.in: Likewise.
294 * gdb.server/Makefile.in: Likewise.
295 * gdb.stabs/Makefile.in: Likewise.
296 * gdb.threads/Makefile.in: Likewise.
297 * gdb.trace/Makefile.in: Likewise.
298 * gdb.xml/Makefile.in: Likewise.
299 * lib/gdb.exp (make_gdb_parallel_path): Add check for
301 (standard_output_file): Remove check for GDB_PARALLEL, always
302 return path in outputs/$subdir/$testname.
304 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
306 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
307 (site.exp): Assign abs_srcdir to tcl's srcdir.
309 2016-02-04 Yao Qi <yao.qi@linaro.org>
311 * gdb.base/foll-exec-mode.c: Include limits.h.
312 (main): Add parameters argc and argv. Get directory from
314 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
316 * gdb.base/foll-exec.c: Include limits.h.
317 (main): Add parameters argc and argv.
318 Get directory from argv[0].
319 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
320 Adjust tests on the number of lines as source code changed.
321 * gdb.base/foll-vfork-exit.c: Include limits.h.
322 (main): Add one line of statement before vfork.
323 * gdb.base/foll-vfork.c: Include limits.h and string.h.
324 (main): Add parameters argc and argv. Get directory from
326 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
327 (setup_gdb): Set tbreak to skip some source lines.
328 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
329 (main): Add parameters argc and argv. Get directory from
331 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
333 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
334 (main): Add parameters argc and argv. Get directory from
336 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
339 2016-02-01 Doug Evans <dje@google.com>
341 * gdb.base/skip.exp: Clean up multiple references to same test name.
343 2016-02-01 Pedro Alves <palves@redhat.com>
346 * gdb.threads/forking-threads-plus-breakpoint.exp
347 (displaced_stepping_supported): New global.
348 (probe_displaced_stepping_support): New procedure.
349 (do_test): Add 'displaced' parameter, and use it.
350 (top level): Check for displaced stepping support. Add displaced
351 stepping on/off testing axis.
353 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
355 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
356 pointer. Don't perform further tests on the unassociated pointer
357 if the first test fails.
359 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
361 * gdb.base/max-value-size.c: New file.
362 * gdb.base/max-value-size.exp: New file.
363 * gdb.base/huge.exp: Disable max-value-size for this test.
365 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
367 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
369 2016-01-28 Yao Qi <yao.qi@linaro.org>
371 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
373 2016-01-25 Pedro Alves <palves@redhat.com>
376 * gdb.base/fork-running-state.c: New file.
377 * gdb.base/fork-running-state.exp: New file.
379 2016-01-25 Pedro Alves <palves@redhat.com>
382 * gdb.base/catch-fork-kill.c: New file.
383 * gdb.base/catch-fork-kill.exp: New file.
385 2016-01-25 Pedro Alves <palves@redhat.com>
387 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
388 Delete, moved to lib/gdb.exp.
389 * gdb.threads/forking-threads-plus-breakpoint.exp
390 (foreach_with_prefix): Likewise.
391 * gdb.threads/process-dies-while-handling-bp.exp
392 (foreach_with_prefix): Likewise.
393 * lib/gdb.exp (foreach_with_prefix): New procedure.
395 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
397 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
398 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
400 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
402 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
405 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
406 Pedro Alves <palves@redhat.com>
408 Fix testsuite compatibility with Guile.
409 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
412 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
414 Fix testsuite compatibility with Guile.
415 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
416 (thread 1): New test for backtrace through signal handler.
418 2016-01-22 Yao Qi <yao.qi@linaro.org>
421 * gdb.base/multi-forks.c: Include
422 ../lib/unbuffer_output.c
423 (main): Call gdb_unbuffer_output.
425 2016-01-21 Doug Evans <dje@google.com>
427 * lib/ada.exp (gdb_compile_ada): Fix typo.
429 2016-01-21 Joel Brobecker <brobecker@adacore.com>
431 * gdb.base/break-fun-addr.exp: New file.
432 * gdb.base/break-fun-addr1.c: New file.
433 * gdb.base/break-fun-addr2.c: New file.
435 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
437 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
438 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
441 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
443 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
444 when GDB can not set the vector return value. Add more comments
447 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
449 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
452 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
454 * Makefile.in (DO_RUNTEST): Add --status and update usages.
456 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
458 * Makefile.in (check-single): Pass --status to runtest.
459 (check/%.exp): Likewise.
461 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
463 * Makefile.in (check-parallel): Propagate return code from make
466 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
468 * gdb.trace/ftrace.exp: Fix expected message on continue.
469 * gdb.trace/pending.exp: Fix expected message on continue.
470 * gdb.trace/trace-break.exp: Fix expected message on continue.
472 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
474 * lib/gdb.exp (gdb_test): Remove unused global references.
476 2016-01-18 Pedro Alves <palves@redhat.com>
478 * gdb.base/async-shell.exp: Adjust expected output.
479 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
480 * gdb.base/siginfo-thread.exp: Adjust expected output.
481 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
482 * gdb.java/jnpe.exp: Adjust expected output.
483 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
484 * gdb.threads/continue-pending-status.exp: Adjust expected output.
485 * gdb.threads/leader-exit.exp: Adjust expected output.
486 * gdb.threads/manythreads.exp: Adjust expected output.
487 * gdb.threads/pthreads.exp: Adjust expected output.
488 * gdb.threads/schedlock.exp: Adjust expected output.
489 * gdb.threads/siginfo-threads.exp: Adjust expected output.
490 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
492 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
494 * gdb.threads/sigthread.exp: Adjust expected output.
495 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
497 2016-01-18 Yao Qi <yao.qi@linaro.org>
499 * gdb.guile/scm-section-script.c: Replace @progbits with
501 * gdb.python/py-section-script.c: Likewise.
503 2016-01-15 Pedro Alves <palves@redhat.com>
505 * gdb.multi/tids.exp: Test star wildcard ranges.
507 2016-01-15 Pedro Alves <palves@redhat.com>
509 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
510 command from "thread apply" invocation.
511 (thr_apply_info_thr_invalid): Default the expected output to the
513 (top level): Add tests that use convenience variables. Add tests
514 for "thread apply" with a valid TID list, but missing the command.
516 2016-01-13 Pedro Alves <palves@redhat.com>
518 * gdb.base/default.exp: Expect $_gthread as well.
519 * gdb.multi/tids.exp: Test $_gthread.
520 * gdb.threads/thread-specific.exp: Test $_gthread.
522 2016-01-13 Pedro Alves <palves@redhat.com>
524 * gdb.multi/tids.exp: Test "info threads -gid".
526 2016-01-13 Pedro Alves <palves@redhat.com>
528 * gdb.multi/tids.exp: Test InferiorThread.global_num and
530 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
532 2016-01-07 Pedro Alves <palves@redhat.com>
534 * gdb.base/break.exp: Adjust to output changes.
535 * gdb.base/hbreak2.exp: Likewise.
536 * gdb.base/sepdebug.exp: Likewise.
537 * gdb.base/watch_thread_num.exp: Likewise.
538 * gdb.linespec/keywords.exp: Likewise.
539 * gdb.multi/info-threads.exp: Likewise.
540 * gdb.threads/thread-find.exp: Likewise.
541 * gdb.multi/tids.c: New file.
542 * gdb.multi/tids.exp: New file.
544 2016-01-13 Pedro Alves <palves@redhat.com>
546 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
548 2016-01-13 Pedro Alves <palves@redhat.com>
550 * gdb.base/default.exp: Expect $_inferior as well.
551 * gdb.multi/base.exp: Test $_inferior.
553 2016-01-13 Pedro Alves <palves@redhat.com>
556 * gdb.base/catch-signal-siginfo-cond.c: New file.
557 * gdb.base/catch-signal-siginfo-cond.exp: New file.
559 2016-01-12 Josh Stone <jistone@redhat.com>
560 Philippe Waroquiers <philippe.waroquiers@skynet.be>
562 * gdb.base/catch-syscall.c (do_execve): New variable.
563 (main): Conditionally trigger an execve.
564 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
565 (test_catch_syscall_execve): New, check entry/return across execve.
566 (do_syscall_tests): Call test_catch_syscall_execve.
568 2016-01-12 Pedro Alves <palves@redhat.com>
570 * gdb.base/random-signal.exp (do_test): New procedure, with body
571 of testcase moved in.
573 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
574 Pedro Alves <palves@redhat.com>
576 * gdb.base/funcargs.exp (finish from indirectly called function):
577 Reintroduce the case for 'First'.
579 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
580 Pedro Alves <palves@redhat.com>
582 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
583 (tcatch_vfork_then_child_follow_exec)
584 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
587 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
589 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
590 and repeats to unlimited.
591 * gdb.python/py-value.exp: Likewise.
592 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
593 and repeats to unlimited.
595 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
597 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
598 and reordering the functions.
599 * gdb.multi/hangout.c: Likewise.
600 * gdb.multi/hello.c: Likewise.
602 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
604 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
606 (SingleStatisticTestResult.report): Use dict.keys instead of
609 2016-01-06 Pedro Alves <palves@redhat.com>
611 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
613 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
615 * gdb.btrace/dlopen.exp: New.
616 * gdb.btrace/dlopen.c: New.
617 * gdb.btrace/dlopen-dso.c: New.
619 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
621 * lib/gdb.exp (gdb_test): Update comments to clarify that the
622 PATTERN argument is optional.
624 2015-12-24 Joel Brobecker <brobecker@adacore.com>
626 * lib/ada.exp (target_compile_ada_from_dir): New function.
627 (gdb_compile_ada): Reimplement avoiding the use of project files.
628 * gdb.ada/gnat_ada.gpr: Delete.
629 * gdb.ada/cond_lang.exp: Adjust test to make path before
631 * gdb.ada/small_reg_param.exp: Likewise.
633 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
635 * gdb.base/foll-vork.exp: Remove HP-UX special case.
637 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
639 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
642 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
644 * gdb.base/break.exp: Remove dead code.
645 * gdb.base/sepdebug.exp: Likewise.
647 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
649 * gdb.asm/asm-source.exp: Remove HP-UX references.
650 * gdb.base/annota1.exp: Likewise.
651 * gdb.base/annota3.exp: Likewise.
652 * gdb.base/attach.exp: Likewise.
653 * gdb.base/bigcore.exp: Likewise.
654 * gdb.base/break.exp: Likewise.
655 * gdb.base/call-ar-st.exp: Likewise.
656 * gdb.base/callfuncs.exp: Likewise.
657 * gdb.base/catch-fork-static.exp: Likewise.
658 * gdb.base/display.exp: Likewise.
659 * gdb.base/foll-exec-mode.exp: Likewise.
660 * gdb.base/foll-exec.exp: Likewise.
661 * gdb.base/foll-fork.exp: Likewise.
662 * gdb.base/foll-vfork.exp: Likewise.
663 * gdb.base/funcargs.exp: Likewise.
664 * gdb.base/hbreak2.exp: Likewise.
665 * gdb.base/inferior-died.exp: Likewise.
666 * gdb.base/interrupt.exp: Likewise.
667 * gdb.base/multi-forks.exp: Likewise.
668 * gdb.base/nodebug.exp: Likewise.
669 * gdb.base/sepdebug.exp: Likewise.
670 * gdb.base/solib1.c: Likewise.
671 * gdb.base/step-test.exp: Likewise.
672 * gdb.mi/non-stop.c: Likewise.
673 * gdb.mi/pthreads.c: Likewise.
674 * gdb.multi/bkpt-multi-exec.ex: Likewise.
675 * gdb.threads/pthreads.c: Likewise.
676 * gdb.threads/staticthreads.exp: Likewise.
677 * lib/future.exp: Likewise.
678 * lib/gdb.exp: Likewise.
679 * gdb.base/so-indr-cl.c: Remove.
680 * gdb.base/so-indr-cl.exp: Likewise.
681 * gdb.base/solib.c: Likewise.
682 * gdb.base/solib.exp: Likewise.
683 * gdb.base/solib2.c: Likewise.
685 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
687 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
688 * gdb.base/call-ar-st.exp: Likewise.
689 * gdb.base/callfuncs.exp: Likewise.
690 * gdb.base/condbreak.exp: Likewise.
691 * gdb.base/constvars.exp: Likewise.
692 * gdb.base/hbreak2.exp: Likewise.
693 * gdb.base/langs.exp: Likewise.
694 * gdb.base/list.exp: Likewise.
695 * gdb.base/long_long.exp: Likewise.
696 * gdb.base/ptype.exp: Likewise.
697 * gdb.base/scope.exp: Likewise.
698 * gdb.base/signals.exp: Likewise.
699 * gdb.base/so-impl-ld.exp: Likewise.
700 * gdb.base/varargs.exp: Likewise.
701 * gdb.base/volatile.exp: Likewise.
702 * gdb.base/whatis.exp: Likewise.
703 * gdb.cp/cplusfuncs.exp: Likewise.
704 * gdb.cp/inherit.exp: Likewise.
705 * gdb.cp/local.exp: Likewise.
706 * gdb.cp/member-ptr.exp: Likewise.
707 * gdb.cp/method.exp: Likewise.
708 * gdb.cp/overload.exp: Likewise.
709 * gdb.cp/templates.exp: Likewise.
710 * gdb.stabs/weird.exp: Likewise.
711 * lib/compiler.c: Likewise.
712 * lib/compiler.cc: Likewise.
713 * lib/cp-support.exp: Likewise.
714 * lib/gdb.exp: Likewise.
716 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
718 * configure.ac: Remove HP-UX case.
719 * configure: Regenerate.
721 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
723 * lib/gdb.exp (gdb_compile): Add function doc.
725 2015-12-17 Pedro Alves <palves@redhat.com>
728 * gdb.multi/info-threads.exp: New file.
730 2015-12-15 Yao Qi <yao.qi@linaro.org>
732 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
735 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
737 * gdb.base/history-duplicates.exp: Skip if no readline support.
739 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
741 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
743 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
745 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
747 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
749 * gdb.base/completion.exp: Skip tests that interrupt GDB with
750 ctrl-C if nointerrupts target property is set.
751 * gdb.base/double-prompt-target-event-error.exp: Likewise.
752 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
753 * gdb.base/paginate-bg-execution.exp: Likewise.
754 * gdb.base/paginate-execution-startup.exp: Likewise.
755 * gdb.base/random-signal.exp: Likewise.
756 * gdb.base/range-stepping.exp: Likewise.
757 * gdb.cp/annota2.exp: Likewise.
758 * gdb.cp/annota3.exp: Likewise.
759 * gdb.gdb/selftest.exp: Likewise.
760 * gdb.threads/continue-pending-status.exp: Likewise.
761 * gdb.threads/leader-exit.exp: Likewise.
762 * gdb.threads/manythreads.exp: Likewise.
763 * gdb.threads/pthreads.exp: Likewise.
764 * gdb.threads/schedlock.exp: Likewise.
765 * gdb.threads/sigthread.exp: Likewise.
767 2015-12-11 Don Breazeal <donb@codesourcery.com>
769 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
771 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
772 * gdb.base/foll-exec.exp (main): Enable for target remote.
773 * gdb.base/foll-fork.exp (main): Likewise.
774 * gdb.base/foll-vfork.exp (main): Likewise.
775 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
776 (proc continue_to_exit_bp_loc): Use clean_restart.
777 * gdb.base/pie-execl.exp (main): Disable for target remote.
778 * gdb.base/watch-vfork.exp (main): Enable for target remote.
779 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
780 * gdb.threads/execl.exp (main): Likewise.
781 * gdb.threads/fork-child-threads.exp (main): Likewise.
782 * gdb.threads/fork-plus-threads.exp (main): Disable for target
784 * gdb.threads/fork-thread-pending.exp (main): Enable for target
786 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
787 pid.tid style ptids, instead of just tid.
788 * gdb.threads/thread-execl.exp (main): Enable for target remote.
789 * gdb.threads/watchpoint-fork.exp (main): Likewise.
790 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
791 ptids, instead of just tid.
793 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
795 * gdb.base/list.exp (test_list_forward): Add end of file error
797 (test_repeat_list_command): Add end of file error test.
798 (test_list_backwards): Add beginning of file error test.
800 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
802 * gdb.base/list.exp (test_list_invalid_args): New function,
805 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
807 * gdb.base/list.exp (test_list): Make test names unique.
809 2015-12-11 Yao Qi <yao.qi@linaro.org>
811 * gdb.base/coremaker2.c: Remove.
813 2015-12-10 Pedro Alves <palves@redhat.com>
815 * gdb.multi/base.exp: Remove stale "spaces" references.
817 2015-12-10 Pedro Alves <palves@redhat.com>
819 * gdb.multi/base.exp: Don't use nowarnings.
820 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
821 * gdb.multi/hangout.c: Include stdio.h.
822 * gdb.multi/hello.c: Include stdlib.h.
823 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
824 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
825 * gdb.multi/multi-arch.exp: Don't use nowarnings.
827 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
829 * gdb.dwarf2/dw2-ranges-base.c: New file.
830 * gdb.dwarf2/dw2-ranges-base.exp: New file.
831 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
832 support additional line table, and debug ranges generation.
833 (Dwarf::ranges): New function, generate .debug_ranges.
834 (Dwarf::lines): Support generating simple line table programs.
835 (Dwarf::assemble): Initialise new namespace variables.
837 2015-12-09 Kevin Buettner <kevinb@redhat.com>
839 * gdb.base/async.exp (proc test_background): Add case for
840 asynchronous execution not supported.
842 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
844 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
845 format and change test names to make them unique.
847 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
848 Pedro Alves <pedro@redhat.com>
851 Add checking of floatformats setup on x86_64 hosts.
852 * gdb.arch/i386-float.S (main): Load bigval and smallval.
853 (smallval, bigval): New labels/constants.
854 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
855 float" after loading bigval and smallval.
857 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
859 * gdb.ada/fun_overload_menu.exp: New testcase.
860 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
862 2015-12-04 Josh Stone <jistone@redhat.com>
864 * gdb.base/catch-fork-static.exp: New.
866 2015-12-03 Yao Qi <yao.qi@linaro.org>
868 * gdb.base/sizeof.c: Don't include stdio.h and
869 ../lib/unbuffer_output.c.
870 (main): New variable 'size' and 'value'. Remove printf and
871 gdb_unbuffer_output. Assign return value to size and value.
872 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
874 (check_sizeof): Check the result by printing variable 'size'.
875 (check_valueof): Check the result by printing variable 'value'.
877 2015-12-01 Yao Qi <yao.qi@linaro.org>
879 * gdb.base/disp-step-syscall.exp: Define syscall instruction
880 for aarch64*-*-linux* target.
882 2015-11-30 Pedro Alves <palves@redhat.com>
884 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
886 2015-11-30 Pedro Alves <palves@redhat.com>
888 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
889 Handle non-stop mode vCont replies.
891 2015-11-30 Pedro Alves <palves@redhat.com>
893 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
894 prepare_for_testing. Start gdb with "set non-stop on" appended to
895 GDBFLAGS. Lax expected stop output.
897 2015-11-27 Yao Qi <yao.qi@linaro.org>
899 * gdb.arch/arm-neon.exp: New.
900 * gdb.arch/arm-neon.c: New.
902 2015-11-27 Yao Qi <yao.qi@linaro.org>
904 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
906 2015-11-27 Yao Qi <yao.qi@linaro.org>
908 * gdb.cp/annota2.exp: Allow multiple occurrences of the
909 frames-invalid annotation.
911 2015-11-27 Yao Qi <yao.qi@linaro.org>
913 * gdb.cp/annota2.exp: Use ${frames_invalid}.
915 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
917 * gdb.threads/names.exp: New file.
918 * gdb.threads/names.c: New file.
919 * README: Mention gdb,no_thread_names.
921 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
924 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
927 2015-11-24 Pedro Alves <palves@redhat.com>
930 * gdb.base/display.exp: Expect displays to be sorted in ascending
931 order. Use multi_line.
932 * gdb.base/solib-display.exp: Likewise.
934 2015-11-24 Pedro Alves <palves@redhat.com>
937 * gdb.base/display.exp: Expect displays to be sorted in ascending
938 order. Use multi_line.
939 * gdb.base/solib-display.exp: Likewise.
941 2015-11-24 Pedro Alves <palves@redhat.com>
944 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
945 threads in ascending order.
946 * gdb.base/foll-fork.exp: Likewise.
947 * gdb.base/foll-vfork.exp: Likewise.
948 * gdb.base/multi-forks.exp: Likewise.
949 * gdb.mi/mi-nonstop.exp: Likewise.
950 * gdb.mi/mi-nsintrall.exp: Likewise.
951 * gdb.multi/base.exp: Likewise.
952 * gdb.multi/multi-arch.exp: Likewise.
953 * gdb.python/py-inferior.exp: Likewise.
954 * gdb.threads/break-while-running.exp: Likewise.
955 * gdb.threads/execl.exp: Likewise.
956 * gdb.threads/gcore-thread.exp: Likewise.
957 * gdb.threads/info-threads-cur-sal.exp: Likewise.
958 * gdb.threads/kill.exp: Likewise.
959 * gdb.threads/linux-dp.exp: Likewise.
960 * gdb.threads/multiple-step-overs.exp: Likewise.
961 * gdb.threads/next-bp-other-thread.exp: Likewise.
962 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
963 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
964 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
965 * gdb.threads/thread-find.exp: Likewise.
966 * gdb.threads/tls.exp: Likewise.
967 * lib/mi-support.exp (mi_reverse_list): Delete.
968 (mi_check_thread_states): No longer reverse list.
970 2015-11-24 Pedro Alves <palves@redhat.com>
972 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
975 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
977 * gdb.trace/actions.c: Include trace-common.h.
978 (main): Add a location for a fast tracepoint.
979 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
980 the normal tracepoints.
981 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
983 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
985 * save-trace.exp: Factor out code to these...
986 (gdb_save_tracepoints): New.
987 (gdb_load_tracepoints): New.
988 (do_save_load_test): New.
990 2015-11-23 Kevin Buettner <kevinb@redhat.com>
992 * gdb.base/asmlabel.exp: New test.
993 * gdb.base/asmlabel.c: New test case.
995 2015-11-23 Joel Brobecker <brobecker@adacore.com>
997 * gdb.base/wrong_frame_bt_full-main.c: New file.
998 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
999 * gdb.base/wrong_frame_bt_full.exp: New file.
1001 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1003 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1005 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1007 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1008 pstate register when comparing registers values in
1009 sparc64-*-linux-gnu targets to avoid spurious differences.
1011 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1013 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1015 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1017 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1018 as type argument to gdb_compile.
1019 * gdb.base/nested-subp2.exp: Likewise.
1020 * gdb.base/nested-subp3.exp: Likewise.
1022 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1024 * lib/dwarf.exp (_note): Fix left shift of negative value.
1025 * gdb.trace/trace-condition.exp: Likewise.
1027 2015-11-13 Yao Qi <yao.qi@linaro.org>
1029 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1030 comments about d10v.
1031 (test_scalar_returns): Likewise.
1032 * gdb.base/d10v.ld: Remove.
1033 * gdb.base/overlays.exp: Remove the target triplet checking for
1035 * gdb.base/structs.exp (test_struct_returns): Remove the
1036 comments about d10v.
1037 (test_struct_calls): Likewise.
1039 2015-11-13 Yao Qi <yao.qi@linaro.org>
1041 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1042 * gdb.base/gnu_vector.c: Don't include stdio.h.
1043 (main): Don't print res and call add_some_intvecs.
1045 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1047 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1050 (func4): Use FAST_TRACEPOINT_LABEL.
1051 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1054 (thread_function): Use FAST_TRACEPOINT_LABEL.
1055 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1057 (marker): Use FAST_TRACEPOINT_LABEL.
1058 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1059 (pendfunc1): Remove.
1060 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1061 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1063 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1064 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1067 (marker): Use FAST_TRACEPOINT_LABEL.
1068 * gdb.trace/trace-common.h: New header.
1069 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1072 (marker): Use FAST_TRACEPOINT_LABEL.
1073 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1075 (thread_function): Use FAST_TRACEPOINT_LABEL.
1077 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1079 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1081 * gdb.trace/change-loc.exp: Use global pcreg definition.
1082 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1083 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1085 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1086 * gdb.trace/pending.exp: Likewise.
1087 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1088 * gdb.trace/trace-break.exp: Likewise.
1089 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1091 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1092 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1094 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1096 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1098 * gdb.ada/fin_fun_out: New testcase.
1100 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1102 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1103 value associated with DW_AT_byte_size.
1104 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1105 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1108 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1110 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1111 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1113 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1114 gdb.dwarf2/dw2-canonicalize-type.exp,
1115 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1116 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1117 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1118 provided by gdb_target_symbol_prefix_flags_asm.
1119 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1120 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1121 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1122 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1123 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1124 macros where needed). Use this macro for symbols which require
1125 the prefix provided by SYMBOL_PREFIX.
1127 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1129 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1131 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1132 representing expressions, of more than one list element.
1133 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1134 to prepend linker symbol prefix to f.
1135 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1136 table_1 and table_2.
1137 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1138 Likewise, for f and g.
1139 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1141 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1143 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1144 table_1_ptr and table_2_ptr.
1146 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 Joel Brobecker <brobecker@adacore.com>
1149 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1151 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1153 * gdb.reverse/s390-mvcle.c: New test.
1154 * gdb.reverse/s390-mvcle.exp: New file.
1155 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1157 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1159 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1161 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1163 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1165 * gdb.reverse/getresuid-reverse.exp: Likewise.
1166 * gdb.reverse/pipe-reverse.exp: Likewise.
1167 * gdb.reverse/readv-reverse.exp: Likewise.
1168 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1169 * gdb.reverse/time-reverse.exp: Likewise.
1170 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1172 2015-10-30 Yao Qi <yao.qi@linaro.org>
1174 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1175 (empty_cycle): Remove.
1176 (main): Don't call empty_cycle. Don't use watch_count_done.
1177 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1178 empty_cycle. Rewrite the code counting HW watchpoints.
1180 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1182 * gdb.reverse/fstatat-reverse.c: New test.
1183 * gdb.reverse/fstatat-reverse.exp: New file.
1184 * gdb.reverse/getresuid-reverse.c: New test.
1185 * gdb.reverse/getresuid-reverse.exp: New file.
1186 * gdb.reverse/pipe-reverse.c: New test.
1187 * gdb.reverse/pipe-reverse.exp: New file.
1188 * gdb.reverse/readv-reverse.c: New test.
1189 * gdb.reverse/readv-reverse.exp: New file.
1190 * gdb.reverse/recvmsg-reverse.c: New test.
1191 * gdb.reverse/recvmsg-reverse.exp: New file.
1192 * gdb.reverse/time-reverse.c: New test.
1193 * gdb.reverse/time-reverse.exp: New file.
1194 * gdb.reverse/waitpid-reverse.c: New test.
1195 * gdb.reverse/waitpid-reverse.exp: New file.
1197 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1199 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1201 2015-10-26 Doug Evans <dje@google.com>
1204 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1205 * gdb.dwarf2/bad-regnum.c: New file.
1206 * gdb.dwarf2/bad-regnum.exp: New file.
1208 2015-10-26 Doug Evans <dje@google.com>
1211 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1214 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1216 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1217 for a change by "Mention language in compile error message".
1219 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1222 * gdb.python/py-type.c (C::a_method): New.
1223 (C::a_const_method): New.
1224 (C::a_static_method): New.
1226 * gdb.python/py-type.exp (test_fields): Test getting fields
1227 from function and method.
1229 2015-10-21 Keven Boell <keven.boell@intel.com>
1231 * gdb.fortran/vla-alloc-assoc.exp: New file.
1232 * gdb.fortran/vla-datatypes.exp: New file.
1233 * gdb.fortran/vla-datatypes.f90: New file.
1234 * gdb.fortran/vla-history.exp: New file.
1235 * gdb.fortran/vla-ptype-sub.exp: New file.
1236 * gdb.fortran/vla-ptype.exp: New file.
1237 * gdb.fortran/vla-sizeof.exp: New file.
1238 * gdb.fortran/vla-sub.f90: New file.
1239 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1240 * gdb.fortran/vla-value-sub-finish.exp: New file.
1241 * gdb.fortran/vla-value-sub.exp: New file.
1242 * gdb.fortran/vla-value.exp: New file.
1243 * gdb.fortran/vla-ptr-info.exp: New file.
1244 * gdb.mi/mi-vla-fortran.exp: New file.
1245 * gdb.mi/vla.f90: New file.
1247 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1249 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1250 of hardwired timeout value.
1252 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1253 Pedro Alves <palves@redhat.com>
1255 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1256 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1258 2015-10-19 Josh Stone <jistone@redhat.com>
1260 * gdb.base/catch-syscall.c: Include <sched.h>.
1261 (unknown_syscall): New variable.
1262 (main): Trigger a vfork and an unknown syscall.
1263 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1264 (unknown_syscall_number): Likewise.
1265 (check_call_to_syscall): Accept an optional syscall pattern.
1266 (check_return_from_syscall): Likewise.
1267 (check_continue): Likewise.
1268 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1269 (test_catch_syscall_skipping_return): New test toggling off 'catch
1270 syscall' to step over the syscall return, then toggling back on.
1271 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1272 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1273 (do_syscall_tests): Call test_catch_syscall_without_args and
1274 test_catch_syscall_mid_vfork.
1275 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1276 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1278 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1280 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1281 print g_vE): Add new pass patterns.
1282 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1283 print various symbol names for vptr fields.
1285 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1287 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1290 2015-10-12 Yao Qi <yao.qi@linaro.org>
1292 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1294 2015-10-12 Yao Qi <yao.qi@linaro.org>
1296 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1297 is aarch64*-*-linux*.
1299 2015-10-12 Yao Qi <yao.qi@linaro.org>
1301 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1302 (can_relocate_bcond_true): ... it.
1303 (can_relocate_bcond_false): New function.
1305 (can_relocate_bl): Likewise.
1306 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1309 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1311 * gdb.base/nested-addr.c: New file.
1312 * gdb.base/nested-addr.exp: New testcase.
1314 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1316 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1317 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1318 its output. Ignore the output of "record goto begin" and instead
1319 check that GDB is replaying.
1321 2015-10-09 Pedro Alves <palves@redhat.com>
1323 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1324 (top level): Use it in the run with no args test.
1326 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1328 * gdb.dlang/properties.exp: New file.
1330 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1332 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1333 whether or not address 0x1000 is mapped on the target.
1335 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1337 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1340 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1342 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1343 instruction-history test.
1345 2015-09-28 Doug Evans <dje@google.com>
1347 * gdb.base/gcore.c (array_func): Add reference to static_array.
1349 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1354 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1356 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1357 short or char as base type.
1359 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1361 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1362 to allow any size enum.
1364 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1366 * gdb.ada/array_ptr_renaming.exp: New testcase.
1367 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1368 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1370 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1372 * gdb.trace/ftrace-lock.c: New file.
1373 * gdb.trace/ftrace-lock.exp: New file.
1375 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1377 * gdb.arch/insn-reloc.c: New file.
1378 * gdb.arch/ftrace-insn-reloc.exp: New file.
1380 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1382 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1384 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1385 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1386 * gdb.trace/range-stepping.c: Likewise.
1387 * gdb.trace/trace-break.c: Likewise.
1388 * gdb.trace/trace-mt.c (thread_function): Likewise.
1389 * gdb.trace/ftrace.c (marker): Likewise.
1390 * gdb.trace/trace-condition.c (marker): Likewise.
1391 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1392 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1395 2015-09-18 Doug Evans <xdje42@gmail.com>
1397 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1398 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1400 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1402 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1405 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1407 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1408 the pending breakpoint. Remove timeout override for "Run till
1409 MI pending breakpoint on pendfunc3 on thread 2" test.
1411 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1413 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1416 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1418 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1419 in breakpoint filename pattern.
1421 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1423 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1425 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1427 * gdb.linespec/explicit.exp: Check for readline support for
1428 tab-completion tests. Fix obvious typo.
1430 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1432 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1435 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1437 * gdb.btrace/non-stop.c: New.
1438 * gdb.btrace/non-stop.exp: New.
1440 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1441 Yao Qi <yao.qi@linaro.org>
1443 * gdb.trace/trace-condition.c: New file.
1444 * gdb.trace/trace-condition.exp: New file.
1446 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1448 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1449 for testing bytecode compilation.
1451 2015-09-16 Pedro Alves <palves@redhat.com>
1452 Sandra Loosemore <sandra@codesourcery.com>
1454 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1455 (SECONDS): Redefine.
1456 (main): Call pthread_kill and alarm early.
1457 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1459 (test): If the target can't hardware step and doesn't support
1460 displaced stepping, increase the timeout.
1462 2015-09-16 Pedro Alves <palves@redhat.com>
1464 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1465 (enable_debug): New procedures.
1466 (test): Use them. Bail out if waiting for threads fails.
1467 (top level): Bail out if a test fails.
1469 2015-09-16 Yao Qi <yao.qi@linaro.org>
1471 * gdb.asm/asm-source.exp: Set asm-arch for
1472 aarch64*-*-* target.
1473 * gdb.asm/aarch64.inc: New file.
1475 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1477 * gdb.ada/array_of_variable_length.exp: New testcase.
1478 * gdb.ada/array_of_variable_length/foo.adb: New file.
1479 * gdb.ada/array_of_variable_length/pck.adb: New file.
1480 * gdb.ada/array_of_variable_length/pck.ads: New file.
1482 2015-09-15 Doug Evans <dje@google.com>
1484 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1485 of function static local variable.
1487 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1489 * gdb.threads/tls-so_extern.exp: New test file.
1490 * gdb.threads/tls-so_extern.c: New test file.
1491 * gdb.threads/tls-so_extern_main.c: New test file.
1493 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1495 * gdb.opt/solib-intra-step-lib.c: New file.
1496 * gdb.opt/solib-intra-step-main.c: New file.
1497 * gdb.opt/solib-intra-step.exp: New file.
1499 2015-09-15 Pedro Alves <palves@redhat.com>
1501 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1502 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1504 2015-09-14 Pedro Alves <palves@redhat.com>
1506 * gdb.base/hook-stop-continue.c: Delete.
1507 * gdb.base/hook-stop-continue.exp: Delete.
1508 * gdb.base/hook-stop-frame.c: Delete.
1509 * gdb.base/hook-stop-frame.exp: Delete.
1510 * gdb.base/hook-stop.c: New file.
1511 * gdb.base/hook-stop.exp: New file.
1513 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1515 * gdb.ada/access_to_packed_array.exp: New testcase.
1516 * gdb.ada/access_to_packed_array/foo.adb: New file.
1517 * gdb.ada/access_to_packed_array/pack.adb: New file.
1518 * gdb.ada/access_to_packed_array/pack.ads: New file.
1520 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1522 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1525 2015-09-11 Don Breazeal <donb@codesourcery.com>
1527 * gdb.base/foll-exec.c: Add copyright header. Fix
1529 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1530 (do_exec_tests): Use clean_restart in place of zap_session,
1531 and for test initialization. Fix formatting issues. Use
1532 fail in place of perror.
1533 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1534 an expect statement to match an expression with output from
1535 the program under debug.
1536 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1537 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1538 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1539 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1540 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1542 2015-09-09 Doug Evans <dje@google.com>
1544 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1546 2015-09-09 Doug Evans <dje@google.com>
1548 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1550 2015-09-09 Doug Evans <dje@google.com>
1552 * gdb.base/savedregs.exp: Fix typo.
1554 2015-09-09 Pedro Alves <palves@redhat.com>
1556 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1558 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1560 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1561 command actually switches threads. Give up on remaining
1562 tests if target fails to stop at breakpoint.
1564 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1566 * gdb.ada/funcall_char.exp: New testcase.
1567 * gdb.ada/funcall_char/foo.adb: New file.
1569 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1571 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1572 expected outputs. Add two testcases for completing ambiguous
1574 * gdb.ada/complete/aux_pck.adb: New file.
1575 * gdb.ada/complete/aux_pck.ads: New file.
1576 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1577 Ambiguous_Func functions.
1578 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1579 * gdb.ada/complete/pck.adb: Likewise.
1581 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1583 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1584 failures to run the test program under GDB.
1586 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1588 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1591 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1593 * gdb.base/run-after-attach.exp: New test file.
1594 * gdb.base/run-after-attach.c: New test file.
1596 2015-08-26 Don Breazeal <donb@codesourcery.com>
1598 * gdb.base/foll-exec-2.c: New test program.
1599 * gdb.base/foll-exec-2.exp: New test.
1601 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1603 * gdb.base/nested-subp1.exp: New file.
1604 * gdb.base/nested-subp1.c: New file.
1605 * gdb.base/nested-subp2.exp: New file.
1606 * gdb.base/nested-subp2.c: New file.
1607 * gdb.base/nested-subp3.exp: New file.
1608 * gdb.base/nested-subp3.c: New file.
1610 2015-08-24 Pedro Alves <palves@redhat.com>
1612 * gdb.server/connect-without-multi-process.c: New file.
1613 * gdb.server/connect-without-multi-process.exp: New file.
1615 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1617 * gdb.opt/inline-markers.c: Make z int.
1619 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1621 * gdb.opt/inline-markers.c: Make z volatile.
1623 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1625 * gdb.opt/inline-bt.c: New volatile global z.
1626 * gdb.opt/inline-cmds.c: Likewise.
1627 * gdb.opt/inline-locals.c: Likewise.
1628 * gdb.opt/inline-markers.c: New extern global z.
1630 (inline_fn): Likewise.
1632 2015-08-24 Pedro Alves <palves@redhat.com>
1634 * config/m32r-stub.exp: Remove file.
1635 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1636 * gdb.base/call-rt-st.exp: Likewise.
1637 * gdb.base/call-strs.exp: Likewise.
1638 * gdb.base/default.exp: Remove references to h8300-*-hms and
1640 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1642 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1644 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1645 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1646 and "return" use KFAIL when GDB can not read/write the vector
1649 2015-08-21 Gary Benson <gbenson@redhat.com>
1651 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1653 2015-08-20 Pedro Alves <palves@redhat.com>
1655 * gdb.server/solib-list.exp: No longer expect an interior stop in
1658 2015-08-20 Pedro Alves <palves@redhat.com>
1660 * gdb.server/connect-stopped-target.c: New file.
1661 * gdb.server/connect-stopped-target.exp: New file.
1663 2015-08-20 Pedro Alves <palves@redhat.com>
1665 * gdb.dwarf2/comp-unit-lang.exp: New file.
1666 * gdb.dwarf2/comp-unit-lang.c: New file.
1668 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1670 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1671 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1673 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1675 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1676 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1678 2015-08-18 Doug Evans <dje@google.com>
1679 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1681 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1682 skip_python_tests. New arg prompt_regexp.
1683 (skip_python_tests): New function.
1684 * lib/mi-support.exp (mi_skip_python_tests): New function.
1685 * gdb.python/py-mi-objfile-gdb.py: New file.
1686 * gdb.python/py-mi-objfile.c: New file.
1687 * gdb.python/py-mi-objfile.exp: New file.
1689 2015-08-17 Keith Seitz <keiths@redhat.com>
1691 * gdb.linespec/explicit.exp: Move strace test from here ...
1692 * gdb.trace/strace.exp: ... to here.
1694 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1696 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1697 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1699 2015-08-14 Doug Evans <xdje42@gmail.com>
1701 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1702 inferior before selecting a new file.
1704 2015-08-14 Doug Evans <xdje42@gmail.com>
1706 * gdb.mi/mi-disassemble.exp: Update.
1707 * gdb.base/disasm-optim.S: New file.
1708 * gdb.base/disasm-optim.c: New file.
1709 * gdb.base/disasm-optim.h: New file.
1710 * gdb.base/disasm-optim.exp: New file.
1712 2015-08-14 Keith Seitz <keiths@redhat.com>
1714 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1717 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1719 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1721 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1723 * gdb.ada/fun_renaming.exp: New testcase.
1724 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1725 * gdb.ada/fun_renaming/pack.adb: New file.
1726 * gdb.ada/fun_renaming/pack.ads: New file.
1728 2015-08-12 Keith Seitz <keiths@redhat.com>
1730 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1731 gdb_get_line_number.
1733 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1735 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1736 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1737 gdb.base/dso2dso.exp: New files.
1739 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1740 Pedro Alves <palves@redhat.com>
1741 Keith Seitz <keiths@redhat.com>
1743 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1746 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1748 * gdb.base/gdbhistsize-history.exp
1749 (test_histsize_history_setting): Use save_vars.
1750 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1752 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1753 * gdb.base/readline.exp: Use save_vars.
1755 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1757 * lib/gdb.exp (save_vars): New proc.
1759 2015-08-11 Keith Seitz <keiths@redhat.com>
1761 * gdb.base/help.exp: Update help_breakpoint_text.
1763 2015-08-11 Keith Seitz <keiths@redhat.com>
1765 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1766 (at toplevel): Call test_explicit_breakpoints.
1767 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1769 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1770 breakpoint conditions, "-cond".
1772 2015-08-11 Keith Seitz <keiths@redhat.com>
1774 * gdb.linespec/3explicit.c: New file.
1775 * gdb.linespec/cpexplicit.cc: New file.
1776 * gdb.linespec/cpexplicit.exp: New file.
1777 * gdb.linespec/explicit.c: New file.
1778 * gdb.linespec/explicit.exp: New file.
1779 * gdb.linespec/explicit2.c: New file.
1780 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1781 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1782 before using in the matching pattern.
1783 Clarify that `prefix' is a regular expression.
1785 2015-08-11 Keith Seitz <keiths@redhat.com>
1787 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1789 Add tests for missing ",FMT" and ",".
1791 2015-08-10 Doug Evans <dje@google.com>
1792 Keith Seitz <keiths@redhat.com>
1795 * gdb.base/completion.exp: Add location completer tests.
1797 2015-08-07 Pedro Alves <palves@redhat.com>
1799 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1801 (top level): Run do_test with and without displaced stepping.
1803 2015-08-07 Pedro Alves <palves@redhat.com>
1805 * gdb.base/valgrind-disp-step.c: New file.
1806 * gdb.base/valgrind-disp-step.exp: New file.
1808 2015-08-07 Pedro Alves <palves@redhat.com>
1810 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1812 (main): Add alarm. Run an infinite loop instead of calling
1814 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1816 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1818 (main): Add alarm. Run an infinite loop instead of calling
1820 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1823 2015-08-07 Pedro Alves <palves@redhat.com>
1825 * gdb.base/checkpoint-ns.exp: New file.
1826 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1829 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1831 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1832 * gdb.btrace/instruction_history.exp: Update.
1833 * gdb.btrace/tsx.exp: New.
1834 * gdb.btrace/tsx.c: New.
1836 2015-08-06 Pedro Alves <palves@redhat.com>
1838 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1840 * gdb.reverse/until-precsave.exp: Bump timeouts.
1842 2015-08-06 Pedro Alves <palves@redhat.com>
1844 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1846 2015-08-06 Pedro Alves <palves@redhat.com>
1849 * gdb.threads/process-dies-while-handling-bp.c: New file.
1850 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1852 2015-08-06 Pedro Alves <palves@redhat.com>
1854 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1855 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1857 2015-08-05 Pedro Alves <palves@redhat.com>
1859 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1860 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1862 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1864 * gdb.base/bp-permanent.exp: Report test as unsupported if
1865 the target cannot stop at the permanent breakpoint.
1867 2015-08-03 Doug Evans <dje@google.com>
1869 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1872 2015-08-03 Doug Evans <dje@google.com>
1874 * Makefile.in (workers/%.worker, build-perf): New rule.
1875 (GDB_PERFTEST_MODE): New variable.
1876 (check-perf): Use it.
1877 (clean): Clean up gdb.perf parallel build subdirs.
1878 * lib/build-piece.exp: New file.
1879 * lib/gdb.exp (make_gdb_parallel_path): New function
1880 (standard_output_file, standard_temp_file): Call it.
1881 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1883 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1885 2015-08-03 Doug Evans <dje@google.com>
1887 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1888 (LOG_FILE_NAME): New global.
1889 (TextReporter.__init__): Initialize self.txt_sum.
1890 (TextReporter.report): Add support for multiple data-points.
1891 Move report to perftest.sum, put raw data in perftest.log.
1892 (TextReporter.start): Open sum and log files.
1893 (TextReporter.end): Close sum and log files.
1894 * gdb.perf/lib/perftest/testresult.py
1895 (SingleStatisticTestResult.record): Handle multiple data-points.
1897 2015-07-31 Pedro Alves <palves@redhat.com>
1899 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1900 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1901 kill_wait_spawned_process instead of explicit "kill -9".
1902 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1903 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1904 kill_wait_spawned_process.
1905 * gdb.base/attach-twice.exp: Likewise.
1906 * gdb.base/attach.exp: Likewise.
1907 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1909 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1910 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1911 kill_wait_spawned_process.
1912 * gdb.base/valgrind-infcall.exp: Likewise.
1913 * gdb.multi/multi-attach.exp: Likewise.
1914 * gdb.python/py-prompt.exp: Likewise.
1915 * gdb.python/py-sync-interp.exp: Likewise.
1916 * gdb.server/ext-attach.exp: Likewise.
1917 * gdb.threads/attach-into-signal.exp (corefunc): Use
1918 spawn_wait_for_attach, spawn_id_get_pid and
1919 kill_wait_spawned_process.
1920 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1921 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1922 spawn_id_get_pid and kill_wait_spawned_process.
1923 * gdb.threads/attach-stopped.exp (corefunc): Use
1924 spawn_wait_for_attach, spawn_id_get_pid and
1925 kill_wait_spawned_process.
1926 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1927 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1928 kill_wait_spawned_process instead of explicit "kill -9".
1929 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1930 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1931 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1932 processes. Don't map cygwin/windows pids here. Now returns a
1935 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1937 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1938 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1941 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1943 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1945 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1948 2014-05-21 Mark Wielaard <mjw@redhat.com>
1950 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1952 2015-07-30 Pedro Alves <palves@redhat.com>
1954 * linux-low.c (handle_extended_wait): Set the child's last
1955 reported status to TARGET_WAITKIND_STOPPED.
1957 2015-07-30 Pedro Alves <palves@redhat.com>
1960 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1961 only shows inferior 1.
1963 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1964 Pedro Alves <palves@redhat.com>
1967 * gdb.threads/fork-plus-threads.c: New file.
1968 * gdb.threads/fork-plus-threads.exp: New file.
1970 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1972 * gdb.base/batch-preserve-term-settings.exp
1973 (test_terminal_settings_preserved_after_cli_exit): Use
1976 2015-07-29 Pedro Alves <palves@redhat.com>
1977 Don Breazeal <donb@codesourcery.com>
1979 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1980 output from both inferior_spawn_id and gdb_spawn_id.
1982 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1984 * gdb.threads/attach-into-signal.exp (corefunc): Use
1985 with_test_prefix on nested loops, uniquefying the test messages.
1987 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1989 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1992 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1994 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1996 (test_terminal_settings_preserved_after_sigterm): New test.
1998 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2000 * gdb.base/batch-preserve-term-settings.exp
2001 (test_terminal_settings_preserved_after_cli_exit): New test.
2003 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2005 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2006 manipulation of saved_gdbflags.
2007 (test_terminal_settings_preserved): Remove global declaration of
2008 the unused variable pagination_prompt. Remove manipulation of
2009 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2012 2015-07-29 Pedro Alves <palves@redhat.com>
2014 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2016 2015-07-29 Pedro Alves <palves@redhat.com>
2018 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2021 2015-07-29 Pedro Alves <palves@redhat.com>
2023 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2024 (main): Call gdb_unbuffer_output.
2025 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2026 (main): Call gdb_unbuffer_output.
2027 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2028 (main): Call gdb_unbuffer_output.
2029 * gdb.base/call-strs.exp: Adjust to step over the
2030 gdb_unbuffer_output call.
2031 * gdb.base/catch-gdb-caused-signals.c: Include
2032 "../lib/unbuffer_output.c".
2033 (main): Call gdb_unbuffer_output.
2034 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2035 (main): Call gdb_unbuffer_output.
2036 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2037 (main): Call gdb_unbuffer_output.
2038 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2039 (main): Call gdb_unbuffer_output.
2040 * gdb.base/shlib-call.exp: Adjust to step over the
2041 gdb_unbuffer_output call.
2042 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2043 (main): Call gdb_unbuffer_output.
2044 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2045 (main): Call gdb_unbuffer_output.
2046 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2047 (main): Rename to ...
2049 (main): Reimplement.
2050 * gdb.base/varargs.exp: Run to test instead of to main.
2051 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2052 (main): Call gdb_unbuffer_output.
2054 2015-07-29 Pedro Alves <palves@redhat.com>
2056 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2057 factore out from mi_continue_dprintf. For call-style dprintfs,
2058 expect dprintf output out of $inferior_spawn_id.
2059 (mi_continue_dprintf): Use mi_expect_dprintf.
2060 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2061 (main): Call gdb_unbuffer_output.
2063 2015-07-29 Pedro Alves <palves@redhat.com>
2065 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2066 (default_mi_gdb_start): Set inferior_spawn_id instead of
2067 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2069 (mi_gdb_test): Always expect inferior output from both
2070 $inferior_spawn_id and $gdb_spawn_id.
2072 2015-07-29 Pedro Alves <palves@redhat.com>
2074 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2075 send_inferior and $inferior_spawn_id.
2077 2015-07-29 Pedro Alves <palves@redhat.com>
2079 * gdb.gdb/complaints.exp (test_initial_complaints)
2080 (test_serial_complaints, test_short_complaints): Use
2082 (test_empty_complaint): Handle $inferior_spawn_id !=
2085 2015-07-29 Pedro Alves <palves@redhat.com>
2087 * gdb.base/varargs.exp: Use gdb_test_stdio.
2089 2015-07-29 Pedro Alves <palves@redhat.com>
2091 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2093 2015-07-29 Pedro Alves <palves@redhat.com>
2095 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2097 2015-07-29 Pedro Alves <palves@redhat.com>
2099 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2100 parameter into two new parameters, "inf_result" and "gdb_result".
2101 Expect inferior output and gdb output from $inferior_spawn_id and
2102 $gdb_spawn_id, respectively. Adjust all callers.
2104 2015-07-29 Pedro Alves <palves@redhat.com>
2106 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2107 of gdb_test_sequence.
2109 2015-07-29 Pedro Alves <palves@redhat.com>
2111 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2112 (saw_spurious_output): Expect inferior output from
2113 $inferior_spawn_id. Use gdb_test_stdio.
2115 2015-07-29 Pedro Alves <palves@redhat.com>
2117 * gdb.base/dprintf.exp: Use standard_testfile. Change
2118 prepare_for_testing call.
2119 (srcfile): Don't set.
2120 (restart): New procedure.
2121 (test_dprintf): New procecure, use to continue over dprintfs.
2122 (test_call, test_agent): New procedures, tests moved here.
2123 Restart gdb and recreate dprintfs. Adjust expected output.
2125 2015-07-29 Pedro Alves <palves@redhat.com>
2127 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2129 2015-07-29 Pedro Alves <palves@redhat.com>
2131 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2133 2015-07-29 Pedro Alves <palves@redhat.com>
2135 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2138 2015-07-29 Pedro Alves <palves@redhat.com>
2140 * lib/gdb.exp (gdb_test_stdio): New procedure.
2142 2015-07-29 Pedro Alves <palves@redhat.com>
2144 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2146 2015-07-29 Pedro Alves <palves@redhat.com>
2148 * gdb.base/call-signal-resume.exp: Remove check for
2149 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2150 * gdb.base/unwindonsignal.exp: Likewise.
2151 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2152 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2154 2015-07-29 Pedro Alves <palves@redhat.com>
2156 * gdb.base/siginfo-addr.c (pass): New function.
2157 (handler): Call it iff si_addr is correct.
2158 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2159 Set a breakpoint at "pass" and continue to it.
2161 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2163 * gdb.python/py-objfile.exp: Make some tests have unique names.
2164 * gdb.python/py-pp-registration.exp: Likewise.
2166 2015-07-28 Pedro Alves <palves@redhat.com>
2168 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2170 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2172 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2174 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2176 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2178 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2180 * gdb.base/gdb-sigterm-2.exp: New test.
2182 2015-07-25 Doug Evans <xdje42@gmail.com>
2185 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2186 (workers/%.worker, build-perf): New rule.
2187 (GDB_PERFTEST_MODE): New variable.
2188 (check-perf): Use it.
2189 (clean): Clean up gdb.perf parallel build subdirs.
2190 * lib/build-piece.exp: New file.
2191 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2192 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2194 (standard_temp_file): Ditto.
2195 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2198 2015-07-24 Doug Evans <dje@google.com>
2200 * gdb.perf/lib/perftest/utils.py: New file.
2201 * gdb.perf/gm-hello.cc: New file.
2202 * gdb.perf/gm-pervasive-typedef.cc: New file.
2203 * gdb.perf/gm-pervasive-typedef.h: New file.
2204 * gdb.perf/gm-std.cc: New file.
2205 * gdb.perf/gm-std.h: New file.
2206 * gdb.perf/gm-use-cerr.cc: New file.
2207 * gdb.perf/gm-utils.h: New file.
2208 * gdb.perf/gmonster-null-lookup.py: New file.
2209 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2210 * gdb.perf/gmonster-print-cerr.py: New file.
2211 * gdb.perf/gmonster-ptype-string.py: New file.
2212 * gdb.perf/gmonster-runto-main.py: New file.
2213 * gdb.perf/gmonster-select-file.py: New file.
2214 * gdb.perf/gmonster1-null-lookup.exp: New file.
2215 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2216 * gdb.perf/gmonster1-print-cerr.exp: New file.
2217 * gdb.perf/gmonster1-ptype-string.exp: New file.
2218 * gdb.perf/gmonster1-runto-main.exp: New file.
2219 * gdb.perf/gmonster1-select-file.exp: New file.
2220 * gdb.perf/gmonster1.cc: New file.
2221 * gdb.perf/gmonster1.exp: New file.
2222 * gdb.perf/gmonster2-null-lookup.exp: New file.
2223 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2224 * gdb.perf/gmonster2-print-cerr.exp: New file.
2225 * gdb.perf/gmonster2-ptype-string.exp: New file.
2226 * gdb.perf/gmonster2-runto-main.exp: New file.
2227 * gdb.perf/gmonster2-select-file.exp: New file.
2228 * gdb.perf/gmonster2.cc: New file.
2229 * gdb.perf/gmonster2.exp: New file.
2231 2015-07-24 Doug Evans <dje@google.com>
2233 * gdb.perf/README: New file.
2234 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2235 * lib/gen-perf-test.exp: New file.
2237 2015-07-24 Doug Evans <dje@google.com>
2239 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2240 (PerfTest::startup): New function.
2241 (PerfTest::run): Return result of calling body.
2242 (PerfTest::assemble): Rewrite.
2243 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2244 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2245 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2246 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2247 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2249 2015-07-24 Doug Evans <dje@google.com>
2251 * lib/gdb.exp (clean_restart): Make executable optional.
2253 2015-07-24 Doug Evans <dje@google.com>
2255 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2256 compiler_info references.
2257 * gdb.cp/temargs.exp: Ditto.
2258 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2259 (get_compiler_info): Early exit if already computed. Set compiler_info
2260 to "unknown" if there was a problem.
2261 (test_compiler_info): Add function comment. Call get_compiler_info.
2263 2015-07-24 Doug Evans <dje@google.com>
2265 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2266 (workers/%.worker, build-perf): New rule.
2267 (GDB_PERFTEST_MODE): New variable.
2268 (check-perf): Use it.
2269 (clean): Clean up gdb.perf parallel build subdirs.
2270 * lib/build-piece.exp: New file.
2271 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2272 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2274 (standard_temp_file): Ditto.
2275 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2278 2015-07-24 Doug Evans <dje@google.com>
2280 * lib/future.exp (gdb_default_target_compile): New option
2282 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2285 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2287 * gdb.base/catch-syscall.exp: Call gdb_exit before
2290 2015-07-24 Pedro Alves <palves@redhat.com>
2292 * gdb.python/py-events.exp: Accept output between the stop event
2294 * gdb.python/py-evsignal.exp: Likewise.
2295 * gdb.python/py-evthreads.exp: Likewise.
2297 2015-07-24 Pedro Alves <palves@redhat.com>
2300 * gdb.threads/non-ldr-exit.c: New file.
2301 * gdb.threads/non-ldr-exit.exp: New file.
2303 2015-07-24 Yao Qi <yao.qi@linaro.org>
2305 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2308 2015-07-24 Yao Qi <yao.qi@linaro.org>
2310 * gdb.server/ext-restart.exp: New file.
2312 2015-07-24 Yao Qi <yao.qi@linaro.org>
2314 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2316 * gdb.server/ext-wrapper.exp: New file.
2318 2015-07-23 Doug Evans <dje@google.com>
2320 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2321 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2323 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2325 * gdb.ada/var_arr_typedef.exp: New testcase.
2326 * gdb.ada/var_arr_typedef/pack.adb: New file.
2327 * gdb.ada/var_arr_typedef/pack.ads: New file.
2328 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2330 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2332 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2334 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2336 * gdb.arch/i386-biarch-core.exp: Replace istarget
2337 by "complete set gnutarget". Remove expectation for the "core-file"
2340 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2342 Revert the previous commit:
2343 Tests for validate symbol file using build-id.
2345 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2347 Tests for validate symbol file using build-id.
2348 * gdb.base/solib-mismatch-lib.c: New file.
2349 * gdb.base/solib-mismatch-libmod.c: New file.
2350 * gdb.base/solib-mismatch.c: New file.
2351 * gdb.base/solib-mismatch.exp: New file.
2353 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2355 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2357 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2358 * gdb.base/siginfo.exp: Likewise.
2359 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2361 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2363 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2365 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2367 * gdb.trace/range-stepping.exp: Check that the target supports
2370 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2372 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2374 2015-07-14 Pedro Alves <palves@redhat.com>
2376 * gdb.base/killed-outside.exp: New file.
2377 * gdb.base/killed-outside.c: New file.
2379 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2381 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2383 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2385 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2387 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2388 infcall tests instead of setting up for KFAIL.
2390 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2392 * gdb.btrace/record_goto-step.exp: New.
2394 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2397 * gdb.compile/compile.c (struct struct_type): Add volatile to
2399 * gdb.compile/compile.exp
2400 (compile code struct_object.selffield = &struct_object): Skip further
2401 struct_object tests if this one xfails.
2403 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2406 * gdb.trace/ax.exp: Add test.
2408 2015-07-07 Yao Qi <yao.qi@linaro.org>
2410 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2411 instead of istarget "aarch64*-*-*".
2412 * gdb.arch/aarch64-fp.exp: Likewise.
2413 * gdb.base/float.exp: Likewise.
2414 * gdb.reverse/aarch64.exp: Likewise.
2415 * lib/gdb.exp (is_aarch64_target): New proc.
2417 2015-07-07 Yao Qi <yao.qi@linaro.org>
2419 * lib/gdb.exp (is_aarch32_target): New proc.
2420 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2421 instead of "istarget "arm*-*-*"".
2422 * gdb.arch/arm-disp-step.exp: Likewise.
2423 * gdb.arch/thumb-bx-pc.exp: Likewise.
2424 * gdb.arch/thumb-prologue.exp: Likewise.
2425 * gdb.arch/thumb-singlestep.exp: Likewise.
2426 * gdb.base/disp-step-syscall.exp: Likewise.
2427 * gdb.base/float.exp: Likewise.
2429 2015-07-07 Yao Qi <yao.qi@linaro.org>
2431 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2432 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2434 2015-07-07 Yao Qi <yao.qi@linaro.org>
2436 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2437 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2439 * gdb.multi/multi-arch.exp: Likewise.
2441 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2443 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2446 2015-07-07 Yao Qi <yao.qi@linaro.org>
2448 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2450 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2452 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2453 '[' and ']' characters.
2455 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2457 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2459 2015-06-29 Pedro Alves <palves@redhat.com>
2462 * gdb.threads/hand-call-new-thread.c: New file.
2463 * gdb.threads/hand-call-new-thread.c: New file.
2465 2015-06-26 Keith Seitz <keiths@redhat.com>
2466 Doug Evans <dje@google.com>
2469 * gdb.cp/var-tag-2.cc: New file.
2470 * gdb.cp/var-tag-3.cc: New file.
2471 * gdb.cp/var-tag-4.cc: New file.
2472 * gdb.cp/var-tag.cc: New file.
2473 * gdb.cp/var-tag.exp: New file.
2475 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2477 * gdb.base/history-duplicates.exp: New test.
2479 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2481 * gdb.base/completion.exp: Test the completion of the "focus"
2484 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2486 * gdb.arch/amd64-prologue-skip.S: New file.
2487 * gdb.arch/amd64-prologue-skip.exp: New file.
2489 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2491 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2492 is_address_zero_readable check.
2494 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2496 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2497 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2499 2015-06-24 Yao Qi <yao.qi@linaro.org>
2501 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2504 2015-06-24 Yao Qi <yao.qi@linaro.org>
2506 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2507 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2508 * gdb.base/siginfo-thread.exp: Likewise.
2510 2015-06-22 Yao Qi <yao.qi@linaro.org>
2512 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2514 2015-06-22 Yao Qi <yao.qi@linaro.org>
2516 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2518 (skip_hw_watchpoint_tests): Likewise.
2520 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2522 * gdb.base/gdbinit-history.exp: Test the interaction between
2523 setting GDBHISTSIZE and setting the history size via .gdbinit.
2525 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2528 * gdb.base/gdbhistsize-history.exp: New test.
2530 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2532 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2534 * gdb.base/readline.exp: Likewise.
2536 2015-06-17 Yao Qi <yao.qi@linaro.org>
2538 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2541 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2543 * gdb.base/gdbinit-history.exp: Add test case to check that
2544 an unlimited history file does not get truncated on exit.
2546 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2548 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2549 (VECTOR): New macro. Use it...
2550 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2551 ...for these typedefs.
2552 (int8, char1, int1, double1): New typedefs.
2553 (struct just_int2, struct two_int2): New structures.
2554 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2555 (add_structvecs, add_singlevecs): New functions.
2556 (main): Call add_some_intvecs twice.
2557 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2558 the compile and exit upon failure. Try compiling for the "native"
2559 architecture. Test inferior function calls with vector arguments
2560 and vector return value handling with "finish" and "return".
2562 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2564 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2565 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2567 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2569 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2571 PR breakpoints/16465
2572 * gdb.mi/mi-dprintf-pending.c: New file.
2573 * gdb.mi/mi-dprintf-pending.exp: New test.
2574 * gdb.mi/mi-dprintf-pendshr.c: New file.
2576 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2577 Mircea Gherzan <mircea.gherzan@intel.com>
2579 * gdb.arch/i386-mpx-map.c: New file.
2580 * gdb.arch/i386-mpx-map.exp: New File.
2582 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2584 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2585 * gdb.arch/i386-mpx.exp: Indentation fixed.
2587 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2589 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2590 function and improved indentation.
2591 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2592 gdb_test_multiple. Added additional tests to skip the test.
2594 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2596 * gdb.arch/i386-avx512.c: Change path in include file.
2597 * gdb.arch/i386-avx512.exp: Change include dir path
2599 * gdb.arch/i386-mpx.c: Change path in include file.
2600 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2603 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 * gdb.compile/compile-print.exp (compile print *vararray@3)
2606 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2608 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2610 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2611 (do not keep jit in memory): ... this.
2612 (expect 5): Change it to ...
2613 (expect no 5): ... this.
2615 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2618 * gdb.mi/mi-detach.exp: New file.
2620 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2623 * gdb.arch/amd64-tailcall-self.S: New file.
2624 * gdb.arch/amd64-tailcall-self.c: New file.
2625 * gdb.arch/amd64-tailcall-self.exp: New file.
2627 2015-05-28 Don Breazeal <donb@codesourcery.com>
2629 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2630 tests for remote targets by checking is_target_gdbserver.
2632 2015-05-27 Doug Evans <dje@google.com>
2634 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2635 * gdb.dwarf2/opaque-type-lookup.c: New file.
2636 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2638 2015-05-26 Doug Evans <dje@google.com>
2640 * gdb.cp/iostream.cc: New file.
2641 * gdb.cp/iostream.exp: New file.
2643 2015-05-26 Doug Evans <dje@google.com>
2645 * gdb.dwarf2/dw2-op-call.exp: Update.
2646 * gdb.dwarf2/dw4-sig-types.exp: Update.
2647 * gdb.dwarf2/implptr.exp: Update.
2648 * gdb.mi/mi-cmd-param-changed.exp: Update.
2650 2015-05-26 Doug Evans <dje@google.com>
2652 * gdb.python/py-lazy-string.c: New file.
2653 * gdb.python/py-lazy-string.exp: New file.
2654 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2655 (main): Update. Add estring3.
2656 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2657 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2659 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2660 Yao Qi <yao.qi@linaro.org>
2662 * gdb.reverse/aarch64.c: New.
2663 * gdb.reverse/aarch64.exp: New.
2665 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2667 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2668 (supports_reverse): Likewise.
2670 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2672 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2673 Use with_test_prefix.
2675 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2677 * gdb.base/completion.exp: Add test for completion of layout
2680 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2682 * lib/gdb.exp (skip_tui_tests): New proc.
2683 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2685 2015-05-19 Pedro Alves <palves@redhat.com>
2687 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2688 Save the whole env array instead of just HOME. Unset HISTSIZE in
2689 the environment while testing. Restore whole environment
2692 2015-05-16 Doug Evans <xdje42@gmail.com>
2694 * gdb.guile/scm-ports.c: New file.
2695 * gdb.guile/scm-ports.exp: Add memory port tests.
2697 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2699 * gdb.compile/compile-print.c: New file.
2700 * gdb.compile/compile-print.exp: New file.
2702 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2704 * gdb.compile/compile-ops.exp: Cast param to void.
2705 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2706 (compile code struct_object.selffield = &struct_object): Add xfail.
2708 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2710 * gdb.ada/arr_enum_with_gap: New testcase.
2712 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2714 * gdb.ada/byte_packed_arr: New testcase.
2716 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2718 * gdb.ada/pckd_neg: New testcase.
2720 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2723 * gdb.base/gdbinit-history.exp: New test.
2724 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2725 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2727 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2729 * gdb.python/py-xmethods.cc: Enhance test case.
2730 * gdb.python/py-xmethods.exp: New tests.
2731 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2733 (B_indexoper): Likewise.
2734 (global_dm_list) : Add new xmethod worker functions.
2736 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2738 * gdb.base/coredump-filter.exp: Correctly unset
2739 "coredump_var_addr" array.
2741 2015-05-08 Pedro Alves <palves@redhat.com>
2743 * gdb.server/non-existing-program.exp: Unset spawn_id.
2745 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2748 * gdb.python/py-xmethods.exp: Add tests.
2750 2015-05-08 Yao Qi <yao.qi@linaro.org>
2753 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2754 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2755 function set_coredump_filter, and remove remote_exec call.
2756 Remove argument ipid. Callers update.
2757 (top level): Don't get inferior's PID.
2759 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2761 * gdb.base/watch_thread_num.exp: Skip test on targets without
2764 2015-05-06 Pedro Alves <palves@redhat.com>
2767 * gdb.server/non-existing-program.exp: New file.
2769 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2771 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2773 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2775 * gdb.ada/out_of_line_in_inlined: New testcase.
2777 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2779 * gdb.ada/var_rec_arr: New testcase.
2781 2015-04-30 Yao Qi <yao.qi@linaro.org>
2783 * gdb.base/break-idempotent.exp: If
2784 skip_hw_watchpoint_multi_tests returns true, skip the tests
2785 on "rwatch" and "awatch".
2787 2015-04-30 Yao Qi <yao.qi@linaro.org>
2789 * gdb.base/relativedebug.exp: Invoke gdb command
2790 "info sharedlibrary", and if libc.so doesn't have debug info,
2793 2015-04-29 Doug Evans <dje@google.com>
2795 * gdb.python/py-xmethods.exp: Add ptype tests.
2796 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2797 get_result_type method.
2799 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2801 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2802 the target does not support hardware watchpoints.
2804 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2806 * gdb.base/break-always.exp: Abort testing if writing to memory
2809 2015-04-28 Doug Evans <dje@google.com>
2811 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2812 * gdb.python/py-pp-registration.exp: ... here. New file.
2813 * gdb.python/py-pp-registration.c: New file.
2814 * gdb.python/py-pp-registration.py: New file.
2816 2015-04-28 Doug Evans <dje@google.com>
2818 * gdb.python/py-bad-printers.c: New file.
2819 * gdb.python/py-bad-printers.py: New file.
2820 * gdb.python/py-bad-printers.exp: New file.
2822 2015-04-28 Sasha Smundak <asmundak@google.com>
2824 * gdb.python/py-type.exp: New test.
2826 2015-04-28 Andy Wingo <wingo@igalia.com>
2828 * gdb.python/py-parameter.exp:
2829 * gdb.guile/scm-parameter.exp: Escape the path that we are
2830 matching against, as it might contain characters that are special
2831 to regular expressions.
2833 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2835 * gdb.ada/rec_comp: New testcase.
2837 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2839 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2842 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2844 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2845 new tests for verilog output.
2847 2015-04-24 Yao Qi <yao.qi@linaro.org>
2849 * boards/remote-gdbserver-on-localhost.exp: New file.
2851 2015-04-23 Pedro Alves <palves@redhat.com>
2853 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2854 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2855 "end of file", remove $inferior_spawn_id from the indirect list.
2857 2015-04-23 Pedro Alves <palves@redhat.com>
2859 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2861 2015-04-23 Pedro Alves <palves@redhat.com>
2863 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2864 on $any_spawn_id instead of only on $gdb_spawn_id.
2866 2015-04-21 Pierre Muller <muller@sourceware.org>
2869 * lib/pascal.exp (gpc_compile): Add new option "class".
2870 (fpc_compile): Likewise.
2871 * gdb.pascal/case-insensitive-symbols.pas: New file.
2872 * gdb.pascal/case-insensitive-symbols.exp: New file.
2874 2015-04-20 Gary Benson <gbenson@redhat.com>
2876 * gdb.base/attach.exp: Fix three extended remote failures.
2878 2015-04-17 Gary Benson <gbenson@redhat.com>
2880 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2881 the main executable over the remote protocol.
2883 2015-04-16 Pedro Alves <palves@redhat.com>
2885 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2886 a new gdbserver if gdbserver_reconnect_p is set.
2888 2015-04-16 Pedro Alves <palves@redhat.com>
2890 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2891 is set, don't exit gdbserver.
2893 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2895 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2896 appropriate .insn, such that an older assembler can be used.
2897 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2898 the z/Architecture instruction set on 31-bit targets as well.
2900 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2902 * gdb.go/handcall.exp: Remove all logic related to the first
2903 breakpoint and rely on go_runto_main instead.
2904 * gdb.go/strings.exp: Likewise.
2905 * gdb.go/unsafe.exp: Likewise.
2906 * gdb.go/hello.exp: Likewise. Also rename the remaining
2907 breakpoint marker to "breakpoint 1".
2908 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2909 * gdb.go/strings.go: Likewise.
2910 * gdb.go/unsafe.go: Likewise.
2911 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2912 "set breakpoint 2 here" and rename the remaining breakpoint marker
2915 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2917 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2918 if itertools.imap is not present.
2919 * gdb.python/py-objfile.exp: Add parentheses.
2920 * gdb.python/py-type.exp: Same.
2921 * gdb.python/py-unwind-maint.py: Same.
2923 2015-04-15 Yao Qi <yao.qi@linaro.org>
2925 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2926 of ":$ptr_size" and set its form explicitly.
2928 2015-04-15 Pedro Alves <palves@redhat.com>
2929 Yao Qi <yao.qi@linaro.org>
2931 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2932 timeout by factor of 4.
2933 (test_regular_watch): Likewise.
2934 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2935 * gdb.reverse/sigall-reverse.exp: Likewise.
2936 * gdb.reverse/until-precsave.exp: Likewise.
2937 * lib/gdb.exp (with_timeout_factor): New proc.
2938 (gdb_expect): Move some code to ...
2939 (get_largest_timeout): ... here. New procedure.
2941 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2943 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2945 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2947 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2948 to write to the .text section.
2950 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2952 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2953 Handle the case of targets that do not provide PID information.
2955 2015-04-13 Yao Qi <yao.qi@linaro.org>
2957 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2958 and use expect instead of gdb_expect.
2960 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2962 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2963 "coredump_var_addr" to avoid naming conflict with other testcases.
2965 2015-04-10 Pedro Alves <palves@redhat.com>
2967 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2968 gdb_test_sequence and gdb_assert.
2970 2015-04-10 Pedro Alves <palves@redhat.com>
2972 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2973 test messages that don't include the breakpoint address.
2975 2015-04-10 Yao Qi <yao.qi@linaro.org>
2977 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2978 false for some offset and width combinations which aren't
2979 supported by linux kernel.
2981 2015-04-10 Pedro Alves <palves@redhat.com>
2983 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2984 procedure, factored out from ...
2985 (top level): ... here. Add "set displaced-stepping" testing axis.
2986 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2987 parameter "displaced". Use it.
2988 (top level): Use foreach and add "set displaced-stepping" testing
2991 2015-04-10 Pedro Alves <palves@redhat.com>
2993 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2995 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2996 both the address of the instruction that triggers the watchpoint
2997 and the address of the instruction immediately after, and use
2998 those addresses for the test. Fix comment.
3000 2015-04-10 Pedro Alves <palves@redhat.com>
3002 * gdb.base/sigstep.exp (breakpoint_to_handler)
3003 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3004 Test "backtrace" in handler.
3005 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3006 (top level): Add new "displaced" test axis to
3007 breakpoint_to_handler, breakpoint_to_handler_entry and
3008 breakpoint_over_handler.
3010 2015-04-10 Pedro Alves <palves@redhat.com>
3013 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3015 2015-04-10 Yao Qi <yao.qi@linaro.org>
3017 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3018 (test_add_rn_pc): New function.
3019 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3020 (top level): Invoke test_add_rn_pc.
3022 2015-04-10 Pedro Alves <palves@redhat.com>
3025 * gdb.base/step-over-no-symbols.exp: New file.
3027 2015-04-09 Andy Wingo <wingo@igalia.com>
3029 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3030 after the Python tests.
3032 2015-04-08 Keith Seitz <keiths@redhat.com>
3035 * gdb.python/py-completion.exp: New tests for completion.
3036 * gdb.python/py-completion.py (CompleteLimit1): New class.
3037 (CompleteLimit2): Likewise.
3038 (CompleteLimit3): Likewise.
3039 (CompleteLimit4): Likewise.
3040 (CompleteLimit5): Likewise.
3041 (CompleteLimit6): Likewise.
3042 (CompleteLimit7): Likewise.
3044 2015-04-08 Pedro Alves <palves@redhat.com>
3048 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3050 (main): Install it as SIGUSR1 handler.
3051 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3052 parameter. Always use "setup" as prefix. Toggle "set
3053 displaced-stepping" off/on depending on global. Don't switch to
3055 (top level): Add displaced stepping "off/on" test axis. Update
3056 "setup" calls. Wrap each subtest with with_test_prefix. Test
3057 continuing with a queued signal in each thread.
3059 2015-04-08 Pedro Alves <palves@redhat.com>
3061 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3062 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3063 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3064 Return early if running to main fails.
3065 * gdb.trace/while-stepping.exp: Likewise.
3067 2015-04-07 Pedro Alves <palves@redhat.com>
3069 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3070 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3071 interact with inferior program.
3073 2015-04-07 Pedro Alves <palves@redhat.com>
3075 * lib/gdb.exp (inferior_spawn_id): New global.
3076 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3077 spawn id after processing the user code.
3078 (default_gdb_start): Set inferior_spawn_id.
3079 (send_inferior): New procedure.
3080 * lib/gdbserver-support.exp (gdbserver_start): Set
3082 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3084 2015-04-07 Pedro Alves <palves@redhat.com>
3086 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3087 * lib/gdbserver-support.exp (gdbserver_start): Make
3088 $server_spawn_id global.
3089 (gdbserver_start): Don't wait for gdbserver's spawn id with
3091 (close_gdbserver): New procedure.
3092 (gdb_exit): Rename the default version and reimplement.
3094 2015-04-07 Pedro Alves <palves@redhat.com>
3096 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3097 append the substituted item, not the original item.
3099 2015-04-07 Pedro Alves <palves@redhat.com>
3101 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3104 2015-04-07 Pedro Alves <palves@redhat.com>
3106 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3107 output appearing once only.
3109 2015-04-07 Pedro Alves <palves@redhat.com>
3111 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3112 that doesn't expect anything. Return early if running to main
3115 2015-04-07 Yao Qi <yao.qi@linaro.org>
3117 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3118 (child_function): Call alarm.
3119 (main): Move call to alarm into the loop.
3120 * gdb.threads/non-stop-fair-events.exp: Build program with
3123 2015-04-06 Doug Evans <xdje42@gmail.com>
3125 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3126 Fix dest parameter to board_info.
3127 (fpc_compile): Ditto.
3128 (gdb_compile_pascal): Rename dest arg to destfile.
3130 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3132 * gdb.ada/funcall_ref.exp: New file.
3133 * gdb.ada/funcall_ref/foo.adb: New file.
3135 2015-04-02 Yao Qi <yao.qi@linaro.org>
3137 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3140 2015-04-02 Gary Benson <gbenson@redhat.com>
3142 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3144 2015-04-01 Sasha Smundak <asmundak@google.com>
3146 * gdb.python/py-unwind-maint.c: New file.
3147 * gdb.python/py-unwind-maint.exp: New test.
3148 * gdb.python/py-unwind-maint.py: New file.
3149 * gdb.python/py-unwind.c: New file.
3150 * gdb.python/py-unwind.exp: New test.
3151 * gdb.python/py-unwind.py: New test.
3153 2015-04-01 Pedro Alves <palves@redhat.com>
3155 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3156 to fail instead of non-existent $test.
3158 2015-04-01 Pedro Alves <palves@redhat.com>
3160 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3161 GDBFLAGS if not empty.
3163 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3165 * gdb.ada/complete.exp: Remove "multi_line".
3166 * gdb.ada/info_exc.exp: Remove "multi_line".
3167 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3168 * gdb.ada/ptype_field.exp: Remove "multi_line".
3169 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3170 * gdb.ada/tagged.exp: Remove "multi_line".
3171 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3173 * gdb.btrace/delta.exp: Likewise.
3174 * gdb.btrace/exception.exp: Likewise.
3175 * gdb.btrace/function_call_history.exp: Likewise.
3176 * gdb.btrace/instruction_history.exp: Likewise.
3177 * gdb.btrace/nohist.exp: Likewise.
3178 * gdb.btrace/record_goto.exp: Likewise.
3179 * gdb.btrace/segv.exp: Likewise.
3180 * gdb.btrace/stepi.exp: Likewise.
3181 * gdb.btrace/tailcall.exp: Likewise.
3182 * gdb.btrace/unknown_functions.exp: Likewise.
3183 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3184 * lib/gdb.exp: Add the "multi_line" helper.
3186 2015-04-01 Pedro Alves <palves@redhat.com>
3188 * gdb.threads/tid-reuse.c: New file.
3189 * gdb.threads/tid-reuse.exp: New file.
3191 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3194 * gdb.base/coredump-filter.c: New file.
3195 * gdb.base/coredump-filter.exp: Likewise.
3197 2015-03-27 Petr Machata <pmachata@redhat.com>
3199 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3200 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3201 (Dwarf::assemble): Initialize them.
3202 (Dwarf::lines): New function.
3204 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3206 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3207 SYMBOL_PREFIX for x86_64-*-cygwin.
3209 2015-03-26 Andy Wingo <wingo@igalia.com>
3212 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3213 const_value but not a location.
3214 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3215 location defined in non-main CUs are visible.
3217 2015-03-26 Yao Qi <yao.qi@linaro.org>
3220 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3221 Add a line number entry for the same line.
3222 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3223 Add a line number entry for the same line.
3225 2015-03-26 Yao Qi <yao.qi@linaro.org>
3227 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3229 (func): Likewise. Add .Lfunc_1 label.
3231 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3236 2015-03-26 Yao Qi <yao.qi@linaro.org>
3238 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3239 Call gdb_compile instead to compile each .s files without debug
3242 2015-03-26 Yao Qi <yao.qi@linaro.org>
3244 * gdb.base/savedregs.exp (process_saved_regs): Make
3245 "Saved registers:" optional in the pattern.
3247 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3249 * gdb.btrace/next.exp: Merged into step.exp.
3250 * gdb.btrace/finish.exp: Merged into step.exp.
3251 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3252 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3253 "record goto" and checking the exact replay position.
3254 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3255 check for "Recording format" in "info record" output.
3256 * gdb.btrace/record_goto.exp: Choose test file based on target.
3257 * gdb.btrace/x86-record_goto.S: Renamed into ...
3258 * gdb.btrace/x86_64-record_goto.S: ... this.
3259 * gdb.btrace/i686-record_goto.S: New.
3260 * gdb.btrace/x86-tailcall.S: Renamed into ...
3261 * gdb.btrace/x86_64-tailcall.S: ... this.
3262 * gdb.btrace/i686-tailcall.S: New.
3263 * gdb.btrace/x86-tailcall.c: Renamed into ...
3264 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3265 separate statements. Update test.
3266 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3267 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3268 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3269 * gdb.btrace/tailcall.exp: Choose test file based on target.
3270 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3272 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3274 * gdb.btrace/exception.exp: Increase BTS buffer size.
3276 2015-03-24 Pedro Alves <palves@redhat.com>
3278 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3280 2015-03-24 Pedro Alves <palves@redhat.com>
3282 * gdb.threads/schedlock.exp (test_step): No longer expect that
3283 "set scheduler-locking step" with "next" over a function call runs
3286 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3288 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3290 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3292 PR breakpoints/16466
3293 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3294 * gdb.mi/mi-pending.c (thread_func): New function.
3295 (int main): Add threading support required.
3296 * gdb.mi/mi-pending.exp: Add tests for this issue.
3297 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3298 (pendfunc2): Remove stdio dependency.
3299 * gdb.mi/mi-pendshr2.c: New file.
3301 2015-03-23 Keith Seitz <keiths@redhat.com>
3303 * gdb.linespec/keywords.c: New file.
3304 * gdb.linespec/keywords.exp: New file.
3306 2015-03-23 Keith Seitz <keiths@redhat.com>
3309 * gdb.dwarf2/staticvirtual.exp: New test.
3311 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3313 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3314 * README: Remove HP-UX and gdb.hp.
3316 * configure: Regenerate.
3317 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3318 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3319 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3320 gdb.hp/gdb.defects/Makefile.
3321 * gdb.hp/Makefile.in: File deleted.
3322 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3323 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3324 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3325 * gdb.hp/gdb.aCC/run.c: File deleted.
3326 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3327 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3328 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3329 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3330 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3331 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3332 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3333 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3334 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3335 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3336 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3337 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3338 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3339 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3340 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3341 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3342 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3343 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3344 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3345 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3346 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3347 * gdb.hp/gdb.compat/average.c: File deleted.
3348 * gdb.hp/gdb.compat/sum.c: File deleted.
3349 * gdb.hp/gdb.compat/xdb.c: File deleted.
3350 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3351 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3352 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3353 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3354 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3355 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3356 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3357 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3358 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3359 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3360 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3361 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3362 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3363 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3364 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3365 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3366 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3367 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3368 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3369 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3370 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3371 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3372 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3373 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3374 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3375 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3376 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3377 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3378 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3379 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3380 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3381 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3382 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3383 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3384 * gdb.hp/tools/odump: File deleted.
3386 2015-03-19 Pedro Alves <palves@redhat.com>
3388 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3389 (saw_thread_3): New globals.
3390 (top level): Increment them when an event for the corresponding
3392 (no thread starvation): New test.
3394 2015-03-19 Pedro Alves <palves@redhat.com>
3396 * gdb.threads/continue-pending-status.c: New file.
3397 * gdb.threads/continue-pending-status.exp: New file.
3399 2015-03-18 Pedro Alves <palves@redhat.com>
3401 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3402 Use gdb_is_target_remote instead of is_remote. Use
3403 gdb_test_multiple instead of gdb_expect. Exit early if
3404 gdb_test_multiple hits its internal matches. Tighten stepi tests
3405 expected output. Fail on exit with any signal, instead of just
3408 2015-03-18 Yao Qi <yao.qi@linaro.org>
3411 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3413 * gdb.base/catch-syscall.exp: Don't skip it on
3414 aarch64*-*-linux* target. Remove elements in all_syscalls.
3415 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3417 (setup_all_syscalls): New proc.
3419 2015-03-16 Yao Qi <yao.qi@linaro.org>
3421 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3422 (top level): Skip tests if valid_addr_p returns false for
3425 2015-03-11 Andy Wingo <wingo@igalia.com>
3427 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3429 2015-03-11 Yao Qi <yao.qi@linaro.org>
3431 * gdb.base/catch-syscall.exp: Fix typo in comments.
3433 2015-03-11 Yao Qi <yao.qi@linaro.org>
3435 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3437 2015-03-09 Pedro Alves <palves@redhat.com>
3439 * dg-extract-results.py: Delete.
3441 2015-03-09 Pedro Alves <palves@redhat.com>
3443 Merge dg-extract-results.sh from GCC upstream (r218843).
3445 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3446 * dg-extract-results.sh: Use --text with grep to avoid issues with
3447 binary files. Fall back to cat -v, if that doesn't work.
3449 2015-03-05 Pedro Alves <palves@redhat.com>
3451 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3453 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3455 * lib/mi-support.exp (mi_expect_interrupt): Accept
3456 alternative event for when in all-stop mode.
3458 2015-03-04 Pedro Alves <palves@redhat.com>
3460 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3462 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3464 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3466 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3468 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3469 regexps for GDB's current line display, accept a hex address
3470 preceding the line number.
3472 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3474 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3475 the 'arch1' variable for "s390*-linux*" targets.
3477 2015-03-04 Pedro Alves <palves@redhat.com>
3479 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3480 (main): Pass missing retval argument to pthread_join call.
3482 2015-03-02 Pedro Alves <palves@redhat.com>
3484 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3485 (top level): Call do_test with non-stop as well.
3487 2015-03-02 Pedro Alves <palves@redhat.com>
3489 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3492 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3494 * gdb.arch/s390-vregs.exp: New test.
3495 * gdb.arch/s390-vregs.S: New file.
3497 2015-02-27 Pedro Alves <palves@redhat.com>
3499 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3500 call to catch_command_errors.
3501 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3502 catch_command_errors.
3504 2015-02-27 Pedro Alves <palves@redhat.com>
3506 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3507 "true" for boolean result.
3508 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3511 2015-02-27 Pedro Alves <palves@redhat.com>
3513 * lib/unbuffer_output.c: New file.
3514 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3515 (main): Call gdb_unbuffer_output.
3517 2015-02-27 Yao Qi <yao.qi@linaro.org>
3519 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3522 2015-02-26 Doug Evans <dje@google.com>
3524 * gdb.cp/class2.cc (Dbase, D): New classes.
3525 (main): New local delta.
3526 * gdb.cp/class2.exp: Test printing delta.
3527 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3528 (dynbar): New global.
3529 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3531 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3533 * gdb.compile/compile-ifunc.c: New file.
3534 * gdb.compile/compile-ifunc.exp: New file.
3536 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3538 * gdb.base/structs.exp: Check for correct struct on finish.
3540 2015-02-26 Yao Qi <yao.qi@linaro.org>
3542 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3545 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3547 * gdb.arch/cordic.ko.bz2: New file.
3548 * gdb.arch/cordic.ko.debug.bz2: New file.
3549 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3551 2015-02-25 Yao Qi <yao.qi@linaro.org>
3553 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3554 aarch64*-*-* target.
3556 2015-02-23 Pedro Alves <palves@redhat.com>
3558 * lib/gdb.exp (delete_breakpoints): Rewrite using
3561 2015-02-23 Pedro Alves <palves@redhat.com>
3563 * gdb.base/info-os.c: Include stdlib.h.
3565 2015-02-22 Doug Evans <xdje42@gmail.com>
3568 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3569 is read after symbols have been re-read.
3570 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3571 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3573 2015-02-21 Doug Evans <dje@google.com>
3575 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3577 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3580 * gdb.arch/i386-biarch-core.core.bz2: New file.
3581 * gdb.arch/i386-biarch-core.exp: New file.
3583 2015-02-21 Pedro Alves <palves@redhat.com>
3585 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3588 2015-02-20 Pedro Alves <palves@redhat.com>
3590 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3593 2015-02-20 Pedro Alves <palves@redhat.com>
3595 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3597 2015-02-20 Pedro Alves <palves@redhat.com>
3599 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3600 clean_restart before gdb_target_supports_trace.
3602 2015-02-20 Pedro Alves <palves@redhat.com>
3605 * gdb.threads/clone-thread_db.c: New file.
3606 * gdb.threads/clone-thread_db.exp: New file.
3608 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3610 PR breakpoints/16812
3611 * gdb.base/catch-gdb-caused-signals.c: New file.
3612 * gdb.base/catch-gdb-caused-signals.exp: New file.
3614 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3616 * configure: Regenerated.
3617 * configure.ac: Use GDB_AC_TRANSFORM.
3618 * aclocal.m4: sinclude ../transform.m4.
3620 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3622 * lib/dtrace.exp: New file.
3623 * gdb.base/dtrace-probe.exp: Likewise.
3624 * gdb.base/dtrace-probe.d: Likewise.
3625 * gdb.base/dtrace-probe.c: Likewise.
3626 * lib/pdtrace.in: Likewise.
3627 * configure.ac: Output variables with the transformed names of
3628 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3629 * configure: Regenerated.
3631 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3633 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3634 expected message when trying to access $_probe_* convenience
3635 variables while not on a probe.
3637 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3639 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3641 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3643 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3644 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3646 2015-02-10 Doug Evans <xdje42@gmail.com>
3648 * lib/gdb.exp (gdb_load): Always return a result.
3650 2015-02-10 Pedro Alves <palves@redhat.com>
3652 * gdb.threads/signal-sigtrap.c: New file.
3653 * gdb.threads/signal-sigtrap.exp: New file.
3655 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3657 * gdb.trace/no-attach-trace.c: New file.
3658 * gdb.trace/no-attach-trace.exp: New file.
3660 2015-02-09 Mark Wielaard <mjw@redhat.com>
3662 * gdb.dwarf2/atomic.c: New file.
3663 * gdb.dwarf2/atomic-type.exp: Likewise.
3665 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3667 * gdb.btrace/buffer-size.exp: Update "info record" output.
3668 * gdb.btrace/delta.exp: Update "info record" output.
3669 * gdb.btrace/enable.exp: Update "info record" output.
3670 * gdb.btrace/finish.exp: Update "info record" output.
3671 * gdb.btrace/instruction_history.exp: Update "info record" output.
3672 * gdb.btrace/next.exp: Update "info record" output.
3673 * gdb.btrace/nexti.exp: Update "info record" output.
3674 * gdb.btrace/step.exp: Update "info record" output.
3675 * gdb.btrace/stepi.exp: Update "info record" output.
3676 * gdb.btrace/nohist.exp: Update "info record" output.
3678 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3680 * gdb.btrace/buffer-size: New.
3682 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3684 * gdb.btrace/delta.exp: Update "info record" output.
3685 * gdb.btrace/enable.exp: Update "info record" output.
3686 * gdb.btrace/finish.exp: Update "info record" output.
3687 * gdb.btrace/instruction_history.exp: Update "info record" output.
3688 * gdb.btrace/next.exp: Update "info record" output.
3689 * gdb.btrace/nexti.exp: Update "info record" output.
3690 * gdb.btrace/step.exp: Update "info record" output.
3691 * gdb.btrace/stepi.exp: Update "info record" output.
3692 * gdb.btrace/nohist.exp: Update "info record" output.
3694 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3697 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3699 2015-02-06 Pedro Alves <palves@redhat.com>
3701 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3703 (seconds_left, again): New globals.
3704 (main): Wait seconds_left in a 1-second sleep loop instead of
3705 sleeping 180 seconds. If 'again' is set, reset the seconds
3707 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3708 'again' in the inferior before detaching. Print the seconds left.
3709 (options): New global.
3710 (top level): Build program with -DTIMEOUT=$timeout.
3712 2015-02-06 Pedro Alves <palves@redhat.com>
3714 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3715 determine how many seconds to pass to 'alarm'.
3716 * gdb.base/gdb-sigterm.exp (top level): Build program with
3718 (do_test): Return success/failure indication. Add more verbose
3719 logging. Don't fail if 200 single steps are seen. Instead, fail
3720 when the test times out.
3721 (passes): New global.
3722 (top level): Break the testing loop if testing fails on any
3723 iteration. Use gdb_assert.
3725 2015-02-04 Don Breazeal <donb@codesourcery.com>
3727 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3728 and initialize them.
3729 (ipc_cleanup): New function.
3730 (main): Don't declare shmid, semid, and msqid. Add a call to
3731 atexit so that we call ipc_cleanup on exit.
3733 2015-02-04 Pedro Alves <palves@redhat.com>
3735 * boards/native-extended-gdbserver.exp: Remove any target variant
3736 specifications from the board name before clearing the isremote
3737 flag from board_info.
3739 2015-01-31 Doug Evans <xdje42@gmail.com>
3741 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3743 2015-01-31 Gary Benson <gbenson@redhat.com>
3745 * gdb.base/completion.exp: Disable completion limiting for
3746 existing tests. Add new tests to check completion limiting.
3747 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3749 2015-01-31 Doug Evans <xdje42@gmail.com>
3751 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3753 2015-01-31 Doug Evans <xdje42@gmail.com>
3755 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3756 entries. Duplicate file section script entries.
3757 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3758 inlined entries. Add test for safe-path rejection.
3759 * gdb.python/py-section-script.c: Add duplicate inlined section script
3760 entries. Duplicate file section script entries.
3761 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3762 inlined entries. Add test for safe-path rejection.
3764 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3766 * gdb.ada/disc_arr_bound: New testcase.
3768 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3770 * gdb.ada/mi_var_array: New testcase.
3772 2015-01-27 Doug Evans <dje@google.com>
3774 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3775 Add test for objfile.filename, objfile.username after objfile
3778 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3780 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3781 the second test to print the name attribute of value
3782 returned by the call to gdb.lookup_type, and adjust
3783 the expected output accordingly.
3785 2015-01-25 Mark Wielaard <mjw@redhat.com>
3787 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3788 * gdb.base/disp-step-fork.c: Include unistd.h.
3789 * gdb.base/siginfo-obj.c: Include stdio.h.
3790 * gdb.base/siginfo-thread.c: Likewise.
3791 * gdb.mi/non-stop.c: Include unistd.h.
3792 * gdb.mi/nsthrexec.c: Include stdio.h.
3793 * gdb.mi/pthreads.c: Include unistd.h.
3794 * gdb.modula2/unbounded1.c (main): Declare returns int.
3795 * gdb.reverse/consecutive-reverse.c: Likewise.
3796 * gdb.threads/create-fail.c: Include unistd.h.
3797 * gdb.threads/killed.c: Likewise.
3798 * gdb.threads/linux-dp.c: Likewise.
3799 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3800 * gdb.threads/non-ldr-exc-2.c: Likewise.
3801 * gdb.threads/non-ldr-exc-3.c: Likewise.
3802 * gdb.threads/non-ldr-exc-4.c: Likewise.
3803 * gdb.threads/pthreads.c: Include unistd.h.
3804 (main): Declare returns int.
3805 * gdb.threads/tls-main.c (foo): New declaration.
3806 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3808 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3810 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3811 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3813 2015-01-15 Mark Wielaard <mjw@redhat.com>
3815 * gdb.base/noreturn-return.c: New file.
3816 * gdb.base/noreturn-return.exp: New file.
3817 * gdb.base/noreturn-finish.c: New file.
3818 * gdb.base/noreturn-finish.exp: New file.
3820 2015-01-23 Pedro Alves <palves@redhat.com>
3822 * gdb.threads/continue-pending-after-query.c: New file.
3823 * gdb.threads/continue-pending-after-query.exp: New file.
3825 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3826 Simon Marchi <simon.marchi@ericsson.com>
3828 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3829 * gdb.base/valgrind-db-attach.exp: Same.
3830 * gdb.base/valgrind-infcall.exp: Same.
3831 * lib/mi-support.exp (default_mi_gdb_start): Same.
3832 * lib/prompt.exp (default_prompt_gdb_start): Same.
3833 * lib/gdb.exp (default_gdb_spawn): Same.
3834 (gdb_interact): New.
3837 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3839 * gdb.compile/compile.exp (pointer to jit function): New test.
3841 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3843 * lib/gdb.exp (supports_process_record): Return true for
3845 (supports_reverse): Likewise.
3847 2015-01-15 Don Breazeal <donb@codesourcery.com>
3849 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3850 instead of checking whether the target board is remote and
3851 use spawn_wait_for_attach instead of exec/sleep.
3852 * gdb.base/attach-twice.exp: Likewise.
3854 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3856 * gdb.ada/var_arr_attrs: New testcase.
3858 2015-01-14 Pedro Alves <palves@redhat.com>
3859 Joel Brobecker <brobecker@adacore.com>
3862 * gdb.base/bp-cmds-execution-x-script.c: New file.
3863 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3864 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3866 2015-01-14 Pedro Alves <palves@redhat.com>
3869 * gdb.base/batch-preserve-term-settings.c: New file.
3870 * gdb.base/batch-preserve-term-settings.exp: New file.
3872 2015-01-13 Doug Evans <dje@google.com>
3874 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3877 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3879 * Makefile.in (clean mostlyclean): Do not delete *.py.
3881 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3883 * gdb.python/py-lookup-type.exp: New file.
3885 2015-01-12 Pedro Alves <palves@redhat.com>
3887 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3888 restore GDBFLAGS before returning.
3890 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3892 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3893 is_amd64_regs_target and is_x86_like_target.
3895 2015-01-11 Doug Evans <xdje42@gmail.com>
3897 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3898 is given without an explicit form.
3899 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3901 * gdb.dwarf/corrupt.exp: Ditto.
3902 * gdb.dwarf2/enum-type.exp: Ditto.
3903 * gdb.trace/entry-values.exp: Ditto.
3904 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3906 2015-01-11 Doug Evans <xdje42@gmail.com>
3909 * gdb.base/maint.exp: Remove references to "maint demangle".
3910 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3911 Add tests for explicitly specifying language to demangle.
3912 * gdb.dlang/demangle.exp: Ditto.
3914 2015-01-09 Pedro Alves <palves@redhat.com>
3916 * gdb.threads/non-stop-fair-events.c: New file.
3917 * gdb.threads/non-stop-fair-events.exp: New file.
3919 2015-01-09 Pedro Alves <palves@redhat.com>
3921 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3922 the global scope. Set a breakpoint after all threads are started
3923 rather than stepping over two source lines. Expect the prompt.
3924 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3927 (main): Use threads_started_barrier to wait for all threads to
3928 start. Main thread no longer calls thread_function. Exit after
3930 (loop): New function.
3931 (thread_function): Wait on threads_started_barrier barrier. Call
3932 'loop' at each iteration.
3933 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3934 threads have started, instead of hardcoding number of "next"
3935 steps. Use an access watchpoint instead of a write watchpoint.
3937 2015-01-09 Pedro Alves <palves@redhat.com>
3939 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3940 (thread_func): Wait on barrier.
3941 (main): Wait for all threads to start before stopping GDB.
3942 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3944 (thread1_func, thread2_func): Wait on barrier.
3945 (main): Wait for all threads to start before stopping GDB.
3946 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3948 (thread1_func, thread2_func): Wait on barrier.
3949 (main): Wait for all threads to start before stopping GDB.
3951 2015-01-09 Pedro Alves <palves@redhat.com>
3953 * gdb.threads/attach-many-short-lived-threads.c: New file.
3954 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3956 2014-01-09 Pedro Alves <palves@redhat.com>
3958 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3959 instead of to thread 2.
3960 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3961 Add barrier around each pthread_create call instead of around all
3963 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3964 Set a break on thread_function and have the child threads hit it
3967 2015-01-09 Pedro Alves <palves@redhat.com>
3969 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3970 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3972 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3973 checking whether the target board is remote.
3974 * gdb.multi/multi-attach.exp: Likewise.
3975 * gdb.python/py-sync-interp.exp: Likewise.
3976 * gdb.server/ext-attach.exp: Likewise.
3977 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3978 tests that need to attach, instead of checking whether the target
3979 board is remote at the top of the file.
3981 2015-01-08 Yao Qi <yao@codesourcery.com>
3983 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3985 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3987 Fix testcase compilation.
3988 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3990 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3992 * gdb.python/py-type.exp: Add a couple test about empty
3993 array creation, and negative-length array creation.
3995 2015-01-02 Doug Evans <xdje42@gmail.com>
3997 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3999 2015-01-02 Doug Evans <dje@google.com>
4001 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4003 2014-12-29 Yao Qi <yao@codesourcery.com>
4005 * gdb.trace/entry-values.exp: Update comments. Rename variable
4006 bar_call_foo to returned_from_foo.
4008 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4011 * gdb.linespec/break-asm-file.c: New file.
4012 * gdb.linespec/break-asm-file.exp: New file.
4013 * gdb.linespec/break-asm-file0.s: New file.
4014 * gdb.linespec/break-asm-file1.s: New file.
4016 2014-12-18 Nigel Stephens <nigel@mips.com>
4017 Maciej W. Rozycki <macro@codesourcery.com>
4019 * gdb.base/float.exp: Handle the new output from "info float" on
4022 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4024 Fix MinGW compilation.
4025 * gdb.compile/compile-ops.exp: Update untested message if
4026 !skip_compile_feature_tests.
4027 * gdb.compile/compile-setjmp.exp: Likewise.
4028 * gdb.compile/compile-tls.exp: Likewise.
4029 * gdb.compile/compile.exp: Likewise.
4030 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4031 supported on this host".
4033 2014-12-16 Doug Evans <xdje42@gmail.com>
4035 * boards/stabs.exp: New file.
4037 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4039 * gdb.base/completion.exp: Adjust to format changes of "maint
4040 print user-registers".
4042 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4045 * gdb.arch/aarch64-fp.c: New file.
4046 * gdb.arch/aarch64-fp.exp: New file.
4048 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4050 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4051 r210637, r210913, r211666, r215400, r215817).
4053 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4054 * dg-extract-results.py: New file.
4055 * dg-extract-results.sh: Use it if the environment seems
4058 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4060 * dg-extract-results.py (parse_run): Handle warnings that
4061 are printed before a test harness is run.
4063 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4065 * dg-extract-results.py (Named): Remove __cmp__ method.
4066 (output_variation): Use a key to sort variation.harnesses.
4068 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4070 * dg-extract-results.py: For Python 3, force sys.stdout to
4071 handle surrogate escape sequences.
4072 (safe_open): New function.
4073 (output_segment, main): Use it.
4075 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4077 * dg-extract-results.py (Prog.result_re): Include options
4080 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4082 * dg-extract-results.py (output_variation): Always sort if
4085 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4087 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4088 as long as we get pagination notifications.
4090 2014-12-15 Jason Merrill <jason@redhat.com>
4092 * Makefile.in (check-gdb.%): Restore.
4093 * README: Mention it.
4095 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4097 * gdb.ada/str_uninit: New testcase.
4099 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4102 * gdb.base/vla-stub-define.c: New file.
4103 * gdb.base/vla-stub.c: New file.
4104 * gdb.base/vla-stub.exp: New file.
4106 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4107 Jan Kratochvil <jan.kratochvil@redhat.com>
4108 Tom Tromey <tromey@redhat.com>
4110 * configure.ac: Add gdb.compile/.
4111 * configure: Regenerate.
4112 * gdb.compile/Makefile.in: New file.
4113 * gdb.compile/compile-ops.exp: New file.
4114 * gdb.compile/compile-ops.c: New file.
4115 * gdb.compile/compile-tls.c: New file.
4116 * gdb.compile/compile-tls.exp: New file.
4117 * gdb.compile/compile-constvar.S: New file.
4118 * gdb.compile/compile-constvar.c: New file.
4119 * gdb.compile/compile-mod.c: New file.
4120 * gdb.compile/compile-nodebug.c: New file.
4121 * gdb.compile/compile-setjmp-mod.c: New file.
4122 * gdb.compile/compile-setjmp.c: New file.
4123 * gdb.compile/compile-setjmp.exp: New file.
4124 * gdb.compile/compile-shlib.c: New file.
4125 * gdb.compile/compile.c: New file.
4126 * gdb.compile/compile.exp: New file.
4127 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4129 2014-12-12 Tom Tromey <tromey@redhat.com>
4131 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4132 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4134 2014-12-12 Doug Evans <dje@google.com>
4136 * lib/gdb-python.exp (get_python_valueof): New function.
4137 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4139 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4141 * gdb.base/completion.exp: Add test for completion of "info
4144 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4146 * gdb.base/func-ptrs.c: New file.
4147 * gdb.base/func-ptrs.exp: New file.
4149 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4151 PR breakpoints/17012
4152 * gdb.base/dprintf-detach.c: New file.
4153 * gdb.base/dprintf-detach.exp: New file.
4155 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4157 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4158 * lib/gdb.exp (target_is_gdbserver): New procedure.
4160 2014-12-08 Doug Evans <dje@google.com>
4162 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4164 2014-12-05 Yao Qi <yao@codesourcery.com>
4166 * gdb.guile/scm-error.exp: Remove the third argument to
4167 gdb_remote_download.
4168 * gdb.guile/scm-frame-args.exp: Likewise.
4169 * gdb.guile/scm-section-script.exp: Likewise.
4171 2014-12-05 Yao Qi <yao@codesourcery.com>
4173 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4175 2014-12-04 Doug Evans <dje@google.com>
4177 * gdb.python/py-objfile.exp: Add tests for
4178 objfile.add_separate_debug_file.
4180 2014-12-04 Doug Evans <dje@google.com>
4182 * lib/gdb.exp (get_build_id): New function.
4183 (build_id_debug_filename_get): Rewrite to use it.
4184 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4186 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4188 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4189 `method(long)', not just 0x0.
4190 * gdb.cp/nsalias.exp: Align code labels to 4.
4191 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4192 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4193 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4194 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4195 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4196 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4198 2014-12-02 Doug Evans <dje@google.com>
4201 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4202 * gdb.cp/anon-ns2.cc: ... here. New file.
4203 * gdb.cp/anon-ns.exp: Update.
4205 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4207 * gdb.python/py-events.py (inferior_call_handler): New.
4208 (register_changed_handler, memory_changed_handler): New.
4209 (test_events.invoke): Register new handlers.
4210 * gdb.python/py-events.exp: Add tests for inferior call,
4211 memory_changed and register_changed events.
4213 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4216 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4217 if the linker doesn't understand this.
4219 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4221 * gdb.python/python.exp: Change expected reply to help().
4223 2014-12-01 Yao Qi <yao@codesourcery.com>
4225 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4226 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4227 * configure: Re-generated.
4229 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4231 * gdb.cp/chained-calls.cc: New file.
4232 * gdb.cp/chained-calls.exp: New file.
4233 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4235 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4237 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4238 * gdb.dwarf2/symtab-producer.exp: Same.
4239 * gdb.gdb/python-interrupts.exp: Same.
4240 * gdb.gdb/python-selftest.exp: Same.
4241 * gdb.python/py-linetable.exp: Same.
4242 * gdb.python/py-type.exp: Same.
4243 * gdb.python/py-value-cc.exp: Same.
4244 * gdb.python/py-value.exp: Same.
4246 2014-11-28 Yao Qi <yao@codesourcery.com>
4248 * gdb.base/break-probes.exp: Match library name prefixed with
4251 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4253 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4254 test expected output. Add parentheses for the call to print.
4255 Remove L suffix from integers.
4257 2014-11-26 Doug Evans <dje@google.com>
4259 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4261 2014-11-22 Yao Qi <yao@codesourcery.com>
4263 * gdb.trace/entry-values.c: Remove asms.
4264 (foo): Add foo_label.
4265 (bar): Add bar_label.
4266 * gdb.trace/entry-values.exp: Remove code computing foo's
4267 length and bar's length.
4268 (Dwarf::assemble): Invoke function_range for bar and use
4269 MACRO_AT_func for foo.
4271 2014-11-22 Yao Qi <yao@codesourcery.com>
4273 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4274 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4275 Use .Lgcc43_procstart instead of gcc43.
4277 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4279 * gdb.ada/n_arr_bound: New testcase.
4281 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4283 PR breakpoints/10737
4284 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4285 test_catch_syscall_multi_arch.
4286 (test_catch_syscall_multi_arch): New function.
4288 2014-11-20 Doug Evans <xdje42@gmail.com>
4290 * gdb.base/maint.exp: Update expected output.
4292 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4294 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4295 4-byte instruction on S390.
4297 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4299 * gdb.ada/arr_arr: New testcase.
4301 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4303 * gdb.ada/pkd_arr_elem: New Testcase.
4305 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4307 * gdb.reverse/break-precsave: Expect completion message for
4309 * gdb.reverse/consecutive-precsave.exp: Likewise.
4310 * gdb.reverse/finish-precsave.exp: Likewise.
4311 * gdb.reverse/i386-precsave.exp: Likewise.
4312 * gdb.reverse/machinestate-precsave.exp: Likewise.
4313 * gdb.reverse/sigall-precsave.exp: Likewise.
4314 * gdb.reverse/solib-precsave.exp: Likewise.
4315 * gdb.reverse/step-precsave.exp: Likewise.
4316 * gdb.reverse/until-precsave.exp: Likewise.
4317 * gdb.reverse/watch-precsave.exp: Likewise.
4319 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4321 * gdb.base/bp-permanent.c: Include unistd.h.
4322 * gdb.python/py-framefilter-mi.c (main): Add return type.
4323 * gdb.python/py-framefilter.c (main): Likewise.
4324 * gdb.trace/actions-changed.c (main): Likewise.
4326 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4328 * gdb.mi/until.c: Add eye-catchers.
4329 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4332 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4334 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4335 function header variants in break1.c.
4336 * gdb.base/ena-dis-br.exp: Likewise.
4337 * gdb.base/hbreak2.exp: Likewise.
4338 * gdb.reverse/until-precsave.exp: Drop references to removed
4339 non-prototype function header variants in ur1.c.
4340 * gdb.reverse/until-reverse.exp: Likewise.
4342 2014-11-17 Petr Machata <pmachata@redhat.com>
4344 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4345 ${_cu_offset_size} bytes abbrev offset.
4347 2014-11-15 Doug Evans <xdje42@gmail.com>
4350 * gdb.base/line-symtabs.exp: New file.
4351 * gdb.base/line-symtabs.c: New file.
4352 * gdb.base/line-symtabs.h: New file.
4354 2014-11-14 Yao Qi <yao@codesourcery.com>
4356 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4357 (func): Add label func_label.
4358 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4359 Replace low_pc and high_pc with MACRO_AT_range.
4360 Replace name, low_pc and high_pc with MACRO_AT_func.
4362 2014-11-14 Yao Qi <yao@codesourcery.com>
4364 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4365 Replace name, low_pc and high_pc with MACRO_AT_func.
4367 2014-11-14 Yao Qi <yao@codesourcery.com>
4369 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4370 produce debug information.
4371 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4373 2014-11-14 Yao Qi <yao@codesourcery.com>
4375 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4376 object and get function length.
4377 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4379 (top-level): Replace gdb_compile and clean_restart with
4380 prepare_for_testing.
4381 * gdb.dwarf2/main.c (main): Add label main_label.
4383 2014-11-14 Yao Qi <yao@codesourcery.com>
4385 * lib/dwarf.exp (function_range): New procedure.
4386 (Dwarf::_handle_macro_at_func): New procedure.
4387 (Dwarf::_handle_macro_at_range): New procedure.
4388 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4390 2014-11-14 Yao Qi <yao@codesourcery.com>
4392 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4393 (_handle_attribute): New procedure.
4395 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4397 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4398 * gdb.base/call-sc.c (zed): Likewise.
4399 * gdb.base/checkpoint.c (main): Likewise.
4400 * gdb.base/dump.c (main): Likewise.
4401 * gdb.base/gcore.c (main): Likewise.
4402 * gdb.base/huge.c (main): Likewise.
4403 * gdb.base/multi-forks.c (main): Likewise.
4404 * gdb.base/pr10179-a.c (main): Likewise.
4405 * gdb.base/savedregs.c (main): Likewise.
4406 * gdb.base/sigaltstack.c (main): Likewise.
4407 * gdb.base/siginfo.c (main): Likewise.
4408 * gdb.base/structs.c (zed): Likewise.
4409 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4410 * gdb.mi/mi-syn-frame.c (main): Likewise.
4411 * gdb.mi/until.c (foo, main): Likewise.
4412 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4413 * gdb.base/solib-weak.c (foo): Declare.
4414 * gdb.base/attach-twice.c: Include stdio.h.
4415 * gdb.base/weaklib1.c: Likewise.
4416 * gdb.base/weaklib2.c: Likewise.
4417 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4418 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4420 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4421 * gdb.mi/mi-exit-code.c: Likewise.
4422 * gdb.base/break-interp-lib.c: Include string.h.
4423 * gdb.base/coremaker.c: Likewise.
4424 * gdb.base/testenv.c: Likewise.
4425 * gdb.python/py-finish-breakpoint.c: Likewise.
4426 * gdb.base/inferior-died.c: Include sys/wait.h.
4427 * gdb.base/fileio.c: Include time.h.
4428 * gdb.base/async-shell.c: Include unistd.h.
4429 * gdb.base/dprintf-non-stop.c: Likewise.
4430 * gdb.base/info-os.c: Likewise.
4431 * gdb.mi/mi-console.c: Likewise.
4432 * gdb.mi/watch-nonstop.c: Likewise.
4433 * gdb.python/py-events.c: Likewise.
4434 * gdb.base/async.c (baz): Move up before its invocation.
4435 * gdb.base/code_elim2.c (my_global_func): Likewise.
4436 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4437 * gdb.base/advance.c (func2): Likewise.
4439 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4441 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4443 * gdb.base/annota3.c: Likewise.
4444 * gdb.base/async.c: Likewise.
4445 * gdb.base/average.c: Likewise.
4446 * gdb.base/call-ar-st.c: Likewise.
4447 * gdb.base/call-rt-st.c: Likewise.
4448 * gdb.base/call-sc.c: Likewise.
4449 * gdb.base/call-strs.c: Likewise.
4450 * gdb.base/ending-run.c: Likewise.
4451 * gdb.base/execd-prog.c: Likewise.
4452 * gdb.base/exprs.c: Likewise.
4453 * gdb.base/foll-exec.c: Likewise.
4454 * gdb.base/foll-fork.c: Likewise.
4455 * gdb.base/foll-vfork.c: Likewise.
4456 * gdb.base/funcargs.c: Likewise.
4457 * gdb.base/gcore.c: Likewise.
4458 * gdb.base/jump.c: Likewise.
4459 * gdb.base/langs0.c: Likewise.
4460 * gdb.base/langs1.c: Likewise.
4461 * gdb.base/langs2.c: Likewise.
4462 * gdb.base/mips_pro.c: Likewise.
4463 * gdb.base/nodebug.c: Likewise.
4464 * gdb.base/opaque0.c: Likewise.
4465 * gdb.base/opaque1.c: Likewise.
4466 * gdb.base/recurse.c: Likewise.
4467 * gdb.base/run.c: Likewise.
4468 * gdb.base/scope0.c: Likewise.
4469 * gdb.base/scope1.c: Likewise.
4470 * gdb.base/setshow.c: Likewise.
4471 * gdb.base/setvar.c: Likewise.
4472 * gdb.base/shmain.c: Likewise.
4473 * gdb.base/shr1.c: Likewise.
4474 * gdb.base/shr2.c: Likewise.
4475 * gdb.base/sigall.c: Likewise.
4476 * gdb.base/signals.c: Likewise.
4477 * gdb.base/so-indr-cl.c: Likewise.
4478 * gdb.base/solib2.c: Likewise.
4479 * gdb.base/structs.c: Likewise.
4480 * gdb.base/sum.c: Likewise.
4481 * gdb.base/vforked-prog.c: Likewise.
4482 * gdb.base/watchpoint.c: Likewise.
4483 * gdb.reverse/shr2.c: Likewise.
4484 * gdb.reverse/until-reverse.c: Likewise.
4485 * gdb.reverse/ur1.c: Likewise.
4486 * gdb.reverse/watch-reverse.c: Likewise.
4488 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4490 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4492 * gdb.base/sepdebug.exp: Drop references to removed code.
4494 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4496 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4497 variant. Preserve original line numbering.
4498 * gdb.base/list1.c: Likewise.
4500 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4504 * gdb.base/break1.c: Likewise.
4505 * gdb.base/break.exp: Drop references to removed code.
4507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4509 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4512 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4514 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4516 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4519 logic into perform_all_tests() and invoke it with and without
4520 function header prototypes.
4521 (do_function_calls): Remove conditional XFAIL for PR 5318.
4522 (rerun_and_prepare): Remove duplicate code.
4523 (perform_all_tests): New. Main logic moved here.
4525 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4527 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4528 code guarded by #ifdef NO_PROTOTYPES.
4529 (t_double_many_args): Likewise.
4530 (DEF_FUNC_MANY_ARGS_1): Likewise.
4531 (DEF_FUNC_VALUES_1): Likewise.
4532 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4533 guarded by #ifdef PROTOTYPES.
4535 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4537 * gdb.mi/mi-console.c: Add eye-catcher.
4538 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4539 instead of literal line number.
4541 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4543 * gdb.base/shr2.c: Add eye-catcher.
4544 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4547 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4549 * gdb.base/jump.c: Add eye-catchers.
4550 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4553 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4555 * gdb.base/execd-prog.c: Add eye-catchers.
4556 * gdb.base/foll-exec.c: Likewise.
4557 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4560 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4562 * gdb.base/ending-run.c: Add eye-catchers.
4563 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4564 literal line numbers.
4566 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4568 * gdb.base/call-rt-st.c: Add eye-catchers.
4569 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4570 literal line numbers.
4572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4574 * gdb.base/call-ar-st.c: Add eye-catchers.
4575 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4576 literal line numbers.
4578 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580 * gdb.base/average.c: Add eye-catchers.
4581 * gdb.base/sum.c: Likewise.
4582 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4583 regexps dynamically.
4585 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4587 * gdb.base/solib1.c: Add eye-catchers.
4588 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4589 literal line numbers.
4591 2014-11-12 Pedro Alves <palves@redhat.com>
4593 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4596 2014-11-12 Pedro Alves <palves@redhat.com>
4598 * gdb.arch/i386-bp_permanent.c: New file.
4599 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4600 (srcfile): Set to i386-bp_permanent.c.
4601 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4602 that stepi does not execute the 'leave' instruction, instead of
4603 testing it does execute.
4604 * gdb.base/bp-permanent.c: New file.
4605 * gdb.base/bp-permanent.exp: New file.
4607 2014-11-10 Doug Evans <xdje42@gmail.com>
4610 * gdb.base/symtab-search-order.exp: New file.
4611 * gdb.base/symtab-search-order.c: New file.
4612 * gdb.base/symtab-search-order-1.c: New file.
4613 * gdb.base/symtab-search-order-shlib-1.c: New file.
4615 2014-11-07 Pedro Alves <palves@redhat.com>
4618 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4621 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4624 * gdb.cp/pr17494.cc: New file.
4625 * gdb.cp/pr17494.exp: New file.
4627 2014-11-02 Yao Qi <yao@codesourcery.com>
4629 * gdb.python/python.exp: Get working directory and match the
4630 output of "set extended-prompt \\w " with it.
4632 2014-10-30 Doug Evans <dje@google.com>
4634 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4636 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4639 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4641 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4642 * gdb.base/realname-expand.exp: Likewise.
4643 * gdb.linespec/macro-relative.exp: Likewise.
4645 2014-10-29 Pedro Alves <palves@redhat.com>
4648 * gdb.threads/schedlock.c (some_function): New function.
4649 (call_function): New global.
4650 (MAYBE_CALL_SOME_FUNCTION): New macro.
4651 (thread_function): Call it.
4652 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4653 and use it instead of a global counter. Adjust all callers.
4654 (get_current_thread): Use "find current thread" for test message
4655 here rather than having all callers pass down the same string.
4656 (goto_loop): New procedure, factored out from ...
4657 (my_continue): ... this.
4658 (step_ten_loops): Change parameter from test message to command to
4660 (list_count): Delete global.
4661 (check_result): New procedure, factored out from duplicate top
4663 (continue tests): Wrap in with_test_prefix.
4664 (test_step): New procedure, factored out from duplicate top level
4666 (top level): Test "step" in combination with all scheduler-locking
4667 modes. Test "next" in combination with all scheduler-locking
4668 modes, and in combination with stepping over a function call or
4670 * gdb.threads/next-bp-other-thread.c: New file.
4671 * gdb.threads/next-bp-other-thread.exp: New file.
4673 2014-10-29 Pedro Alves <palves@redhat.com>
4676 * gdb.python/python.exp: Test a multi-line command that spawns
4678 * gdb.base/multi-line-starts-subshell.exp: New file.
4680 2014-10-29 Yao Qi <yao@codesourcery.com>
4682 * gdb.base/fileio.exp: Make directories on host.
4684 2014-10-29 Yao Qi <yao@codesourcery.com>
4686 * gdb.base/fileio.c (test_write): Close the file.
4688 2014-10-28 Pedro Alves <palves@redhat.com>
4691 * gdb.base/sigstep.c (no_handler): New global.
4692 (main): If 'no_handler is true, set the signal handlers to
4694 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4695 with_sw_watch and no_handler parameters. Handle them.
4696 (top level) <stepping over handler when stopped at a breakpoint
4697 test>: Add a test axis for testing with a software watchpoint, and
4698 another for testing with the signal handler set to SIG_IGN.
4699 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4700 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4702 2014-10-28 Pedro Alves <palves@redhat.com>
4705 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4706 * gdb.base/sigstep.exp (other_handler_location): New global.
4707 (advance): Support stepping into the signal handler, and running
4708 commands while in the handler.
4709 (in_handler_map): New global.
4710 (top level): In the advance test, add combinations for getting
4711 into the handler with stepping commands, and for running commands
4712 in the handler. Add comment descripting the advancei tests.
4714 2014-10-28 Pedro Alves <palves@redhat.com>
4716 * gdb.base/sigstep.exp: Use build_executable instead of
4717 prepare_for_testing.
4718 (top level): Move code that starts GDB, runs to main and creates a
4720 (restart): ... this new procedure.
4721 (top level): Move backtrace from signal handler test to ...
4722 (validate_backtrace): ... this new procedure.
4723 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4724 with_test_prefix. Always restart GDB.
4725 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4726 with_test_prefix. Always restart GDB. No need to delete
4727 breakpoints after the test.
4728 (test_skip_handler): Remove prefix parameter.
4729 (skip_over_handler, breakpoint_to_handler)
4730 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4731 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4732 restart GDB. No need to delete breakpoints after the test.
4733 (top level): Use foreach to call the test procedures with
4736 2014-10-28 Pedro Alves <palves@redhat.com>
4738 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4739 instead of GNATS numbers.
4740 * gdb.base/sigbpt.exp: Likewise.
4741 * gdb.base/siginfo.exp: Likewise.
4742 * gdb.base/sigstep.exp: Likewise.
4744 2014-10-27 Pedro Alves <palves@redhat.com>
4746 * gdb.base/sigstep.c (dummy): New global.
4747 (main): Issue a couple writes to the new global.
4748 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4750 (skip_over_handler): Use test_skip_handler.
4751 (top level): Call skip_over_handler for stepi and nexti too.
4752 (breakpoint_over_handler): Use test_skip_handler.
4753 (top level): Call breakpoint_over_handler for stepi and nexti too.
4755 2014-10-27 Yao Qi <yao@codesourcery.com>
4757 * gdb.trace/tfile.c (adjust_function_address)
4758 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4759 function descriptor.
4761 2014-10-24 Don Breazeal <donb@codesourcery.com>
4763 * gdb.base/foll-fork.exp (test_follow_fork,
4764 catch_fork_child_follow): Check for updated fork messages emitted
4766 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4767 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4768 vfork_and_exec_child_follow_through_step): Check for updated vfork
4769 messages emitted from infrun.c.
4771 2014-10-24 Pedro Alves <palves@redhat.com>
4773 * gdb.base/corefile.exp: Remove references to ultrix.
4774 * gdb.base/interrupt.exp: Likewise.
4775 * gdb.base/whatis.exp: Likewise.
4776 * gdb.gdb/selftest.exp: Likewise.
4777 * gdb.threads/manythreads.exp: Likewise.
4778 * gdb.threads/print-threads.exp: Likewise.
4779 * gdb.threads/pthreads.exp:: Likewise.
4780 * gdb.threads/schedlock.exp: Likewise.
4782 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4784 * gdb.cp/non-trivial-retval.cc: Add a test case.
4785 * gdb.cp/non-trivial-retval.exp: Add a test.
4787 2014-10-20 Yao Qi <yao@codesourcery.com>
4789 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4790 * gdb.python/py-objfile-script-gdb.py: New file.
4791 * gdb.python/py-objfile-script.exp: Update reference to
4792 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4793 of remote_download. Remove the dest file.
4795 2014-10-20 Yao Qi <yao@codesourcery.com>
4797 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4798 * gdb.base/step-line.exp: Likewise.
4799 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4800 * gdb.dwarf2/dw2-basic.exp: Likewise.
4801 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4802 * gdb.dwarf2/dw2-filename.exp: Likewise.
4803 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4804 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4805 * gdb.dwarf2/dw2-producer.exp: Likewise.
4806 * gdb.dwarf2/mac-fileno.exp: Likewise.
4807 * gdb.python/py-frame-args.exp: Likewise.
4808 * gdb.python/py-framefilter.exp: Likewise.
4809 * gdb.python/py-mi.exp: Likewise.
4810 * gdb.python/py-objfile-script.exp: Likewise
4811 * gdb.python/py-pp-integral.exp: Likewise.
4812 * gdb.python/py-pp-re-notag.exp: Likewise.
4813 * gdb.python/py-prettyprint.exp: Likewise.
4814 * gdb.python/py-section-script.exp: Likewise.
4815 * gdb.python/py-typeprint.exp: Likewise.
4816 * gdb.python/py-xmethods.exp: Likewise.
4817 * gdb.stabs/weird.exp: Likewise.
4818 * gdb.xml/tdesc-regs.exp: Likewise.
4820 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4822 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4823 (out_cu): Use addr_len for the size of addresses.
4824 (out_line): Likewise. Size DW_LNE_set_address instruction
4825 according to addr_len.
4826 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4827 (FUNC): Add START_INSNS to definition.
4829 2014-10-18 Yao Qi <yao@codesourcery.com>
4831 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4832 gdb_has_argv0 return true.
4833 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4834 check [target_info exists noargs], check [gdb_has_argv0]
4836 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4837 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4840 2014-10-17 Doug Evans <dje@google.com>
4842 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4844 * gdb.python/py-events.py: Add clear_objfiles event.
4846 2014-10-17 Doug Evans <dje@google.com>
4848 * gdb.python/py-objfile.exp: Test progspace attribute.
4850 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4852 * gdb.guile/scm-breakpoint.exp: Do not assume any
4853 directory separators when matching source file paths.
4854 * gdb.python/py-breakpoint.exp: Likewise.
4855 * gdb.reverse/break-precsave.exp: Likewise.
4856 * gdb.reverse/break-reverse.exp: Likewise.
4857 * gdb.reverse/consecutive-precsave.exp: Likewise.
4858 * gdb.reverse/finish-precsave.exp: Likewise.
4859 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4860 * gdb.reverse/finish-reverse.exp: Likewise.
4861 * gdb.reverse/i386-precsave.exp: Likewise.
4862 * gdb.reverse/i387-env-reverse.exp: Likewise.
4863 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4864 * gdb.reverse/machinestate-precsave.exp: Likewise.
4865 * gdb.reverse/machinestate.exp: Likewise.
4866 * gdb.reverse/sigall-precsave.exp: Likewise.
4867 * gdb.reverse/solib-precsave.exp: Likewise.
4868 * gdb.reverse/step-precsave.exp: Likewise.
4869 * gdb.reverse/until-precsave.exp: Likewise.
4870 * gdb.reverse/watch-precsave.exp: Likewise.
4871 * gdb.reverse/watch-reverse.exp: Likewise.
4873 2014-10-17 Yao Qi <yao@codesourcery.com>
4875 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4876 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4878 2014-10-17 Pedro Alves <palves@redhat.com>
4881 * gdb.base/bg-execution-repeat.c: New file.
4882 * gdb.base/bg-execution-repeat.exp: New file.
4884 2014-10-17 Pedro Alves <palves@redhat.com>
4887 * gdb.base/continue-all-already-running.c: New file.
4888 * gdb.base/continue-all-already-running.exp: New file.
4890 2014-10-17 Pedro Alves <palves@redhat.com>
4893 * gdb.base/annota-input-while-running.c: New file.
4894 * gdb.base/annota-input-while-running.exp: New file.
4896 2014-10-17 Pedro Alves <palves@redhat.com>
4898 * gdb.base/callfuncs.exp: emove references to osf.
4899 * gdb.base/sigall.exp: Likewise.
4900 * gdb.gdb/selftest.exp: Likewise.
4901 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4902 * gdb.mi/non-stop.c: Likewise.
4903 * gdb.mi/pthreads.c: Likewise.
4904 * gdb.reverse/sigall-precsave.exp: Likewise.
4905 * gdb.reverse/sigall-reverse.exp: Likewise.
4906 * gdb.threads/pthreads.c: Likewise.
4907 * gdb.threads/pthreads.exp: Likewise.
4909 2014-10-17 Yao Qi <yao@codesourcery.com>
4911 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4912 check 'target_info exists noargs'.
4913 (test_command_prompt_position): Likewise.
4914 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4916 (progvar_simple_while_test): Likewise.
4917 (progvar_complex_if_while_test): Likewise.
4918 (if_while_breakpoint_command_test): Likewise.
4919 (infrun_breakpoint_command_test): Likewise.
4920 (breakpoint_command_test): Likewise.
4921 (watchpoint_command_test): Likewise.
4922 (bp_deleted_in_command_test): Likewise.
4923 (temporary_breakpoint_commands): Likewise.
4925 2014-10-16 Yao Qi <yao@codesourcery.com>
4927 * gdb.base/remotetimeout.exp: Remove noargs checking.
4929 2014-10-15 Pedro Alves <palves@redhat.com>
4932 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4933 * gdb.base/breakpoint-in-ro-region.exp
4934 (probe_target_hardware_step): New procedure.
4935 (top level): Probe hardware stepping and hardware breakpoint
4936 support. Test stepping through a read-only region, with both
4937 "breakpoint auto-hw" on and off and both "always-inserted" on and
4940 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4942 * gdb.dlang/demangle.exp: Update for demangling changes.
4944 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4946 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4947 * gdb.cp/non-trivial-retval.exp: Add new tests.
4949 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4953 * gdb.cp/non-trivial-retval.cc: New file.
4954 * gdb.cp/non-trivial-retval.exp: New file.
4956 2014-10-15 Yao Qi <yao@codesourcery.com>
4958 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4961 2014-10-15 Yao Qi <yao@codesourcery.com>
4963 * gdb.python/py-symbol.exp: Match file base name if host is
4964 remote, otherwise match file name with dir name.
4965 * gdb.python/py-symtab.exp: Likewise.
4966 * gdb.python/python.exp: Likewise.
4968 2014-10-15 Yao Qi <yao@codesourcery.com>
4970 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4972 * gdb.python/py-symtab.exp: Likewise.
4973 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4976 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4978 * gdb.ada/addr_arith: New testcase.
4980 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4982 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4983 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4984 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4985 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4987 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4989 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4990 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4991 * gdb.arch/stap-eval-lang-ada.exp: New file.
4993 2014-10-14 Yao Qi <yao@codesourcery.com>
4995 * gdb.mi/mi-var-child.c (nothing1): New function.
4996 (nothing2): New function.
4997 (do_children_tests): Set function pointers by nothing1 and
4999 * gdb.mi/mi-var-child.exp: Step over new added statements.
5000 Update test to match the new output.
5001 * gdb.mi/var-cmd.c (nothing1): New function.
5002 (nothing2): New function.
5003 (do_children_tests): Set function pointers by nothing1 and
5005 * gdb.mi/mi-var-display.exp: Update test to match output.
5006 Step to the line specified by $line_dct_nothing.
5007 Increase the number of lines to step.
5009 2014-10-14 Yao Qi <yao@codesourcery.com>
5011 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5013 * gdb.mi/mi2-var-child.exp: Likewise.
5015 2014-10-13 Doug Evans <dje@google.com>
5017 * gdb.python/py-objfile.exp: Change name of file name test.
5019 2014-10-13 Doug Evans <dje@google.com>
5021 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5022 from the start of the CU.
5024 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5025 Yao Qi <yao@codesourcery.com>
5027 Fix "save breakpoints" for "catch" command.
5028 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5029 Remove -nonewline. Match also the added "main" line.
5031 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5033 Fix "save breakpoints" for "disable $bpnum" command.
5034 * gdb.base/save-bp.c (main): Add label.
5035 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5037 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5039 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5041 2014-10-11 Yao Qi <yao@codesourcery.com>
5043 * gdb.server/server-kill.exp: Execute command
5044 "set remote trace-status-packet on" before "tstatus".
5046 2014-10-11 Yao Qi <yao@codesourcery.com>
5048 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5049 (main): Call getppid.
5050 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5051 and continue to it. Read variable "server_pid".
5053 2014-10-11 Yao Qi <yao@codesourcery.com>
5055 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5057 2014-10-11 Yao Qi <yao@codesourcery.com>
5059 * gdb.threads/thread-find.exp: Don't execute command
5061 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5062 * gdb.threads/linux-dp.exp: Don't check the condition
5063 $threads_created equals to zero.
5065 2014-10-10 Pedro Alves <palves@redhat.com>
5067 * gdb.base/bigcore.exp: Remove references to IRIX.
5068 * gdb.base/funcargs.exp: Likewise.
5069 * gdb.base/interrupt.exp: Likewise.
5070 * gdb.base/mips_pro.exp: Likewise.
5071 * gdb.base/nodebug.exp: Likewise.
5072 * gdb.base/setvar.exp: Likewise.
5073 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5075 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5076 Pedro Alves <palves@redhat.com>
5079 * gdb.base/vdso-warning.c: New file.
5080 * gdb.base/vdso-warning.exp: New file.
5082 2014-10-02 Doug Evans <dje@google.com>
5084 * gdb.base/structs.c (main): Don't run forever.
5086 2014-10-02 Pedro Alves <palves@redhat.com>
5088 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5089 (top level) <stop threads 1, stop threads 2>: Use it.
5091 2014-10-02 Pedro Alves <palves@redhat.com>
5093 * gdb.threads/break-while-running.exp (test): Add new
5094 'update_thread_list' argument. Skip "info threads" if false.
5095 (top level): Add new 'update_thread_list' axis.
5097 2014-10-02 Pedro Alves <palves@redhat.com>
5099 PR breakpoints/17431
5100 * gdb.base/execl-update-breakpoints.c: New file.
5101 * gdb.base/execl-update-breakpoints.exp: New file.
5103 2014-10-01 Pedro Alves <palves@redhat.com>
5105 * gdb.base/breakpoint-in-ro-region.c: New file.
5106 * gdb.base/breakpoint-in-ro-region.exp: New file.
5108 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5110 * gdb.mi/mi-exit-code.exp: New file.
5111 * gdb.mi/mi-exit-code.c: New file.
5113 2014-09-30 Yao Qi <yao@codesourcery.com>
5115 * lib/prelink-support.exp (build_executable_own_libs): Error if
5116 the target isn't native.
5118 2014-09-30 Yao Qi <yao@codesourcery.com>
5120 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5123 2014-09-22 Pedro Alves <palves@redhat.com>
5125 * gdb.threads/break-while-running.exp: New file.
5126 * gdb.threads/break-while-running.c: New file.
5128 2014-09-19 Yao Qi <yao@codesourcery.com>
5130 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5131 Invoke test. Restart GDB with --readnow and invoke test again.
5133 2014-09-19 Yao Qi <yao@codesourcery.com>
5135 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5136 proc set_breakpoint_on_gcd_function. Invoke
5137 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5138 invoke set_breakpoint_on_gcd_function again.
5140 2014-09-18 Doug Evans <dje@google.com>
5142 * gdb.dwarf2/symtab-producer.exp: New file.
5144 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5146 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5147 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5148 * gdb.base/global-var-nested-by-dso.c: Likewise.
5149 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5151 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5152 Pedro Alves <palves@redhat.com>
5154 * gdb.base/watch-bitfields.exp: Pass string other than test file
5155 name to prepare_for_testing.
5156 (watch): New procedure.
5157 (expect_watchpoint): Use with_test_prefix.
5158 (top level): Factor out tests to ...
5159 (test_watch_location, test_regular_watch): ... these new
5160 procedures, and use with_test_prefix and gdb_continue_to_end.
5162 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5164 PR breakpoints/12526
5165 * gdb.base/watch-bitfields.exp: New file.
5166 * gdb.base/watch-bitfields.c: New file.
5168 2014-09-16 Pedro Alves <palves@redhat.com>
5170 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5171 software and hardware addresses, not software address against
5174 2014-09-16 Pedro Alves <palves@redhat.com>
5176 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5177 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5179 2014-09-16 Pedro Alves <palves@redhat.com>
5181 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5183 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5184 "*-*-vxworks*" throughout.
5185 * gdb.base/break.exp: Likewise.
5186 * gdb.base/default.exp: Likewise.
5187 * gdb.base/scope.exp: Likewise.
5188 * gdb.base/sepdebug.exp: Likewise.
5189 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5191 * gdb.base/run.c: Likewise.
5192 * gdb.base/sepdebug.c: Likewise.
5193 * gdb.hp/gdb.aCC/run.c: Likewise.
5194 * gdb.reverse/until-reverse.c: Likewise.
5195 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5197 2014-09-16 Yao Qi <yao@codesourcery.com>
5199 * boards/local-remote-host-native.exp: New file.
5201 2014-09-14 Doug Evans <xdje42@gmail.com>
5203 * gdb.threads/queue-signal.c (thread_count): New variable.
5204 (thread_count_mutex, thread_count_condvar): New variables.
5205 (incr_thread_count, wait_all_threads_running): New functions.
5206 (main): Wait for all threads to be in their thread functions.
5208 2014-09-13 Doug Evans <xdje42@gmail.com>
5210 * gdb.threads/queue-signal.c: New file.
5211 * gdb.threads/queue-signal.exp: New file.
5213 2014-09-13 Doug Evans <xdje42@gmail.com>
5215 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5216 be consistent with what default_gdb_init uses.
5217 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5218 the plain text of the prompt. Add some logging printfs.
5219 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5221 2014-09-12 Pedro Alves <palves@redhat.com>
5223 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5224 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5225 * gdb.arch/i386-size-overlap.exp: Likewise.
5226 * gdb.arch/i386-size.exp: Likewise.
5227 * gdb.arch/i386-unwind.exp: Likewise.
5228 * gdb.base/a2-run.exp: Likewise.
5229 * gdb.base/break.exp: Likewise.
5230 * gdb.base/charset.exp: Likewise.
5231 * gdb.base/chng-syms.exp: Likewise.
5232 * gdb.base/commands.exp: Likewise.
5233 * gdb.base/dbx.exp: Likewise.
5234 * gdb.base/find.exp: Likewise.
5235 * gdb.base/funcargs.exp: Likewise.
5236 * gdb.base/jit-simple.exp: Likewise.
5237 * gdb.base/reread.exp: Likewise.
5238 * gdb.base/sepdebug.exp: Likewise.
5239 * gdb.base/step-bt.exp: Likewise.
5240 * gdb.cp/mb-inline.exp: Likewise.
5241 * gdb.cp/mb-templates.exp: Likewise.
5242 * gdb.objc/basicclass.exp: Likewise.
5243 * gdb.threads/killed.exp: Likewise.
5245 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5248 * gdb.arch/powerpc-stackless.S: New file.
5249 * gdb.arch/powerpc-stackless.exp: New file.
5251 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5253 * gdb.base/attach.c: Include unistd.h.
5254 (main): Call alarm. Add label postloop.
5255 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5256 gdb_breakpoint, gdb_continue_to_breakpoint.
5257 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5259 2014-09-11 Pedro Alves <palves@redhat.com>
5262 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5263 * gdb.base/attach.exp (test_command_line_attach_run): New
5265 (top level): Call it.
5267 2014-09-11 Pedro Alves <palves@redhat.com>
5269 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5270 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5271 (do_command_attach_tests): Use spawn_wait_for_attach.
5272 * gdb.base/solib-overlap.exp: Likewise.
5273 * gdb.multi/multi-attach.exp: Likewise.
5274 * gdb.python/py-prompt.exp: Likewise.
5275 * gdb.python/py-sync-interp.exp: Likewise.
5276 * gdb.server/ext-attach.exp: Likewise.
5278 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5280 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5281 command in testcase. Simplify testcase.
5283 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5285 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5287 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5289 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5291 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5293 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5295 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5297 * gdb.dwarf2/dynarr-ptr.c: New file.
5298 * gdb.dwarf2/dynarr-ptr.exp: New file.
5300 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5302 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5303 of 30 rather than hardcoding 120 for a slow test case. Take the
5304 `gdb,timeout' target setting into account for this calculation.
5305 Don't extend the timeout for the test cases that don't need it.
5307 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5309 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5310 a factor of 2 for a slow test case. Take the `gdb,timeout'
5311 target setting into account for this calculation.
5312 * gdb.reverse/until-precsave.exp: Increase the timeout by
5313 a factor of 15 and 3 respectively rather than adding 120
5314 for a pair of slow test cases. Take the `gdb,timeout'
5315 target setting into account for this calculation.
5317 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5319 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5320 timeout, don't pass one down to gdb_expect.
5321 (gdb_expect): Rework timeout selection.
5323 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5325 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5326 exception on timeout.
5327 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5328 (gdbserver_start_extended): Catch any `gdbserver_start' error
5330 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5331 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5332 `gdbserver_gdb_load' error exceptions.
5334 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5336 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5337 120 on waiting for the TCP socket to open.
5339 2014-09-09 Doug Evans <xdje42@gmail.com>
5341 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5342 _caller_matches, _any_caller_is, _any_caller_matches.
5344 2014-09-09 Doug Evans <xdje42@gmail.com>
5346 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5348 2014-09-09 Yao Qi <yao@codesourcery.com>
5350 * gdb.mi/mi-var-display.exp: Set print symbol off.
5352 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5355 * gdb.base/commands.exp: Add tests to verify user-defined
5356 commands with empty bodies.
5357 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5358 python commands in `show user command`.
5359 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5360 scheme commands in `show user command`.
5362 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5365 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5366 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5367 * gdb.python/py-framefilter-invalidarg.exp: New file.
5368 * gdb.python/py-framefilter-invalidarg.py: New file.
5370 2014-09-06 Doug Evans <xdje42@gmail.com>
5373 * gdb.python/py-caller-is.c: New file.
5374 * gdb.python/py-caller-is.exp: New file.
5376 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5379 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5380 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5382 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5385 * gdb.fortran/print-formatted.exp: New file.
5386 * gdb.fortran/print-formatted.f90: Likewise.
5388 2014-09-03 Sasha Smundak <asmundak@google.com>
5390 * gdb.python/py-frame.exp: Test Frame.read_register.
5392 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5395 * gdb.python/py-completion.exp: New file.
5396 * gdb.python/py-completion.py: Likewise.
5398 2014-08-28 Doug Evans <dje@google.com>
5400 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5401 eax,etc. are live with values set by gdb and thus the compiler can't
5403 * gdb.arch/i386-pseudo.c (main): Ditto.
5405 2014-08-27 Doug Evans <dje@google.com>
5407 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5409 2014-08-25 Doug Evans <dje@google.com>
5411 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5414 2014-08-25 Doug Evans <dje@google.com>
5416 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5418 2014-08-24 Yao Qi <yao@codesourcery.com>
5420 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5422 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5424 2014-08-22 Doug Evans <dje@google.com>
5427 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5428 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5429 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5431 2014-08-22 Yao Qi <yao@codesourcery.com>
5433 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5434 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5435 * gdb.python/python.exp: Likewise. Use .py file on the host
5436 instead of the build.
5438 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5440 * gdb.threads/gcore-stale-thread.c: New file.
5441 * gdb.threads/gcore-stale-thread.exp: New file.
5443 2014-08-21 Pedro Alves <palves@redhat.com>
5445 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5446 * gdb.base/gcore-relro-pie.exp: Likewise.
5447 * gdb.base/gcore-relro.exp: Likewise.
5448 * gdb.base/gcore.exp: Likewise.
5449 * gdb.base/print-symbol-loading.exp: Likewise.
5450 * gdb.threads/gcore-thread.exp: Likewise.
5451 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5453 2014-08-20 Pedro Alves <palves@redhat.com>
5454 Jan Kratochvil <jan.kratochvil@redhat.com>
5456 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5458 (EXPECT): Handle READ1 being set.
5459 (all): Depend on EXTRA_RULES.
5460 (check-read1, expect-read1, read1.so, read1): New rules.
5461 * README (Testsuite Parameters): Document the READ1 make variable.
5462 (Race detection): New section.
5463 * configure: Regenerate.
5464 * configure.ac: If build==host==target, and running under a
5465 GNU/glibc system, add read1 to the extra Makefile rules.
5466 (EXTRA_RULES): AC_SUBST it.
5467 * lib/read1.c: New file.
5469 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5471 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5472 the handling of variables declared as a typedef to an array
5473 which a DW_AT_data_location attribute.
5475 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5476 Pedro Alves <palves@redhat.com>
5480 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5483 2014-08-19 Pedro Alves <palves@redhat.com>
5485 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5487 2014-08-19 Yao Qi <yao@codesourcery.com>
5489 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5492 2014-08-18 David Blaikie <dblaikie@gmail.com>
5494 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5496 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5498 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5499 attribute in array range.
5501 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5503 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5505 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5508 * gdb.cp/pr17132.cc: New file.
5509 * gdb.cp/pr17132.exp: New file.
5511 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5513 * gdb.python/py-xmethods.py (A_getarrayind)
5514 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5515 Use 'print' with function call syntax.
5516 (E_method_matcher.match): Fix tab vs space indentation mixup.
5518 2014-08-15 Yao Qi <yao@codesourcery.com>
5520 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5523 2014-08-15 Yao Qi <yao@codesourcery.com>
5525 * gdb.cp/casts.exp: Set print symbol off.
5526 * gdb.cp/class2.exp: Likewise.
5527 * gdb.cp/overload.exp: Likewise.
5528 * gdb.cp/templates.exp: Likewise.
5530 2014-08-11 Doug Evans <dje@google.com>
5532 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5533 (test_load_shlib): Update.
5535 2014-08-09 Yao Qi <yao@codesourcery.com>
5537 * gdb.base/display.exp: Invoke is_address_zero_readable.
5538 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5539 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5540 * gdb.base/hbreak-unmapped.exp: Return if
5541 is_address_zero_readable returns true.
5542 * gdb.base/signest.exp: Likewise.
5543 * gdb.base/signull.exp: Likewise.
5544 * gdb.base/sigbpt.exp: Likewise.
5545 * gdb.guile/scm-disasm.exp: Do the test if
5546 is_address_zero_readable returns false.
5547 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5548 * gdb.python/py-arch.exp: Likewise.
5549 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5550 * lib/gdb.exp (is_address_zero_readable): New proc.
5552 2014-08-09 Yao Qi <yao@codesourcery.com>
5555 * gdb.mi/mi-var-display.exp: Make test messages unique.
5557 2014-08-04 Tom Tromey <tromey@redhat.com>
5559 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5562 2014-08-04 Tom Tromey <tromey@redhat.com>
5564 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5567 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5569 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5570 inner_vla_struct_object_size.
5571 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5574 2014-07-30 Pedro Alves <palves@redhat.com>
5576 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5579 2014-07-29 Yao Qi <yao@codesourcery.com>
5582 * gdb.base/until-nodebug.exp: New.
5584 2014-07-28 Doug Evans <xdje42@gmail.com>
5587 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5588 previously existing parameter, and previously ambiguously spelled
5591 2014-07-28 Will Newton <will.newton@linaro.org>
5593 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5595 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5596 Doug Evans <xdje42@gmail.com>
5599 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5601 2014-07-25 Pedro Alves <palves@redhat.com>
5603 * gdb.threads/signal-command-handle-nopass.c: New file.
5604 * gdb.threads/signal-command-handle-nopass.exp: New file.
5605 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5606 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5607 * gdb.threads/signal-delivered-right-thread.c: New file.
5608 * gdb.threads/signal-delivered-right-thread.exp: New file.
5610 2014-07-25 Pedro Alves <palves@redhat.com>
5612 * gdb.base/double-prompt-target-event-error.exp
5613 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5615 (cancel_pagination_in_target_event): Rework double prompt
5617 * gdb.base/paginate-after-ctrl-c-running.exp
5618 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5620 * gdb.base/paginate-bg-execution.exp
5621 (test_bg_execution_pagination_return)
5622 (test_bg_execution_pagination_cancel): Remove '-notransfer
5624 * gdb.base/paginate-execution-startup.exp
5625 (test_fg_execution_pagination_return)
5626 (test_fg_execution_pagination_cancel): Remove '-notransfer
5628 * gdb.base/paginate-inferior-exit.exp
5629 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5631 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5632 * lib/gdb.exp (pagination_prompt): Run text through
5634 (gdb_test_multiple): Match $pagination_prompt instead of
5636 (string_to_regexp): Move to lib/gdb-utils.exp.
5638 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5640 * gdb.arch/amd64-entry-value-paramref.S: New file.
5641 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5642 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5643 * gdb.arch/amd64-optimout-repeat.S: New file.
5644 * gdb.arch/amd64-optimout-repeat.c: New file.
5645 * gdb.arch/amd64-optimout-repeat.exp: New file.
5647 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5650 * gdb.base/statistics.exp: New file.
5652 2014-07-17 Doug Evans <dje@google.com>
5655 * gdb.base/maint.exp: Update testing of per-command stats.
5657 2014-07-16 Pedro Alves <palves@redhat.com>
5659 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5660 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5661 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5662 (tfile_write_buf): New functions.
5663 (add_memory_block): Rewrite using the above.
5664 (adjust_function_address): New function.
5665 (FUNCTION_ADDRESS): New macro.
5666 (write_basic_trace_file): Remove short_x local, and use
5667 tfile_write_16. Change type of func_addr local to unsigned long
5668 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5669 here. Cast argument of add_memory_block to char pointer.
5670 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5671 (main): Remove parameters.
5672 * gdb.trace/tfile.exp: Remove nowarnings.
5674 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5676 * gdb.base/debug-expr.exp: Test string evaluation with
5677 "debug expression" on.
5679 2014-07-15 Pedro Alves <palves@redhat.com>
5681 * gdb.base/reread.exp: Use clean_restart.
5683 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5685 * gdb.arch/avr-flash-qualifer.c: New.
5686 * gdb.arch/avr-flash-qualifer.exp: New.
5688 2014-07-14 Pedro Alves <palves@redhat.com>
5690 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5691 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5693 2014-07-14 Pedro Alves <palves@redhat.com>
5695 * gdb.base/double-prompt-target-event-error.c: New file.
5696 * gdb.base/double-prompt-target-event-error.exp: New file.
5698 2014-07-14 Pedro Alves <palves@redhat.com>
5701 * gdb.base/paginate-inferior-exit.c: New file.
5702 * gdb.base/paginate-inferior-exit.exp: New file.
5704 2014-07-14 Pedro Alves <palves@redhat.com>
5707 * gdb.base/paginate-bg-execution.c: New file.
5708 * gdb.base/paginate-bg-execution.exp: New file.
5710 2014-07-14 Pedro Alves <palves@redhat.com>
5713 * gdb.base/paginate-execution-startup.c: New file.
5714 * gdb.base/paginate-execution-startup.exp: New file.
5715 * lib/gdb.exp (pagination_prompt): New global.
5716 (default_gdb_spawn): New procedure, factored out from
5718 (default_gdb_start): Adjust to call default_gdb_spawn.
5719 (gdb_spawn): New procedure.
5721 2014-07-14 Pedro Alves <palves@redhat.com>
5723 * lib/gdb.exp (gdb_assert): New procedure.
5724 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5726 2014-07-14 Pedro Alves <palves@redhat.com>
5728 * gdb.base/execution-termios.c: New file.
5729 * gdb.base/execution-termios.exp: New file.
5731 2014-07-14 Tom Tromey <tromey@redhat.com>
5733 * gdb.cp/vla-cxx.cc: New file.
5734 * gdb.cp/vla-cxx.exp: New file.
5736 2014-07-14 Tom Tromey <tromey@redhat.com>
5738 * gdb.reverse/rerun-prec.c: New file.
5739 * gdb.reverse/rerun-prec.exp: New file.
5741 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5742 Maciej W. Rozycki <macro@codesourcery.com>
5744 * lib/gdb-utils.exp: New file.
5745 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5746 inline `gdb_init_command' processing.
5747 (gdb_start_cmd): Likewise.
5748 * lib/mi-support.exp (mi_run_cmd): Likewise.
5749 * README: Document `gdb_init_command' and `gdb_init_commands'.
5751 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5753 Fix false FAIL running under a very long directory name.
5754 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5755 and "set print elements 10000". Twice.
5757 2014-07-11 Yao Qi <yao@codesourcery.com>
5759 * gdb.base/exprs.exp: "set print symbol off".
5761 2014-07-11 Pedro Alves <palves@redhat.com>
5763 * gdb.threads/kill.c: New file.
5764 * gdb.threads/kill.exp: New file.
5766 2014-07-10 Yao Qi <yao@codesourcery.com>
5768 * gdb.trace/tfile.c (write_basic_trace_file)
5769 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5770 address written to trace file.
5772 2014-07-09 Pedro Alves <palves@redhat.com>
5774 * gdb.base/attach-wait-input.exp: New file.
5775 * gdb.base/attach-wait-input.c: New file.
5777 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5779 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5780 setting up test structures.
5781 (main): Call new test function.
5782 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5783 test function, continue into test function and walk test
5786 2014-07-02 Yao Qi <yao@codesourcery.com>
5788 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5789 'bar_start' at the beginning of functions 'foo' and 'bar'
5791 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5792 instead of 'foo' and 'bar'.
5794 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5796 * gdb.btrace/segv.exp: New.
5797 * gdb.btrace/segv.c: New.
5799 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5801 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5804 2014-06-30 Mark Wielaard <mjw@redhat.com>
5806 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5807 vulture, vilify, villar): New volatile array constants.
5808 (vindictive, vegetation): New const volatile array constants.
5809 * gdb.base/volatile.exp: Test volatile and const volatile array
5812 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5814 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5815 target lacks support for awatch, rwatch, or hbreak.
5817 2014-06-27 Yao Qi <yao@codesourcery.com>
5819 * gdb.multi/dummy-frame-restore.exp: New.
5820 * gdb.multi/dummy-frame-restore.c: New.
5822 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5824 * gdb.btrace/gcore.exp: New.
5826 2014-06-23 Pedro Alves <palves@redhat.com>
5828 * gdb.base/watchpoint-reuse-slot.c: New file.
5829 * gdb.base/watchpoint-reuse-slot.exp: New file.
5831 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5833 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5834 progspace's filename in 'info', 'enable' and 'disable' command
5837 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5839 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5840 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5841 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5843 2014-06-20 Gary Benson <gbenson@redhat.com>
5845 * gdb.arch/i386-avx.exp: Fix include file location.
5846 * gdb.arch/i386-sse.exp: Likewise.
5848 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5850 * gdb.dlang/expression.exp: New file.
5852 2014-06-19 Pedro Alves <palves@redhat.com>
5854 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5856 (top level): ... here. Iterate running tests under different
5857 scheduler-locking settings.
5859 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5861 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5862 to DW_FORM_addr and use non-zero addresses.
5864 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5867 * gdb.python/py-xmethods.cc: Add global function call counters and
5868 increment them in their respective functions. Remove "cout"
5870 * gdb.python/py-xmethods.exp: Make tests check the global function
5871 call counters instead of depending on inferior IO.
5873 2014-06-18 Don Breazeal <donb@codesourcery.com>
5875 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5877 (explicit_fork_parent_follow): Deleted procedure.
5878 (explicit_fork_child_follow): Deleted procedure.
5879 (test_follow_fork): New procedure.
5880 (do_fork_tests): Replace calls to deleted procedures with
5881 calls to test_follow_fork and reset GDB for subsequent
5884 2014-06-17 Yao Qi <yao@codesourcery.com>
5886 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5889 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5891 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5892 Initialize ptr and S explicitly.
5893 (skip_type_update_when_not_use_rtti_test): Likewise.
5895 2014-06-16 Keith Seitz <keiths@redhat.com>
5898 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5899 the inferior is started.
5901 2014-06-16 Pedro Alves <palves@redhat.com>
5903 * gdb.base/break-main-file-remove-fail.c: New file.
5904 * gdb.base/break-main-file-remove-fail.exp: New file.
5905 * gdb.base/break-unload-file.exp: Use build_executable instead of
5906 prepare_for_testing.
5907 (test_break): New parameter "initial_load". Handle it.
5908 (top level): Add initial_load cmdline/file axis.
5910 2014-06-12 Tom Tromey <tromey@redhat.com>
5912 * gdb.base/completion.exp: Don't use directory name in test.
5914 2014-06-09 Gary Benson <gbenson@redhat.com>
5916 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5917 separate the always-available ANSI-standard signals from the
5918 signals that require checking.
5920 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5924 2014-06-07 Keith Seitz <keiths@redhat.com>
5928 * gdb.cp/var-tag.cc: New file.
5929 * gdb.cp/var-tag.exp: New file.
5930 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5931 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5932 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5933 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5935 2014-06-06 Doug Evans <xdje42@gmail.com>
5937 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5939 2014-06-06 Pedro Alves <palves@redhat.com>
5941 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5942 in target debug output instead of looking at RSP packets,
5943 disabling the test on any target that uses hardware stepping.
5946 2014-06-06 Pedro Alves <palves@redhat.com>
5948 * gdb.base/break-unload-file.exp: Fix typo.
5950 2014-06-06 Yao Qi <yao@codesourcery.com>
5952 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5953 from "jit_function" to "^jit_function".
5955 2014-06-06 Yao Qi <yao@codesourcery.com>
5957 * gdb.base/async.c (foo): Add one statement.
5958 * gdb.base/async.exp: Get the next instruction address and
5959 match the output of "nexti" by instruction address. Match
5960 the hex address in the output of "finish".
5962 2014-06-06 Gary Benson <gbenson@redhat.com>
5964 * gdb.base/call-signals.c: Remove preprocessor conditionals
5965 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5966 SIGSEGV and SIGTERM.
5967 * gdb.base/sigall.c: Likewise.
5968 * gdb.base/unwindonsignal.c: Likewise.
5969 * gdb.reverse/sigall-reverse.c: Likewise.
5971 2014-06-06 Yao Qi <yao@codesourcery.com>
5973 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5974 readable, skip the test.
5976 2014-06-06 Yao Qi <yao@codesourcery.com>
5978 * gdb.threads/staticthreads.c (thread_function): Move the line
5979 setting breakpoint on forward.
5980 * gdb.threads/staticthreads.exp: Update comments.
5982 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5984 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5985 "history-append! type error".
5987 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5989 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5990 erroneous dprintf expected input.
5992 2014-06-04 Doug Evans <xdje42@gmail.com>
5994 * gdb.guile/scm-generics.exp: Delete.
5996 2014-06-04 Doug Evans <xdje42@gmail.com>
5998 * gdb.guile/scm-breakpoint.exp: Update.
5999 Add tests for breakpoint registration.
6001 2014-06-04 Tom Tromey <tromey@redhat.com>
6003 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6005 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6006 inner_vla_struct, vla_union types. Initialize objects of those
6007 types and compute their sizes.
6009 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6010 Hui Zhu <hui@codesourcery.com>
6012 * gdb.base/fileio.exp: Add test for shell not available as well as
6014 * gdb.base/fileio.c (test_system): Check for shell twice.
6016 2014-06-04 Yao Qi <yao@codesourcery.com>
6018 * gdb.base/auto-connect-native-target.exp: Remove redundant
6019 space from the regexp pattern.
6021 2014-06-04 Yao Qi <yao@codesourcery.com>
6023 * gdb.base/default.exp: Replace "child" with "native" in
6026 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6028 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6029 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6030 * gdb.python/py-xmethods.py: Python script supporting the
6031 new testcase and tests.
6033 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6034 Pedro Alves <palves@redhat.com>
6036 PR breakpoints/17000
6037 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6038 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6040 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6042 * gdb.base/subst.exp: Add tests to verify partial path matching
6045 2014-06-03 Pedro Alves <palves@redhat.com>
6047 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6048 target that doesn't use software single-stepping.
6050 2014-06-03 Pedro Alves <palves@redhat.com>
6052 PR breakpoints/17000
6053 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6054 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6056 2014-06-02 Doug Evans <xdje42@gmail.com>
6058 * gdb.guile/scm-parameter.exp: New file.
6060 2014-06-02 Doug Evans <xdje42@gmail.com>
6062 * gdb.guile/scm-cmd.c: New file.
6063 * gdb.guile/scm-cmd.exp: New file.
6065 2014-06-02 Doug Evans <xdje42@gmail.com>
6067 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6068 pretty-printer lookup.
6069 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6070 (make-pp_s-printer): Call it.
6071 (make-pretty-printer-from-dict): New function.
6072 (lookup-pretty-printer-maker-from-dict): New function.
6073 (*pretty-printer*): Simplify.
6074 (make-objfile-pp_s-printer): New function.
6075 (install-objfile-pretty-printers!): New function.
6076 (make-progspace-pp_s-printer): New function.
6077 (install-progspace-pretty-printers!): New function.
6078 * gdb.guile/scm-progspace.c: New file.
6079 * gdb.guile/scm-progspace.exp: New file.
6081 2014-06-02 Pedro Alves <palves@redhat.com>
6083 * gdb.base/dprintf-bp-same-addr.c: New file.
6084 * gdb.base/dprintf-bp-same-addr.exp: New file.
6086 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6088 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6089 * gdb.arch/powerpc-power.s: Likewise.
6091 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6093 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6095 2014-06-01 Yao Qi <yao@codesourcery.com>
6097 * gdb.base/watchpoint.exp (test_watch_location): Check null
6098 pointer can be dereferenced. If not, do the test, otherwise
6101 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6103 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6105 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6107 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6109 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6110 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6111 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6112 * gdb.arch/amd64-invalid-stack-top.c: New file.
6113 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6115 2014-05-30 Pedro Alves <palves@redhat.com>
6117 PR breakpoints/17000
6118 * gdb.base/sss-bp-on-user-bp.c: New file.
6119 * gdb.base/sss-bp-on-user-bp.exp: New file.
6121 2014-05-30 David Blaikie <dblaikie@gmail.com>
6123 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6124 gnu_inline semantics via attribute.
6125 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6126 source explicitly specifies the required semantics.
6128 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6130 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6132 2014-05-29 Pedro Alves <palves@redhat.com>
6133 Tom Tromey <tromey@redhat.com>
6135 * gdb.base/async-shell.exp: Don't enable target-async.
6136 * gdb.base/async.exp
6137 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6139 (top level): Don't test with "target-async".
6140 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6141 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6142 * gdb.base/inferior-died.exp: Don't enable target-async.
6143 * gdb.base/interrupt-noterm.exp: Likewise.
6144 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6145 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6146 * gdb.mi/mi-nonstop.exp: Likewise.
6147 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6148 * gdb.mi/mi-nsintrall.exp: Likewise.
6149 * gdb.mi/mi-nsmoribund.exp: Likewise.
6150 * gdb.mi/mi-nsthrexec.exp: Likewise.
6151 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6152 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6153 * gdb.python/py-evsignal.exp: Don't enable target-async.
6154 * gdb.python/py-evthreads.exp: Likewise.
6155 * gdb.python/py-prompt.exp: Likewise.
6156 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6157 * gdb.server/solib-list.exp: Don't enable target-async.
6158 * gdb.threads/thread-specific-bp.exp: Likewise.
6159 * lib/mi-support.exp: Adjust to use mi-async.
6161 2014-05-29 Pedro Alves <palves@redhat.com>
6164 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6165 reason, even in sync mode.
6167 2014-05-29 Pedro Alves <palves@redhat.com>
6168 Hui Zhu <hui@codesourcery.com>
6171 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6172 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6173 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6174 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6176 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6178 * config/monitor.exp (gdb_target_monitor): Replace use of
6179 "set remotebaud" by "set serial baud".
6181 2014-05-26 Andy Wingo <wingo@igalia.com>
6183 * gdb.guile/scm-breakpoint.exp:
6184 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6185 properties instead of gdb-object-properties.
6187 2014-05-26 Yao Qi <yao@codesourcery.com>
6189 * gdb.server/no-thread-db.exp: Specify source file name
6190 explicitly when setting a breakpoint.
6192 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6194 * gdb.btrace/vdso.c: New.
6195 * gdb.btrace/vdso.exp: New.
6197 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6199 * gdb.base/gcore.exp (capture_command_output): Move ...
6200 * lib/gdb.exp (capture_command_output): ... here.
6202 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6204 * gdb.btrace/data.exp: Test memory access during btrace replay.
6206 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6208 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6210 2014-05-21 Pedro Alves <palves@redhat.com>
6213 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6214 (top level): Test that output related to execution commands is
6215 sent to the console with CLI commands, but not with MI commands.
6216 Test that breakpoint events are always mirrored to the console.
6217 Also expect the new source line to be output after a "next" in
6218 async mode too. Make it a pass/fail test.
6219 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6221 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6223 2014-05-21 Pedro Alves <palves@redhat.com>
6225 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6226 Use them to test variations of "list" after reaching a breakpoint.
6227 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6228 Test "list" with listsize 10 after reaching a breakpoint.
6229 * gdb.python/python.exp (decode_line current location line
6230 number): Adjust expected line number.
6232 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6234 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6235 behavior for $args, pass it directly to "run".
6237 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6239 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6242 2014-05-21 Pedro Alves <palves@redhat.com>
6244 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6245 auto-connect-native-target off".
6246 * gdb.base/auto-connect-native-target.c: New file.
6247 * gdb.base/auto-connect-native-target.exp: New file.
6249 2014-05-21 Pedro Alves <palves@redhat.com>
6251 * gdb.base/default.exp: Test "target native" instead of "target
6254 2014-05-21 Mark Wielaard <mjw@redhat.com>
6256 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6258 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6260 Fix TLS access for -static -pthread.
6261 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6262 <HAVE_TLS> (thread_function, main): Initialize it.
6263 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6265 <$have_tls != "">: Check TLSVAR.
6267 2014-05-21 Pedro Alves <palves@redhat.com>
6269 * gdb.base/dcache-line-read-error.c: New.
6270 * gdb.base/dcache-line-read-error.exp: New.
6272 2014-05-20 Pedro Alves <palves@redhat.com>
6274 * gdb.base/compare-sections.c: New file.
6275 * gdb.base/compare-sections.exp: New file.
6277 2014-05-20 Pedro Alves <palves@redhat.com>
6279 * gdb.base/break-idempotent.c: New file.
6280 * gdb.base/break-idempotent.exp: New file.
6282 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6284 * gdb.btrace/nohist.exp: New.
6286 2014-05-20 Yao Qi <yao@codesourcery.com>
6288 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6289 gdb.reverse directory and gdb_reverse_timeout exists in board
6291 * README: Document gdb_reverse_timeout.
6293 2014-05-20 Yao Qi <yao@codesourcery.com>
6295 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6296 'test_file_name'. Treat args as a string instead of a list.
6297 (gdb_init): Rename argument 'args' by 'test_file_name'.
6299 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6301 * gdb.arch/powerpc-power.exp: New file.
6302 * gdb.arch/powerpc-power.s: New file.
6304 2014-05-16 Doug Evans <dje@google.com>
6306 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6307 * gdb.base/completion.exp: Check that all expected files exist
6308 before doing file completion.
6310 2014-05-16 Doug Evans <dje@google.com>
6312 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6314 (do_syscall_tests_without_xml): Update.
6316 2014-05-16 Pedro Alves <palves@redhat.com>
6318 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6319 instead of "unknown output after running".
6321 2014-05-16 Yao Qi <yao@codesourcery.com>
6323 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6324 file1.txt from host at the end.
6325 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6327 2014-05-15 Doug Evans <dje@google.com>
6329 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6330 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6331 loading file. Add test for TU lookup.
6333 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6335 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6336 calling "-exec-arguments" or "set args" before running the
6339 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6341 * lib/mi-support.exp (mi_expect_stop): Expect message for
6342 inferiors that exit with non-zero exit code.
6344 2014-05-14 Yao Qi <yao@codesourcery.com>
6346 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6347 match absolute path on remote host.
6348 (test_file_list_exec_source_files): Remove "/" from the
6351 2014-05-14 Yao Qi <yao@codesourcery.com>
6353 * boards/local-remote-host-notty.exp (${board}_file): New
6356 2014-05-07 Kyle McMartin <kyle@redhat.com>
6358 Pushed by Joel Brobecker <brobecker@adacore.com>.
6359 * gdb.arch/aarch64-atomic-inst.c: New file.
6360 * gdb.arch/aarch64-atomic-inst.exp: New file.
6362 2014-05-07 Yao Qi <yao@codesourcery.com>
6364 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6365 in current context" too.
6367 2014-05-05 Keith Seitz <keiths@redhat.com>
6369 * gdb.linespec/ls-dollar.exp: Add test for linespec
6370 file:convenience_variable.
6372 2014-05-05 Yao Qi <yao@codesourcery.com>
6374 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6375 traceframes into tfile and ctf trace files. Read data from
6376 trace file and test collected data.
6377 (gdb_collect_locals_test): Likewise.
6378 (gdb_unavailable_registers_test): Likewise.
6379 (gdb_unavailable_floats): Likewise.
6380 (gdb_collect_globals_test): Likewise.
6381 (top-level): Append "ctf" to trace_file_targets if GDB
6384 2014-05-05 Yao Qi <yao@codesourcery.com>
6386 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6388 (gdb_collect_args_test_1): ... it. New proc.
6389 (gdb_collect_locals_test): Move some code to ...
6390 (gdb_collect_locals_test_1): ... it. New proc.
6391 (gdb_unavailable_registers_test): Move some code to ...
6392 (gdb_unavailable_registers_test_1): ... it. New proc.
6393 (gdb_unavailable_floats): Move some code to ...
6394 (gdb_unavailable_floats_1): ... it. New proc.
6396 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6398 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6399 probes to test for bitness recognition.
6400 * gdb.arch/amd64-stap-optional-prefix.exp
6401 (test_probe_value_without_reg): New procedure.
6402 Add code to test for different kinds of bitness.
6404 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6406 PR breakpoints/16889
6407 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6408 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6410 2014-05-01 Pedro Alves <palves@redhat.com>
6412 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6413 gdb_file_cmd if no file is specified.
6414 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6415 last_loaded_file to set the remote exec-file.
6417 2014-05-01 Pedro Alves <palves@redhat.com>
6419 * boards/local-remote-host.exp: New file.
6421 2014-05-01 Pedro Alves <palves@redhat.com>
6423 * boards/local-remote-host.exp: Rename to ...
6424 * boards/local-remote-host-notty.exp: ... this.
6426 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6428 * gdb.ada/dyn_arrayidx: New testcase.
6430 2014-04-26 Yao Qi <yao@codesourcery.com>
6432 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6433 and compute the length of function main. Save it in
6435 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6436 (top-level): Use gdb_compile to compile objects into
6437 executable and restart GDB. Remove invocation to
6438 prepare_for_testing.
6440 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6441 Pedro Alves <palves@redhat.com>
6444 * gdb.multi/multi-attach.c: New file.
6445 * gdb.multi/multi-attach.exp: New file.
6447 2014-04-25 Pedro Alves <palves@redhat.com>
6449 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6451 (top level): Test that "set remote conditional-breakpoints-packet
6452 off" works as intended.
6453 * gdb.base/dprintf.exp: Test that "set remote
6454 breakpoint-commands-packet off" works as intended.
6455 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6457 (top level): Call it.
6458 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6459 remote fast-tracepoints-packet off" works as intended.
6460 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6461 * lib/gdb.exp (gdb_is_target_remote): ... here.
6463 2014-04-24 David Blaikie <dblaikie@gmail.com>
6465 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6466 ensure clang would not discard them.
6467 * gdb.base/gdbvars.c: Ditto.
6468 * gdb.base/memattr.c: Ditto.
6469 * gdb.base/whatis.c: Ditto.
6470 * gdb.python/py-prettyprint.c: Ditto.
6471 * gdb.trace/actions.c: Ditto.
6472 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6473 ensure clang would not discard it.
6475 2014-04-24 David Blaikie <dblaikie@gmail.com>
6477 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6478 clang to emit the full definition of type required by the test
6479 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6481 2014-04-24 David Blaikie <dblaikie@gmail.com>
6483 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6484 coax Clang into emitting the definition of the type.
6485 * gdb.cp/pr10728-x.h (y): Ditto.
6486 * gdb.cp/pr10728-y.cc (y): Ditto.
6488 2014-04-24 David Blaikie <dblaikie@gmail.com>
6490 * gdb.base/label.exp: XFAIL label related tests under Clang.
6491 * gdb.cp/cplabel.exp: Ditto.
6492 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6493 under Clang those using labels.
6495 2014-04-25 Yao Qi <yao@codesourcery.com>
6497 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6499 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6500 partial_label and double_label.
6502 2014-04-24 David Blaikie <dblaikie@gmail.com>
6504 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6506 2014-04-24 David Blaikie <dblaikie@gmail.com>
6508 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6509 of the function to work across GCC and Clang.
6510 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6511 pointer types (const void ** const V void **).
6513 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6514 Walfred Tedeschi <walfred.tedeschi@intel.com>
6516 * Makefile.in (EXECUTABLES): Added i386-avx512.
6517 * gdb.arch/i386-avx512.c: New file.
6518 * gdb.arch/i386-avx512.exp: Likewise.
6520 2014-04-23 Keith Seitz <keiths@redhat.com>
6522 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6523 (mi_make_breakpoint_table): New procedure.
6524 (mi_create_breakpoint): Use mi_make_breakpoint
6525 and return the result.
6526 (mi_make_breakpoint): New procedure.
6527 (mi_build_kv_pairs): New procedure.
6529 * gdb.mi/mi-break.exp: Remove unused globals,
6530 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6531 All callers updated.
6532 * gdb.mi/mi-dprintf.exp: Use variable to track command
6534 Update all callers of mi_create_breakpoint and use
6535 mi_make_breakpoint_table.
6536 Remove any unused global variables.
6537 * gdb.mi/mi-nonstop.exp: Likewise.
6538 * gdb.mi/mi-nsintrall.exp: Likewise.
6539 * gdb.mi/mi-nsmoribund.exp: Likewise.
6540 * gdb.mi/mi-nsthrexec.exp: Likewise.
6541 * gdb.mi/mi-reverse.exp: Likewise.
6542 * gdb.mi/mi-simplerun.exp: Likewise.
6543 * gdb.mi/mi-stepn.exp: Likewise.
6544 * gdb.mi/mi-syn-frame.exp: Likewise.
6545 * gdb.mi/mi-until.exp: Likewise.
6546 * gdb.mi/mi-var-cp.exp: Likewise.
6547 * gdb.mi/mi-var-display.exp: Likewise.
6548 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6549 * gdb.mi/mi2-var-child.exp: Likewise.
6550 * gdb.mi/mi-vla-c99.exp: Likewise.
6551 * lib/mi-support.exp: Likewise.
6553 From Ian Lance Taylor <iant@cygnus.com>:
6554 * lib/gdb.exp (parse_args): New procedure.
6556 2014-04-23 Pedro Alves <palves@redhat.com>
6558 * gdb.base/break-unload-file.c: New file.
6559 * gdb.base/break-unload-file.exp: New file.
6560 * gdb.base/sym-file-lib.c (baz): New function.
6561 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6563 (load): Store the segment's mapped size.
6564 (unload): New function.
6565 (unload_shlib): New function.
6566 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6567 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6568 set a breakpoint at baz, and call it.
6569 * gdb.base/sym-file.exp: New tests for stale breakpoint
6572 2014-04-23 Pedro Alves <palves@redhat.com>
6574 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6575 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6576 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6577 * gdb.base/hbreak-unmapped.c: New file.
6578 * gdb.base/hbreak-unmapped.exp: New file.
6579 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6580 * lib/gdb.exp (gdb_is_target_remote): ... here.
6582 2014-04-22 Pedro Alves <palves@redhat.com>
6584 * gdb.base/consecutive-step-over.c: New file.
6585 * gdb.base/consecutive-step-over.exp: New file.
6587 2014-04-22 Pedro Alves <palves@redhat.com>
6589 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6590 instead of send_gdb/gdb_expect.
6592 2014-04-22 Yao Qi <yao@codesourcery.com>
6594 * lib/trace-support.exp (generate_tracefile): New procedure.
6595 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6597 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6598 if generate_tracefile returns 1.
6600 2014-04-18 Tom Tromey <palves@redhat.com>
6601 Pedro alves <tromey@redhat.com>
6604 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6605 with a backtrace limit.
6606 * gdb.python/py-frame-inline.exp: Test running to an inline
6607 function with a backtrace limit, and printing the newest frame.
6608 * gdb.python/py-frame-inline.c (main): Call f.
6610 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6612 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6614 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6616 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6617 Drop prefix from unsupported source file path.
6619 2014-04-17 Yao Qi <yao@codesourcery.com>
6621 * lib/gdb.exp (with_target_charset): New proc.
6622 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6623 with_target_charset.
6624 (test_print_strings): Likewise.
6625 (test_repeat_bytes): Likewise.
6626 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6629 2014-04-16 Keith Seitz <keiths@redhat.com>
6632 * gdb.dwarf2/corrupt.c: New file.
6633 * gdb.dwarf2/corrupt.exp: New file.
6635 2014-04-16 Keith Seitz <keiths@redhat.com>
6638 * gdb.cp/namelessclass.cc: New file.
6639 * gdb.cp/namelessclass.exp: New file.
6640 * gdb.cp/namelessclass.S: New file.
6642 2014-04-16 Doug Evans <dje@google.com>
6644 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6646 (gdbserver_default_get_comm_port): New function.
6647 (gdbserver_start): Check if board file provided
6648 "gdbserver,get_comm_port" and use it if so.
6649 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6650 (gdb,socketport): Set to "stdio".
6651 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6652 (stdio_gdbserver_template): Delete.
6653 (${board}_get_remote_address): Update.
6654 (${board}_build_remote_cmd): Delete.
6655 (${board}_get_comm_port): New function.
6656 (${board}_spawn): Update.
6657 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6659 (${board}_get_remote_address): Update.
6660 (${board}_get_comm_port): New function.
6662 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6664 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6665 appearing in any order.
6667 2014-04-15 Doug Evans <dje@google.com>
6669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6670 uninitialized value of "description".
6672 2014-04-15 Keith Seitz <keiths@redhat.com>
6674 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6675 Remove unused globals.
6676 (test_running_the_program): Likewise.
6677 (test_controlled_execution): Likewise.
6678 (test_controlling_breakpoints): Likewise.
6679 (test_program_termination): Likewise.
6681 2014-04-15 Keith Seitz <keiths@redhat.com>
6683 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6685 (test_rbreak_creation_and_listing): Likewise.
6686 (test_ignore_count): Likewise.
6687 (test_error): Likewise.
6689 2014-04-15 Pedro Alves <palves@redhat.com>
6691 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6692 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6694 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6695 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6696 to sym-file-loader.c.
6697 (struct library): Forward declare.
6698 (load_shlib, lookup_function): Change prototypes.
6699 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6700 (translate_offset): Remove declarations.
6701 (get_text_addr): New declaration.
6702 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6703 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6705 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6706 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6707 here from sym-file-loader.h.
6708 (struct library): New structure.
6709 (load_shlib, lookup_function): Change prototypes and adjust to
6710 work with a struct library.
6711 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6712 (translate_offset): Make static.
6713 (get_text_addr): New function.
6714 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6716 2014-04-15 Pedro Alves <palves@redhat.com>
6718 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6720 2014-04-15 Pedro Alves <palves@redhat.com>
6722 * gdb.base/sym-file-loader.c: Include <limits.h>.
6723 (SELF_LINK): New define.
6724 (get_origin): New function.
6725 (load_shlib): Use it.
6726 * gdb.base/sym-file.exp: Don't early return if the target is
6727 remote. Use runto_main, and issue fail is that fails. Use
6729 (shlib_name): Delete.
6730 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6732 2014-04-15 Pedro Alves <palves@redhat.com>
6734 * gdb.base/sym-file.exp: Remove regex characters from test
6735 message. Don't refer to breakpoint numbers in test messages.
6737 2014-04-14 Keith Seitz <keiths@redhat.com>
6740 * gdb.cp/var-tag.cc: New file.
6741 * gdb.cp/var-tag.exp: New file.
6742 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6743 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6744 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6745 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6747 2014-04-14 Tom Tromey <tromey@redhat.com>
6749 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6750 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6752 * gdb.cp/enum-class.exp: New file.
6753 * gdb.cp/enum-class.cc: New file.
6755 2014-04-14 Tom Tromey <tromey@redhat.com>
6757 * gdb.dwarf2/enum-type.exp: New file.
6759 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6761 * gdb.mi/mi-vla-c99.exp: New file.
6762 * gdb.mi/vla.c: New file.
6764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6766 * gdb.base/vla-datatypes.c: New file.
6767 * gdb.base/vla-datatypes.exp: New file.
6769 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6771 * gdb.base/vla-ptr.c: New file.
6772 * gdb.base/vla-ptr.exp: New file.
6774 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6776 * gdb.dwarf2/count.exp: New file.
6778 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6780 * gdb.base/vla-sideeffect.c: New file.
6781 * gdb.base/vla-sideeffect.exp: New file.
6783 2014-04-14 David Blaikie <dblaikie@gmail.com>
6785 * gdb.mi/non-stop.c: Add return value for non-void function return
6787 * gdb.threads/staticthreads.c: Ditto.
6789 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6790 Doug Evans <xdje42@gmail.com>
6792 * gdb.guile/scm-value.c: Improve test case.
6793 * gdb.guile/scm-value.exp: Add new test.
6795 2014-04-11 David Blaikie <dblaikie@gmail.com>
6797 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6798 override Clang's default.
6800 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6802 Revert the following changes (regressions):
6804 * gdb.base/vla-sideeffect.c: New file.
6805 * gdb.base/vla-sideeffect.exp: New file.
6807 * gdb.dwarf2/count.exp: New file.
6809 * gdb.base/vla-multi.c: New file.
6810 * gdb.base/vla-multi.exp: New file.
6812 * gdb.base/vla-ptr.c: New file.
6813 * gdb.base/vla-ptr.exp: New file.
6815 * gdb.base/vla-datatypes.c: New file.
6816 * gdb.base/vla-datatypes.exp: New file.
6818 * gdb.mi/mi-vla-c99.exp: New file.
6819 * gdb.mi/vla.c: New file.
6821 2014-04-11 Keith Seitz <keiths@redhat.com>
6824 * gdb.cp/cpsizeof.exp: New file.
6825 * gdb.cp/cpsizeof.cc: New file.
6827 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6829 * gdb.mi/mi-vla-c99.exp: New file.
6830 * gdb.mi/vla.c: New file.
6832 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6834 * gdb.base/vla-datatypes.c: New file.
6835 * gdb.base/vla-datatypes.exp: New file.
6837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6839 * gdb.base/vla-ptr.c: New file.
6840 * gdb.base/vla-ptr.exp: New file.
6842 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6844 * gdb.base/vla-multi.c: New file.
6845 * gdb.base/vla-multi.exp: New file.
6847 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6849 * gdb.dwarf2/count.exp: New file.
6851 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6853 * gdb.base/vla-sideeffect.c: New file.
6854 * gdb.base/vla-sideeffect.exp: New file.
6856 2014-04-11 Yao Qi <yao@codesourcery.com>
6858 * gdb.base/completion.exp: Check file exists before running tests
6861 2014-04-10 Pedro Alves <palves@redhat.com>
6863 * gdb.base/cond-eval-mode.c: New file.
6864 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6865 prepare_for_testing to build the new file. Check result of
6867 (test_break, test_watch): New procedures.
6868 (top level): Use them.
6870 2014-04-08 Pierre Muller <muller@sourceware.org>
6872 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6873 Ctrl-V use for mingw hosts.
6875 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6877 * gdb.python/py-value.c: Improve test case.
6878 * gdb.python/py-value.exp: Add new test.
6880 2014-04-07 David Blaikie <dblaikie@gmail.com>
6882 * lib/compiler.c: Identify the clang compiler.
6883 * lib/compiler.cc: Ditto.
6885 2014-04-03 Yao Qi <yao@codesourcery.com>
6887 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6889 2014-04-01 Anton Blanchard <anton@samba.org>
6891 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6894 2014-04-01 Anton Blanchard <anton@samba.org>
6896 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6897 prepare_for_testing.
6899 2014-04-01 Anton Blanchard <anton@samba.org>
6901 * gdb.arch/ppc64-atomic-inst.c: Remove.
6902 * gdb.arch/ppc64-atomic-inst.S: New file.
6903 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6905 2014-03-31 Doug Evans <dje@google.com>
6907 * gdb.base/print-symbol-loading-lib.c: New file.
6908 * gdb.base/print-symbol-loading-main.c: New file.
6909 * gdb.base/print-symbol-loading.exp: New file.
6911 2014-03-31 Yao Qi <yao@codesourcery.com>
6913 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6915 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6917 * gdb.ada/mi_dyn_arr: New testcase.
6919 2014-03-27 Doug Evans <dje@google.com>
6921 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6923 2014-03-27 Yao Qi <yao@codesourcery.com>
6925 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6926 if target is nios2-*-*.
6928 2014-03-26 Yao Qi <yao@codesourcery.com>
6930 * lib/gdb.exp (readline_is_used): New proc.
6931 * gdb.base/completion.exp: Move tests on command complete up.
6932 Skip the rest of tests if readline is not used.
6933 * gdb.ada/complete.exp: Skp the test if readline is not
6935 * gdb.base/filesym.exp: Likewise.
6936 * gdb.base/macscp.exp: Likewise.
6937 * gdb.base/readline-ask.exp: Likewise.
6938 * gdb.base/readline.exp: Likewise.
6939 * gdb.python/py-cmd.exp: Likewise.
6940 * gdb.trace/tfile.exp: Likewise.
6942 2014-03-26 Yao Qi <yao@codesourcery.com>
6944 * gdb.base/macscp.exp: Fix code format issues.
6946 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6948 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6949 * gdb.asm/powerpc64le.inc: New file.
6951 2014-03-25 Pedro Alves <palves@redhat.com>
6952 Doug Evans <dje@google.com>
6954 * gdb.base/source-execution.c: New file.
6955 * gdb.base/source-execution.exp: New file.
6956 * gdb.base/source-execution.gdb: New file.
6958 2014-03-24 Doug Evans <dje@google.com>
6960 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6963 2014-03-24 Hui Zhu <hui@codesourcery.com>
6964 Pedro Alves <palves@redhat.com>
6966 PR breakpoints/16101
6967 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6968 test pass/fail messages. Detect missing support for dprintf when
6969 breakpoints are actually inserted.
6970 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6971 breakpoints are actually inserted.
6972 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6975 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6977 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6979 2014-03-22 Doug Evans <xdje42@gmail.com>
6981 * gdb.python/python.exp (python not supported): Verify multi-line
6982 python command issues an error.
6983 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6984 guile command issues an error.
6986 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6988 * gdb.threads/thread-specific.exp: Handle the lack of usable
6989 $this_breakpoint and $this_thread.
6991 2014-03-21 Hui Zhu <hui@codesourcery.com>
6993 * gdb.base/attach.exp (do_command_attach_tests): New.
6995 2014-03-20 Tom Tromey <tromey@redhat.com>
6996 Pedro Alves <palves@redhat.com>
6999 * gdb.base/condbreak-call-false.c: New file.
7000 * gdb.base/condbreak-call-false.exp: New file.
7002 2014-03-20 Pedro Alves <palves@redhat.com>
7004 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7006 (block_signals, unblock_signals): Delete.
7007 (child_function_2, main): Remove references to deleted variable
7010 2014-03-20 Pedro Alves <palves@redhat.com>
7012 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7013 Use pthread_kill to signal thread 2.
7014 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7015 Adjust to make the test send itself a signal rather than using the
7016 host's "kill" command.
7018 2014-03-20 Pedro Alves <palves@redhat.com>
7020 * gdb.threads/multiple-step-overs.c: New file.
7021 * gdb.threads/multiple-step-overs.exp: New file.
7022 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7023 Adjust expected infrun debug output.
7025 2014-03-20 Pedro Alves <palves@redhat.com>
7027 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7028 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7030 2014-03-20 Pedro Alves <palves@redhat.com>
7033 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7034 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7035 of gdb_test_multiple.
7036 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7037 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7039 2014-03-20 Pedro Alves <palves@redhat.com>
7041 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7042 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7044 2014-03-19 Pedro Alves <palves@redhat.com>
7046 * gdb.base/async.exp: Remove early return.
7048 2014-03-19 Pedro Alves <palves@redhat.com>
7050 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7052 2014-03-19 Pedro Alves <palves@redhat.com>
7054 * gdb.base/async.exp (test_background): Expect \r\n after
7055 "completed." in the fail pattern.
7057 2014-03-19 Pedro Alves <palves@redhat.com>
7059 * gdb.base/async.exp (test_background): New procedure.
7060 Use it for all background execution command tests.
7062 2014-03-19 Pedro Alves <palves@redhat.com>
7064 * gdb.base/async.exp: Use prepare_for_testing.
7066 2014-03-19 Pedro Alves <palves@redhat.com>
7068 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7071 2014-03-19 Pedro Alves <palves@redhat.com>
7073 * gdb.base/async.c (main): Add "jump here" and "until here" line
7075 * gdb.base/async.exp (jump_here): New global.
7076 (jump& test): Use it.
7077 (until_here): New global.
7078 (until& test): Use it.
7080 2014-03-19 Pedro Alves <palves@redhat.com>
7082 * gdb.base/async.exp: Don't frob gdb_protocol.
7084 2014-03-18 Doug Evans <xdje42@gmail.com>
7086 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7087 Fix spelling of exec-done-display.
7089 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7092 * gdb.base/gdb-sigterm.c: New file.
7093 * gdb.base/gdb-sigterm.exp: New file.
7095 2014-03-18 Pedro Alves <palves@redhat.com>
7098 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7099 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7102 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7104 * gdb.ada/pckd_arr_ren: New testcase.
7106 2014-03-13 Doug Evans <xdje42@gmail.com>
7109 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7110 collect after discarding symbols.
7112 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7113 Doug Evans <xdje42@gmail.com>
7115 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7116 to history survives a gc.
7118 2014-03-13 Pedro Alves <palves@redhat.com>
7120 * gdb.base/default.exp: Don't test "target procfs".
7122 2014-03-13 Pedro Alves <palves@redhat.com>
7124 * gdb.base/default.exp: Update "target child" and "target procfs"
7125 tests to not expect "Unix".
7127 2014-03-12 Tom Tromey <tromey@redhat.com>
7129 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7130 New procs. Add target-async tests.
7131 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7132 Add target-async tests.
7134 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7136 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7137 'func_start' and 'func_end' for the beginning and end of the
7138 function code, respectively.
7139 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7140 'func_end' instead of 'func' and 'main'.
7142 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7144 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7145 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7146 generate the debug info assembler source.
7148 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7150 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7151 * gdb.dwarf2/arr-subrange.exp: Likewise.
7152 * gdb.dwarf2/dwz.exp: Likewise.
7153 * gdb.dwarf2/method-ptr.exp: Likewise.
7154 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7155 * gdb.dwarf2/subrange.exp: Likewise.
7156 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7157 * gdb.dwarf2/implptrpiece.exp: Likewise.
7158 * gdb.dwarf2/nostaticblock.exp: Likewise.
7160 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7162 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7163 directory to absolute path name arguments.
7165 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7167 * gdb.ada/tagged_access: New testcase.
7169 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7171 * gdb.btrace/data.exp: Update expected output.
7173 2014-03-06 Yao Qi <yao@codesourcery.com>
7175 * gdb.trace/pr16508.exp: New file.
7177 2014-03-05 Pedro Alves <palves@redhat.com>
7180 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7182 (top level): Adjust to use it. Add tests that exercise breakpoint
7183 interaction with the code-cache.
7185 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7187 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7188 test for 'history-append!'.
7190 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7192 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7193 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7194 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7195 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7196 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7197 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7199 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7201 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7202 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7203 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7205 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7207 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7209 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7211 * gdb.dwarf2/arr-stride.c: New file.
7212 * gdb.dwarf2/arr-stride.exp: New file.
7214 2014-02-26 Pedro Alves <palves@redhat.com>
7216 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7217 that won't ever trigger. Make sure that GDB reports the correct
7218 breakpoint that caused the stop.
7220 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7223 * gdb.base/auto-load-script: New file.
7224 * gdb.base/auto-load.c: New file.
7225 * gdb.base/auto-load.exp: New file.
7228 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7230 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7232 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7233 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7235 2014-02-24 Doug Evans <dje@google.com>
7237 * lib/gdb.exp (run_on_host): Log error output if program fails.
7239 2014-02-21 Pedro Alves <palves@redhat.com>
7241 * gdb.threads/step-after-sr-lock.c: Rename to ...
7242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7243 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7244 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7247 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7250 * gdb.arch/amd64-stap-special-operands.exp: New file.
7251 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7252 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7253 * gdb.arch/amd64-stap-triplet.S: Likewise.
7254 * gdb.arch/amd64-stap-triplet.c: Likewise.
7256 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7258 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7259 in .section pseudo-op.
7261 2014-02-20 lin zuojian <manjian2006@gmail.com>
7262 Joel Brobecker <brobecker@adacore.com>
7263 Doug Evans <xdje42@gmail.com>
7266 * gdb.dwarf2/dw2-icycle.S: New file.
7267 * gdb.dwarf2/dw2-icycle.c: New file.
7268 * gdb.dwarf2/dw2-icycle.exp: New file.
7270 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7272 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7273 operations on gdb.Value objects.
7274 * gdb.python/py-value-cc.exp: Add new test to test operations on
7277 2014-02-18 Doug Evans <dje@google.com>
7279 * Makefile.in (TESTS): New variable.
7280 (expanded_tests, expanded_tests_or_none): New variables
7281 (check-single): Pass $(expanded_tests_or_none) to runtest.
7282 (check-parallel): Only run tests in $(TESTS) if non-empty.
7283 (check/no-matching-tests-found): New rule.
7284 * README: Document TESTS makefile variable.
7286 2014-02-18 Doug Evans <dje@google.com>
7288 * Makefile.in (check-parallel): rm -rf outputs temp.
7290 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7292 Fix "ERROR: no fileid for" in the testsuite.
7293 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7295 2014-02-12 Doug Evans <dje@google.com>
7297 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7298 (MISCELLANEOUS): New variable.
7299 (clean): rm -rf $(MISCELLANEOUS).
7300 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7301 dwp live in the same directory as symlinks, with each symlink pointed
7302 to a differently named file in a different directory.
7304 2014-02-11 Doug Evans <dje@google.com>
7306 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7307 of Tcl file commands.
7309 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7311 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7314 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7316 * gdb.ada/tick_length_array_enum_idx: New testcase.
7318 2014-02-10 Doug Evans <xdje42@gmail.com>
7320 * configure.ac (AC_OUTPUT): Add gdb.guile.
7321 * configure: Regenerate.
7322 * lib/gdb-guile.exp: New file.
7323 * lib/gdb.exp (get_target_charset): New function.
7324 * gdb.base/help.exp: Update expected output from "apropos apropos".
7325 * gdb.guile/Makefile.in: New file.
7326 * gdb.guile/guile.exp: New file.
7327 * gdb.guile/scm-arch.c: New file.
7328 * gdb.guile/scm-arch.exp: New file.
7329 * gdb.guile/scm-block.c: New file.
7330 * gdb.guile/scm-block.exp: New file.
7331 * gdb.guile/scm-breakpoint.c: New file.
7332 * gdb.guile/scm-breakpoint.exp: New file.
7333 * gdb.guile/scm-disasm.c: New file.
7334 * gdb.guile/scm-disasm.exp: New file.
7335 * gdb.guile/scm-equal.c: New file.
7336 * gdb.guile/scm-equal.exp: New file.
7337 * gdb.guile/scm-error.exp: New file.
7338 * gdb.guile/scm-error.scm: New file.
7339 * gdb.guile/scm-frame-args.c: New file.
7340 * gdb.guile/scm-frame-args.exp: New file.
7341 * gdb.guile/scm-frame-args.scm: New file.
7342 * gdb.guile/scm-frame-inline.c: New file.
7343 * gdb.guile/scm-frame-inline.exp: New file.
7344 * gdb.guile/scm-frame.c: New file.
7345 * gdb.guile/scm-frame.exp: New file.
7346 * gdb.guile/scm-generics.exp: New file.
7347 * gdb.guile/scm-gsmob.exp: New file.
7348 * gdb.guile/scm-iterator.c: New file.
7349 * gdb.guile/scm-iterator.exp: New file.
7350 * gdb.guile/scm-math.c: New file.
7351 * gdb.guile/scm-math.exp: New file.
7352 * gdb.guile/scm-objfile-script-gdb.in: New file.
7353 * gdb.guile/scm-objfile-script.c: New file.
7354 * gdb.guile/scm-objfile-script.exp: New file.
7355 * gdb.guile/scm-objfile.c: New file.
7356 * gdb.guile/scm-objfile.exp: New file.
7357 * gdb.guile/scm-ports.exp: New file.
7358 * gdb.guile/scm-pretty-print.c: New file.
7359 * gdb.guile/scm-pretty-print.exp: New file.
7360 * gdb.guile/scm-pretty-print.scm: New file.
7361 * gdb.guile/scm-section-script.c: New file.
7362 * gdb.guile/scm-section-script.exp: New file.
7363 * gdb.guile/scm-section-script.scm: New file.
7364 * gdb.guile/scm-symbol.c: New file.
7365 * gdb.guile/scm-symbol.exp: New file.
7366 * gdb.guile/scm-symtab-2.c: New file.
7367 * gdb.guile/scm-symtab.c: New file.
7368 * gdb.guile/scm-symtab.exp: New file.
7369 * gdb.guile/scm-type.c: New file.
7370 * gdb.guile/scm-type.exp: New file.
7371 * gdb.guile/scm-value-cc.cc: New file.
7372 * gdb.guile/scm-value-cc.exp: New file.
7373 * gdb.guile/scm-value.c: New file.
7374 * gdb.guile/scm-value.exp: New file.
7375 * gdb.guile/source2.scm: New file.
7376 * gdb.guile/types-module.cc: New file.
7377 * gdb.guile/types-module.exp: New file.
7379 2014-02-10 Yao Qi <yao@codesourcery.com>
7382 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7383 * configure: Regenerated.
7384 * Makefile.in: New file.
7386 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7388 * gdb.python/py-framefilter.exp: Fix typo.
7390 2014-02-08 Yao Qi <yao@codesourcery.com>
7392 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7393 that no =breakpoint-modified is emitted when breakpoints are
7394 modified through MI commands.
7396 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7397 Pedro Alves <palves@redhat.com>
7399 * gdb.threads/step-after-sr-lock.c: New file.
7400 * gdb.threads/step-after-sr-lock.exp: New file.
7402 2014-02-07 Pedro Alves <palves@redhat.com>
7404 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7406 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7408 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7409 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7411 2014-02-06 Doug Evans <xdje42@gmail.com>
7413 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7416 * gdb.gdb/python-interrupts.exp: New file.
7418 2014-02-05 Yao Qi <yao@codesourcery.com>
7420 * gdb.trace/report.exp (use_collected_data): Test the output
7421 of "info threads" and "info inferiors".
7423 2014-02-05 Yao Qi <yao@codesourcery.com>
7427 2013-05-24 Yao Qi <yao@codesourcery.com>
7429 * gdb.trace/tfile.exp: Test inferior and thread.
7431 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7433 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7435 * gdb.base/step-bt.c: Call hello via function pointer to make
7436 sure its first instruction is executed on powerpc64le-linux.
7438 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7440 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7442 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7444 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7445 of the test patterns for use on little-endian systems.
7447 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7449 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7450 (decimal_vector): Fix for little-endian.
7452 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7454 * gdb.arch/sparc-sysstep.exp: New file.
7455 * gdb.arch/sparc-sysstep.c: Likewise.
7457 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7459 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7461 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7463 2014-01-23 Tom Tromey <tromey@redhat.com>
7465 * gdb.ada/array_char_idx: New testcase.
7467 2014-01-23 Tom Tromey <tromey@redhat.com>
7470 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7471 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7474 2014-01-23 Tom Tromey <tromey@redhat.com>
7477 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7478 string from an inferior frame.
7479 * gdb.python/py-framefilter-mi.exp: Update.
7481 2014-01-22 Doug Evans <dje@google.com>
7483 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7485 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7487 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7489 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7491 * gdb.trace/entry-values.exp: Remove excess space character from
7492 regex patterns. Handle s390 call instruction.
7494 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7496 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7497 define "*_start" label. Make "name" static.
7498 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7499 ${name} by references to ${name}_start.
7501 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7503 * gdb.base/info-macros.exp: Remove "debug" from the compile
7506 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7508 * gdb.dlang/demangle.exp: New file.
7510 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7512 * gdb.dlang/primitive-types.exp: New file.
7514 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7516 * configure.ac: Create gdb.dlang/Makefile.
7517 * configure: Regenerate.
7518 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7519 * gdb.dlang/Makefile.in: New file.
7520 * lib/d-support.exp: New file.
7521 * lib/gdb.exp (skip_d_tests): New proc.
7523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7525 * gdb.btrace/delta.exp: Check reverse stepi.
7526 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7527 * gdb.btrace/finish.exp: New.
7528 * gdb.btrace/next.exp: New.
7529 * gdb.btrace/nexti.exp: New.
7530 * gdb.btrace/record_goto.c: Add comments.
7531 * gdb.btrace/step.exp: New.
7532 * gdb.btrace/stepi.exp: New.
7533 * gdb.btrace/multi-thread-step.c: New.
7534 * gdb.btrace/multi-thread-step.exp: New.
7535 * gdb.btrace/rn-dl-bind.c: New.
7536 * gdb.btrace/rn-dl-bind.exp: New.
7537 * gdb.btrace/data.c: New.
7538 * gdb.btrace/data.exp: New.
7539 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7543 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7544 * gdb.btrace/exception.exp: Update.
7545 * gdb.btrace/instruction_history.exp: Update.
7546 * gdb.btrace/record_goto.exp: Update.
7547 * gdb.btrace/tailcall.exp: Update.
7548 * gdb.btrace/unknown_functions.exp: Update.
7549 * gdb.btrace/delta.exp: New.
7551 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7553 * gdb.btrace/record_goto.exp: Add backtrace test.
7554 * gdb.btrace/tailcall.exp: Add backtrace test.
7556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7558 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7559 * gdb.btrace/record_goto.c: New.
7560 * gdb.btrace/record_goto.exp: New.
7561 * gdb.btrace/x86-record_goto.S: New.
7563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7565 * gdb.btrace/function_call_history.exp: Update tests.
7566 * gdb.btrace/instruction_history.exp: Update tests.
7568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7570 * gdb.btrace/function_call_history.exp: Fix expected field
7571 order for "record function-call-history".
7572 Add new tests for "record function-call-history /c".
7573 * gdb.btrace/exception.cc: New.
7574 * gdb.btrace/exception.exp: New.
7575 * gdb.btrace/tailcall.exp: New.
7576 * gdb.btrace/x86-tailcall.S: New.
7577 * gdb.btrace/x86-tailcall.c: New.
7578 * gdb.btrace/unknown_functions.c: New.
7579 * gdb.btrace/unknown_functions.exp: New.
7580 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7584 * gdb.btrace/instruction_history.exp: Update.
7585 * gdb.btrace/function_call_history.exp: Update.
7587 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7589 * gdb.btrace/function_call_history.exp: Fix expected function
7591 * gdb.btrace/instruction_history.exp: Initialize traced.
7592 Remove traced_functions.
7594 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7596 * gdb.btrace/function_call_history.exp: Update
7597 * gdb.btrace/instruction_history.exp: Update.
7599 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7601 * gdb.btrace/enable.exp: Update expected text.
7603 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7605 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7608 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7610 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7612 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7614 * lib/gdb.exp (supports_process_record): Return true for
7615 arm*-linux*. (supports_reverse): Likewise.
7617 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7621 * gdb.python/py-type.c: Enhance test case.
7622 * gdb.python/py-value-cc.cc: Likewise
7623 * gdb.python/py-type.exp: Add new tests.
7624 * gdb.python/py-value-cc.exp: Likewise
7626 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7627 Pedro Alves <palves@redhat.com>
7629 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7631 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7632 references to ${name}_start by references to ${name}.
7634 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7636 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7638 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7640 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7642 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7643 Pedro Alves <palves@redhat.com>
7645 * gdb.mi/mi-info-os.exp: Connect to the target with
7648 2014-01-08 Pedro Alves <palves@redhat.com>
7650 * gdb.threads/reconnect-signal.c: New file.
7651 * gdb.threads/reconnect-signal.exp: New file.
7653 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7655 * gdb.base/source-dir.exp: New file.
7657 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7659 * gdb.ada/mi_interface: New testcase.
7661 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7663 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7664 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7665 gdb.ada/pp-rec-component/pck.ads: New files.
7667 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7669 * gdb.python/py-pp-integral.c: New file.
7670 * gdb.python/py-pp-integral.py: New file.
7671 * gdb.python/py-pp-integral.exp: New file.
7673 For older changes see ChangeLog-1993-2013.
7679 ;; version-control: never
7682 Copyright 2014-2016 Free Software Foundation, Inc.
7683 Copying and distribution of this file, with or without modification,
7684 are permitted provided the copyright notice and this notice are preserved.