1 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.arch/s390-stackless.S: New.
4 * gdb.arch/s390-stackless.exp: New.
6 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8 * gdb.dlang/circular.c: New file.
9 * gdb.dlang/circular.exp: New file.
11 2016-02-26 Yao Qi <yao.qi@linaro.org>
13 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
17 2016-02-26 Yao Qi <yao.qi@linaro.org>
19 * gdb.reverse/aarch64.c: Rename to ...
20 * gdb.reverse/insn-reverse.c: ... it.
21 * gdb.reverse/aarch64.exp: Rename to ...
22 * gdb.reverse/insn-reverse.exp: ... it.
24 2016-02-26 Yao Qi <yao.qi@linaro.org>
26 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
27 (testcase_ftype): New.
28 (testcases): New array.
30 (main): Call each element in testcases.
31 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
33 Do the tests in a loop.
35 2016-02-25 Yao Qi <yao.qi@linaro.org>
37 * gdb.base/branches.c: Remove.
39 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
42 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
44 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
46 * gdb.trace/ftrace.exp: Remove unnecessary target check.
48 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
50 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
51 change x86_64 call_insn to 'callq'.
53 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
55 * gdb.trace/tfile-avx.c: Move to...
56 * gdb.trace/tracefile-pseudo-reg.c: Here.
57 * gdb.trace/tfile-avx.exp: Move to...
58 * gdb.trace/tracefile-pseudo-reg.exp: Here.
60 2016-02-24 Gary Benson <gbenson@redhat.com>
62 * gdb.base/attach-pie-noexec.exp: Do not expect an error
65 2016-02-23 Doug Evans <dje@google.com>
67 * gdb.base/skip.c (test_skip): New function.
68 (end_test_skip_file_and_function): New function.
69 (test_skip_file_and_function): New function.
70 * gdb.base/skip1.c (test_skip): New function.
71 (skip1_test_skip_file_and_function): New function.
72 * gdb.base/skip.exp: Add tests for new skip options.
73 * gdb.base/skip-solib.exp: Update expected output.
74 * gdb.perf/skip-command.cc: New file.
75 * gdb.perf/skip-command.exp: New file.
76 * gdb.perf/skip-command.py: New file.
78 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
80 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
81 info registers pattern.
83 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
85 * lib/future.exp: Add D support.
86 (gdb_find_gdc): New proc.
87 (gdb_default_target_compile): Add D support.
89 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
91 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
93 (trace_speed_test): Determine the iteration count for a time
94 between 15..30 seconds.
96 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
98 * gdb.arch/i386-mpx-sigsegv.c: New file.
99 * gdb.arch/i386-mpx-sigsegv.exp: New file.
100 * gdb.arch/i386-mpx-simple_segv.c: New file.
101 * gdb.arch/i386-mpx-simple_segv.exp: New file.
103 2016-02-18 Yao Qi <yao.qi@linaro.org>
105 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
106 Don't call setup_kfail.
108 2016-02-18 Yao Qi <yao.qi@linaro.org>
110 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
111 Set "set breakpoint condition-evaluation" per $cond_bp_target.
113 2016-02-16 Doug Evans <dje@google.com>
115 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
116 * gdb.base/skip1.c: Ditto.
117 * gdb.base/skip.exp: Whitespace cleanup.
119 2016-02-16 Don Breazeal <donb@codesourcery.com>
122 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
123 Remove kfail for PR remote/19496.
125 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
127 * lib/gdb.exp (standard_temp_file): Return a path specific to
128 the runtest invocation.
130 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
132 * gdb.trace/save-trace.exp: Change relative path to be in the
133 standard output directory.
135 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
137 * gdb.arch/i386-prologue.c: Add missing prototypes.
139 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
141 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
142 * gdb.arch/i386-prologue.exp: Likewise.
143 * gdb.arch/i386-size.exp: Likewise.
145 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
147 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
148 define object file path.
149 * gdb.btrace/gcore.exp: Use standard_output_file to define core
151 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
152 standard_output_file to define binfile.
154 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
156 Fix compatibility with recent gfortran-5.3.1.
157 * gdb.fortran/vla-history.exp (print vla1 allocated)
158 (print vla2 allocated, print $2, print $3): Remove
159 (print $4): Rename to ...
160 (print $2): ... here.
161 (print $9): Rename to ...
162 (print $5): ... here.
163 (print $10): Rename to ...
164 (print $6): ... here.
165 * gdb.fortran/vla.f90: Add pvla initialization.
167 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
169 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
171 * gdb.fortran/vla-value-sub.exp: Likewise.
173 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
175 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
177 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
179 * i386-biarch-core.exp: Define corefile using
180 standard_output_file.
182 2016-02-12 Yao Qi <yao.qi@linaro.org>
184 * gdb.arch/arm-single-step-kernel-helper.c: New.
185 * gdb.arch/arm-single-step-kernel-helper.exp: New.
187 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
189 * gdb.btrace/tailcall-only.exp: New.
190 * gdb.btrace/tailcall-only.c: New.
191 * gdb.btrace/x86_64-tailcall-only.S: New.
192 * gdb.btrace/i686-tailcall-only.S: New.
194 2016-02-11 Pedro Alves <palves@redhat.com>
196 * README (Parallel testing): Add missing double quotes.
198 2016-02-11 Pedro Alves <palves@redhat.com>
200 * README (Parallel testing): New section.
201 (GDB_PARALLEL): Rewrite.
202 (FORCE_PARALLEL): Document.
204 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
206 * gdb.trace/tfile-avx.c: New test.
207 * gdb.trace/tfile-avx.exp: New test.
209 2016-02-09 Keith Seitz <keiths@redhat.com>
212 * gdb.base/infcall-exec.c: New file.
213 * gdb.base/infcall-exec2.c: New file.
214 * gdb.base/infcall-exec.exp: New file.
216 2016-02-09 Keith Seitz <keiths@redhat.com>
218 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
219 (toplevel): Call test_bkpt_address.
221 2016-02-09 Keith Seitz <keiths@redhat.com>
224 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
225 (toplevel): Call test_bkpt_address.
227 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
229 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
231 * configure: Regenerate.
233 2016-02-09 Pedro Alves <palves@redhat.com>
236 * gdb.base/execl-update-breakpoints.c (some_function): New
239 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
240 Tighten expected GDB output.
242 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
244 * Makefile.in (ALL_SUBDIRS): Remove.
245 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
246 (distclean maintainer-clean realclean): Likewise.
247 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
248 * configure: Regenerate.
249 * gdb.ada/Makefile.in: Delete.
250 * gdb.arch/Makefile.in: Likewise.
251 * gdb.asm/Makefile.in: Likewise.
252 * gdb.base/Makefile.in: Likewise.
253 * gdb.btrace/Makefile.in: Likewise.
254 * gdb.cell/Makefile.in: Likewise.
255 * gdb.compile/Makefile.in: Likewise.
256 * gdb.cp/Makefile.in: Likewise.
257 * gdb.disasm/Makefile.in: Likewise.
258 * gdb.dlang/Makefile.in: Likewise.
259 * gdb.dwarf2/Makefile.in: Likewise.
260 * gdb.fortran/Makefile.in: Likewise.
261 * gdb.gdb/Makefile.in: Likewise.
262 * gdb.go/Makefile.in: Likewise.
263 * gdb.guile/Makefile.in: Likewise.
264 * gdb.java/Makefile.in: Likewise.
265 * gdb.linespec/Makefile.in: Likewise.
266 * gdb.mi/Makefile.in: Likewise.
267 * gdb.modula2/Makefile.in: Likewise.
268 * gdb.multi/Makefile.in: Likewise.
269 * gdb.objc/Makefile.in: Likewise.
270 * gdb.opencl/Makefile.in: Likewise.
271 * gdb.opt/Makefile.in: Likewise.
272 * gdb.pascal/Makefile.in: Likewise.
273 * gdb.perf/Makefile.in: Likewise.
274 * gdb.python/Makefile.in: Likewise.
275 * gdb.reverse/Makefile.in: Likewise.
276 * gdb.server/Makefile.in: Likewise.
277 * gdb.stabs/Makefile.in: Likewise.
278 * gdb.threads/Makefile.in: Likewise.
279 * gdb.trace/Makefile.in: Likewise.
280 * gdb.xml/Makefile.in: Likewise.
281 * lib/gdb.exp (make_gdb_parallel_path): Add check for
283 (standard_output_file): Remove check for GDB_PARALLEL, always
284 return path in outputs/$subdir/$testname.
286 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
288 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
289 (site.exp): Assign abs_srcdir to tcl's srcdir.
291 2016-02-04 Yao Qi <yao.qi@linaro.org>
293 * gdb.base/foll-exec-mode.c: Include limits.h.
294 (main): Add parameters argc and argv. Get directory from
296 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
298 * gdb.base/foll-exec.c: Include limits.h.
299 (main): Add parameters argc and argv.
300 Get directory from argv[0].
301 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
302 Adjust tests on the number of lines as source code changed.
303 * gdb.base/foll-vfork-exit.c: Include limits.h.
304 (main): Add one line of statement before vfork.
305 * gdb.base/foll-vfork.c: Include limits.h and string.h.
306 (main): Add parameters argc and argv. Get directory from
308 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
309 (setup_gdb): Set tbreak to skip some source lines.
310 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
311 (main): Add parameters argc and argv. Get directory from
313 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
315 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
316 (main): Add parameters argc and argv. Get directory from
318 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
321 2016-02-01 Doug Evans <dje@google.com>
323 * gdb.base/skip.exp: Clean up multiple references to same test name.
325 2016-02-01 Pedro Alves <palves@redhat.com>
328 * gdb.threads/forking-threads-plus-breakpoint.exp
329 (displaced_stepping_supported): New global.
330 (probe_displaced_stepping_support): New procedure.
331 (do_test): Add 'displaced' parameter, and use it.
332 (top level): Check for displaced stepping support. Add displaced
333 stepping on/off testing axis.
335 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
337 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
338 pointer. Don't perform further tests on the unassociated pointer
339 if the first test fails.
341 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
343 * gdb.base/max-value-size.c: New file.
344 * gdb.base/max-value-size.exp: New file.
345 * gdb.base/huge.exp: Disable max-value-size for this test.
347 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
349 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
351 2016-01-28 Yao Qi <yao.qi@linaro.org>
353 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
355 2016-01-25 Pedro Alves <palves@redhat.com>
358 * gdb.base/fork-running-state.c: New file.
359 * gdb.base/fork-running-state.exp: New file.
361 2016-01-25 Pedro Alves <palves@redhat.com>
364 * gdb.base/catch-fork-kill.c: New file.
365 * gdb.base/catch-fork-kill.exp: New file.
367 2016-01-25 Pedro Alves <palves@redhat.com>
369 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
370 Delete, moved to lib/gdb.exp.
371 * gdb.threads/forking-threads-plus-breakpoint.exp
372 (foreach_with_prefix): Likewise.
373 * gdb.threads/process-dies-while-handling-bp.exp
374 (foreach_with_prefix): Likewise.
375 * lib/gdb.exp (foreach_with_prefix): New procedure.
377 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
379 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
380 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
382 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
384 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
387 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
388 Pedro Alves <palves@redhat.com>
390 Fix testsuite compatibility with Guile.
391 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
394 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
396 Fix testsuite compatibility with Guile.
397 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
398 (thread 1): New test for backtrace through signal handler.
400 2016-01-22 Yao Qi <yao.qi@linaro.org>
403 * gdb.base/multi-forks.c: Include
404 ../lib/unbuffer_output.c
405 (main): Call gdb_unbuffer_output.
407 2016-01-21 Doug Evans <dje@google.com>
409 * lib/ada.exp (gdb_compile_ada): Fix typo.
411 2016-01-21 Joel Brobecker <brobecker@adacore.com>
413 * gdb.base/break-fun-addr.exp: New file.
414 * gdb.base/break-fun-addr1.c: New file.
415 * gdb.base/break-fun-addr2.c: New file.
417 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
419 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
420 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
423 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
425 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
426 when GDB can not set the vector return value. Add more comments
429 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
431 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
434 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
436 * Makefile.in (DO_RUNTEST): Add --status and update usages.
438 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
440 * Makefile.in (check-single): Pass --status to runtest.
441 (check/%.exp): Likewise.
443 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
445 * Makefile.in (check-parallel): Propagate return code from make
448 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
450 * gdb.trace/ftrace.exp: Fix expected message on continue.
451 * gdb.trace/pending.exp: Fix expected message on continue.
452 * gdb.trace/trace-break.exp: Fix expected message on continue.
454 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
456 * lib/gdb.exp (gdb_test): Remove unused global references.
458 2016-01-18 Pedro Alves <palves@redhat.com>
460 * gdb.base/async-shell.exp: Adjust expected output.
461 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
462 * gdb.base/siginfo-thread.exp: Adjust expected output.
463 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
464 * gdb.java/jnpe.exp: Adjust expected output.
465 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
466 * gdb.threads/continue-pending-status.exp: Adjust expected output.
467 * gdb.threads/leader-exit.exp: Adjust expected output.
468 * gdb.threads/manythreads.exp: Adjust expected output.
469 * gdb.threads/pthreads.exp: Adjust expected output.
470 * gdb.threads/schedlock.exp: Adjust expected output.
471 * gdb.threads/siginfo-threads.exp: Adjust expected output.
472 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
474 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
476 * gdb.threads/sigthread.exp: Adjust expected output.
477 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
479 2016-01-18 Yao Qi <yao.qi@linaro.org>
481 * gdb.guile/scm-section-script.c: Replace @progbits with
483 * gdb.python/py-section-script.c: Likewise.
485 2016-01-15 Pedro Alves <palves@redhat.com>
487 * gdb.multi/tids.exp: Test star wildcard ranges.
489 2016-01-15 Pedro Alves <palves@redhat.com>
491 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
492 command from "thread apply" invocation.
493 (thr_apply_info_thr_invalid): Default the expected output to the
495 (top level): Add tests that use convenience variables. Add tests
496 for "thread apply" with a valid TID list, but missing the command.
498 2016-01-13 Pedro Alves <palves@redhat.com>
500 * gdb.base/default.exp: Expect $_gthread as well.
501 * gdb.multi/tids.exp: Test $_gthread.
502 * gdb.threads/thread-specific.exp: Test $_gthread.
504 2016-01-13 Pedro Alves <palves@redhat.com>
506 * gdb.multi/tids.exp: Test "info threads -gid".
508 2016-01-13 Pedro Alves <palves@redhat.com>
510 * gdb.multi/tids.exp: Test InferiorThread.global_num and
512 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
514 2016-01-07 Pedro Alves <palves@redhat.com>
516 * gdb.base/break.exp: Adjust to output changes.
517 * gdb.base/hbreak2.exp: Likewise.
518 * gdb.base/sepdebug.exp: Likewise.
519 * gdb.base/watch_thread_num.exp: Likewise.
520 * gdb.linespec/keywords.exp: Likewise.
521 * gdb.multi/info-threads.exp: Likewise.
522 * gdb.threads/thread-find.exp: Likewise.
523 * gdb.multi/tids.c: New file.
524 * gdb.multi/tids.exp: New file.
526 2016-01-13 Pedro Alves <palves@redhat.com>
528 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
530 2016-01-13 Pedro Alves <palves@redhat.com>
532 * gdb.base/default.exp: Expect $_inferior as well.
533 * gdb.multi/base.exp: Test $_inferior.
535 2016-01-13 Pedro Alves <palves@redhat.com>
538 * gdb.base/catch-signal-siginfo-cond.c: New file.
539 * gdb.base/catch-signal-siginfo-cond.exp: New file.
541 2016-01-12 Josh Stone <jistone@redhat.com>
542 Philippe Waroquiers <philippe.waroquiers@skynet.be>
544 * gdb.base/catch-syscall.c (do_execve): New variable.
545 (main): Conditionally trigger an execve.
546 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
547 (test_catch_syscall_execve): New, check entry/return across execve.
548 (do_syscall_tests): Call test_catch_syscall_execve.
550 2016-01-12 Pedro Alves <palves@redhat.com>
552 * gdb.base/random-signal.exp (do_test): New procedure, with body
553 of testcase moved in.
555 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
556 Pedro Alves <palves@redhat.com>
558 * gdb.base/funcargs.exp (finish from indirectly called function):
559 Reintroduce the case for 'First'.
561 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
562 Pedro Alves <palves@redhat.com>
564 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
565 (tcatch_vfork_then_child_follow_exec)
566 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
569 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
571 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
572 and repeats to unlimited.
573 * gdb.python/py-value.exp: Likewise.
574 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
575 and repeats to unlimited.
577 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
579 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
580 and reordering the functions.
581 * gdb.multi/hangout.c: Likewise.
582 * gdb.multi/hello.c: Likewise.
584 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
586 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
588 (SingleStatisticTestResult.report): Use dict.keys instead of
591 2016-01-06 Pedro Alves <palves@redhat.com>
593 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
595 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
597 * gdb.btrace/dlopen.exp: New.
598 * gdb.btrace/dlopen.c: New.
599 * gdb.btrace/dlopen-dso.c: New.
601 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
603 * lib/gdb.exp (gdb_test): Update comments to clarify that the
604 PATTERN argument is optional.
606 2015-12-24 Joel Brobecker <brobecker@adacore.com>
608 * lib/ada.exp (target_compile_ada_from_dir): New function.
609 (gdb_compile_ada): Reimplement avoiding the use of project files.
610 * gdb.ada/gnat_ada.gpr: Delete.
611 * gdb.ada/cond_lang.exp: Adjust test to make path before
613 * gdb.ada/small_reg_param.exp: Likewise.
615 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
617 * gdb.base/foll-vork.exp: Remove HP-UX special case.
619 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
621 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
624 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
626 * gdb.base/break.exp: Remove dead code.
627 * gdb.base/sepdebug.exp: Likewise.
629 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
631 * gdb.asm/asm-source.exp: Remove HP-UX references.
632 * gdb.base/annota1.exp: Likewise.
633 * gdb.base/annota3.exp: Likewise.
634 * gdb.base/attach.exp: Likewise.
635 * gdb.base/bigcore.exp: Likewise.
636 * gdb.base/break.exp: Likewise.
637 * gdb.base/call-ar-st.exp: Likewise.
638 * gdb.base/callfuncs.exp: Likewise.
639 * gdb.base/catch-fork-static.exp: Likewise.
640 * gdb.base/display.exp: Likewise.
641 * gdb.base/foll-exec-mode.exp: Likewise.
642 * gdb.base/foll-exec.exp: Likewise.
643 * gdb.base/foll-fork.exp: Likewise.
644 * gdb.base/foll-vfork.exp: Likewise.
645 * gdb.base/funcargs.exp: Likewise.
646 * gdb.base/hbreak2.exp: Likewise.
647 * gdb.base/inferior-died.exp: Likewise.
648 * gdb.base/interrupt.exp: Likewise.
649 * gdb.base/multi-forks.exp: Likewise.
650 * gdb.base/nodebug.exp: Likewise.
651 * gdb.base/sepdebug.exp: Likewise.
652 * gdb.base/solib1.c: Likewise.
653 * gdb.base/step-test.exp: Likewise.
654 * gdb.mi/non-stop.c: Likewise.
655 * gdb.mi/pthreads.c: Likewise.
656 * gdb.multi/bkpt-multi-exec.ex: Likewise.
657 * gdb.threads/pthreads.c: Likewise.
658 * gdb.threads/staticthreads.exp: Likewise.
659 * lib/future.exp: Likewise.
660 * lib/gdb.exp: Likewise.
661 * gdb.base/so-indr-cl.c: Remove.
662 * gdb.base/so-indr-cl.exp: Likewise.
663 * gdb.base/solib.c: Likewise.
664 * gdb.base/solib.exp: Likewise.
665 * gdb.base/solib2.c: Likewise.
667 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
669 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
670 * gdb.base/call-ar-st.exp: Likewise.
671 * gdb.base/callfuncs.exp: Likewise.
672 * gdb.base/condbreak.exp: Likewise.
673 * gdb.base/constvars.exp: Likewise.
674 * gdb.base/hbreak2.exp: Likewise.
675 * gdb.base/langs.exp: Likewise.
676 * gdb.base/list.exp: Likewise.
677 * gdb.base/long_long.exp: Likewise.
678 * gdb.base/ptype.exp: Likewise.
679 * gdb.base/scope.exp: Likewise.
680 * gdb.base/signals.exp: Likewise.
681 * gdb.base/so-impl-ld.exp: Likewise.
682 * gdb.base/varargs.exp: Likewise.
683 * gdb.base/volatile.exp: Likewise.
684 * gdb.base/whatis.exp: Likewise.
685 * gdb.cp/cplusfuncs.exp: Likewise.
686 * gdb.cp/inherit.exp: Likewise.
687 * gdb.cp/local.exp: Likewise.
688 * gdb.cp/member-ptr.exp: Likewise.
689 * gdb.cp/method.exp: Likewise.
690 * gdb.cp/overload.exp: Likewise.
691 * gdb.cp/templates.exp: Likewise.
692 * gdb.stabs/weird.exp: Likewise.
693 * lib/compiler.c: Likewise.
694 * lib/compiler.cc: Likewise.
695 * lib/cp-support.exp: Likewise.
696 * lib/gdb.exp: Likewise.
698 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
700 * configure.ac: Remove HP-UX case.
701 * configure: Regenerate.
703 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
705 * lib/gdb.exp (gdb_compile): Add function doc.
707 2015-12-17 Pedro Alves <palves@redhat.com>
710 * gdb.multi/info-threads.exp: New file.
712 2015-12-15 Yao Qi <yao.qi@linaro.org>
714 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
717 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
719 * gdb.base/history-duplicates.exp: Skip if no readline support.
721 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
723 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
725 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
727 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
729 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
731 * gdb.base/completion.exp: Skip tests that interrupt GDB with
732 ctrl-C if nointerrupts target property is set.
733 * gdb.base/double-prompt-target-event-error.exp: Likewise.
734 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
735 * gdb.base/paginate-bg-execution.exp: Likewise.
736 * gdb.base/paginate-execution-startup.exp: Likewise.
737 * gdb.base/random-signal.exp: Likewise.
738 * gdb.base/range-stepping.exp: Likewise.
739 * gdb.cp/annota2.exp: Likewise.
740 * gdb.cp/annota3.exp: Likewise.
741 * gdb.gdb/selftest.exp: Likewise.
742 * gdb.threads/continue-pending-status.exp: Likewise.
743 * gdb.threads/leader-exit.exp: Likewise.
744 * gdb.threads/manythreads.exp: Likewise.
745 * gdb.threads/pthreads.exp: Likewise.
746 * gdb.threads/schedlock.exp: Likewise.
747 * gdb.threads/sigthread.exp: Likewise.
749 2015-12-11 Don Breazeal <donb@codesourcery.com>
751 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
753 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
754 * gdb.base/foll-exec.exp (main): Enable for target remote.
755 * gdb.base/foll-fork.exp (main): Likewise.
756 * gdb.base/foll-vfork.exp (main): Likewise.
757 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
758 (proc continue_to_exit_bp_loc): Use clean_restart.
759 * gdb.base/pie-execl.exp (main): Disable for target remote.
760 * gdb.base/watch-vfork.exp (main): Enable for target remote.
761 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
762 * gdb.threads/execl.exp (main): Likewise.
763 * gdb.threads/fork-child-threads.exp (main): Likewise.
764 * gdb.threads/fork-plus-threads.exp (main): Disable for target
766 * gdb.threads/fork-thread-pending.exp (main): Enable for target
768 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
769 pid.tid style ptids, instead of just tid.
770 * gdb.threads/thread-execl.exp (main): Enable for target remote.
771 * gdb.threads/watchpoint-fork.exp (main): Likewise.
772 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
773 ptids, instead of just tid.
775 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
777 * gdb.base/list.exp (test_list_forward): Add end of file error
779 (test_repeat_list_command): Add end of file error test.
780 (test_list_backwards): Add beginning of file error test.
782 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
784 * gdb.base/list.exp (test_list_invalid_args): New function,
787 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
789 * gdb.base/list.exp (test_list): Make test names unique.
791 2015-12-11 Yao Qi <yao.qi@linaro.org>
793 * gdb.base/coremaker2.c: Remove.
795 2015-12-10 Pedro Alves <palves@redhat.com>
797 * gdb.multi/base.exp: Remove stale "spaces" references.
799 2015-12-10 Pedro Alves <palves@redhat.com>
801 * gdb.multi/base.exp: Don't use nowarnings.
802 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
803 * gdb.multi/hangout.c: Include stdio.h.
804 * gdb.multi/hello.c: Include stdlib.h.
805 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
806 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
807 * gdb.multi/multi-arch.exp: Don't use nowarnings.
809 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
811 * gdb.dwarf2/dw2-ranges-base.c: New file.
812 * gdb.dwarf2/dw2-ranges-base.exp: New file.
813 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
814 support additional line table, and debug ranges generation.
815 (Dwarf::ranges): New function, generate .debug_ranges.
816 (Dwarf::lines): Support generating simple line table programs.
817 (Dwarf::assemble): Initialise new namespace variables.
819 2015-12-09 Kevin Buettner <kevinb@redhat.com>
821 * gdb.base/async.exp (proc test_background): Add case for
822 asynchronous execution not supported.
824 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
826 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
827 format and change test names to make them unique.
829 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
830 Pedro Alves <pedro@redhat.com>
833 Add checking of floatformats setup on x86_64 hosts.
834 * gdb.arch/i386-float.S (main): Load bigval and smallval.
835 (smallval, bigval): New labels/constants.
836 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
837 float" after loading bigval and smallval.
839 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
841 * gdb.ada/fun_overload_menu.exp: New testcase.
842 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
844 2015-12-04 Josh Stone <jistone@redhat.com>
846 * gdb.base/catch-fork-static.exp: New.
848 2015-12-03 Yao Qi <yao.qi@linaro.org>
850 * gdb.base/sizeof.c: Don't include stdio.h and
851 ../lib/unbuffer_output.c.
852 (main): New variable 'size' and 'value'. Remove printf and
853 gdb_unbuffer_output. Assign return value to size and value.
854 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
856 (check_sizeof): Check the result by printing variable 'size'.
857 (check_valueof): Check the result by printing variable 'value'.
859 2015-12-01 Yao Qi <yao.qi@linaro.org>
861 * gdb.base/disp-step-syscall.exp: Define syscall instruction
862 for aarch64*-*-linux* target.
864 2015-11-30 Pedro Alves <palves@redhat.com>
866 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
868 2015-11-30 Pedro Alves <palves@redhat.com>
870 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
871 Handle non-stop mode vCont replies.
873 2015-11-30 Pedro Alves <palves@redhat.com>
875 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
876 prepare_for_testing. Start gdb with "set non-stop on" appended to
877 GDBFLAGS. Lax expected stop output.
879 2015-11-27 Yao Qi <yao.qi@linaro.org>
881 * gdb.arch/arm-neon.exp: New.
882 * gdb.arch/arm-neon.c: New.
884 2015-11-27 Yao Qi <yao.qi@linaro.org>
886 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
888 2015-11-27 Yao Qi <yao.qi@linaro.org>
890 * gdb.cp/annota2.exp: Allow multiple occurrences of the
891 frames-invalid annotation.
893 2015-11-27 Yao Qi <yao.qi@linaro.org>
895 * gdb.cp/annota2.exp: Use ${frames_invalid}.
897 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
899 * gdb.threads/names.exp: New file.
900 * gdb.threads/names.c: New file.
901 * README: Mention gdb,no_thread_names.
903 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
906 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
909 2015-11-24 Pedro Alves <palves@redhat.com>
912 * gdb.base/display.exp: Expect displays to be sorted in ascending
913 order. Use multi_line.
914 * gdb.base/solib-display.exp: Likewise.
916 2015-11-24 Pedro Alves <palves@redhat.com>
919 * gdb.base/display.exp: Expect displays to be sorted in ascending
920 order. Use multi_line.
921 * gdb.base/solib-display.exp: Likewise.
923 2015-11-24 Pedro Alves <palves@redhat.com>
926 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
927 threads in ascending order.
928 * gdb.base/foll-fork.exp: Likewise.
929 * gdb.base/foll-vfork.exp: Likewise.
930 * gdb.base/multi-forks.exp: Likewise.
931 * gdb.mi/mi-nonstop.exp: Likewise.
932 * gdb.mi/mi-nsintrall.exp: Likewise.
933 * gdb.multi/base.exp: Likewise.
934 * gdb.multi/multi-arch.exp: Likewise.
935 * gdb.python/py-inferior.exp: Likewise.
936 * gdb.threads/break-while-running.exp: Likewise.
937 * gdb.threads/execl.exp: Likewise.
938 * gdb.threads/gcore-thread.exp: Likewise.
939 * gdb.threads/info-threads-cur-sal.exp: Likewise.
940 * gdb.threads/kill.exp: Likewise.
941 * gdb.threads/linux-dp.exp: Likewise.
942 * gdb.threads/multiple-step-overs.exp: Likewise.
943 * gdb.threads/next-bp-other-thread.exp: Likewise.
944 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
945 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
946 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
947 * gdb.threads/thread-find.exp: Likewise.
948 * gdb.threads/tls.exp: Likewise.
949 * lib/mi-support.exp (mi_reverse_list): Delete.
950 (mi_check_thread_states): No longer reverse list.
952 2015-11-24 Pedro Alves <palves@redhat.com>
954 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
957 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
959 * gdb.trace/actions.c: Include trace-common.h.
960 (main): Add a location for a fast tracepoint.
961 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
962 the normal tracepoints.
963 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
965 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
967 * save-trace.exp: Factor out code to these...
968 (gdb_save_tracepoints): New.
969 (gdb_load_tracepoints): New.
970 (do_save_load_test): New.
972 2015-11-23 Kevin Buettner <kevinb@redhat.com>
974 * gdb.base/asmlabel.exp: New test.
975 * gdb.base/asmlabel.c: New test case.
977 2015-11-23 Joel Brobecker <brobecker@adacore.com>
979 * gdb.base/wrong_frame_bt_full-main.c: New file.
980 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
981 * gdb.base/wrong_frame_bt_full.exp: New file.
983 2015-11-23 Joel Brobecker <brobecker@adacore.com>
985 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
987 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
989 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
990 pstate register when comparing registers values in
991 sparc64-*-linux-gnu targets to avoid spurious differences.
993 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
995 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
997 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
999 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1000 as type argument to gdb_compile.
1001 * gdb.base/nested-subp2.exp: Likewise.
1002 * gdb.base/nested-subp3.exp: Likewise.
1004 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1006 * lib/dwarf.exp (_note): Fix left shift of negative value.
1007 * gdb.trace/trace-condition.exp: Likewise.
1009 2015-11-13 Yao Qi <yao.qi@linaro.org>
1011 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1012 comments about d10v.
1013 (test_scalar_returns): Likewise.
1014 * gdb.base/d10v.ld: Remove.
1015 * gdb.base/overlays.exp: Remove the target triplet checking for
1017 * gdb.base/structs.exp (test_struct_returns): Remove the
1018 comments about d10v.
1019 (test_struct_calls): Likewise.
1021 2015-11-13 Yao Qi <yao.qi@linaro.org>
1023 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1024 * gdb.base/gnu_vector.c: Don't include stdio.h.
1025 (main): Don't print res and call add_some_intvecs.
1027 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1029 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1032 (func4): Use FAST_TRACEPOINT_LABEL.
1033 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1036 (thread_function): Use FAST_TRACEPOINT_LABEL.
1037 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1039 (marker): Use FAST_TRACEPOINT_LABEL.
1040 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1041 (pendfunc1): Remove.
1042 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1043 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1045 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1046 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1049 (marker): Use FAST_TRACEPOINT_LABEL.
1050 * gdb.trace/trace-common.h: New header.
1051 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1054 (marker): Use FAST_TRACEPOINT_LABEL.
1055 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1057 (thread_function): Use FAST_TRACEPOINT_LABEL.
1059 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1061 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1063 * gdb.trace/change-loc.exp: Use global pcreg definition.
1064 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1065 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1067 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1068 * gdb.trace/pending.exp: Likewise.
1069 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1070 * gdb.trace/trace-break.exp: Likewise.
1071 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1073 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1074 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1076 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1078 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1080 * gdb.ada/fin_fun_out: New testcase.
1082 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1084 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1085 value associated with DW_AT_byte_size.
1086 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1087 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1090 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1092 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1093 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1095 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1096 gdb.dwarf2/dw2-canonicalize-type.exp,
1097 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1098 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1099 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1100 provided by gdb_target_symbol_prefix_flags_asm.
1101 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1102 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1103 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1104 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1105 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1106 macros where needed). Use this macro for symbols which require
1107 the prefix provided by SYMBOL_PREFIX.
1109 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1111 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1113 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1114 representing expressions, of more than one list element.
1115 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1116 to prepend linker symbol prefix to f.
1117 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1118 table_1 and table_2.
1119 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1120 Likewise, for f and g.
1121 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1123 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1125 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1126 table_1_ptr and table_2_ptr.
1128 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1129 Joel Brobecker <brobecker@adacore.com>
1131 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1133 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1135 * gdb.reverse/s390-mvcle.c: New test.
1136 * gdb.reverse/s390-mvcle.exp: New file.
1137 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1139 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1141 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1143 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1145 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1147 * gdb.reverse/getresuid-reverse.exp: Likewise.
1148 * gdb.reverse/pipe-reverse.exp: Likewise.
1149 * gdb.reverse/readv-reverse.exp: Likewise.
1150 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1151 * gdb.reverse/time-reverse.exp: Likewise.
1152 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1154 2015-10-30 Yao Qi <yao.qi@linaro.org>
1156 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1157 (empty_cycle): Remove.
1158 (main): Don't call empty_cycle. Don't use watch_count_done.
1159 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1160 empty_cycle. Rewrite the code counting HW watchpoints.
1162 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1164 * gdb.reverse/fstatat-reverse.c: New test.
1165 * gdb.reverse/fstatat-reverse.exp: New file.
1166 * gdb.reverse/getresuid-reverse.c: New test.
1167 * gdb.reverse/getresuid-reverse.exp: New file.
1168 * gdb.reverse/pipe-reverse.c: New test.
1169 * gdb.reverse/pipe-reverse.exp: New file.
1170 * gdb.reverse/readv-reverse.c: New test.
1171 * gdb.reverse/readv-reverse.exp: New file.
1172 * gdb.reverse/recvmsg-reverse.c: New test.
1173 * gdb.reverse/recvmsg-reverse.exp: New file.
1174 * gdb.reverse/time-reverse.c: New test.
1175 * gdb.reverse/time-reverse.exp: New file.
1176 * gdb.reverse/waitpid-reverse.c: New test.
1177 * gdb.reverse/waitpid-reverse.exp: New file.
1179 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1181 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1183 2015-10-26 Doug Evans <dje@google.com>
1186 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1187 * gdb.dwarf2/bad-regnum.c: New file.
1188 * gdb.dwarf2/bad-regnum.exp: New file.
1190 2015-10-26 Doug Evans <dje@google.com>
1193 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1196 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1198 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1199 for a change by "Mention language in compile error message".
1201 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1204 * gdb.python/py-type.c (C::a_method): New.
1205 (C::a_const_method): New.
1206 (C::a_static_method): New.
1208 * gdb.python/py-type.exp (test_fields): Test getting fields
1209 from function and method.
1211 2015-10-21 Keven Boell <keven.boell@intel.com>
1213 * gdb.fortran/vla-alloc-assoc.exp: New file.
1214 * gdb.fortran/vla-datatypes.exp: New file.
1215 * gdb.fortran/vla-datatypes.f90: New file.
1216 * gdb.fortran/vla-history.exp: New file.
1217 * gdb.fortran/vla-ptype-sub.exp: New file.
1218 * gdb.fortran/vla-ptype.exp: New file.
1219 * gdb.fortran/vla-sizeof.exp: New file.
1220 * gdb.fortran/vla-sub.f90: New file.
1221 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1222 * gdb.fortran/vla-value-sub-finish.exp: New file.
1223 * gdb.fortran/vla-value-sub.exp: New file.
1224 * gdb.fortran/vla-value.exp: New file.
1225 * gdb.fortran/vla-ptr-info.exp: New file.
1226 * gdb.mi/mi-vla-fortran.exp: New file.
1227 * gdb.mi/vla.f90: New file.
1229 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1231 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1232 of hardwired timeout value.
1234 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1235 Pedro Alves <palves@redhat.com>
1237 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1238 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1240 2015-10-19 Josh Stone <jistone@redhat.com>
1242 * gdb.base/catch-syscall.c: Include <sched.h>.
1243 (unknown_syscall): New variable.
1244 (main): Trigger a vfork and an unknown syscall.
1245 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1246 (unknown_syscall_number): Likewise.
1247 (check_call_to_syscall): Accept an optional syscall pattern.
1248 (check_return_from_syscall): Likewise.
1249 (check_continue): Likewise.
1250 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1251 (test_catch_syscall_skipping_return): New test toggling off 'catch
1252 syscall' to step over the syscall return, then toggling back on.
1253 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1254 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1255 (do_syscall_tests): Call test_catch_syscall_without_args and
1256 test_catch_syscall_mid_vfork.
1257 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1258 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1260 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1262 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1263 print g_vE): Add new pass patterns.
1264 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1265 print various symbol names for vptr fields.
1267 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1269 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1272 2015-10-12 Yao Qi <yao.qi@linaro.org>
1274 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1276 2015-10-12 Yao Qi <yao.qi@linaro.org>
1278 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1279 is aarch64*-*-linux*.
1281 2015-10-12 Yao Qi <yao.qi@linaro.org>
1283 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1284 (can_relocate_bcond_true): ... it.
1285 (can_relocate_bcond_false): New function.
1287 (can_relocate_bl): Likewise.
1288 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1291 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1293 * gdb.base/nested-addr.c: New file.
1294 * gdb.base/nested-addr.exp: New testcase.
1296 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1298 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1299 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1300 its output. Ignore the output of "record goto begin" and instead
1301 check that GDB is replaying.
1303 2015-10-09 Pedro Alves <palves@redhat.com>
1305 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1306 (top level): Use it in the run with no args test.
1308 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1310 * gdb.dlang/properties.exp: New file.
1312 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1314 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1315 whether or not address 0x1000 is mapped on the target.
1317 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1319 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1322 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1324 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1325 instruction-history test.
1327 2015-09-28 Doug Evans <dje@google.com>
1329 * gdb.base/gcore.c (array_func): Add reference to static_array.
1331 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1333 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1336 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1338 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1339 short or char as base type.
1341 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1343 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1344 to allow any size enum.
1346 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1348 * gdb.ada/array_ptr_renaming.exp: New testcase.
1349 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1350 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1352 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1354 * gdb.trace/ftrace-lock.c: New file.
1355 * gdb.trace/ftrace-lock.exp: New file.
1357 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1359 * gdb.arch/insn-reloc.c: New file.
1360 * gdb.arch/ftrace-insn-reloc.exp: New file.
1362 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1364 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1366 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1367 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1368 * gdb.trace/range-stepping.c: Likewise.
1369 * gdb.trace/trace-break.c: Likewise.
1370 * gdb.trace/trace-mt.c (thread_function): Likewise.
1371 * gdb.trace/ftrace.c (marker): Likewise.
1372 * gdb.trace/trace-condition.c (marker): Likewise.
1373 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1374 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1377 2015-09-18 Doug Evans <xdje42@gmail.com>
1379 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1380 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1382 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1384 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1387 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1389 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1390 the pending breakpoint. Remove timeout override for "Run till
1391 MI pending breakpoint on pendfunc3 on thread 2" test.
1393 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1395 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1398 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1400 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1401 in breakpoint filename pattern.
1403 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1405 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1407 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1409 * gdb.linespec/explicit.exp: Check for readline support for
1410 tab-completion tests. Fix obvious typo.
1412 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1414 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1417 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1419 * gdb.btrace/non-stop.c: New.
1420 * gdb.btrace/non-stop.exp: New.
1422 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1423 Yao Qi <yao.qi@linaro.org>
1425 * gdb.trace/trace-condition.c: New file.
1426 * gdb.trace/trace-condition.exp: New file.
1428 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1430 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1431 for testing bytecode compilation.
1433 2015-09-16 Pedro Alves <palves@redhat.com>
1434 Sandra Loosemore <sandra@codesourcery.com>
1436 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1437 (SECONDS): Redefine.
1438 (main): Call pthread_kill and alarm early.
1439 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1441 (test): If the target can't hardware step and doesn't support
1442 displaced stepping, increase the timeout.
1444 2015-09-16 Pedro Alves <palves@redhat.com>
1446 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1447 (enable_debug): New procedures.
1448 (test): Use them. Bail out if waiting for threads fails.
1449 (top level): Bail out if a test fails.
1451 2015-09-16 Yao Qi <yao.qi@linaro.org>
1453 * gdb.asm/asm-source.exp: Set asm-arch for
1454 aarch64*-*-* target.
1455 * gdb.asm/aarch64.inc: New file.
1457 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1459 * gdb.ada/array_of_variable_length.exp: New testcase.
1460 * gdb.ada/array_of_variable_length/foo.adb: New file.
1461 * gdb.ada/array_of_variable_length/pck.adb: New file.
1462 * gdb.ada/array_of_variable_length/pck.ads: New file.
1464 2015-09-15 Doug Evans <dje@google.com>
1466 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1467 of function static local variable.
1469 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1471 * gdb.threads/tls-so_extern.exp: New test file.
1472 * gdb.threads/tls-so_extern.c: New test file.
1473 * gdb.threads/tls-so_extern_main.c: New test file.
1475 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1477 * gdb.opt/solib-intra-step-lib.c: New file.
1478 * gdb.opt/solib-intra-step-main.c: New file.
1479 * gdb.opt/solib-intra-step.exp: New file.
1481 2015-09-15 Pedro Alves <palves@redhat.com>
1483 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1484 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1486 2015-09-14 Pedro Alves <palves@redhat.com>
1488 * gdb.base/hook-stop-continue.c: Delete.
1489 * gdb.base/hook-stop-continue.exp: Delete.
1490 * gdb.base/hook-stop-frame.c: Delete.
1491 * gdb.base/hook-stop-frame.exp: Delete.
1492 * gdb.base/hook-stop.c: New file.
1493 * gdb.base/hook-stop.exp: New file.
1495 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1497 * gdb.ada/access_to_packed_array.exp: New testcase.
1498 * gdb.ada/access_to_packed_array/foo.adb: New file.
1499 * gdb.ada/access_to_packed_array/pack.adb: New file.
1500 * gdb.ada/access_to_packed_array/pack.ads: New file.
1502 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1504 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1507 2015-09-11 Don Breazeal <donb@codesourcery.com>
1509 * gdb.base/foll-exec.c: Add copyright header. Fix
1511 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1512 (do_exec_tests): Use clean_restart in place of zap_session,
1513 and for test initialization. Fix formatting issues. Use
1514 fail in place of perror.
1515 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1516 an expect statement to match an expression with output from
1517 the program under debug.
1518 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1519 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1520 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1521 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1522 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1524 2015-09-09 Doug Evans <dje@google.com>
1526 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1528 2015-09-09 Doug Evans <dje@google.com>
1530 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1532 2015-09-09 Doug Evans <dje@google.com>
1534 * gdb.base/savedregs.exp: Fix typo.
1536 2015-09-09 Pedro Alves <palves@redhat.com>
1538 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1540 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1542 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1543 command actually switches threads. Give up on remaining
1544 tests if target fails to stop at breakpoint.
1546 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1548 * gdb.ada/funcall_char.exp: New testcase.
1549 * gdb.ada/funcall_char/foo.adb: New file.
1551 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1553 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1554 expected outputs. Add two testcases for completing ambiguous
1556 * gdb.ada/complete/aux_pck.adb: New file.
1557 * gdb.ada/complete/aux_pck.ads: New file.
1558 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1559 Ambiguous_Func functions.
1560 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1561 * gdb.ada/complete/pck.adb: Likewise.
1563 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1565 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1566 failures to run the test program under GDB.
1568 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1570 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1573 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1575 * gdb.base/run-after-attach.exp: New test file.
1576 * gdb.base/run-after-attach.c: New test file.
1578 2015-08-26 Don Breazeal <donb@codesourcery.com>
1580 * gdb.base/foll-exec-2.c: New test program.
1581 * gdb.base/foll-exec-2.exp: New test.
1583 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1585 * gdb.base/nested-subp1.exp: New file.
1586 * gdb.base/nested-subp1.c: New file.
1587 * gdb.base/nested-subp2.exp: New file.
1588 * gdb.base/nested-subp2.c: New file.
1589 * gdb.base/nested-subp3.exp: New file.
1590 * gdb.base/nested-subp3.c: New file.
1592 2015-08-24 Pedro Alves <palves@redhat.com>
1594 * gdb.server/connect-without-multi-process.c: New file.
1595 * gdb.server/connect-without-multi-process.exp: New file.
1597 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1599 * gdb.opt/inline-markers.c: Make z int.
1601 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1603 * gdb.opt/inline-markers.c: Make z volatile.
1605 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1607 * gdb.opt/inline-bt.c: New volatile global z.
1608 * gdb.opt/inline-cmds.c: Likewise.
1609 * gdb.opt/inline-locals.c: Likewise.
1610 * gdb.opt/inline-markers.c: New extern global z.
1612 (inline_fn): Likewise.
1614 2015-08-24 Pedro Alves <palves@redhat.com>
1616 * config/m32r-stub.exp: Remove file.
1617 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1618 * gdb.base/call-rt-st.exp: Likewise.
1619 * gdb.base/call-strs.exp: Likewise.
1620 * gdb.base/default.exp: Remove references to h8300-*-hms and
1622 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1624 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1626 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1627 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1628 and "return" use KFAIL when GDB can not read/write the vector
1631 2015-08-21 Gary Benson <gbenson@redhat.com>
1633 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1635 2015-08-20 Pedro Alves <palves@redhat.com>
1637 * gdb.server/solib-list.exp: No longer expect an interior stop in
1640 2015-08-20 Pedro Alves <palves@redhat.com>
1642 * gdb.server/connect-stopped-target.c: New file.
1643 * gdb.server/connect-stopped-target.exp: New file.
1645 2015-08-20 Pedro Alves <palves@redhat.com>
1647 * gdb.dwarf2/comp-unit-lang.exp: New file.
1648 * gdb.dwarf2/comp-unit-lang.c: New file.
1650 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1652 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1653 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1655 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1657 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1658 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1660 2015-08-18 Doug Evans <dje@google.com>
1661 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1663 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1664 skip_python_tests. New arg prompt_regexp.
1665 (skip_python_tests): New function.
1666 * lib/mi-support.exp (mi_skip_python_tests): New function.
1667 * gdb.python/py-mi-objfile-gdb.py: New file.
1668 * gdb.python/py-mi-objfile.c: New file.
1669 * gdb.python/py-mi-objfile.exp: New file.
1671 2015-08-17 Keith Seitz <keiths@redhat.com>
1673 * gdb.linespec/explicit.exp: Move strace test from here ...
1674 * gdb.trace/strace.exp: ... to here.
1676 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1678 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1679 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1681 2015-08-14 Doug Evans <xdje42@gmail.com>
1683 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1684 inferior before selecting a new file.
1686 2015-08-14 Doug Evans <xdje42@gmail.com>
1688 * gdb.mi/mi-disassemble.exp: Update.
1689 * gdb.base/disasm-optim.S: New file.
1690 * gdb.base/disasm-optim.c: New file.
1691 * gdb.base/disasm-optim.h: New file.
1692 * gdb.base/disasm-optim.exp: New file.
1694 2015-08-14 Keith Seitz <keiths@redhat.com>
1696 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1699 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1701 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1703 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1705 * gdb.ada/fun_renaming.exp: New testcase.
1706 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1707 * gdb.ada/fun_renaming/pack.adb: New file.
1708 * gdb.ada/fun_renaming/pack.ads: New file.
1710 2015-08-12 Keith Seitz <keiths@redhat.com>
1712 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1713 gdb_get_line_number.
1715 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1717 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1718 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1719 gdb.base/dso2dso.exp: New files.
1721 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1722 Pedro Alves <palves@redhat.com>
1723 Keith Seitz <keiths@redhat.com>
1725 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1728 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1730 * gdb.base/gdbhistsize-history.exp
1731 (test_histsize_history_setting): Use save_vars.
1732 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1734 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1735 * gdb.base/readline.exp: Use save_vars.
1737 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1739 * lib/gdb.exp (save_vars): New proc.
1741 2015-08-11 Keith Seitz <keiths@redhat.com>
1743 * gdb.base/help.exp: Update help_breakpoint_text.
1745 2015-08-11 Keith Seitz <keiths@redhat.com>
1747 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1748 (at toplevel): Call test_explicit_breakpoints.
1749 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1751 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1752 breakpoint conditions, "-cond".
1754 2015-08-11 Keith Seitz <keiths@redhat.com>
1756 * gdb.linespec/3explicit.c: New file.
1757 * gdb.linespec/cpexplicit.cc: New file.
1758 * gdb.linespec/cpexplicit.exp: New file.
1759 * gdb.linespec/explicit.c: New file.
1760 * gdb.linespec/explicit.exp: New file.
1761 * gdb.linespec/explicit2.c: New file.
1762 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1763 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1764 before using in the matching pattern.
1765 Clarify that `prefix' is a regular expression.
1767 2015-08-11 Keith Seitz <keiths@redhat.com>
1769 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1771 Add tests for missing ",FMT" and ",".
1773 2015-08-10 Doug Evans <dje@google.com>
1774 Keith Seitz <keiths@redhat.com>
1777 * gdb.base/completion.exp: Add location completer tests.
1779 2015-08-07 Pedro Alves <palves@redhat.com>
1781 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1783 (top level): Run do_test with and without displaced stepping.
1785 2015-08-07 Pedro Alves <palves@redhat.com>
1787 * gdb.base/valgrind-disp-step.c: New file.
1788 * gdb.base/valgrind-disp-step.exp: New file.
1790 2015-08-07 Pedro Alves <palves@redhat.com>
1792 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1794 (main): Add alarm. Run an infinite loop instead of calling
1796 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1798 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1800 (main): Add alarm. Run an infinite loop instead of calling
1802 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1805 2015-08-07 Pedro Alves <palves@redhat.com>
1807 * gdb.base/checkpoint-ns.exp: New file.
1808 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1811 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1813 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1814 * gdb.btrace/instruction_history.exp: Update.
1815 * gdb.btrace/tsx.exp: New.
1816 * gdb.btrace/tsx.c: New.
1818 2015-08-06 Pedro Alves <palves@redhat.com>
1820 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1822 * gdb.reverse/until-precsave.exp: Bump timeouts.
1824 2015-08-06 Pedro Alves <palves@redhat.com>
1826 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1828 2015-08-06 Pedro Alves <palves@redhat.com>
1831 * gdb.threads/process-dies-while-handling-bp.c: New file.
1832 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1834 2015-08-06 Pedro Alves <palves@redhat.com>
1836 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1837 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1839 2015-08-05 Pedro Alves <palves@redhat.com>
1841 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1842 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1844 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1846 * gdb.base/bp-permanent.exp: Report test as unsupported if
1847 the target cannot stop at the permanent breakpoint.
1849 2015-08-03 Doug Evans <dje@google.com>
1851 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1854 2015-08-03 Doug Evans <dje@google.com>
1856 * Makefile.in (workers/%.worker, build-perf): New rule.
1857 (GDB_PERFTEST_MODE): New variable.
1858 (check-perf): Use it.
1859 (clean): Clean up gdb.perf parallel build subdirs.
1860 * lib/build-piece.exp: New file.
1861 * lib/gdb.exp (make_gdb_parallel_path): New function
1862 (standard_output_file, standard_temp_file): Call it.
1863 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1865 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1867 2015-08-03 Doug Evans <dje@google.com>
1869 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1870 (LOG_FILE_NAME): New global.
1871 (TextReporter.__init__): Initialize self.txt_sum.
1872 (TextReporter.report): Add support for multiple data-points.
1873 Move report to perftest.sum, put raw data in perftest.log.
1874 (TextReporter.start): Open sum and log files.
1875 (TextReporter.end): Close sum and log files.
1876 * gdb.perf/lib/perftest/testresult.py
1877 (SingleStatisticTestResult.record): Handle multiple data-points.
1879 2015-07-31 Pedro Alves <palves@redhat.com>
1881 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1882 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1883 kill_wait_spawned_process instead of explicit "kill -9".
1884 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1885 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1886 kill_wait_spawned_process.
1887 * gdb.base/attach-twice.exp: Likewise.
1888 * gdb.base/attach.exp: Likewise.
1889 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1891 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1892 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1893 kill_wait_spawned_process.
1894 * gdb.base/valgrind-infcall.exp: Likewise.
1895 * gdb.multi/multi-attach.exp: Likewise.
1896 * gdb.python/py-prompt.exp: Likewise.
1897 * gdb.python/py-sync-interp.exp: Likewise.
1898 * gdb.server/ext-attach.exp: Likewise.
1899 * gdb.threads/attach-into-signal.exp (corefunc): Use
1900 spawn_wait_for_attach, spawn_id_get_pid and
1901 kill_wait_spawned_process.
1902 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1903 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1904 spawn_id_get_pid and kill_wait_spawned_process.
1905 * gdb.threads/attach-stopped.exp (corefunc): Use
1906 spawn_wait_for_attach, spawn_id_get_pid and
1907 kill_wait_spawned_process.
1908 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1909 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1910 kill_wait_spawned_process instead of explicit "kill -9".
1911 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1912 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1913 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1914 processes. Don't map cygwin/windows pids here. Now returns a
1917 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1919 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1920 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1923 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1925 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1927 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1930 2014-05-21 Mark Wielaard <mjw@redhat.com>
1932 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1934 2015-07-30 Pedro Alves <palves@redhat.com>
1936 * linux-low.c (handle_extended_wait): Set the child's last
1937 reported status to TARGET_WAITKIND_STOPPED.
1939 2015-07-30 Pedro Alves <palves@redhat.com>
1942 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1943 only shows inferior 1.
1945 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1946 Pedro Alves <palves@redhat.com>
1949 * gdb.threads/fork-plus-threads.c: New file.
1950 * gdb.threads/fork-plus-threads.exp: New file.
1952 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1954 * gdb.base/batch-preserve-term-settings.exp
1955 (test_terminal_settings_preserved_after_cli_exit): Use
1958 2015-07-29 Pedro Alves <palves@redhat.com>
1959 Don Breazeal <donb@codesourcery.com>
1961 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1962 output from both inferior_spawn_id and gdb_spawn_id.
1964 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1966 * gdb.threads/attach-into-signal.exp (corefunc): Use
1967 with_test_prefix on nested loops, uniquefying the test messages.
1969 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1971 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1974 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1976 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1978 (test_terminal_settings_preserved_after_sigterm): New test.
1980 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1982 * gdb.base/batch-preserve-term-settings.exp
1983 (test_terminal_settings_preserved_after_cli_exit): New test.
1985 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1987 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1988 manipulation of saved_gdbflags.
1989 (test_terminal_settings_preserved): Remove global declaration of
1990 the unused variable pagination_prompt. Remove manipulation of
1991 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1994 2015-07-29 Pedro Alves <palves@redhat.com>
1996 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1998 2015-07-29 Pedro Alves <palves@redhat.com>
2000 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2003 2015-07-29 Pedro Alves <palves@redhat.com>
2005 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2006 (main): Call gdb_unbuffer_output.
2007 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2008 (main): Call gdb_unbuffer_output.
2009 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2010 (main): Call gdb_unbuffer_output.
2011 * gdb.base/call-strs.exp: Adjust to step over the
2012 gdb_unbuffer_output call.
2013 * gdb.base/catch-gdb-caused-signals.c: Include
2014 "../lib/unbuffer_output.c".
2015 (main): Call gdb_unbuffer_output.
2016 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2017 (main): Call gdb_unbuffer_output.
2018 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2019 (main): Call gdb_unbuffer_output.
2020 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2021 (main): Call gdb_unbuffer_output.
2022 * gdb.base/shlib-call.exp: Adjust to step over the
2023 gdb_unbuffer_output call.
2024 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2025 (main): Call gdb_unbuffer_output.
2026 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2027 (main): Call gdb_unbuffer_output.
2028 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2029 (main): Rename to ...
2031 (main): Reimplement.
2032 * gdb.base/varargs.exp: Run to test instead of to main.
2033 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2034 (main): Call gdb_unbuffer_output.
2036 2015-07-29 Pedro Alves <palves@redhat.com>
2038 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2039 factore out from mi_continue_dprintf. For call-style dprintfs,
2040 expect dprintf output out of $inferior_spawn_id.
2041 (mi_continue_dprintf): Use mi_expect_dprintf.
2042 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2043 (main): Call gdb_unbuffer_output.
2045 2015-07-29 Pedro Alves <palves@redhat.com>
2047 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2048 (default_mi_gdb_start): Set inferior_spawn_id instead of
2049 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2051 (mi_gdb_test): Always expect inferior output from both
2052 $inferior_spawn_id and $gdb_spawn_id.
2054 2015-07-29 Pedro Alves <palves@redhat.com>
2056 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2057 send_inferior and $inferior_spawn_id.
2059 2015-07-29 Pedro Alves <palves@redhat.com>
2061 * gdb.gdb/complaints.exp (test_initial_complaints)
2062 (test_serial_complaints, test_short_complaints): Use
2064 (test_empty_complaint): Handle $inferior_spawn_id !=
2067 2015-07-29 Pedro Alves <palves@redhat.com>
2069 * gdb.base/varargs.exp: Use gdb_test_stdio.
2071 2015-07-29 Pedro Alves <palves@redhat.com>
2073 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2075 2015-07-29 Pedro Alves <palves@redhat.com>
2077 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2079 2015-07-29 Pedro Alves <palves@redhat.com>
2081 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2082 parameter into two new parameters, "inf_result" and "gdb_result".
2083 Expect inferior output and gdb output from $inferior_spawn_id and
2084 $gdb_spawn_id, respectively. Adjust all callers.
2086 2015-07-29 Pedro Alves <palves@redhat.com>
2088 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2089 of gdb_test_sequence.
2091 2015-07-29 Pedro Alves <palves@redhat.com>
2093 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2094 (saw_spurious_output): Expect inferior output from
2095 $inferior_spawn_id. Use gdb_test_stdio.
2097 2015-07-29 Pedro Alves <palves@redhat.com>
2099 * gdb.base/dprintf.exp: Use standard_testfile. Change
2100 prepare_for_testing call.
2101 (srcfile): Don't set.
2102 (restart): New procedure.
2103 (test_dprintf): New procecure, use to continue over dprintfs.
2104 (test_call, test_agent): New procedures, tests moved here.
2105 Restart gdb and recreate dprintfs. Adjust expected output.
2107 2015-07-29 Pedro Alves <palves@redhat.com>
2109 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2111 2015-07-29 Pedro Alves <palves@redhat.com>
2113 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2115 2015-07-29 Pedro Alves <palves@redhat.com>
2117 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2120 2015-07-29 Pedro Alves <palves@redhat.com>
2122 * lib/gdb.exp (gdb_test_stdio): New procedure.
2124 2015-07-29 Pedro Alves <palves@redhat.com>
2126 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2128 2015-07-29 Pedro Alves <palves@redhat.com>
2130 * gdb.base/call-signal-resume.exp: Remove check for
2131 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2132 * gdb.base/unwindonsignal.exp: Likewise.
2133 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2134 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2136 2015-07-29 Pedro Alves <palves@redhat.com>
2138 * gdb.base/siginfo-addr.c (pass): New function.
2139 (handler): Call it iff si_addr is correct.
2140 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2141 Set a breakpoint at "pass" and continue to it.
2143 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2145 * gdb.python/py-objfile.exp: Make some tests have unique names.
2146 * gdb.python/py-pp-registration.exp: Likewise.
2148 2015-07-28 Pedro Alves <palves@redhat.com>
2150 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2152 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2154 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2156 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2158 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2160 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2162 * gdb.base/gdb-sigterm-2.exp: New test.
2164 2015-07-25 Doug Evans <xdje42@gmail.com>
2167 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2168 (workers/%.worker, build-perf): New rule.
2169 (GDB_PERFTEST_MODE): New variable.
2170 (check-perf): Use it.
2171 (clean): Clean up gdb.perf parallel build subdirs.
2172 * lib/build-piece.exp: New file.
2173 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2174 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2176 (standard_temp_file): Ditto.
2177 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2180 2015-07-24 Doug Evans <dje@google.com>
2182 * gdb.perf/lib/perftest/utils.py: New file.
2183 * gdb.perf/gm-hello.cc: New file.
2184 * gdb.perf/gm-pervasive-typedef.cc: New file.
2185 * gdb.perf/gm-pervasive-typedef.h: New file.
2186 * gdb.perf/gm-std.cc: New file.
2187 * gdb.perf/gm-std.h: New file.
2188 * gdb.perf/gm-use-cerr.cc: New file.
2189 * gdb.perf/gm-utils.h: New file.
2190 * gdb.perf/gmonster-null-lookup.py: New file.
2191 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2192 * gdb.perf/gmonster-print-cerr.py: New file.
2193 * gdb.perf/gmonster-ptype-string.py: New file.
2194 * gdb.perf/gmonster-runto-main.py: New file.
2195 * gdb.perf/gmonster-select-file.py: New file.
2196 * gdb.perf/gmonster1-null-lookup.exp: New file.
2197 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2198 * gdb.perf/gmonster1-print-cerr.exp: New file.
2199 * gdb.perf/gmonster1-ptype-string.exp: New file.
2200 * gdb.perf/gmonster1-runto-main.exp: New file.
2201 * gdb.perf/gmonster1-select-file.exp: New file.
2202 * gdb.perf/gmonster1.cc: New file.
2203 * gdb.perf/gmonster1.exp: New file.
2204 * gdb.perf/gmonster2-null-lookup.exp: New file.
2205 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2206 * gdb.perf/gmonster2-print-cerr.exp: New file.
2207 * gdb.perf/gmonster2-ptype-string.exp: New file.
2208 * gdb.perf/gmonster2-runto-main.exp: New file.
2209 * gdb.perf/gmonster2-select-file.exp: New file.
2210 * gdb.perf/gmonster2.cc: New file.
2211 * gdb.perf/gmonster2.exp: New file.
2213 2015-07-24 Doug Evans <dje@google.com>
2215 * gdb.perf/README: New file.
2216 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2217 * lib/gen-perf-test.exp: New file.
2219 2015-07-24 Doug Evans <dje@google.com>
2221 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2222 (PerfTest::startup): New function.
2223 (PerfTest::run): Return result of calling body.
2224 (PerfTest::assemble): Rewrite.
2225 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2226 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2227 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2228 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2229 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2231 2015-07-24 Doug Evans <dje@google.com>
2233 * lib/gdb.exp (clean_restart): Make executable optional.
2235 2015-07-24 Doug Evans <dje@google.com>
2237 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2238 compiler_info references.
2239 * gdb.cp/temargs.exp: Ditto.
2240 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2241 (get_compiler_info): Early exit if already computed. Set compiler_info
2242 to "unknown" if there was a problem.
2243 (test_compiler_info): Add function comment. Call get_compiler_info.
2245 2015-07-24 Doug Evans <dje@google.com>
2247 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2248 (workers/%.worker, build-perf): New rule.
2249 (GDB_PERFTEST_MODE): New variable.
2250 (check-perf): Use it.
2251 (clean): Clean up gdb.perf parallel build subdirs.
2252 * lib/build-piece.exp: New file.
2253 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2254 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2256 (standard_temp_file): Ditto.
2257 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2260 2015-07-24 Doug Evans <dje@google.com>
2262 * lib/future.exp (gdb_default_target_compile): New option
2264 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2267 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2269 * gdb.base/catch-syscall.exp: Call gdb_exit before
2272 2015-07-24 Pedro Alves <palves@redhat.com>
2274 * gdb.python/py-events.exp: Accept output between the stop event
2276 * gdb.python/py-evsignal.exp: Likewise.
2277 * gdb.python/py-evthreads.exp: Likewise.
2279 2015-07-24 Pedro Alves <palves@redhat.com>
2282 * gdb.threads/non-ldr-exit.c: New file.
2283 * gdb.threads/non-ldr-exit.exp: New file.
2285 2015-07-24 Yao Qi <yao.qi@linaro.org>
2287 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2290 2015-07-24 Yao Qi <yao.qi@linaro.org>
2292 * gdb.server/ext-restart.exp: New file.
2294 2015-07-24 Yao Qi <yao.qi@linaro.org>
2296 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2298 * gdb.server/ext-wrapper.exp: New file.
2300 2015-07-23 Doug Evans <dje@google.com>
2302 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2303 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2305 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2307 * gdb.ada/var_arr_typedef.exp: New testcase.
2308 * gdb.ada/var_arr_typedef/pack.adb: New file.
2309 * gdb.ada/var_arr_typedef/pack.ads: New file.
2310 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2312 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2314 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2316 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2318 * gdb.arch/i386-biarch-core.exp: Replace istarget
2319 by "complete set gnutarget". Remove expectation for the "core-file"
2322 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Revert the previous commit:
2325 Tests for validate symbol file using build-id.
2327 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2329 Tests for validate symbol file using build-id.
2330 * gdb.base/solib-mismatch-lib.c: New file.
2331 * gdb.base/solib-mismatch-libmod.c: New file.
2332 * gdb.base/solib-mismatch.c: New file.
2333 * gdb.base/solib-mismatch.exp: New file.
2335 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2337 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2339 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2340 * gdb.base/siginfo.exp: Likewise.
2341 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2343 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2345 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2347 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2349 * gdb.trace/range-stepping.exp: Check that the target supports
2352 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2354 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2356 2015-07-14 Pedro Alves <palves@redhat.com>
2358 * gdb.base/killed-outside.exp: New file.
2359 * gdb.base/killed-outside.c: New file.
2361 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2363 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2365 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2367 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2369 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2370 infcall tests instead of setting up for KFAIL.
2372 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2374 * gdb.btrace/record_goto-step.exp: New.
2376 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2379 * gdb.compile/compile.c (struct struct_type): Add volatile to
2381 * gdb.compile/compile.exp
2382 (compile code struct_object.selffield = &struct_object): Skip further
2383 struct_object tests if this one xfails.
2385 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2388 * gdb.trace/ax.exp: Add test.
2390 2015-07-07 Yao Qi <yao.qi@linaro.org>
2392 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2393 instead of istarget "aarch64*-*-*".
2394 * gdb.arch/aarch64-fp.exp: Likewise.
2395 * gdb.base/float.exp: Likewise.
2396 * gdb.reverse/aarch64.exp: Likewise.
2397 * lib/gdb.exp (is_aarch64_target): New proc.
2399 2015-07-07 Yao Qi <yao.qi@linaro.org>
2401 * lib/gdb.exp (is_aarch32_target): New proc.
2402 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2403 instead of "istarget "arm*-*-*"".
2404 * gdb.arch/arm-disp-step.exp: Likewise.
2405 * gdb.arch/thumb-bx-pc.exp: Likewise.
2406 * gdb.arch/thumb-prologue.exp: Likewise.
2407 * gdb.arch/thumb-singlestep.exp: Likewise.
2408 * gdb.base/disp-step-syscall.exp: Likewise.
2409 * gdb.base/float.exp: Likewise.
2411 2015-07-07 Yao Qi <yao.qi@linaro.org>
2413 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2414 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2416 2015-07-07 Yao Qi <yao.qi@linaro.org>
2418 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2419 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2421 * gdb.multi/multi-arch.exp: Likewise.
2423 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2425 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2428 2015-07-07 Yao Qi <yao.qi@linaro.org>
2430 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2432 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2434 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2435 '[' and ']' characters.
2437 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2439 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2441 2015-06-29 Pedro Alves <palves@redhat.com>
2444 * gdb.threads/hand-call-new-thread.c: New file.
2445 * gdb.threads/hand-call-new-thread.c: New file.
2447 2015-06-26 Keith Seitz <keiths@redhat.com>
2448 Doug Evans <dje@google.com>
2451 * gdb.cp/var-tag-2.cc: New file.
2452 * gdb.cp/var-tag-3.cc: New file.
2453 * gdb.cp/var-tag-4.cc: New file.
2454 * gdb.cp/var-tag.cc: New file.
2455 * gdb.cp/var-tag.exp: New file.
2457 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2459 * gdb.base/history-duplicates.exp: New test.
2461 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2463 * gdb.base/completion.exp: Test the completion of the "focus"
2466 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2468 * gdb.arch/amd64-prologue-skip.S: New file.
2469 * gdb.arch/amd64-prologue-skip.exp: New file.
2471 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2473 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2474 is_address_zero_readable check.
2476 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2478 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2479 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2481 2015-06-24 Yao Qi <yao.qi@linaro.org>
2483 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2486 2015-06-24 Yao Qi <yao.qi@linaro.org>
2488 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2489 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2490 * gdb.base/siginfo-thread.exp: Likewise.
2492 2015-06-22 Yao Qi <yao.qi@linaro.org>
2494 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2496 2015-06-22 Yao Qi <yao.qi@linaro.org>
2498 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2500 (skip_hw_watchpoint_tests): Likewise.
2502 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2504 * gdb.base/gdbinit-history.exp: Test the interaction between
2505 setting GDBHISTSIZE and setting the history size via .gdbinit.
2507 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2510 * gdb.base/gdbhistsize-history.exp: New test.
2512 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2514 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2516 * gdb.base/readline.exp: Likewise.
2518 2015-06-17 Yao Qi <yao.qi@linaro.org>
2520 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2523 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2525 * gdb.base/gdbinit-history.exp: Add test case to check that
2526 an unlimited history file does not get truncated on exit.
2528 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2530 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2531 (VECTOR): New macro. Use it...
2532 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2533 ...for these typedefs.
2534 (int8, char1, int1, double1): New typedefs.
2535 (struct just_int2, struct two_int2): New structures.
2536 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2537 (add_structvecs, add_singlevecs): New functions.
2538 (main): Call add_some_intvecs twice.
2539 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2540 the compile and exit upon failure. Try compiling for the "native"
2541 architecture. Test inferior function calls with vector arguments
2542 and vector return value handling with "finish" and "return".
2544 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2546 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2547 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2549 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2551 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2553 PR breakpoints/16465
2554 * gdb.mi/mi-dprintf-pending.c: New file.
2555 * gdb.mi/mi-dprintf-pending.exp: New test.
2556 * gdb.mi/mi-dprintf-pendshr.c: New file.
2558 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2559 Mircea Gherzan <mircea.gherzan@intel.com>
2561 * gdb.arch/i386-mpx-map.c: New file.
2562 * gdb.arch/i386-mpx-map.exp: New File.
2564 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2566 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2567 * gdb.arch/i386-mpx.exp: Indentation fixed.
2569 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2571 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2572 function and improved indentation.
2573 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2574 gdb_test_multiple. Added additional tests to skip the test.
2576 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2578 * gdb.arch/i386-avx512.c: Change path in include file.
2579 * gdb.arch/i386-avx512.exp: Change include dir path
2581 * gdb.arch/i386-mpx.c: Change path in include file.
2582 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2585 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2587 * gdb.compile/compile-print.exp (compile print *vararray@3)
2588 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2590 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2592 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2593 (do not keep jit in memory): ... this.
2594 (expect 5): Change it to ...
2595 (expect no 5): ... this.
2597 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2600 * gdb.mi/mi-detach.exp: New file.
2602 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 * gdb.arch/amd64-tailcall-self.S: New file.
2606 * gdb.arch/amd64-tailcall-self.c: New file.
2607 * gdb.arch/amd64-tailcall-self.exp: New file.
2609 2015-05-28 Don Breazeal <donb@codesourcery.com>
2611 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2612 tests for remote targets by checking is_target_gdbserver.
2614 2015-05-27 Doug Evans <dje@google.com>
2616 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2617 * gdb.dwarf2/opaque-type-lookup.c: New file.
2618 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2620 2015-05-26 Doug Evans <dje@google.com>
2622 * gdb.cp/iostream.cc: New file.
2623 * gdb.cp/iostream.exp: New file.
2625 2015-05-26 Doug Evans <dje@google.com>
2627 * gdb.dwarf2/dw2-op-call.exp: Update.
2628 * gdb.dwarf2/dw4-sig-types.exp: Update.
2629 * gdb.dwarf2/implptr.exp: Update.
2630 * gdb.mi/mi-cmd-param-changed.exp: Update.
2632 2015-05-26 Doug Evans <dje@google.com>
2634 * gdb.python/py-lazy-string.c: New file.
2635 * gdb.python/py-lazy-string.exp: New file.
2636 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2637 (main): Update. Add estring3.
2638 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2639 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2641 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2642 Yao Qi <yao.qi@linaro.org>
2644 * gdb.reverse/aarch64.c: New.
2645 * gdb.reverse/aarch64.exp: New.
2647 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2649 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2650 (supports_reverse): Likewise.
2652 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2654 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2655 Use with_test_prefix.
2657 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2659 * gdb.base/completion.exp: Add test for completion of layout
2662 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2664 * lib/gdb.exp (skip_tui_tests): New proc.
2665 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2667 2015-05-19 Pedro Alves <palves@redhat.com>
2669 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2670 Save the whole env array instead of just HOME. Unset HISTSIZE in
2671 the environment while testing. Restore whole environment
2674 2015-05-16 Doug Evans <xdje42@gmail.com>
2676 * gdb.guile/scm-ports.c: New file.
2677 * gdb.guile/scm-ports.exp: Add memory port tests.
2679 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2681 * gdb.compile/compile-print.c: New file.
2682 * gdb.compile/compile-print.exp: New file.
2684 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2686 * gdb.compile/compile-ops.exp: Cast param to void.
2687 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2688 (compile code struct_object.selffield = &struct_object): Add xfail.
2690 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2692 * gdb.ada/arr_enum_with_gap: New testcase.
2694 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2696 * gdb.ada/byte_packed_arr: New testcase.
2698 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2700 * gdb.ada/pckd_neg: New testcase.
2702 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2705 * gdb.base/gdbinit-history.exp: New test.
2706 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2707 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2709 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2711 * gdb.python/py-xmethods.cc: Enhance test case.
2712 * gdb.python/py-xmethods.exp: New tests.
2713 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2715 (B_indexoper): Likewise.
2716 (global_dm_list) : Add new xmethod worker functions.
2718 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2720 * gdb.base/coredump-filter.exp: Correctly unset
2721 "coredump_var_addr" array.
2723 2015-05-08 Pedro Alves <palves@redhat.com>
2725 * gdb.server/non-existing-program.exp: Unset spawn_id.
2727 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2730 * gdb.python/py-xmethods.exp: Add tests.
2732 2015-05-08 Yao Qi <yao.qi@linaro.org>
2735 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2736 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2737 function set_coredump_filter, and remove remote_exec call.
2738 Remove argument ipid. Callers update.
2739 (top level): Don't get inferior's PID.
2741 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2743 * gdb.base/watch_thread_num.exp: Skip test on targets without
2746 2015-05-06 Pedro Alves <palves@redhat.com>
2749 * gdb.server/non-existing-program.exp: New file.
2751 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2753 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2755 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2757 * gdb.ada/out_of_line_in_inlined: New testcase.
2759 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2761 * gdb.ada/var_rec_arr: New testcase.
2763 2015-04-30 Yao Qi <yao.qi@linaro.org>
2765 * gdb.base/break-idempotent.exp: If
2766 skip_hw_watchpoint_multi_tests returns true, skip the tests
2767 on "rwatch" and "awatch".
2769 2015-04-30 Yao Qi <yao.qi@linaro.org>
2771 * gdb.base/relativedebug.exp: Invoke gdb command
2772 "info sharedlibrary", and if libc.so doesn't have debug info,
2775 2015-04-29 Doug Evans <dje@google.com>
2777 * gdb.python/py-xmethods.exp: Add ptype tests.
2778 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2779 get_result_type method.
2781 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2783 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2784 the target does not support hardware watchpoints.
2786 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2788 * gdb.base/break-always.exp: Abort testing if writing to memory
2791 2015-04-28 Doug Evans <dje@google.com>
2793 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2794 * gdb.python/py-pp-registration.exp: ... here. New file.
2795 * gdb.python/py-pp-registration.c: New file.
2796 * gdb.python/py-pp-registration.py: New file.
2798 2015-04-28 Doug Evans <dje@google.com>
2800 * gdb.python/py-bad-printers.c: New file.
2801 * gdb.python/py-bad-printers.py: New file.
2802 * gdb.python/py-bad-printers.exp: New file.
2804 2015-04-28 Sasha Smundak <asmundak@google.com>
2806 * gdb.python/py-type.exp: New test.
2808 2015-04-28 Andy Wingo <wingo@igalia.com>
2810 * gdb.python/py-parameter.exp:
2811 * gdb.guile/scm-parameter.exp: Escape the path that we are
2812 matching against, as it might contain characters that are special
2813 to regular expressions.
2815 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2817 * gdb.ada/rec_comp: New testcase.
2819 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2821 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2824 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2826 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2827 new tests for verilog output.
2829 2015-04-24 Yao Qi <yao.qi@linaro.org>
2831 * boards/remote-gdbserver-on-localhost.exp: New file.
2833 2015-04-23 Pedro Alves <palves@redhat.com>
2835 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2836 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2837 "end of file", remove $inferior_spawn_id from the indirect list.
2839 2015-04-23 Pedro Alves <palves@redhat.com>
2841 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2843 2015-04-23 Pedro Alves <palves@redhat.com>
2845 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2846 on $any_spawn_id instead of only on $gdb_spawn_id.
2848 2015-04-21 Pierre Muller <muller@sourceware.org>
2851 * lib/pascal.exp (gpc_compile): Add new option "class".
2852 (fpc_compile): Likewise.
2853 * gdb.pascal/case-insensitive-symbols.pas: New file.
2854 * gdb.pascal/case-insensitive-symbols.exp: New file.
2856 2015-04-20 Gary Benson <gbenson@redhat.com>
2858 * gdb.base/attach.exp: Fix three extended remote failures.
2860 2015-04-17 Gary Benson <gbenson@redhat.com>
2862 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2863 the main executable over the remote protocol.
2865 2015-04-16 Pedro Alves <palves@redhat.com>
2867 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2868 a new gdbserver if gdbserver_reconnect_p is set.
2870 2015-04-16 Pedro Alves <palves@redhat.com>
2872 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2873 is set, don't exit gdbserver.
2875 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2877 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2878 appropriate .insn, such that an older assembler can be used.
2879 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2880 the z/Architecture instruction set on 31-bit targets as well.
2882 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2884 * gdb.go/handcall.exp: Remove all logic related to the first
2885 breakpoint and rely on go_runto_main instead.
2886 * gdb.go/strings.exp: Likewise.
2887 * gdb.go/unsafe.exp: Likewise.
2888 * gdb.go/hello.exp: Likewise. Also rename the remaining
2889 breakpoint marker to "breakpoint 1".
2890 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2891 * gdb.go/strings.go: Likewise.
2892 * gdb.go/unsafe.go: Likewise.
2893 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2894 "set breakpoint 2 here" and rename the remaining breakpoint marker
2897 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2899 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2900 if itertools.imap is not present.
2901 * gdb.python/py-objfile.exp: Add parentheses.
2902 * gdb.python/py-type.exp: Same.
2903 * gdb.python/py-unwind-maint.py: Same.
2905 2015-04-15 Yao Qi <yao.qi@linaro.org>
2907 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2908 of ":$ptr_size" and set its form explicitly.
2910 2015-04-15 Pedro Alves <palves@redhat.com>
2911 Yao Qi <yao.qi@linaro.org>
2913 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2914 timeout by factor of 4.
2915 (test_regular_watch): Likewise.
2916 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2917 * gdb.reverse/sigall-reverse.exp: Likewise.
2918 * gdb.reverse/until-precsave.exp: Likewise.
2919 * lib/gdb.exp (with_timeout_factor): New proc.
2920 (gdb_expect): Move some code to ...
2921 (get_largest_timeout): ... here. New procedure.
2923 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2925 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2927 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2929 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2930 to write to the .text section.
2932 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2934 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2935 Handle the case of targets that do not provide PID information.
2937 2015-04-13 Yao Qi <yao.qi@linaro.org>
2939 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2940 and use expect instead of gdb_expect.
2942 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2944 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2945 "coredump_var_addr" to avoid naming conflict with other testcases.
2947 2015-04-10 Pedro Alves <palves@redhat.com>
2949 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2950 gdb_test_sequence and gdb_assert.
2952 2015-04-10 Pedro Alves <palves@redhat.com>
2954 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2955 test messages that don't include the breakpoint address.
2957 2015-04-10 Yao Qi <yao.qi@linaro.org>
2959 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2960 false for some offset and width combinations which aren't
2961 supported by linux kernel.
2963 2015-04-10 Pedro Alves <palves@redhat.com>
2965 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2966 procedure, factored out from ...
2967 (top level): ... here. Add "set displaced-stepping" testing axis.
2968 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2969 parameter "displaced". Use it.
2970 (top level): Use foreach and add "set displaced-stepping" testing
2973 2015-04-10 Pedro Alves <palves@redhat.com>
2975 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2977 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2978 both the address of the instruction that triggers the watchpoint
2979 and the address of the instruction immediately after, and use
2980 those addresses for the test. Fix comment.
2982 2015-04-10 Pedro Alves <palves@redhat.com>
2984 * gdb.base/sigstep.exp (breakpoint_to_handler)
2985 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2986 Test "backtrace" in handler.
2987 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2988 (top level): Add new "displaced" test axis to
2989 breakpoint_to_handler, breakpoint_to_handler_entry and
2990 breakpoint_over_handler.
2992 2015-04-10 Pedro Alves <palves@redhat.com>
2995 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2997 2015-04-10 Yao Qi <yao.qi@linaro.org>
2999 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3000 (test_add_rn_pc): New function.
3001 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3002 (top level): Invoke test_add_rn_pc.
3004 2015-04-10 Pedro Alves <palves@redhat.com>
3007 * gdb.base/step-over-no-symbols.exp: New file.
3009 2015-04-09 Andy Wingo <wingo@igalia.com>
3011 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3012 after the Python tests.
3014 2015-04-08 Keith Seitz <keiths@redhat.com>
3017 * gdb.python/py-completion.exp: New tests for completion.
3018 * gdb.python/py-completion.py (CompleteLimit1): New class.
3019 (CompleteLimit2): Likewise.
3020 (CompleteLimit3): Likewise.
3021 (CompleteLimit4): Likewise.
3022 (CompleteLimit5): Likewise.
3023 (CompleteLimit6): Likewise.
3024 (CompleteLimit7): Likewise.
3026 2015-04-08 Pedro Alves <palves@redhat.com>
3030 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3032 (main): Install it as SIGUSR1 handler.
3033 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3034 parameter. Always use "setup" as prefix. Toggle "set
3035 displaced-stepping" off/on depending on global. Don't switch to
3037 (top level): Add displaced stepping "off/on" test axis. Update
3038 "setup" calls. Wrap each subtest with with_test_prefix. Test
3039 continuing with a queued signal in each thread.
3041 2015-04-08 Pedro Alves <palves@redhat.com>
3043 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3044 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3045 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3046 Return early if running to main fails.
3047 * gdb.trace/while-stepping.exp: Likewise.
3049 2015-04-07 Pedro Alves <palves@redhat.com>
3051 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3052 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3053 interact with inferior program.
3055 2015-04-07 Pedro Alves <palves@redhat.com>
3057 * lib/gdb.exp (inferior_spawn_id): New global.
3058 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3059 spawn id after processing the user code.
3060 (default_gdb_start): Set inferior_spawn_id.
3061 (send_inferior): New procedure.
3062 * lib/gdbserver-support.exp (gdbserver_start): Set
3064 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3066 2015-04-07 Pedro Alves <palves@redhat.com>
3068 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3069 * lib/gdbserver-support.exp (gdbserver_start): Make
3070 $server_spawn_id global.
3071 (gdbserver_start): Don't wait for gdbserver's spawn id with
3073 (close_gdbserver): New procedure.
3074 (gdb_exit): Rename the default version and reimplement.
3076 2015-04-07 Pedro Alves <palves@redhat.com>
3078 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3079 append the substituted item, not the original item.
3081 2015-04-07 Pedro Alves <palves@redhat.com>
3083 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3086 2015-04-07 Pedro Alves <palves@redhat.com>
3088 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3089 output appearing once only.
3091 2015-04-07 Pedro Alves <palves@redhat.com>
3093 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3094 that doesn't expect anything. Return early if running to main
3097 2015-04-07 Yao Qi <yao.qi@linaro.org>
3099 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3100 (child_function): Call alarm.
3101 (main): Move call to alarm into the loop.
3102 * gdb.threads/non-stop-fair-events.exp: Build program with
3105 2015-04-06 Doug Evans <xdje42@gmail.com>
3107 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3108 Fix dest parameter to board_info.
3109 (fpc_compile): Ditto.
3110 (gdb_compile_pascal): Rename dest arg to destfile.
3112 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3114 * gdb.ada/funcall_ref.exp: New file.
3115 * gdb.ada/funcall_ref/foo.adb: New file.
3117 2015-04-02 Yao Qi <yao.qi@linaro.org>
3119 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3122 2015-04-02 Gary Benson <gbenson@redhat.com>
3124 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3126 2015-04-01 Sasha Smundak <asmundak@google.com>
3128 * gdb.python/py-unwind-maint.c: New file.
3129 * gdb.python/py-unwind-maint.exp: New test.
3130 * gdb.python/py-unwind-maint.py: New file.
3131 * gdb.python/py-unwind.c: New file.
3132 * gdb.python/py-unwind.exp: New test.
3133 * gdb.python/py-unwind.py: New test.
3135 2015-04-01 Pedro Alves <palves@redhat.com>
3137 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3138 to fail instead of non-existent $test.
3140 2015-04-01 Pedro Alves <palves@redhat.com>
3142 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3143 GDBFLAGS if not empty.
3145 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3147 * gdb.ada/complete.exp: Remove "multi_line".
3148 * gdb.ada/info_exc.exp: Remove "multi_line".
3149 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3150 * gdb.ada/ptype_field.exp: Remove "multi_line".
3151 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3152 * gdb.ada/tagged.exp: Remove "multi_line".
3153 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3155 * gdb.btrace/delta.exp: Likewise.
3156 * gdb.btrace/exception.exp: Likewise.
3157 * gdb.btrace/function_call_history.exp: Likewise.
3158 * gdb.btrace/instruction_history.exp: Likewise.
3159 * gdb.btrace/nohist.exp: Likewise.
3160 * gdb.btrace/record_goto.exp: Likewise.
3161 * gdb.btrace/segv.exp: Likewise.
3162 * gdb.btrace/stepi.exp: Likewise.
3163 * gdb.btrace/tailcall.exp: Likewise.
3164 * gdb.btrace/unknown_functions.exp: Likewise.
3165 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3166 * lib/gdb.exp: Add the "multi_line" helper.
3168 2015-04-01 Pedro Alves <palves@redhat.com>
3170 * gdb.threads/tid-reuse.c: New file.
3171 * gdb.threads/tid-reuse.exp: New file.
3173 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3176 * gdb.base/coredump-filter.c: New file.
3177 * gdb.base/coredump-filter.exp: Likewise.
3179 2015-03-27 Petr Machata <pmachata@redhat.com>
3181 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3182 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3183 (Dwarf::assemble): Initialize them.
3184 (Dwarf::lines): New function.
3186 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3188 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3189 SYMBOL_PREFIX for x86_64-*-cygwin.
3191 2015-03-26 Andy Wingo <wingo@igalia.com>
3194 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3195 const_value but not a location.
3196 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3197 location defined in non-main CUs are visible.
3199 2015-03-26 Yao Qi <yao.qi@linaro.org>
3202 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3203 Add a line number entry for the same line.
3204 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3205 Add a line number entry for the same line.
3207 2015-03-26 Yao Qi <yao.qi@linaro.org>
3209 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3211 (func): Likewise. Add .Lfunc_1 label.
3213 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3218 2015-03-26 Yao Qi <yao.qi@linaro.org>
3220 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3221 Call gdb_compile instead to compile each .s files without debug
3224 2015-03-26 Yao Qi <yao.qi@linaro.org>
3226 * gdb.base/savedregs.exp (process_saved_regs): Make
3227 "Saved registers:" optional in the pattern.
3229 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3231 * gdb.btrace/next.exp: Merged into step.exp.
3232 * gdb.btrace/finish.exp: Merged into step.exp.
3233 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3234 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3235 "record goto" and checking the exact replay position.
3236 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3237 check for "Recording format" in "info record" output.
3238 * gdb.btrace/record_goto.exp: Choose test file based on target.
3239 * gdb.btrace/x86-record_goto.S: Renamed into ...
3240 * gdb.btrace/x86_64-record_goto.S: ... this.
3241 * gdb.btrace/i686-record_goto.S: New.
3242 * gdb.btrace/x86-tailcall.S: Renamed into ...
3243 * gdb.btrace/x86_64-tailcall.S: ... this.
3244 * gdb.btrace/i686-tailcall.S: New.
3245 * gdb.btrace/x86-tailcall.c: Renamed into ...
3246 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3247 separate statements. Update test.
3248 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3249 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3250 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3251 * gdb.btrace/tailcall.exp: Choose test file based on target.
3252 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3254 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3256 * gdb.btrace/exception.exp: Increase BTS buffer size.
3258 2015-03-24 Pedro Alves <palves@redhat.com>
3260 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3262 2015-03-24 Pedro Alves <palves@redhat.com>
3264 * gdb.threads/schedlock.exp (test_step): No longer expect that
3265 "set scheduler-locking step" with "next" over a function call runs
3268 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3270 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3272 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3274 PR breakpoints/16466
3275 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3276 * gdb.mi/mi-pending.c (thread_func): New function.
3277 (int main): Add threading support required.
3278 * gdb.mi/mi-pending.exp: Add tests for this issue.
3279 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3280 (pendfunc2): Remove stdio dependency.
3281 * gdb.mi/mi-pendshr2.c: New file.
3283 2015-03-23 Keith Seitz <keiths@redhat.com>
3285 * gdb.linespec/keywords.c: New file.
3286 * gdb.linespec/keywords.exp: New file.
3288 2015-03-23 Keith Seitz <keiths@redhat.com>
3291 * gdb.dwarf2/staticvirtual.exp: New test.
3293 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3295 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3296 * README: Remove HP-UX and gdb.hp.
3298 * configure: Regenerate.
3299 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3300 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3301 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3302 gdb.hp/gdb.defects/Makefile.
3303 * gdb.hp/Makefile.in: File deleted.
3304 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3305 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3306 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3307 * gdb.hp/gdb.aCC/run.c: File deleted.
3308 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3309 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3310 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3311 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3312 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3313 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3314 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3315 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3316 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3317 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3318 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3319 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3320 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3321 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3322 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3323 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3324 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3325 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3326 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3327 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3328 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3329 * gdb.hp/gdb.compat/average.c: File deleted.
3330 * gdb.hp/gdb.compat/sum.c: File deleted.
3331 * gdb.hp/gdb.compat/xdb.c: File deleted.
3332 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3333 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3334 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3335 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3336 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3337 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3338 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3339 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3340 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3341 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3342 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3343 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3344 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3345 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3346 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3347 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3348 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3349 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3350 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3351 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3352 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3353 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3354 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3355 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3356 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3357 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3358 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3359 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3360 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3361 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3362 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3363 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3364 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3365 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3366 * gdb.hp/tools/odump: File deleted.
3368 2015-03-19 Pedro Alves <palves@redhat.com>
3370 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3371 (saw_thread_3): New globals.
3372 (top level): Increment them when an event for the corresponding
3374 (no thread starvation): New test.
3376 2015-03-19 Pedro Alves <palves@redhat.com>
3378 * gdb.threads/continue-pending-status.c: New file.
3379 * gdb.threads/continue-pending-status.exp: New file.
3381 2015-03-18 Pedro Alves <palves@redhat.com>
3383 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3384 Use gdb_is_target_remote instead of is_remote. Use
3385 gdb_test_multiple instead of gdb_expect. Exit early if
3386 gdb_test_multiple hits its internal matches. Tighten stepi tests
3387 expected output. Fail on exit with any signal, instead of just
3390 2015-03-18 Yao Qi <yao.qi@linaro.org>
3393 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3395 * gdb.base/catch-syscall.exp: Don't skip it on
3396 aarch64*-*-linux* target. Remove elements in all_syscalls.
3397 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3399 (setup_all_syscalls): New proc.
3401 2015-03-16 Yao Qi <yao.qi@linaro.org>
3403 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3404 (top level): Skip tests if valid_addr_p returns false for
3407 2015-03-11 Andy Wingo <wingo@igalia.com>
3409 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3411 2015-03-11 Yao Qi <yao.qi@linaro.org>
3413 * gdb.base/catch-syscall.exp: Fix typo in comments.
3415 2015-03-11 Yao Qi <yao.qi@linaro.org>
3417 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3419 2015-03-09 Pedro Alves <palves@redhat.com>
3421 * dg-extract-results.py: Delete.
3423 2015-03-09 Pedro Alves <palves@redhat.com>
3425 Merge dg-extract-results.sh from GCC upstream (r218843).
3427 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3428 * dg-extract-results.sh: Use --text with grep to avoid issues with
3429 binary files. Fall back to cat -v, if that doesn't work.
3431 2015-03-05 Pedro Alves <palves@redhat.com>
3433 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3435 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3437 * lib/mi-support.exp (mi_expect_interrupt): Accept
3438 alternative event for when in all-stop mode.
3440 2015-03-04 Pedro Alves <palves@redhat.com>
3442 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3444 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3446 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3448 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3450 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3451 regexps for GDB's current line display, accept a hex address
3452 preceding the line number.
3454 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3456 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3457 the 'arch1' variable for "s390*-linux*" targets.
3459 2015-03-04 Pedro Alves <palves@redhat.com>
3461 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3462 (main): Pass missing retval argument to pthread_join call.
3464 2015-03-02 Pedro Alves <palves@redhat.com>
3466 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3467 (top level): Call do_test with non-stop as well.
3469 2015-03-02 Pedro Alves <palves@redhat.com>
3471 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3474 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3476 * gdb.arch/s390-vregs.exp: New test.
3477 * gdb.arch/s390-vregs.S: New file.
3479 2015-02-27 Pedro Alves <palves@redhat.com>
3481 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3482 call to catch_command_errors.
3483 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3484 catch_command_errors.
3486 2015-02-27 Pedro Alves <palves@redhat.com>
3488 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3489 "true" for boolean result.
3490 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3493 2015-02-27 Pedro Alves <palves@redhat.com>
3495 * lib/unbuffer_output.c: New file.
3496 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3497 (main): Call gdb_unbuffer_output.
3499 2015-02-27 Yao Qi <yao.qi@linaro.org>
3501 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3504 2015-02-26 Doug Evans <dje@google.com>
3506 * gdb.cp/class2.cc (Dbase, D): New classes.
3507 (main): New local delta.
3508 * gdb.cp/class2.exp: Test printing delta.
3509 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3510 (dynbar): New global.
3511 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3513 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3515 * gdb.compile/compile-ifunc.c: New file.
3516 * gdb.compile/compile-ifunc.exp: New file.
3518 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3520 * gdb.base/structs.exp: Check for correct struct on finish.
3522 2015-02-26 Yao Qi <yao.qi@linaro.org>
3524 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3527 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3529 * gdb.arch/cordic.ko.bz2: New file.
3530 * gdb.arch/cordic.ko.debug.bz2: New file.
3531 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3533 2015-02-25 Yao Qi <yao.qi@linaro.org>
3535 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3536 aarch64*-*-* target.
3538 2015-02-23 Pedro Alves <palves@redhat.com>
3540 * lib/gdb.exp (delete_breakpoints): Rewrite using
3543 2015-02-23 Pedro Alves <palves@redhat.com>
3545 * gdb.base/info-os.c: Include stdlib.h.
3547 2015-02-22 Doug Evans <xdje42@gmail.com>
3550 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3551 is read after symbols have been re-read.
3552 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3553 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3555 2015-02-21 Doug Evans <dje@google.com>
3557 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3559 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3562 * gdb.arch/i386-biarch-core.core.bz2: New file.
3563 * gdb.arch/i386-biarch-core.exp: New file.
3565 2015-02-21 Pedro Alves <palves@redhat.com>
3567 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3570 2015-02-20 Pedro Alves <palves@redhat.com>
3572 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3575 2015-02-20 Pedro Alves <palves@redhat.com>
3577 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3579 2015-02-20 Pedro Alves <palves@redhat.com>
3581 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3582 clean_restart before gdb_target_supports_trace.
3584 2015-02-20 Pedro Alves <palves@redhat.com>
3587 * gdb.threads/clone-thread_db.c: New file.
3588 * gdb.threads/clone-thread_db.exp: New file.
3590 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3592 PR breakpoints/16812
3593 * gdb.base/catch-gdb-caused-signals.c: New file.
3594 * gdb.base/catch-gdb-caused-signals.exp: New file.
3596 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3598 * configure: Regenerated.
3599 * configure.ac: Use GDB_AC_TRANSFORM.
3600 * aclocal.m4: sinclude ../transform.m4.
3602 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3604 * lib/dtrace.exp: New file.
3605 * gdb.base/dtrace-probe.exp: Likewise.
3606 * gdb.base/dtrace-probe.d: Likewise.
3607 * gdb.base/dtrace-probe.c: Likewise.
3608 * lib/pdtrace.in: Likewise.
3609 * configure.ac: Output variables with the transformed names of
3610 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3611 * configure: Regenerated.
3613 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3615 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3616 expected message when trying to access $_probe_* convenience
3617 variables while not on a probe.
3619 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3621 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3623 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3625 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3626 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3628 2015-02-10 Doug Evans <xdje42@gmail.com>
3630 * lib/gdb.exp (gdb_load): Always return a result.
3632 2015-02-10 Pedro Alves <palves@redhat.com>
3634 * gdb.threads/signal-sigtrap.c: New file.
3635 * gdb.threads/signal-sigtrap.exp: New file.
3637 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3639 * gdb.trace/no-attach-trace.c: New file.
3640 * gdb.trace/no-attach-trace.exp: New file.
3642 2015-02-09 Mark Wielaard <mjw@redhat.com>
3644 * gdb.dwarf2/atomic.c: New file.
3645 * gdb.dwarf2/atomic-type.exp: Likewise.
3647 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3649 * gdb.btrace/buffer-size.exp: Update "info record" output.
3650 * gdb.btrace/delta.exp: Update "info record" output.
3651 * gdb.btrace/enable.exp: Update "info record" output.
3652 * gdb.btrace/finish.exp: Update "info record" output.
3653 * gdb.btrace/instruction_history.exp: Update "info record" output.
3654 * gdb.btrace/next.exp: Update "info record" output.
3655 * gdb.btrace/nexti.exp: Update "info record" output.
3656 * gdb.btrace/step.exp: Update "info record" output.
3657 * gdb.btrace/stepi.exp: Update "info record" output.
3658 * gdb.btrace/nohist.exp: Update "info record" output.
3660 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3662 * gdb.btrace/buffer-size: New.
3664 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3666 * gdb.btrace/delta.exp: Update "info record" output.
3667 * gdb.btrace/enable.exp: Update "info record" output.
3668 * gdb.btrace/finish.exp: Update "info record" output.
3669 * gdb.btrace/instruction_history.exp: Update "info record" output.
3670 * gdb.btrace/next.exp: Update "info record" output.
3671 * gdb.btrace/nexti.exp: Update "info record" output.
3672 * gdb.btrace/step.exp: Update "info record" output.
3673 * gdb.btrace/stepi.exp: Update "info record" output.
3674 * gdb.btrace/nohist.exp: Update "info record" output.
3676 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3679 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3681 2015-02-06 Pedro Alves <palves@redhat.com>
3683 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3685 (seconds_left, again): New globals.
3686 (main): Wait seconds_left in a 1-second sleep loop instead of
3687 sleeping 180 seconds. If 'again' is set, reset the seconds
3689 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3690 'again' in the inferior before detaching. Print the seconds left.
3691 (options): New global.
3692 (top level): Build program with -DTIMEOUT=$timeout.
3694 2015-02-06 Pedro Alves <palves@redhat.com>
3696 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3697 determine how many seconds to pass to 'alarm'.
3698 * gdb.base/gdb-sigterm.exp (top level): Build program with
3700 (do_test): Return success/failure indication. Add more verbose
3701 logging. Don't fail if 200 single steps are seen. Instead, fail
3702 when the test times out.
3703 (passes): New global.
3704 (top level): Break the testing loop if testing fails on any
3705 iteration. Use gdb_assert.
3707 2015-02-04 Don Breazeal <donb@codesourcery.com>
3709 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3710 and initialize them.
3711 (ipc_cleanup): New function.
3712 (main): Don't declare shmid, semid, and msqid. Add a call to
3713 atexit so that we call ipc_cleanup on exit.
3715 2015-02-04 Pedro Alves <palves@redhat.com>
3717 * boards/native-extended-gdbserver.exp: Remove any target variant
3718 specifications from the board name before clearing the isremote
3719 flag from board_info.
3721 2015-01-31 Doug Evans <xdje42@gmail.com>
3723 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3725 2015-01-31 Gary Benson <gbenson@redhat.com>
3727 * gdb.base/completion.exp: Disable completion limiting for
3728 existing tests. Add new tests to check completion limiting.
3729 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3731 2015-01-31 Doug Evans <xdje42@gmail.com>
3733 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3735 2015-01-31 Doug Evans <xdje42@gmail.com>
3737 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3738 entries. Duplicate file section script entries.
3739 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3740 inlined entries. Add test for safe-path rejection.
3741 * gdb.python/py-section-script.c: Add duplicate inlined section script
3742 entries. Duplicate file section script entries.
3743 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3744 inlined entries. Add test for safe-path rejection.
3746 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3748 * gdb.ada/disc_arr_bound: New testcase.
3750 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3752 * gdb.ada/mi_var_array: New testcase.
3754 2015-01-27 Doug Evans <dje@google.com>
3756 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3757 Add test for objfile.filename, objfile.username after objfile
3760 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3762 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3763 the second test to print the name attribute of value
3764 returned by the call to gdb.lookup_type, and adjust
3765 the expected output accordingly.
3767 2015-01-25 Mark Wielaard <mjw@redhat.com>
3769 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3770 * gdb.base/disp-step-fork.c: Include unistd.h.
3771 * gdb.base/siginfo-obj.c: Include stdio.h.
3772 * gdb.base/siginfo-thread.c: Likewise.
3773 * gdb.mi/non-stop.c: Include unistd.h.
3774 * gdb.mi/nsthrexec.c: Include stdio.h.
3775 * gdb.mi/pthreads.c: Include unistd.h.
3776 * gdb.modula2/unbounded1.c (main): Declare returns int.
3777 * gdb.reverse/consecutive-reverse.c: Likewise.
3778 * gdb.threads/create-fail.c: Include unistd.h.
3779 * gdb.threads/killed.c: Likewise.
3780 * gdb.threads/linux-dp.c: Likewise.
3781 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3782 * gdb.threads/non-ldr-exc-2.c: Likewise.
3783 * gdb.threads/non-ldr-exc-3.c: Likewise.
3784 * gdb.threads/non-ldr-exc-4.c: Likewise.
3785 * gdb.threads/pthreads.c: Include unistd.h.
3786 (main): Declare returns int.
3787 * gdb.threads/tls-main.c (foo): New declaration.
3788 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3790 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3792 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3793 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3795 2015-01-15 Mark Wielaard <mjw@redhat.com>
3797 * gdb.base/noreturn-return.c: New file.
3798 * gdb.base/noreturn-return.exp: New file.
3799 * gdb.base/noreturn-finish.c: New file.
3800 * gdb.base/noreturn-finish.exp: New file.
3802 2015-01-23 Pedro Alves <palves@redhat.com>
3804 * gdb.threads/continue-pending-after-query.c: New file.
3805 * gdb.threads/continue-pending-after-query.exp: New file.
3807 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3808 Simon Marchi <simon.marchi@ericsson.com>
3810 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3811 * gdb.base/valgrind-db-attach.exp: Same.
3812 * gdb.base/valgrind-infcall.exp: Same.
3813 * lib/mi-support.exp (default_mi_gdb_start): Same.
3814 * lib/prompt.exp (default_prompt_gdb_start): Same.
3815 * lib/gdb.exp (default_gdb_spawn): Same.
3816 (gdb_interact): New.
3819 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3821 * gdb.compile/compile.exp (pointer to jit function): New test.
3823 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3825 * lib/gdb.exp (supports_process_record): Return true for
3827 (supports_reverse): Likewise.
3829 2015-01-15 Don Breazeal <donb@codesourcery.com>
3831 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3832 instead of checking whether the target board is remote and
3833 use spawn_wait_for_attach instead of exec/sleep.
3834 * gdb.base/attach-twice.exp: Likewise.
3836 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3838 * gdb.ada/var_arr_attrs: New testcase.
3840 2015-01-14 Pedro Alves <palves@redhat.com>
3841 Joel Brobecker <brobecker@adacore.com>
3844 * gdb.base/bp-cmds-execution-x-script.c: New file.
3845 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3846 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3848 2015-01-14 Pedro Alves <palves@redhat.com>
3851 * gdb.base/batch-preserve-term-settings.c: New file.
3852 * gdb.base/batch-preserve-term-settings.exp: New file.
3854 2015-01-13 Doug Evans <dje@google.com>
3856 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3859 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3861 * Makefile.in (clean mostlyclean): Do not delete *.py.
3863 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3865 * gdb.python/py-lookup-type.exp: New file.
3867 2015-01-12 Pedro Alves <palves@redhat.com>
3869 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3870 restore GDBFLAGS before returning.
3872 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3874 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3875 is_amd64_regs_target and is_x86_like_target.
3877 2015-01-11 Doug Evans <xdje42@gmail.com>
3879 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3880 is given without an explicit form.
3881 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3883 * gdb.dwarf/corrupt.exp: Ditto.
3884 * gdb.dwarf2/enum-type.exp: Ditto.
3885 * gdb.trace/entry-values.exp: Ditto.
3886 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3888 2015-01-11 Doug Evans <xdje42@gmail.com>
3891 * gdb.base/maint.exp: Remove references to "maint demangle".
3892 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3893 Add tests for explicitly specifying language to demangle.
3894 * gdb.dlang/demangle.exp: Ditto.
3896 2015-01-09 Pedro Alves <palves@redhat.com>
3898 * gdb.threads/non-stop-fair-events.c: New file.
3899 * gdb.threads/non-stop-fair-events.exp: New file.
3901 2015-01-09 Pedro Alves <palves@redhat.com>
3903 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3904 the global scope. Set a breakpoint after all threads are started
3905 rather than stepping over two source lines. Expect the prompt.
3906 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3909 (main): Use threads_started_barrier to wait for all threads to
3910 start. Main thread no longer calls thread_function. Exit after
3912 (loop): New function.
3913 (thread_function): Wait on threads_started_barrier barrier. Call
3914 'loop' at each iteration.
3915 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3916 threads have started, instead of hardcoding number of "next"
3917 steps. Use an access watchpoint instead of a write watchpoint.
3919 2015-01-09 Pedro Alves <palves@redhat.com>
3921 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3922 (thread_func): Wait on barrier.
3923 (main): Wait for all threads to start before stopping GDB.
3924 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3926 (thread1_func, thread2_func): Wait on barrier.
3927 (main): Wait for all threads to start before stopping GDB.
3928 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3930 (thread1_func, thread2_func): Wait on barrier.
3931 (main): Wait for all threads to start before stopping GDB.
3933 2015-01-09 Pedro Alves <palves@redhat.com>
3935 * gdb.threads/attach-many-short-lived-threads.c: New file.
3936 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3938 2014-01-09 Pedro Alves <palves@redhat.com>
3940 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3941 instead of to thread 2.
3942 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3943 Add barrier around each pthread_create call instead of around all
3945 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3946 Set a break on thread_function and have the child threads hit it
3949 2015-01-09 Pedro Alves <palves@redhat.com>
3951 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3952 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3954 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3955 checking whether the target board is remote.
3956 * gdb.multi/multi-attach.exp: Likewise.
3957 * gdb.python/py-sync-interp.exp: Likewise.
3958 * gdb.server/ext-attach.exp: Likewise.
3959 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3960 tests that need to attach, instead of checking whether the target
3961 board is remote at the top of the file.
3963 2015-01-08 Yao Qi <yao@codesourcery.com>
3965 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3967 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3969 Fix testcase compilation.
3970 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3972 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3974 * gdb.python/py-type.exp: Add a couple test about empty
3975 array creation, and negative-length array creation.
3977 2015-01-02 Doug Evans <xdje42@gmail.com>
3979 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3981 2015-01-02 Doug Evans <dje@google.com>
3983 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3985 2014-12-29 Yao Qi <yao@codesourcery.com>
3987 * gdb.trace/entry-values.exp: Update comments. Rename variable
3988 bar_call_foo to returned_from_foo.
3990 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3993 * gdb.linespec/break-asm-file.c: New file.
3994 * gdb.linespec/break-asm-file.exp: New file.
3995 * gdb.linespec/break-asm-file0.s: New file.
3996 * gdb.linespec/break-asm-file1.s: New file.
3998 2014-12-18 Nigel Stephens <nigel@mips.com>
3999 Maciej W. Rozycki <macro@codesourcery.com>
4001 * gdb.base/float.exp: Handle the new output from "info float" on
4004 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4006 Fix MinGW compilation.
4007 * gdb.compile/compile-ops.exp: Update untested message if
4008 !skip_compile_feature_tests.
4009 * gdb.compile/compile-setjmp.exp: Likewise.
4010 * gdb.compile/compile-tls.exp: Likewise.
4011 * gdb.compile/compile.exp: Likewise.
4012 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4013 supported on this host".
4015 2014-12-16 Doug Evans <xdje42@gmail.com>
4017 * boards/stabs.exp: New file.
4019 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4021 * gdb.base/completion.exp: Adjust to format changes of "maint
4022 print user-registers".
4024 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4027 * gdb.arch/aarch64-fp.c: New file.
4028 * gdb.arch/aarch64-fp.exp: New file.
4030 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4032 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4033 r210637, r210913, r211666, r215400, r215817).
4035 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4036 * dg-extract-results.py: New file.
4037 * dg-extract-results.sh: Use it if the environment seems
4040 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4042 * dg-extract-results.py (parse_run): Handle warnings that
4043 are printed before a test harness is run.
4045 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4047 * dg-extract-results.py (Named): Remove __cmp__ method.
4048 (output_variation): Use a key to sort variation.harnesses.
4050 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4052 * dg-extract-results.py: For Python 3, force sys.stdout to
4053 handle surrogate escape sequences.
4054 (safe_open): New function.
4055 (output_segment, main): Use it.
4057 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4059 * dg-extract-results.py (Prog.result_re): Include options
4062 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4064 * dg-extract-results.py (output_variation): Always sort if
4067 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4069 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4070 as long as we get pagination notifications.
4072 2014-12-15 Jason Merrill <jason@redhat.com>
4074 * Makefile.in (check-gdb.%): Restore.
4075 * README: Mention it.
4077 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4079 * gdb.ada/str_uninit: New testcase.
4081 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4084 * gdb.base/vla-stub-define.c: New file.
4085 * gdb.base/vla-stub.c: New file.
4086 * gdb.base/vla-stub.exp: New file.
4088 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4089 Jan Kratochvil <jan.kratochvil@redhat.com>
4090 Tom Tromey <tromey@redhat.com>
4092 * configure.ac: Add gdb.compile/.
4093 * configure: Regenerate.
4094 * gdb.compile/Makefile.in: New file.
4095 * gdb.compile/compile-ops.exp: New file.
4096 * gdb.compile/compile-ops.c: New file.
4097 * gdb.compile/compile-tls.c: New file.
4098 * gdb.compile/compile-tls.exp: New file.
4099 * gdb.compile/compile-constvar.S: New file.
4100 * gdb.compile/compile-constvar.c: New file.
4101 * gdb.compile/compile-mod.c: New file.
4102 * gdb.compile/compile-nodebug.c: New file.
4103 * gdb.compile/compile-setjmp-mod.c: New file.
4104 * gdb.compile/compile-setjmp.c: New file.
4105 * gdb.compile/compile-setjmp.exp: New file.
4106 * gdb.compile/compile-shlib.c: New file.
4107 * gdb.compile/compile.c: New file.
4108 * gdb.compile/compile.exp: New file.
4109 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4111 2014-12-12 Tom Tromey <tromey@redhat.com>
4113 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4114 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4116 2014-12-12 Doug Evans <dje@google.com>
4118 * lib/gdb-python.exp (get_python_valueof): New function.
4119 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4121 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4123 * gdb.base/completion.exp: Add test for completion of "info
4126 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4128 * gdb.base/func-ptrs.c: New file.
4129 * gdb.base/func-ptrs.exp: New file.
4131 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4133 PR breakpoints/17012
4134 * gdb.base/dprintf-detach.c: New file.
4135 * gdb.base/dprintf-detach.exp: New file.
4137 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4139 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4140 * lib/gdb.exp (target_is_gdbserver): New procedure.
4142 2014-12-08 Doug Evans <dje@google.com>
4144 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4146 2014-12-05 Yao Qi <yao@codesourcery.com>
4148 * gdb.guile/scm-error.exp: Remove the third argument to
4149 gdb_remote_download.
4150 * gdb.guile/scm-frame-args.exp: Likewise.
4151 * gdb.guile/scm-section-script.exp: Likewise.
4153 2014-12-05 Yao Qi <yao@codesourcery.com>
4155 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4157 2014-12-04 Doug Evans <dje@google.com>
4159 * gdb.python/py-objfile.exp: Add tests for
4160 objfile.add_separate_debug_file.
4162 2014-12-04 Doug Evans <dje@google.com>
4164 * lib/gdb.exp (get_build_id): New function.
4165 (build_id_debug_filename_get): Rewrite to use it.
4166 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4168 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4170 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4171 `method(long)', not just 0x0.
4172 * gdb.cp/nsalias.exp: Align code labels to 4.
4173 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4174 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4175 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4176 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4177 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4178 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4180 2014-12-02 Doug Evans <dje@google.com>
4183 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4184 * gdb.cp/anon-ns2.cc: ... here. New file.
4185 * gdb.cp/anon-ns.exp: Update.
4187 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4189 * gdb.python/py-events.py (inferior_call_handler): New.
4190 (register_changed_handler, memory_changed_handler): New.
4191 (test_events.invoke): Register new handlers.
4192 * gdb.python/py-events.exp: Add tests for inferior call,
4193 memory_changed and register_changed events.
4195 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4197 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4198 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4199 if the linker doesn't understand this.
4201 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4203 * gdb.python/python.exp: Change expected reply to help().
4205 2014-12-01 Yao Qi <yao@codesourcery.com>
4207 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4208 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4209 * configure: Re-generated.
4211 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4213 * gdb.cp/chained-calls.cc: New file.
4214 * gdb.cp/chained-calls.exp: New file.
4215 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4217 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4219 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4220 * gdb.dwarf2/symtab-producer.exp: Same.
4221 * gdb.gdb/python-interrupts.exp: Same.
4222 * gdb.gdb/python-selftest.exp: Same.
4223 * gdb.python/py-linetable.exp: Same.
4224 * gdb.python/py-type.exp: Same.
4225 * gdb.python/py-value-cc.exp: Same.
4226 * gdb.python/py-value.exp: Same.
4228 2014-11-28 Yao Qi <yao@codesourcery.com>
4230 * gdb.base/break-probes.exp: Match library name prefixed with
4233 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4235 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4236 test expected output. Add parentheses for the call to print.
4237 Remove L suffix from integers.
4239 2014-11-26 Doug Evans <dje@google.com>
4241 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4243 2014-11-22 Yao Qi <yao@codesourcery.com>
4245 * gdb.trace/entry-values.c: Remove asms.
4246 (foo): Add foo_label.
4247 (bar): Add bar_label.
4248 * gdb.trace/entry-values.exp: Remove code computing foo's
4249 length and bar's length.
4250 (Dwarf::assemble): Invoke function_range for bar and use
4251 MACRO_AT_func for foo.
4253 2014-11-22 Yao Qi <yao@codesourcery.com>
4255 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4256 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4257 Use .Lgcc43_procstart instead of gcc43.
4259 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4261 * gdb.ada/n_arr_bound: New testcase.
4263 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4265 PR breakpoints/10737
4266 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4267 test_catch_syscall_multi_arch.
4268 (test_catch_syscall_multi_arch): New function.
4270 2014-11-20 Doug Evans <xdje42@gmail.com>
4272 * gdb.base/maint.exp: Update expected output.
4274 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4276 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4277 4-byte instruction on S390.
4279 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4281 * gdb.ada/arr_arr: New testcase.
4283 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4285 * gdb.ada/pkd_arr_elem: New Testcase.
4287 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4289 * gdb.reverse/break-precsave: Expect completion message for
4291 * gdb.reverse/consecutive-precsave.exp: Likewise.
4292 * gdb.reverse/finish-precsave.exp: Likewise.
4293 * gdb.reverse/i386-precsave.exp: Likewise.
4294 * gdb.reverse/machinestate-precsave.exp: Likewise.
4295 * gdb.reverse/sigall-precsave.exp: Likewise.
4296 * gdb.reverse/solib-precsave.exp: Likewise.
4297 * gdb.reverse/step-precsave.exp: Likewise.
4298 * gdb.reverse/until-precsave.exp: Likewise.
4299 * gdb.reverse/watch-precsave.exp: Likewise.
4301 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4303 * gdb.base/bp-permanent.c: Include unistd.h.
4304 * gdb.python/py-framefilter-mi.c (main): Add return type.
4305 * gdb.python/py-framefilter.c (main): Likewise.
4306 * gdb.trace/actions-changed.c (main): Likewise.
4308 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4310 * gdb.mi/until.c: Add eye-catchers.
4311 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4314 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4316 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4317 function header variants in break1.c.
4318 * gdb.base/ena-dis-br.exp: Likewise.
4319 * gdb.base/hbreak2.exp: Likewise.
4320 * gdb.reverse/until-precsave.exp: Drop references to removed
4321 non-prototype function header variants in ur1.c.
4322 * gdb.reverse/until-reverse.exp: Likewise.
4324 2014-11-17 Petr Machata <pmachata@redhat.com>
4326 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4327 ${_cu_offset_size} bytes abbrev offset.
4329 2014-11-15 Doug Evans <xdje42@gmail.com>
4332 * gdb.base/line-symtabs.exp: New file.
4333 * gdb.base/line-symtabs.c: New file.
4334 * gdb.base/line-symtabs.h: New file.
4336 2014-11-14 Yao Qi <yao@codesourcery.com>
4338 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4339 (func): Add label func_label.
4340 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4341 Replace low_pc and high_pc with MACRO_AT_range.
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 (Dwarf::assemble):
4347 Replace name, low_pc and high_pc with MACRO_AT_func.
4349 2014-11-14 Yao Qi <yao@codesourcery.com>
4351 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4352 produce debug information.
4353 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4355 2014-11-14 Yao Qi <yao@codesourcery.com>
4357 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4358 object and get function length.
4359 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4361 (top-level): Replace gdb_compile and clean_restart with
4362 prepare_for_testing.
4363 * gdb.dwarf2/main.c (main): Add label main_label.
4365 2014-11-14 Yao Qi <yao@codesourcery.com>
4367 * lib/dwarf.exp (function_range): New procedure.
4368 (Dwarf::_handle_macro_at_func): New procedure.
4369 (Dwarf::_handle_macro_at_range): New procedure.
4370 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4372 2014-11-14 Yao Qi <yao@codesourcery.com>
4374 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4375 (_handle_attribute): New procedure.
4377 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4379 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4380 * gdb.base/call-sc.c (zed): Likewise.
4381 * gdb.base/checkpoint.c (main): Likewise.
4382 * gdb.base/dump.c (main): Likewise.
4383 * gdb.base/gcore.c (main): Likewise.
4384 * gdb.base/huge.c (main): Likewise.
4385 * gdb.base/multi-forks.c (main): Likewise.
4386 * gdb.base/pr10179-a.c (main): Likewise.
4387 * gdb.base/savedregs.c (main): Likewise.
4388 * gdb.base/sigaltstack.c (main): Likewise.
4389 * gdb.base/siginfo.c (main): Likewise.
4390 * gdb.base/structs.c (zed): Likewise.
4391 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4392 * gdb.mi/mi-syn-frame.c (main): Likewise.
4393 * gdb.mi/until.c (foo, main): Likewise.
4394 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4395 * gdb.base/solib-weak.c (foo): Declare.
4396 * gdb.base/attach-twice.c: Include stdio.h.
4397 * gdb.base/weaklib1.c: Likewise.
4398 * gdb.base/weaklib2.c: Likewise.
4399 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4400 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4402 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4403 * gdb.mi/mi-exit-code.c: Likewise.
4404 * gdb.base/break-interp-lib.c: Include string.h.
4405 * gdb.base/coremaker.c: Likewise.
4406 * gdb.base/testenv.c: Likewise.
4407 * gdb.python/py-finish-breakpoint.c: Likewise.
4408 * gdb.base/inferior-died.c: Include sys/wait.h.
4409 * gdb.base/fileio.c: Include time.h.
4410 * gdb.base/async-shell.c: Include unistd.h.
4411 * gdb.base/dprintf-non-stop.c: Likewise.
4412 * gdb.base/info-os.c: Likewise.
4413 * gdb.mi/mi-console.c: Likewise.
4414 * gdb.mi/watch-nonstop.c: Likewise.
4415 * gdb.python/py-events.c: Likewise.
4416 * gdb.base/async.c (baz): Move up before its invocation.
4417 * gdb.base/code_elim2.c (my_global_func): Likewise.
4418 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4419 * gdb.base/advance.c (func2): Likewise.
4421 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4423 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4425 * gdb.base/annota3.c: Likewise.
4426 * gdb.base/async.c: Likewise.
4427 * gdb.base/average.c: Likewise.
4428 * gdb.base/call-ar-st.c: Likewise.
4429 * gdb.base/call-rt-st.c: Likewise.
4430 * gdb.base/call-sc.c: Likewise.
4431 * gdb.base/call-strs.c: Likewise.
4432 * gdb.base/ending-run.c: Likewise.
4433 * gdb.base/execd-prog.c: Likewise.
4434 * gdb.base/exprs.c: Likewise.
4435 * gdb.base/foll-exec.c: Likewise.
4436 * gdb.base/foll-fork.c: Likewise.
4437 * gdb.base/foll-vfork.c: Likewise.
4438 * gdb.base/funcargs.c: Likewise.
4439 * gdb.base/gcore.c: Likewise.
4440 * gdb.base/jump.c: Likewise.
4441 * gdb.base/langs0.c: Likewise.
4442 * gdb.base/langs1.c: Likewise.
4443 * gdb.base/langs2.c: Likewise.
4444 * gdb.base/mips_pro.c: Likewise.
4445 * gdb.base/nodebug.c: Likewise.
4446 * gdb.base/opaque0.c: Likewise.
4447 * gdb.base/opaque1.c: Likewise.
4448 * gdb.base/recurse.c: Likewise.
4449 * gdb.base/run.c: Likewise.
4450 * gdb.base/scope0.c: Likewise.
4451 * gdb.base/scope1.c: Likewise.
4452 * gdb.base/setshow.c: Likewise.
4453 * gdb.base/setvar.c: Likewise.
4454 * gdb.base/shmain.c: Likewise.
4455 * gdb.base/shr1.c: Likewise.
4456 * gdb.base/shr2.c: Likewise.
4457 * gdb.base/sigall.c: Likewise.
4458 * gdb.base/signals.c: Likewise.
4459 * gdb.base/so-indr-cl.c: Likewise.
4460 * gdb.base/solib2.c: Likewise.
4461 * gdb.base/structs.c: Likewise.
4462 * gdb.base/sum.c: Likewise.
4463 * gdb.base/vforked-prog.c: Likewise.
4464 * gdb.base/watchpoint.c: Likewise.
4465 * gdb.reverse/shr2.c: Likewise.
4466 * gdb.reverse/until-reverse.c: Likewise.
4467 * gdb.reverse/ur1.c: Likewise.
4468 * gdb.reverse/watch-reverse.c: Likewise.
4470 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4472 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4474 * gdb.base/sepdebug.exp: Drop references to removed code.
4476 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4478 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4479 variant. Preserve original line numbering.
4480 * gdb.base/list1.c: Likewise.
4482 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4484 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4486 * gdb.base/break1.c: Likewise.
4487 * gdb.base/break.exp: Drop references to removed code.
4489 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4491 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4494 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4496 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4498 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4500 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4501 logic into perform_all_tests() and invoke it with and without
4502 function header prototypes.
4503 (do_function_calls): Remove conditional XFAIL for PR 5318.
4504 (rerun_and_prepare): Remove duplicate code.
4505 (perform_all_tests): New. Main logic moved here.
4507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4509 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4510 code guarded by #ifdef NO_PROTOTYPES.
4511 (t_double_many_args): Likewise.
4512 (DEF_FUNC_MANY_ARGS_1): Likewise.
4513 (DEF_FUNC_VALUES_1): Likewise.
4514 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4515 guarded by #ifdef PROTOTYPES.
4517 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4519 * gdb.mi/mi-console.c: Add eye-catcher.
4520 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4521 instead of literal line number.
4523 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4525 * gdb.base/shr2.c: Add eye-catcher.
4526 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4529 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4531 * gdb.base/jump.c: Add eye-catchers.
4532 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4535 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4537 * gdb.base/execd-prog.c: Add eye-catchers.
4538 * gdb.base/foll-exec.c: Likewise.
4539 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4542 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4544 * gdb.base/ending-run.c: Add eye-catchers.
4545 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4546 literal line numbers.
4548 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4550 * gdb.base/call-rt-st.c: Add eye-catchers.
4551 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4552 literal line numbers.
4554 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556 * gdb.base/call-ar-st.c: Add eye-catchers.
4557 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4558 literal line numbers.
4560 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4562 * gdb.base/average.c: Add eye-catchers.
4563 * gdb.base/sum.c: Likewise.
4564 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4565 regexps dynamically.
4567 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4569 * gdb.base/solib1.c: Add eye-catchers.
4570 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4571 literal line numbers.
4573 2014-11-12 Pedro Alves <palves@redhat.com>
4575 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4578 2014-11-12 Pedro Alves <palves@redhat.com>
4580 * gdb.arch/i386-bp_permanent.c: New file.
4581 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4582 (srcfile): Set to i386-bp_permanent.c.
4583 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4584 that stepi does not execute the 'leave' instruction, instead of
4585 testing it does execute.
4586 * gdb.base/bp-permanent.c: New file.
4587 * gdb.base/bp-permanent.exp: New file.
4589 2014-11-10 Doug Evans <xdje42@gmail.com>
4592 * gdb.base/symtab-search-order.exp: New file.
4593 * gdb.base/symtab-search-order.c: New file.
4594 * gdb.base/symtab-search-order-1.c: New file.
4595 * gdb.base/symtab-search-order-shlib-1.c: New file.
4597 2014-11-07 Pedro Alves <palves@redhat.com>
4600 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4603 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4606 * gdb.cp/pr17494.cc: New file.
4607 * gdb.cp/pr17494.exp: New file.
4609 2014-11-02 Yao Qi <yao@codesourcery.com>
4611 * gdb.python/python.exp: Get working directory and match the
4612 output of "set extended-prompt \\w " with it.
4614 2014-10-30 Doug Evans <dje@google.com>
4616 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4618 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4621 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4623 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4624 * gdb.base/realname-expand.exp: Likewise.
4625 * gdb.linespec/macro-relative.exp: Likewise.
4627 2014-10-29 Pedro Alves <palves@redhat.com>
4630 * gdb.threads/schedlock.c (some_function): New function.
4631 (call_function): New global.
4632 (MAYBE_CALL_SOME_FUNCTION): New macro.
4633 (thread_function): Call it.
4634 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4635 and use it instead of a global counter. Adjust all callers.
4636 (get_current_thread): Use "find current thread" for test message
4637 here rather than having all callers pass down the same string.
4638 (goto_loop): New procedure, factored out from ...
4639 (my_continue): ... this.
4640 (step_ten_loops): Change parameter from test message to command to
4642 (list_count): Delete global.
4643 (check_result): New procedure, factored out from duplicate top
4645 (continue tests): Wrap in with_test_prefix.
4646 (test_step): New procedure, factored out from duplicate top level
4648 (top level): Test "step" in combination with all scheduler-locking
4649 modes. Test "next" in combination with all scheduler-locking
4650 modes, and in combination with stepping over a function call or
4652 * gdb.threads/next-bp-other-thread.c: New file.
4653 * gdb.threads/next-bp-other-thread.exp: New file.
4655 2014-10-29 Pedro Alves <palves@redhat.com>
4658 * gdb.python/python.exp: Test a multi-line command that spawns
4660 * gdb.base/multi-line-starts-subshell.exp: New file.
4662 2014-10-29 Yao Qi <yao@codesourcery.com>
4664 * gdb.base/fileio.exp: Make directories on host.
4666 2014-10-29 Yao Qi <yao@codesourcery.com>
4668 * gdb.base/fileio.c (test_write): Close the file.
4670 2014-10-28 Pedro Alves <palves@redhat.com>
4673 * gdb.base/sigstep.c (no_handler): New global.
4674 (main): If 'no_handler is true, set the signal handlers to
4676 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4677 with_sw_watch and no_handler parameters. Handle them.
4678 (top level) <stepping over handler when stopped at a breakpoint
4679 test>: Add a test axis for testing with a software watchpoint, and
4680 another for testing with the signal handler set to SIG_IGN.
4681 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4682 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4684 2014-10-28 Pedro Alves <palves@redhat.com>
4687 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4688 * gdb.base/sigstep.exp (other_handler_location): New global.
4689 (advance): Support stepping into the signal handler, and running
4690 commands while in the handler.
4691 (in_handler_map): New global.
4692 (top level): In the advance test, add combinations for getting
4693 into the handler with stepping commands, and for running commands
4694 in the handler. Add comment descripting the advancei tests.
4696 2014-10-28 Pedro Alves <palves@redhat.com>
4698 * gdb.base/sigstep.exp: Use build_executable instead of
4699 prepare_for_testing.
4700 (top level): Move code that starts GDB, runs to main and creates a
4702 (restart): ... this new procedure.
4703 (top level): Move backtrace from signal handler test to ...
4704 (validate_backtrace): ... this new procedure.
4705 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4706 with_test_prefix. Always restart GDB.
4707 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4708 with_test_prefix. Always restart GDB. No need to delete
4709 breakpoints after the test.
4710 (test_skip_handler): Remove prefix parameter.
4711 (skip_over_handler, breakpoint_to_handler)
4712 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4713 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4714 restart GDB. No need to delete breakpoints after the test.
4715 (top level): Use foreach to call the test procedures with
4718 2014-10-28 Pedro Alves <palves@redhat.com>
4720 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4721 instead of GNATS numbers.
4722 * gdb.base/sigbpt.exp: Likewise.
4723 * gdb.base/siginfo.exp: Likewise.
4724 * gdb.base/sigstep.exp: Likewise.
4726 2014-10-27 Pedro Alves <palves@redhat.com>
4728 * gdb.base/sigstep.c (dummy): New global.
4729 (main): Issue a couple writes to the new global.
4730 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4732 (skip_over_handler): Use test_skip_handler.
4733 (top level): Call skip_over_handler for stepi and nexti too.
4734 (breakpoint_over_handler): Use test_skip_handler.
4735 (top level): Call breakpoint_over_handler for stepi and nexti too.
4737 2014-10-27 Yao Qi <yao@codesourcery.com>
4739 * gdb.trace/tfile.c (adjust_function_address)
4740 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4741 function descriptor.
4743 2014-10-24 Don Breazeal <donb@codesourcery.com>
4745 * gdb.base/foll-fork.exp (test_follow_fork,
4746 catch_fork_child_follow): Check for updated fork messages emitted
4748 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4749 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4750 vfork_and_exec_child_follow_through_step): Check for updated vfork
4751 messages emitted from infrun.c.
4753 2014-10-24 Pedro Alves <palves@redhat.com>
4755 * gdb.base/corefile.exp: Remove references to ultrix.
4756 * gdb.base/interrupt.exp: Likewise.
4757 * gdb.base/whatis.exp: Likewise.
4758 * gdb.gdb/selftest.exp: Likewise.
4759 * gdb.threads/manythreads.exp: Likewise.
4760 * gdb.threads/print-threads.exp: Likewise.
4761 * gdb.threads/pthreads.exp:: Likewise.
4762 * gdb.threads/schedlock.exp: Likewise.
4764 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4766 * gdb.cp/non-trivial-retval.cc: Add a test case.
4767 * gdb.cp/non-trivial-retval.exp: Add a test.
4769 2014-10-20 Yao Qi <yao@codesourcery.com>
4771 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4772 * gdb.python/py-objfile-script-gdb.py: New file.
4773 * gdb.python/py-objfile-script.exp: Update reference to
4774 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4775 of remote_download. Remove the dest file.
4777 2014-10-20 Yao Qi <yao@codesourcery.com>
4779 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4780 * gdb.base/step-line.exp: Likewise.
4781 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4782 * gdb.dwarf2/dw2-basic.exp: Likewise.
4783 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4784 * gdb.dwarf2/dw2-filename.exp: Likewise.
4785 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4786 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4787 * gdb.dwarf2/dw2-producer.exp: Likewise.
4788 * gdb.dwarf2/mac-fileno.exp: Likewise.
4789 * gdb.python/py-frame-args.exp: Likewise.
4790 * gdb.python/py-framefilter.exp: Likewise.
4791 * gdb.python/py-mi.exp: Likewise.
4792 * gdb.python/py-objfile-script.exp: Likewise
4793 * gdb.python/py-pp-integral.exp: Likewise.
4794 * gdb.python/py-pp-re-notag.exp: Likewise.
4795 * gdb.python/py-prettyprint.exp: Likewise.
4796 * gdb.python/py-section-script.exp: Likewise.
4797 * gdb.python/py-typeprint.exp: Likewise.
4798 * gdb.python/py-xmethods.exp: Likewise.
4799 * gdb.stabs/weird.exp: Likewise.
4800 * gdb.xml/tdesc-regs.exp: Likewise.
4802 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4804 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4805 (out_cu): Use addr_len for the size of addresses.
4806 (out_line): Likewise. Size DW_LNE_set_address instruction
4807 according to addr_len.
4808 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4809 (FUNC): Add START_INSNS to definition.
4811 2014-10-18 Yao Qi <yao@codesourcery.com>
4813 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4814 gdb_has_argv0 return true.
4815 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4816 check [target_info exists noargs], check [gdb_has_argv0]
4818 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4819 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4822 2014-10-17 Doug Evans <dje@google.com>
4824 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4826 * gdb.python/py-events.py: Add clear_objfiles event.
4828 2014-10-17 Doug Evans <dje@google.com>
4830 * gdb.python/py-objfile.exp: Test progspace attribute.
4832 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4834 * gdb.guile/scm-breakpoint.exp: Do not assume any
4835 directory separators when matching source file paths.
4836 * gdb.python/py-breakpoint.exp: Likewise.
4837 * gdb.reverse/break-precsave.exp: Likewise.
4838 * gdb.reverse/break-reverse.exp: Likewise.
4839 * gdb.reverse/consecutive-precsave.exp: Likewise.
4840 * gdb.reverse/finish-precsave.exp: Likewise.
4841 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4842 * gdb.reverse/finish-reverse.exp: Likewise.
4843 * gdb.reverse/i386-precsave.exp: Likewise.
4844 * gdb.reverse/i387-env-reverse.exp: Likewise.
4845 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4846 * gdb.reverse/machinestate-precsave.exp: Likewise.
4847 * gdb.reverse/machinestate.exp: Likewise.
4848 * gdb.reverse/sigall-precsave.exp: Likewise.
4849 * gdb.reverse/solib-precsave.exp: Likewise.
4850 * gdb.reverse/step-precsave.exp: Likewise.
4851 * gdb.reverse/until-precsave.exp: Likewise.
4852 * gdb.reverse/watch-precsave.exp: Likewise.
4853 * gdb.reverse/watch-reverse.exp: Likewise.
4855 2014-10-17 Yao Qi <yao@codesourcery.com>
4857 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4858 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4860 2014-10-17 Pedro Alves <palves@redhat.com>
4863 * gdb.base/bg-execution-repeat.c: New file.
4864 * gdb.base/bg-execution-repeat.exp: New file.
4866 2014-10-17 Pedro Alves <palves@redhat.com>
4869 * gdb.base/continue-all-already-running.c: New file.
4870 * gdb.base/continue-all-already-running.exp: New file.
4872 2014-10-17 Pedro Alves <palves@redhat.com>
4875 * gdb.base/annota-input-while-running.c: New file.
4876 * gdb.base/annota-input-while-running.exp: New file.
4878 2014-10-17 Pedro Alves <palves@redhat.com>
4880 * gdb.base/callfuncs.exp: emove references to osf.
4881 * gdb.base/sigall.exp: Likewise.
4882 * gdb.gdb/selftest.exp: Likewise.
4883 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4884 * gdb.mi/non-stop.c: Likewise.
4885 * gdb.mi/pthreads.c: Likewise.
4886 * gdb.reverse/sigall-precsave.exp: Likewise.
4887 * gdb.reverse/sigall-reverse.exp: Likewise.
4888 * gdb.threads/pthreads.c: Likewise.
4889 * gdb.threads/pthreads.exp: Likewise.
4891 2014-10-17 Yao Qi <yao@codesourcery.com>
4893 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4894 check 'target_info exists noargs'.
4895 (test_command_prompt_position): Likewise.
4896 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4898 (progvar_simple_while_test): Likewise.
4899 (progvar_complex_if_while_test): Likewise.
4900 (if_while_breakpoint_command_test): Likewise.
4901 (infrun_breakpoint_command_test): Likewise.
4902 (breakpoint_command_test): Likewise.
4903 (watchpoint_command_test): Likewise.
4904 (bp_deleted_in_command_test): Likewise.
4905 (temporary_breakpoint_commands): Likewise.
4907 2014-10-16 Yao Qi <yao@codesourcery.com>
4909 * gdb.base/remotetimeout.exp: Remove noargs checking.
4911 2014-10-15 Pedro Alves <palves@redhat.com>
4914 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4915 * gdb.base/breakpoint-in-ro-region.exp
4916 (probe_target_hardware_step): New procedure.
4917 (top level): Probe hardware stepping and hardware breakpoint
4918 support. Test stepping through a read-only region, with both
4919 "breakpoint auto-hw" on and off and both "always-inserted" on and
4922 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4924 * gdb.dlang/demangle.exp: Update for demangling changes.
4926 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4928 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4929 * gdb.cp/non-trivial-retval.exp: Add new tests.
4931 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4935 * gdb.cp/non-trivial-retval.cc: New file.
4936 * gdb.cp/non-trivial-retval.exp: New file.
4938 2014-10-15 Yao Qi <yao@codesourcery.com>
4940 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4943 2014-10-15 Yao Qi <yao@codesourcery.com>
4945 * gdb.python/py-symbol.exp: Match file base name if host is
4946 remote, otherwise match file name with dir name.
4947 * gdb.python/py-symtab.exp: Likewise.
4948 * gdb.python/python.exp: Likewise.
4950 2014-10-15 Yao Qi <yao@codesourcery.com>
4952 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4954 * gdb.python/py-symtab.exp: Likewise.
4955 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4958 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4960 * gdb.ada/addr_arith: New testcase.
4962 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4964 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4965 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4966 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4967 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4969 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4971 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4972 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4973 * gdb.arch/stap-eval-lang-ada.exp: New file.
4975 2014-10-14 Yao Qi <yao@codesourcery.com>
4977 * gdb.mi/mi-var-child.c (nothing1): New function.
4978 (nothing2): New function.
4979 (do_children_tests): Set function pointers by nothing1 and
4981 * gdb.mi/mi-var-child.exp: Step over new added statements.
4982 Update test to match the new output.
4983 * gdb.mi/var-cmd.c (nothing1): New function.
4984 (nothing2): New function.
4985 (do_children_tests): Set function pointers by nothing1 and
4987 * gdb.mi/mi-var-display.exp: Update test to match output.
4988 Step to the line specified by $line_dct_nothing.
4989 Increase the number of lines to step.
4991 2014-10-14 Yao Qi <yao@codesourcery.com>
4993 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4995 * gdb.mi/mi2-var-child.exp: Likewise.
4997 2014-10-13 Doug Evans <dje@google.com>
4999 * gdb.python/py-objfile.exp: Change name of file name test.
5001 2014-10-13 Doug Evans <dje@google.com>
5003 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5004 from the start of the CU.
5006 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5007 Yao Qi <yao@codesourcery.com>
5009 Fix "save breakpoints" for "catch" command.
5010 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5011 Remove -nonewline. Match also the added "main" line.
5013 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5015 Fix "save breakpoints" for "disable $bpnum" command.
5016 * gdb.base/save-bp.c (main): Add label.
5017 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5019 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5021 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5023 2014-10-11 Yao Qi <yao@codesourcery.com>
5025 * gdb.server/server-kill.exp: Execute command
5026 "set remote trace-status-packet on" before "tstatus".
5028 2014-10-11 Yao Qi <yao@codesourcery.com>
5030 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5031 (main): Call getppid.
5032 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5033 and continue to it. Read variable "server_pid".
5035 2014-10-11 Yao Qi <yao@codesourcery.com>
5037 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5039 2014-10-11 Yao Qi <yao@codesourcery.com>
5041 * gdb.threads/thread-find.exp: Don't execute command
5043 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5044 * gdb.threads/linux-dp.exp: Don't check the condition
5045 $threads_created equals to zero.
5047 2014-10-10 Pedro Alves <palves@redhat.com>
5049 * gdb.base/bigcore.exp: Remove references to IRIX.
5050 * gdb.base/funcargs.exp: Likewise.
5051 * gdb.base/interrupt.exp: Likewise.
5052 * gdb.base/mips_pro.exp: Likewise.
5053 * gdb.base/nodebug.exp: Likewise.
5054 * gdb.base/setvar.exp: Likewise.
5055 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5057 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5058 Pedro Alves <palves@redhat.com>
5061 * gdb.base/vdso-warning.c: New file.
5062 * gdb.base/vdso-warning.exp: New file.
5064 2014-10-02 Doug Evans <dje@google.com>
5066 * gdb.base/structs.c (main): Don't run forever.
5068 2014-10-02 Pedro Alves <palves@redhat.com>
5070 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5071 (top level) <stop threads 1, stop threads 2>: Use it.
5073 2014-10-02 Pedro Alves <palves@redhat.com>
5075 * gdb.threads/break-while-running.exp (test): Add new
5076 'update_thread_list' argument. Skip "info threads" if false.
5077 (top level): Add new 'update_thread_list' axis.
5079 2014-10-02 Pedro Alves <palves@redhat.com>
5081 PR breakpoints/17431
5082 * gdb.base/execl-update-breakpoints.c: New file.
5083 * gdb.base/execl-update-breakpoints.exp: New file.
5085 2014-10-01 Pedro Alves <palves@redhat.com>
5087 * gdb.base/breakpoint-in-ro-region.c: New file.
5088 * gdb.base/breakpoint-in-ro-region.exp: New file.
5090 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5092 * gdb.mi/mi-exit-code.exp: New file.
5093 * gdb.mi/mi-exit-code.c: New file.
5095 2014-09-30 Yao Qi <yao@codesourcery.com>
5097 * lib/prelink-support.exp (build_executable_own_libs): Error if
5098 the target isn't native.
5100 2014-09-30 Yao Qi <yao@codesourcery.com>
5102 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5105 2014-09-22 Pedro Alves <palves@redhat.com>
5107 * gdb.threads/break-while-running.exp: New file.
5108 * gdb.threads/break-while-running.c: New file.
5110 2014-09-19 Yao Qi <yao@codesourcery.com>
5112 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5113 Invoke test. Restart GDB with --readnow and invoke test again.
5115 2014-09-19 Yao Qi <yao@codesourcery.com>
5117 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5118 proc set_breakpoint_on_gcd_function. Invoke
5119 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5120 invoke set_breakpoint_on_gcd_function again.
5122 2014-09-18 Doug Evans <dje@google.com>
5124 * gdb.dwarf2/symtab-producer.exp: New file.
5126 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5128 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5129 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5130 * gdb.base/global-var-nested-by-dso.c: Likewise.
5131 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5133 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5134 Pedro Alves <palves@redhat.com>
5136 * gdb.base/watch-bitfields.exp: Pass string other than test file
5137 name to prepare_for_testing.
5138 (watch): New procedure.
5139 (expect_watchpoint): Use with_test_prefix.
5140 (top level): Factor out tests to ...
5141 (test_watch_location, test_regular_watch): ... these new
5142 procedures, and use with_test_prefix and gdb_continue_to_end.
5144 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5146 PR breakpoints/12526
5147 * gdb.base/watch-bitfields.exp: New file.
5148 * gdb.base/watch-bitfields.c: New file.
5150 2014-09-16 Pedro Alves <palves@redhat.com>
5152 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5153 software and hardware addresses, not software address against
5156 2014-09-16 Pedro Alves <palves@redhat.com>
5158 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5159 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5161 2014-09-16 Pedro Alves <palves@redhat.com>
5163 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5165 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5166 "*-*-vxworks*" throughout.
5167 * gdb.base/break.exp: Likewise.
5168 * gdb.base/default.exp: Likewise.
5169 * gdb.base/scope.exp: Likewise.
5170 * gdb.base/sepdebug.exp: Likewise.
5171 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5173 * gdb.base/run.c: Likewise.
5174 * gdb.base/sepdebug.c: Likewise.
5175 * gdb.hp/gdb.aCC/run.c: Likewise.
5176 * gdb.reverse/until-reverse.c: Likewise.
5177 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5179 2014-09-16 Yao Qi <yao@codesourcery.com>
5181 * boards/local-remote-host-native.exp: New file.
5183 2014-09-14 Doug Evans <xdje42@gmail.com>
5185 * gdb.threads/queue-signal.c (thread_count): New variable.
5186 (thread_count_mutex, thread_count_condvar): New variables.
5187 (incr_thread_count, wait_all_threads_running): New functions.
5188 (main): Wait for all threads to be in their thread functions.
5190 2014-09-13 Doug Evans <xdje42@gmail.com>
5192 * gdb.threads/queue-signal.c: New file.
5193 * gdb.threads/queue-signal.exp: New file.
5195 2014-09-13 Doug Evans <xdje42@gmail.com>
5197 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5198 be consistent with what default_gdb_init uses.
5199 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5200 the plain text of the prompt. Add some logging printfs.
5201 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5203 2014-09-12 Pedro Alves <palves@redhat.com>
5205 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5206 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5207 * gdb.arch/i386-size-overlap.exp: Likewise.
5208 * gdb.arch/i386-size.exp: Likewise.
5209 * gdb.arch/i386-unwind.exp: Likewise.
5210 * gdb.base/a2-run.exp: Likewise.
5211 * gdb.base/break.exp: Likewise.
5212 * gdb.base/charset.exp: Likewise.
5213 * gdb.base/chng-syms.exp: Likewise.
5214 * gdb.base/commands.exp: Likewise.
5215 * gdb.base/dbx.exp: Likewise.
5216 * gdb.base/find.exp: Likewise.
5217 * gdb.base/funcargs.exp: Likewise.
5218 * gdb.base/jit-simple.exp: Likewise.
5219 * gdb.base/reread.exp: Likewise.
5220 * gdb.base/sepdebug.exp: Likewise.
5221 * gdb.base/step-bt.exp: Likewise.
5222 * gdb.cp/mb-inline.exp: Likewise.
5223 * gdb.cp/mb-templates.exp: Likewise.
5224 * gdb.objc/basicclass.exp: Likewise.
5225 * gdb.threads/killed.exp: Likewise.
5227 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5230 * gdb.arch/powerpc-stackless.S: New file.
5231 * gdb.arch/powerpc-stackless.exp: New file.
5233 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5235 * gdb.base/attach.c: Include unistd.h.
5236 (main): Call alarm. Add label postloop.
5237 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5238 gdb_breakpoint, gdb_continue_to_breakpoint.
5239 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5241 2014-09-11 Pedro Alves <palves@redhat.com>
5244 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5245 * gdb.base/attach.exp (test_command_line_attach_run): New
5247 (top level): Call it.
5249 2014-09-11 Pedro Alves <palves@redhat.com>
5251 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5252 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5253 (do_command_attach_tests): Use spawn_wait_for_attach.
5254 * gdb.base/solib-overlap.exp: Likewise.
5255 * gdb.multi/multi-attach.exp: Likewise.
5256 * gdb.python/py-prompt.exp: Likewise.
5257 * gdb.python/py-sync-interp.exp: Likewise.
5258 * gdb.server/ext-attach.exp: Likewise.
5260 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5262 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5263 command in testcase. Simplify testcase.
5265 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5267 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5271 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5275 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5279 * gdb.dwarf2/dynarr-ptr.c: New file.
5280 * gdb.dwarf2/dynarr-ptr.exp: New file.
5282 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5284 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5285 of 30 rather than hardcoding 120 for a slow test case. Take the
5286 `gdb,timeout' target setting into account for this calculation.
5287 Don't extend the timeout for the test cases that don't need it.
5289 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5291 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5292 a factor of 2 for a slow test case. Take the `gdb,timeout'
5293 target setting into account for this calculation.
5294 * gdb.reverse/until-precsave.exp: Increase the timeout by
5295 a factor of 15 and 3 respectively rather than adding 120
5296 for a pair of slow test cases. Take the `gdb,timeout'
5297 target setting into account for this calculation.
5299 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5301 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5302 timeout, don't pass one down to gdb_expect.
5303 (gdb_expect): Rework timeout selection.
5305 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5307 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5308 exception on timeout.
5309 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5310 (gdbserver_start_extended): Catch any `gdbserver_start' error
5312 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5313 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5314 `gdbserver_gdb_load' error exceptions.
5316 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5318 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5319 120 on waiting for the TCP socket to open.
5321 2014-09-09 Doug Evans <xdje42@gmail.com>
5323 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5324 _caller_matches, _any_caller_is, _any_caller_matches.
5326 2014-09-09 Doug Evans <xdje42@gmail.com>
5328 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5330 2014-09-09 Yao Qi <yao@codesourcery.com>
5332 * gdb.mi/mi-var-display.exp: Set print symbol off.
5334 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5337 * gdb.base/commands.exp: Add tests to verify user-defined
5338 commands with empty bodies.
5339 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5340 python commands in `show user command`.
5341 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5342 scheme commands in `show user command`.
5344 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5348 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5349 * gdb.python/py-framefilter-invalidarg.exp: New file.
5350 * gdb.python/py-framefilter-invalidarg.py: New file.
5352 2014-09-06 Doug Evans <xdje42@gmail.com>
5355 * gdb.python/py-caller-is.c: New file.
5356 * gdb.python/py-caller-is.exp: New file.
5358 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5361 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5362 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5364 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5367 * gdb.fortran/print-formatted.exp: New file.
5368 * gdb.fortran/print-formatted.f90: Likewise.
5370 2014-09-03 Sasha Smundak <asmundak@google.com>
5372 * gdb.python/py-frame.exp: Test Frame.read_register.
5374 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5377 * gdb.python/py-completion.exp: New file.
5378 * gdb.python/py-completion.py: Likewise.
5380 2014-08-28 Doug Evans <dje@google.com>
5382 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5383 eax,etc. are live with values set by gdb and thus the compiler can't
5385 * gdb.arch/i386-pseudo.c (main): Ditto.
5387 2014-08-27 Doug Evans <dje@google.com>
5389 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5391 2014-08-25 Doug Evans <dje@google.com>
5393 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5396 2014-08-25 Doug Evans <dje@google.com>
5398 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5400 2014-08-24 Yao Qi <yao@codesourcery.com>
5402 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5404 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5406 2014-08-22 Doug Evans <dje@google.com>
5409 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5410 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5411 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5413 2014-08-22 Yao Qi <yao@codesourcery.com>
5415 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5416 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5417 * gdb.python/python.exp: Likewise. Use .py file on the host
5418 instead of the build.
5420 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5422 * gdb.threads/gcore-stale-thread.c: New file.
5423 * gdb.threads/gcore-stale-thread.exp: New file.
5425 2014-08-21 Pedro Alves <palves@redhat.com>
5427 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5428 * gdb.base/gcore-relro-pie.exp: Likewise.
5429 * gdb.base/gcore-relro.exp: Likewise.
5430 * gdb.base/gcore.exp: Likewise.
5431 * gdb.base/print-symbol-loading.exp: Likewise.
5432 * gdb.threads/gcore-thread.exp: Likewise.
5433 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5435 2014-08-20 Pedro Alves <palves@redhat.com>
5436 Jan Kratochvil <jan.kratochvil@redhat.com>
5438 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5440 (EXPECT): Handle READ1 being set.
5441 (all): Depend on EXTRA_RULES.
5442 (check-read1, expect-read1, read1.so, read1): New rules.
5443 * README (Testsuite Parameters): Document the READ1 make variable.
5444 (Race detection): New section.
5445 * configure: Regenerate.
5446 * configure.ac: If build==host==target, and running under a
5447 GNU/glibc system, add read1 to the extra Makefile rules.
5448 (EXTRA_RULES): AC_SUBST it.
5449 * lib/read1.c: New file.
5451 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5453 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5454 the handling of variables declared as a typedef to an array
5455 which a DW_AT_data_location attribute.
5457 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5458 Pedro Alves <palves@redhat.com>
5462 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5465 2014-08-19 Pedro Alves <palves@redhat.com>
5467 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5469 2014-08-19 Yao Qi <yao@codesourcery.com>
5471 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5474 2014-08-18 David Blaikie <dblaikie@gmail.com>
5476 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5478 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5480 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5481 attribute in array range.
5483 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5485 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5487 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5490 * gdb.cp/pr17132.cc: New file.
5491 * gdb.cp/pr17132.exp: New file.
5493 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5495 * gdb.python/py-xmethods.py (A_getarrayind)
5496 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5497 Use 'print' with function call syntax.
5498 (E_method_matcher.match): Fix tab vs space indentation mixup.
5500 2014-08-15 Yao Qi <yao@codesourcery.com>
5502 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5505 2014-08-15 Yao Qi <yao@codesourcery.com>
5507 * gdb.cp/casts.exp: Set print symbol off.
5508 * gdb.cp/class2.exp: Likewise.
5509 * gdb.cp/overload.exp: Likewise.
5510 * gdb.cp/templates.exp: Likewise.
5512 2014-08-11 Doug Evans <dje@google.com>
5514 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5515 (test_load_shlib): Update.
5517 2014-08-09 Yao Qi <yao@codesourcery.com>
5519 * gdb.base/display.exp: Invoke is_address_zero_readable.
5520 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5521 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5522 * gdb.base/hbreak-unmapped.exp: Return if
5523 is_address_zero_readable returns true.
5524 * gdb.base/signest.exp: Likewise.
5525 * gdb.base/signull.exp: Likewise.
5526 * gdb.base/sigbpt.exp: Likewise.
5527 * gdb.guile/scm-disasm.exp: Do the test if
5528 is_address_zero_readable returns false.
5529 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5530 * gdb.python/py-arch.exp: Likewise.
5531 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5532 * lib/gdb.exp (is_address_zero_readable): New proc.
5534 2014-08-09 Yao Qi <yao@codesourcery.com>
5537 * gdb.mi/mi-var-display.exp: Make test messages unique.
5539 2014-08-04 Tom Tromey <tromey@redhat.com>
5541 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5544 2014-08-04 Tom Tromey <tromey@redhat.com>
5546 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5549 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5551 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5552 inner_vla_struct_object_size.
5553 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5556 2014-07-30 Pedro Alves <palves@redhat.com>
5558 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5561 2014-07-29 Yao Qi <yao@codesourcery.com>
5564 * gdb.base/until-nodebug.exp: New.
5566 2014-07-28 Doug Evans <xdje42@gmail.com>
5569 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5570 previously existing parameter, and previously ambiguously spelled
5573 2014-07-28 Will Newton <will.newton@linaro.org>
5575 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5577 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5578 Doug Evans <xdje42@gmail.com>
5581 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5583 2014-07-25 Pedro Alves <palves@redhat.com>
5585 * gdb.threads/signal-command-handle-nopass.c: New file.
5586 * gdb.threads/signal-command-handle-nopass.exp: New file.
5587 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5588 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5589 * gdb.threads/signal-delivered-right-thread.c: New file.
5590 * gdb.threads/signal-delivered-right-thread.exp: New file.
5592 2014-07-25 Pedro Alves <palves@redhat.com>
5594 * gdb.base/double-prompt-target-event-error.exp
5595 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5597 (cancel_pagination_in_target_event): Rework double prompt
5599 * gdb.base/paginate-after-ctrl-c-running.exp
5600 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5602 * gdb.base/paginate-bg-execution.exp
5603 (test_bg_execution_pagination_return)
5604 (test_bg_execution_pagination_cancel): Remove '-notransfer
5606 * gdb.base/paginate-execution-startup.exp
5607 (test_fg_execution_pagination_return)
5608 (test_fg_execution_pagination_cancel): Remove '-notransfer
5610 * gdb.base/paginate-inferior-exit.exp
5611 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5613 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5614 * lib/gdb.exp (pagination_prompt): Run text through
5616 (gdb_test_multiple): Match $pagination_prompt instead of
5618 (string_to_regexp): Move to lib/gdb-utils.exp.
5620 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5622 * gdb.arch/amd64-entry-value-paramref.S: New file.
5623 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5624 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5625 * gdb.arch/amd64-optimout-repeat.S: New file.
5626 * gdb.arch/amd64-optimout-repeat.c: New file.
5627 * gdb.arch/amd64-optimout-repeat.exp: New file.
5629 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5632 * gdb.base/statistics.exp: New file.
5634 2014-07-17 Doug Evans <dje@google.com>
5637 * gdb.base/maint.exp: Update testing of per-command stats.
5639 2014-07-16 Pedro Alves <palves@redhat.com>
5641 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5642 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5643 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5644 (tfile_write_buf): New functions.
5645 (add_memory_block): Rewrite using the above.
5646 (adjust_function_address): New function.
5647 (FUNCTION_ADDRESS): New macro.
5648 (write_basic_trace_file): Remove short_x local, and use
5649 tfile_write_16. Change type of func_addr local to unsigned long
5650 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5651 here. Cast argument of add_memory_block to char pointer.
5652 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5653 (main): Remove parameters.
5654 * gdb.trace/tfile.exp: Remove nowarnings.
5656 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5658 * gdb.base/debug-expr.exp: Test string evaluation with
5659 "debug expression" on.
5661 2014-07-15 Pedro Alves <palves@redhat.com>
5663 * gdb.base/reread.exp: Use clean_restart.
5665 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5667 * gdb.arch/avr-flash-qualifer.c: New.
5668 * gdb.arch/avr-flash-qualifer.exp: New.
5670 2014-07-14 Pedro Alves <palves@redhat.com>
5672 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5673 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5675 2014-07-14 Pedro Alves <palves@redhat.com>
5677 * gdb.base/double-prompt-target-event-error.c: New file.
5678 * gdb.base/double-prompt-target-event-error.exp: New file.
5680 2014-07-14 Pedro Alves <palves@redhat.com>
5683 * gdb.base/paginate-inferior-exit.c: New file.
5684 * gdb.base/paginate-inferior-exit.exp: New file.
5686 2014-07-14 Pedro Alves <palves@redhat.com>
5689 * gdb.base/paginate-bg-execution.c: New file.
5690 * gdb.base/paginate-bg-execution.exp: New file.
5692 2014-07-14 Pedro Alves <palves@redhat.com>
5695 * gdb.base/paginate-execution-startup.c: New file.
5696 * gdb.base/paginate-execution-startup.exp: New file.
5697 * lib/gdb.exp (pagination_prompt): New global.
5698 (default_gdb_spawn): New procedure, factored out from
5700 (default_gdb_start): Adjust to call default_gdb_spawn.
5701 (gdb_spawn): New procedure.
5703 2014-07-14 Pedro Alves <palves@redhat.com>
5705 * lib/gdb.exp (gdb_assert): New procedure.
5706 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5708 2014-07-14 Pedro Alves <palves@redhat.com>
5710 * gdb.base/execution-termios.c: New file.
5711 * gdb.base/execution-termios.exp: New file.
5713 2014-07-14 Tom Tromey <tromey@redhat.com>
5715 * gdb.cp/vla-cxx.cc: New file.
5716 * gdb.cp/vla-cxx.exp: New file.
5718 2014-07-14 Tom Tromey <tromey@redhat.com>
5720 * gdb.reverse/rerun-prec.c: New file.
5721 * gdb.reverse/rerun-prec.exp: New file.
5723 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5724 Maciej W. Rozycki <macro@codesourcery.com>
5726 * lib/gdb-utils.exp: New file.
5727 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5728 inline `gdb_init_command' processing.
5729 (gdb_start_cmd): Likewise.
5730 * lib/mi-support.exp (mi_run_cmd): Likewise.
5731 * README: Document `gdb_init_command' and `gdb_init_commands'.
5733 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5735 Fix false FAIL running under a very long directory name.
5736 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5737 and "set print elements 10000". Twice.
5739 2014-07-11 Yao Qi <yao@codesourcery.com>
5741 * gdb.base/exprs.exp: "set print symbol off".
5743 2014-07-11 Pedro Alves <palves@redhat.com>
5745 * gdb.threads/kill.c: New file.
5746 * gdb.threads/kill.exp: New file.
5748 2014-07-10 Yao Qi <yao@codesourcery.com>
5750 * gdb.trace/tfile.c (write_basic_trace_file)
5751 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5752 address written to trace file.
5754 2014-07-09 Pedro Alves <palves@redhat.com>
5756 * gdb.base/attach-wait-input.exp: New file.
5757 * gdb.base/attach-wait-input.c: New file.
5759 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5761 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5762 setting up test structures.
5763 (main): Call new test function.
5764 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5765 test function, continue into test function and walk test
5768 2014-07-02 Yao Qi <yao@codesourcery.com>
5770 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5771 'bar_start' at the beginning of functions 'foo' and 'bar'
5773 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5774 instead of 'foo' and 'bar'.
5776 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5778 * gdb.btrace/segv.exp: New.
5779 * gdb.btrace/segv.c: New.
5781 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5783 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5786 2014-06-30 Mark Wielaard <mjw@redhat.com>
5788 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5789 vulture, vilify, villar): New volatile array constants.
5790 (vindictive, vegetation): New const volatile array constants.
5791 * gdb.base/volatile.exp: Test volatile and const volatile array
5794 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5796 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5797 target lacks support for awatch, rwatch, or hbreak.
5799 2014-06-27 Yao Qi <yao@codesourcery.com>
5801 * gdb.multi/dummy-frame-restore.exp: New.
5802 * gdb.multi/dummy-frame-restore.c: New.
5804 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5806 * gdb.btrace/gcore.exp: New.
5808 2014-06-23 Pedro Alves <palves@redhat.com>
5810 * gdb.base/watchpoint-reuse-slot.c: New file.
5811 * gdb.base/watchpoint-reuse-slot.exp: New file.
5813 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5815 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5816 progspace's filename in 'info', 'enable' and 'disable' command
5819 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5821 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5823 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5825 2014-06-20 Gary Benson <gbenson@redhat.com>
5827 * gdb.arch/i386-avx.exp: Fix include file location.
5828 * gdb.arch/i386-sse.exp: Likewise.
5830 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5832 * gdb.dlang/expression.exp: New file.
5834 2014-06-19 Pedro Alves <palves@redhat.com>
5836 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5838 (top level): ... here. Iterate running tests under different
5839 scheduler-locking settings.
5841 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5843 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5844 to DW_FORM_addr and use non-zero addresses.
5846 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5849 * gdb.python/py-xmethods.cc: Add global function call counters and
5850 increment them in their respective functions. Remove "cout"
5852 * gdb.python/py-xmethods.exp: Make tests check the global function
5853 call counters instead of depending on inferior IO.
5855 2014-06-18 Don Breazeal <donb@codesourcery.com>
5857 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5859 (explicit_fork_parent_follow): Deleted procedure.
5860 (explicit_fork_child_follow): Deleted procedure.
5861 (test_follow_fork): New procedure.
5862 (do_fork_tests): Replace calls to deleted procedures with
5863 calls to test_follow_fork and reset GDB for subsequent
5866 2014-06-17 Yao Qi <yao@codesourcery.com>
5868 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5871 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5873 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5874 Initialize ptr and S explicitly.
5875 (skip_type_update_when_not_use_rtti_test): Likewise.
5877 2014-06-16 Keith Seitz <keiths@redhat.com>
5880 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5881 the inferior is started.
5883 2014-06-16 Pedro Alves <palves@redhat.com>
5885 * gdb.base/break-main-file-remove-fail.c: New file.
5886 * gdb.base/break-main-file-remove-fail.exp: New file.
5887 * gdb.base/break-unload-file.exp: Use build_executable instead of
5888 prepare_for_testing.
5889 (test_break): New parameter "initial_load". Handle it.
5890 (top level): Add initial_load cmdline/file axis.
5892 2014-06-12 Tom Tromey <tromey@redhat.com>
5894 * gdb.base/completion.exp: Don't use directory name in test.
5896 2014-06-09 Gary Benson <gbenson@redhat.com>
5898 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5899 separate the always-available ANSI-standard signals from the
5900 signals that require checking.
5902 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5906 2014-06-07 Keith Seitz <keiths@redhat.com>
5910 * gdb.cp/var-tag.cc: New file.
5911 * gdb.cp/var-tag.exp: New file.
5912 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5913 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5914 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5915 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5917 2014-06-06 Doug Evans <xdje42@gmail.com>
5919 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5921 2014-06-06 Pedro Alves <palves@redhat.com>
5923 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5924 in target debug output instead of looking at RSP packets,
5925 disabling the test on any target that uses hardware stepping.
5928 2014-06-06 Pedro Alves <palves@redhat.com>
5930 * gdb.base/break-unload-file.exp: Fix typo.
5932 2014-06-06 Yao Qi <yao@codesourcery.com>
5934 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5935 from "jit_function" to "^jit_function".
5937 2014-06-06 Yao Qi <yao@codesourcery.com>
5939 * gdb.base/async.c (foo): Add one statement.
5940 * gdb.base/async.exp: Get the next instruction address and
5941 match the output of "nexti" by instruction address. Match
5942 the hex address in the output of "finish".
5944 2014-06-06 Gary Benson <gbenson@redhat.com>
5946 * gdb.base/call-signals.c: Remove preprocessor conditionals
5947 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5948 SIGSEGV and SIGTERM.
5949 * gdb.base/sigall.c: Likewise.
5950 * gdb.base/unwindonsignal.c: Likewise.
5951 * gdb.reverse/sigall-reverse.c: Likewise.
5953 2014-06-06 Yao Qi <yao@codesourcery.com>
5955 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5956 readable, skip the test.
5958 2014-06-06 Yao Qi <yao@codesourcery.com>
5960 * gdb.threads/staticthreads.c (thread_function): Move the line
5961 setting breakpoint on forward.
5962 * gdb.threads/staticthreads.exp: Update comments.
5964 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5966 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5967 "history-append! type error".
5969 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5971 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5972 erroneous dprintf expected input.
5974 2014-06-04 Doug Evans <xdje42@gmail.com>
5976 * gdb.guile/scm-generics.exp: Delete.
5978 2014-06-04 Doug Evans <xdje42@gmail.com>
5980 * gdb.guile/scm-breakpoint.exp: Update.
5981 Add tests for breakpoint registration.
5983 2014-06-04 Tom Tromey <tromey@redhat.com>
5985 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5987 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5988 inner_vla_struct, vla_union types. Initialize objects of those
5989 types and compute their sizes.
5991 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5992 Hui Zhu <hui@codesourcery.com>
5994 * gdb.base/fileio.exp: Add test for shell not available as well as
5996 * gdb.base/fileio.c (test_system): Check for shell twice.
5998 2014-06-04 Yao Qi <yao@codesourcery.com>
6000 * gdb.base/auto-connect-native-target.exp: Remove redundant
6001 space from the regexp pattern.
6003 2014-06-04 Yao Qi <yao@codesourcery.com>
6005 * gdb.base/default.exp: Replace "child" with "native" in
6008 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6010 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6011 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6012 * gdb.python/py-xmethods.py: Python script supporting the
6013 new testcase and tests.
6015 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6016 Pedro Alves <palves@redhat.com>
6018 PR breakpoints/17000
6019 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6020 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6022 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6024 * gdb.base/subst.exp: Add tests to verify partial path matching
6027 2014-06-03 Pedro Alves <palves@redhat.com>
6029 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6030 target that doesn't use software single-stepping.
6032 2014-06-03 Pedro Alves <palves@redhat.com>
6034 PR breakpoints/17000
6035 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6036 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6038 2014-06-02 Doug Evans <xdje42@gmail.com>
6040 * gdb.guile/scm-parameter.exp: New file.
6042 2014-06-02 Doug Evans <xdje42@gmail.com>
6044 * gdb.guile/scm-cmd.c: New file.
6045 * gdb.guile/scm-cmd.exp: New file.
6047 2014-06-02 Doug Evans <xdje42@gmail.com>
6049 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6050 pretty-printer lookup.
6051 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6052 (make-pp_s-printer): Call it.
6053 (make-pretty-printer-from-dict): New function.
6054 (lookup-pretty-printer-maker-from-dict): New function.
6055 (*pretty-printer*): Simplify.
6056 (make-objfile-pp_s-printer): New function.
6057 (install-objfile-pretty-printers!): New function.
6058 (make-progspace-pp_s-printer): New function.
6059 (install-progspace-pretty-printers!): New function.
6060 * gdb.guile/scm-progspace.c: New file.
6061 * gdb.guile/scm-progspace.exp: New file.
6063 2014-06-02 Pedro Alves <palves@redhat.com>
6065 * gdb.base/dprintf-bp-same-addr.c: New file.
6066 * gdb.base/dprintf-bp-same-addr.exp: New file.
6068 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6070 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6071 * gdb.arch/powerpc-power.s: Likewise.
6073 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6075 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6077 2014-06-01 Yao Qi <yao@codesourcery.com>
6079 * gdb.base/watchpoint.exp (test_watch_location): Check null
6080 pointer can be dereferenced. If not, do the test, otherwise
6083 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6085 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6087 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6089 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6091 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6092 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6093 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6094 * gdb.arch/amd64-invalid-stack-top.c: New file.
6095 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6097 2014-05-30 Pedro Alves <palves@redhat.com>
6099 PR breakpoints/17000
6100 * gdb.base/sss-bp-on-user-bp.c: New file.
6101 * gdb.base/sss-bp-on-user-bp.exp: New file.
6103 2014-05-30 David Blaikie <dblaikie@gmail.com>
6105 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6106 gnu_inline semantics via attribute.
6107 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6108 source explicitly specifies the required semantics.
6110 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6112 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6114 2014-05-29 Pedro Alves <palves@redhat.com>
6115 Tom Tromey <tromey@redhat.com>
6117 * gdb.base/async-shell.exp: Don't enable target-async.
6118 * gdb.base/async.exp
6119 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6121 (top level): Don't test with "target-async".
6122 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6123 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6124 * gdb.base/inferior-died.exp: Don't enable target-async.
6125 * gdb.base/interrupt-noterm.exp: Likewise.
6126 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6127 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6128 * gdb.mi/mi-nonstop.exp: Likewise.
6129 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6130 * gdb.mi/mi-nsintrall.exp: Likewise.
6131 * gdb.mi/mi-nsmoribund.exp: Likewise.
6132 * gdb.mi/mi-nsthrexec.exp: Likewise.
6133 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6134 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6135 * gdb.python/py-evsignal.exp: Don't enable target-async.
6136 * gdb.python/py-evthreads.exp: Likewise.
6137 * gdb.python/py-prompt.exp: Likewise.
6138 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6139 * gdb.server/solib-list.exp: Don't enable target-async.
6140 * gdb.threads/thread-specific-bp.exp: Likewise.
6141 * lib/mi-support.exp: Adjust to use mi-async.
6143 2014-05-29 Pedro Alves <palves@redhat.com>
6146 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6147 reason, even in sync mode.
6149 2014-05-29 Pedro Alves <palves@redhat.com>
6150 Hui Zhu <hui@codesourcery.com>
6153 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6154 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6155 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6156 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6158 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6160 * config/monitor.exp (gdb_target_monitor): Replace use of
6161 "set remotebaud" by "set serial baud".
6163 2014-05-26 Andy Wingo <wingo@igalia.com>
6165 * gdb.guile/scm-breakpoint.exp:
6166 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6167 properties instead of gdb-object-properties.
6169 2014-05-26 Yao Qi <yao@codesourcery.com>
6171 * gdb.server/no-thread-db.exp: Specify source file name
6172 explicitly when setting a breakpoint.
6174 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6176 * gdb.btrace/vdso.c: New.
6177 * gdb.btrace/vdso.exp: New.
6179 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6181 * gdb.base/gcore.exp (capture_command_output): Move ...
6182 * lib/gdb.exp (capture_command_output): ... here.
6184 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6186 * gdb.btrace/data.exp: Test memory access during btrace replay.
6188 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6190 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6192 2014-05-21 Pedro Alves <palves@redhat.com>
6195 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6196 (top level): Test that output related to execution commands is
6197 sent to the console with CLI commands, but not with MI commands.
6198 Test that breakpoint events are always mirrored to the console.
6199 Also expect the new source line to be output after a "next" in
6200 async mode too. Make it a pass/fail test.
6201 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6203 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6205 2014-05-21 Pedro Alves <palves@redhat.com>
6207 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6208 Use them to test variations of "list" after reaching a breakpoint.
6209 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6210 Test "list" with listsize 10 after reaching a breakpoint.
6211 * gdb.python/python.exp (decode_line current location line
6212 number): Adjust expected line number.
6214 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6216 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6217 behavior for $args, pass it directly to "run".
6219 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6221 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6224 2014-05-21 Pedro Alves <palves@redhat.com>
6226 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6227 auto-connect-native-target off".
6228 * gdb.base/auto-connect-native-target.c: New file.
6229 * gdb.base/auto-connect-native-target.exp: New file.
6231 2014-05-21 Pedro Alves <palves@redhat.com>
6233 * gdb.base/default.exp: Test "target native" instead of "target
6236 2014-05-21 Mark Wielaard <mjw@redhat.com>
6238 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6240 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6242 Fix TLS access for -static -pthread.
6243 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6244 <HAVE_TLS> (thread_function, main): Initialize it.
6245 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6247 <$have_tls != "">: Check TLSVAR.
6249 2014-05-21 Pedro Alves <palves@redhat.com>
6251 * gdb.base/dcache-line-read-error.c: New.
6252 * gdb.base/dcache-line-read-error.exp: New.
6254 2014-05-20 Pedro Alves <palves@redhat.com>
6256 * gdb.base/compare-sections.c: New file.
6257 * gdb.base/compare-sections.exp: New file.
6259 2014-05-20 Pedro Alves <palves@redhat.com>
6261 * gdb.base/break-idempotent.c: New file.
6262 * gdb.base/break-idempotent.exp: New file.
6264 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6266 * gdb.btrace/nohist.exp: New.
6268 2014-05-20 Yao Qi <yao@codesourcery.com>
6270 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6271 gdb.reverse directory and gdb_reverse_timeout exists in board
6273 * README: Document gdb_reverse_timeout.
6275 2014-05-20 Yao Qi <yao@codesourcery.com>
6277 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6278 'test_file_name'. Treat args as a string instead of a list.
6279 (gdb_init): Rename argument 'args' by 'test_file_name'.
6281 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6283 * gdb.arch/powerpc-power.exp: New file.
6284 * gdb.arch/powerpc-power.s: New file.
6286 2014-05-16 Doug Evans <dje@google.com>
6288 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6289 * gdb.base/completion.exp: Check that all expected files exist
6290 before doing file completion.
6292 2014-05-16 Doug Evans <dje@google.com>
6294 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6296 (do_syscall_tests_without_xml): Update.
6298 2014-05-16 Pedro Alves <palves@redhat.com>
6300 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6301 instead of "unknown output after running".
6303 2014-05-16 Yao Qi <yao@codesourcery.com>
6305 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6306 file1.txt from host at the end.
6307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6309 2014-05-15 Doug Evans <dje@google.com>
6311 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6312 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6313 loading file. Add test for TU lookup.
6315 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6317 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6318 calling "-exec-arguments" or "set args" before running the
6321 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6323 * lib/mi-support.exp (mi_expect_stop): Expect message for
6324 inferiors that exit with non-zero exit code.
6326 2014-05-14 Yao Qi <yao@codesourcery.com>
6328 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6329 match absolute path on remote host.
6330 (test_file_list_exec_source_files): Remove "/" from the
6333 2014-05-14 Yao Qi <yao@codesourcery.com>
6335 * boards/local-remote-host-notty.exp (${board}_file): New
6338 2014-05-07 Kyle McMartin <kyle@redhat.com>
6340 Pushed by Joel Brobecker <brobecker@adacore.com>.
6341 * gdb.arch/aarch64-atomic-inst.c: New file.
6342 * gdb.arch/aarch64-atomic-inst.exp: New file.
6344 2014-05-07 Yao Qi <yao@codesourcery.com>
6346 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6347 in current context" too.
6349 2014-05-05 Keith Seitz <keiths@redhat.com>
6351 * gdb.linespec/ls-dollar.exp: Add test for linespec
6352 file:convenience_variable.
6354 2014-05-05 Yao Qi <yao@codesourcery.com>
6356 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6357 traceframes into tfile and ctf trace files. Read data from
6358 trace file and test collected data.
6359 (gdb_collect_locals_test): Likewise.
6360 (gdb_unavailable_registers_test): Likewise.
6361 (gdb_unavailable_floats): Likewise.
6362 (gdb_collect_globals_test): Likewise.
6363 (top-level): Append "ctf" to trace_file_targets if GDB
6366 2014-05-05 Yao Qi <yao@codesourcery.com>
6368 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6370 (gdb_collect_args_test_1): ... it. New proc.
6371 (gdb_collect_locals_test): Move some code to ...
6372 (gdb_collect_locals_test_1): ... it. New proc.
6373 (gdb_unavailable_registers_test): Move some code to ...
6374 (gdb_unavailable_registers_test_1): ... it. New proc.
6375 (gdb_unavailable_floats): Move some code to ...
6376 (gdb_unavailable_floats_1): ... it. New proc.
6378 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6380 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6381 probes to test for bitness recognition.
6382 * gdb.arch/amd64-stap-optional-prefix.exp
6383 (test_probe_value_without_reg): New procedure.
6384 Add code to test for different kinds of bitness.
6386 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6388 PR breakpoints/16889
6389 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6392 2014-05-01 Pedro Alves <palves@redhat.com>
6394 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6395 gdb_file_cmd if no file is specified.
6396 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6397 last_loaded_file to set the remote exec-file.
6399 2014-05-01 Pedro Alves <palves@redhat.com>
6401 * boards/local-remote-host.exp: New file.
6403 2014-05-01 Pedro Alves <palves@redhat.com>
6405 * boards/local-remote-host.exp: Rename to ...
6406 * boards/local-remote-host-notty.exp: ... this.
6408 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6410 * gdb.ada/dyn_arrayidx: New testcase.
6412 2014-04-26 Yao Qi <yao@codesourcery.com>
6414 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6415 and compute the length of function main. Save it in
6417 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6418 (top-level): Use gdb_compile to compile objects into
6419 executable and restart GDB. Remove invocation to
6420 prepare_for_testing.
6422 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6423 Pedro Alves <palves@redhat.com>
6426 * gdb.multi/multi-attach.c: New file.
6427 * gdb.multi/multi-attach.exp: New file.
6429 2014-04-25 Pedro Alves <palves@redhat.com>
6431 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6433 (top level): Test that "set remote conditional-breakpoints-packet
6434 off" works as intended.
6435 * gdb.base/dprintf.exp: Test that "set remote
6436 breakpoint-commands-packet off" works as intended.
6437 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6439 (top level): Call it.
6440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6441 remote fast-tracepoints-packet off" works as intended.
6442 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6443 * lib/gdb.exp (gdb_is_target_remote): ... here.
6445 2014-04-24 David Blaikie <dblaikie@gmail.com>
6447 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6448 ensure clang would not discard them.
6449 * gdb.base/gdbvars.c: Ditto.
6450 * gdb.base/memattr.c: Ditto.
6451 * gdb.base/whatis.c: Ditto.
6452 * gdb.python/py-prettyprint.c: Ditto.
6453 * gdb.trace/actions.c: Ditto.
6454 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6455 ensure clang would not discard it.
6457 2014-04-24 David Blaikie <dblaikie@gmail.com>
6459 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6460 clang to emit the full definition of type required by the test
6461 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6463 2014-04-24 David Blaikie <dblaikie@gmail.com>
6465 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6466 coax Clang into emitting the definition of the type.
6467 * gdb.cp/pr10728-x.h (y): Ditto.
6468 * gdb.cp/pr10728-y.cc (y): Ditto.
6470 2014-04-24 David Blaikie <dblaikie@gmail.com>
6472 * gdb.base/label.exp: XFAIL label related tests under Clang.
6473 * gdb.cp/cplabel.exp: Ditto.
6474 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6475 under Clang those using labels.
6477 2014-04-25 Yao Qi <yao@codesourcery.com>
6479 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6481 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6482 partial_label and double_label.
6484 2014-04-24 David Blaikie <dblaikie@gmail.com>
6486 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6488 2014-04-24 David Blaikie <dblaikie@gmail.com>
6490 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6491 of the function to work across GCC and Clang.
6492 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6493 pointer types (const void ** const V void **).
6495 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6496 Walfred Tedeschi <walfred.tedeschi@intel.com>
6498 * Makefile.in (EXECUTABLES): Added i386-avx512.
6499 * gdb.arch/i386-avx512.c: New file.
6500 * gdb.arch/i386-avx512.exp: Likewise.
6502 2014-04-23 Keith Seitz <keiths@redhat.com>
6504 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6505 (mi_make_breakpoint_table): New procedure.
6506 (mi_create_breakpoint): Use mi_make_breakpoint
6507 and return the result.
6508 (mi_make_breakpoint): New procedure.
6509 (mi_build_kv_pairs): New procedure.
6511 * gdb.mi/mi-break.exp: Remove unused globals,
6512 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6513 All callers updated.
6514 * gdb.mi/mi-dprintf.exp: Use variable to track command
6516 Update all callers of mi_create_breakpoint and use
6517 mi_make_breakpoint_table.
6518 Remove any unused global variables.
6519 * gdb.mi/mi-nonstop.exp: Likewise.
6520 * gdb.mi/mi-nsintrall.exp: Likewise.
6521 * gdb.mi/mi-nsmoribund.exp: Likewise.
6522 * gdb.mi/mi-nsthrexec.exp: Likewise.
6523 * gdb.mi/mi-reverse.exp: Likewise.
6524 * gdb.mi/mi-simplerun.exp: Likewise.
6525 * gdb.mi/mi-stepn.exp: Likewise.
6526 * gdb.mi/mi-syn-frame.exp: Likewise.
6527 * gdb.mi/mi-until.exp: Likewise.
6528 * gdb.mi/mi-var-cp.exp: Likewise.
6529 * gdb.mi/mi-var-display.exp: Likewise.
6530 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6531 * gdb.mi/mi2-var-child.exp: Likewise.
6532 * gdb.mi/mi-vla-c99.exp: Likewise.
6533 * lib/mi-support.exp: Likewise.
6535 From Ian Lance Taylor <iant@cygnus.com>:
6536 * lib/gdb.exp (parse_args): New procedure.
6538 2014-04-23 Pedro Alves <palves@redhat.com>
6540 * gdb.base/break-unload-file.c: New file.
6541 * gdb.base/break-unload-file.exp: New file.
6542 * gdb.base/sym-file-lib.c (baz): New function.
6543 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6545 (load): Store the segment's mapped size.
6546 (unload): New function.
6547 (unload_shlib): New function.
6548 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6549 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6550 set a breakpoint at baz, and call it.
6551 * gdb.base/sym-file.exp: New tests for stale breakpoint
6554 2014-04-23 Pedro Alves <palves@redhat.com>
6556 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6557 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6558 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6559 * gdb.base/hbreak-unmapped.c: New file.
6560 * gdb.base/hbreak-unmapped.exp: New file.
6561 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6562 * lib/gdb.exp (gdb_is_target_remote): ... here.
6564 2014-04-22 Pedro Alves <palves@redhat.com>
6566 * gdb.base/consecutive-step-over.c: New file.
6567 * gdb.base/consecutive-step-over.exp: New file.
6569 2014-04-22 Pedro Alves <palves@redhat.com>
6571 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6572 instead of send_gdb/gdb_expect.
6574 2014-04-22 Yao Qi <yao@codesourcery.com>
6576 * lib/trace-support.exp (generate_tracefile): New procedure.
6577 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6579 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6580 if generate_tracefile returns 1.
6582 2014-04-18 Tom Tromey <palves@redhat.com>
6583 Pedro alves <tromey@redhat.com>
6586 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6587 with a backtrace limit.
6588 * gdb.python/py-frame-inline.exp: Test running to an inline
6589 function with a backtrace limit, and printing the newest frame.
6590 * gdb.python/py-frame-inline.c (main): Call f.
6592 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6594 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6598 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6599 Drop prefix from unsupported source file path.
6601 2014-04-17 Yao Qi <yao@codesourcery.com>
6603 * lib/gdb.exp (with_target_charset): New proc.
6604 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6605 with_target_charset.
6606 (test_print_strings): Likewise.
6607 (test_repeat_bytes): Likewise.
6608 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6611 2014-04-16 Keith Seitz <keiths@redhat.com>
6614 * gdb.dwarf2/corrupt.c: New file.
6615 * gdb.dwarf2/corrupt.exp: New file.
6617 2014-04-16 Keith Seitz <keiths@redhat.com>
6620 * gdb.cp/namelessclass.cc: New file.
6621 * gdb.cp/namelessclass.exp: New file.
6622 * gdb.cp/namelessclass.S: New file.
6624 2014-04-16 Doug Evans <dje@google.com>
6626 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6628 (gdbserver_default_get_comm_port): New function.
6629 (gdbserver_start): Check if board file provided
6630 "gdbserver,get_comm_port" and use it if so.
6631 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6632 (gdb,socketport): Set to "stdio".
6633 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6634 (stdio_gdbserver_template): Delete.
6635 (${board}_get_remote_address): Update.
6636 (${board}_build_remote_cmd): Delete.
6637 (${board}_get_comm_port): New function.
6638 (${board}_spawn): Update.
6639 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6641 (${board}_get_remote_address): Update.
6642 (${board}_get_comm_port): New function.
6644 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6646 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6647 appearing in any order.
6649 2014-04-15 Doug Evans <dje@google.com>
6651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6652 uninitialized value of "description".
6654 2014-04-15 Keith Seitz <keiths@redhat.com>
6656 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6657 Remove unused globals.
6658 (test_running_the_program): Likewise.
6659 (test_controlled_execution): Likewise.
6660 (test_controlling_breakpoints): Likewise.
6661 (test_program_termination): Likewise.
6663 2014-04-15 Keith Seitz <keiths@redhat.com>
6665 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6667 (test_rbreak_creation_and_listing): Likewise.
6668 (test_ignore_count): Likewise.
6669 (test_error): Likewise.
6671 2014-04-15 Pedro Alves <palves@redhat.com>
6673 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6674 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6676 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6677 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6678 to sym-file-loader.c.
6679 (struct library): Forward declare.
6680 (load_shlib, lookup_function): Change prototypes.
6681 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6682 (translate_offset): Remove declarations.
6683 (get_text_addr): New declaration.
6684 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6685 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6687 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6688 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6689 here from sym-file-loader.h.
6690 (struct library): New structure.
6691 (load_shlib, lookup_function): Change prototypes and adjust to
6692 work with a struct library.
6693 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6694 (translate_offset): Make static.
6695 (get_text_addr): New function.
6696 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6698 2014-04-15 Pedro Alves <palves@redhat.com>
6700 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6702 2014-04-15 Pedro Alves <palves@redhat.com>
6704 * gdb.base/sym-file-loader.c: Include <limits.h>.
6705 (SELF_LINK): New define.
6706 (get_origin): New function.
6707 (load_shlib): Use it.
6708 * gdb.base/sym-file.exp: Don't early return if the target is
6709 remote. Use runto_main, and issue fail is that fails. Use
6711 (shlib_name): Delete.
6712 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6714 2014-04-15 Pedro Alves <palves@redhat.com>
6716 * gdb.base/sym-file.exp: Remove regex characters from test
6717 message. Don't refer to breakpoint numbers in test messages.
6719 2014-04-14 Keith Seitz <keiths@redhat.com>
6722 * gdb.cp/var-tag.cc: New file.
6723 * gdb.cp/var-tag.exp: New file.
6724 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6725 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6726 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6727 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6729 2014-04-14 Tom Tromey <tromey@redhat.com>
6731 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6732 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6734 * gdb.cp/enum-class.exp: New file.
6735 * gdb.cp/enum-class.cc: New file.
6737 2014-04-14 Tom Tromey <tromey@redhat.com>
6739 * gdb.dwarf2/enum-type.exp: New file.
6741 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6743 * gdb.mi/mi-vla-c99.exp: New file.
6744 * gdb.mi/vla.c: New file.
6746 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6748 * gdb.base/vla-datatypes.c: New file.
6749 * gdb.base/vla-datatypes.exp: New file.
6751 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6753 * gdb.base/vla-ptr.c: New file.
6754 * gdb.base/vla-ptr.exp: New file.
6756 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6758 * gdb.dwarf2/count.exp: New file.
6760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6762 * gdb.base/vla-sideeffect.c: New file.
6763 * gdb.base/vla-sideeffect.exp: New file.
6765 2014-04-14 David Blaikie <dblaikie@gmail.com>
6767 * gdb.mi/non-stop.c: Add return value for non-void function return
6769 * gdb.threads/staticthreads.c: Ditto.
6771 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6772 Doug Evans <xdje42@gmail.com>
6774 * gdb.guile/scm-value.c: Improve test case.
6775 * gdb.guile/scm-value.exp: Add new test.
6777 2014-04-11 David Blaikie <dblaikie@gmail.com>
6779 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6780 override Clang's default.
6782 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6784 Revert the following changes (regressions):
6786 * gdb.base/vla-sideeffect.c: New file.
6787 * gdb.base/vla-sideeffect.exp: New file.
6789 * gdb.dwarf2/count.exp: New file.
6791 * gdb.base/vla-multi.c: New file.
6792 * gdb.base/vla-multi.exp: New file.
6794 * gdb.base/vla-ptr.c: New file.
6795 * gdb.base/vla-ptr.exp: New file.
6797 * gdb.base/vla-datatypes.c: New file.
6798 * gdb.base/vla-datatypes.exp: New file.
6800 * gdb.mi/mi-vla-c99.exp: New file.
6801 * gdb.mi/vla.c: New file.
6803 2014-04-11 Keith Seitz <keiths@redhat.com>
6806 * gdb.cp/cpsizeof.exp: New file.
6807 * gdb.cp/cpsizeof.cc: New file.
6809 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6811 * gdb.mi/mi-vla-c99.exp: New file.
6812 * gdb.mi/vla.c: New file.
6814 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6816 * gdb.base/vla-datatypes.c: New file.
6817 * gdb.base/vla-datatypes.exp: New file.
6819 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6821 * gdb.base/vla-ptr.c: New file.
6822 * gdb.base/vla-ptr.exp: New file.
6824 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6826 * gdb.base/vla-multi.c: New file.
6827 * gdb.base/vla-multi.exp: New file.
6829 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6831 * gdb.dwarf2/count.exp: New file.
6833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6835 * gdb.base/vla-sideeffect.c: New file.
6836 * gdb.base/vla-sideeffect.exp: New file.
6838 2014-04-11 Yao Qi <yao@codesourcery.com>
6840 * gdb.base/completion.exp: Check file exists before running tests
6843 2014-04-10 Pedro Alves <palves@redhat.com>
6845 * gdb.base/cond-eval-mode.c: New file.
6846 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6847 prepare_for_testing to build the new file. Check result of
6849 (test_break, test_watch): New procedures.
6850 (top level): Use them.
6852 2014-04-08 Pierre Muller <muller@sourceware.org>
6854 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6855 Ctrl-V use for mingw hosts.
6857 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6859 * gdb.python/py-value.c: Improve test case.
6860 * gdb.python/py-value.exp: Add new test.
6862 2014-04-07 David Blaikie <dblaikie@gmail.com>
6864 * lib/compiler.c: Identify the clang compiler.
6865 * lib/compiler.cc: Ditto.
6867 2014-04-03 Yao Qi <yao@codesourcery.com>
6869 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6871 2014-04-01 Anton Blanchard <anton@samba.org>
6873 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6876 2014-04-01 Anton Blanchard <anton@samba.org>
6878 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6879 prepare_for_testing.
6881 2014-04-01 Anton Blanchard <anton@samba.org>
6883 * gdb.arch/ppc64-atomic-inst.c: Remove.
6884 * gdb.arch/ppc64-atomic-inst.S: New file.
6885 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6887 2014-03-31 Doug Evans <dje@google.com>
6889 * gdb.base/print-symbol-loading-lib.c: New file.
6890 * gdb.base/print-symbol-loading-main.c: New file.
6891 * gdb.base/print-symbol-loading.exp: New file.
6893 2014-03-31 Yao Qi <yao@codesourcery.com>
6895 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6897 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6899 * gdb.ada/mi_dyn_arr: New testcase.
6901 2014-03-27 Doug Evans <dje@google.com>
6903 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6905 2014-03-27 Yao Qi <yao@codesourcery.com>
6907 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6908 if target is nios2-*-*.
6910 2014-03-26 Yao Qi <yao@codesourcery.com>
6912 * lib/gdb.exp (readline_is_used): New proc.
6913 * gdb.base/completion.exp: Move tests on command complete up.
6914 Skip the rest of tests if readline is not used.
6915 * gdb.ada/complete.exp: Skp the test if readline is not
6917 * gdb.base/filesym.exp: Likewise.
6918 * gdb.base/macscp.exp: Likewise.
6919 * gdb.base/readline-ask.exp: Likewise.
6920 * gdb.base/readline.exp: Likewise.
6921 * gdb.python/py-cmd.exp: Likewise.
6922 * gdb.trace/tfile.exp: Likewise.
6924 2014-03-26 Yao Qi <yao@codesourcery.com>
6926 * gdb.base/macscp.exp: Fix code format issues.
6928 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6930 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6931 * gdb.asm/powerpc64le.inc: New file.
6933 2014-03-25 Pedro Alves <palves@redhat.com>
6934 Doug Evans <dje@google.com>
6936 * gdb.base/source-execution.c: New file.
6937 * gdb.base/source-execution.exp: New file.
6938 * gdb.base/source-execution.gdb: New file.
6940 2014-03-24 Doug Evans <dje@google.com>
6942 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6945 2014-03-24 Hui Zhu <hui@codesourcery.com>
6946 Pedro Alves <palves@redhat.com>
6948 PR breakpoints/16101
6949 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6950 test pass/fail messages. Detect missing support for dprintf when
6951 breakpoints are actually inserted.
6952 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6953 breakpoints are actually inserted.
6954 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6957 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6959 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6961 2014-03-22 Doug Evans <xdje42@gmail.com>
6963 * gdb.python/python.exp (python not supported): Verify multi-line
6964 python command issues an error.
6965 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6966 guile command issues an error.
6968 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6970 * gdb.threads/thread-specific.exp: Handle the lack of usable
6971 $this_breakpoint and $this_thread.
6973 2014-03-21 Hui Zhu <hui@codesourcery.com>
6975 * gdb.base/attach.exp (do_command_attach_tests): New.
6977 2014-03-20 Tom Tromey <tromey@redhat.com>
6978 Pedro Alves <palves@redhat.com>
6981 * gdb.base/condbreak-call-false.c: New file.
6982 * gdb.base/condbreak-call-false.exp: New file.
6984 2014-03-20 Pedro Alves <palves@redhat.com>
6986 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6988 (block_signals, unblock_signals): Delete.
6989 (child_function_2, main): Remove references to deleted variable
6992 2014-03-20 Pedro Alves <palves@redhat.com>
6994 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6995 Use pthread_kill to signal thread 2.
6996 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6997 Adjust to make the test send itself a signal rather than using the
6998 host's "kill" command.
7000 2014-03-20 Pedro Alves <palves@redhat.com>
7002 * gdb.threads/multiple-step-overs.c: New file.
7003 * gdb.threads/multiple-step-overs.exp: New file.
7004 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7005 Adjust expected infrun debug output.
7007 2014-03-20 Pedro Alves <palves@redhat.com>
7009 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7010 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7012 2014-03-20 Pedro Alves <palves@redhat.com>
7015 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7016 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7017 of gdb_test_multiple.
7018 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7019 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7021 2014-03-20 Pedro Alves <palves@redhat.com>
7023 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7024 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7026 2014-03-19 Pedro Alves <palves@redhat.com>
7028 * gdb.base/async.exp: Remove early return.
7030 2014-03-19 Pedro Alves <palves@redhat.com>
7032 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7034 2014-03-19 Pedro Alves <palves@redhat.com>
7036 * gdb.base/async.exp (test_background): Expect \r\n after
7037 "completed." in the fail pattern.
7039 2014-03-19 Pedro Alves <palves@redhat.com>
7041 * gdb.base/async.exp (test_background): New procedure.
7042 Use it for all background execution command tests.
7044 2014-03-19 Pedro Alves <palves@redhat.com>
7046 * gdb.base/async.exp: Use prepare_for_testing.
7048 2014-03-19 Pedro Alves <palves@redhat.com>
7050 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7053 2014-03-19 Pedro Alves <palves@redhat.com>
7055 * gdb.base/async.c (main): Add "jump here" and "until here" line
7057 * gdb.base/async.exp (jump_here): New global.
7058 (jump& test): Use it.
7059 (until_here): New global.
7060 (until& test): Use it.
7062 2014-03-19 Pedro Alves <palves@redhat.com>
7064 * gdb.base/async.exp: Don't frob gdb_protocol.
7066 2014-03-18 Doug Evans <xdje42@gmail.com>
7068 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7069 Fix spelling of exec-done-display.
7071 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7074 * gdb.base/gdb-sigterm.c: New file.
7075 * gdb.base/gdb-sigterm.exp: New file.
7077 2014-03-18 Pedro Alves <palves@redhat.com>
7080 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7081 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7084 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7086 * gdb.ada/pckd_arr_ren: New testcase.
7088 2014-03-13 Doug Evans <xdje42@gmail.com>
7091 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7092 collect after discarding symbols.
7094 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7095 Doug Evans <xdje42@gmail.com>
7097 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7098 to history survives a gc.
7100 2014-03-13 Pedro Alves <palves@redhat.com>
7102 * gdb.base/default.exp: Don't test "target procfs".
7104 2014-03-13 Pedro Alves <palves@redhat.com>
7106 * gdb.base/default.exp: Update "target child" and "target procfs"
7107 tests to not expect "Unix".
7109 2014-03-12 Tom Tromey <tromey@redhat.com>
7111 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7112 New procs. Add target-async tests.
7113 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7114 Add target-async tests.
7116 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7119 'func_start' and 'func_end' for the beginning and end of the
7120 function code, respectively.
7121 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7122 'func_end' instead of 'func' and 'main'.
7124 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7126 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7127 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7128 generate the debug info assembler source.
7130 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7132 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7133 * gdb.dwarf2/arr-subrange.exp: Likewise.
7134 * gdb.dwarf2/dwz.exp: Likewise.
7135 * gdb.dwarf2/method-ptr.exp: Likewise.
7136 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7137 * gdb.dwarf2/subrange.exp: Likewise.
7138 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7139 * gdb.dwarf2/implptrpiece.exp: Likewise.
7140 * gdb.dwarf2/nostaticblock.exp: Likewise.
7142 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7144 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7145 directory to absolute path name arguments.
7147 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7149 * gdb.ada/tagged_access: New testcase.
7151 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7153 * gdb.btrace/data.exp: Update expected output.
7155 2014-03-06 Yao Qi <yao@codesourcery.com>
7157 * gdb.trace/pr16508.exp: New file.
7159 2014-03-05 Pedro Alves <palves@redhat.com>
7162 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7164 (top level): Adjust to use it. Add tests that exercise breakpoint
7165 interaction with the code-cache.
7167 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7169 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7170 test for 'history-append!'.
7172 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7174 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7175 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7176 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7177 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7178 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7179 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7181 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7183 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7184 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7185 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7187 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7189 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7193 * gdb.dwarf2/arr-stride.c: New file.
7194 * gdb.dwarf2/arr-stride.exp: New file.
7196 2014-02-26 Pedro Alves <palves@redhat.com>
7198 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7199 that won't ever trigger. Make sure that GDB reports the correct
7200 breakpoint that caused the stop.
7202 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7205 * gdb.base/auto-load-script: New file.
7206 * gdb.base/auto-load.c: New file.
7207 * gdb.base/auto-load.exp: New file.
7210 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7212 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7214 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7215 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7217 2014-02-24 Doug Evans <dje@google.com>
7219 * lib/gdb.exp (run_on_host): Log error output if program fails.
7221 2014-02-21 Pedro Alves <palves@redhat.com>
7223 * gdb.threads/step-after-sr-lock.c: Rename to ...
7224 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7225 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7226 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7229 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7232 * gdb.arch/amd64-stap-special-operands.exp: New file.
7233 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7234 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7235 * gdb.arch/amd64-stap-triplet.S: Likewise.
7236 * gdb.arch/amd64-stap-triplet.c: Likewise.
7238 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7240 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7241 in .section pseudo-op.
7243 2014-02-20 lin zuojian <manjian2006@gmail.com>
7244 Joel Brobecker <brobecker@adacore.com>
7245 Doug Evans <xdje42@gmail.com>
7248 * gdb.dwarf2/dw2-icycle.S: New file.
7249 * gdb.dwarf2/dw2-icycle.c: New file.
7250 * gdb.dwarf2/dw2-icycle.exp: New file.
7252 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7254 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7255 operations on gdb.Value objects.
7256 * gdb.python/py-value-cc.exp: Add new test to test operations on
7259 2014-02-18 Doug Evans <dje@google.com>
7261 * Makefile.in (TESTS): New variable.
7262 (expanded_tests, expanded_tests_or_none): New variables
7263 (check-single): Pass $(expanded_tests_or_none) to runtest.
7264 (check-parallel): Only run tests in $(TESTS) if non-empty.
7265 (check/no-matching-tests-found): New rule.
7266 * README: Document TESTS makefile variable.
7268 2014-02-18 Doug Evans <dje@google.com>
7270 * Makefile.in (check-parallel): rm -rf outputs temp.
7272 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7274 Fix "ERROR: no fileid for" in the testsuite.
7275 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7277 2014-02-12 Doug Evans <dje@google.com>
7279 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7280 (MISCELLANEOUS): New variable.
7281 (clean): rm -rf $(MISCELLANEOUS).
7282 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7283 dwp live in the same directory as symlinks, with each symlink pointed
7284 to a differently named file in a different directory.
7286 2014-02-11 Doug Evans <dje@google.com>
7288 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7289 of Tcl file commands.
7291 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7293 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7298 * gdb.ada/tick_length_array_enum_idx: New testcase.
7300 2014-02-10 Doug Evans <xdje42@gmail.com>
7302 * configure.ac (AC_OUTPUT): Add gdb.guile.
7303 * configure: Regenerate.
7304 * lib/gdb-guile.exp: New file.
7305 * lib/gdb.exp (get_target_charset): New function.
7306 * gdb.base/help.exp: Update expected output from "apropos apropos".
7307 * gdb.guile/Makefile.in: New file.
7308 * gdb.guile/guile.exp: New file.
7309 * gdb.guile/scm-arch.c: New file.
7310 * gdb.guile/scm-arch.exp: New file.
7311 * gdb.guile/scm-block.c: New file.
7312 * gdb.guile/scm-block.exp: New file.
7313 * gdb.guile/scm-breakpoint.c: New file.
7314 * gdb.guile/scm-breakpoint.exp: New file.
7315 * gdb.guile/scm-disasm.c: New file.
7316 * gdb.guile/scm-disasm.exp: New file.
7317 * gdb.guile/scm-equal.c: New file.
7318 * gdb.guile/scm-equal.exp: New file.
7319 * gdb.guile/scm-error.exp: New file.
7320 * gdb.guile/scm-error.scm: New file.
7321 * gdb.guile/scm-frame-args.c: New file.
7322 * gdb.guile/scm-frame-args.exp: New file.
7323 * gdb.guile/scm-frame-args.scm: New file.
7324 * gdb.guile/scm-frame-inline.c: New file.
7325 * gdb.guile/scm-frame-inline.exp: New file.
7326 * gdb.guile/scm-frame.c: New file.
7327 * gdb.guile/scm-frame.exp: New file.
7328 * gdb.guile/scm-generics.exp: New file.
7329 * gdb.guile/scm-gsmob.exp: New file.
7330 * gdb.guile/scm-iterator.c: New file.
7331 * gdb.guile/scm-iterator.exp: New file.
7332 * gdb.guile/scm-math.c: New file.
7333 * gdb.guile/scm-math.exp: New file.
7334 * gdb.guile/scm-objfile-script-gdb.in: New file.
7335 * gdb.guile/scm-objfile-script.c: New file.
7336 * gdb.guile/scm-objfile-script.exp: New file.
7337 * gdb.guile/scm-objfile.c: New file.
7338 * gdb.guile/scm-objfile.exp: New file.
7339 * gdb.guile/scm-ports.exp: New file.
7340 * gdb.guile/scm-pretty-print.c: New file.
7341 * gdb.guile/scm-pretty-print.exp: New file.
7342 * gdb.guile/scm-pretty-print.scm: New file.
7343 * gdb.guile/scm-section-script.c: New file.
7344 * gdb.guile/scm-section-script.exp: New file.
7345 * gdb.guile/scm-section-script.scm: New file.
7346 * gdb.guile/scm-symbol.c: New file.
7347 * gdb.guile/scm-symbol.exp: New file.
7348 * gdb.guile/scm-symtab-2.c: New file.
7349 * gdb.guile/scm-symtab.c: New file.
7350 * gdb.guile/scm-symtab.exp: New file.
7351 * gdb.guile/scm-type.c: New file.
7352 * gdb.guile/scm-type.exp: New file.
7353 * gdb.guile/scm-value-cc.cc: New file.
7354 * gdb.guile/scm-value-cc.exp: New file.
7355 * gdb.guile/scm-value.c: New file.
7356 * gdb.guile/scm-value.exp: New file.
7357 * gdb.guile/source2.scm: New file.
7358 * gdb.guile/types-module.cc: New file.
7359 * gdb.guile/types-module.exp: New file.
7361 2014-02-10 Yao Qi <yao@codesourcery.com>
7364 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7365 * configure: Regenerated.
7366 * Makefile.in: New file.
7368 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7370 * gdb.python/py-framefilter.exp: Fix typo.
7372 2014-02-08 Yao Qi <yao@codesourcery.com>
7374 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7375 that no =breakpoint-modified is emitted when breakpoints are
7376 modified through MI commands.
7378 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7379 Pedro Alves <palves@redhat.com>
7381 * gdb.threads/step-after-sr-lock.c: New file.
7382 * gdb.threads/step-after-sr-lock.exp: New file.
7384 2014-02-07 Pedro Alves <palves@redhat.com>
7386 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7388 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7390 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7391 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7393 2014-02-06 Doug Evans <xdje42@gmail.com>
7395 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7398 * gdb.gdb/python-interrupts.exp: New file.
7400 2014-02-05 Yao Qi <yao@codesourcery.com>
7402 * gdb.trace/report.exp (use_collected_data): Test the output
7403 of "info threads" and "info inferiors".
7405 2014-02-05 Yao Qi <yao@codesourcery.com>
7409 2013-05-24 Yao Qi <yao@codesourcery.com>
7411 * gdb.trace/tfile.exp: Test inferior and thread.
7413 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7415 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7417 * gdb.base/step-bt.c: Call hello via function pointer to make
7418 sure its first instruction is executed on powerpc64le-linux.
7420 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7422 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7426 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7427 of the test patterns for use on little-endian systems.
7429 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7431 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7432 (decimal_vector): Fix for little-endian.
7434 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7436 * gdb.arch/sparc-sysstep.exp: New file.
7437 * gdb.arch/sparc-sysstep.c: Likewise.
7439 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7441 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7443 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7445 2014-01-23 Tom Tromey <tromey@redhat.com>
7447 * gdb.ada/array_char_idx: New testcase.
7449 2014-01-23 Tom Tromey <tromey@redhat.com>
7452 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7453 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7456 2014-01-23 Tom Tromey <tromey@redhat.com>
7459 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7460 string from an inferior frame.
7461 * gdb.python/py-framefilter-mi.exp: Update.
7463 2014-01-22 Doug Evans <dje@google.com>
7465 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7467 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7469 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7473 * gdb.trace/entry-values.exp: Remove excess space character from
7474 regex patterns. Handle s390 call instruction.
7476 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7478 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7479 define "*_start" label. Make "name" static.
7480 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7481 ${name} by references to ${name}_start.
7483 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7485 * gdb.base/info-macros.exp: Remove "debug" from the compile
7488 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7490 * gdb.dlang/demangle.exp: New file.
7492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7494 * gdb.dlang/primitive-types.exp: New file.
7496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7498 * configure.ac: Create gdb.dlang/Makefile.
7499 * configure: Regenerate.
7500 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7501 * gdb.dlang/Makefile.in: New file.
7502 * lib/d-support.exp: New file.
7503 * lib/gdb.exp (skip_d_tests): New proc.
7505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7507 * gdb.btrace/delta.exp: Check reverse stepi.
7508 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7509 * gdb.btrace/finish.exp: New.
7510 * gdb.btrace/next.exp: New.
7511 * gdb.btrace/nexti.exp: New.
7512 * gdb.btrace/record_goto.c: Add comments.
7513 * gdb.btrace/step.exp: New.
7514 * gdb.btrace/stepi.exp: New.
7515 * gdb.btrace/multi-thread-step.c: New.
7516 * gdb.btrace/multi-thread-step.exp: New.
7517 * gdb.btrace/rn-dl-bind.c: New.
7518 * gdb.btrace/rn-dl-bind.exp: New.
7519 * gdb.btrace/data.c: New.
7520 * gdb.btrace/data.exp: New.
7521 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7525 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7526 * gdb.btrace/exception.exp: Update.
7527 * gdb.btrace/instruction_history.exp: Update.
7528 * gdb.btrace/record_goto.exp: Update.
7529 * gdb.btrace/tailcall.exp: Update.
7530 * gdb.btrace/unknown_functions.exp: Update.
7531 * gdb.btrace/delta.exp: New.
7533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7535 * gdb.btrace/record_goto.exp: Add backtrace test.
7536 * gdb.btrace/tailcall.exp: Add backtrace test.
7538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7540 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7541 * gdb.btrace/record_goto.c: New.
7542 * gdb.btrace/record_goto.exp: New.
7543 * gdb.btrace/x86-record_goto.S: New.
7545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7547 * gdb.btrace/function_call_history.exp: Update tests.
7548 * gdb.btrace/instruction_history.exp: Update tests.
7550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7552 * gdb.btrace/function_call_history.exp: Fix expected field
7553 order for "record function-call-history".
7554 Add new tests for "record function-call-history /c".
7555 * gdb.btrace/exception.cc: New.
7556 * gdb.btrace/exception.exp: New.
7557 * gdb.btrace/tailcall.exp: New.
7558 * gdb.btrace/x86-tailcall.S: New.
7559 * gdb.btrace/x86-tailcall.c: New.
7560 * gdb.btrace/unknown_functions.c: New.
7561 * gdb.btrace/unknown_functions.exp: New.
7562 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7564 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7566 * gdb.btrace/instruction_history.exp: Update.
7567 * gdb.btrace/function_call_history.exp: Update.
7569 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7571 * gdb.btrace/function_call_history.exp: Fix expected function
7573 * gdb.btrace/instruction_history.exp: Initialize traced.
7574 Remove traced_functions.
7576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7578 * gdb.btrace/function_call_history.exp: Update
7579 * gdb.btrace/instruction_history.exp: Update.
7581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7583 * gdb.btrace/enable.exp: Update expected text.
7585 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7587 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7590 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7592 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7594 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7596 * lib/gdb.exp (supports_process_record): Return true for
7597 arm*-linux*. (supports_reverse): Likewise.
7599 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7603 * gdb.python/py-type.c: Enhance test case.
7604 * gdb.python/py-value-cc.cc: Likewise
7605 * gdb.python/py-type.exp: Add new tests.
7606 * gdb.python/py-value-cc.exp: Likewise
7608 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7609 Pedro Alves <palves@redhat.com>
7611 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7613 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7614 references to ${name}_start by references to ${name}.
7616 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7618 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7622 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7624 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7625 Pedro Alves <palves@redhat.com>
7627 * gdb.mi/mi-info-os.exp: Connect to the target with
7630 2014-01-08 Pedro Alves <palves@redhat.com>
7632 * gdb.threads/reconnect-signal.c: New file.
7633 * gdb.threads/reconnect-signal.exp: New file.
7635 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7637 * gdb.base/source-dir.exp: New file.
7639 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7641 * gdb.ada/mi_interface: New testcase.
7643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7645 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7646 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7647 gdb.ada/pp-rec-component/pck.ads: New files.
7649 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7651 * gdb.python/py-pp-integral.c: New file.
7652 * gdb.python/py-pp-integral.py: New file.
7653 * gdb.python/py-pp-integral.exp: New file.
7655 For older changes see ChangeLog-1993-2013.
7661 ;; version-control: never
7664 Copyright 2014-2016 Free Software Foundation, Inc.
7665 Copying and distribution of this file, with or without modification,
7666 are permitted provided the copyright notice and this notice are preserved.