1 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3 * gdb.dlang/circular.c: New file.
4 * gdb.dlang/circular.exp: New file.
6 2016-02-26 Yao Qi <yao.qi@linaro.org>
8 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12 2016-02-26 Yao Qi <yao.qi@linaro.org>
14 * gdb.reverse/aarch64.c: Rename to ...
15 * gdb.reverse/insn-reverse.c: ... it.
16 * gdb.reverse/aarch64.exp: Rename to ...
17 * gdb.reverse/insn-reverse.exp: ... it.
19 2016-02-26 Yao Qi <yao.qi@linaro.org>
21 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
22 (testcase_ftype): New.
23 (testcases): New array.
25 (main): Call each element in testcases.
26 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
28 Do the tests in a loop.
30 2016-02-25 Yao Qi <yao.qi@linaro.org>
32 * gdb.base/branches.c: Remove.
34 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
37 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
39 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
41 * gdb.trace/ftrace.exp: Remove unnecessary target check.
43 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
45 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
46 change x86_64 call_insn to 'callq'.
48 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
50 * gdb.trace/tfile-avx.c: Move to...
51 * gdb.trace/tracefile-pseudo-reg.c: Here.
52 * gdb.trace/tfile-avx.exp: Move to...
53 * gdb.trace/tracefile-pseudo-reg.exp: Here.
55 2016-02-24 Gary Benson <gbenson@redhat.com>
57 * gdb.base/attach-pie-noexec.exp: Do not expect an error
60 2016-02-23 Doug Evans <dje@google.com>
62 * gdb.base/skip.c (test_skip): New function.
63 (end_test_skip_file_and_function): New function.
64 (test_skip_file_and_function): New function.
65 * gdb.base/skip1.c (test_skip): New function.
66 (skip1_test_skip_file_and_function): New function.
67 * gdb.base/skip.exp: Add tests for new skip options.
68 * gdb.base/skip-solib.exp: Update expected output.
69 * gdb.perf/skip-command.cc: New file.
70 * gdb.perf/skip-command.exp: New file.
71 * gdb.perf/skip-command.py: New file.
73 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
75 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
76 info registers pattern.
78 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
80 * lib/future.exp: Add D support.
81 (gdb_find_gdc): New proc.
82 (gdb_default_target_compile): Add D support.
84 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
86 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
88 (trace_speed_test): Determine the iteration count for a time
89 between 15..30 seconds.
91 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
93 * gdb.arch/i386-mpx-sigsegv.c: New file.
94 * gdb.arch/i386-mpx-sigsegv.exp: New file.
95 * gdb.arch/i386-mpx-simple_segv.c: New file.
96 * gdb.arch/i386-mpx-simple_segv.exp: New file.
98 2016-02-18 Yao Qi <yao.qi@linaro.org>
100 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
101 Don't call setup_kfail.
103 2016-02-18 Yao Qi <yao.qi@linaro.org>
105 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
106 Set "set breakpoint condition-evaluation" per $cond_bp_target.
108 2016-02-16 Doug Evans <dje@google.com>
110 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
111 * gdb.base/skip1.c: Ditto.
112 * gdb.base/skip.exp: Whitespace cleanup.
114 2016-02-16 Don Breazeal <donb@codesourcery.com>
117 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
118 Remove kfail for PR remote/19496.
120 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
122 * lib/gdb.exp (standard_temp_file): Return a path specific to
123 the runtest invocation.
125 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
127 * gdb.trace/save-trace.exp: Change relative path to be in the
128 standard output directory.
130 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
132 * gdb.arch/i386-prologue.c: Add missing prototypes.
134 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
136 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
137 * gdb.arch/i386-prologue.exp: Likewise.
138 * gdb.arch/i386-size.exp: Likewise.
140 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
142 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
143 define object file path.
144 * gdb.btrace/gcore.exp: Use standard_output_file to define core
146 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
147 standard_output_file to define binfile.
149 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
151 Fix compatibility with recent gfortran-5.3.1.
152 * gdb.fortran/vla-history.exp (print vla1 allocated)
153 (print vla2 allocated, print $2, print $3): Remove
154 (print $4): Rename to ...
155 (print $2): ... here.
156 (print $9): Rename to ...
157 (print $5): ... here.
158 (print $10): Rename to ...
159 (print $6): ... here.
160 * gdb.fortran/vla.f90: Add pvla initialization.
162 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
164 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
166 * gdb.fortran/vla-value-sub.exp: Likewise.
168 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
170 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
172 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
174 * i386-biarch-core.exp: Define corefile using
175 standard_output_file.
177 2016-02-12 Yao Qi <yao.qi@linaro.org>
179 * gdb.arch/arm-single-step-kernel-helper.c: New.
180 * gdb.arch/arm-single-step-kernel-helper.exp: New.
182 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
184 * gdb.btrace/tailcall-only.exp: New.
185 * gdb.btrace/tailcall-only.c: New.
186 * gdb.btrace/x86_64-tailcall-only.S: New.
187 * gdb.btrace/i686-tailcall-only.S: New.
189 2016-02-11 Pedro Alves <palves@redhat.com>
191 * README (Parallel testing): Add missing double quotes.
193 2016-02-11 Pedro Alves <palves@redhat.com>
195 * README (Parallel testing): New section.
196 (GDB_PARALLEL): Rewrite.
197 (FORCE_PARALLEL): Document.
199 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
201 * gdb.trace/tfile-avx.c: New test.
202 * gdb.trace/tfile-avx.exp: New test.
204 2016-02-09 Keith Seitz <keiths@redhat.com>
207 * gdb.base/infcall-exec.c: New file.
208 * gdb.base/infcall-exec2.c: New file.
209 * gdb.base/infcall-exec.exp: New file.
211 2016-02-09 Keith Seitz <keiths@redhat.com>
213 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
214 (toplevel): Call test_bkpt_address.
216 2016-02-09 Keith Seitz <keiths@redhat.com>
219 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
220 (toplevel): Call test_bkpt_address.
222 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
224 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
226 * configure: Regenerate.
228 2016-02-09 Pedro Alves <palves@redhat.com>
231 * gdb.base/execl-update-breakpoints.c (some_function): New
234 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
235 Tighten expected GDB output.
237 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
239 * Makefile.in (ALL_SUBDIRS): Remove.
240 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
241 (distclean maintainer-clean realclean): Likewise.
242 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
243 * configure: Regenerate.
244 * gdb.ada/Makefile.in: Delete.
245 * gdb.arch/Makefile.in: Likewise.
246 * gdb.asm/Makefile.in: Likewise.
247 * gdb.base/Makefile.in: Likewise.
248 * gdb.btrace/Makefile.in: Likewise.
249 * gdb.cell/Makefile.in: Likewise.
250 * gdb.compile/Makefile.in: Likewise.
251 * gdb.cp/Makefile.in: Likewise.
252 * gdb.disasm/Makefile.in: Likewise.
253 * gdb.dlang/Makefile.in: Likewise.
254 * gdb.dwarf2/Makefile.in: Likewise.
255 * gdb.fortran/Makefile.in: Likewise.
256 * gdb.gdb/Makefile.in: Likewise.
257 * gdb.go/Makefile.in: Likewise.
258 * gdb.guile/Makefile.in: Likewise.
259 * gdb.java/Makefile.in: Likewise.
260 * gdb.linespec/Makefile.in: Likewise.
261 * gdb.mi/Makefile.in: Likewise.
262 * gdb.modula2/Makefile.in: Likewise.
263 * gdb.multi/Makefile.in: Likewise.
264 * gdb.objc/Makefile.in: Likewise.
265 * gdb.opencl/Makefile.in: Likewise.
266 * gdb.opt/Makefile.in: Likewise.
267 * gdb.pascal/Makefile.in: Likewise.
268 * gdb.perf/Makefile.in: Likewise.
269 * gdb.python/Makefile.in: Likewise.
270 * gdb.reverse/Makefile.in: Likewise.
271 * gdb.server/Makefile.in: Likewise.
272 * gdb.stabs/Makefile.in: Likewise.
273 * gdb.threads/Makefile.in: Likewise.
274 * gdb.trace/Makefile.in: Likewise.
275 * gdb.xml/Makefile.in: Likewise.
276 * lib/gdb.exp (make_gdb_parallel_path): Add check for
278 (standard_output_file): Remove check for GDB_PARALLEL, always
279 return path in outputs/$subdir/$testname.
281 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
283 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
284 (site.exp): Assign abs_srcdir to tcl's srcdir.
286 2016-02-04 Yao Qi <yao.qi@linaro.org>
288 * gdb.base/foll-exec-mode.c: Include limits.h.
289 (main): Add parameters argc and argv. Get directory from
291 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
293 * gdb.base/foll-exec.c: Include limits.h.
294 (main): Add parameters argc and argv.
295 Get directory from argv[0].
296 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
297 Adjust tests on the number of lines as source code changed.
298 * gdb.base/foll-vfork-exit.c: Include limits.h.
299 (main): Add one line of statement before vfork.
300 * gdb.base/foll-vfork.c: Include limits.h and string.h.
301 (main): Add parameters argc and argv. Get directory from
303 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
304 (setup_gdb): Set tbreak to skip some source lines.
305 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
306 (main): Add parameters argc and argv. Get directory from
308 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
310 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
311 (main): Add parameters argc and argv. Get directory from
313 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
316 2016-02-01 Doug Evans <dje@google.com>
318 * gdb.base/skip.exp: Clean up multiple references to same test name.
320 2016-02-01 Pedro Alves <palves@redhat.com>
323 * gdb.threads/forking-threads-plus-breakpoint.exp
324 (displaced_stepping_supported): New global.
325 (probe_displaced_stepping_support): New procedure.
326 (do_test): Add 'displaced' parameter, and use it.
327 (top level): Check for displaced stepping support. Add displaced
328 stepping on/off testing axis.
330 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
332 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
333 pointer. Don't perform further tests on the unassociated pointer
334 if the first test fails.
336 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
338 * gdb.base/max-value-size.c: New file.
339 * gdb.base/max-value-size.exp: New file.
340 * gdb.base/huge.exp: Disable max-value-size for this test.
342 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
344 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
346 2016-01-28 Yao Qi <yao.qi@linaro.org>
348 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
350 2016-01-25 Pedro Alves <palves@redhat.com>
353 * gdb.base/fork-running-state.c: New file.
354 * gdb.base/fork-running-state.exp: New file.
356 2016-01-25 Pedro Alves <palves@redhat.com>
359 * gdb.base/catch-fork-kill.c: New file.
360 * gdb.base/catch-fork-kill.exp: New file.
362 2016-01-25 Pedro Alves <palves@redhat.com>
364 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
365 Delete, moved to lib/gdb.exp.
366 * gdb.threads/forking-threads-plus-breakpoint.exp
367 (foreach_with_prefix): Likewise.
368 * gdb.threads/process-dies-while-handling-bp.exp
369 (foreach_with_prefix): Likewise.
370 * lib/gdb.exp (foreach_with_prefix): New procedure.
372 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
374 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
375 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
377 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
379 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
382 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
383 Pedro Alves <palves@redhat.com>
385 Fix testsuite compatibility with Guile.
386 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
389 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
391 Fix testsuite compatibility with Guile.
392 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
393 (thread 1): New test for backtrace through signal handler.
395 2016-01-22 Yao Qi <yao.qi@linaro.org>
398 * gdb.base/multi-forks.c: Include
399 ../lib/unbuffer_output.c
400 (main): Call gdb_unbuffer_output.
402 2016-01-21 Doug Evans <dje@google.com>
404 * lib/ada.exp (gdb_compile_ada): Fix typo.
406 2016-01-21 Joel Brobecker <brobecker@adacore.com>
408 * gdb.base/break-fun-addr.exp: New file.
409 * gdb.base/break-fun-addr1.c: New file.
410 * gdb.base/break-fun-addr2.c: New file.
412 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
414 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
415 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
418 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
420 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
421 when GDB can not set the vector return value. Add more comments
424 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
426 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
429 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
431 * Makefile.in (DO_RUNTEST): Add --status and update usages.
433 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
435 * Makefile.in (check-single): Pass --status to runtest.
436 (check/%.exp): Likewise.
438 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
440 * Makefile.in (check-parallel): Propagate return code from make
443 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
445 * gdb.trace/ftrace.exp: Fix expected message on continue.
446 * gdb.trace/pending.exp: Fix expected message on continue.
447 * gdb.trace/trace-break.exp: Fix expected message on continue.
449 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
451 * lib/gdb.exp (gdb_test): Remove unused global references.
453 2016-01-18 Pedro Alves <palves@redhat.com>
455 * gdb.base/async-shell.exp: Adjust expected output.
456 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
457 * gdb.base/siginfo-thread.exp: Adjust expected output.
458 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
459 * gdb.java/jnpe.exp: Adjust expected output.
460 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
461 * gdb.threads/continue-pending-status.exp: Adjust expected output.
462 * gdb.threads/leader-exit.exp: Adjust expected output.
463 * gdb.threads/manythreads.exp: Adjust expected output.
464 * gdb.threads/pthreads.exp: Adjust expected output.
465 * gdb.threads/schedlock.exp: Adjust expected output.
466 * gdb.threads/siginfo-threads.exp: Adjust expected output.
467 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
469 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
471 * gdb.threads/sigthread.exp: Adjust expected output.
472 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
474 2016-01-18 Yao Qi <yao.qi@linaro.org>
476 * gdb.guile/scm-section-script.c: Replace @progbits with
478 * gdb.python/py-section-script.c: Likewise.
480 2016-01-15 Pedro Alves <palves@redhat.com>
482 * gdb.multi/tids.exp: Test star wildcard ranges.
484 2016-01-15 Pedro Alves <palves@redhat.com>
486 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
487 command from "thread apply" invocation.
488 (thr_apply_info_thr_invalid): Default the expected output to the
490 (top level): Add tests that use convenience variables. Add tests
491 for "thread apply" with a valid TID list, but missing the command.
493 2016-01-13 Pedro Alves <palves@redhat.com>
495 * gdb.base/default.exp: Expect $_gthread as well.
496 * gdb.multi/tids.exp: Test $_gthread.
497 * gdb.threads/thread-specific.exp: Test $_gthread.
499 2016-01-13 Pedro Alves <palves@redhat.com>
501 * gdb.multi/tids.exp: Test "info threads -gid".
503 2016-01-13 Pedro Alves <palves@redhat.com>
505 * gdb.multi/tids.exp: Test InferiorThread.global_num and
507 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
509 2016-01-07 Pedro Alves <palves@redhat.com>
511 * gdb.base/break.exp: Adjust to output changes.
512 * gdb.base/hbreak2.exp: Likewise.
513 * gdb.base/sepdebug.exp: Likewise.
514 * gdb.base/watch_thread_num.exp: Likewise.
515 * gdb.linespec/keywords.exp: Likewise.
516 * gdb.multi/info-threads.exp: Likewise.
517 * gdb.threads/thread-find.exp: Likewise.
518 * gdb.multi/tids.c: New file.
519 * gdb.multi/tids.exp: New file.
521 2016-01-13 Pedro Alves <palves@redhat.com>
523 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
525 2016-01-13 Pedro Alves <palves@redhat.com>
527 * gdb.base/default.exp: Expect $_inferior as well.
528 * gdb.multi/base.exp: Test $_inferior.
530 2016-01-13 Pedro Alves <palves@redhat.com>
533 * gdb.base/catch-signal-siginfo-cond.c: New file.
534 * gdb.base/catch-signal-siginfo-cond.exp: New file.
536 2016-01-12 Josh Stone <jistone@redhat.com>
537 Philippe Waroquiers <philippe.waroquiers@skynet.be>
539 * gdb.base/catch-syscall.c (do_execve): New variable.
540 (main): Conditionally trigger an execve.
541 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
542 (test_catch_syscall_execve): New, check entry/return across execve.
543 (do_syscall_tests): Call test_catch_syscall_execve.
545 2016-01-12 Pedro Alves <palves@redhat.com>
547 * gdb.base/random-signal.exp (do_test): New procedure, with body
548 of testcase moved in.
550 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
551 Pedro Alves <palves@redhat.com>
553 * gdb.base/funcargs.exp (finish from indirectly called function):
554 Reintroduce the case for 'First'.
556 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
557 Pedro Alves <palves@redhat.com>
559 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
560 (tcatch_vfork_then_child_follow_exec)
561 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
564 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
566 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
567 and repeats to unlimited.
568 * gdb.python/py-value.exp: Likewise.
569 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
570 and repeats to unlimited.
572 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
574 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
575 and reordering the functions.
576 * gdb.multi/hangout.c: Likewise.
577 * gdb.multi/hello.c: Likewise.
579 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
581 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
583 (SingleStatisticTestResult.report): Use dict.keys instead of
586 2016-01-06 Pedro Alves <palves@redhat.com>
588 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
590 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
592 * gdb.btrace/dlopen.exp: New.
593 * gdb.btrace/dlopen.c: New.
594 * gdb.btrace/dlopen-dso.c: New.
596 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
598 * lib/gdb.exp (gdb_test): Update comments to clarify that the
599 PATTERN argument is optional.
601 2015-12-24 Joel Brobecker <brobecker@adacore.com>
603 * lib/ada.exp (target_compile_ada_from_dir): New function.
604 (gdb_compile_ada): Reimplement avoiding the use of project files.
605 * gdb.ada/gnat_ada.gpr: Delete.
606 * gdb.ada/cond_lang.exp: Adjust test to make path before
608 * gdb.ada/small_reg_param.exp: Likewise.
610 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
612 * gdb.base/foll-vork.exp: Remove HP-UX special case.
614 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
616 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
619 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
621 * gdb.base/break.exp: Remove dead code.
622 * gdb.base/sepdebug.exp: Likewise.
624 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
626 * gdb.asm/asm-source.exp: Remove HP-UX references.
627 * gdb.base/annota1.exp: Likewise.
628 * gdb.base/annota3.exp: Likewise.
629 * gdb.base/attach.exp: Likewise.
630 * gdb.base/bigcore.exp: Likewise.
631 * gdb.base/break.exp: Likewise.
632 * gdb.base/call-ar-st.exp: Likewise.
633 * gdb.base/callfuncs.exp: Likewise.
634 * gdb.base/catch-fork-static.exp: Likewise.
635 * gdb.base/display.exp: Likewise.
636 * gdb.base/foll-exec-mode.exp: Likewise.
637 * gdb.base/foll-exec.exp: Likewise.
638 * gdb.base/foll-fork.exp: Likewise.
639 * gdb.base/foll-vfork.exp: Likewise.
640 * gdb.base/funcargs.exp: Likewise.
641 * gdb.base/hbreak2.exp: Likewise.
642 * gdb.base/inferior-died.exp: Likewise.
643 * gdb.base/interrupt.exp: Likewise.
644 * gdb.base/multi-forks.exp: Likewise.
645 * gdb.base/nodebug.exp: Likewise.
646 * gdb.base/sepdebug.exp: Likewise.
647 * gdb.base/solib1.c: Likewise.
648 * gdb.base/step-test.exp: Likewise.
649 * gdb.mi/non-stop.c: Likewise.
650 * gdb.mi/pthreads.c: Likewise.
651 * gdb.multi/bkpt-multi-exec.ex: Likewise.
652 * gdb.threads/pthreads.c: Likewise.
653 * gdb.threads/staticthreads.exp: Likewise.
654 * lib/future.exp: Likewise.
655 * lib/gdb.exp: Likewise.
656 * gdb.base/so-indr-cl.c: Remove.
657 * gdb.base/so-indr-cl.exp: Likewise.
658 * gdb.base/solib.c: Likewise.
659 * gdb.base/solib.exp: Likewise.
660 * gdb.base/solib2.c: Likewise.
662 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
664 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
665 * gdb.base/call-ar-st.exp: Likewise.
666 * gdb.base/callfuncs.exp: Likewise.
667 * gdb.base/condbreak.exp: Likewise.
668 * gdb.base/constvars.exp: Likewise.
669 * gdb.base/hbreak2.exp: Likewise.
670 * gdb.base/langs.exp: Likewise.
671 * gdb.base/list.exp: Likewise.
672 * gdb.base/long_long.exp: Likewise.
673 * gdb.base/ptype.exp: Likewise.
674 * gdb.base/scope.exp: Likewise.
675 * gdb.base/signals.exp: Likewise.
676 * gdb.base/so-impl-ld.exp: Likewise.
677 * gdb.base/varargs.exp: Likewise.
678 * gdb.base/volatile.exp: Likewise.
679 * gdb.base/whatis.exp: Likewise.
680 * gdb.cp/cplusfuncs.exp: Likewise.
681 * gdb.cp/inherit.exp: Likewise.
682 * gdb.cp/local.exp: Likewise.
683 * gdb.cp/member-ptr.exp: Likewise.
684 * gdb.cp/method.exp: Likewise.
685 * gdb.cp/overload.exp: Likewise.
686 * gdb.cp/templates.exp: Likewise.
687 * gdb.stabs/weird.exp: Likewise.
688 * lib/compiler.c: Likewise.
689 * lib/compiler.cc: Likewise.
690 * lib/cp-support.exp: Likewise.
691 * lib/gdb.exp: Likewise.
693 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
695 * configure.ac: Remove HP-UX case.
696 * configure: Regenerate.
698 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
700 * lib/gdb.exp (gdb_compile): Add function doc.
702 2015-12-17 Pedro Alves <palves@redhat.com>
705 * gdb.multi/info-threads.exp: New file.
707 2015-12-15 Yao Qi <yao.qi@linaro.org>
709 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
712 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
714 * gdb.base/history-duplicates.exp: Skip if no readline support.
716 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
718 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
720 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
722 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
724 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
726 * gdb.base/completion.exp: Skip tests that interrupt GDB with
727 ctrl-C if nointerrupts target property is set.
728 * gdb.base/double-prompt-target-event-error.exp: Likewise.
729 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
730 * gdb.base/paginate-bg-execution.exp: Likewise.
731 * gdb.base/paginate-execution-startup.exp: Likewise.
732 * gdb.base/random-signal.exp: Likewise.
733 * gdb.base/range-stepping.exp: Likewise.
734 * gdb.cp/annota2.exp: Likewise.
735 * gdb.cp/annota3.exp: Likewise.
736 * gdb.gdb/selftest.exp: Likewise.
737 * gdb.threads/continue-pending-status.exp: Likewise.
738 * gdb.threads/leader-exit.exp: Likewise.
739 * gdb.threads/manythreads.exp: Likewise.
740 * gdb.threads/pthreads.exp: Likewise.
741 * gdb.threads/schedlock.exp: Likewise.
742 * gdb.threads/sigthread.exp: Likewise.
744 2015-12-11 Don Breazeal <donb@codesourcery.com>
746 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
748 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
749 * gdb.base/foll-exec.exp (main): Enable for target remote.
750 * gdb.base/foll-fork.exp (main): Likewise.
751 * gdb.base/foll-vfork.exp (main): Likewise.
752 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
753 (proc continue_to_exit_bp_loc): Use clean_restart.
754 * gdb.base/pie-execl.exp (main): Disable for target remote.
755 * gdb.base/watch-vfork.exp (main): Enable for target remote.
756 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
757 * gdb.threads/execl.exp (main): Likewise.
758 * gdb.threads/fork-child-threads.exp (main): Likewise.
759 * gdb.threads/fork-plus-threads.exp (main): Disable for target
761 * gdb.threads/fork-thread-pending.exp (main): Enable for target
763 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
764 pid.tid style ptids, instead of just tid.
765 * gdb.threads/thread-execl.exp (main): Enable for target remote.
766 * gdb.threads/watchpoint-fork.exp (main): Likewise.
767 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
768 ptids, instead of just tid.
770 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
772 * gdb.base/list.exp (test_list_forward): Add end of file error
774 (test_repeat_list_command): Add end of file error test.
775 (test_list_backwards): Add beginning of file error test.
777 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
779 * gdb.base/list.exp (test_list_invalid_args): New function,
782 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
784 * gdb.base/list.exp (test_list): Make test names unique.
786 2015-12-11 Yao Qi <yao.qi@linaro.org>
788 * gdb.base/coremaker2.c: Remove.
790 2015-12-10 Pedro Alves <palves@redhat.com>
792 * gdb.multi/base.exp: Remove stale "spaces" references.
794 2015-12-10 Pedro Alves <palves@redhat.com>
796 * gdb.multi/base.exp: Don't use nowarnings.
797 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
798 * gdb.multi/hangout.c: Include stdio.h.
799 * gdb.multi/hello.c: Include stdlib.h.
800 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
801 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
802 * gdb.multi/multi-arch.exp: Don't use nowarnings.
804 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
806 * gdb.dwarf2/dw2-ranges-base.c: New file.
807 * gdb.dwarf2/dw2-ranges-base.exp: New file.
808 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
809 support additional line table, and debug ranges generation.
810 (Dwarf::ranges): New function, generate .debug_ranges.
811 (Dwarf::lines): Support generating simple line table programs.
812 (Dwarf::assemble): Initialise new namespace variables.
814 2015-12-09 Kevin Buettner <kevinb@redhat.com>
816 * gdb.base/async.exp (proc test_background): Add case for
817 asynchronous execution not supported.
819 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
821 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
822 format and change test names to make them unique.
824 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
825 Pedro Alves <pedro@redhat.com>
828 Add checking of floatformats setup on x86_64 hosts.
829 * gdb.arch/i386-float.S (main): Load bigval and smallval.
830 (smallval, bigval): New labels/constants.
831 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
832 float" after loading bigval and smallval.
834 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
836 * gdb.ada/fun_overload_menu.exp: New testcase.
837 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
839 2015-12-04 Josh Stone <jistone@redhat.com>
841 * gdb.base/catch-fork-static.exp: New.
843 2015-12-03 Yao Qi <yao.qi@linaro.org>
845 * gdb.base/sizeof.c: Don't include stdio.h and
846 ../lib/unbuffer_output.c.
847 (main): New variable 'size' and 'value'. Remove printf and
848 gdb_unbuffer_output. Assign return value to size and value.
849 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
851 (check_sizeof): Check the result by printing variable 'size'.
852 (check_valueof): Check the result by printing variable 'value'.
854 2015-12-01 Yao Qi <yao.qi@linaro.org>
856 * gdb.base/disp-step-syscall.exp: Define syscall instruction
857 for aarch64*-*-linux* target.
859 2015-11-30 Pedro Alves <palves@redhat.com>
861 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
863 2015-11-30 Pedro Alves <palves@redhat.com>
865 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
866 Handle non-stop mode vCont replies.
868 2015-11-30 Pedro Alves <palves@redhat.com>
870 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
871 prepare_for_testing. Start gdb with "set non-stop on" appended to
872 GDBFLAGS. Lax expected stop output.
874 2015-11-27 Yao Qi <yao.qi@linaro.org>
876 * gdb.arch/arm-neon.exp: New.
877 * gdb.arch/arm-neon.c: New.
879 2015-11-27 Yao Qi <yao.qi@linaro.org>
881 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
883 2015-11-27 Yao Qi <yao.qi@linaro.org>
885 * gdb.cp/annota2.exp: Allow multiple occurrences of the
886 frames-invalid annotation.
888 2015-11-27 Yao Qi <yao.qi@linaro.org>
890 * gdb.cp/annota2.exp: Use ${frames_invalid}.
892 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
894 * gdb.threads/names.exp: New file.
895 * gdb.threads/names.c: New file.
896 * README: Mention gdb,no_thread_names.
898 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
901 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
904 2015-11-24 Pedro Alves <palves@redhat.com>
907 * gdb.base/display.exp: Expect displays to be sorted in ascending
908 order. Use multi_line.
909 * gdb.base/solib-display.exp: Likewise.
911 2015-11-24 Pedro Alves <palves@redhat.com>
914 * gdb.base/display.exp: Expect displays to be sorted in ascending
915 order. Use multi_line.
916 * gdb.base/solib-display.exp: Likewise.
918 2015-11-24 Pedro Alves <palves@redhat.com>
921 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
922 threads in ascending order.
923 * gdb.base/foll-fork.exp: Likewise.
924 * gdb.base/foll-vfork.exp: Likewise.
925 * gdb.base/multi-forks.exp: Likewise.
926 * gdb.mi/mi-nonstop.exp: Likewise.
927 * gdb.mi/mi-nsintrall.exp: Likewise.
928 * gdb.multi/base.exp: Likewise.
929 * gdb.multi/multi-arch.exp: Likewise.
930 * gdb.python/py-inferior.exp: Likewise.
931 * gdb.threads/break-while-running.exp: Likewise.
932 * gdb.threads/execl.exp: Likewise.
933 * gdb.threads/gcore-thread.exp: Likewise.
934 * gdb.threads/info-threads-cur-sal.exp: Likewise.
935 * gdb.threads/kill.exp: Likewise.
936 * gdb.threads/linux-dp.exp: Likewise.
937 * gdb.threads/multiple-step-overs.exp: Likewise.
938 * gdb.threads/next-bp-other-thread.exp: Likewise.
939 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
940 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
941 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
942 * gdb.threads/thread-find.exp: Likewise.
943 * gdb.threads/tls.exp: Likewise.
944 * lib/mi-support.exp (mi_reverse_list): Delete.
945 (mi_check_thread_states): No longer reverse list.
947 2015-11-24 Pedro Alves <palves@redhat.com>
949 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
952 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
954 * gdb.trace/actions.c: Include trace-common.h.
955 (main): Add a location for a fast tracepoint.
956 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
957 the normal tracepoints.
958 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
960 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
962 * save-trace.exp: Factor out code to these...
963 (gdb_save_tracepoints): New.
964 (gdb_load_tracepoints): New.
965 (do_save_load_test): New.
967 2015-11-23 Kevin Buettner <kevinb@redhat.com>
969 * gdb.base/asmlabel.exp: New test.
970 * gdb.base/asmlabel.c: New test case.
972 2015-11-23 Joel Brobecker <brobecker@adacore.com>
974 * gdb.base/wrong_frame_bt_full-main.c: New file.
975 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
976 * gdb.base/wrong_frame_bt_full.exp: New file.
978 2015-11-23 Joel Brobecker <brobecker@adacore.com>
980 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
982 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
984 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
985 pstate register when comparing registers values in
986 sparc64-*-linux-gnu targets to avoid spurious differences.
988 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
990 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
992 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
994 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
995 as type argument to gdb_compile.
996 * gdb.base/nested-subp2.exp: Likewise.
997 * gdb.base/nested-subp3.exp: Likewise.
999 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1001 * lib/dwarf.exp (_note): Fix left shift of negative value.
1002 * gdb.trace/trace-condition.exp: Likewise.
1004 2015-11-13 Yao Qi <yao.qi@linaro.org>
1006 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1007 comments about d10v.
1008 (test_scalar_returns): Likewise.
1009 * gdb.base/d10v.ld: Remove.
1010 * gdb.base/overlays.exp: Remove the target triplet checking for
1012 * gdb.base/structs.exp (test_struct_returns): Remove the
1013 comments about d10v.
1014 (test_struct_calls): Likewise.
1016 2015-11-13 Yao Qi <yao.qi@linaro.org>
1018 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1019 * gdb.base/gnu_vector.c: Don't include stdio.h.
1020 (main): Don't print res and call add_some_intvecs.
1022 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1024 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1027 (func4): Use FAST_TRACEPOINT_LABEL.
1028 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1031 (thread_function): Use FAST_TRACEPOINT_LABEL.
1032 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1034 (marker): Use FAST_TRACEPOINT_LABEL.
1035 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1036 (pendfunc1): Remove.
1037 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1038 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1040 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1041 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1044 (marker): Use FAST_TRACEPOINT_LABEL.
1045 * gdb.trace/trace-common.h: New header.
1046 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1049 (marker): Use FAST_TRACEPOINT_LABEL.
1050 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1052 (thread_function): Use FAST_TRACEPOINT_LABEL.
1054 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1056 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1058 * gdb.trace/change-loc.exp: Use global pcreg definition.
1059 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1060 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1062 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1063 * gdb.trace/pending.exp: Likewise.
1064 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1065 * gdb.trace/trace-break.exp: Likewise.
1066 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1068 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1069 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1071 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1073 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.ada/fin_fun_out: New testcase.
1077 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1079 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1080 value associated with DW_AT_byte_size.
1081 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1082 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1085 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1087 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1088 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1090 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1091 gdb.dwarf2/dw2-canonicalize-type.exp,
1092 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1093 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1094 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1095 provided by gdb_target_symbol_prefix_flags_asm.
1096 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1097 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1098 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1099 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1100 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1101 macros where needed). Use this macro for symbols which require
1102 the prefix provided by SYMBOL_PREFIX.
1104 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1106 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1108 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1109 representing expressions, of more than one list element.
1110 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1111 to prepend linker symbol prefix to f.
1112 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1113 table_1 and table_2.
1114 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1115 Likewise, for f and g.
1116 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1118 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1120 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1121 table_1_ptr and table_2_ptr.
1123 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1124 Joel Brobecker <brobecker@adacore.com>
1126 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1128 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1130 * gdb.reverse/s390-mvcle.c: New test.
1131 * gdb.reverse/s390-mvcle.exp: New file.
1132 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1134 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1136 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1138 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1140 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1142 * gdb.reverse/getresuid-reverse.exp: Likewise.
1143 * gdb.reverse/pipe-reverse.exp: Likewise.
1144 * gdb.reverse/readv-reverse.exp: Likewise.
1145 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1146 * gdb.reverse/time-reverse.exp: Likewise.
1147 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1149 2015-10-30 Yao Qi <yao.qi@linaro.org>
1151 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1152 (empty_cycle): Remove.
1153 (main): Don't call empty_cycle. Don't use watch_count_done.
1154 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1155 empty_cycle. Rewrite the code counting HW watchpoints.
1157 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1159 * gdb.reverse/fstatat-reverse.c: New test.
1160 * gdb.reverse/fstatat-reverse.exp: New file.
1161 * gdb.reverse/getresuid-reverse.c: New test.
1162 * gdb.reverse/getresuid-reverse.exp: New file.
1163 * gdb.reverse/pipe-reverse.c: New test.
1164 * gdb.reverse/pipe-reverse.exp: New file.
1165 * gdb.reverse/readv-reverse.c: New test.
1166 * gdb.reverse/readv-reverse.exp: New file.
1167 * gdb.reverse/recvmsg-reverse.c: New test.
1168 * gdb.reverse/recvmsg-reverse.exp: New file.
1169 * gdb.reverse/time-reverse.c: New test.
1170 * gdb.reverse/time-reverse.exp: New file.
1171 * gdb.reverse/waitpid-reverse.c: New test.
1172 * gdb.reverse/waitpid-reverse.exp: New file.
1174 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1178 2015-10-26 Doug Evans <dje@google.com>
1181 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1182 * gdb.dwarf2/bad-regnum.c: New file.
1183 * gdb.dwarf2/bad-regnum.exp: New file.
1185 2015-10-26 Doug Evans <dje@google.com>
1188 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1191 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1193 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1194 for a change by "Mention language in compile error message".
1196 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1199 * gdb.python/py-type.c (C::a_method): New.
1200 (C::a_const_method): New.
1201 (C::a_static_method): New.
1203 * gdb.python/py-type.exp (test_fields): Test getting fields
1204 from function and method.
1206 2015-10-21 Keven Boell <keven.boell@intel.com>
1208 * gdb.fortran/vla-alloc-assoc.exp: New file.
1209 * gdb.fortran/vla-datatypes.exp: New file.
1210 * gdb.fortran/vla-datatypes.f90: New file.
1211 * gdb.fortran/vla-history.exp: New file.
1212 * gdb.fortran/vla-ptype-sub.exp: New file.
1213 * gdb.fortran/vla-ptype.exp: New file.
1214 * gdb.fortran/vla-sizeof.exp: New file.
1215 * gdb.fortran/vla-sub.f90: New file.
1216 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1217 * gdb.fortran/vla-value-sub-finish.exp: New file.
1218 * gdb.fortran/vla-value-sub.exp: New file.
1219 * gdb.fortran/vla-value.exp: New file.
1220 * gdb.fortran/vla-ptr-info.exp: New file.
1221 * gdb.mi/mi-vla-fortran.exp: New file.
1222 * gdb.mi/vla.f90: New file.
1224 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1226 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1227 of hardwired timeout value.
1229 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1230 Pedro Alves <palves@redhat.com>
1232 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1233 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1235 2015-10-19 Josh Stone <jistone@redhat.com>
1237 * gdb.base/catch-syscall.c: Include <sched.h>.
1238 (unknown_syscall): New variable.
1239 (main): Trigger a vfork and an unknown syscall.
1240 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1241 (unknown_syscall_number): Likewise.
1242 (check_call_to_syscall): Accept an optional syscall pattern.
1243 (check_return_from_syscall): Likewise.
1244 (check_continue): Likewise.
1245 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1246 (test_catch_syscall_skipping_return): New test toggling off 'catch
1247 syscall' to step over the syscall return, then toggling back on.
1248 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1249 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1250 (do_syscall_tests): Call test_catch_syscall_without_args and
1251 test_catch_syscall_mid_vfork.
1252 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1253 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1255 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1257 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1258 print g_vE): Add new pass patterns.
1259 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1260 print various symbol names for vptr fields.
1262 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1264 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1267 2015-10-12 Yao Qi <yao.qi@linaro.org>
1269 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1271 2015-10-12 Yao Qi <yao.qi@linaro.org>
1273 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1274 is aarch64*-*-linux*.
1276 2015-10-12 Yao Qi <yao.qi@linaro.org>
1278 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1279 (can_relocate_bcond_true): ... it.
1280 (can_relocate_bcond_false): New function.
1282 (can_relocate_bl): Likewise.
1283 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1286 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1288 * gdb.base/nested-addr.c: New file.
1289 * gdb.base/nested-addr.exp: New testcase.
1291 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1293 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1294 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1295 its output. Ignore the output of "record goto begin" and instead
1296 check that GDB is replaying.
1298 2015-10-09 Pedro Alves <palves@redhat.com>
1300 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1301 (top level): Use it in the run with no args test.
1303 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1305 * gdb.dlang/properties.exp: New file.
1307 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1309 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1310 whether or not address 0x1000 is mapped on the target.
1312 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1314 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1317 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1319 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1320 instruction-history test.
1322 2015-09-28 Doug Evans <dje@google.com>
1324 * gdb.base/gcore.c (array_func): Add reference to static_array.
1326 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1331 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1333 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1334 short or char as base type.
1336 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1338 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1339 to allow any size enum.
1341 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1343 * gdb.ada/array_ptr_renaming.exp: New testcase.
1344 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1345 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1347 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1349 * gdb.trace/ftrace-lock.c: New file.
1350 * gdb.trace/ftrace-lock.exp: New file.
1352 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1354 * gdb.arch/insn-reloc.c: New file.
1355 * gdb.arch/ftrace-insn-reloc.exp: New file.
1357 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1359 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1361 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1362 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1363 * gdb.trace/range-stepping.c: Likewise.
1364 * gdb.trace/trace-break.c: Likewise.
1365 * gdb.trace/trace-mt.c (thread_function): Likewise.
1366 * gdb.trace/ftrace.c (marker): Likewise.
1367 * gdb.trace/trace-condition.c (marker): Likewise.
1368 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1369 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1372 2015-09-18 Doug Evans <xdje42@gmail.com>
1374 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1375 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1377 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1379 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1382 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1384 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1385 the pending breakpoint. Remove timeout override for "Run till
1386 MI pending breakpoint on pendfunc3 on thread 2" test.
1388 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1390 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1393 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1395 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1396 in breakpoint filename pattern.
1398 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1400 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1402 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1404 * gdb.linespec/explicit.exp: Check for readline support for
1405 tab-completion tests. Fix obvious typo.
1407 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1409 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1412 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1414 * gdb.btrace/non-stop.c: New.
1415 * gdb.btrace/non-stop.exp: New.
1417 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1418 Yao Qi <yao.qi@linaro.org>
1420 * gdb.trace/trace-condition.c: New file.
1421 * gdb.trace/trace-condition.exp: New file.
1423 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1425 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1426 for testing bytecode compilation.
1428 2015-09-16 Pedro Alves <palves@redhat.com>
1429 Sandra Loosemore <sandra@codesourcery.com>
1431 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1432 (SECONDS): Redefine.
1433 (main): Call pthread_kill and alarm early.
1434 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1436 (test): If the target can't hardware step and doesn't support
1437 displaced stepping, increase the timeout.
1439 2015-09-16 Pedro Alves <palves@redhat.com>
1441 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1442 (enable_debug): New procedures.
1443 (test): Use them. Bail out if waiting for threads fails.
1444 (top level): Bail out if a test fails.
1446 2015-09-16 Yao Qi <yao.qi@linaro.org>
1448 * gdb.asm/asm-source.exp: Set asm-arch for
1449 aarch64*-*-* target.
1450 * gdb.asm/aarch64.inc: New file.
1452 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1454 * gdb.ada/array_of_variable_length.exp: New testcase.
1455 * gdb.ada/array_of_variable_length/foo.adb: New file.
1456 * gdb.ada/array_of_variable_length/pck.adb: New file.
1457 * gdb.ada/array_of_variable_length/pck.ads: New file.
1459 2015-09-15 Doug Evans <dje@google.com>
1461 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1462 of function static local variable.
1464 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1466 * gdb.threads/tls-so_extern.exp: New test file.
1467 * gdb.threads/tls-so_extern.c: New test file.
1468 * gdb.threads/tls-so_extern_main.c: New test file.
1470 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1472 * gdb.opt/solib-intra-step-lib.c: New file.
1473 * gdb.opt/solib-intra-step-main.c: New file.
1474 * gdb.opt/solib-intra-step.exp: New file.
1476 2015-09-15 Pedro Alves <palves@redhat.com>
1478 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1479 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1481 2015-09-14 Pedro Alves <palves@redhat.com>
1483 * gdb.base/hook-stop-continue.c: Delete.
1484 * gdb.base/hook-stop-continue.exp: Delete.
1485 * gdb.base/hook-stop-frame.c: Delete.
1486 * gdb.base/hook-stop-frame.exp: Delete.
1487 * gdb.base/hook-stop.c: New file.
1488 * gdb.base/hook-stop.exp: New file.
1490 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1492 * gdb.ada/access_to_packed_array.exp: New testcase.
1493 * gdb.ada/access_to_packed_array/foo.adb: New file.
1494 * gdb.ada/access_to_packed_array/pack.adb: New file.
1495 * gdb.ada/access_to_packed_array/pack.ads: New file.
1497 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1499 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1502 2015-09-11 Don Breazeal <donb@codesourcery.com>
1504 * gdb.base/foll-exec.c: Add copyright header. Fix
1506 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1507 (do_exec_tests): Use clean_restart in place of zap_session,
1508 and for test initialization. Fix formatting issues. Use
1509 fail in place of perror.
1510 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1511 an expect statement to match an expression with output from
1512 the program under debug.
1513 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1514 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1515 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1516 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1517 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1519 2015-09-09 Doug Evans <dje@google.com>
1521 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1523 2015-09-09 Doug Evans <dje@google.com>
1525 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1527 2015-09-09 Doug Evans <dje@google.com>
1529 * gdb.base/savedregs.exp: Fix typo.
1531 2015-09-09 Pedro Alves <palves@redhat.com>
1533 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1535 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1537 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1538 command actually switches threads. Give up on remaining
1539 tests if target fails to stop at breakpoint.
1541 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1543 * gdb.ada/funcall_char.exp: New testcase.
1544 * gdb.ada/funcall_char/foo.adb: New file.
1546 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1548 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1549 expected outputs. Add two testcases for completing ambiguous
1551 * gdb.ada/complete/aux_pck.adb: New file.
1552 * gdb.ada/complete/aux_pck.ads: New file.
1553 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1554 Ambiguous_Func functions.
1555 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1556 * gdb.ada/complete/pck.adb: Likewise.
1558 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1560 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1561 failures to run the test program under GDB.
1563 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1565 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1568 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1570 * gdb.base/run-after-attach.exp: New test file.
1571 * gdb.base/run-after-attach.c: New test file.
1573 2015-08-26 Don Breazeal <donb@codesourcery.com>
1575 * gdb.base/foll-exec-2.c: New test program.
1576 * gdb.base/foll-exec-2.exp: New test.
1578 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1580 * gdb.base/nested-subp1.exp: New file.
1581 * gdb.base/nested-subp1.c: New file.
1582 * gdb.base/nested-subp2.exp: New file.
1583 * gdb.base/nested-subp2.c: New file.
1584 * gdb.base/nested-subp3.exp: New file.
1585 * gdb.base/nested-subp3.c: New file.
1587 2015-08-24 Pedro Alves <palves@redhat.com>
1589 * gdb.server/connect-without-multi-process.c: New file.
1590 * gdb.server/connect-without-multi-process.exp: New file.
1592 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1594 * gdb.opt/inline-markers.c: Make z int.
1596 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1598 * gdb.opt/inline-markers.c: Make z volatile.
1600 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1602 * gdb.opt/inline-bt.c: New volatile global z.
1603 * gdb.opt/inline-cmds.c: Likewise.
1604 * gdb.opt/inline-locals.c: Likewise.
1605 * gdb.opt/inline-markers.c: New extern global z.
1607 (inline_fn): Likewise.
1609 2015-08-24 Pedro Alves <palves@redhat.com>
1611 * config/m32r-stub.exp: Remove file.
1612 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1613 * gdb.base/call-rt-st.exp: Likewise.
1614 * gdb.base/call-strs.exp: Likewise.
1615 * gdb.base/default.exp: Remove references to h8300-*-hms and
1617 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1619 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1621 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1622 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1623 and "return" use KFAIL when GDB can not read/write the vector
1626 2015-08-21 Gary Benson <gbenson@redhat.com>
1628 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1630 2015-08-20 Pedro Alves <palves@redhat.com>
1632 * gdb.server/solib-list.exp: No longer expect an interior stop in
1635 2015-08-20 Pedro Alves <palves@redhat.com>
1637 * gdb.server/connect-stopped-target.c: New file.
1638 * gdb.server/connect-stopped-target.exp: New file.
1640 2015-08-20 Pedro Alves <palves@redhat.com>
1642 * gdb.dwarf2/comp-unit-lang.exp: New file.
1643 * gdb.dwarf2/comp-unit-lang.c: New file.
1645 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1647 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1648 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1650 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1652 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1655 2015-08-18 Doug Evans <dje@google.com>
1656 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1658 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1659 skip_python_tests. New arg prompt_regexp.
1660 (skip_python_tests): New function.
1661 * lib/mi-support.exp (mi_skip_python_tests): New function.
1662 * gdb.python/py-mi-objfile-gdb.py: New file.
1663 * gdb.python/py-mi-objfile.c: New file.
1664 * gdb.python/py-mi-objfile.exp: New file.
1666 2015-08-17 Keith Seitz <keiths@redhat.com>
1668 * gdb.linespec/explicit.exp: Move strace test from here ...
1669 * gdb.trace/strace.exp: ... to here.
1671 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1673 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1674 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1676 2015-08-14 Doug Evans <xdje42@gmail.com>
1678 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1679 inferior before selecting a new file.
1681 2015-08-14 Doug Evans <xdje42@gmail.com>
1683 * gdb.mi/mi-disassemble.exp: Update.
1684 * gdb.base/disasm-optim.S: New file.
1685 * gdb.base/disasm-optim.c: New file.
1686 * gdb.base/disasm-optim.h: New file.
1687 * gdb.base/disasm-optim.exp: New file.
1689 2015-08-14 Keith Seitz <keiths@redhat.com>
1691 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1694 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1696 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1698 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1700 * gdb.ada/fun_renaming.exp: New testcase.
1701 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1702 * gdb.ada/fun_renaming/pack.adb: New file.
1703 * gdb.ada/fun_renaming/pack.ads: New file.
1705 2015-08-12 Keith Seitz <keiths@redhat.com>
1707 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1708 gdb_get_line_number.
1710 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1712 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1713 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1714 gdb.base/dso2dso.exp: New files.
1716 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1717 Pedro Alves <palves@redhat.com>
1718 Keith Seitz <keiths@redhat.com>
1720 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1723 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1725 * gdb.base/gdbhistsize-history.exp
1726 (test_histsize_history_setting): Use save_vars.
1727 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1729 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1730 * gdb.base/readline.exp: Use save_vars.
1732 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1734 * lib/gdb.exp (save_vars): New proc.
1736 2015-08-11 Keith Seitz <keiths@redhat.com>
1738 * gdb.base/help.exp: Update help_breakpoint_text.
1740 2015-08-11 Keith Seitz <keiths@redhat.com>
1742 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1743 (at toplevel): Call test_explicit_breakpoints.
1744 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1746 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1747 breakpoint conditions, "-cond".
1749 2015-08-11 Keith Seitz <keiths@redhat.com>
1751 * gdb.linespec/3explicit.c: New file.
1752 * gdb.linespec/cpexplicit.cc: New file.
1753 * gdb.linespec/cpexplicit.exp: New file.
1754 * gdb.linespec/explicit.c: New file.
1755 * gdb.linespec/explicit.exp: New file.
1756 * gdb.linespec/explicit2.c: New file.
1757 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1758 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1759 before using in the matching pattern.
1760 Clarify that `prefix' is a regular expression.
1762 2015-08-11 Keith Seitz <keiths@redhat.com>
1764 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1766 Add tests for missing ",FMT" and ",".
1768 2015-08-10 Doug Evans <dje@google.com>
1769 Keith Seitz <keiths@redhat.com>
1772 * gdb.base/completion.exp: Add location completer tests.
1774 2015-08-07 Pedro Alves <palves@redhat.com>
1776 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1778 (top level): Run do_test with and without displaced stepping.
1780 2015-08-07 Pedro Alves <palves@redhat.com>
1782 * gdb.base/valgrind-disp-step.c: New file.
1783 * gdb.base/valgrind-disp-step.exp: New file.
1785 2015-08-07 Pedro Alves <palves@redhat.com>
1787 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1789 (main): Add alarm. Run an infinite loop instead of calling
1791 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1793 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1795 (main): Add alarm. Run an infinite loop instead of calling
1797 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1800 2015-08-07 Pedro Alves <palves@redhat.com>
1802 * gdb.base/checkpoint-ns.exp: New file.
1803 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1806 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1808 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1809 * gdb.btrace/instruction_history.exp: Update.
1810 * gdb.btrace/tsx.exp: New.
1811 * gdb.btrace/tsx.c: New.
1813 2015-08-06 Pedro Alves <palves@redhat.com>
1815 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1817 * gdb.reverse/until-precsave.exp: Bump timeouts.
1819 2015-08-06 Pedro Alves <palves@redhat.com>
1821 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1823 2015-08-06 Pedro Alves <palves@redhat.com>
1826 * gdb.threads/process-dies-while-handling-bp.c: New file.
1827 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1829 2015-08-06 Pedro Alves <palves@redhat.com>
1831 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1832 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1834 2015-08-05 Pedro Alves <palves@redhat.com>
1836 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1837 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1839 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1841 * gdb.base/bp-permanent.exp: Report test as unsupported if
1842 the target cannot stop at the permanent breakpoint.
1844 2015-08-03 Doug Evans <dje@google.com>
1846 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1849 2015-08-03 Doug Evans <dje@google.com>
1851 * Makefile.in (workers/%.worker, build-perf): New rule.
1852 (GDB_PERFTEST_MODE): New variable.
1853 (check-perf): Use it.
1854 (clean): Clean up gdb.perf parallel build subdirs.
1855 * lib/build-piece.exp: New file.
1856 * lib/gdb.exp (make_gdb_parallel_path): New function
1857 (standard_output_file, standard_temp_file): Call it.
1858 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1860 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1862 2015-08-03 Doug Evans <dje@google.com>
1864 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1865 (LOG_FILE_NAME): New global.
1866 (TextReporter.__init__): Initialize self.txt_sum.
1867 (TextReporter.report): Add support for multiple data-points.
1868 Move report to perftest.sum, put raw data in perftest.log.
1869 (TextReporter.start): Open sum and log files.
1870 (TextReporter.end): Close sum and log files.
1871 * gdb.perf/lib/perftest/testresult.py
1872 (SingleStatisticTestResult.record): Handle multiple data-points.
1874 2015-07-31 Pedro Alves <palves@redhat.com>
1876 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1877 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1878 kill_wait_spawned_process instead of explicit "kill -9".
1879 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1880 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1881 kill_wait_spawned_process.
1882 * gdb.base/attach-twice.exp: Likewise.
1883 * gdb.base/attach.exp: Likewise.
1884 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1886 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1887 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1888 kill_wait_spawned_process.
1889 * gdb.base/valgrind-infcall.exp: Likewise.
1890 * gdb.multi/multi-attach.exp: Likewise.
1891 * gdb.python/py-prompt.exp: Likewise.
1892 * gdb.python/py-sync-interp.exp: Likewise.
1893 * gdb.server/ext-attach.exp: Likewise.
1894 * gdb.threads/attach-into-signal.exp (corefunc): Use
1895 spawn_wait_for_attach, spawn_id_get_pid and
1896 kill_wait_spawned_process.
1897 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1898 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1899 spawn_id_get_pid and kill_wait_spawned_process.
1900 * gdb.threads/attach-stopped.exp (corefunc): Use
1901 spawn_wait_for_attach, spawn_id_get_pid and
1902 kill_wait_spawned_process.
1903 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1904 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1905 kill_wait_spawned_process instead of explicit "kill -9".
1906 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1907 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1908 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1909 processes. Don't map cygwin/windows pids here. Now returns a
1912 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1914 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1915 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1918 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1920 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1922 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1925 2014-05-21 Mark Wielaard <mjw@redhat.com>
1927 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1929 2015-07-30 Pedro Alves <palves@redhat.com>
1931 * linux-low.c (handle_extended_wait): Set the child's last
1932 reported status to TARGET_WAITKIND_STOPPED.
1934 2015-07-30 Pedro Alves <palves@redhat.com>
1937 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1938 only shows inferior 1.
1940 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1941 Pedro Alves <palves@redhat.com>
1944 * gdb.threads/fork-plus-threads.c: New file.
1945 * gdb.threads/fork-plus-threads.exp: New file.
1947 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1949 * gdb.base/batch-preserve-term-settings.exp
1950 (test_terminal_settings_preserved_after_cli_exit): Use
1953 2015-07-29 Pedro Alves <palves@redhat.com>
1954 Don Breazeal <donb@codesourcery.com>
1956 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1957 output from both inferior_spawn_id and gdb_spawn_id.
1959 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1961 * gdb.threads/attach-into-signal.exp (corefunc): Use
1962 with_test_prefix on nested loops, uniquefying the test messages.
1964 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1966 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1969 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1971 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1973 (test_terminal_settings_preserved_after_sigterm): New test.
1975 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1977 * gdb.base/batch-preserve-term-settings.exp
1978 (test_terminal_settings_preserved_after_cli_exit): New test.
1980 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1982 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1983 manipulation of saved_gdbflags.
1984 (test_terminal_settings_preserved): Remove global declaration of
1985 the unused variable pagination_prompt. Remove manipulation of
1986 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1989 2015-07-29 Pedro Alves <palves@redhat.com>
1991 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1993 2015-07-29 Pedro Alves <palves@redhat.com>
1995 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1998 2015-07-29 Pedro Alves <palves@redhat.com>
2000 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2001 (main): Call gdb_unbuffer_output.
2002 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2003 (main): Call gdb_unbuffer_output.
2004 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2005 (main): Call gdb_unbuffer_output.
2006 * gdb.base/call-strs.exp: Adjust to step over the
2007 gdb_unbuffer_output call.
2008 * gdb.base/catch-gdb-caused-signals.c: Include
2009 "../lib/unbuffer_output.c".
2010 (main): Call gdb_unbuffer_output.
2011 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2012 (main): Call gdb_unbuffer_output.
2013 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2014 (main): Call gdb_unbuffer_output.
2015 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2016 (main): Call gdb_unbuffer_output.
2017 * gdb.base/shlib-call.exp: Adjust to step over the
2018 gdb_unbuffer_output call.
2019 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2020 (main): Call gdb_unbuffer_output.
2021 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2022 (main): Call gdb_unbuffer_output.
2023 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2024 (main): Rename to ...
2026 (main): Reimplement.
2027 * gdb.base/varargs.exp: Run to test instead of to main.
2028 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2029 (main): Call gdb_unbuffer_output.
2031 2015-07-29 Pedro Alves <palves@redhat.com>
2033 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2034 factore out from mi_continue_dprintf. For call-style dprintfs,
2035 expect dprintf output out of $inferior_spawn_id.
2036 (mi_continue_dprintf): Use mi_expect_dprintf.
2037 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2038 (main): Call gdb_unbuffer_output.
2040 2015-07-29 Pedro Alves <palves@redhat.com>
2042 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2043 (default_mi_gdb_start): Set inferior_spawn_id instead of
2044 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2046 (mi_gdb_test): Always expect inferior output from both
2047 $inferior_spawn_id and $gdb_spawn_id.
2049 2015-07-29 Pedro Alves <palves@redhat.com>
2051 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2052 send_inferior and $inferior_spawn_id.
2054 2015-07-29 Pedro Alves <palves@redhat.com>
2056 * gdb.gdb/complaints.exp (test_initial_complaints)
2057 (test_serial_complaints, test_short_complaints): Use
2059 (test_empty_complaint): Handle $inferior_spawn_id !=
2062 2015-07-29 Pedro Alves <palves@redhat.com>
2064 * gdb.base/varargs.exp: Use gdb_test_stdio.
2066 2015-07-29 Pedro Alves <palves@redhat.com>
2068 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2070 2015-07-29 Pedro Alves <palves@redhat.com>
2072 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2074 2015-07-29 Pedro Alves <palves@redhat.com>
2076 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2077 parameter into two new parameters, "inf_result" and "gdb_result".
2078 Expect inferior output and gdb output from $inferior_spawn_id and
2079 $gdb_spawn_id, respectively. Adjust all callers.
2081 2015-07-29 Pedro Alves <palves@redhat.com>
2083 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2084 of gdb_test_sequence.
2086 2015-07-29 Pedro Alves <palves@redhat.com>
2088 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2089 (saw_spurious_output): Expect inferior output from
2090 $inferior_spawn_id. Use gdb_test_stdio.
2092 2015-07-29 Pedro Alves <palves@redhat.com>
2094 * gdb.base/dprintf.exp: Use standard_testfile. Change
2095 prepare_for_testing call.
2096 (srcfile): Don't set.
2097 (restart): New procedure.
2098 (test_dprintf): New procecure, use to continue over dprintfs.
2099 (test_call, test_agent): New procedures, tests moved here.
2100 Restart gdb and recreate dprintfs. Adjust expected output.
2102 2015-07-29 Pedro Alves <palves@redhat.com>
2104 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2106 2015-07-29 Pedro Alves <palves@redhat.com>
2108 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2110 2015-07-29 Pedro Alves <palves@redhat.com>
2112 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2115 2015-07-29 Pedro Alves <palves@redhat.com>
2117 * lib/gdb.exp (gdb_test_stdio): New procedure.
2119 2015-07-29 Pedro Alves <palves@redhat.com>
2121 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2123 2015-07-29 Pedro Alves <palves@redhat.com>
2125 * gdb.base/call-signal-resume.exp: Remove check for
2126 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2127 * gdb.base/unwindonsignal.exp: Likewise.
2128 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2129 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2131 2015-07-29 Pedro Alves <palves@redhat.com>
2133 * gdb.base/siginfo-addr.c (pass): New function.
2134 (handler): Call it iff si_addr is correct.
2135 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2136 Set a breakpoint at "pass" and continue to it.
2138 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2140 * gdb.python/py-objfile.exp: Make some tests have unique names.
2141 * gdb.python/py-pp-registration.exp: Likewise.
2143 2015-07-28 Pedro Alves <palves@redhat.com>
2145 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2147 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2149 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2151 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2153 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2155 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2157 * gdb.base/gdb-sigterm-2.exp: New test.
2159 2015-07-25 Doug Evans <xdje42@gmail.com>
2162 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2163 (workers/%.worker, build-perf): New rule.
2164 (GDB_PERFTEST_MODE): New variable.
2165 (check-perf): Use it.
2166 (clean): Clean up gdb.perf parallel build subdirs.
2167 * lib/build-piece.exp: New file.
2168 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2169 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2171 (standard_temp_file): Ditto.
2172 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2175 2015-07-24 Doug Evans <dje@google.com>
2177 * gdb.perf/lib/perftest/utils.py: New file.
2178 * gdb.perf/gm-hello.cc: New file.
2179 * gdb.perf/gm-pervasive-typedef.cc: New file.
2180 * gdb.perf/gm-pervasive-typedef.h: New file.
2181 * gdb.perf/gm-std.cc: New file.
2182 * gdb.perf/gm-std.h: New file.
2183 * gdb.perf/gm-use-cerr.cc: New file.
2184 * gdb.perf/gm-utils.h: New file.
2185 * gdb.perf/gmonster-null-lookup.py: New file.
2186 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2187 * gdb.perf/gmonster-print-cerr.py: New file.
2188 * gdb.perf/gmonster-ptype-string.py: New file.
2189 * gdb.perf/gmonster-runto-main.py: New file.
2190 * gdb.perf/gmonster-select-file.py: New file.
2191 * gdb.perf/gmonster1-null-lookup.exp: New file.
2192 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2193 * gdb.perf/gmonster1-print-cerr.exp: New file.
2194 * gdb.perf/gmonster1-ptype-string.exp: New file.
2195 * gdb.perf/gmonster1-runto-main.exp: New file.
2196 * gdb.perf/gmonster1-select-file.exp: New file.
2197 * gdb.perf/gmonster1.cc: New file.
2198 * gdb.perf/gmonster1.exp: New file.
2199 * gdb.perf/gmonster2-null-lookup.exp: New file.
2200 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2201 * gdb.perf/gmonster2-print-cerr.exp: New file.
2202 * gdb.perf/gmonster2-ptype-string.exp: New file.
2203 * gdb.perf/gmonster2-runto-main.exp: New file.
2204 * gdb.perf/gmonster2-select-file.exp: New file.
2205 * gdb.perf/gmonster2.cc: New file.
2206 * gdb.perf/gmonster2.exp: New file.
2208 2015-07-24 Doug Evans <dje@google.com>
2210 * gdb.perf/README: New file.
2211 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2212 * lib/gen-perf-test.exp: New file.
2214 2015-07-24 Doug Evans <dje@google.com>
2216 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2217 (PerfTest::startup): New function.
2218 (PerfTest::run): Return result of calling body.
2219 (PerfTest::assemble): Rewrite.
2220 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2221 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2222 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2223 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2224 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2226 2015-07-24 Doug Evans <dje@google.com>
2228 * lib/gdb.exp (clean_restart): Make executable optional.
2230 2015-07-24 Doug Evans <dje@google.com>
2232 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2233 compiler_info references.
2234 * gdb.cp/temargs.exp: Ditto.
2235 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2236 (get_compiler_info): Early exit if already computed. Set compiler_info
2237 to "unknown" if there was a problem.
2238 (test_compiler_info): Add function comment. Call get_compiler_info.
2240 2015-07-24 Doug Evans <dje@google.com>
2242 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2243 (workers/%.worker, build-perf): New rule.
2244 (GDB_PERFTEST_MODE): New variable.
2245 (check-perf): Use it.
2246 (clean): Clean up gdb.perf parallel build subdirs.
2247 * lib/build-piece.exp: New file.
2248 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2249 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2251 (standard_temp_file): Ditto.
2252 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2255 2015-07-24 Doug Evans <dje@google.com>
2257 * lib/future.exp (gdb_default_target_compile): New option
2259 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2262 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2264 * gdb.base/catch-syscall.exp: Call gdb_exit before
2267 2015-07-24 Pedro Alves <palves@redhat.com>
2269 * gdb.python/py-events.exp: Accept output between the stop event
2271 * gdb.python/py-evsignal.exp: Likewise.
2272 * gdb.python/py-evthreads.exp: Likewise.
2274 2015-07-24 Pedro Alves <palves@redhat.com>
2277 * gdb.threads/non-ldr-exit.c: New file.
2278 * gdb.threads/non-ldr-exit.exp: New file.
2280 2015-07-24 Yao Qi <yao.qi@linaro.org>
2282 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2285 2015-07-24 Yao Qi <yao.qi@linaro.org>
2287 * gdb.server/ext-restart.exp: New file.
2289 2015-07-24 Yao Qi <yao.qi@linaro.org>
2291 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2293 * gdb.server/ext-wrapper.exp: New file.
2295 2015-07-23 Doug Evans <dje@google.com>
2297 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2298 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2300 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2302 * gdb.ada/var_arr_typedef.exp: New testcase.
2303 * gdb.ada/var_arr_typedef/pack.adb: New file.
2304 * gdb.ada/var_arr_typedef/pack.ads: New file.
2305 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2307 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2309 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2311 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2313 * gdb.arch/i386-biarch-core.exp: Replace istarget
2314 by "complete set gnutarget". Remove expectation for the "core-file"
2317 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2319 Revert the previous commit:
2320 Tests for validate symbol file using build-id.
2322 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2324 Tests for validate symbol file using build-id.
2325 * gdb.base/solib-mismatch-lib.c: New file.
2326 * gdb.base/solib-mismatch-libmod.c: New file.
2327 * gdb.base/solib-mismatch.c: New file.
2328 * gdb.base/solib-mismatch.exp: New file.
2330 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2332 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2334 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2335 * gdb.base/siginfo.exp: Likewise.
2336 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2338 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2340 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2342 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2344 * gdb.trace/range-stepping.exp: Check that the target supports
2347 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2349 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2351 2015-07-14 Pedro Alves <palves@redhat.com>
2353 * gdb.base/killed-outside.exp: New file.
2354 * gdb.base/killed-outside.c: New file.
2356 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2358 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2360 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2362 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2364 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2365 infcall tests instead of setting up for KFAIL.
2367 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2369 * gdb.btrace/record_goto-step.exp: New.
2371 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2374 * gdb.compile/compile.c (struct struct_type): Add volatile to
2376 * gdb.compile/compile.exp
2377 (compile code struct_object.selffield = &struct_object): Skip further
2378 struct_object tests if this one xfails.
2380 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2383 * gdb.trace/ax.exp: Add test.
2385 2015-07-07 Yao Qi <yao.qi@linaro.org>
2387 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2388 instead of istarget "aarch64*-*-*".
2389 * gdb.arch/aarch64-fp.exp: Likewise.
2390 * gdb.base/float.exp: Likewise.
2391 * gdb.reverse/aarch64.exp: Likewise.
2392 * lib/gdb.exp (is_aarch64_target): New proc.
2394 2015-07-07 Yao Qi <yao.qi@linaro.org>
2396 * lib/gdb.exp (is_aarch32_target): New proc.
2397 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2398 instead of "istarget "arm*-*-*"".
2399 * gdb.arch/arm-disp-step.exp: Likewise.
2400 * gdb.arch/thumb-bx-pc.exp: Likewise.
2401 * gdb.arch/thumb-prologue.exp: Likewise.
2402 * gdb.arch/thumb-singlestep.exp: Likewise.
2403 * gdb.base/disp-step-syscall.exp: Likewise.
2404 * gdb.base/float.exp: Likewise.
2406 2015-07-07 Yao Qi <yao.qi@linaro.org>
2408 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2409 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2411 2015-07-07 Yao Qi <yao.qi@linaro.org>
2413 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2414 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2416 * gdb.multi/multi-arch.exp: Likewise.
2418 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2420 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2423 2015-07-07 Yao Qi <yao.qi@linaro.org>
2425 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2427 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2429 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2430 '[' and ']' characters.
2432 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2434 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2436 2015-06-29 Pedro Alves <palves@redhat.com>
2439 * gdb.threads/hand-call-new-thread.c: New file.
2440 * gdb.threads/hand-call-new-thread.c: New file.
2442 2015-06-26 Keith Seitz <keiths@redhat.com>
2443 Doug Evans <dje@google.com>
2446 * gdb.cp/var-tag-2.cc: New file.
2447 * gdb.cp/var-tag-3.cc: New file.
2448 * gdb.cp/var-tag-4.cc: New file.
2449 * gdb.cp/var-tag.cc: New file.
2450 * gdb.cp/var-tag.exp: New file.
2452 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2454 * gdb.base/history-duplicates.exp: New test.
2456 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2458 * gdb.base/completion.exp: Test the completion of the "focus"
2461 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2463 * gdb.arch/amd64-prologue-skip.S: New file.
2464 * gdb.arch/amd64-prologue-skip.exp: New file.
2466 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2468 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2469 is_address_zero_readable check.
2471 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2473 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2474 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2476 2015-06-24 Yao Qi <yao.qi@linaro.org>
2478 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2481 2015-06-24 Yao Qi <yao.qi@linaro.org>
2483 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2484 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2485 * gdb.base/siginfo-thread.exp: Likewise.
2487 2015-06-22 Yao Qi <yao.qi@linaro.org>
2489 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2491 2015-06-22 Yao Qi <yao.qi@linaro.org>
2493 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2495 (skip_hw_watchpoint_tests): Likewise.
2497 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2499 * gdb.base/gdbinit-history.exp: Test the interaction between
2500 setting GDBHISTSIZE and setting the history size via .gdbinit.
2502 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2505 * gdb.base/gdbhistsize-history.exp: New test.
2507 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2509 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2511 * gdb.base/readline.exp: Likewise.
2513 2015-06-17 Yao Qi <yao.qi@linaro.org>
2515 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2518 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2520 * gdb.base/gdbinit-history.exp: Add test case to check that
2521 an unlimited history file does not get truncated on exit.
2523 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2525 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2526 (VECTOR): New macro. Use it...
2527 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2528 ...for these typedefs.
2529 (int8, char1, int1, double1): New typedefs.
2530 (struct just_int2, struct two_int2): New structures.
2531 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2532 (add_structvecs, add_singlevecs): New functions.
2533 (main): Call add_some_intvecs twice.
2534 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2535 the compile and exit upon failure. Try compiling for the "native"
2536 architecture. Test inferior function calls with vector arguments
2537 and vector return value handling with "finish" and "return".
2539 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2541 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2542 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2544 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2546 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2548 PR breakpoints/16465
2549 * gdb.mi/mi-dprintf-pending.c: New file.
2550 * gdb.mi/mi-dprintf-pending.exp: New test.
2551 * gdb.mi/mi-dprintf-pendshr.c: New file.
2553 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2554 Mircea Gherzan <mircea.gherzan@intel.com>
2556 * gdb.arch/i386-mpx-map.c: New file.
2557 * gdb.arch/i386-mpx-map.exp: New File.
2559 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2561 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2562 * gdb.arch/i386-mpx.exp: Indentation fixed.
2564 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2566 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2567 function and improved indentation.
2568 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2569 gdb_test_multiple. Added additional tests to skip the test.
2571 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2573 * gdb.arch/i386-avx512.c: Change path in include file.
2574 * gdb.arch/i386-avx512.exp: Change include dir path
2576 * gdb.arch/i386-mpx.c: Change path in include file.
2577 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2580 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2582 * gdb.compile/compile-print.exp (compile print *vararray@3)
2583 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2585 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2587 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2588 (do not keep jit in memory): ... this.
2589 (expect 5): Change it to ...
2590 (expect no 5): ... this.
2592 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2595 * gdb.mi/mi-detach.exp: New file.
2597 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2600 * gdb.arch/amd64-tailcall-self.S: New file.
2601 * gdb.arch/amd64-tailcall-self.c: New file.
2602 * gdb.arch/amd64-tailcall-self.exp: New file.
2604 2015-05-28 Don Breazeal <donb@codesourcery.com>
2606 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2607 tests for remote targets by checking is_target_gdbserver.
2609 2015-05-27 Doug Evans <dje@google.com>
2611 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2612 * gdb.dwarf2/opaque-type-lookup.c: New file.
2613 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2615 2015-05-26 Doug Evans <dje@google.com>
2617 * gdb.cp/iostream.cc: New file.
2618 * gdb.cp/iostream.exp: New file.
2620 2015-05-26 Doug Evans <dje@google.com>
2622 * gdb.dwarf2/dw2-op-call.exp: Update.
2623 * gdb.dwarf2/dw4-sig-types.exp: Update.
2624 * gdb.dwarf2/implptr.exp: Update.
2625 * gdb.mi/mi-cmd-param-changed.exp: Update.
2627 2015-05-26 Doug Evans <dje@google.com>
2629 * gdb.python/py-lazy-string.c: New file.
2630 * gdb.python/py-lazy-string.exp: New file.
2631 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2632 (main): Update. Add estring3.
2633 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2634 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2636 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2637 Yao Qi <yao.qi@linaro.org>
2639 * gdb.reverse/aarch64.c: New.
2640 * gdb.reverse/aarch64.exp: New.
2642 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2644 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2645 (supports_reverse): Likewise.
2647 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2649 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2650 Use with_test_prefix.
2652 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2654 * gdb.base/completion.exp: Add test for completion of layout
2657 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2659 * lib/gdb.exp (skip_tui_tests): New proc.
2660 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2662 2015-05-19 Pedro Alves <palves@redhat.com>
2664 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2665 Save the whole env array instead of just HOME. Unset HISTSIZE in
2666 the environment while testing. Restore whole environment
2669 2015-05-16 Doug Evans <xdje42@gmail.com>
2671 * gdb.guile/scm-ports.c: New file.
2672 * gdb.guile/scm-ports.exp: Add memory port tests.
2674 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2676 * gdb.compile/compile-print.c: New file.
2677 * gdb.compile/compile-print.exp: New file.
2679 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2681 * gdb.compile/compile-ops.exp: Cast param to void.
2682 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2683 (compile code struct_object.selffield = &struct_object): Add xfail.
2685 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2687 * gdb.ada/arr_enum_with_gap: New testcase.
2689 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2691 * gdb.ada/byte_packed_arr: New testcase.
2693 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2695 * gdb.ada/pckd_neg: New testcase.
2697 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2700 * gdb.base/gdbinit-history.exp: New test.
2701 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2702 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2704 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2706 * gdb.python/py-xmethods.cc: Enhance test case.
2707 * gdb.python/py-xmethods.exp: New tests.
2708 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2710 (B_indexoper): Likewise.
2711 (global_dm_list) : Add new xmethod worker functions.
2713 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2715 * gdb.base/coredump-filter.exp: Correctly unset
2716 "coredump_var_addr" array.
2718 2015-05-08 Pedro Alves <palves@redhat.com>
2720 * gdb.server/non-existing-program.exp: Unset spawn_id.
2722 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2725 * gdb.python/py-xmethods.exp: Add tests.
2727 2015-05-08 Yao Qi <yao.qi@linaro.org>
2730 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2731 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2732 function set_coredump_filter, and remove remote_exec call.
2733 Remove argument ipid. Callers update.
2734 (top level): Don't get inferior's PID.
2736 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2738 * gdb.base/watch_thread_num.exp: Skip test on targets without
2741 2015-05-06 Pedro Alves <palves@redhat.com>
2744 * gdb.server/non-existing-program.exp: New file.
2746 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2748 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2750 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2752 * gdb.ada/out_of_line_in_inlined: New testcase.
2754 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2756 * gdb.ada/var_rec_arr: New testcase.
2758 2015-04-30 Yao Qi <yao.qi@linaro.org>
2760 * gdb.base/break-idempotent.exp: If
2761 skip_hw_watchpoint_multi_tests returns true, skip the tests
2762 on "rwatch" and "awatch".
2764 2015-04-30 Yao Qi <yao.qi@linaro.org>
2766 * gdb.base/relativedebug.exp: Invoke gdb command
2767 "info sharedlibrary", and if libc.so doesn't have debug info,
2770 2015-04-29 Doug Evans <dje@google.com>
2772 * gdb.python/py-xmethods.exp: Add ptype tests.
2773 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2774 get_result_type method.
2776 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2778 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2779 the target does not support hardware watchpoints.
2781 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2783 * gdb.base/break-always.exp: Abort testing if writing to memory
2786 2015-04-28 Doug Evans <dje@google.com>
2788 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2789 * gdb.python/py-pp-registration.exp: ... here. New file.
2790 * gdb.python/py-pp-registration.c: New file.
2791 * gdb.python/py-pp-registration.py: New file.
2793 2015-04-28 Doug Evans <dje@google.com>
2795 * gdb.python/py-bad-printers.c: New file.
2796 * gdb.python/py-bad-printers.py: New file.
2797 * gdb.python/py-bad-printers.exp: New file.
2799 2015-04-28 Sasha Smundak <asmundak@google.com>
2801 * gdb.python/py-type.exp: New test.
2803 2015-04-28 Andy Wingo <wingo@igalia.com>
2805 * gdb.python/py-parameter.exp:
2806 * gdb.guile/scm-parameter.exp: Escape the path that we are
2807 matching against, as it might contain characters that are special
2808 to regular expressions.
2810 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2812 * gdb.ada/rec_comp: New testcase.
2814 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2816 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2819 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2821 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2822 new tests for verilog output.
2824 2015-04-24 Yao Qi <yao.qi@linaro.org>
2826 * boards/remote-gdbserver-on-localhost.exp: New file.
2828 2015-04-23 Pedro Alves <palves@redhat.com>
2830 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2831 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2832 "end of file", remove $inferior_spawn_id from the indirect list.
2834 2015-04-23 Pedro Alves <palves@redhat.com>
2836 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2838 2015-04-23 Pedro Alves <palves@redhat.com>
2840 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2841 on $any_spawn_id instead of only on $gdb_spawn_id.
2843 2015-04-21 Pierre Muller <muller@sourceware.org>
2846 * lib/pascal.exp (gpc_compile): Add new option "class".
2847 (fpc_compile): Likewise.
2848 * gdb.pascal/case-insensitive-symbols.pas: New file.
2849 * gdb.pascal/case-insensitive-symbols.exp: New file.
2851 2015-04-20 Gary Benson <gbenson@redhat.com>
2853 * gdb.base/attach.exp: Fix three extended remote failures.
2855 2015-04-17 Gary Benson <gbenson@redhat.com>
2857 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2858 the main executable over the remote protocol.
2860 2015-04-16 Pedro Alves <palves@redhat.com>
2862 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2863 a new gdbserver if gdbserver_reconnect_p is set.
2865 2015-04-16 Pedro Alves <palves@redhat.com>
2867 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2868 is set, don't exit gdbserver.
2870 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2872 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2873 appropriate .insn, such that an older assembler can be used.
2874 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2875 the z/Architecture instruction set on 31-bit targets as well.
2877 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2879 * gdb.go/handcall.exp: Remove all logic related to the first
2880 breakpoint and rely on go_runto_main instead.
2881 * gdb.go/strings.exp: Likewise.
2882 * gdb.go/unsafe.exp: Likewise.
2883 * gdb.go/hello.exp: Likewise. Also rename the remaining
2884 breakpoint marker to "breakpoint 1".
2885 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2886 * gdb.go/strings.go: Likewise.
2887 * gdb.go/unsafe.go: Likewise.
2888 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2889 "set breakpoint 2 here" and rename the remaining breakpoint marker
2892 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2894 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2895 if itertools.imap is not present.
2896 * gdb.python/py-objfile.exp: Add parentheses.
2897 * gdb.python/py-type.exp: Same.
2898 * gdb.python/py-unwind-maint.py: Same.
2900 2015-04-15 Yao Qi <yao.qi@linaro.org>
2902 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2903 of ":$ptr_size" and set its form explicitly.
2905 2015-04-15 Pedro Alves <palves@redhat.com>
2906 Yao Qi <yao.qi@linaro.org>
2908 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2909 timeout by factor of 4.
2910 (test_regular_watch): Likewise.
2911 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2912 * gdb.reverse/sigall-reverse.exp: Likewise.
2913 * gdb.reverse/until-precsave.exp: Likewise.
2914 * lib/gdb.exp (with_timeout_factor): New proc.
2915 (gdb_expect): Move some code to ...
2916 (get_largest_timeout): ... here. New procedure.
2918 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2920 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2922 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2924 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2925 to write to the .text section.
2927 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2929 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2930 Handle the case of targets that do not provide PID information.
2932 2015-04-13 Yao Qi <yao.qi@linaro.org>
2934 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2935 and use expect instead of gdb_expect.
2937 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2939 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2940 "coredump_var_addr" to avoid naming conflict with other testcases.
2942 2015-04-10 Pedro Alves <palves@redhat.com>
2944 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2945 gdb_test_sequence and gdb_assert.
2947 2015-04-10 Pedro Alves <palves@redhat.com>
2949 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2950 test messages that don't include the breakpoint address.
2952 2015-04-10 Yao Qi <yao.qi@linaro.org>
2954 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2955 false for some offset and width combinations which aren't
2956 supported by linux kernel.
2958 2015-04-10 Pedro Alves <palves@redhat.com>
2960 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2961 procedure, factored out from ...
2962 (top level): ... here. Add "set displaced-stepping" testing axis.
2963 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2964 parameter "displaced". Use it.
2965 (top level): Use foreach and add "set displaced-stepping" testing
2968 2015-04-10 Pedro Alves <palves@redhat.com>
2970 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2972 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2973 both the address of the instruction that triggers the watchpoint
2974 and the address of the instruction immediately after, and use
2975 those addresses for the test. Fix comment.
2977 2015-04-10 Pedro Alves <palves@redhat.com>
2979 * gdb.base/sigstep.exp (breakpoint_to_handler)
2980 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2981 Test "backtrace" in handler.
2982 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2983 (top level): Add new "displaced" test axis to
2984 breakpoint_to_handler, breakpoint_to_handler_entry and
2985 breakpoint_over_handler.
2987 2015-04-10 Pedro Alves <palves@redhat.com>
2990 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2992 2015-04-10 Yao Qi <yao.qi@linaro.org>
2994 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2995 (test_add_rn_pc): New function.
2996 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2997 (top level): Invoke test_add_rn_pc.
2999 2015-04-10 Pedro Alves <palves@redhat.com>
3002 * gdb.base/step-over-no-symbols.exp: New file.
3004 2015-04-09 Andy Wingo <wingo@igalia.com>
3006 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3007 after the Python tests.
3009 2015-04-08 Keith Seitz <keiths@redhat.com>
3012 * gdb.python/py-completion.exp: New tests for completion.
3013 * gdb.python/py-completion.py (CompleteLimit1): New class.
3014 (CompleteLimit2): Likewise.
3015 (CompleteLimit3): Likewise.
3016 (CompleteLimit4): Likewise.
3017 (CompleteLimit5): Likewise.
3018 (CompleteLimit6): Likewise.
3019 (CompleteLimit7): Likewise.
3021 2015-04-08 Pedro Alves <palves@redhat.com>
3025 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3027 (main): Install it as SIGUSR1 handler.
3028 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3029 parameter. Always use "setup" as prefix. Toggle "set
3030 displaced-stepping" off/on depending on global. Don't switch to
3032 (top level): Add displaced stepping "off/on" test axis. Update
3033 "setup" calls. Wrap each subtest with with_test_prefix. Test
3034 continuing with a queued signal in each thread.
3036 2015-04-08 Pedro Alves <palves@redhat.com>
3038 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3039 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3040 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3041 Return early if running to main fails.
3042 * gdb.trace/while-stepping.exp: Likewise.
3044 2015-04-07 Pedro Alves <palves@redhat.com>
3046 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3047 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3048 interact with inferior program.
3050 2015-04-07 Pedro Alves <palves@redhat.com>
3052 * lib/gdb.exp (inferior_spawn_id): New global.
3053 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3054 spawn id after processing the user code.
3055 (default_gdb_start): Set inferior_spawn_id.
3056 (send_inferior): New procedure.
3057 * lib/gdbserver-support.exp (gdbserver_start): Set
3059 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3061 2015-04-07 Pedro Alves <palves@redhat.com>
3063 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3064 * lib/gdbserver-support.exp (gdbserver_start): Make
3065 $server_spawn_id global.
3066 (gdbserver_start): Don't wait for gdbserver's spawn id with
3068 (close_gdbserver): New procedure.
3069 (gdb_exit): Rename the default version and reimplement.
3071 2015-04-07 Pedro Alves <palves@redhat.com>
3073 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3074 append the substituted item, not the original item.
3076 2015-04-07 Pedro Alves <palves@redhat.com>
3078 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3081 2015-04-07 Pedro Alves <palves@redhat.com>
3083 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3084 output appearing once only.
3086 2015-04-07 Pedro Alves <palves@redhat.com>
3088 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3089 that doesn't expect anything. Return early if running to main
3092 2015-04-07 Yao Qi <yao.qi@linaro.org>
3094 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3095 (child_function): Call alarm.
3096 (main): Move call to alarm into the loop.
3097 * gdb.threads/non-stop-fair-events.exp: Build program with
3100 2015-04-06 Doug Evans <xdje42@gmail.com>
3102 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3103 Fix dest parameter to board_info.
3104 (fpc_compile): Ditto.
3105 (gdb_compile_pascal): Rename dest arg to destfile.
3107 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3109 * gdb.ada/funcall_ref.exp: New file.
3110 * gdb.ada/funcall_ref/foo.adb: New file.
3112 2015-04-02 Yao Qi <yao.qi@linaro.org>
3114 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3117 2015-04-02 Gary Benson <gbenson@redhat.com>
3119 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3121 2015-04-01 Sasha Smundak <asmundak@google.com>
3123 * gdb.python/py-unwind-maint.c: New file.
3124 * gdb.python/py-unwind-maint.exp: New test.
3125 * gdb.python/py-unwind-maint.py: New file.
3126 * gdb.python/py-unwind.c: New file.
3127 * gdb.python/py-unwind.exp: New test.
3128 * gdb.python/py-unwind.py: New test.
3130 2015-04-01 Pedro Alves <palves@redhat.com>
3132 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3133 to fail instead of non-existent $test.
3135 2015-04-01 Pedro Alves <palves@redhat.com>
3137 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3138 GDBFLAGS if not empty.
3140 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3142 * gdb.ada/complete.exp: Remove "multi_line".
3143 * gdb.ada/info_exc.exp: Remove "multi_line".
3144 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3145 * gdb.ada/ptype_field.exp: Remove "multi_line".
3146 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3147 * gdb.ada/tagged.exp: Remove "multi_line".
3148 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3150 * gdb.btrace/delta.exp: Likewise.
3151 * gdb.btrace/exception.exp: Likewise.
3152 * gdb.btrace/function_call_history.exp: Likewise.
3153 * gdb.btrace/instruction_history.exp: Likewise.
3154 * gdb.btrace/nohist.exp: Likewise.
3155 * gdb.btrace/record_goto.exp: Likewise.
3156 * gdb.btrace/segv.exp: Likewise.
3157 * gdb.btrace/stepi.exp: Likewise.
3158 * gdb.btrace/tailcall.exp: Likewise.
3159 * gdb.btrace/unknown_functions.exp: Likewise.
3160 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3161 * lib/gdb.exp: Add the "multi_line" helper.
3163 2015-04-01 Pedro Alves <palves@redhat.com>
3165 * gdb.threads/tid-reuse.c: New file.
3166 * gdb.threads/tid-reuse.exp: New file.
3168 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3171 * gdb.base/coredump-filter.c: New file.
3172 * gdb.base/coredump-filter.exp: Likewise.
3174 2015-03-27 Petr Machata <pmachata@redhat.com>
3176 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3177 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3178 (Dwarf::assemble): Initialize them.
3179 (Dwarf::lines): New function.
3181 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3183 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3184 SYMBOL_PREFIX for x86_64-*-cygwin.
3186 2015-03-26 Andy Wingo <wingo@igalia.com>
3189 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3190 const_value but not a location.
3191 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3192 location defined in non-main CUs are visible.
3194 2015-03-26 Yao Qi <yao.qi@linaro.org>
3197 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3198 Add a line number entry for the same line.
3199 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3200 Add a line number entry for the same line.
3202 2015-03-26 Yao Qi <yao.qi@linaro.org>
3204 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3206 (func): Likewise. Add .Lfunc_1 label.
3208 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3213 2015-03-26 Yao Qi <yao.qi@linaro.org>
3215 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3216 Call gdb_compile instead to compile each .s files without debug
3219 2015-03-26 Yao Qi <yao.qi@linaro.org>
3221 * gdb.base/savedregs.exp (process_saved_regs): Make
3222 "Saved registers:" optional in the pattern.
3224 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3226 * gdb.btrace/next.exp: Merged into step.exp.
3227 * gdb.btrace/finish.exp: Merged into step.exp.
3228 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3229 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3230 "record goto" and checking the exact replay position.
3231 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3232 check for "Recording format" in "info record" output.
3233 * gdb.btrace/record_goto.exp: Choose test file based on target.
3234 * gdb.btrace/x86-record_goto.S: Renamed into ...
3235 * gdb.btrace/x86_64-record_goto.S: ... this.
3236 * gdb.btrace/i686-record_goto.S: New.
3237 * gdb.btrace/x86-tailcall.S: Renamed into ...
3238 * gdb.btrace/x86_64-tailcall.S: ... this.
3239 * gdb.btrace/i686-tailcall.S: New.
3240 * gdb.btrace/x86-tailcall.c: Renamed into ...
3241 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3242 separate statements. Update test.
3243 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3244 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3245 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3246 * gdb.btrace/tailcall.exp: Choose test file based on target.
3247 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3249 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3251 * gdb.btrace/exception.exp: Increase BTS buffer size.
3253 2015-03-24 Pedro Alves <palves@redhat.com>
3255 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3257 2015-03-24 Pedro Alves <palves@redhat.com>
3259 * gdb.threads/schedlock.exp (test_step): No longer expect that
3260 "set scheduler-locking step" with "next" over a function call runs
3263 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3265 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3267 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3269 PR breakpoints/16466
3270 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3271 * gdb.mi/mi-pending.c (thread_func): New function.
3272 (int main): Add threading support required.
3273 * gdb.mi/mi-pending.exp: Add tests for this issue.
3274 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3275 (pendfunc2): Remove stdio dependency.
3276 * gdb.mi/mi-pendshr2.c: New file.
3278 2015-03-23 Keith Seitz <keiths@redhat.com>
3280 * gdb.linespec/keywords.c: New file.
3281 * gdb.linespec/keywords.exp: New file.
3283 2015-03-23 Keith Seitz <keiths@redhat.com>
3286 * gdb.dwarf2/staticvirtual.exp: New test.
3288 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3291 * README: Remove HP-UX and gdb.hp.
3293 * configure: Regenerate.
3294 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3295 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3296 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3297 gdb.hp/gdb.defects/Makefile.
3298 * gdb.hp/Makefile.in: File deleted.
3299 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3300 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3301 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3302 * gdb.hp/gdb.aCC/run.c: File deleted.
3303 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3304 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3305 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3306 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3307 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3308 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3309 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3310 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3311 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3312 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3313 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3314 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3315 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3316 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3317 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3318 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3319 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3320 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3321 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3322 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3323 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3324 * gdb.hp/gdb.compat/average.c: File deleted.
3325 * gdb.hp/gdb.compat/sum.c: File deleted.
3326 * gdb.hp/gdb.compat/xdb.c: File deleted.
3327 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3328 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3329 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3330 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3331 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3332 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3333 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3334 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3335 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3336 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3337 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3338 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3339 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3340 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3341 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3342 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3343 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3344 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3345 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3346 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3347 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3348 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3349 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3350 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3351 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3352 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3353 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3354 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3355 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3356 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3357 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3358 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3359 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3360 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3361 * gdb.hp/tools/odump: File deleted.
3363 2015-03-19 Pedro Alves <palves@redhat.com>
3365 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3366 (saw_thread_3): New globals.
3367 (top level): Increment them when an event for the corresponding
3369 (no thread starvation): New test.
3371 2015-03-19 Pedro Alves <palves@redhat.com>
3373 * gdb.threads/continue-pending-status.c: New file.
3374 * gdb.threads/continue-pending-status.exp: New file.
3376 2015-03-18 Pedro Alves <palves@redhat.com>
3378 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3379 Use gdb_is_target_remote instead of is_remote. Use
3380 gdb_test_multiple instead of gdb_expect. Exit early if
3381 gdb_test_multiple hits its internal matches. Tighten stepi tests
3382 expected output. Fail on exit with any signal, instead of just
3385 2015-03-18 Yao Qi <yao.qi@linaro.org>
3388 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3390 * gdb.base/catch-syscall.exp: Don't skip it on
3391 aarch64*-*-linux* target. Remove elements in all_syscalls.
3392 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3394 (setup_all_syscalls): New proc.
3396 2015-03-16 Yao Qi <yao.qi@linaro.org>
3398 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3399 (top level): Skip tests if valid_addr_p returns false for
3402 2015-03-11 Andy Wingo <wingo@igalia.com>
3404 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3406 2015-03-11 Yao Qi <yao.qi@linaro.org>
3408 * gdb.base/catch-syscall.exp: Fix typo in comments.
3410 2015-03-11 Yao Qi <yao.qi@linaro.org>
3412 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3414 2015-03-09 Pedro Alves <palves@redhat.com>
3416 * dg-extract-results.py: Delete.
3418 2015-03-09 Pedro Alves <palves@redhat.com>
3420 Merge dg-extract-results.sh from GCC upstream (r218843).
3422 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3423 * dg-extract-results.sh: Use --text with grep to avoid issues with
3424 binary files. Fall back to cat -v, if that doesn't work.
3426 2015-03-05 Pedro Alves <palves@redhat.com>
3428 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3430 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3432 * lib/mi-support.exp (mi_expect_interrupt): Accept
3433 alternative event for when in all-stop mode.
3435 2015-03-04 Pedro Alves <palves@redhat.com>
3437 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3439 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3441 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3443 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3445 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3446 regexps for GDB's current line display, accept a hex address
3447 preceding the line number.
3449 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3451 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3452 the 'arch1' variable for "s390*-linux*" targets.
3454 2015-03-04 Pedro Alves <palves@redhat.com>
3456 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3457 (main): Pass missing retval argument to pthread_join call.
3459 2015-03-02 Pedro Alves <palves@redhat.com>
3461 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3462 (top level): Call do_test with non-stop as well.
3464 2015-03-02 Pedro Alves <palves@redhat.com>
3466 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3469 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3471 * gdb.arch/s390-vregs.exp: New test.
3472 * gdb.arch/s390-vregs.S: New file.
3474 2015-02-27 Pedro Alves <palves@redhat.com>
3476 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3477 call to catch_command_errors.
3478 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3479 catch_command_errors.
3481 2015-02-27 Pedro Alves <palves@redhat.com>
3483 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3484 "true" for boolean result.
3485 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3488 2015-02-27 Pedro Alves <palves@redhat.com>
3490 * lib/unbuffer_output.c: New file.
3491 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3492 (main): Call gdb_unbuffer_output.
3494 2015-02-27 Yao Qi <yao.qi@linaro.org>
3496 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3499 2015-02-26 Doug Evans <dje@google.com>
3501 * gdb.cp/class2.cc (Dbase, D): New classes.
3502 (main): New local delta.
3503 * gdb.cp/class2.exp: Test printing delta.
3504 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3505 (dynbar): New global.
3506 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3508 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3510 * gdb.compile/compile-ifunc.c: New file.
3511 * gdb.compile/compile-ifunc.exp: New file.
3513 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3515 * gdb.base/structs.exp: Check for correct struct on finish.
3517 2015-02-26 Yao Qi <yao.qi@linaro.org>
3519 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3522 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3524 * gdb.arch/cordic.ko.bz2: New file.
3525 * gdb.arch/cordic.ko.debug.bz2: New file.
3526 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3528 2015-02-25 Yao Qi <yao.qi@linaro.org>
3530 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3531 aarch64*-*-* target.
3533 2015-02-23 Pedro Alves <palves@redhat.com>
3535 * lib/gdb.exp (delete_breakpoints): Rewrite using
3538 2015-02-23 Pedro Alves <palves@redhat.com>
3540 * gdb.base/info-os.c: Include stdlib.h.
3542 2015-02-22 Doug Evans <xdje42@gmail.com>
3545 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3546 is read after symbols have been re-read.
3547 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3548 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3550 2015-02-21 Doug Evans <dje@google.com>
3552 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3554 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3557 * gdb.arch/i386-biarch-core.core.bz2: New file.
3558 * gdb.arch/i386-biarch-core.exp: New file.
3560 2015-02-21 Pedro Alves <palves@redhat.com>
3562 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3565 2015-02-20 Pedro Alves <palves@redhat.com>
3567 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3570 2015-02-20 Pedro Alves <palves@redhat.com>
3572 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3574 2015-02-20 Pedro Alves <palves@redhat.com>
3576 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3577 clean_restart before gdb_target_supports_trace.
3579 2015-02-20 Pedro Alves <palves@redhat.com>
3582 * gdb.threads/clone-thread_db.c: New file.
3583 * gdb.threads/clone-thread_db.exp: New file.
3585 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3587 PR breakpoints/16812
3588 * gdb.base/catch-gdb-caused-signals.c: New file.
3589 * gdb.base/catch-gdb-caused-signals.exp: New file.
3591 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3593 * configure: Regenerated.
3594 * configure.ac: Use GDB_AC_TRANSFORM.
3595 * aclocal.m4: sinclude ../transform.m4.
3597 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3599 * lib/dtrace.exp: New file.
3600 * gdb.base/dtrace-probe.exp: Likewise.
3601 * gdb.base/dtrace-probe.d: Likewise.
3602 * gdb.base/dtrace-probe.c: Likewise.
3603 * lib/pdtrace.in: Likewise.
3604 * configure.ac: Output variables with the transformed names of
3605 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3606 * configure: Regenerated.
3608 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3610 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3611 expected message when trying to access $_probe_* convenience
3612 variables while not on a probe.
3614 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3616 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3618 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3620 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3621 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3623 2015-02-10 Doug Evans <xdje42@gmail.com>
3625 * lib/gdb.exp (gdb_load): Always return a result.
3627 2015-02-10 Pedro Alves <palves@redhat.com>
3629 * gdb.threads/signal-sigtrap.c: New file.
3630 * gdb.threads/signal-sigtrap.exp: New file.
3632 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3634 * gdb.trace/no-attach-trace.c: New file.
3635 * gdb.trace/no-attach-trace.exp: New file.
3637 2015-02-09 Mark Wielaard <mjw@redhat.com>
3639 * gdb.dwarf2/atomic.c: New file.
3640 * gdb.dwarf2/atomic-type.exp: Likewise.
3642 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3644 * gdb.btrace/buffer-size.exp: Update "info record" output.
3645 * gdb.btrace/delta.exp: Update "info record" output.
3646 * gdb.btrace/enable.exp: Update "info record" output.
3647 * gdb.btrace/finish.exp: Update "info record" output.
3648 * gdb.btrace/instruction_history.exp: Update "info record" output.
3649 * gdb.btrace/next.exp: Update "info record" output.
3650 * gdb.btrace/nexti.exp: Update "info record" output.
3651 * gdb.btrace/step.exp: Update "info record" output.
3652 * gdb.btrace/stepi.exp: Update "info record" output.
3653 * gdb.btrace/nohist.exp: Update "info record" output.
3655 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3657 * gdb.btrace/buffer-size: New.
3659 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3661 * gdb.btrace/delta.exp: Update "info record" output.
3662 * gdb.btrace/enable.exp: Update "info record" output.
3663 * gdb.btrace/finish.exp: Update "info record" output.
3664 * gdb.btrace/instruction_history.exp: Update "info record" output.
3665 * gdb.btrace/next.exp: Update "info record" output.
3666 * gdb.btrace/nexti.exp: Update "info record" output.
3667 * gdb.btrace/step.exp: Update "info record" output.
3668 * gdb.btrace/stepi.exp: Update "info record" output.
3669 * gdb.btrace/nohist.exp: Update "info record" output.
3671 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3674 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3676 2015-02-06 Pedro Alves <palves@redhat.com>
3678 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3680 (seconds_left, again): New globals.
3681 (main): Wait seconds_left in a 1-second sleep loop instead of
3682 sleeping 180 seconds. If 'again' is set, reset the seconds
3684 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3685 'again' in the inferior before detaching. Print the seconds left.
3686 (options): New global.
3687 (top level): Build program with -DTIMEOUT=$timeout.
3689 2015-02-06 Pedro Alves <palves@redhat.com>
3691 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3692 determine how many seconds to pass to 'alarm'.
3693 * gdb.base/gdb-sigterm.exp (top level): Build program with
3695 (do_test): Return success/failure indication. Add more verbose
3696 logging. Don't fail if 200 single steps are seen. Instead, fail
3697 when the test times out.
3698 (passes): New global.
3699 (top level): Break the testing loop if testing fails on any
3700 iteration. Use gdb_assert.
3702 2015-02-04 Don Breazeal <donb@codesourcery.com>
3704 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3705 and initialize them.
3706 (ipc_cleanup): New function.
3707 (main): Don't declare shmid, semid, and msqid. Add a call to
3708 atexit so that we call ipc_cleanup on exit.
3710 2015-02-04 Pedro Alves <palves@redhat.com>
3712 * boards/native-extended-gdbserver.exp: Remove any target variant
3713 specifications from the board name before clearing the isremote
3714 flag from board_info.
3716 2015-01-31 Doug Evans <xdje42@gmail.com>
3718 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3720 2015-01-31 Gary Benson <gbenson@redhat.com>
3722 * gdb.base/completion.exp: Disable completion limiting for
3723 existing tests. Add new tests to check completion limiting.
3724 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3726 2015-01-31 Doug Evans <xdje42@gmail.com>
3728 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3730 2015-01-31 Doug Evans <xdje42@gmail.com>
3732 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3733 entries. Duplicate file section script entries.
3734 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3735 inlined entries. Add test for safe-path rejection.
3736 * gdb.python/py-section-script.c: Add duplicate inlined section script
3737 entries. Duplicate file section script entries.
3738 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3739 inlined entries. Add test for safe-path rejection.
3741 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3743 * gdb.ada/disc_arr_bound: New testcase.
3745 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3747 * gdb.ada/mi_var_array: New testcase.
3749 2015-01-27 Doug Evans <dje@google.com>
3751 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3752 Add test for objfile.filename, objfile.username after objfile
3755 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3757 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3758 the second test to print the name attribute of value
3759 returned by the call to gdb.lookup_type, and adjust
3760 the expected output accordingly.
3762 2015-01-25 Mark Wielaard <mjw@redhat.com>
3764 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3765 * gdb.base/disp-step-fork.c: Include unistd.h.
3766 * gdb.base/siginfo-obj.c: Include stdio.h.
3767 * gdb.base/siginfo-thread.c: Likewise.
3768 * gdb.mi/non-stop.c: Include unistd.h.
3769 * gdb.mi/nsthrexec.c: Include stdio.h.
3770 * gdb.mi/pthreads.c: Include unistd.h.
3771 * gdb.modula2/unbounded1.c (main): Declare returns int.
3772 * gdb.reverse/consecutive-reverse.c: Likewise.
3773 * gdb.threads/create-fail.c: Include unistd.h.
3774 * gdb.threads/killed.c: Likewise.
3775 * gdb.threads/linux-dp.c: Likewise.
3776 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3777 * gdb.threads/non-ldr-exc-2.c: Likewise.
3778 * gdb.threads/non-ldr-exc-3.c: Likewise.
3779 * gdb.threads/non-ldr-exc-4.c: Likewise.
3780 * gdb.threads/pthreads.c: Include unistd.h.
3781 (main): Declare returns int.
3782 * gdb.threads/tls-main.c (foo): New declaration.
3783 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3785 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3787 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3788 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3790 2015-01-15 Mark Wielaard <mjw@redhat.com>
3792 * gdb.base/noreturn-return.c: New file.
3793 * gdb.base/noreturn-return.exp: New file.
3794 * gdb.base/noreturn-finish.c: New file.
3795 * gdb.base/noreturn-finish.exp: New file.
3797 2015-01-23 Pedro Alves <palves@redhat.com>
3799 * gdb.threads/continue-pending-after-query.c: New file.
3800 * gdb.threads/continue-pending-after-query.exp: New file.
3802 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3803 Simon Marchi <simon.marchi@ericsson.com>
3805 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3806 * gdb.base/valgrind-db-attach.exp: Same.
3807 * gdb.base/valgrind-infcall.exp: Same.
3808 * lib/mi-support.exp (default_mi_gdb_start): Same.
3809 * lib/prompt.exp (default_prompt_gdb_start): Same.
3810 * lib/gdb.exp (default_gdb_spawn): Same.
3811 (gdb_interact): New.
3814 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3816 * gdb.compile/compile.exp (pointer to jit function): New test.
3818 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3820 * lib/gdb.exp (supports_process_record): Return true for
3822 (supports_reverse): Likewise.
3824 2015-01-15 Don Breazeal <donb@codesourcery.com>
3826 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3827 instead of checking whether the target board is remote and
3828 use spawn_wait_for_attach instead of exec/sleep.
3829 * gdb.base/attach-twice.exp: Likewise.
3831 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3833 * gdb.ada/var_arr_attrs: New testcase.
3835 2015-01-14 Pedro Alves <palves@redhat.com>
3836 Joel Brobecker <brobecker@adacore.com>
3839 * gdb.base/bp-cmds-execution-x-script.c: New file.
3840 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3841 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3843 2015-01-14 Pedro Alves <palves@redhat.com>
3846 * gdb.base/batch-preserve-term-settings.c: New file.
3847 * gdb.base/batch-preserve-term-settings.exp: New file.
3849 2015-01-13 Doug Evans <dje@google.com>
3851 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3854 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3856 * Makefile.in (clean mostlyclean): Do not delete *.py.
3858 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3860 * gdb.python/py-lookup-type.exp: New file.
3862 2015-01-12 Pedro Alves <palves@redhat.com>
3864 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3865 restore GDBFLAGS before returning.
3867 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3869 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3870 is_amd64_regs_target and is_x86_like_target.
3872 2015-01-11 Doug Evans <xdje42@gmail.com>
3874 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3875 is given without an explicit form.
3876 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3878 * gdb.dwarf/corrupt.exp: Ditto.
3879 * gdb.dwarf2/enum-type.exp: Ditto.
3880 * gdb.trace/entry-values.exp: Ditto.
3881 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3883 2015-01-11 Doug Evans <xdje42@gmail.com>
3886 * gdb.base/maint.exp: Remove references to "maint demangle".
3887 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3888 Add tests for explicitly specifying language to demangle.
3889 * gdb.dlang/demangle.exp: Ditto.
3891 2015-01-09 Pedro Alves <palves@redhat.com>
3893 * gdb.threads/non-stop-fair-events.c: New file.
3894 * gdb.threads/non-stop-fair-events.exp: New file.
3896 2015-01-09 Pedro Alves <palves@redhat.com>
3898 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3899 the global scope. Set a breakpoint after all threads are started
3900 rather than stepping over two source lines. Expect the prompt.
3901 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3904 (main): Use threads_started_barrier to wait for all threads to
3905 start. Main thread no longer calls thread_function. Exit after
3907 (loop): New function.
3908 (thread_function): Wait on threads_started_barrier barrier. Call
3909 'loop' at each iteration.
3910 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3911 threads have started, instead of hardcoding number of "next"
3912 steps. Use an access watchpoint instead of a write watchpoint.
3914 2015-01-09 Pedro Alves <palves@redhat.com>
3916 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3917 (thread_func): Wait on barrier.
3918 (main): Wait for all threads to start before stopping GDB.
3919 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3921 (thread1_func, thread2_func): Wait on barrier.
3922 (main): Wait for all threads to start before stopping GDB.
3923 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3925 (thread1_func, thread2_func): Wait on barrier.
3926 (main): Wait for all threads to start before stopping GDB.
3928 2015-01-09 Pedro Alves <palves@redhat.com>
3930 * gdb.threads/attach-many-short-lived-threads.c: New file.
3931 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3933 2014-01-09 Pedro Alves <palves@redhat.com>
3935 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3936 instead of to thread 2.
3937 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3938 Add barrier around each pthread_create call instead of around all
3940 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3941 Set a break on thread_function and have the child threads hit it
3944 2015-01-09 Pedro Alves <palves@redhat.com>
3946 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3947 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3949 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3950 checking whether the target board is remote.
3951 * gdb.multi/multi-attach.exp: Likewise.
3952 * gdb.python/py-sync-interp.exp: Likewise.
3953 * gdb.server/ext-attach.exp: Likewise.
3954 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3955 tests that need to attach, instead of checking whether the target
3956 board is remote at the top of the file.
3958 2015-01-08 Yao Qi <yao@codesourcery.com>
3960 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3962 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 Fix testcase compilation.
3965 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3967 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3969 * gdb.python/py-type.exp: Add a couple test about empty
3970 array creation, and negative-length array creation.
3972 2015-01-02 Doug Evans <xdje42@gmail.com>
3974 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3976 2015-01-02 Doug Evans <dje@google.com>
3978 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3980 2014-12-29 Yao Qi <yao@codesourcery.com>
3982 * gdb.trace/entry-values.exp: Update comments. Rename variable
3983 bar_call_foo to returned_from_foo.
3985 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3988 * gdb.linespec/break-asm-file.c: New file.
3989 * gdb.linespec/break-asm-file.exp: New file.
3990 * gdb.linespec/break-asm-file0.s: New file.
3991 * gdb.linespec/break-asm-file1.s: New file.
3993 2014-12-18 Nigel Stephens <nigel@mips.com>
3994 Maciej W. Rozycki <macro@codesourcery.com>
3996 * gdb.base/float.exp: Handle the new output from "info float" on
3999 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4001 Fix MinGW compilation.
4002 * gdb.compile/compile-ops.exp: Update untested message if
4003 !skip_compile_feature_tests.
4004 * gdb.compile/compile-setjmp.exp: Likewise.
4005 * gdb.compile/compile-tls.exp: Likewise.
4006 * gdb.compile/compile.exp: Likewise.
4007 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4008 supported on this host".
4010 2014-12-16 Doug Evans <xdje42@gmail.com>
4012 * boards/stabs.exp: New file.
4014 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4016 * gdb.base/completion.exp: Adjust to format changes of "maint
4017 print user-registers".
4019 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4022 * gdb.arch/aarch64-fp.c: New file.
4023 * gdb.arch/aarch64-fp.exp: New file.
4025 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4027 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4028 r210637, r210913, r211666, r215400, r215817).
4030 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4031 * dg-extract-results.py: New file.
4032 * dg-extract-results.sh: Use it if the environment seems
4035 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4037 * dg-extract-results.py (parse_run): Handle warnings that
4038 are printed before a test harness is run.
4040 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4042 * dg-extract-results.py (Named): Remove __cmp__ method.
4043 (output_variation): Use a key to sort variation.harnesses.
4045 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4047 * dg-extract-results.py: For Python 3, force sys.stdout to
4048 handle surrogate escape sequences.
4049 (safe_open): New function.
4050 (output_segment, main): Use it.
4052 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4054 * dg-extract-results.py (Prog.result_re): Include options
4057 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4059 * dg-extract-results.py (output_variation): Always sort if
4062 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4064 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4065 as long as we get pagination notifications.
4067 2014-12-15 Jason Merrill <jason@redhat.com>
4069 * Makefile.in (check-gdb.%): Restore.
4070 * README: Mention it.
4072 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4074 * gdb.ada/str_uninit: New testcase.
4076 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4079 * gdb.base/vla-stub-define.c: New file.
4080 * gdb.base/vla-stub.c: New file.
4081 * gdb.base/vla-stub.exp: New file.
4083 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4084 Jan Kratochvil <jan.kratochvil@redhat.com>
4085 Tom Tromey <tromey@redhat.com>
4087 * configure.ac: Add gdb.compile/.
4088 * configure: Regenerate.
4089 * gdb.compile/Makefile.in: New file.
4090 * gdb.compile/compile-ops.exp: New file.
4091 * gdb.compile/compile-ops.c: New file.
4092 * gdb.compile/compile-tls.c: New file.
4093 * gdb.compile/compile-tls.exp: New file.
4094 * gdb.compile/compile-constvar.S: New file.
4095 * gdb.compile/compile-constvar.c: New file.
4096 * gdb.compile/compile-mod.c: New file.
4097 * gdb.compile/compile-nodebug.c: New file.
4098 * gdb.compile/compile-setjmp-mod.c: New file.
4099 * gdb.compile/compile-setjmp.c: New file.
4100 * gdb.compile/compile-setjmp.exp: New file.
4101 * gdb.compile/compile-shlib.c: New file.
4102 * gdb.compile/compile.c: New file.
4103 * gdb.compile/compile.exp: New file.
4104 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4106 2014-12-12 Tom Tromey <tromey@redhat.com>
4108 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4109 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4111 2014-12-12 Doug Evans <dje@google.com>
4113 * lib/gdb-python.exp (get_python_valueof): New function.
4114 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4116 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4118 * gdb.base/completion.exp: Add test for completion of "info
4121 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4123 * gdb.base/func-ptrs.c: New file.
4124 * gdb.base/func-ptrs.exp: New file.
4126 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4128 PR breakpoints/17012
4129 * gdb.base/dprintf-detach.c: New file.
4130 * gdb.base/dprintf-detach.exp: New file.
4132 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4134 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4135 * lib/gdb.exp (target_is_gdbserver): New procedure.
4137 2014-12-08 Doug Evans <dje@google.com>
4139 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4141 2014-12-05 Yao Qi <yao@codesourcery.com>
4143 * gdb.guile/scm-error.exp: Remove the third argument to
4144 gdb_remote_download.
4145 * gdb.guile/scm-frame-args.exp: Likewise.
4146 * gdb.guile/scm-section-script.exp: Likewise.
4148 2014-12-05 Yao Qi <yao@codesourcery.com>
4150 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4152 2014-12-04 Doug Evans <dje@google.com>
4154 * gdb.python/py-objfile.exp: Add tests for
4155 objfile.add_separate_debug_file.
4157 2014-12-04 Doug Evans <dje@google.com>
4159 * lib/gdb.exp (get_build_id): New function.
4160 (build_id_debug_filename_get): Rewrite to use it.
4161 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4163 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4165 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4166 `method(long)', not just 0x0.
4167 * gdb.cp/nsalias.exp: Align code labels to 4.
4168 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4169 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4170 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4171 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4172 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4173 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4175 2014-12-02 Doug Evans <dje@google.com>
4178 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4179 * gdb.cp/anon-ns2.cc: ... here. New file.
4180 * gdb.cp/anon-ns.exp: Update.
4182 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4184 * gdb.python/py-events.py (inferior_call_handler): New.
4185 (register_changed_handler, memory_changed_handler): New.
4186 (test_events.invoke): Register new handlers.
4187 * gdb.python/py-events.exp: Add tests for inferior call,
4188 memory_changed and register_changed events.
4190 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4192 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4193 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4194 if the linker doesn't understand this.
4196 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4198 * gdb.python/python.exp: Change expected reply to help().
4200 2014-12-01 Yao Qi <yao@codesourcery.com>
4202 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4203 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4204 * configure: Re-generated.
4206 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4208 * gdb.cp/chained-calls.cc: New file.
4209 * gdb.cp/chained-calls.exp: New file.
4210 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4212 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4214 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4215 * gdb.dwarf2/symtab-producer.exp: Same.
4216 * gdb.gdb/python-interrupts.exp: Same.
4217 * gdb.gdb/python-selftest.exp: Same.
4218 * gdb.python/py-linetable.exp: Same.
4219 * gdb.python/py-type.exp: Same.
4220 * gdb.python/py-value-cc.exp: Same.
4221 * gdb.python/py-value.exp: Same.
4223 2014-11-28 Yao Qi <yao@codesourcery.com>
4225 * gdb.base/break-probes.exp: Match library name prefixed with
4228 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4230 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4231 test expected output. Add parentheses for the call to print.
4232 Remove L suffix from integers.
4234 2014-11-26 Doug Evans <dje@google.com>
4236 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4238 2014-11-22 Yao Qi <yao@codesourcery.com>
4240 * gdb.trace/entry-values.c: Remove asms.
4241 (foo): Add foo_label.
4242 (bar): Add bar_label.
4243 * gdb.trace/entry-values.exp: Remove code computing foo's
4244 length and bar's length.
4245 (Dwarf::assemble): Invoke function_range for bar and use
4246 MACRO_AT_func for foo.
4248 2014-11-22 Yao Qi <yao@codesourcery.com>
4250 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4251 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4252 Use .Lgcc43_procstart instead of gcc43.
4254 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4256 * gdb.ada/n_arr_bound: New testcase.
4258 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4260 PR breakpoints/10737
4261 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4262 test_catch_syscall_multi_arch.
4263 (test_catch_syscall_multi_arch): New function.
4265 2014-11-20 Doug Evans <xdje42@gmail.com>
4267 * gdb.base/maint.exp: Update expected output.
4269 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4271 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4272 4-byte instruction on S390.
4274 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4276 * gdb.ada/arr_arr: New testcase.
4278 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4280 * gdb.ada/pkd_arr_elem: New Testcase.
4282 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4284 * gdb.reverse/break-precsave: Expect completion message for
4286 * gdb.reverse/consecutive-precsave.exp: Likewise.
4287 * gdb.reverse/finish-precsave.exp: Likewise.
4288 * gdb.reverse/i386-precsave.exp: Likewise.
4289 * gdb.reverse/machinestate-precsave.exp: Likewise.
4290 * gdb.reverse/sigall-precsave.exp: Likewise.
4291 * gdb.reverse/solib-precsave.exp: Likewise.
4292 * gdb.reverse/step-precsave.exp: Likewise.
4293 * gdb.reverse/until-precsave.exp: Likewise.
4294 * gdb.reverse/watch-precsave.exp: Likewise.
4296 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4298 * gdb.base/bp-permanent.c: Include unistd.h.
4299 * gdb.python/py-framefilter-mi.c (main): Add return type.
4300 * gdb.python/py-framefilter.c (main): Likewise.
4301 * gdb.trace/actions-changed.c (main): Likewise.
4303 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4305 * gdb.mi/until.c: Add eye-catchers.
4306 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4309 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4311 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4312 function header variants in break1.c.
4313 * gdb.base/ena-dis-br.exp: Likewise.
4314 * gdb.base/hbreak2.exp: Likewise.
4315 * gdb.reverse/until-precsave.exp: Drop references to removed
4316 non-prototype function header variants in ur1.c.
4317 * gdb.reverse/until-reverse.exp: Likewise.
4319 2014-11-17 Petr Machata <pmachata@redhat.com>
4321 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4322 ${_cu_offset_size} bytes abbrev offset.
4324 2014-11-15 Doug Evans <xdje42@gmail.com>
4327 * gdb.base/line-symtabs.exp: New file.
4328 * gdb.base/line-symtabs.c: New file.
4329 * gdb.base/line-symtabs.h: New file.
4331 2014-11-14 Yao Qi <yao@codesourcery.com>
4333 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4334 (func): Add label func_label.
4335 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4336 Replace low_pc and high_pc with MACRO_AT_range.
4337 Replace name, low_pc and high_pc with MACRO_AT_func.
4339 2014-11-14 Yao Qi <yao@codesourcery.com>
4341 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4342 Replace name, low_pc and high_pc with MACRO_AT_func.
4344 2014-11-14 Yao Qi <yao@codesourcery.com>
4346 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4347 produce debug information.
4348 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4350 2014-11-14 Yao Qi <yao@codesourcery.com>
4352 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4353 object and get function length.
4354 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4356 (top-level): Replace gdb_compile and clean_restart with
4357 prepare_for_testing.
4358 * gdb.dwarf2/main.c (main): Add label main_label.
4360 2014-11-14 Yao Qi <yao@codesourcery.com>
4362 * lib/dwarf.exp (function_range): New procedure.
4363 (Dwarf::_handle_macro_at_func): New procedure.
4364 (Dwarf::_handle_macro_at_range): New procedure.
4365 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4367 2014-11-14 Yao Qi <yao@codesourcery.com>
4369 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4370 (_handle_attribute): New procedure.
4372 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4374 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4375 * gdb.base/call-sc.c (zed): Likewise.
4376 * gdb.base/checkpoint.c (main): Likewise.
4377 * gdb.base/dump.c (main): Likewise.
4378 * gdb.base/gcore.c (main): Likewise.
4379 * gdb.base/huge.c (main): Likewise.
4380 * gdb.base/multi-forks.c (main): Likewise.
4381 * gdb.base/pr10179-a.c (main): Likewise.
4382 * gdb.base/savedregs.c (main): Likewise.
4383 * gdb.base/sigaltstack.c (main): Likewise.
4384 * gdb.base/siginfo.c (main): Likewise.
4385 * gdb.base/structs.c (zed): Likewise.
4386 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4387 * gdb.mi/mi-syn-frame.c (main): Likewise.
4388 * gdb.mi/until.c (foo, main): Likewise.
4389 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4390 * gdb.base/solib-weak.c (foo): Declare.
4391 * gdb.base/attach-twice.c: Include stdio.h.
4392 * gdb.base/weaklib1.c: Likewise.
4393 * gdb.base/weaklib2.c: Likewise.
4394 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4395 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4397 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4398 * gdb.mi/mi-exit-code.c: Likewise.
4399 * gdb.base/break-interp-lib.c: Include string.h.
4400 * gdb.base/coremaker.c: Likewise.
4401 * gdb.base/testenv.c: Likewise.
4402 * gdb.python/py-finish-breakpoint.c: Likewise.
4403 * gdb.base/inferior-died.c: Include sys/wait.h.
4404 * gdb.base/fileio.c: Include time.h.
4405 * gdb.base/async-shell.c: Include unistd.h.
4406 * gdb.base/dprintf-non-stop.c: Likewise.
4407 * gdb.base/info-os.c: Likewise.
4408 * gdb.mi/mi-console.c: Likewise.
4409 * gdb.mi/watch-nonstop.c: Likewise.
4410 * gdb.python/py-events.c: Likewise.
4411 * gdb.base/async.c (baz): Move up before its invocation.
4412 * gdb.base/code_elim2.c (my_global_func): Likewise.
4413 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4414 * gdb.base/advance.c (func2): Likewise.
4416 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4418 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4420 * gdb.base/annota3.c: Likewise.
4421 * gdb.base/async.c: Likewise.
4422 * gdb.base/average.c: Likewise.
4423 * gdb.base/call-ar-st.c: Likewise.
4424 * gdb.base/call-rt-st.c: Likewise.
4425 * gdb.base/call-sc.c: Likewise.
4426 * gdb.base/call-strs.c: Likewise.
4427 * gdb.base/ending-run.c: Likewise.
4428 * gdb.base/execd-prog.c: Likewise.
4429 * gdb.base/exprs.c: Likewise.
4430 * gdb.base/foll-exec.c: Likewise.
4431 * gdb.base/foll-fork.c: Likewise.
4432 * gdb.base/foll-vfork.c: Likewise.
4433 * gdb.base/funcargs.c: Likewise.
4434 * gdb.base/gcore.c: Likewise.
4435 * gdb.base/jump.c: Likewise.
4436 * gdb.base/langs0.c: Likewise.
4437 * gdb.base/langs1.c: Likewise.
4438 * gdb.base/langs2.c: Likewise.
4439 * gdb.base/mips_pro.c: Likewise.
4440 * gdb.base/nodebug.c: Likewise.
4441 * gdb.base/opaque0.c: Likewise.
4442 * gdb.base/opaque1.c: Likewise.
4443 * gdb.base/recurse.c: Likewise.
4444 * gdb.base/run.c: Likewise.
4445 * gdb.base/scope0.c: Likewise.
4446 * gdb.base/scope1.c: Likewise.
4447 * gdb.base/setshow.c: Likewise.
4448 * gdb.base/setvar.c: Likewise.
4449 * gdb.base/shmain.c: Likewise.
4450 * gdb.base/shr1.c: Likewise.
4451 * gdb.base/shr2.c: Likewise.
4452 * gdb.base/sigall.c: Likewise.
4453 * gdb.base/signals.c: Likewise.
4454 * gdb.base/so-indr-cl.c: Likewise.
4455 * gdb.base/solib2.c: Likewise.
4456 * gdb.base/structs.c: Likewise.
4457 * gdb.base/sum.c: Likewise.
4458 * gdb.base/vforked-prog.c: Likewise.
4459 * gdb.base/watchpoint.c: Likewise.
4460 * gdb.reverse/shr2.c: Likewise.
4461 * gdb.reverse/until-reverse.c: Likewise.
4462 * gdb.reverse/ur1.c: Likewise.
4463 * gdb.reverse/watch-reverse.c: Likewise.
4465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4467 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4469 * gdb.base/sepdebug.exp: Drop references to removed code.
4471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4473 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4474 variant. Preserve original line numbering.
4475 * gdb.base/list1.c: Likewise.
4477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4479 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4481 * gdb.base/break1.c: Likewise.
4482 * gdb.base/break.exp: Drop references to removed code.
4484 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4486 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4489 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4491 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4493 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4495 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4496 logic into perform_all_tests() and invoke it with and without
4497 function header prototypes.
4498 (do_function_calls): Remove conditional XFAIL for PR 5318.
4499 (rerun_and_prepare): Remove duplicate code.
4500 (perform_all_tests): New. Main logic moved here.
4502 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4504 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4505 code guarded by #ifdef NO_PROTOTYPES.
4506 (t_double_many_args): Likewise.
4507 (DEF_FUNC_MANY_ARGS_1): Likewise.
4508 (DEF_FUNC_VALUES_1): Likewise.
4509 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4510 guarded by #ifdef PROTOTYPES.
4512 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4514 * gdb.mi/mi-console.c: Add eye-catcher.
4515 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4516 instead of literal line number.
4518 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4520 * gdb.base/shr2.c: Add eye-catcher.
4521 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4524 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4526 * gdb.base/jump.c: Add eye-catchers.
4527 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4530 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4532 * gdb.base/execd-prog.c: Add eye-catchers.
4533 * gdb.base/foll-exec.c: Likewise.
4534 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4537 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4539 * gdb.base/ending-run.c: Add eye-catchers.
4540 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4541 literal line numbers.
4543 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4545 * gdb.base/call-rt-st.c: Add eye-catchers.
4546 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4547 literal line numbers.
4549 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4551 * gdb.base/call-ar-st.c: Add eye-catchers.
4552 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4553 literal line numbers.
4555 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4557 * gdb.base/average.c: Add eye-catchers.
4558 * gdb.base/sum.c: Likewise.
4559 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4560 regexps dynamically.
4562 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4564 * gdb.base/solib1.c: Add eye-catchers.
4565 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4566 literal line numbers.
4568 2014-11-12 Pedro Alves <palves@redhat.com>
4570 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4573 2014-11-12 Pedro Alves <palves@redhat.com>
4575 * gdb.arch/i386-bp_permanent.c: New file.
4576 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4577 (srcfile): Set to i386-bp_permanent.c.
4578 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4579 that stepi does not execute the 'leave' instruction, instead of
4580 testing it does execute.
4581 * gdb.base/bp-permanent.c: New file.
4582 * gdb.base/bp-permanent.exp: New file.
4584 2014-11-10 Doug Evans <xdje42@gmail.com>
4587 * gdb.base/symtab-search-order.exp: New file.
4588 * gdb.base/symtab-search-order.c: New file.
4589 * gdb.base/symtab-search-order-1.c: New file.
4590 * gdb.base/symtab-search-order-shlib-1.c: New file.
4592 2014-11-07 Pedro Alves <palves@redhat.com>
4595 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4598 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4601 * gdb.cp/pr17494.cc: New file.
4602 * gdb.cp/pr17494.exp: New file.
4604 2014-11-02 Yao Qi <yao@codesourcery.com>
4606 * gdb.python/python.exp: Get working directory and match the
4607 output of "set extended-prompt \\w " with it.
4609 2014-10-30 Doug Evans <dje@google.com>
4611 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4613 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4616 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4618 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4619 * gdb.base/realname-expand.exp: Likewise.
4620 * gdb.linespec/macro-relative.exp: Likewise.
4622 2014-10-29 Pedro Alves <palves@redhat.com>
4625 * gdb.threads/schedlock.c (some_function): New function.
4626 (call_function): New global.
4627 (MAYBE_CALL_SOME_FUNCTION): New macro.
4628 (thread_function): Call it.
4629 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4630 and use it instead of a global counter. Adjust all callers.
4631 (get_current_thread): Use "find current thread" for test message
4632 here rather than having all callers pass down the same string.
4633 (goto_loop): New procedure, factored out from ...
4634 (my_continue): ... this.
4635 (step_ten_loops): Change parameter from test message to command to
4637 (list_count): Delete global.
4638 (check_result): New procedure, factored out from duplicate top
4640 (continue tests): Wrap in with_test_prefix.
4641 (test_step): New procedure, factored out from duplicate top level
4643 (top level): Test "step" in combination with all scheduler-locking
4644 modes. Test "next" in combination with all scheduler-locking
4645 modes, and in combination with stepping over a function call or
4647 * gdb.threads/next-bp-other-thread.c: New file.
4648 * gdb.threads/next-bp-other-thread.exp: New file.
4650 2014-10-29 Pedro Alves <palves@redhat.com>
4653 * gdb.python/python.exp: Test a multi-line command that spawns
4655 * gdb.base/multi-line-starts-subshell.exp: New file.
4657 2014-10-29 Yao Qi <yao@codesourcery.com>
4659 * gdb.base/fileio.exp: Make directories on host.
4661 2014-10-29 Yao Qi <yao@codesourcery.com>
4663 * gdb.base/fileio.c (test_write): Close the file.
4665 2014-10-28 Pedro Alves <palves@redhat.com>
4668 * gdb.base/sigstep.c (no_handler): New global.
4669 (main): If 'no_handler is true, set the signal handlers to
4671 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4672 with_sw_watch and no_handler parameters. Handle them.
4673 (top level) <stepping over handler when stopped at a breakpoint
4674 test>: Add a test axis for testing with a software watchpoint, and
4675 another for testing with the signal handler set to SIG_IGN.
4676 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4677 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4679 2014-10-28 Pedro Alves <palves@redhat.com>
4682 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4683 * gdb.base/sigstep.exp (other_handler_location): New global.
4684 (advance): Support stepping into the signal handler, and running
4685 commands while in the handler.
4686 (in_handler_map): New global.
4687 (top level): In the advance test, add combinations for getting
4688 into the handler with stepping commands, and for running commands
4689 in the handler. Add comment descripting the advancei tests.
4691 2014-10-28 Pedro Alves <palves@redhat.com>
4693 * gdb.base/sigstep.exp: Use build_executable instead of
4694 prepare_for_testing.
4695 (top level): Move code that starts GDB, runs to main and creates a
4697 (restart): ... this new procedure.
4698 (top level): Move backtrace from signal handler test to ...
4699 (validate_backtrace): ... this new procedure.
4700 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4701 with_test_prefix. Always restart GDB.
4702 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4703 with_test_prefix. Always restart GDB. No need to delete
4704 breakpoints after the test.
4705 (test_skip_handler): Remove prefix parameter.
4706 (skip_over_handler, breakpoint_to_handler)
4707 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4708 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4709 restart GDB. No need to delete breakpoints after the test.
4710 (top level): Use foreach to call the test procedures with
4713 2014-10-28 Pedro Alves <palves@redhat.com>
4715 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4716 instead of GNATS numbers.
4717 * gdb.base/sigbpt.exp: Likewise.
4718 * gdb.base/siginfo.exp: Likewise.
4719 * gdb.base/sigstep.exp: Likewise.
4721 2014-10-27 Pedro Alves <palves@redhat.com>
4723 * gdb.base/sigstep.c (dummy): New global.
4724 (main): Issue a couple writes to the new global.
4725 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4727 (skip_over_handler): Use test_skip_handler.
4728 (top level): Call skip_over_handler for stepi and nexti too.
4729 (breakpoint_over_handler): Use test_skip_handler.
4730 (top level): Call breakpoint_over_handler for stepi and nexti too.
4732 2014-10-27 Yao Qi <yao@codesourcery.com>
4734 * gdb.trace/tfile.c (adjust_function_address)
4735 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4736 function descriptor.
4738 2014-10-24 Don Breazeal <donb@codesourcery.com>
4740 * gdb.base/foll-fork.exp (test_follow_fork,
4741 catch_fork_child_follow): Check for updated fork messages emitted
4743 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4744 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4745 vfork_and_exec_child_follow_through_step): Check for updated vfork
4746 messages emitted from infrun.c.
4748 2014-10-24 Pedro Alves <palves@redhat.com>
4750 * gdb.base/corefile.exp: Remove references to ultrix.
4751 * gdb.base/interrupt.exp: Likewise.
4752 * gdb.base/whatis.exp: Likewise.
4753 * gdb.gdb/selftest.exp: Likewise.
4754 * gdb.threads/manythreads.exp: Likewise.
4755 * gdb.threads/print-threads.exp: Likewise.
4756 * gdb.threads/pthreads.exp:: Likewise.
4757 * gdb.threads/schedlock.exp: Likewise.
4759 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4761 * gdb.cp/non-trivial-retval.cc: Add a test case.
4762 * gdb.cp/non-trivial-retval.exp: Add a test.
4764 2014-10-20 Yao Qi <yao@codesourcery.com>
4766 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4767 * gdb.python/py-objfile-script-gdb.py: New file.
4768 * gdb.python/py-objfile-script.exp: Update reference to
4769 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4770 of remote_download. Remove the dest file.
4772 2014-10-20 Yao Qi <yao@codesourcery.com>
4774 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4775 * gdb.base/step-line.exp: Likewise.
4776 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4777 * gdb.dwarf2/dw2-basic.exp: Likewise.
4778 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4779 * gdb.dwarf2/dw2-filename.exp: Likewise.
4780 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4781 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4782 * gdb.dwarf2/dw2-producer.exp: Likewise.
4783 * gdb.dwarf2/mac-fileno.exp: Likewise.
4784 * gdb.python/py-frame-args.exp: Likewise.
4785 * gdb.python/py-framefilter.exp: Likewise.
4786 * gdb.python/py-mi.exp: Likewise.
4787 * gdb.python/py-objfile-script.exp: Likewise
4788 * gdb.python/py-pp-integral.exp: Likewise.
4789 * gdb.python/py-pp-re-notag.exp: Likewise.
4790 * gdb.python/py-prettyprint.exp: Likewise.
4791 * gdb.python/py-section-script.exp: Likewise.
4792 * gdb.python/py-typeprint.exp: Likewise.
4793 * gdb.python/py-xmethods.exp: Likewise.
4794 * gdb.stabs/weird.exp: Likewise.
4795 * gdb.xml/tdesc-regs.exp: Likewise.
4797 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4799 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4800 (out_cu): Use addr_len for the size of addresses.
4801 (out_line): Likewise. Size DW_LNE_set_address instruction
4802 according to addr_len.
4803 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4804 (FUNC): Add START_INSNS to definition.
4806 2014-10-18 Yao Qi <yao@codesourcery.com>
4808 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4809 gdb_has_argv0 return true.
4810 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4811 check [target_info exists noargs], check [gdb_has_argv0]
4813 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4814 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4817 2014-10-17 Doug Evans <dje@google.com>
4819 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4821 * gdb.python/py-events.py: Add clear_objfiles event.
4823 2014-10-17 Doug Evans <dje@google.com>
4825 * gdb.python/py-objfile.exp: Test progspace attribute.
4827 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4829 * gdb.guile/scm-breakpoint.exp: Do not assume any
4830 directory separators when matching source file paths.
4831 * gdb.python/py-breakpoint.exp: Likewise.
4832 * gdb.reverse/break-precsave.exp: Likewise.
4833 * gdb.reverse/break-reverse.exp: Likewise.
4834 * gdb.reverse/consecutive-precsave.exp: Likewise.
4835 * gdb.reverse/finish-precsave.exp: Likewise.
4836 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4837 * gdb.reverse/finish-reverse.exp: Likewise.
4838 * gdb.reverse/i386-precsave.exp: Likewise.
4839 * gdb.reverse/i387-env-reverse.exp: Likewise.
4840 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4841 * gdb.reverse/machinestate-precsave.exp: Likewise.
4842 * gdb.reverse/machinestate.exp: Likewise.
4843 * gdb.reverse/sigall-precsave.exp: Likewise.
4844 * gdb.reverse/solib-precsave.exp: Likewise.
4845 * gdb.reverse/step-precsave.exp: Likewise.
4846 * gdb.reverse/until-precsave.exp: Likewise.
4847 * gdb.reverse/watch-precsave.exp: Likewise.
4848 * gdb.reverse/watch-reverse.exp: Likewise.
4850 2014-10-17 Yao Qi <yao@codesourcery.com>
4852 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4853 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4855 2014-10-17 Pedro Alves <palves@redhat.com>
4858 * gdb.base/bg-execution-repeat.c: New file.
4859 * gdb.base/bg-execution-repeat.exp: New file.
4861 2014-10-17 Pedro Alves <palves@redhat.com>
4864 * gdb.base/continue-all-already-running.c: New file.
4865 * gdb.base/continue-all-already-running.exp: New file.
4867 2014-10-17 Pedro Alves <palves@redhat.com>
4870 * gdb.base/annota-input-while-running.c: New file.
4871 * gdb.base/annota-input-while-running.exp: New file.
4873 2014-10-17 Pedro Alves <palves@redhat.com>
4875 * gdb.base/callfuncs.exp: emove references to osf.
4876 * gdb.base/sigall.exp: Likewise.
4877 * gdb.gdb/selftest.exp: Likewise.
4878 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4879 * gdb.mi/non-stop.c: Likewise.
4880 * gdb.mi/pthreads.c: Likewise.
4881 * gdb.reverse/sigall-precsave.exp: Likewise.
4882 * gdb.reverse/sigall-reverse.exp: Likewise.
4883 * gdb.threads/pthreads.c: Likewise.
4884 * gdb.threads/pthreads.exp: Likewise.
4886 2014-10-17 Yao Qi <yao@codesourcery.com>
4888 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4889 check 'target_info exists noargs'.
4890 (test_command_prompt_position): Likewise.
4891 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4893 (progvar_simple_while_test): Likewise.
4894 (progvar_complex_if_while_test): Likewise.
4895 (if_while_breakpoint_command_test): Likewise.
4896 (infrun_breakpoint_command_test): Likewise.
4897 (breakpoint_command_test): Likewise.
4898 (watchpoint_command_test): Likewise.
4899 (bp_deleted_in_command_test): Likewise.
4900 (temporary_breakpoint_commands): Likewise.
4902 2014-10-16 Yao Qi <yao@codesourcery.com>
4904 * gdb.base/remotetimeout.exp: Remove noargs checking.
4906 2014-10-15 Pedro Alves <palves@redhat.com>
4909 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4910 * gdb.base/breakpoint-in-ro-region.exp
4911 (probe_target_hardware_step): New procedure.
4912 (top level): Probe hardware stepping and hardware breakpoint
4913 support. Test stepping through a read-only region, with both
4914 "breakpoint auto-hw" on and off and both "always-inserted" on and
4917 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4919 * gdb.dlang/demangle.exp: Update for demangling changes.
4921 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4923 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4924 * gdb.cp/non-trivial-retval.exp: Add new tests.
4926 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4930 * gdb.cp/non-trivial-retval.cc: New file.
4931 * gdb.cp/non-trivial-retval.exp: New file.
4933 2014-10-15 Yao Qi <yao@codesourcery.com>
4935 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4938 2014-10-15 Yao Qi <yao@codesourcery.com>
4940 * gdb.python/py-symbol.exp: Match file base name if host is
4941 remote, otherwise match file name with dir name.
4942 * gdb.python/py-symtab.exp: Likewise.
4943 * gdb.python/python.exp: Likewise.
4945 2014-10-15 Yao Qi <yao@codesourcery.com>
4947 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4949 * gdb.python/py-symtab.exp: Likewise.
4950 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4953 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4955 * gdb.ada/addr_arith: New testcase.
4957 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4959 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4960 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4961 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4962 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4964 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4966 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4967 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4968 * gdb.arch/stap-eval-lang-ada.exp: New file.
4970 2014-10-14 Yao Qi <yao@codesourcery.com>
4972 * gdb.mi/mi-var-child.c (nothing1): New function.
4973 (nothing2): New function.
4974 (do_children_tests): Set function pointers by nothing1 and
4976 * gdb.mi/mi-var-child.exp: Step over new added statements.
4977 Update test to match the new output.
4978 * gdb.mi/var-cmd.c (nothing1): New function.
4979 (nothing2): New function.
4980 (do_children_tests): Set function pointers by nothing1 and
4982 * gdb.mi/mi-var-display.exp: Update test to match output.
4983 Step to the line specified by $line_dct_nothing.
4984 Increase the number of lines to step.
4986 2014-10-14 Yao Qi <yao@codesourcery.com>
4988 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4990 * gdb.mi/mi2-var-child.exp: Likewise.
4992 2014-10-13 Doug Evans <dje@google.com>
4994 * gdb.python/py-objfile.exp: Change name of file name test.
4996 2014-10-13 Doug Evans <dje@google.com>
4998 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4999 from the start of the CU.
5001 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5002 Yao Qi <yao@codesourcery.com>
5004 Fix "save breakpoints" for "catch" command.
5005 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5006 Remove -nonewline. Match also the added "main" line.
5008 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5010 Fix "save breakpoints" for "disable $bpnum" command.
5011 * gdb.base/save-bp.c (main): Add label.
5012 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5014 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5016 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5018 2014-10-11 Yao Qi <yao@codesourcery.com>
5020 * gdb.server/server-kill.exp: Execute command
5021 "set remote trace-status-packet on" before "tstatus".
5023 2014-10-11 Yao Qi <yao@codesourcery.com>
5025 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5026 (main): Call getppid.
5027 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5028 and continue to it. Read variable "server_pid".
5030 2014-10-11 Yao Qi <yao@codesourcery.com>
5032 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5034 2014-10-11 Yao Qi <yao@codesourcery.com>
5036 * gdb.threads/thread-find.exp: Don't execute command
5038 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5039 * gdb.threads/linux-dp.exp: Don't check the condition
5040 $threads_created equals to zero.
5042 2014-10-10 Pedro Alves <palves@redhat.com>
5044 * gdb.base/bigcore.exp: Remove references to IRIX.
5045 * gdb.base/funcargs.exp: Likewise.
5046 * gdb.base/interrupt.exp: Likewise.
5047 * gdb.base/mips_pro.exp: Likewise.
5048 * gdb.base/nodebug.exp: Likewise.
5049 * gdb.base/setvar.exp: Likewise.
5050 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5052 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5053 Pedro Alves <palves@redhat.com>
5056 * gdb.base/vdso-warning.c: New file.
5057 * gdb.base/vdso-warning.exp: New file.
5059 2014-10-02 Doug Evans <dje@google.com>
5061 * gdb.base/structs.c (main): Don't run forever.
5063 2014-10-02 Pedro Alves <palves@redhat.com>
5065 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5066 (top level) <stop threads 1, stop threads 2>: Use it.
5068 2014-10-02 Pedro Alves <palves@redhat.com>
5070 * gdb.threads/break-while-running.exp (test): Add new
5071 'update_thread_list' argument. Skip "info threads" if false.
5072 (top level): Add new 'update_thread_list' axis.
5074 2014-10-02 Pedro Alves <palves@redhat.com>
5076 PR breakpoints/17431
5077 * gdb.base/execl-update-breakpoints.c: New file.
5078 * gdb.base/execl-update-breakpoints.exp: New file.
5080 2014-10-01 Pedro Alves <palves@redhat.com>
5082 * gdb.base/breakpoint-in-ro-region.c: New file.
5083 * gdb.base/breakpoint-in-ro-region.exp: New file.
5085 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5087 * gdb.mi/mi-exit-code.exp: New file.
5088 * gdb.mi/mi-exit-code.c: New file.
5090 2014-09-30 Yao Qi <yao@codesourcery.com>
5092 * lib/prelink-support.exp (build_executable_own_libs): Error if
5093 the target isn't native.
5095 2014-09-30 Yao Qi <yao@codesourcery.com>
5097 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5100 2014-09-22 Pedro Alves <palves@redhat.com>
5102 * gdb.threads/break-while-running.exp: New file.
5103 * gdb.threads/break-while-running.c: New file.
5105 2014-09-19 Yao Qi <yao@codesourcery.com>
5107 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5108 Invoke test. Restart GDB with --readnow and invoke test again.
5110 2014-09-19 Yao Qi <yao@codesourcery.com>
5112 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5113 proc set_breakpoint_on_gcd_function. Invoke
5114 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5115 invoke set_breakpoint_on_gcd_function again.
5117 2014-09-18 Doug Evans <dje@google.com>
5119 * gdb.dwarf2/symtab-producer.exp: New file.
5121 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5123 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5124 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5125 * gdb.base/global-var-nested-by-dso.c: Likewise.
5126 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5128 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5129 Pedro Alves <palves@redhat.com>
5131 * gdb.base/watch-bitfields.exp: Pass string other than test file
5132 name to prepare_for_testing.
5133 (watch): New procedure.
5134 (expect_watchpoint): Use with_test_prefix.
5135 (top level): Factor out tests to ...
5136 (test_watch_location, test_regular_watch): ... these new
5137 procedures, and use with_test_prefix and gdb_continue_to_end.
5139 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5141 PR breakpoints/12526
5142 * gdb.base/watch-bitfields.exp: New file.
5143 * gdb.base/watch-bitfields.c: New file.
5145 2014-09-16 Pedro Alves <palves@redhat.com>
5147 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5148 software and hardware addresses, not software address against
5151 2014-09-16 Pedro Alves <palves@redhat.com>
5153 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5154 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5156 2014-09-16 Pedro Alves <palves@redhat.com>
5158 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5160 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5161 "*-*-vxworks*" throughout.
5162 * gdb.base/break.exp: Likewise.
5163 * gdb.base/default.exp: Likewise.
5164 * gdb.base/scope.exp: Likewise.
5165 * gdb.base/sepdebug.exp: Likewise.
5166 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5168 * gdb.base/run.c: Likewise.
5169 * gdb.base/sepdebug.c: Likewise.
5170 * gdb.hp/gdb.aCC/run.c: Likewise.
5171 * gdb.reverse/until-reverse.c: Likewise.
5172 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5174 2014-09-16 Yao Qi <yao@codesourcery.com>
5176 * boards/local-remote-host-native.exp: New file.
5178 2014-09-14 Doug Evans <xdje42@gmail.com>
5180 * gdb.threads/queue-signal.c (thread_count): New variable.
5181 (thread_count_mutex, thread_count_condvar): New variables.
5182 (incr_thread_count, wait_all_threads_running): New functions.
5183 (main): Wait for all threads to be in their thread functions.
5185 2014-09-13 Doug Evans <xdje42@gmail.com>
5187 * gdb.threads/queue-signal.c: New file.
5188 * gdb.threads/queue-signal.exp: New file.
5190 2014-09-13 Doug Evans <xdje42@gmail.com>
5192 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5193 be consistent with what default_gdb_init uses.
5194 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5195 the plain text of the prompt. Add some logging printfs.
5196 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5198 2014-09-12 Pedro Alves <palves@redhat.com>
5200 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5201 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5202 * gdb.arch/i386-size-overlap.exp: Likewise.
5203 * gdb.arch/i386-size.exp: Likewise.
5204 * gdb.arch/i386-unwind.exp: Likewise.
5205 * gdb.base/a2-run.exp: Likewise.
5206 * gdb.base/break.exp: Likewise.
5207 * gdb.base/charset.exp: Likewise.
5208 * gdb.base/chng-syms.exp: Likewise.
5209 * gdb.base/commands.exp: Likewise.
5210 * gdb.base/dbx.exp: Likewise.
5211 * gdb.base/find.exp: Likewise.
5212 * gdb.base/funcargs.exp: Likewise.
5213 * gdb.base/jit-simple.exp: Likewise.
5214 * gdb.base/reread.exp: Likewise.
5215 * gdb.base/sepdebug.exp: Likewise.
5216 * gdb.base/step-bt.exp: Likewise.
5217 * gdb.cp/mb-inline.exp: Likewise.
5218 * gdb.cp/mb-templates.exp: Likewise.
5219 * gdb.objc/basicclass.exp: Likewise.
5220 * gdb.threads/killed.exp: Likewise.
5222 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5225 * gdb.arch/powerpc-stackless.S: New file.
5226 * gdb.arch/powerpc-stackless.exp: New file.
5228 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5230 * gdb.base/attach.c: Include unistd.h.
5231 (main): Call alarm. Add label postloop.
5232 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5233 gdb_breakpoint, gdb_continue_to_breakpoint.
5234 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5236 2014-09-11 Pedro Alves <palves@redhat.com>
5239 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5240 * gdb.base/attach.exp (test_command_line_attach_run): New
5242 (top level): Call it.
5244 2014-09-11 Pedro Alves <palves@redhat.com>
5246 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5247 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5248 (do_command_attach_tests): Use spawn_wait_for_attach.
5249 * gdb.base/solib-overlap.exp: Likewise.
5250 * gdb.multi/multi-attach.exp: Likewise.
5251 * gdb.python/py-prompt.exp: Likewise.
5252 * gdb.python/py-sync-interp.exp: Likewise.
5253 * gdb.server/ext-attach.exp: Likewise.
5255 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5257 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5258 command in testcase. Simplify testcase.
5260 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5262 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5264 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5266 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5268 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5270 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5272 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5274 * gdb.dwarf2/dynarr-ptr.c: New file.
5275 * gdb.dwarf2/dynarr-ptr.exp: New file.
5277 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5279 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5280 of 30 rather than hardcoding 120 for a slow test case. Take the
5281 `gdb,timeout' target setting into account for this calculation.
5282 Don't extend the timeout for the test cases that don't need it.
5284 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5286 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5287 a factor of 2 for a slow test case. Take the `gdb,timeout'
5288 target setting into account for this calculation.
5289 * gdb.reverse/until-precsave.exp: Increase the timeout by
5290 a factor of 15 and 3 respectively rather than adding 120
5291 for a pair of slow test cases. Take the `gdb,timeout'
5292 target setting into account for this calculation.
5294 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5296 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5297 timeout, don't pass one down to gdb_expect.
5298 (gdb_expect): Rework timeout selection.
5300 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5302 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5303 exception on timeout.
5304 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5305 (gdbserver_start_extended): Catch any `gdbserver_start' error
5307 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5308 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5309 `gdbserver_gdb_load' error exceptions.
5311 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5313 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5314 120 on waiting for the TCP socket to open.
5316 2014-09-09 Doug Evans <xdje42@gmail.com>
5318 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5319 _caller_matches, _any_caller_is, _any_caller_matches.
5321 2014-09-09 Doug Evans <xdje42@gmail.com>
5323 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5325 2014-09-09 Yao Qi <yao@codesourcery.com>
5327 * gdb.mi/mi-var-display.exp: Set print symbol off.
5329 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5332 * gdb.base/commands.exp: Add tests to verify user-defined
5333 commands with empty bodies.
5334 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5335 python commands in `show user command`.
5336 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5337 scheme commands in `show user command`.
5339 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5342 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5343 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5344 * gdb.python/py-framefilter-invalidarg.exp: New file.
5345 * gdb.python/py-framefilter-invalidarg.py: New file.
5347 2014-09-06 Doug Evans <xdje42@gmail.com>
5350 * gdb.python/py-caller-is.c: New file.
5351 * gdb.python/py-caller-is.exp: New file.
5353 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5356 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5357 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5359 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5362 * gdb.fortran/print-formatted.exp: New file.
5363 * gdb.fortran/print-formatted.f90: Likewise.
5365 2014-09-03 Sasha Smundak <asmundak@google.com>
5367 * gdb.python/py-frame.exp: Test Frame.read_register.
5369 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5372 * gdb.python/py-completion.exp: New file.
5373 * gdb.python/py-completion.py: Likewise.
5375 2014-08-28 Doug Evans <dje@google.com>
5377 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5378 eax,etc. are live with values set by gdb and thus the compiler can't
5380 * gdb.arch/i386-pseudo.c (main): Ditto.
5382 2014-08-27 Doug Evans <dje@google.com>
5384 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5386 2014-08-25 Doug Evans <dje@google.com>
5388 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5391 2014-08-25 Doug Evans <dje@google.com>
5393 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5395 2014-08-24 Yao Qi <yao@codesourcery.com>
5397 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5399 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5401 2014-08-22 Doug Evans <dje@google.com>
5404 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5405 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5406 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5408 2014-08-22 Yao Qi <yao@codesourcery.com>
5410 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5411 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5412 * gdb.python/python.exp: Likewise. Use .py file on the host
5413 instead of the build.
5415 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5417 * gdb.threads/gcore-stale-thread.c: New file.
5418 * gdb.threads/gcore-stale-thread.exp: New file.
5420 2014-08-21 Pedro Alves <palves@redhat.com>
5422 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5423 * gdb.base/gcore-relro-pie.exp: Likewise.
5424 * gdb.base/gcore-relro.exp: Likewise.
5425 * gdb.base/gcore.exp: Likewise.
5426 * gdb.base/print-symbol-loading.exp: Likewise.
5427 * gdb.threads/gcore-thread.exp: Likewise.
5428 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5430 2014-08-20 Pedro Alves <palves@redhat.com>
5431 Jan Kratochvil <jan.kratochvil@redhat.com>
5433 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5435 (EXPECT): Handle READ1 being set.
5436 (all): Depend on EXTRA_RULES.
5437 (check-read1, expect-read1, read1.so, read1): New rules.
5438 * README (Testsuite Parameters): Document the READ1 make variable.
5439 (Race detection): New section.
5440 * configure: Regenerate.
5441 * configure.ac: If build==host==target, and running under a
5442 GNU/glibc system, add read1 to the extra Makefile rules.
5443 (EXTRA_RULES): AC_SUBST it.
5444 * lib/read1.c: New file.
5446 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5448 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5449 the handling of variables declared as a typedef to an array
5450 which a DW_AT_data_location attribute.
5452 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5453 Pedro Alves <palves@redhat.com>
5457 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5460 2014-08-19 Pedro Alves <palves@redhat.com>
5462 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5464 2014-08-19 Yao Qi <yao@codesourcery.com>
5466 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5469 2014-08-18 David Blaikie <dblaikie@gmail.com>
5471 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5473 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5475 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5476 attribute in array range.
5478 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5480 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5482 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5485 * gdb.cp/pr17132.cc: New file.
5486 * gdb.cp/pr17132.exp: New file.
5488 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5490 * gdb.python/py-xmethods.py (A_getarrayind)
5491 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5492 Use 'print' with function call syntax.
5493 (E_method_matcher.match): Fix tab vs space indentation mixup.
5495 2014-08-15 Yao Qi <yao@codesourcery.com>
5497 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5500 2014-08-15 Yao Qi <yao@codesourcery.com>
5502 * gdb.cp/casts.exp: Set print symbol off.
5503 * gdb.cp/class2.exp: Likewise.
5504 * gdb.cp/overload.exp: Likewise.
5505 * gdb.cp/templates.exp: Likewise.
5507 2014-08-11 Doug Evans <dje@google.com>
5509 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5510 (test_load_shlib): Update.
5512 2014-08-09 Yao Qi <yao@codesourcery.com>
5514 * gdb.base/display.exp: Invoke is_address_zero_readable.
5515 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5516 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5517 * gdb.base/hbreak-unmapped.exp: Return if
5518 is_address_zero_readable returns true.
5519 * gdb.base/signest.exp: Likewise.
5520 * gdb.base/signull.exp: Likewise.
5521 * gdb.base/sigbpt.exp: Likewise.
5522 * gdb.guile/scm-disasm.exp: Do the test if
5523 is_address_zero_readable returns false.
5524 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5525 * gdb.python/py-arch.exp: Likewise.
5526 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5527 * lib/gdb.exp (is_address_zero_readable): New proc.
5529 2014-08-09 Yao Qi <yao@codesourcery.com>
5532 * gdb.mi/mi-var-display.exp: Make test messages unique.
5534 2014-08-04 Tom Tromey <tromey@redhat.com>
5536 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5539 2014-08-04 Tom Tromey <tromey@redhat.com>
5541 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5544 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5546 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5547 inner_vla_struct_object_size.
5548 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5551 2014-07-30 Pedro Alves <palves@redhat.com>
5553 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5556 2014-07-29 Yao Qi <yao@codesourcery.com>
5559 * gdb.base/until-nodebug.exp: New.
5561 2014-07-28 Doug Evans <xdje42@gmail.com>
5564 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5565 previously existing parameter, and previously ambiguously spelled
5568 2014-07-28 Will Newton <will.newton@linaro.org>
5570 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5572 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5573 Doug Evans <xdje42@gmail.com>
5576 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5578 2014-07-25 Pedro Alves <palves@redhat.com>
5580 * gdb.threads/signal-command-handle-nopass.c: New file.
5581 * gdb.threads/signal-command-handle-nopass.exp: New file.
5582 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5583 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5584 * gdb.threads/signal-delivered-right-thread.c: New file.
5585 * gdb.threads/signal-delivered-right-thread.exp: New file.
5587 2014-07-25 Pedro Alves <palves@redhat.com>
5589 * gdb.base/double-prompt-target-event-error.exp
5590 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5592 (cancel_pagination_in_target_event): Rework double prompt
5594 * gdb.base/paginate-after-ctrl-c-running.exp
5595 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5597 * gdb.base/paginate-bg-execution.exp
5598 (test_bg_execution_pagination_return)
5599 (test_bg_execution_pagination_cancel): Remove '-notransfer
5601 * gdb.base/paginate-execution-startup.exp
5602 (test_fg_execution_pagination_return)
5603 (test_fg_execution_pagination_cancel): Remove '-notransfer
5605 * gdb.base/paginate-inferior-exit.exp
5606 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5608 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5609 * lib/gdb.exp (pagination_prompt): Run text through
5611 (gdb_test_multiple): Match $pagination_prompt instead of
5613 (string_to_regexp): Move to lib/gdb-utils.exp.
5615 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 * gdb.arch/amd64-entry-value-paramref.S: New file.
5618 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5619 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5620 * gdb.arch/amd64-optimout-repeat.S: New file.
5621 * gdb.arch/amd64-optimout-repeat.c: New file.
5622 * gdb.arch/amd64-optimout-repeat.exp: New file.
5624 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5627 * gdb.base/statistics.exp: New file.
5629 2014-07-17 Doug Evans <dje@google.com>
5632 * gdb.base/maint.exp: Update testing of per-command stats.
5634 2014-07-16 Pedro Alves <palves@redhat.com>
5636 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5637 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5638 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5639 (tfile_write_buf): New functions.
5640 (add_memory_block): Rewrite using the above.
5641 (adjust_function_address): New function.
5642 (FUNCTION_ADDRESS): New macro.
5643 (write_basic_trace_file): Remove short_x local, and use
5644 tfile_write_16. Change type of func_addr local to unsigned long
5645 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5646 here. Cast argument of add_memory_block to char pointer.
5647 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5648 (main): Remove parameters.
5649 * gdb.trace/tfile.exp: Remove nowarnings.
5651 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5653 * gdb.base/debug-expr.exp: Test string evaluation with
5654 "debug expression" on.
5656 2014-07-15 Pedro Alves <palves@redhat.com>
5658 * gdb.base/reread.exp: Use clean_restart.
5660 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5662 * gdb.arch/avr-flash-qualifer.c: New.
5663 * gdb.arch/avr-flash-qualifer.exp: New.
5665 2014-07-14 Pedro Alves <palves@redhat.com>
5667 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5668 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5670 2014-07-14 Pedro Alves <palves@redhat.com>
5672 * gdb.base/double-prompt-target-event-error.c: New file.
5673 * gdb.base/double-prompt-target-event-error.exp: New file.
5675 2014-07-14 Pedro Alves <palves@redhat.com>
5678 * gdb.base/paginate-inferior-exit.c: New file.
5679 * gdb.base/paginate-inferior-exit.exp: New file.
5681 2014-07-14 Pedro Alves <palves@redhat.com>
5684 * gdb.base/paginate-bg-execution.c: New file.
5685 * gdb.base/paginate-bg-execution.exp: New file.
5687 2014-07-14 Pedro Alves <palves@redhat.com>
5690 * gdb.base/paginate-execution-startup.c: New file.
5691 * gdb.base/paginate-execution-startup.exp: New file.
5692 * lib/gdb.exp (pagination_prompt): New global.
5693 (default_gdb_spawn): New procedure, factored out from
5695 (default_gdb_start): Adjust to call default_gdb_spawn.
5696 (gdb_spawn): New procedure.
5698 2014-07-14 Pedro Alves <palves@redhat.com>
5700 * lib/gdb.exp (gdb_assert): New procedure.
5701 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5703 2014-07-14 Pedro Alves <palves@redhat.com>
5705 * gdb.base/execution-termios.c: New file.
5706 * gdb.base/execution-termios.exp: New file.
5708 2014-07-14 Tom Tromey <tromey@redhat.com>
5710 * gdb.cp/vla-cxx.cc: New file.
5711 * gdb.cp/vla-cxx.exp: New file.
5713 2014-07-14 Tom Tromey <tromey@redhat.com>
5715 * gdb.reverse/rerun-prec.c: New file.
5716 * gdb.reverse/rerun-prec.exp: New file.
5718 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5719 Maciej W. Rozycki <macro@codesourcery.com>
5721 * lib/gdb-utils.exp: New file.
5722 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5723 inline `gdb_init_command' processing.
5724 (gdb_start_cmd): Likewise.
5725 * lib/mi-support.exp (mi_run_cmd): Likewise.
5726 * README: Document `gdb_init_command' and `gdb_init_commands'.
5728 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5730 Fix false FAIL running under a very long directory name.
5731 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5732 and "set print elements 10000". Twice.
5734 2014-07-11 Yao Qi <yao@codesourcery.com>
5736 * gdb.base/exprs.exp: "set print symbol off".
5738 2014-07-11 Pedro Alves <palves@redhat.com>
5740 * gdb.threads/kill.c: New file.
5741 * gdb.threads/kill.exp: New file.
5743 2014-07-10 Yao Qi <yao@codesourcery.com>
5745 * gdb.trace/tfile.c (write_basic_trace_file)
5746 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5747 address written to trace file.
5749 2014-07-09 Pedro Alves <palves@redhat.com>
5751 * gdb.base/attach-wait-input.exp: New file.
5752 * gdb.base/attach-wait-input.c: New file.
5754 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5756 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5757 setting up test structures.
5758 (main): Call new test function.
5759 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5760 test function, continue into test function and walk test
5763 2014-07-02 Yao Qi <yao@codesourcery.com>
5765 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5766 'bar_start' at the beginning of functions 'foo' and 'bar'
5768 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5769 instead of 'foo' and 'bar'.
5771 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5773 * gdb.btrace/segv.exp: New.
5774 * gdb.btrace/segv.c: New.
5776 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5778 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5781 2014-06-30 Mark Wielaard <mjw@redhat.com>
5783 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5784 vulture, vilify, villar): New volatile array constants.
5785 (vindictive, vegetation): New const volatile array constants.
5786 * gdb.base/volatile.exp: Test volatile and const volatile array
5789 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5791 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5792 target lacks support for awatch, rwatch, or hbreak.
5794 2014-06-27 Yao Qi <yao@codesourcery.com>
5796 * gdb.multi/dummy-frame-restore.exp: New.
5797 * gdb.multi/dummy-frame-restore.c: New.
5799 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5801 * gdb.btrace/gcore.exp: New.
5803 2014-06-23 Pedro Alves <palves@redhat.com>
5805 * gdb.base/watchpoint-reuse-slot.c: New file.
5806 * gdb.base/watchpoint-reuse-slot.exp: New file.
5808 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5810 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5811 progspace's filename in 'info', 'enable' and 'disable' command
5814 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5816 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5817 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5818 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5820 2014-06-20 Gary Benson <gbenson@redhat.com>
5822 * gdb.arch/i386-avx.exp: Fix include file location.
5823 * gdb.arch/i386-sse.exp: Likewise.
5825 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5827 * gdb.dlang/expression.exp: New file.
5829 2014-06-19 Pedro Alves <palves@redhat.com>
5831 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5833 (top level): ... here. Iterate running tests under different
5834 scheduler-locking settings.
5836 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5838 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5839 to DW_FORM_addr and use non-zero addresses.
5841 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5844 * gdb.python/py-xmethods.cc: Add global function call counters and
5845 increment them in their respective functions. Remove "cout"
5847 * gdb.python/py-xmethods.exp: Make tests check the global function
5848 call counters instead of depending on inferior IO.
5850 2014-06-18 Don Breazeal <donb@codesourcery.com>
5852 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5854 (explicit_fork_parent_follow): Deleted procedure.
5855 (explicit_fork_child_follow): Deleted procedure.
5856 (test_follow_fork): New procedure.
5857 (do_fork_tests): Replace calls to deleted procedures with
5858 calls to test_follow_fork and reset GDB for subsequent
5861 2014-06-17 Yao Qi <yao@codesourcery.com>
5863 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5866 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5868 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5869 Initialize ptr and S explicitly.
5870 (skip_type_update_when_not_use_rtti_test): Likewise.
5872 2014-06-16 Keith Seitz <keiths@redhat.com>
5875 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5876 the inferior is started.
5878 2014-06-16 Pedro Alves <palves@redhat.com>
5880 * gdb.base/break-main-file-remove-fail.c: New file.
5881 * gdb.base/break-main-file-remove-fail.exp: New file.
5882 * gdb.base/break-unload-file.exp: Use build_executable instead of
5883 prepare_for_testing.
5884 (test_break): New parameter "initial_load". Handle it.
5885 (top level): Add initial_load cmdline/file axis.
5887 2014-06-12 Tom Tromey <tromey@redhat.com>
5889 * gdb.base/completion.exp: Don't use directory name in test.
5891 2014-06-09 Gary Benson <gbenson@redhat.com>
5893 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5894 separate the always-available ANSI-standard signals from the
5895 signals that require checking.
5897 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5901 2014-06-07 Keith Seitz <keiths@redhat.com>
5905 * gdb.cp/var-tag.cc: New file.
5906 * gdb.cp/var-tag.exp: New file.
5907 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5908 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5909 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5910 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5912 2014-06-06 Doug Evans <xdje42@gmail.com>
5914 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5916 2014-06-06 Pedro Alves <palves@redhat.com>
5918 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5919 in target debug output instead of looking at RSP packets,
5920 disabling the test on any target that uses hardware stepping.
5923 2014-06-06 Pedro Alves <palves@redhat.com>
5925 * gdb.base/break-unload-file.exp: Fix typo.
5927 2014-06-06 Yao Qi <yao@codesourcery.com>
5929 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5930 from "jit_function" to "^jit_function".
5932 2014-06-06 Yao Qi <yao@codesourcery.com>
5934 * gdb.base/async.c (foo): Add one statement.
5935 * gdb.base/async.exp: Get the next instruction address and
5936 match the output of "nexti" by instruction address. Match
5937 the hex address in the output of "finish".
5939 2014-06-06 Gary Benson <gbenson@redhat.com>
5941 * gdb.base/call-signals.c: Remove preprocessor conditionals
5942 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5943 SIGSEGV and SIGTERM.
5944 * gdb.base/sigall.c: Likewise.
5945 * gdb.base/unwindonsignal.c: Likewise.
5946 * gdb.reverse/sigall-reverse.c: Likewise.
5948 2014-06-06 Yao Qi <yao@codesourcery.com>
5950 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5951 readable, skip the test.
5953 2014-06-06 Yao Qi <yao@codesourcery.com>
5955 * gdb.threads/staticthreads.c (thread_function): Move the line
5956 setting breakpoint on forward.
5957 * gdb.threads/staticthreads.exp: Update comments.
5959 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5961 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5962 "history-append! type error".
5964 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5966 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5967 erroneous dprintf expected input.
5969 2014-06-04 Doug Evans <xdje42@gmail.com>
5971 * gdb.guile/scm-generics.exp: Delete.
5973 2014-06-04 Doug Evans <xdje42@gmail.com>
5975 * gdb.guile/scm-breakpoint.exp: Update.
5976 Add tests for breakpoint registration.
5978 2014-06-04 Tom Tromey <tromey@redhat.com>
5980 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5982 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5983 inner_vla_struct, vla_union types. Initialize objects of those
5984 types and compute their sizes.
5986 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5987 Hui Zhu <hui@codesourcery.com>
5989 * gdb.base/fileio.exp: Add test for shell not available as well as
5991 * gdb.base/fileio.c (test_system): Check for shell twice.
5993 2014-06-04 Yao Qi <yao@codesourcery.com>
5995 * gdb.base/auto-connect-native-target.exp: Remove redundant
5996 space from the regexp pattern.
5998 2014-06-04 Yao Qi <yao@codesourcery.com>
6000 * gdb.base/default.exp: Replace "child" with "native" in
6003 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6005 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6006 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6007 * gdb.python/py-xmethods.py: Python script supporting the
6008 new testcase and tests.
6010 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6011 Pedro Alves <palves@redhat.com>
6013 PR breakpoints/17000
6014 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6015 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6017 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6019 * gdb.base/subst.exp: Add tests to verify partial path matching
6022 2014-06-03 Pedro Alves <palves@redhat.com>
6024 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6025 target that doesn't use software single-stepping.
6027 2014-06-03 Pedro Alves <palves@redhat.com>
6029 PR breakpoints/17000
6030 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6031 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6033 2014-06-02 Doug Evans <xdje42@gmail.com>
6035 * gdb.guile/scm-parameter.exp: New file.
6037 2014-06-02 Doug Evans <xdje42@gmail.com>
6039 * gdb.guile/scm-cmd.c: New file.
6040 * gdb.guile/scm-cmd.exp: New file.
6042 2014-06-02 Doug Evans <xdje42@gmail.com>
6044 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6045 pretty-printer lookup.
6046 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6047 (make-pp_s-printer): Call it.
6048 (make-pretty-printer-from-dict): New function.
6049 (lookup-pretty-printer-maker-from-dict): New function.
6050 (*pretty-printer*): Simplify.
6051 (make-objfile-pp_s-printer): New function.
6052 (install-objfile-pretty-printers!): New function.
6053 (make-progspace-pp_s-printer): New function.
6054 (install-progspace-pretty-printers!): New function.
6055 * gdb.guile/scm-progspace.c: New file.
6056 * gdb.guile/scm-progspace.exp: New file.
6058 2014-06-02 Pedro Alves <palves@redhat.com>
6060 * gdb.base/dprintf-bp-same-addr.c: New file.
6061 * gdb.base/dprintf-bp-same-addr.exp: New file.
6063 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6065 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6066 * gdb.arch/powerpc-power.s: Likewise.
6068 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6070 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6072 2014-06-01 Yao Qi <yao@codesourcery.com>
6074 * gdb.base/watchpoint.exp (test_watch_location): Check null
6075 pointer can be dereferenced. If not, do the test, otherwise
6078 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6080 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6082 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6084 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6086 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6087 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6088 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6089 * gdb.arch/amd64-invalid-stack-top.c: New file.
6090 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6092 2014-05-30 Pedro Alves <palves@redhat.com>
6094 PR breakpoints/17000
6095 * gdb.base/sss-bp-on-user-bp.c: New file.
6096 * gdb.base/sss-bp-on-user-bp.exp: New file.
6098 2014-05-30 David Blaikie <dblaikie@gmail.com>
6100 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6101 gnu_inline semantics via attribute.
6102 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6103 source explicitly specifies the required semantics.
6105 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6107 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6109 2014-05-29 Pedro Alves <palves@redhat.com>
6110 Tom Tromey <tromey@redhat.com>
6112 * gdb.base/async-shell.exp: Don't enable target-async.
6113 * gdb.base/async.exp
6114 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6116 (top level): Don't test with "target-async".
6117 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6118 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6119 * gdb.base/inferior-died.exp: Don't enable target-async.
6120 * gdb.base/interrupt-noterm.exp: Likewise.
6121 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6122 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6123 * gdb.mi/mi-nonstop.exp: Likewise.
6124 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6125 * gdb.mi/mi-nsintrall.exp: Likewise.
6126 * gdb.mi/mi-nsmoribund.exp: Likewise.
6127 * gdb.mi/mi-nsthrexec.exp: Likewise.
6128 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6129 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6130 * gdb.python/py-evsignal.exp: Don't enable target-async.
6131 * gdb.python/py-evthreads.exp: Likewise.
6132 * gdb.python/py-prompt.exp: Likewise.
6133 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6134 * gdb.server/solib-list.exp: Don't enable target-async.
6135 * gdb.threads/thread-specific-bp.exp: Likewise.
6136 * lib/mi-support.exp: Adjust to use mi-async.
6138 2014-05-29 Pedro Alves <palves@redhat.com>
6141 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6142 reason, even in sync mode.
6144 2014-05-29 Pedro Alves <palves@redhat.com>
6145 Hui Zhu <hui@codesourcery.com>
6148 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6149 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6150 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6151 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6153 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6155 * config/monitor.exp (gdb_target_monitor): Replace use of
6156 "set remotebaud" by "set serial baud".
6158 2014-05-26 Andy Wingo <wingo@igalia.com>
6160 * gdb.guile/scm-breakpoint.exp:
6161 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6162 properties instead of gdb-object-properties.
6164 2014-05-26 Yao Qi <yao@codesourcery.com>
6166 * gdb.server/no-thread-db.exp: Specify source file name
6167 explicitly when setting a breakpoint.
6169 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6171 * gdb.btrace/vdso.c: New.
6172 * gdb.btrace/vdso.exp: New.
6174 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6176 * gdb.base/gcore.exp (capture_command_output): Move ...
6177 * lib/gdb.exp (capture_command_output): ... here.
6179 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6181 * gdb.btrace/data.exp: Test memory access during btrace replay.
6183 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6185 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6187 2014-05-21 Pedro Alves <palves@redhat.com>
6190 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6191 (top level): Test that output related to execution commands is
6192 sent to the console with CLI commands, but not with MI commands.
6193 Test that breakpoint events are always mirrored to the console.
6194 Also expect the new source line to be output after a "next" in
6195 async mode too. Make it a pass/fail test.
6196 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6198 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6200 2014-05-21 Pedro Alves <palves@redhat.com>
6202 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6203 Use them to test variations of "list" after reaching a breakpoint.
6204 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6205 Test "list" with listsize 10 after reaching a breakpoint.
6206 * gdb.python/python.exp (decode_line current location line
6207 number): Adjust expected line number.
6209 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6211 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6212 behavior for $args, pass it directly to "run".
6214 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6216 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6219 2014-05-21 Pedro Alves <palves@redhat.com>
6221 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6222 auto-connect-native-target off".
6223 * gdb.base/auto-connect-native-target.c: New file.
6224 * gdb.base/auto-connect-native-target.exp: New file.
6226 2014-05-21 Pedro Alves <palves@redhat.com>
6228 * gdb.base/default.exp: Test "target native" instead of "target
6231 2014-05-21 Mark Wielaard <mjw@redhat.com>
6233 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6235 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6237 Fix TLS access for -static -pthread.
6238 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6239 <HAVE_TLS> (thread_function, main): Initialize it.
6240 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6242 <$have_tls != "">: Check TLSVAR.
6244 2014-05-21 Pedro Alves <palves@redhat.com>
6246 * gdb.base/dcache-line-read-error.c: New.
6247 * gdb.base/dcache-line-read-error.exp: New.
6249 2014-05-20 Pedro Alves <palves@redhat.com>
6251 * gdb.base/compare-sections.c: New file.
6252 * gdb.base/compare-sections.exp: New file.
6254 2014-05-20 Pedro Alves <palves@redhat.com>
6256 * gdb.base/break-idempotent.c: New file.
6257 * gdb.base/break-idempotent.exp: New file.
6259 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6261 * gdb.btrace/nohist.exp: New.
6263 2014-05-20 Yao Qi <yao@codesourcery.com>
6265 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6266 gdb.reverse directory and gdb_reverse_timeout exists in board
6268 * README: Document gdb_reverse_timeout.
6270 2014-05-20 Yao Qi <yao@codesourcery.com>
6272 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6273 'test_file_name'. Treat args as a string instead of a list.
6274 (gdb_init): Rename argument 'args' by 'test_file_name'.
6276 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6278 * gdb.arch/powerpc-power.exp: New file.
6279 * gdb.arch/powerpc-power.s: New file.
6281 2014-05-16 Doug Evans <dje@google.com>
6283 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6284 * gdb.base/completion.exp: Check that all expected files exist
6285 before doing file completion.
6287 2014-05-16 Doug Evans <dje@google.com>
6289 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6291 (do_syscall_tests_without_xml): Update.
6293 2014-05-16 Pedro Alves <palves@redhat.com>
6295 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6296 instead of "unknown output after running".
6298 2014-05-16 Yao Qi <yao@codesourcery.com>
6300 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6301 file1.txt from host at the end.
6302 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6304 2014-05-15 Doug Evans <dje@google.com>
6306 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6307 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6308 loading file. Add test for TU lookup.
6310 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6312 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6313 calling "-exec-arguments" or "set args" before running the
6316 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6318 * lib/mi-support.exp (mi_expect_stop): Expect message for
6319 inferiors that exit with non-zero exit code.
6321 2014-05-14 Yao Qi <yao@codesourcery.com>
6323 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6324 match absolute path on remote host.
6325 (test_file_list_exec_source_files): Remove "/" from the
6328 2014-05-14 Yao Qi <yao@codesourcery.com>
6330 * boards/local-remote-host-notty.exp (${board}_file): New
6333 2014-05-07 Kyle McMartin <kyle@redhat.com>
6335 Pushed by Joel Brobecker <brobecker@adacore.com>.
6336 * gdb.arch/aarch64-atomic-inst.c: New file.
6337 * gdb.arch/aarch64-atomic-inst.exp: New file.
6339 2014-05-07 Yao Qi <yao@codesourcery.com>
6341 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6342 in current context" too.
6344 2014-05-05 Keith Seitz <keiths@redhat.com>
6346 * gdb.linespec/ls-dollar.exp: Add test for linespec
6347 file:convenience_variable.
6349 2014-05-05 Yao Qi <yao@codesourcery.com>
6351 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6352 traceframes into tfile and ctf trace files. Read data from
6353 trace file and test collected data.
6354 (gdb_collect_locals_test): Likewise.
6355 (gdb_unavailable_registers_test): Likewise.
6356 (gdb_unavailable_floats): Likewise.
6357 (gdb_collect_globals_test): Likewise.
6358 (top-level): Append "ctf" to trace_file_targets if GDB
6361 2014-05-05 Yao Qi <yao@codesourcery.com>
6363 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6365 (gdb_collect_args_test_1): ... it. New proc.
6366 (gdb_collect_locals_test): Move some code to ...
6367 (gdb_collect_locals_test_1): ... it. New proc.
6368 (gdb_unavailable_registers_test): Move some code to ...
6369 (gdb_unavailable_registers_test_1): ... it. New proc.
6370 (gdb_unavailable_floats): Move some code to ...
6371 (gdb_unavailable_floats_1): ... it. New proc.
6373 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6375 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6376 probes to test for bitness recognition.
6377 * gdb.arch/amd64-stap-optional-prefix.exp
6378 (test_probe_value_without_reg): New procedure.
6379 Add code to test for different kinds of bitness.
6381 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6383 PR breakpoints/16889
6384 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6385 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6387 2014-05-01 Pedro Alves <palves@redhat.com>
6389 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6390 gdb_file_cmd if no file is specified.
6391 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6392 last_loaded_file to set the remote exec-file.
6394 2014-05-01 Pedro Alves <palves@redhat.com>
6396 * boards/local-remote-host.exp: New file.
6398 2014-05-01 Pedro Alves <palves@redhat.com>
6400 * boards/local-remote-host.exp: Rename to ...
6401 * boards/local-remote-host-notty.exp: ... this.
6403 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6405 * gdb.ada/dyn_arrayidx: New testcase.
6407 2014-04-26 Yao Qi <yao@codesourcery.com>
6409 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6410 and compute the length of function main. Save it in
6412 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6413 (top-level): Use gdb_compile to compile objects into
6414 executable and restart GDB. Remove invocation to
6415 prepare_for_testing.
6417 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6418 Pedro Alves <palves@redhat.com>
6421 * gdb.multi/multi-attach.c: New file.
6422 * gdb.multi/multi-attach.exp: New file.
6424 2014-04-25 Pedro Alves <palves@redhat.com>
6426 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6428 (top level): Test that "set remote conditional-breakpoints-packet
6429 off" works as intended.
6430 * gdb.base/dprintf.exp: Test that "set remote
6431 breakpoint-commands-packet off" works as intended.
6432 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6434 (top level): Call it.
6435 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6436 remote fast-tracepoints-packet off" works as intended.
6437 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6438 * lib/gdb.exp (gdb_is_target_remote): ... here.
6440 2014-04-24 David Blaikie <dblaikie@gmail.com>
6442 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6443 ensure clang would not discard them.
6444 * gdb.base/gdbvars.c: Ditto.
6445 * gdb.base/memattr.c: Ditto.
6446 * gdb.base/whatis.c: Ditto.
6447 * gdb.python/py-prettyprint.c: Ditto.
6448 * gdb.trace/actions.c: Ditto.
6449 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6450 ensure clang would not discard it.
6452 2014-04-24 David Blaikie <dblaikie@gmail.com>
6454 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6455 clang to emit the full definition of type required by the test
6456 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6458 2014-04-24 David Blaikie <dblaikie@gmail.com>
6460 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6461 coax Clang into emitting the definition of the type.
6462 * gdb.cp/pr10728-x.h (y): Ditto.
6463 * gdb.cp/pr10728-y.cc (y): Ditto.
6465 2014-04-24 David Blaikie <dblaikie@gmail.com>
6467 * gdb.base/label.exp: XFAIL label related tests under Clang.
6468 * gdb.cp/cplabel.exp: Ditto.
6469 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6470 under Clang those using labels.
6472 2014-04-25 Yao Qi <yao@codesourcery.com>
6474 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6476 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6477 partial_label and double_label.
6479 2014-04-24 David Blaikie <dblaikie@gmail.com>
6481 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6483 2014-04-24 David Blaikie <dblaikie@gmail.com>
6485 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6486 of the function to work across GCC and Clang.
6487 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6488 pointer types (const void ** const V void **).
6490 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6491 Walfred Tedeschi <walfred.tedeschi@intel.com>
6493 * Makefile.in (EXECUTABLES): Added i386-avx512.
6494 * gdb.arch/i386-avx512.c: New file.
6495 * gdb.arch/i386-avx512.exp: Likewise.
6497 2014-04-23 Keith Seitz <keiths@redhat.com>
6499 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6500 (mi_make_breakpoint_table): New procedure.
6501 (mi_create_breakpoint): Use mi_make_breakpoint
6502 and return the result.
6503 (mi_make_breakpoint): New procedure.
6504 (mi_build_kv_pairs): New procedure.
6506 * gdb.mi/mi-break.exp: Remove unused globals,
6507 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6508 All callers updated.
6509 * gdb.mi/mi-dprintf.exp: Use variable to track command
6511 Update all callers of mi_create_breakpoint and use
6512 mi_make_breakpoint_table.
6513 Remove any unused global variables.
6514 * gdb.mi/mi-nonstop.exp: Likewise.
6515 * gdb.mi/mi-nsintrall.exp: Likewise.
6516 * gdb.mi/mi-nsmoribund.exp: Likewise.
6517 * gdb.mi/mi-nsthrexec.exp: Likewise.
6518 * gdb.mi/mi-reverse.exp: Likewise.
6519 * gdb.mi/mi-simplerun.exp: Likewise.
6520 * gdb.mi/mi-stepn.exp: Likewise.
6521 * gdb.mi/mi-syn-frame.exp: Likewise.
6522 * gdb.mi/mi-until.exp: Likewise.
6523 * gdb.mi/mi-var-cp.exp: Likewise.
6524 * gdb.mi/mi-var-display.exp: Likewise.
6525 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6526 * gdb.mi/mi2-var-child.exp: Likewise.
6527 * gdb.mi/mi-vla-c99.exp: Likewise.
6528 * lib/mi-support.exp: Likewise.
6530 From Ian Lance Taylor <iant@cygnus.com>:
6531 * lib/gdb.exp (parse_args): New procedure.
6533 2014-04-23 Pedro Alves <palves@redhat.com>
6535 * gdb.base/break-unload-file.c: New file.
6536 * gdb.base/break-unload-file.exp: New file.
6537 * gdb.base/sym-file-lib.c (baz): New function.
6538 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6540 (load): Store the segment's mapped size.
6541 (unload): New function.
6542 (unload_shlib): New function.
6543 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6544 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6545 set a breakpoint at baz, and call it.
6546 * gdb.base/sym-file.exp: New tests for stale breakpoint
6549 2014-04-23 Pedro Alves <palves@redhat.com>
6551 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6552 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6553 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6554 * gdb.base/hbreak-unmapped.c: New file.
6555 * gdb.base/hbreak-unmapped.exp: New file.
6556 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6557 * lib/gdb.exp (gdb_is_target_remote): ... here.
6559 2014-04-22 Pedro Alves <palves@redhat.com>
6561 * gdb.base/consecutive-step-over.c: New file.
6562 * gdb.base/consecutive-step-over.exp: New file.
6564 2014-04-22 Pedro Alves <palves@redhat.com>
6566 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6567 instead of send_gdb/gdb_expect.
6569 2014-04-22 Yao Qi <yao@codesourcery.com>
6571 * lib/trace-support.exp (generate_tracefile): New procedure.
6572 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6574 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6575 if generate_tracefile returns 1.
6577 2014-04-18 Tom Tromey <palves@redhat.com>
6578 Pedro alves <tromey@redhat.com>
6581 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6582 with a backtrace limit.
6583 * gdb.python/py-frame-inline.exp: Test running to an inline
6584 function with a backtrace limit, and printing the newest frame.
6585 * gdb.python/py-frame-inline.c (main): Call f.
6587 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6589 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6591 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6593 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6594 Drop prefix from unsupported source file path.
6596 2014-04-17 Yao Qi <yao@codesourcery.com>
6598 * lib/gdb.exp (with_target_charset): New proc.
6599 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6600 with_target_charset.
6601 (test_print_strings): Likewise.
6602 (test_repeat_bytes): Likewise.
6603 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6606 2014-04-16 Keith Seitz <keiths@redhat.com>
6609 * gdb.dwarf2/corrupt.c: New file.
6610 * gdb.dwarf2/corrupt.exp: New file.
6612 2014-04-16 Keith Seitz <keiths@redhat.com>
6615 * gdb.cp/namelessclass.cc: New file.
6616 * gdb.cp/namelessclass.exp: New file.
6617 * gdb.cp/namelessclass.S: New file.
6619 2014-04-16 Doug Evans <dje@google.com>
6621 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6623 (gdbserver_default_get_comm_port): New function.
6624 (gdbserver_start): Check if board file provided
6625 "gdbserver,get_comm_port" and use it if so.
6626 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6627 (gdb,socketport): Set to "stdio".
6628 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6629 (stdio_gdbserver_template): Delete.
6630 (${board}_get_remote_address): Update.
6631 (${board}_build_remote_cmd): Delete.
6632 (${board}_get_comm_port): New function.
6633 (${board}_spawn): Update.
6634 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6636 (${board}_get_remote_address): Update.
6637 (${board}_get_comm_port): New function.
6639 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6641 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6642 appearing in any order.
6644 2014-04-15 Doug Evans <dje@google.com>
6646 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6647 uninitialized value of "description".
6649 2014-04-15 Keith Seitz <keiths@redhat.com>
6651 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6652 Remove unused globals.
6653 (test_running_the_program): Likewise.
6654 (test_controlled_execution): Likewise.
6655 (test_controlling_breakpoints): Likewise.
6656 (test_program_termination): Likewise.
6658 2014-04-15 Keith Seitz <keiths@redhat.com>
6660 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6662 (test_rbreak_creation_and_listing): Likewise.
6663 (test_ignore_count): Likewise.
6664 (test_error): Likewise.
6666 2014-04-15 Pedro Alves <palves@redhat.com>
6668 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6669 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6671 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6672 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6673 to sym-file-loader.c.
6674 (struct library): Forward declare.
6675 (load_shlib, lookup_function): Change prototypes.
6676 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6677 (translate_offset): Remove declarations.
6678 (get_text_addr): New declaration.
6679 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6680 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6682 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6683 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6684 here from sym-file-loader.h.
6685 (struct library): New structure.
6686 (load_shlib, lookup_function): Change prototypes and adjust to
6687 work with a struct library.
6688 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6689 (translate_offset): Make static.
6690 (get_text_addr): New function.
6691 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6693 2014-04-15 Pedro Alves <palves@redhat.com>
6695 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6697 2014-04-15 Pedro Alves <palves@redhat.com>
6699 * gdb.base/sym-file-loader.c: Include <limits.h>.
6700 (SELF_LINK): New define.
6701 (get_origin): New function.
6702 (load_shlib): Use it.
6703 * gdb.base/sym-file.exp: Don't early return if the target is
6704 remote. Use runto_main, and issue fail is that fails. Use
6706 (shlib_name): Delete.
6707 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6709 2014-04-15 Pedro Alves <palves@redhat.com>
6711 * gdb.base/sym-file.exp: Remove regex characters from test
6712 message. Don't refer to breakpoint numbers in test messages.
6714 2014-04-14 Keith Seitz <keiths@redhat.com>
6717 * gdb.cp/var-tag.cc: New file.
6718 * gdb.cp/var-tag.exp: New file.
6719 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6720 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6721 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6722 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6724 2014-04-14 Tom Tromey <tromey@redhat.com>
6726 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6727 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6729 * gdb.cp/enum-class.exp: New file.
6730 * gdb.cp/enum-class.cc: New file.
6732 2014-04-14 Tom Tromey <tromey@redhat.com>
6734 * gdb.dwarf2/enum-type.exp: New file.
6736 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6738 * gdb.mi/mi-vla-c99.exp: New file.
6739 * gdb.mi/vla.c: New file.
6741 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6743 * gdb.base/vla-datatypes.c: New file.
6744 * gdb.base/vla-datatypes.exp: New file.
6746 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6748 * gdb.base/vla-ptr.c: New file.
6749 * gdb.base/vla-ptr.exp: New file.
6751 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6753 * gdb.dwarf2/count.exp: New file.
6755 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6757 * gdb.base/vla-sideeffect.c: New file.
6758 * gdb.base/vla-sideeffect.exp: New file.
6760 2014-04-14 David Blaikie <dblaikie@gmail.com>
6762 * gdb.mi/non-stop.c: Add return value for non-void function return
6764 * gdb.threads/staticthreads.c: Ditto.
6766 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6767 Doug Evans <xdje42@gmail.com>
6769 * gdb.guile/scm-value.c: Improve test case.
6770 * gdb.guile/scm-value.exp: Add new test.
6772 2014-04-11 David Blaikie <dblaikie@gmail.com>
6774 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6775 override Clang's default.
6777 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6779 Revert the following changes (regressions):
6781 * gdb.base/vla-sideeffect.c: New file.
6782 * gdb.base/vla-sideeffect.exp: New file.
6784 * gdb.dwarf2/count.exp: New file.
6786 * gdb.base/vla-multi.c: New file.
6787 * gdb.base/vla-multi.exp: New file.
6789 * gdb.base/vla-ptr.c: New file.
6790 * gdb.base/vla-ptr.exp: New file.
6792 * gdb.base/vla-datatypes.c: New file.
6793 * gdb.base/vla-datatypes.exp: New file.
6795 * gdb.mi/mi-vla-c99.exp: New file.
6796 * gdb.mi/vla.c: New file.
6798 2014-04-11 Keith Seitz <keiths@redhat.com>
6801 * gdb.cp/cpsizeof.exp: New file.
6802 * gdb.cp/cpsizeof.cc: New file.
6804 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6806 * gdb.mi/mi-vla-c99.exp: New file.
6807 * gdb.mi/vla.c: New file.
6809 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6811 * gdb.base/vla-datatypes.c: New file.
6812 * gdb.base/vla-datatypes.exp: New file.
6814 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6816 * gdb.base/vla-ptr.c: New file.
6817 * gdb.base/vla-ptr.exp: New file.
6819 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6821 * gdb.base/vla-multi.c: New file.
6822 * gdb.base/vla-multi.exp: New file.
6824 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6826 * gdb.dwarf2/count.exp: New file.
6828 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6830 * gdb.base/vla-sideeffect.c: New file.
6831 * gdb.base/vla-sideeffect.exp: New file.
6833 2014-04-11 Yao Qi <yao@codesourcery.com>
6835 * gdb.base/completion.exp: Check file exists before running tests
6838 2014-04-10 Pedro Alves <palves@redhat.com>
6840 * gdb.base/cond-eval-mode.c: New file.
6841 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6842 prepare_for_testing to build the new file. Check result of
6844 (test_break, test_watch): New procedures.
6845 (top level): Use them.
6847 2014-04-08 Pierre Muller <muller@sourceware.org>
6849 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6850 Ctrl-V use for mingw hosts.
6852 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6854 * gdb.python/py-value.c: Improve test case.
6855 * gdb.python/py-value.exp: Add new test.
6857 2014-04-07 David Blaikie <dblaikie@gmail.com>
6859 * lib/compiler.c: Identify the clang compiler.
6860 * lib/compiler.cc: Ditto.
6862 2014-04-03 Yao Qi <yao@codesourcery.com>
6864 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6866 2014-04-01 Anton Blanchard <anton@samba.org>
6868 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6871 2014-04-01 Anton Blanchard <anton@samba.org>
6873 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6874 prepare_for_testing.
6876 2014-04-01 Anton Blanchard <anton@samba.org>
6878 * gdb.arch/ppc64-atomic-inst.c: Remove.
6879 * gdb.arch/ppc64-atomic-inst.S: New file.
6880 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6882 2014-03-31 Doug Evans <dje@google.com>
6884 * gdb.base/print-symbol-loading-lib.c: New file.
6885 * gdb.base/print-symbol-loading-main.c: New file.
6886 * gdb.base/print-symbol-loading.exp: New file.
6888 2014-03-31 Yao Qi <yao@codesourcery.com>
6890 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6892 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6894 * gdb.ada/mi_dyn_arr: New testcase.
6896 2014-03-27 Doug Evans <dje@google.com>
6898 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6900 2014-03-27 Yao Qi <yao@codesourcery.com>
6902 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6903 if target is nios2-*-*.
6905 2014-03-26 Yao Qi <yao@codesourcery.com>
6907 * lib/gdb.exp (readline_is_used): New proc.
6908 * gdb.base/completion.exp: Move tests on command complete up.
6909 Skip the rest of tests if readline is not used.
6910 * gdb.ada/complete.exp: Skp the test if readline is not
6912 * gdb.base/filesym.exp: Likewise.
6913 * gdb.base/macscp.exp: Likewise.
6914 * gdb.base/readline-ask.exp: Likewise.
6915 * gdb.base/readline.exp: Likewise.
6916 * gdb.python/py-cmd.exp: Likewise.
6917 * gdb.trace/tfile.exp: Likewise.
6919 2014-03-26 Yao Qi <yao@codesourcery.com>
6921 * gdb.base/macscp.exp: Fix code format issues.
6923 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6925 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6926 * gdb.asm/powerpc64le.inc: New file.
6928 2014-03-25 Pedro Alves <palves@redhat.com>
6929 Doug Evans <dje@google.com>
6931 * gdb.base/source-execution.c: New file.
6932 * gdb.base/source-execution.exp: New file.
6933 * gdb.base/source-execution.gdb: New file.
6935 2014-03-24 Doug Evans <dje@google.com>
6937 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6940 2014-03-24 Hui Zhu <hui@codesourcery.com>
6941 Pedro Alves <palves@redhat.com>
6943 PR breakpoints/16101
6944 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6945 test pass/fail messages. Detect missing support for dprintf when
6946 breakpoints are actually inserted.
6947 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6948 breakpoints are actually inserted.
6949 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6952 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6954 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6956 2014-03-22 Doug Evans <xdje42@gmail.com>
6958 * gdb.python/python.exp (python not supported): Verify multi-line
6959 python command issues an error.
6960 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6961 guile command issues an error.
6963 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6965 * gdb.threads/thread-specific.exp: Handle the lack of usable
6966 $this_breakpoint and $this_thread.
6968 2014-03-21 Hui Zhu <hui@codesourcery.com>
6970 * gdb.base/attach.exp (do_command_attach_tests): New.
6972 2014-03-20 Tom Tromey <tromey@redhat.com>
6973 Pedro Alves <palves@redhat.com>
6976 * gdb.base/condbreak-call-false.c: New file.
6977 * gdb.base/condbreak-call-false.exp: New file.
6979 2014-03-20 Pedro Alves <palves@redhat.com>
6981 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6983 (block_signals, unblock_signals): Delete.
6984 (child_function_2, main): Remove references to deleted variable
6987 2014-03-20 Pedro Alves <palves@redhat.com>
6989 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6990 Use pthread_kill to signal thread 2.
6991 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6992 Adjust to make the test send itself a signal rather than using the
6993 host's "kill" command.
6995 2014-03-20 Pedro Alves <palves@redhat.com>
6997 * gdb.threads/multiple-step-overs.c: New file.
6998 * gdb.threads/multiple-step-overs.exp: New file.
6999 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7000 Adjust expected infrun debug output.
7002 2014-03-20 Pedro Alves <palves@redhat.com>
7004 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7005 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7007 2014-03-20 Pedro Alves <palves@redhat.com>
7010 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7011 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7012 of gdb_test_multiple.
7013 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7014 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7016 2014-03-20 Pedro Alves <palves@redhat.com>
7018 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7019 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7021 2014-03-19 Pedro Alves <palves@redhat.com>
7023 * gdb.base/async.exp: Remove early return.
7025 2014-03-19 Pedro Alves <palves@redhat.com>
7027 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7029 2014-03-19 Pedro Alves <palves@redhat.com>
7031 * gdb.base/async.exp (test_background): Expect \r\n after
7032 "completed." in the fail pattern.
7034 2014-03-19 Pedro Alves <palves@redhat.com>
7036 * gdb.base/async.exp (test_background): New procedure.
7037 Use it for all background execution command tests.
7039 2014-03-19 Pedro Alves <palves@redhat.com>
7041 * gdb.base/async.exp: Use prepare_for_testing.
7043 2014-03-19 Pedro Alves <palves@redhat.com>
7045 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7048 2014-03-19 Pedro Alves <palves@redhat.com>
7050 * gdb.base/async.c (main): Add "jump here" and "until here" line
7052 * gdb.base/async.exp (jump_here): New global.
7053 (jump& test): Use it.
7054 (until_here): New global.
7055 (until& test): Use it.
7057 2014-03-19 Pedro Alves <palves@redhat.com>
7059 * gdb.base/async.exp: Don't frob gdb_protocol.
7061 2014-03-18 Doug Evans <xdje42@gmail.com>
7063 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7064 Fix spelling of exec-done-display.
7066 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7069 * gdb.base/gdb-sigterm.c: New file.
7070 * gdb.base/gdb-sigterm.exp: New file.
7072 2014-03-18 Pedro Alves <palves@redhat.com>
7075 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7076 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7079 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7081 * gdb.ada/pckd_arr_ren: New testcase.
7083 2014-03-13 Doug Evans <xdje42@gmail.com>
7086 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7087 collect after discarding symbols.
7089 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7090 Doug Evans <xdje42@gmail.com>
7092 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7093 to history survives a gc.
7095 2014-03-13 Pedro Alves <palves@redhat.com>
7097 * gdb.base/default.exp: Don't test "target procfs".
7099 2014-03-13 Pedro Alves <palves@redhat.com>
7101 * gdb.base/default.exp: Update "target child" and "target procfs"
7102 tests to not expect "Unix".
7104 2014-03-12 Tom Tromey <tromey@redhat.com>
7106 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7107 New procs. Add target-async tests.
7108 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7109 Add target-async tests.
7111 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7113 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7114 'func_start' and 'func_end' for the beginning and end of the
7115 function code, respectively.
7116 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7117 'func_end' instead of 'func' and 'main'.
7119 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7121 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7122 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7123 generate the debug info assembler source.
7125 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7127 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7128 * gdb.dwarf2/arr-subrange.exp: Likewise.
7129 * gdb.dwarf2/dwz.exp: Likewise.
7130 * gdb.dwarf2/method-ptr.exp: Likewise.
7131 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7132 * gdb.dwarf2/subrange.exp: Likewise.
7133 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7134 * gdb.dwarf2/implptrpiece.exp: Likewise.
7135 * gdb.dwarf2/nostaticblock.exp: Likewise.
7137 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7139 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7140 directory to absolute path name arguments.
7142 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7144 * gdb.ada/tagged_access: New testcase.
7146 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7148 * gdb.btrace/data.exp: Update expected output.
7150 2014-03-06 Yao Qi <yao@codesourcery.com>
7152 * gdb.trace/pr16508.exp: New file.
7154 2014-03-05 Pedro Alves <palves@redhat.com>
7157 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7159 (top level): Adjust to use it. Add tests that exercise breakpoint
7160 interaction with the code-cache.
7162 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7164 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7165 test for 'history-append!'.
7167 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7169 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7170 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7171 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7172 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7173 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7174 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7178 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7179 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7180 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7182 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7184 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7186 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7188 * gdb.dwarf2/arr-stride.c: New file.
7189 * gdb.dwarf2/arr-stride.exp: New file.
7191 2014-02-26 Pedro Alves <palves@redhat.com>
7193 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7194 that won't ever trigger. Make sure that GDB reports the correct
7195 breakpoint that caused the stop.
7197 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7200 * gdb.base/auto-load-script: New file.
7201 * gdb.base/auto-load.c: New file.
7202 * gdb.base/auto-load.exp: New file.
7205 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7207 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7209 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7210 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7212 2014-02-24 Doug Evans <dje@google.com>
7214 * lib/gdb.exp (run_on_host): Log error output if program fails.
7216 2014-02-21 Pedro Alves <palves@redhat.com>
7218 * gdb.threads/step-after-sr-lock.c: Rename to ...
7219 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7220 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7221 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7224 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7227 * gdb.arch/amd64-stap-special-operands.exp: New file.
7228 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7229 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7230 * gdb.arch/amd64-stap-triplet.S: Likewise.
7231 * gdb.arch/amd64-stap-triplet.c: Likewise.
7233 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7235 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7236 in .section pseudo-op.
7238 2014-02-20 lin zuojian <manjian2006@gmail.com>
7239 Joel Brobecker <brobecker@adacore.com>
7240 Doug Evans <xdje42@gmail.com>
7243 * gdb.dwarf2/dw2-icycle.S: New file.
7244 * gdb.dwarf2/dw2-icycle.c: New file.
7245 * gdb.dwarf2/dw2-icycle.exp: New file.
7247 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7249 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7250 operations on gdb.Value objects.
7251 * gdb.python/py-value-cc.exp: Add new test to test operations on
7254 2014-02-18 Doug Evans <dje@google.com>
7256 * Makefile.in (TESTS): New variable.
7257 (expanded_tests, expanded_tests_or_none): New variables
7258 (check-single): Pass $(expanded_tests_or_none) to runtest.
7259 (check-parallel): Only run tests in $(TESTS) if non-empty.
7260 (check/no-matching-tests-found): New rule.
7261 * README: Document TESTS makefile variable.
7263 2014-02-18 Doug Evans <dje@google.com>
7265 * Makefile.in (check-parallel): rm -rf outputs temp.
7267 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7269 Fix "ERROR: no fileid for" in the testsuite.
7270 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7272 2014-02-12 Doug Evans <dje@google.com>
7274 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7275 (MISCELLANEOUS): New variable.
7276 (clean): rm -rf $(MISCELLANEOUS).
7277 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7278 dwp live in the same directory as symlinks, with each symlink pointed
7279 to a differently named file in a different directory.
7281 2014-02-11 Doug Evans <dje@google.com>
7283 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7284 of Tcl file commands.
7286 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7288 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7291 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7293 * gdb.ada/tick_length_array_enum_idx: New testcase.
7295 2014-02-10 Doug Evans <xdje42@gmail.com>
7297 * configure.ac (AC_OUTPUT): Add gdb.guile.
7298 * configure: Regenerate.
7299 * lib/gdb-guile.exp: New file.
7300 * lib/gdb.exp (get_target_charset): New function.
7301 * gdb.base/help.exp: Update expected output from "apropos apropos".
7302 * gdb.guile/Makefile.in: New file.
7303 * gdb.guile/guile.exp: New file.
7304 * gdb.guile/scm-arch.c: New file.
7305 * gdb.guile/scm-arch.exp: New file.
7306 * gdb.guile/scm-block.c: New file.
7307 * gdb.guile/scm-block.exp: New file.
7308 * gdb.guile/scm-breakpoint.c: New file.
7309 * gdb.guile/scm-breakpoint.exp: New file.
7310 * gdb.guile/scm-disasm.c: New file.
7311 * gdb.guile/scm-disasm.exp: New file.
7312 * gdb.guile/scm-equal.c: New file.
7313 * gdb.guile/scm-equal.exp: New file.
7314 * gdb.guile/scm-error.exp: New file.
7315 * gdb.guile/scm-error.scm: New file.
7316 * gdb.guile/scm-frame-args.c: New file.
7317 * gdb.guile/scm-frame-args.exp: New file.
7318 * gdb.guile/scm-frame-args.scm: New file.
7319 * gdb.guile/scm-frame-inline.c: New file.
7320 * gdb.guile/scm-frame-inline.exp: New file.
7321 * gdb.guile/scm-frame.c: New file.
7322 * gdb.guile/scm-frame.exp: New file.
7323 * gdb.guile/scm-generics.exp: New file.
7324 * gdb.guile/scm-gsmob.exp: New file.
7325 * gdb.guile/scm-iterator.c: New file.
7326 * gdb.guile/scm-iterator.exp: New file.
7327 * gdb.guile/scm-math.c: New file.
7328 * gdb.guile/scm-math.exp: New file.
7329 * gdb.guile/scm-objfile-script-gdb.in: New file.
7330 * gdb.guile/scm-objfile-script.c: New file.
7331 * gdb.guile/scm-objfile-script.exp: New file.
7332 * gdb.guile/scm-objfile.c: New file.
7333 * gdb.guile/scm-objfile.exp: New file.
7334 * gdb.guile/scm-ports.exp: New file.
7335 * gdb.guile/scm-pretty-print.c: New file.
7336 * gdb.guile/scm-pretty-print.exp: New file.
7337 * gdb.guile/scm-pretty-print.scm: New file.
7338 * gdb.guile/scm-section-script.c: New file.
7339 * gdb.guile/scm-section-script.exp: New file.
7340 * gdb.guile/scm-section-script.scm: New file.
7341 * gdb.guile/scm-symbol.c: New file.
7342 * gdb.guile/scm-symbol.exp: New file.
7343 * gdb.guile/scm-symtab-2.c: New file.
7344 * gdb.guile/scm-symtab.c: New file.
7345 * gdb.guile/scm-symtab.exp: New file.
7346 * gdb.guile/scm-type.c: New file.
7347 * gdb.guile/scm-type.exp: New file.
7348 * gdb.guile/scm-value-cc.cc: New file.
7349 * gdb.guile/scm-value-cc.exp: New file.
7350 * gdb.guile/scm-value.c: New file.
7351 * gdb.guile/scm-value.exp: New file.
7352 * gdb.guile/source2.scm: New file.
7353 * gdb.guile/types-module.cc: New file.
7354 * gdb.guile/types-module.exp: New file.
7356 2014-02-10 Yao Qi <yao@codesourcery.com>
7359 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7360 * configure: Regenerated.
7361 * Makefile.in: New file.
7363 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7365 * gdb.python/py-framefilter.exp: Fix typo.
7367 2014-02-08 Yao Qi <yao@codesourcery.com>
7369 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7370 that no =breakpoint-modified is emitted when breakpoints are
7371 modified through MI commands.
7373 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7374 Pedro Alves <palves@redhat.com>
7376 * gdb.threads/step-after-sr-lock.c: New file.
7377 * gdb.threads/step-after-sr-lock.exp: New file.
7379 2014-02-07 Pedro Alves <palves@redhat.com>
7381 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7383 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7385 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7386 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7388 2014-02-06 Doug Evans <xdje42@gmail.com>
7390 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7393 * gdb.gdb/python-interrupts.exp: New file.
7395 2014-02-05 Yao Qi <yao@codesourcery.com>
7397 * gdb.trace/report.exp (use_collected_data): Test the output
7398 of "info threads" and "info inferiors".
7400 2014-02-05 Yao Qi <yao@codesourcery.com>
7404 2013-05-24 Yao Qi <yao@codesourcery.com>
7406 * gdb.trace/tfile.exp: Test inferior and thread.
7408 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7410 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7412 * gdb.base/step-bt.c: Call hello via function pointer to make
7413 sure its first instruction is executed on powerpc64le-linux.
7415 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7417 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7421 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7422 of the test patterns for use on little-endian systems.
7424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7426 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7427 (decimal_vector): Fix for little-endian.
7429 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7431 * gdb.arch/sparc-sysstep.exp: New file.
7432 * gdb.arch/sparc-sysstep.c: Likewise.
7434 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7436 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7438 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7440 2014-01-23 Tom Tromey <tromey@redhat.com>
7442 * gdb.ada/array_char_idx: New testcase.
7444 2014-01-23 Tom Tromey <tromey@redhat.com>
7447 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7448 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7451 2014-01-23 Tom Tromey <tromey@redhat.com>
7454 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7455 string from an inferior frame.
7456 * gdb.python/py-framefilter-mi.exp: Update.
7458 2014-01-22 Doug Evans <dje@google.com>
7460 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7462 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7464 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7466 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7468 * gdb.trace/entry-values.exp: Remove excess space character from
7469 regex patterns. Handle s390 call instruction.
7471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7473 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7474 define "*_start" label. Make "name" static.
7475 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7476 ${name} by references to ${name}_start.
7478 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7480 * gdb.base/info-macros.exp: Remove "debug" from the compile
7483 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7485 * gdb.dlang/demangle.exp: New file.
7487 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7489 * gdb.dlang/primitive-types.exp: New file.
7491 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7493 * configure.ac: Create gdb.dlang/Makefile.
7494 * configure: Regenerate.
7495 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7496 * gdb.dlang/Makefile.in: New file.
7497 * lib/d-support.exp: New file.
7498 * lib/gdb.exp (skip_d_tests): New proc.
7500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7502 * gdb.btrace/delta.exp: Check reverse stepi.
7503 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7504 * gdb.btrace/finish.exp: New.
7505 * gdb.btrace/next.exp: New.
7506 * gdb.btrace/nexti.exp: New.
7507 * gdb.btrace/record_goto.c: Add comments.
7508 * gdb.btrace/step.exp: New.
7509 * gdb.btrace/stepi.exp: New.
7510 * gdb.btrace/multi-thread-step.c: New.
7511 * gdb.btrace/multi-thread-step.exp: New.
7512 * gdb.btrace/rn-dl-bind.c: New.
7513 * gdb.btrace/rn-dl-bind.exp: New.
7514 * gdb.btrace/data.c: New.
7515 * gdb.btrace/data.exp: New.
7516 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7520 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7521 * gdb.btrace/exception.exp: Update.
7522 * gdb.btrace/instruction_history.exp: Update.
7523 * gdb.btrace/record_goto.exp: Update.
7524 * gdb.btrace/tailcall.exp: Update.
7525 * gdb.btrace/unknown_functions.exp: Update.
7526 * gdb.btrace/delta.exp: New.
7528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7530 * gdb.btrace/record_goto.exp: Add backtrace test.
7531 * gdb.btrace/tailcall.exp: Add backtrace test.
7533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7535 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7536 * gdb.btrace/record_goto.c: New.
7537 * gdb.btrace/record_goto.exp: New.
7538 * gdb.btrace/x86-record_goto.S: New.
7540 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7542 * gdb.btrace/function_call_history.exp: Update tests.
7543 * gdb.btrace/instruction_history.exp: Update tests.
7545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7547 * gdb.btrace/function_call_history.exp: Fix expected field
7548 order for "record function-call-history".
7549 Add new tests for "record function-call-history /c".
7550 * gdb.btrace/exception.cc: New.
7551 * gdb.btrace/exception.exp: New.
7552 * gdb.btrace/tailcall.exp: New.
7553 * gdb.btrace/x86-tailcall.S: New.
7554 * gdb.btrace/x86-tailcall.c: New.
7555 * gdb.btrace/unknown_functions.c: New.
7556 * gdb.btrace/unknown_functions.exp: New.
7557 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7561 * gdb.btrace/instruction_history.exp: Update.
7562 * gdb.btrace/function_call_history.exp: Update.
7564 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7566 * gdb.btrace/function_call_history.exp: Fix expected function
7568 * gdb.btrace/instruction_history.exp: Initialize traced.
7569 Remove traced_functions.
7571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7573 * gdb.btrace/function_call_history.exp: Update
7574 * gdb.btrace/instruction_history.exp: Update.
7576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7578 * gdb.btrace/enable.exp: Update expected text.
7580 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7582 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7585 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7587 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7591 * lib/gdb.exp (supports_process_record): Return true for
7592 arm*-linux*. (supports_reverse): Likewise.
7594 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7598 * gdb.python/py-type.c: Enhance test case.
7599 * gdb.python/py-value-cc.cc: Likewise
7600 * gdb.python/py-type.exp: Add new tests.
7601 * gdb.python/py-value-cc.exp: Likewise
7603 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7604 Pedro Alves <palves@redhat.com>
7606 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7608 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7609 references to ${name}_start by references to ${name}.
7611 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7613 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7615 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7617 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7619 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7620 Pedro Alves <palves@redhat.com>
7622 * gdb.mi/mi-info-os.exp: Connect to the target with
7625 2014-01-08 Pedro Alves <palves@redhat.com>
7627 * gdb.threads/reconnect-signal.c: New file.
7628 * gdb.threads/reconnect-signal.exp: New file.
7630 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7632 * gdb.base/source-dir.exp: New file.
7634 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7636 * gdb.ada/mi_interface: New testcase.
7638 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7640 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7641 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7642 gdb.ada/pp-rec-component/pck.ads: New files.
7644 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7646 * gdb.python/py-pp-integral.c: New file.
7647 * gdb.python/py-pp-integral.py: New file.
7648 * gdb.python/py-pp-integral.exp: New file.
7650 For older changes see ChangeLog-1993-2013.
7656 ;; version-control: never
7659 Copyright 2014-2016 Free Software Foundation, Inc.
7660 Copying and distribution of this file, with or without modification,
7661 are permitted provided the copyright notice and this notice are preserved.