1 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13 change x86_64 call_insn to 'callq'.
15 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17 * gdb.trace/tfile-avx.c: Move to...
18 * gdb.trace/tracefile-pseudo-reg.c: Here.
19 * gdb.trace/tfile-avx.exp: Move to...
20 * gdb.trace/tracefile-pseudo-reg.exp: Here.
22 2016-02-24 Gary Benson <gbenson@redhat.com>
24 * gdb.base/attach-pie-noexec.exp: Do not expect an error
27 2016-02-23 Doug Evans <dje@google.com>
29 * gdb.base/skip.c (test_skip): New function.
30 (end_test_skip_file_and_function): New function.
31 (test_skip_file_and_function): New function.
32 * gdb.base/skip1.c (test_skip): New function.
33 (skip1_test_skip_file_and_function): New function.
34 * gdb.base/skip.exp: Add tests for new skip options.
35 * gdb.base/skip-solib.exp: Update expected output.
36 * gdb.perf/skip-command.cc: New file.
37 * gdb.perf/skip-command.exp: New file.
38 * gdb.perf/skip-command.py: New file.
40 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
42 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
43 info registers pattern.
45 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
47 * lib/future.exp: Add D support.
48 (gdb_find_gdc): New proc.
49 (gdb_default_target_compile): Add D support.
51 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
53 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
55 (trace_speed_test): Determine the iteration count for a time
56 between 15..30 seconds.
58 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
60 * gdb.arch/i386-mpx-sigsegv.c: New file.
61 * gdb.arch/i386-mpx-sigsegv.exp: New file.
62 * gdb.arch/i386-mpx-simple_segv.c: New file.
63 * gdb.arch/i386-mpx-simple_segv.exp: New file.
65 2016-02-18 Yao Qi <yao.qi@linaro.org>
67 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
68 Don't call setup_kfail.
70 2016-02-18 Yao Qi <yao.qi@linaro.org>
72 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
73 Set "set breakpoint condition-evaluation" per $cond_bp_target.
75 2016-02-16 Doug Evans <dje@google.com>
77 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
78 * gdb.base/skip1.c: Ditto.
79 * gdb.base/skip.exp: Whitespace cleanup.
81 2016-02-16 Don Breazeal <donb@codesourcery.com>
84 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
85 Remove kfail for PR remote/19496.
87 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
89 * lib/gdb.exp (standard_temp_file): Return a path specific to
90 the runtest invocation.
92 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
94 * gdb.trace/save-trace.exp: Change relative path to be in the
95 standard output directory.
97 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
99 * gdb.arch/i386-prologue.c: Add missing prototypes.
101 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
103 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
104 * gdb.arch/i386-prologue.exp: Likewise.
105 * gdb.arch/i386-size.exp: Likewise.
107 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
109 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
110 define object file path.
111 * gdb.btrace/gcore.exp: Use standard_output_file to define core
113 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
114 standard_output_file to define binfile.
116 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
118 Fix compatibility with recent gfortran-5.3.1.
119 * gdb.fortran/vla-history.exp (print vla1 allocated)
120 (print vla2 allocated, print $2, print $3): Remove
121 (print $4): Rename to ...
122 (print $2): ... here.
123 (print $9): Rename to ...
124 (print $5): ... here.
125 (print $10): Rename to ...
126 (print $6): ... here.
127 * gdb.fortran/vla.f90: Add pvla initialization.
129 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
131 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
133 * gdb.fortran/vla-value-sub.exp: Likewise.
135 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
137 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
139 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
141 * i386-biarch-core.exp: Define corefile using
142 standard_output_file.
144 2016-02-12 Yao Qi <yao.qi@linaro.org>
146 * gdb.arch/arm-single-step-kernel-helper.c: New.
147 * gdb.arch/arm-single-step-kernel-helper.exp: New.
149 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
151 * gdb.btrace/tailcall-only.exp: New.
152 * gdb.btrace/tailcall-only.c: New.
153 * gdb.btrace/x86_64-tailcall-only.S: New.
154 * gdb.btrace/i686-tailcall-only.S: New.
156 2016-02-11 Pedro Alves <palves@redhat.com>
158 * README (Parallel testing): Add missing double quotes.
160 2016-02-11 Pedro Alves <palves@redhat.com>
162 * README (Parallel testing): New section.
163 (GDB_PARALLEL): Rewrite.
164 (FORCE_PARALLEL): Document.
166 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
168 * gdb.trace/tfile-avx.c: New test.
169 * gdb.trace/tfile-avx.exp: New test.
171 2016-02-09 Keith Seitz <keiths@redhat.com>
174 * gdb.base/infcall-exec.c: New file.
175 * gdb.base/infcall-exec2.c: New file.
176 * gdb.base/infcall-exec.exp: New file.
178 2016-02-09 Keith Seitz <keiths@redhat.com>
180 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
181 (toplevel): Call test_bkpt_address.
183 2016-02-09 Keith Seitz <keiths@redhat.com>
186 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
187 (toplevel): Call test_bkpt_address.
189 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
191 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
193 * configure: Regenerate.
195 2016-02-09 Pedro Alves <palves@redhat.com>
198 * gdb.base/execl-update-breakpoints.c (some_function): New
201 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
202 Tighten expected GDB output.
204 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
206 * Makefile.in (ALL_SUBDIRS): Remove.
207 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
208 (distclean maintainer-clean realclean): Likewise.
209 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
210 * configure: Regenerate.
211 * gdb.ada/Makefile.in: Delete.
212 * gdb.arch/Makefile.in: Likewise.
213 * gdb.asm/Makefile.in: Likewise.
214 * gdb.base/Makefile.in: Likewise.
215 * gdb.btrace/Makefile.in: Likewise.
216 * gdb.cell/Makefile.in: Likewise.
217 * gdb.compile/Makefile.in: Likewise.
218 * gdb.cp/Makefile.in: Likewise.
219 * gdb.disasm/Makefile.in: Likewise.
220 * gdb.dlang/Makefile.in: Likewise.
221 * gdb.dwarf2/Makefile.in: Likewise.
222 * gdb.fortran/Makefile.in: Likewise.
223 * gdb.gdb/Makefile.in: Likewise.
224 * gdb.go/Makefile.in: Likewise.
225 * gdb.guile/Makefile.in: Likewise.
226 * gdb.java/Makefile.in: Likewise.
227 * gdb.linespec/Makefile.in: Likewise.
228 * gdb.mi/Makefile.in: Likewise.
229 * gdb.modula2/Makefile.in: Likewise.
230 * gdb.multi/Makefile.in: Likewise.
231 * gdb.objc/Makefile.in: Likewise.
232 * gdb.opencl/Makefile.in: Likewise.
233 * gdb.opt/Makefile.in: Likewise.
234 * gdb.pascal/Makefile.in: Likewise.
235 * gdb.perf/Makefile.in: Likewise.
236 * gdb.python/Makefile.in: Likewise.
237 * gdb.reverse/Makefile.in: Likewise.
238 * gdb.server/Makefile.in: Likewise.
239 * gdb.stabs/Makefile.in: Likewise.
240 * gdb.threads/Makefile.in: Likewise.
241 * gdb.trace/Makefile.in: Likewise.
242 * gdb.xml/Makefile.in: Likewise.
243 * lib/gdb.exp (make_gdb_parallel_path): Add check for
245 (standard_output_file): Remove check for GDB_PARALLEL, always
246 return path in outputs/$subdir/$testname.
248 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
250 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
251 (site.exp): Assign abs_srcdir to tcl's srcdir.
253 2016-02-04 Yao Qi <yao.qi@linaro.org>
255 * gdb.base/foll-exec-mode.c: Include limits.h.
256 (main): Add parameters argc and argv. Get directory from
258 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
260 * gdb.base/foll-exec.c: Include limits.h.
261 (main): Add parameters argc and argv.
262 Get directory from argv[0].
263 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
264 Adjust tests on the number of lines as source code changed.
265 * gdb.base/foll-vfork-exit.c: Include limits.h.
266 (main): Add one line of statement before vfork.
267 * gdb.base/foll-vfork.c: Include limits.h and string.h.
268 (main): Add parameters argc and argv. Get directory from
270 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
271 (setup_gdb): Set tbreak to skip some source lines.
272 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
273 (main): Add parameters argc and argv. Get directory from
275 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
277 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
278 (main): Add parameters argc and argv. Get directory from
280 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
283 2016-02-01 Doug Evans <dje@google.com>
285 * gdb.base/skip.exp: Clean up multiple references to same test name.
287 2016-02-01 Pedro Alves <palves@redhat.com>
290 * gdb.threads/forking-threads-plus-breakpoint.exp
291 (displaced_stepping_supported): New global.
292 (probe_displaced_stepping_support): New procedure.
293 (do_test): Add 'displaced' parameter, and use it.
294 (top level): Check for displaced stepping support. Add displaced
295 stepping on/off testing axis.
297 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
299 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
300 pointer. Don't perform further tests on the unassociated pointer
301 if the first test fails.
303 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
305 * gdb.base/max-value-size.c: New file.
306 * gdb.base/max-value-size.exp: New file.
307 * gdb.base/huge.exp: Disable max-value-size for this test.
309 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
311 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
313 2016-01-28 Yao Qi <yao.qi@linaro.org>
315 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
317 2016-01-25 Pedro Alves <palves@redhat.com>
320 * gdb.base/fork-running-state.c: New file.
321 * gdb.base/fork-running-state.exp: New file.
323 2016-01-25 Pedro Alves <palves@redhat.com>
326 * gdb.base/catch-fork-kill.c: New file.
327 * gdb.base/catch-fork-kill.exp: New file.
329 2016-01-25 Pedro Alves <palves@redhat.com>
331 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
332 Delete, moved to lib/gdb.exp.
333 * gdb.threads/forking-threads-plus-breakpoint.exp
334 (foreach_with_prefix): Likewise.
335 * gdb.threads/process-dies-while-handling-bp.exp
336 (foreach_with_prefix): Likewise.
337 * lib/gdb.exp (foreach_with_prefix): New procedure.
339 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
341 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
342 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
344 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
346 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
349 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
350 Pedro Alves <palves@redhat.com>
352 Fix testsuite compatibility with Guile.
353 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
356 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
358 Fix testsuite compatibility with Guile.
359 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
360 (thread 1): New test for backtrace through signal handler.
362 2016-01-22 Yao Qi <yao.qi@linaro.org>
365 * gdb.base/multi-forks.c: Include
366 ../lib/unbuffer_output.c
367 (main): Call gdb_unbuffer_output.
369 2016-01-21 Doug Evans <dje@google.com>
371 * lib/ada.exp (gdb_compile_ada): Fix typo.
373 2016-01-21 Joel Brobecker <brobecker@adacore.com>
375 * gdb.base/break-fun-addr.exp: New file.
376 * gdb.base/break-fun-addr1.c: New file.
377 * gdb.base/break-fun-addr2.c: New file.
379 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
381 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
382 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
385 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
387 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
388 when GDB can not set the vector return value. Add more comments
391 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
393 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
396 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
398 * Makefile.in (DO_RUNTEST): Add --status and update usages.
400 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
402 * Makefile.in (check-single): Pass --status to runtest.
403 (check/%.exp): Likewise.
405 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
407 * Makefile.in (check-parallel): Propagate return code from make
410 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
412 * gdb.trace/ftrace.exp: Fix expected message on continue.
413 * gdb.trace/pending.exp: Fix expected message on continue.
414 * gdb.trace/trace-break.exp: Fix expected message on continue.
416 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
418 * lib/gdb.exp (gdb_test): Remove unused global references.
420 2016-01-18 Pedro Alves <palves@redhat.com>
422 * gdb.base/async-shell.exp: Adjust expected output.
423 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
424 * gdb.base/siginfo-thread.exp: Adjust expected output.
425 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
426 * gdb.java/jnpe.exp: Adjust expected output.
427 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
428 * gdb.threads/continue-pending-status.exp: Adjust expected output.
429 * gdb.threads/leader-exit.exp: Adjust expected output.
430 * gdb.threads/manythreads.exp: Adjust expected output.
431 * gdb.threads/pthreads.exp: Adjust expected output.
432 * gdb.threads/schedlock.exp: Adjust expected output.
433 * gdb.threads/siginfo-threads.exp: Adjust expected output.
434 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
436 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
438 * gdb.threads/sigthread.exp: Adjust expected output.
439 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
441 2016-01-18 Yao Qi <yao.qi@linaro.org>
443 * gdb.guile/scm-section-script.c: Replace @progbits with
445 * gdb.python/py-section-script.c: Likewise.
447 2016-01-15 Pedro Alves <palves@redhat.com>
449 * gdb.multi/tids.exp: Test star wildcard ranges.
451 2016-01-15 Pedro Alves <palves@redhat.com>
453 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
454 command from "thread apply" invocation.
455 (thr_apply_info_thr_invalid): Default the expected output to the
457 (top level): Add tests that use convenience variables. Add tests
458 for "thread apply" with a valid TID list, but missing the command.
460 2016-01-13 Pedro Alves <palves@redhat.com>
462 * gdb.base/default.exp: Expect $_gthread as well.
463 * gdb.multi/tids.exp: Test $_gthread.
464 * gdb.threads/thread-specific.exp: Test $_gthread.
466 2016-01-13 Pedro Alves <palves@redhat.com>
468 * gdb.multi/tids.exp: Test "info threads -gid".
470 2016-01-13 Pedro Alves <palves@redhat.com>
472 * gdb.multi/tids.exp: Test InferiorThread.global_num and
474 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
476 2016-01-07 Pedro Alves <palves@redhat.com>
478 * gdb.base/break.exp: Adjust to output changes.
479 * gdb.base/hbreak2.exp: Likewise.
480 * gdb.base/sepdebug.exp: Likewise.
481 * gdb.base/watch_thread_num.exp: Likewise.
482 * gdb.linespec/keywords.exp: Likewise.
483 * gdb.multi/info-threads.exp: Likewise.
484 * gdb.threads/thread-find.exp: Likewise.
485 * gdb.multi/tids.c: New file.
486 * gdb.multi/tids.exp: New file.
488 2016-01-13 Pedro Alves <palves@redhat.com>
490 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
492 2016-01-13 Pedro Alves <palves@redhat.com>
494 * gdb.base/default.exp: Expect $_inferior as well.
495 * gdb.multi/base.exp: Test $_inferior.
497 2016-01-13 Pedro Alves <palves@redhat.com>
500 * gdb.base/catch-signal-siginfo-cond.c: New file.
501 * gdb.base/catch-signal-siginfo-cond.exp: New file.
503 2016-01-12 Josh Stone <jistone@redhat.com>
504 Philippe Waroquiers <philippe.waroquiers@skynet.be>
506 * gdb.base/catch-syscall.c (do_execve): New variable.
507 (main): Conditionally trigger an execve.
508 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
509 (test_catch_syscall_execve): New, check entry/return across execve.
510 (do_syscall_tests): Call test_catch_syscall_execve.
512 2016-01-12 Pedro Alves <palves@redhat.com>
514 * gdb.base/random-signal.exp (do_test): New procedure, with body
515 of testcase moved in.
517 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
518 Pedro Alves <palves@redhat.com>
520 * gdb.base/funcargs.exp (finish from indirectly called function):
521 Reintroduce the case for 'First'.
523 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
524 Pedro Alves <palves@redhat.com>
526 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
527 (tcatch_vfork_then_child_follow_exec)
528 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
531 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
533 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
534 and repeats to unlimited.
535 * gdb.python/py-value.exp: Likewise.
536 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
537 and repeats to unlimited.
539 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
541 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
542 and reordering the functions.
543 * gdb.multi/hangout.c: Likewise.
544 * gdb.multi/hello.c: Likewise.
546 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
548 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
550 (SingleStatisticTestResult.report): Use dict.keys instead of
553 2016-01-06 Pedro Alves <palves@redhat.com>
555 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
557 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
559 * gdb.btrace/dlopen.exp: New.
560 * gdb.btrace/dlopen.c: New.
561 * gdb.btrace/dlopen-dso.c: New.
563 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
565 * lib/gdb.exp (gdb_test): Update comments to clarify that the
566 PATTERN argument is optional.
568 2015-12-24 Joel Brobecker <brobecker@adacore.com>
570 * lib/ada.exp (target_compile_ada_from_dir): New function.
571 (gdb_compile_ada): Reimplement avoiding the use of project files.
572 * gdb.ada/gnat_ada.gpr: Delete.
573 * gdb.ada/cond_lang.exp: Adjust test to make path before
575 * gdb.ada/small_reg_param.exp: Likewise.
577 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
579 * gdb.base/foll-vork.exp: Remove HP-UX special case.
581 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
583 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
586 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
588 * gdb.base/break.exp: Remove dead code.
589 * gdb.base/sepdebug.exp: Likewise.
591 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
593 * gdb.asm/asm-source.exp: Remove HP-UX references.
594 * gdb.base/annota1.exp: Likewise.
595 * gdb.base/annota3.exp: Likewise.
596 * gdb.base/attach.exp: Likewise.
597 * gdb.base/bigcore.exp: Likewise.
598 * gdb.base/break.exp: Likewise.
599 * gdb.base/call-ar-st.exp: Likewise.
600 * gdb.base/callfuncs.exp: Likewise.
601 * gdb.base/catch-fork-static.exp: Likewise.
602 * gdb.base/display.exp: Likewise.
603 * gdb.base/foll-exec-mode.exp: Likewise.
604 * gdb.base/foll-exec.exp: Likewise.
605 * gdb.base/foll-fork.exp: Likewise.
606 * gdb.base/foll-vfork.exp: Likewise.
607 * gdb.base/funcargs.exp: Likewise.
608 * gdb.base/hbreak2.exp: Likewise.
609 * gdb.base/inferior-died.exp: Likewise.
610 * gdb.base/interrupt.exp: Likewise.
611 * gdb.base/multi-forks.exp: Likewise.
612 * gdb.base/nodebug.exp: Likewise.
613 * gdb.base/sepdebug.exp: Likewise.
614 * gdb.base/solib1.c: Likewise.
615 * gdb.base/step-test.exp: Likewise.
616 * gdb.mi/non-stop.c: Likewise.
617 * gdb.mi/pthreads.c: Likewise.
618 * gdb.multi/bkpt-multi-exec.ex: Likewise.
619 * gdb.threads/pthreads.c: Likewise.
620 * gdb.threads/staticthreads.exp: Likewise.
621 * lib/future.exp: Likewise.
622 * lib/gdb.exp: Likewise.
623 * gdb.base/so-indr-cl.c: Remove.
624 * gdb.base/so-indr-cl.exp: Likewise.
625 * gdb.base/solib.c: Likewise.
626 * gdb.base/solib.exp: Likewise.
627 * gdb.base/solib2.c: Likewise.
629 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
631 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
632 * gdb.base/call-ar-st.exp: Likewise.
633 * gdb.base/callfuncs.exp: Likewise.
634 * gdb.base/condbreak.exp: Likewise.
635 * gdb.base/constvars.exp: Likewise.
636 * gdb.base/hbreak2.exp: Likewise.
637 * gdb.base/langs.exp: Likewise.
638 * gdb.base/list.exp: Likewise.
639 * gdb.base/long_long.exp: Likewise.
640 * gdb.base/ptype.exp: Likewise.
641 * gdb.base/scope.exp: Likewise.
642 * gdb.base/signals.exp: Likewise.
643 * gdb.base/so-impl-ld.exp: Likewise.
644 * gdb.base/varargs.exp: Likewise.
645 * gdb.base/volatile.exp: Likewise.
646 * gdb.base/whatis.exp: Likewise.
647 * gdb.cp/cplusfuncs.exp: Likewise.
648 * gdb.cp/inherit.exp: Likewise.
649 * gdb.cp/local.exp: Likewise.
650 * gdb.cp/member-ptr.exp: Likewise.
651 * gdb.cp/method.exp: Likewise.
652 * gdb.cp/overload.exp: Likewise.
653 * gdb.cp/templates.exp: Likewise.
654 * gdb.stabs/weird.exp: Likewise.
655 * lib/compiler.c: Likewise.
656 * lib/compiler.cc: Likewise.
657 * lib/cp-support.exp: Likewise.
658 * lib/gdb.exp: Likewise.
660 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
662 * configure.ac: Remove HP-UX case.
663 * configure: Regenerate.
665 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
667 * lib/gdb.exp (gdb_compile): Add function doc.
669 2015-12-17 Pedro Alves <palves@redhat.com>
672 * gdb.multi/info-threads.exp: New file.
674 2015-12-15 Yao Qi <yao.qi@linaro.org>
676 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
679 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
681 * gdb.base/history-duplicates.exp: Skip if no readline support.
683 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
685 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
687 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
689 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
691 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
693 * gdb.base/completion.exp: Skip tests that interrupt GDB with
694 ctrl-C if nointerrupts target property is set.
695 * gdb.base/double-prompt-target-event-error.exp: Likewise.
696 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
697 * gdb.base/paginate-bg-execution.exp: Likewise.
698 * gdb.base/paginate-execution-startup.exp: Likewise.
699 * gdb.base/random-signal.exp: Likewise.
700 * gdb.base/range-stepping.exp: Likewise.
701 * gdb.cp/annota2.exp: Likewise.
702 * gdb.cp/annota3.exp: Likewise.
703 * gdb.gdb/selftest.exp: Likewise.
704 * gdb.threads/continue-pending-status.exp: Likewise.
705 * gdb.threads/leader-exit.exp: Likewise.
706 * gdb.threads/manythreads.exp: Likewise.
707 * gdb.threads/pthreads.exp: Likewise.
708 * gdb.threads/schedlock.exp: Likewise.
709 * gdb.threads/sigthread.exp: Likewise.
711 2015-12-11 Don Breazeal <donb@codesourcery.com>
713 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
715 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
716 * gdb.base/foll-exec.exp (main): Enable for target remote.
717 * gdb.base/foll-fork.exp (main): Likewise.
718 * gdb.base/foll-vfork.exp (main): Likewise.
719 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
720 (proc continue_to_exit_bp_loc): Use clean_restart.
721 * gdb.base/pie-execl.exp (main): Disable for target remote.
722 * gdb.base/watch-vfork.exp (main): Enable for target remote.
723 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
724 * gdb.threads/execl.exp (main): Likewise.
725 * gdb.threads/fork-child-threads.exp (main): Likewise.
726 * gdb.threads/fork-plus-threads.exp (main): Disable for target
728 * gdb.threads/fork-thread-pending.exp (main): Enable for target
730 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
731 pid.tid style ptids, instead of just tid.
732 * gdb.threads/thread-execl.exp (main): Enable for target remote.
733 * gdb.threads/watchpoint-fork.exp (main): Likewise.
734 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
735 ptids, instead of just tid.
737 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
739 * gdb.base/list.exp (test_list_forward): Add end of file error
741 (test_repeat_list_command): Add end of file error test.
742 (test_list_backwards): Add beginning of file error test.
744 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
746 * gdb.base/list.exp (test_list_invalid_args): New function,
749 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
751 * gdb.base/list.exp (test_list): Make test names unique.
753 2015-12-11 Yao Qi <yao.qi@linaro.org>
755 * gdb.base/coremaker2.c: Remove.
757 2015-12-10 Pedro Alves <palves@redhat.com>
759 * gdb.multi/base.exp: Remove stale "spaces" references.
761 2015-12-10 Pedro Alves <palves@redhat.com>
763 * gdb.multi/base.exp: Don't use nowarnings.
764 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
765 * gdb.multi/hangout.c: Include stdio.h.
766 * gdb.multi/hello.c: Include stdlib.h.
767 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
768 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
769 * gdb.multi/multi-arch.exp: Don't use nowarnings.
771 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
773 * gdb.dwarf2/dw2-ranges-base.c: New file.
774 * gdb.dwarf2/dw2-ranges-base.exp: New file.
775 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
776 support additional line table, and debug ranges generation.
777 (Dwarf::ranges): New function, generate .debug_ranges.
778 (Dwarf::lines): Support generating simple line table programs.
779 (Dwarf::assemble): Initialise new namespace variables.
781 2015-12-09 Kevin Buettner <kevinb@redhat.com>
783 * gdb.base/async.exp (proc test_background): Add case for
784 asynchronous execution not supported.
786 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
788 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
789 format and change test names to make them unique.
791 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
792 Pedro Alves <pedro@redhat.com>
795 Add checking of floatformats setup on x86_64 hosts.
796 * gdb.arch/i386-float.S (main): Load bigval and smallval.
797 (smallval, bigval): New labels/constants.
798 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
799 float" after loading bigval and smallval.
801 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
803 * gdb.ada/fun_overload_menu.exp: New testcase.
804 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
806 2015-12-04 Josh Stone <jistone@redhat.com>
808 * gdb.base/catch-fork-static.exp: New.
810 2015-12-03 Yao Qi <yao.qi@linaro.org>
812 * gdb.base/sizeof.c: Don't include stdio.h and
813 ../lib/unbuffer_output.c.
814 (main): New variable 'size' and 'value'. Remove printf and
815 gdb_unbuffer_output. Assign return value to size and value.
816 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
818 (check_sizeof): Check the result by printing variable 'size'.
819 (check_valueof): Check the result by printing variable 'value'.
821 2015-12-01 Yao Qi <yao.qi@linaro.org>
823 * gdb.base/disp-step-syscall.exp: Define syscall instruction
824 for aarch64*-*-linux* target.
826 2015-11-30 Pedro Alves <palves@redhat.com>
828 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
830 2015-11-30 Pedro Alves <palves@redhat.com>
832 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
833 Handle non-stop mode vCont replies.
835 2015-11-30 Pedro Alves <palves@redhat.com>
837 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
838 prepare_for_testing. Start gdb with "set non-stop on" appended to
839 GDBFLAGS. Lax expected stop output.
841 2015-11-27 Yao Qi <yao.qi@linaro.org>
843 * gdb.arch/arm-neon.exp: New.
844 * gdb.arch/arm-neon.c: New.
846 2015-11-27 Yao Qi <yao.qi@linaro.org>
848 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
850 2015-11-27 Yao Qi <yao.qi@linaro.org>
852 * gdb.cp/annota2.exp: Allow multiple occurrences of the
853 frames-invalid annotation.
855 2015-11-27 Yao Qi <yao.qi@linaro.org>
857 * gdb.cp/annota2.exp: Use ${frames_invalid}.
859 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
861 * gdb.threads/names.exp: New file.
862 * gdb.threads/names.c: New file.
863 * README: Mention gdb,no_thread_names.
865 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
868 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
871 2015-11-24 Pedro Alves <palves@redhat.com>
874 * gdb.base/display.exp: Expect displays to be sorted in ascending
875 order. Use multi_line.
876 * gdb.base/solib-display.exp: Likewise.
878 2015-11-24 Pedro Alves <palves@redhat.com>
881 * gdb.base/display.exp: Expect displays to be sorted in ascending
882 order. Use multi_line.
883 * gdb.base/solib-display.exp: Likewise.
885 2015-11-24 Pedro Alves <palves@redhat.com>
888 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
889 threads in ascending order.
890 * gdb.base/foll-fork.exp: Likewise.
891 * gdb.base/foll-vfork.exp: Likewise.
892 * gdb.base/multi-forks.exp: Likewise.
893 * gdb.mi/mi-nonstop.exp: Likewise.
894 * gdb.mi/mi-nsintrall.exp: Likewise.
895 * gdb.multi/base.exp: Likewise.
896 * gdb.multi/multi-arch.exp: Likewise.
897 * gdb.python/py-inferior.exp: Likewise.
898 * gdb.threads/break-while-running.exp: Likewise.
899 * gdb.threads/execl.exp: Likewise.
900 * gdb.threads/gcore-thread.exp: Likewise.
901 * gdb.threads/info-threads-cur-sal.exp: Likewise.
902 * gdb.threads/kill.exp: Likewise.
903 * gdb.threads/linux-dp.exp: Likewise.
904 * gdb.threads/multiple-step-overs.exp: Likewise.
905 * gdb.threads/next-bp-other-thread.exp: Likewise.
906 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
907 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
908 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
909 * gdb.threads/thread-find.exp: Likewise.
910 * gdb.threads/tls.exp: Likewise.
911 * lib/mi-support.exp (mi_reverse_list): Delete.
912 (mi_check_thread_states): No longer reverse list.
914 2015-11-24 Pedro Alves <palves@redhat.com>
916 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
919 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
921 * gdb.trace/actions.c: Include trace-common.h.
922 (main): Add a location for a fast tracepoint.
923 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
924 the normal tracepoints.
925 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
927 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
929 * save-trace.exp: Factor out code to these...
930 (gdb_save_tracepoints): New.
931 (gdb_load_tracepoints): New.
932 (do_save_load_test): New.
934 2015-11-23 Kevin Buettner <kevinb@redhat.com>
936 * gdb.base/asmlabel.exp: New test.
937 * gdb.base/asmlabel.c: New test case.
939 2015-11-23 Joel Brobecker <brobecker@adacore.com>
941 * gdb.base/wrong_frame_bt_full-main.c: New file.
942 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
943 * gdb.base/wrong_frame_bt_full.exp: New file.
945 2015-11-23 Joel Brobecker <brobecker@adacore.com>
947 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
949 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
951 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
952 pstate register when comparing registers values in
953 sparc64-*-linux-gnu targets to avoid spurious differences.
955 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
957 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
959 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
961 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
962 as type argument to gdb_compile.
963 * gdb.base/nested-subp2.exp: Likewise.
964 * gdb.base/nested-subp3.exp: Likewise.
966 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
968 * lib/dwarf.exp (_note): Fix left shift of negative value.
969 * gdb.trace/trace-condition.exp: Likewise.
971 2015-11-13 Yao Qi <yao.qi@linaro.org>
973 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
975 (test_scalar_returns): Likewise.
976 * gdb.base/d10v.ld: Remove.
977 * gdb.base/overlays.exp: Remove the target triplet checking for
979 * gdb.base/structs.exp (test_struct_returns): Remove the
981 (test_struct_calls): Likewise.
983 2015-11-13 Yao Qi <yao.qi@linaro.org>
985 * gdb.base/gnu_vector.exp: Check the return value by "p res".
986 * gdb.base/gnu_vector.c: Don't include stdio.h.
987 (main): Don't print res and call add_some_intvecs.
989 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
991 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
994 (func4): Use FAST_TRACEPOINT_LABEL.
995 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
998 (thread_function): Use FAST_TRACEPOINT_LABEL.
999 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1001 (marker): Use FAST_TRACEPOINT_LABEL.
1002 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1003 (pendfunc1): Remove.
1004 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1005 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1007 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1008 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1011 (marker): Use FAST_TRACEPOINT_LABEL.
1012 * gdb.trace/trace-common.h: New header.
1013 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1016 (marker): Use FAST_TRACEPOINT_LABEL.
1017 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1019 (thread_function): Use FAST_TRACEPOINT_LABEL.
1021 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1023 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1025 * gdb.trace/change-loc.exp: Use global pcreg definition.
1026 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1027 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1029 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1030 * gdb.trace/pending.exp: Likewise.
1031 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1032 * gdb.trace/trace-break.exp: Likewise.
1033 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1035 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1036 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1038 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1040 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1042 * gdb.ada/fin_fun_out: New testcase.
1044 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1046 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1047 value associated with DW_AT_byte_size.
1048 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1049 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1052 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1054 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1055 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1057 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1058 gdb.dwarf2/dw2-canonicalize-type.exp,
1059 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1060 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1061 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1062 provided by gdb_target_symbol_prefix_flags_asm.
1063 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1064 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1065 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1066 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1067 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1068 macros where needed). Use this macro for symbols which require
1069 the prefix provided by SYMBOL_PREFIX.
1071 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1073 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1075 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1076 representing expressions, of more than one list element.
1077 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1078 to prepend linker symbol prefix to f.
1079 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1080 table_1 and table_2.
1081 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1082 Likewise, for f and g.
1083 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1085 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1087 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1088 table_1_ptr and table_2_ptr.
1090 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1091 Joel Brobecker <brobecker@adacore.com>
1093 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1095 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1097 * gdb.reverse/s390-mvcle.c: New test.
1098 * gdb.reverse/s390-mvcle.exp: New file.
1099 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1101 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1103 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1105 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1107 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1109 * gdb.reverse/getresuid-reverse.exp: Likewise.
1110 * gdb.reverse/pipe-reverse.exp: Likewise.
1111 * gdb.reverse/readv-reverse.exp: Likewise.
1112 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1113 * gdb.reverse/time-reverse.exp: Likewise.
1114 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1116 2015-10-30 Yao Qi <yao.qi@linaro.org>
1118 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1119 (empty_cycle): Remove.
1120 (main): Don't call empty_cycle. Don't use watch_count_done.
1121 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1122 empty_cycle. Rewrite the code counting HW watchpoints.
1124 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1126 * gdb.reverse/fstatat-reverse.c: New test.
1127 * gdb.reverse/fstatat-reverse.exp: New file.
1128 * gdb.reverse/getresuid-reverse.c: New test.
1129 * gdb.reverse/getresuid-reverse.exp: New file.
1130 * gdb.reverse/pipe-reverse.c: New test.
1131 * gdb.reverse/pipe-reverse.exp: New file.
1132 * gdb.reverse/readv-reverse.c: New test.
1133 * gdb.reverse/readv-reverse.exp: New file.
1134 * gdb.reverse/recvmsg-reverse.c: New test.
1135 * gdb.reverse/recvmsg-reverse.exp: New file.
1136 * gdb.reverse/time-reverse.c: New test.
1137 * gdb.reverse/time-reverse.exp: New file.
1138 * gdb.reverse/waitpid-reverse.c: New test.
1139 * gdb.reverse/waitpid-reverse.exp: New file.
1141 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1143 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1145 2015-10-26 Doug Evans <dje@google.com>
1148 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1149 * gdb.dwarf2/bad-regnum.c: New file.
1150 * gdb.dwarf2/bad-regnum.exp: New file.
1152 2015-10-26 Doug Evans <dje@google.com>
1155 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1158 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1160 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1161 for a change by "Mention language in compile error message".
1163 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1166 * gdb.python/py-type.c (C::a_method): New.
1167 (C::a_const_method): New.
1168 (C::a_static_method): New.
1170 * gdb.python/py-type.exp (test_fields): Test getting fields
1171 from function and method.
1173 2015-10-21 Keven Boell <keven.boell@intel.com>
1175 * gdb.fortran/vla-alloc-assoc.exp: New file.
1176 * gdb.fortran/vla-datatypes.exp: New file.
1177 * gdb.fortran/vla-datatypes.f90: New file.
1178 * gdb.fortran/vla-history.exp: New file.
1179 * gdb.fortran/vla-ptype-sub.exp: New file.
1180 * gdb.fortran/vla-ptype.exp: New file.
1181 * gdb.fortran/vla-sizeof.exp: New file.
1182 * gdb.fortran/vla-sub.f90: New file.
1183 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1184 * gdb.fortran/vla-value-sub-finish.exp: New file.
1185 * gdb.fortran/vla-value-sub.exp: New file.
1186 * gdb.fortran/vla-value.exp: New file.
1187 * gdb.fortran/vla-ptr-info.exp: New file.
1188 * gdb.mi/mi-vla-fortran.exp: New file.
1189 * gdb.mi/vla.f90: New file.
1191 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1193 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1194 of hardwired timeout value.
1196 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 Pedro Alves <palves@redhat.com>
1199 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1200 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1202 2015-10-19 Josh Stone <jistone@redhat.com>
1204 * gdb.base/catch-syscall.c: Include <sched.h>.
1205 (unknown_syscall): New variable.
1206 (main): Trigger a vfork and an unknown syscall.
1207 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1208 (unknown_syscall_number): Likewise.
1209 (check_call_to_syscall): Accept an optional syscall pattern.
1210 (check_return_from_syscall): Likewise.
1211 (check_continue): Likewise.
1212 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1213 (test_catch_syscall_skipping_return): New test toggling off 'catch
1214 syscall' to step over the syscall return, then toggling back on.
1215 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1216 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1217 (do_syscall_tests): Call test_catch_syscall_without_args and
1218 test_catch_syscall_mid_vfork.
1219 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1220 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1222 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1224 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1225 print g_vE): Add new pass patterns.
1226 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1227 print various symbol names for vptr fields.
1229 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1231 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1234 2015-10-12 Yao Qi <yao.qi@linaro.org>
1236 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1238 2015-10-12 Yao Qi <yao.qi@linaro.org>
1240 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1241 is aarch64*-*-linux*.
1243 2015-10-12 Yao Qi <yao.qi@linaro.org>
1245 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1246 (can_relocate_bcond_true): ... it.
1247 (can_relocate_bcond_false): New function.
1249 (can_relocate_bl): Likewise.
1250 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1253 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1255 * gdb.base/nested-addr.c: New file.
1256 * gdb.base/nested-addr.exp: New testcase.
1258 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1260 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1261 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1262 its output. Ignore the output of "record goto begin" and instead
1263 check that GDB is replaying.
1265 2015-10-09 Pedro Alves <palves@redhat.com>
1267 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1268 (top level): Use it in the run with no args test.
1270 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1272 * gdb.dlang/properties.exp: New file.
1274 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1276 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1277 whether or not address 0x1000 is mapped on the target.
1279 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1281 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1284 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1286 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1287 instruction-history test.
1289 2015-09-28 Doug Evans <dje@google.com>
1291 * gdb.base/gcore.c (array_func): Add reference to static_array.
1293 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1295 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1298 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1300 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1301 short or char as base type.
1303 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1305 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1306 to allow any size enum.
1308 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1310 * gdb.ada/array_ptr_renaming.exp: New testcase.
1311 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1312 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1314 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1316 * gdb.trace/ftrace-lock.c: New file.
1317 * gdb.trace/ftrace-lock.exp: New file.
1319 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1321 * gdb.arch/insn-reloc.c: New file.
1322 * gdb.arch/ftrace-insn-reloc.exp: New file.
1324 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1326 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1328 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1329 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1330 * gdb.trace/range-stepping.c: Likewise.
1331 * gdb.trace/trace-break.c: Likewise.
1332 * gdb.trace/trace-mt.c (thread_function): Likewise.
1333 * gdb.trace/ftrace.c (marker): Likewise.
1334 * gdb.trace/trace-condition.c (marker): Likewise.
1335 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1336 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1339 2015-09-18 Doug Evans <xdje42@gmail.com>
1341 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1342 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1344 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1346 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1349 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1351 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1352 the pending breakpoint. Remove timeout override for "Run till
1353 MI pending breakpoint on pendfunc3 on thread 2" test.
1355 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1357 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1360 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1362 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1363 in breakpoint filename pattern.
1365 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1367 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1369 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1371 * gdb.linespec/explicit.exp: Check for readline support for
1372 tab-completion tests. Fix obvious typo.
1374 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1376 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1379 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1381 * gdb.btrace/non-stop.c: New.
1382 * gdb.btrace/non-stop.exp: New.
1384 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1385 Yao Qi <yao.qi@linaro.org>
1387 * gdb.trace/trace-condition.c: New file.
1388 * gdb.trace/trace-condition.exp: New file.
1390 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1392 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1393 for testing bytecode compilation.
1395 2015-09-16 Pedro Alves <palves@redhat.com>
1396 Sandra Loosemore <sandra@codesourcery.com>
1398 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1399 (SECONDS): Redefine.
1400 (main): Call pthread_kill and alarm early.
1401 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1403 (test): If the target can't hardware step and doesn't support
1404 displaced stepping, increase the timeout.
1406 2015-09-16 Pedro Alves <palves@redhat.com>
1408 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1409 (enable_debug): New procedures.
1410 (test): Use them. Bail out if waiting for threads fails.
1411 (top level): Bail out if a test fails.
1413 2015-09-16 Yao Qi <yao.qi@linaro.org>
1415 * gdb.asm/asm-source.exp: Set asm-arch for
1416 aarch64*-*-* target.
1417 * gdb.asm/aarch64.inc: New file.
1419 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1421 * gdb.ada/array_of_variable_length.exp: New testcase.
1422 * gdb.ada/array_of_variable_length/foo.adb: New file.
1423 * gdb.ada/array_of_variable_length/pck.adb: New file.
1424 * gdb.ada/array_of_variable_length/pck.ads: New file.
1426 2015-09-15 Doug Evans <dje@google.com>
1428 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1429 of function static local variable.
1431 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1433 * gdb.threads/tls-so_extern.exp: New test file.
1434 * gdb.threads/tls-so_extern.c: New test file.
1435 * gdb.threads/tls-so_extern_main.c: New test file.
1437 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1439 * gdb.opt/solib-intra-step-lib.c: New file.
1440 * gdb.opt/solib-intra-step-main.c: New file.
1441 * gdb.opt/solib-intra-step.exp: New file.
1443 2015-09-15 Pedro Alves <palves@redhat.com>
1445 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1446 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1448 2015-09-14 Pedro Alves <palves@redhat.com>
1450 * gdb.base/hook-stop-continue.c: Delete.
1451 * gdb.base/hook-stop-continue.exp: Delete.
1452 * gdb.base/hook-stop-frame.c: Delete.
1453 * gdb.base/hook-stop-frame.exp: Delete.
1454 * gdb.base/hook-stop.c: New file.
1455 * gdb.base/hook-stop.exp: New file.
1457 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1459 * gdb.ada/access_to_packed_array.exp: New testcase.
1460 * gdb.ada/access_to_packed_array/foo.adb: New file.
1461 * gdb.ada/access_to_packed_array/pack.adb: New file.
1462 * gdb.ada/access_to_packed_array/pack.ads: New file.
1464 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1466 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1469 2015-09-11 Don Breazeal <donb@codesourcery.com>
1471 * gdb.base/foll-exec.c: Add copyright header. Fix
1473 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1474 (do_exec_tests): Use clean_restart in place of zap_session,
1475 and for test initialization. Fix formatting issues. Use
1476 fail in place of perror.
1477 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1478 an expect statement to match an expression with output from
1479 the program under debug.
1480 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1481 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1482 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1483 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1484 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1486 2015-09-09 Doug Evans <dje@google.com>
1488 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1490 2015-09-09 Doug Evans <dje@google.com>
1492 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1494 2015-09-09 Doug Evans <dje@google.com>
1496 * gdb.base/savedregs.exp: Fix typo.
1498 2015-09-09 Pedro Alves <palves@redhat.com>
1500 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1502 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1504 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1505 command actually switches threads. Give up on remaining
1506 tests if target fails to stop at breakpoint.
1508 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1510 * gdb.ada/funcall_char.exp: New testcase.
1511 * gdb.ada/funcall_char/foo.adb: New file.
1513 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1515 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1516 expected outputs. Add two testcases for completing ambiguous
1518 * gdb.ada/complete/aux_pck.adb: New file.
1519 * gdb.ada/complete/aux_pck.ads: New file.
1520 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1521 Ambiguous_Func functions.
1522 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1523 * gdb.ada/complete/pck.adb: Likewise.
1525 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1527 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1528 failures to run the test program under GDB.
1530 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1532 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1535 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1537 * gdb.base/run-after-attach.exp: New test file.
1538 * gdb.base/run-after-attach.c: New test file.
1540 2015-08-26 Don Breazeal <donb@codesourcery.com>
1542 * gdb.base/foll-exec-2.c: New test program.
1543 * gdb.base/foll-exec-2.exp: New test.
1545 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1547 * gdb.base/nested-subp1.exp: New file.
1548 * gdb.base/nested-subp1.c: New file.
1549 * gdb.base/nested-subp2.exp: New file.
1550 * gdb.base/nested-subp2.c: New file.
1551 * gdb.base/nested-subp3.exp: New file.
1552 * gdb.base/nested-subp3.c: New file.
1554 2015-08-24 Pedro Alves <palves@redhat.com>
1556 * gdb.server/connect-without-multi-process.c: New file.
1557 * gdb.server/connect-without-multi-process.exp: New file.
1559 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1561 * gdb.opt/inline-markers.c: Make z int.
1563 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1565 * gdb.opt/inline-markers.c: Make z volatile.
1567 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1569 * gdb.opt/inline-bt.c: New volatile global z.
1570 * gdb.opt/inline-cmds.c: Likewise.
1571 * gdb.opt/inline-locals.c: Likewise.
1572 * gdb.opt/inline-markers.c: New extern global z.
1574 (inline_fn): Likewise.
1576 2015-08-24 Pedro Alves <palves@redhat.com>
1578 * config/m32r-stub.exp: Remove file.
1579 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1580 * gdb.base/call-rt-st.exp: Likewise.
1581 * gdb.base/call-strs.exp: Likewise.
1582 * gdb.base/default.exp: Remove references to h8300-*-hms and
1584 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1586 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1588 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1589 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1590 and "return" use KFAIL when GDB can not read/write the vector
1593 2015-08-21 Gary Benson <gbenson@redhat.com>
1595 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1597 2015-08-20 Pedro Alves <palves@redhat.com>
1599 * gdb.server/solib-list.exp: No longer expect an interior stop in
1602 2015-08-20 Pedro Alves <palves@redhat.com>
1604 * gdb.server/connect-stopped-target.c: New file.
1605 * gdb.server/connect-stopped-target.exp: New file.
1607 2015-08-20 Pedro Alves <palves@redhat.com>
1609 * gdb.dwarf2/comp-unit-lang.exp: New file.
1610 * gdb.dwarf2/comp-unit-lang.c: New file.
1612 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1614 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1615 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1617 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1619 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1620 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1622 2015-08-18 Doug Evans <dje@google.com>
1623 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1625 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1626 skip_python_tests. New arg prompt_regexp.
1627 (skip_python_tests): New function.
1628 * lib/mi-support.exp (mi_skip_python_tests): New function.
1629 * gdb.python/py-mi-objfile-gdb.py: New file.
1630 * gdb.python/py-mi-objfile.c: New file.
1631 * gdb.python/py-mi-objfile.exp: New file.
1633 2015-08-17 Keith Seitz <keiths@redhat.com>
1635 * gdb.linespec/explicit.exp: Move strace test from here ...
1636 * gdb.trace/strace.exp: ... to here.
1638 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1640 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1641 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1643 2015-08-14 Doug Evans <xdje42@gmail.com>
1645 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1646 inferior before selecting a new file.
1648 2015-08-14 Doug Evans <xdje42@gmail.com>
1650 * gdb.mi/mi-disassemble.exp: Update.
1651 * gdb.base/disasm-optim.S: New file.
1652 * gdb.base/disasm-optim.c: New file.
1653 * gdb.base/disasm-optim.h: New file.
1654 * gdb.base/disasm-optim.exp: New file.
1656 2015-08-14 Keith Seitz <keiths@redhat.com>
1658 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1661 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1663 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1665 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1667 * gdb.ada/fun_renaming.exp: New testcase.
1668 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1669 * gdb.ada/fun_renaming/pack.adb: New file.
1670 * gdb.ada/fun_renaming/pack.ads: New file.
1672 2015-08-12 Keith Seitz <keiths@redhat.com>
1674 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1675 gdb_get_line_number.
1677 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1679 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1680 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1681 gdb.base/dso2dso.exp: New files.
1683 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1684 Pedro Alves <palves@redhat.com>
1685 Keith Seitz <keiths@redhat.com>
1687 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1690 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1692 * gdb.base/gdbhistsize-history.exp
1693 (test_histsize_history_setting): Use save_vars.
1694 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1696 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1697 * gdb.base/readline.exp: Use save_vars.
1699 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1701 * lib/gdb.exp (save_vars): New proc.
1703 2015-08-11 Keith Seitz <keiths@redhat.com>
1705 * gdb.base/help.exp: Update help_breakpoint_text.
1707 2015-08-11 Keith Seitz <keiths@redhat.com>
1709 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1710 (at toplevel): Call test_explicit_breakpoints.
1711 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1713 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1714 breakpoint conditions, "-cond".
1716 2015-08-11 Keith Seitz <keiths@redhat.com>
1718 * gdb.linespec/3explicit.c: New file.
1719 * gdb.linespec/cpexplicit.cc: New file.
1720 * gdb.linespec/cpexplicit.exp: New file.
1721 * gdb.linespec/explicit.c: New file.
1722 * gdb.linespec/explicit.exp: New file.
1723 * gdb.linespec/explicit2.c: New file.
1724 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1725 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1726 before using in the matching pattern.
1727 Clarify that `prefix' is a regular expression.
1729 2015-08-11 Keith Seitz <keiths@redhat.com>
1731 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1733 Add tests for missing ",FMT" and ",".
1735 2015-08-10 Doug Evans <dje@google.com>
1736 Keith Seitz <keiths@redhat.com>
1739 * gdb.base/completion.exp: Add location completer tests.
1741 2015-08-07 Pedro Alves <palves@redhat.com>
1743 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1745 (top level): Run do_test with and without displaced stepping.
1747 2015-08-07 Pedro Alves <palves@redhat.com>
1749 * gdb.base/valgrind-disp-step.c: New file.
1750 * gdb.base/valgrind-disp-step.exp: New file.
1752 2015-08-07 Pedro Alves <palves@redhat.com>
1754 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1756 (main): Add alarm. Run an infinite loop instead of calling
1758 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1760 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1762 (main): Add alarm. Run an infinite loop instead of calling
1764 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1767 2015-08-07 Pedro Alves <palves@redhat.com>
1769 * gdb.base/checkpoint-ns.exp: New file.
1770 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1773 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1775 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1776 * gdb.btrace/instruction_history.exp: Update.
1777 * gdb.btrace/tsx.exp: New.
1778 * gdb.btrace/tsx.c: New.
1780 2015-08-06 Pedro Alves <palves@redhat.com>
1782 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1784 * gdb.reverse/until-precsave.exp: Bump timeouts.
1786 2015-08-06 Pedro Alves <palves@redhat.com>
1788 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1790 2015-08-06 Pedro Alves <palves@redhat.com>
1793 * gdb.threads/process-dies-while-handling-bp.c: New file.
1794 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1796 2015-08-06 Pedro Alves <palves@redhat.com>
1798 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1799 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1801 2015-08-05 Pedro Alves <palves@redhat.com>
1803 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1804 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1806 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1808 * gdb.base/bp-permanent.exp: Report test as unsupported if
1809 the target cannot stop at the permanent breakpoint.
1811 2015-08-03 Doug Evans <dje@google.com>
1813 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1816 2015-08-03 Doug Evans <dje@google.com>
1818 * Makefile.in (workers/%.worker, build-perf): New rule.
1819 (GDB_PERFTEST_MODE): New variable.
1820 (check-perf): Use it.
1821 (clean): Clean up gdb.perf parallel build subdirs.
1822 * lib/build-piece.exp: New file.
1823 * lib/gdb.exp (make_gdb_parallel_path): New function
1824 (standard_output_file, standard_temp_file): Call it.
1825 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1827 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1829 2015-08-03 Doug Evans <dje@google.com>
1831 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1832 (LOG_FILE_NAME): New global.
1833 (TextReporter.__init__): Initialize self.txt_sum.
1834 (TextReporter.report): Add support for multiple data-points.
1835 Move report to perftest.sum, put raw data in perftest.log.
1836 (TextReporter.start): Open sum and log files.
1837 (TextReporter.end): Close sum and log files.
1838 * gdb.perf/lib/perftest/testresult.py
1839 (SingleStatisticTestResult.record): Handle multiple data-points.
1841 2015-07-31 Pedro Alves <palves@redhat.com>
1843 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1844 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1845 kill_wait_spawned_process instead of explicit "kill -9".
1846 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1847 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1848 kill_wait_spawned_process.
1849 * gdb.base/attach-twice.exp: Likewise.
1850 * gdb.base/attach.exp: Likewise.
1851 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1853 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1854 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1855 kill_wait_spawned_process.
1856 * gdb.base/valgrind-infcall.exp: Likewise.
1857 * gdb.multi/multi-attach.exp: Likewise.
1858 * gdb.python/py-prompt.exp: Likewise.
1859 * gdb.python/py-sync-interp.exp: Likewise.
1860 * gdb.server/ext-attach.exp: Likewise.
1861 * gdb.threads/attach-into-signal.exp (corefunc): Use
1862 spawn_wait_for_attach, spawn_id_get_pid and
1863 kill_wait_spawned_process.
1864 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1865 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1866 spawn_id_get_pid and kill_wait_spawned_process.
1867 * gdb.threads/attach-stopped.exp (corefunc): Use
1868 spawn_wait_for_attach, spawn_id_get_pid and
1869 kill_wait_spawned_process.
1870 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1871 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1872 kill_wait_spawned_process instead of explicit "kill -9".
1873 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1874 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1875 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1876 processes. Don't map cygwin/windows pids here. Now returns a
1879 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1881 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1882 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1885 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1887 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1889 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1892 2014-05-21 Mark Wielaard <mjw@redhat.com>
1894 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1896 2015-07-30 Pedro Alves <palves@redhat.com>
1898 * linux-low.c (handle_extended_wait): Set the child's last
1899 reported status to TARGET_WAITKIND_STOPPED.
1901 2015-07-30 Pedro Alves <palves@redhat.com>
1904 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1905 only shows inferior 1.
1907 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1908 Pedro Alves <palves@redhat.com>
1911 * gdb.threads/fork-plus-threads.c: New file.
1912 * gdb.threads/fork-plus-threads.exp: New file.
1914 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1916 * gdb.base/batch-preserve-term-settings.exp
1917 (test_terminal_settings_preserved_after_cli_exit): Use
1920 2015-07-29 Pedro Alves <palves@redhat.com>
1921 Don Breazeal <donb@codesourcery.com>
1923 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1924 output from both inferior_spawn_id and gdb_spawn_id.
1926 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1928 * gdb.threads/attach-into-signal.exp (corefunc): Use
1929 with_test_prefix on nested loops, uniquefying the test messages.
1931 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1933 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1936 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1938 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1940 (test_terminal_settings_preserved_after_sigterm): New test.
1942 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1944 * gdb.base/batch-preserve-term-settings.exp
1945 (test_terminal_settings_preserved_after_cli_exit): New test.
1947 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1949 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1950 manipulation of saved_gdbflags.
1951 (test_terminal_settings_preserved): Remove global declaration of
1952 the unused variable pagination_prompt. Remove manipulation of
1953 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1956 2015-07-29 Pedro Alves <palves@redhat.com>
1958 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1960 2015-07-29 Pedro Alves <palves@redhat.com>
1962 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1965 2015-07-29 Pedro Alves <palves@redhat.com>
1967 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1968 (main): Call gdb_unbuffer_output.
1969 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1970 (main): Call gdb_unbuffer_output.
1971 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1972 (main): Call gdb_unbuffer_output.
1973 * gdb.base/call-strs.exp: Adjust to step over the
1974 gdb_unbuffer_output call.
1975 * gdb.base/catch-gdb-caused-signals.c: Include
1976 "../lib/unbuffer_output.c".
1977 (main): Call gdb_unbuffer_output.
1978 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1979 (main): Call gdb_unbuffer_output.
1980 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1981 (main): Call gdb_unbuffer_output.
1982 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1983 (main): Call gdb_unbuffer_output.
1984 * gdb.base/shlib-call.exp: Adjust to step over the
1985 gdb_unbuffer_output call.
1986 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1987 (main): Call gdb_unbuffer_output.
1988 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1989 (main): Call gdb_unbuffer_output.
1990 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1991 (main): Rename to ...
1993 (main): Reimplement.
1994 * gdb.base/varargs.exp: Run to test instead of to main.
1995 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1996 (main): Call gdb_unbuffer_output.
1998 2015-07-29 Pedro Alves <palves@redhat.com>
2000 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2001 factore out from mi_continue_dprintf. For call-style dprintfs,
2002 expect dprintf output out of $inferior_spawn_id.
2003 (mi_continue_dprintf): Use mi_expect_dprintf.
2004 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2005 (main): Call gdb_unbuffer_output.
2007 2015-07-29 Pedro Alves <palves@redhat.com>
2009 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2010 (default_mi_gdb_start): Set inferior_spawn_id instead of
2011 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2013 (mi_gdb_test): Always expect inferior output from both
2014 $inferior_spawn_id and $gdb_spawn_id.
2016 2015-07-29 Pedro Alves <palves@redhat.com>
2018 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2019 send_inferior and $inferior_spawn_id.
2021 2015-07-29 Pedro Alves <palves@redhat.com>
2023 * gdb.gdb/complaints.exp (test_initial_complaints)
2024 (test_serial_complaints, test_short_complaints): Use
2026 (test_empty_complaint): Handle $inferior_spawn_id !=
2029 2015-07-29 Pedro Alves <palves@redhat.com>
2031 * gdb.base/varargs.exp: Use gdb_test_stdio.
2033 2015-07-29 Pedro Alves <palves@redhat.com>
2035 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2037 2015-07-29 Pedro Alves <palves@redhat.com>
2039 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2041 2015-07-29 Pedro Alves <palves@redhat.com>
2043 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2044 parameter into two new parameters, "inf_result" and "gdb_result".
2045 Expect inferior output and gdb output from $inferior_spawn_id and
2046 $gdb_spawn_id, respectively. Adjust all callers.
2048 2015-07-29 Pedro Alves <palves@redhat.com>
2050 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2051 of gdb_test_sequence.
2053 2015-07-29 Pedro Alves <palves@redhat.com>
2055 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2056 (saw_spurious_output): Expect inferior output from
2057 $inferior_spawn_id. Use gdb_test_stdio.
2059 2015-07-29 Pedro Alves <palves@redhat.com>
2061 * gdb.base/dprintf.exp: Use standard_testfile. Change
2062 prepare_for_testing call.
2063 (srcfile): Don't set.
2064 (restart): New procedure.
2065 (test_dprintf): New procecure, use to continue over dprintfs.
2066 (test_call, test_agent): New procedures, tests moved here.
2067 Restart gdb and recreate dprintfs. Adjust expected output.
2069 2015-07-29 Pedro Alves <palves@redhat.com>
2071 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2073 2015-07-29 Pedro Alves <palves@redhat.com>
2075 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2077 2015-07-29 Pedro Alves <palves@redhat.com>
2079 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2082 2015-07-29 Pedro Alves <palves@redhat.com>
2084 * lib/gdb.exp (gdb_test_stdio): New procedure.
2086 2015-07-29 Pedro Alves <palves@redhat.com>
2088 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2090 2015-07-29 Pedro Alves <palves@redhat.com>
2092 * gdb.base/call-signal-resume.exp: Remove check for
2093 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2094 * gdb.base/unwindonsignal.exp: Likewise.
2095 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2096 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2098 2015-07-29 Pedro Alves <palves@redhat.com>
2100 * gdb.base/siginfo-addr.c (pass): New function.
2101 (handler): Call it iff si_addr is correct.
2102 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2103 Set a breakpoint at "pass" and continue to it.
2105 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2107 * gdb.python/py-objfile.exp: Make some tests have unique names.
2108 * gdb.python/py-pp-registration.exp: Likewise.
2110 2015-07-28 Pedro Alves <palves@redhat.com>
2112 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2114 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2116 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2118 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2120 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2122 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2124 * gdb.base/gdb-sigterm-2.exp: New test.
2126 2015-07-25 Doug Evans <xdje42@gmail.com>
2129 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2130 (workers/%.worker, build-perf): New rule.
2131 (GDB_PERFTEST_MODE): New variable.
2132 (check-perf): Use it.
2133 (clean): Clean up gdb.perf parallel build subdirs.
2134 * lib/build-piece.exp: New file.
2135 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2136 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2138 (standard_temp_file): Ditto.
2139 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2142 2015-07-24 Doug Evans <dje@google.com>
2144 * gdb.perf/lib/perftest/utils.py: New file.
2145 * gdb.perf/gm-hello.cc: New file.
2146 * gdb.perf/gm-pervasive-typedef.cc: New file.
2147 * gdb.perf/gm-pervasive-typedef.h: New file.
2148 * gdb.perf/gm-std.cc: New file.
2149 * gdb.perf/gm-std.h: New file.
2150 * gdb.perf/gm-use-cerr.cc: New file.
2151 * gdb.perf/gm-utils.h: New file.
2152 * gdb.perf/gmonster-null-lookup.py: New file.
2153 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2154 * gdb.perf/gmonster-print-cerr.py: New file.
2155 * gdb.perf/gmonster-ptype-string.py: New file.
2156 * gdb.perf/gmonster-runto-main.py: New file.
2157 * gdb.perf/gmonster-select-file.py: New file.
2158 * gdb.perf/gmonster1-null-lookup.exp: New file.
2159 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2160 * gdb.perf/gmonster1-print-cerr.exp: New file.
2161 * gdb.perf/gmonster1-ptype-string.exp: New file.
2162 * gdb.perf/gmonster1-runto-main.exp: New file.
2163 * gdb.perf/gmonster1-select-file.exp: New file.
2164 * gdb.perf/gmonster1.cc: New file.
2165 * gdb.perf/gmonster1.exp: New file.
2166 * gdb.perf/gmonster2-null-lookup.exp: New file.
2167 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2168 * gdb.perf/gmonster2-print-cerr.exp: New file.
2169 * gdb.perf/gmonster2-ptype-string.exp: New file.
2170 * gdb.perf/gmonster2-runto-main.exp: New file.
2171 * gdb.perf/gmonster2-select-file.exp: New file.
2172 * gdb.perf/gmonster2.cc: New file.
2173 * gdb.perf/gmonster2.exp: New file.
2175 2015-07-24 Doug Evans <dje@google.com>
2177 * gdb.perf/README: New file.
2178 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2179 * lib/gen-perf-test.exp: New file.
2181 2015-07-24 Doug Evans <dje@google.com>
2183 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2184 (PerfTest::startup): New function.
2185 (PerfTest::run): Return result of calling body.
2186 (PerfTest::assemble): Rewrite.
2187 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2188 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2189 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2190 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2191 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2193 2015-07-24 Doug Evans <dje@google.com>
2195 * lib/gdb.exp (clean_restart): Make executable optional.
2197 2015-07-24 Doug Evans <dje@google.com>
2199 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2200 compiler_info references.
2201 * gdb.cp/temargs.exp: Ditto.
2202 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2203 (get_compiler_info): Early exit if already computed. Set compiler_info
2204 to "unknown" if there was a problem.
2205 (test_compiler_info): Add function comment. Call get_compiler_info.
2207 2015-07-24 Doug Evans <dje@google.com>
2209 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2210 (workers/%.worker, build-perf): New rule.
2211 (GDB_PERFTEST_MODE): New variable.
2212 (check-perf): Use it.
2213 (clean): Clean up gdb.perf parallel build subdirs.
2214 * lib/build-piece.exp: New file.
2215 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2216 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2218 (standard_temp_file): Ditto.
2219 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2222 2015-07-24 Doug Evans <dje@google.com>
2224 * lib/future.exp (gdb_default_target_compile): New option
2226 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2229 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2231 * gdb.base/catch-syscall.exp: Call gdb_exit before
2234 2015-07-24 Pedro Alves <palves@redhat.com>
2236 * gdb.python/py-events.exp: Accept output between the stop event
2238 * gdb.python/py-evsignal.exp: Likewise.
2239 * gdb.python/py-evthreads.exp: Likewise.
2241 2015-07-24 Pedro Alves <palves@redhat.com>
2244 * gdb.threads/non-ldr-exit.c: New file.
2245 * gdb.threads/non-ldr-exit.exp: New file.
2247 2015-07-24 Yao Qi <yao.qi@linaro.org>
2249 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2252 2015-07-24 Yao Qi <yao.qi@linaro.org>
2254 * gdb.server/ext-restart.exp: New file.
2256 2015-07-24 Yao Qi <yao.qi@linaro.org>
2258 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2260 * gdb.server/ext-wrapper.exp: New file.
2262 2015-07-23 Doug Evans <dje@google.com>
2264 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2265 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2267 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2269 * gdb.ada/var_arr_typedef.exp: New testcase.
2270 * gdb.ada/var_arr_typedef/pack.adb: New file.
2271 * gdb.ada/var_arr_typedef/pack.ads: New file.
2272 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2274 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2276 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2278 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 * gdb.arch/i386-biarch-core.exp: Replace istarget
2281 by "complete set gnutarget". Remove expectation for the "core-file"
2284 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2286 Revert the previous commit:
2287 Tests for validate symbol file using build-id.
2289 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2291 Tests for validate symbol file using build-id.
2292 * gdb.base/solib-mismatch-lib.c: New file.
2293 * gdb.base/solib-mismatch-libmod.c: New file.
2294 * gdb.base/solib-mismatch.c: New file.
2295 * gdb.base/solib-mismatch.exp: New file.
2297 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2299 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2301 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2302 * gdb.base/siginfo.exp: Likewise.
2303 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2305 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2307 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2309 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2311 * gdb.trace/range-stepping.exp: Check that the target supports
2314 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2316 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2318 2015-07-14 Pedro Alves <palves@redhat.com>
2320 * gdb.base/killed-outside.exp: New file.
2321 * gdb.base/killed-outside.c: New file.
2323 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2325 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2327 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2329 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2331 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2332 infcall tests instead of setting up for KFAIL.
2334 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2336 * gdb.btrace/record_goto-step.exp: New.
2338 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2341 * gdb.compile/compile.c (struct struct_type): Add volatile to
2343 * gdb.compile/compile.exp
2344 (compile code struct_object.selffield = &struct_object): Skip further
2345 struct_object tests if this one xfails.
2347 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2350 * gdb.trace/ax.exp: Add test.
2352 2015-07-07 Yao Qi <yao.qi@linaro.org>
2354 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2355 instead of istarget "aarch64*-*-*".
2356 * gdb.arch/aarch64-fp.exp: Likewise.
2357 * gdb.base/float.exp: Likewise.
2358 * gdb.reverse/aarch64.exp: Likewise.
2359 * lib/gdb.exp (is_aarch64_target): New proc.
2361 2015-07-07 Yao Qi <yao.qi@linaro.org>
2363 * lib/gdb.exp (is_aarch32_target): New proc.
2364 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2365 instead of "istarget "arm*-*-*"".
2366 * gdb.arch/arm-disp-step.exp: Likewise.
2367 * gdb.arch/thumb-bx-pc.exp: Likewise.
2368 * gdb.arch/thumb-prologue.exp: Likewise.
2369 * gdb.arch/thumb-singlestep.exp: Likewise.
2370 * gdb.base/disp-step-syscall.exp: Likewise.
2371 * gdb.base/float.exp: Likewise.
2373 2015-07-07 Yao Qi <yao.qi@linaro.org>
2375 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2376 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2378 2015-07-07 Yao Qi <yao.qi@linaro.org>
2380 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2381 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2383 * gdb.multi/multi-arch.exp: Likewise.
2385 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2387 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2390 2015-07-07 Yao Qi <yao.qi@linaro.org>
2392 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2394 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2396 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2397 '[' and ']' characters.
2399 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2401 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2403 2015-06-29 Pedro Alves <palves@redhat.com>
2406 * gdb.threads/hand-call-new-thread.c: New file.
2407 * gdb.threads/hand-call-new-thread.c: New file.
2409 2015-06-26 Keith Seitz <keiths@redhat.com>
2410 Doug Evans <dje@google.com>
2413 * gdb.cp/var-tag-2.cc: New file.
2414 * gdb.cp/var-tag-3.cc: New file.
2415 * gdb.cp/var-tag-4.cc: New file.
2416 * gdb.cp/var-tag.cc: New file.
2417 * gdb.cp/var-tag.exp: New file.
2419 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2421 * gdb.base/history-duplicates.exp: New test.
2423 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2425 * gdb.base/completion.exp: Test the completion of the "focus"
2428 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2430 * gdb.arch/amd64-prologue-skip.S: New file.
2431 * gdb.arch/amd64-prologue-skip.exp: New file.
2433 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2435 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2436 is_address_zero_readable check.
2438 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2440 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2441 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2443 2015-06-24 Yao Qi <yao.qi@linaro.org>
2445 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2448 2015-06-24 Yao Qi <yao.qi@linaro.org>
2450 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2451 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2452 * gdb.base/siginfo-thread.exp: Likewise.
2454 2015-06-22 Yao Qi <yao.qi@linaro.org>
2456 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2458 2015-06-22 Yao Qi <yao.qi@linaro.org>
2460 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2462 (skip_hw_watchpoint_tests): Likewise.
2464 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2466 * gdb.base/gdbinit-history.exp: Test the interaction between
2467 setting GDBHISTSIZE and setting the history size via .gdbinit.
2469 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2472 * gdb.base/gdbhistsize-history.exp: New test.
2474 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2476 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2478 * gdb.base/readline.exp: Likewise.
2480 2015-06-17 Yao Qi <yao.qi@linaro.org>
2482 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2485 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2487 * gdb.base/gdbinit-history.exp: Add test case to check that
2488 an unlimited history file does not get truncated on exit.
2490 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2492 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2493 (VECTOR): New macro. Use it...
2494 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2495 ...for these typedefs.
2496 (int8, char1, int1, double1): New typedefs.
2497 (struct just_int2, struct two_int2): New structures.
2498 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2499 (add_structvecs, add_singlevecs): New functions.
2500 (main): Call add_some_intvecs twice.
2501 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2502 the compile and exit upon failure. Try compiling for the "native"
2503 architecture. Test inferior function calls with vector arguments
2504 and vector return value handling with "finish" and "return".
2506 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2508 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2509 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2511 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2513 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2515 PR breakpoints/16465
2516 * gdb.mi/mi-dprintf-pending.c: New file.
2517 * gdb.mi/mi-dprintf-pending.exp: New test.
2518 * gdb.mi/mi-dprintf-pendshr.c: New file.
2520 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2521 Mircea Gherzan <mircea.gherzan@intel.com>
2523 * gdb.arch/i386-mpx-map.c: New file.
2524 * gdb.arch/i386-mpx-map.exp: New File.
2526 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2528 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2529 * gdb.arch/i386-mpx.exp: Indentation fixed.
2531 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2533 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2534 function and improved indentation.
2535 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2536 gdb_test_multiple. Added additional tests to skip the test.
2538 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2540 * gdb.arch/i386-avx512.c: Change path in include file.
2541 * gdb.arch/i386-avx512.exp: Change include dir path
2543 * gdb.arch/i386-mpx.c: Change path in include file.
2544 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2547 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2549 * gdb.compile/compile-print.exp (compile print *vararray@3)
2550 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2552 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2554 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2555 (do not keep jit in memory): ... this.
2556 (expect 5): Change it to ...
2557 (expect no 5): ... this.
2559 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2562 * gdb.mi/mi-detach.exp: New file.
2564 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 * gdb.arch/amd64-tailcall-self.S: New file.
2568 * gdb.arch/amd64-tailcall-self.c: New file.
2569 * gdb.arch/amd64-tailcall-self.exp: New file.
2571 2015-05-28 Don Breazeal <donb@codesourcery.com>
2573 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2574 tests for remote targets by checking is_target_gdbserver.
2576 2015-05-27 Doug Evans <dje@google.com>
2578 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2579 * gdb.dwarf2/opaque-type-lookup.c: New file.
2580 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2582 2015-05-26 Doug Evans <dje@google.com>
2584 * gdb.cp/iostream.cc: New file.
2585 * gdb.cp/iostream.exp: New file.
2587 2015-05-26 Doug Evans <dje@google.com>
2589 * gdb.dwarf2/dw2-op-call.exp: Update.
2590 * gdb.dwarf2/dw4-sig-types.exp: Update.
2591 * gdb.dwarf2/implptr.exp: Update.
2592 * gdb.mi/mi-cmd-param-changed.exp: Update.
2594 2015-05-26 Doug Evans <dje@google.com>
2596 * gdb.python/py-lazy-string.c: New file.
2597 * gdb.python/py-lazy-string.exp: New file.
2598 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2599 (main): Update. Add estring3.
2600 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2601 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2603 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2604 Yao Qi <yao.qi@linaro.org>
2606 * gdb.reverse/aarch64.c: New.
2607 * gdb.reverse/aarch64.exp: New.
2609 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2611 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2612 (supports_reverse): Likewise.
2614 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2616 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2617 Use with_test_prefix.
2619 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2621 * gdb.base/completion.exp: Add test for completion of layout
2624 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2626 * lib/gdb.exp (skip_tui_tests): New proc.
2627 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2629 2015-05-19 Pedro Alves <palves@redhat.com>
2631 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2632 Save the whole env array instead of just HOME. Unset HISTSIZE in
2633 the environment while testing. Restore whole environment
2636 2015-05-16 Doug Evans <xdje42@gmail.com>
2638 * gdb.guile/scm-ports.c: New file.
2639 * gdb.guile/scm-ports.exp: Add memory port tests.
2641 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2643 * gdb.compile/compile-print.c: New file.
2644 * gdb.compile/compile-print.exp: New file.
2646 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 * gdb.compile/compile-ops.exp: Cast param to void.
2649 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2650 (compile code struct_object.selffield = &struct_object): Add xfail.
2652 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2654 * gdb.ada/arr_enum_with_gap: New testcase.
2656 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2658 * gdb.ada/byte_packed_arr: New testcase.
2660 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2662 * gdb.ada/pckd_neg: New testcase.
2664 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2667 * gdb.base/gdbinit-history.exp: New test.
2668 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2669 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2671 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2673 * gdb.python/py-xmethods.cc: Enhance test case.
2674 * gdb.python/py-xmethods.exp: New tests.
2675 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2677 (B_indexoper): Likewise.
2678 (global_dm_list) : Add new xmethod worker functions.
2680 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2682 * gdb.base/coredump-filter.exp: Correctly unset
2683 "coredump_var_addr" array.
2685 2015-05-08 Pedro Alves <palves@redhat.com>
2687 * gdb.server/non-existing-program.exp: Unset spawn_id.
2689 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2692 * gdb.python/py-xmethods.exp: Add tests.
2694 2015-05-08 Yao Qi <yao.qi@linaro.org>
2697 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2698 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2699 function set_coredump_filter, and remove remote_exec call.
2700 Remove argument ipid. Callers update.
2701 (top level): Don't get inferior's PID.
2703 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2705 * gdb.base/watch_thread_num.exp: Skip test on targets without
2708 2015-05-06 Pedro Alves <palves@redhat.com>
2711 * gdb.server/non-existing-program.exp: New file.
2713 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2715 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2717 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2719 * gdb.ada/out_of_line_in_inlined: New testcase.
2721 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2723 * gdb.ada/var_rec_arr: New testcase.
2725 2015-04-30 Yao Qi <yao.qi@linaro.org>
2727 * gdb.base/break-idempotent.exp: If
2728 skip_hw_watchpoint_multi_tests returns true, skip the tests
2729 on "rwatch" and "awatch".
2731 2015-04-30 Yao Qi <yao.qi@linaro.org>
2733 * gdb.base/relativedebug.exp: Invoke gdb command
2734 "info sharedlibrary", and if libc.so doesn't have debug info,
2737 2015-04-29 Doug Evans <dje@google.com>
2739 * gdb.python/py-xmethods.exp: Add ptype tests.
2740 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2741 get_result_type method.
2743 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2745 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2746 the target does not support hardware watchpoints.
2748 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2750 * gdb.base/break-always.exp: Abort testing if writing to memory
2753 2015-04-28 Doug Evans <dje@google.com>
2755 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2756 * gdb.python/py-pp-registration.exp: ... here. New file.
2757 * gdb.python/py-pp-registration.c: New file.
2758 * gdb.python/py-pp-registration.py: New file.
2760 2015-04-28 Doug Evans <dje@google.com>
2762 * gdb.python/py-bad-printers.c: New file.
2763 * gdb.python/py-bad-printers.py: New file.
2764 * gdb.python/py-bad-printers.exp: New file.
2766 2015-04-28 Sasha Smundak <asmundak@google.com>
2768 * gdb.python/py-type.exp: New test.
2770 2015-04-28 Andy Wingo <wingo@igalia.com>
2772 * gdb.python/py-parameter.exp:
2773 * gdb.guile/scm-parameter.exp: Escape the path that we are
2774 matching against, as it might contain characters that are special
2775 to regular expressions.
2777 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2779 * gdb.ada/rec_comp: New testcase.
2781 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2783 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2786 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2788 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2789 new tests for verilog output.
2791 2015-04-24 Yao Qi <yao.qi@linaro.org>
2793 * boards/remote-gdbserver-on-localhost.exp: New file.
2795 2015-04-23 Pedro Alves <palves@redhat.com>
2797 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2798 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2799 "end of file", remove $inferior_spawn_id from the indirect list.
2801 2015-04-23 Pedro Alves <palves@redhat.com>
2803 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2805 2015-04-23 Pedro Alves <palves@redhat.com>
2807 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2808 on $any_spawn_id instead of only on $gdb_spawn_id.
2810 2015-04-21 Pierre Muller <muller@sourceware.org>
2813 * lib/pascal.exp (gpc_compile): Add new option "class".
2814 (fpc_compile): Likewise.
2815 * gdb.pascal/case-insensitive-symbols.pas: New file.
2816 * gdb.pascal/case-insensitive-symbols.exp: New file.
2818 2015-04-20 Gary Benson <gbenson@redhat.com>
2820 * gdb.base/attach.exp: Fix three extended remote failures.
2822 2015-04-17 Gary Benson <gbenson@redhat.com>
2824 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2825 the main executable over the remote protocol.
2827 2015-04-16 Pedro Alves <palves@redhat.com>
2829 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2830 a new gdbserver if gdbserver_reconnect_p is set.
2832 2015-04-16 Pedro Alves <palves@redhat.com>
2834 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2835 is set, don't exit gdbserver.
2837 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2839 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2840 appropriate .insn, such that an older assembler can be used.
2841 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2842 the z/Architecture instruction set on 31-bit targets as well.
2844 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2846 * gdb.go/handcall.exp: Remove all logic related to the first
2847 breakpoint and rely on go_runto_main instead.
2848 * gdb.go/strings.exp: Likewise.
2849 * gdb.go/unsafe.exp: Likewise.
2850 * gdb.go/hello.exp: Likewise. Also rename the remaining
2851 breakpoint marker to "breakpoint 1".
2852 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2853 * gdb.go/strings.go: Likewise.
2854 * gdb.go/unsafe.go: Likewise.
2855 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2856 "set breakpoint 2 here" and rename the remaining breakpoint marker
2859 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2861 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2862 if itertools.imap is not present.
2863 * gdb.python/py-objfile.exp: Add parentheses.
2864 * gdb.python/py-type.exp: Same.
2865 * gdb.python/py-unwind-maint.py: Same.
2867 2015-04-15 Yao Qi <yao.qi@linaro.org>
2869 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2870 of ":$ptr_size" and set its form explicitly.
2872 2015-04-15 Pedro Alves <palves@redhat.com>
2873 Yao Qi <yao.qi@linaro.org>
2875 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2876 timeout by factor of 4.
2877 (test_regular_watch): Likewise.
2878 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2879 * gdb.reverse/sigall-reverse.exp: Likewise.
2880 * gdb.reverse/until-precsave.exp: Likewise.
2881 * lib/gdb.exp (with_timeout_factor): New proc.
2882 (gdb_expect): Move some code to ...
2883 (get_largest_timeout): ... here. New procedure.
2885 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2887 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2889 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2891 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2892 to write to the .text section.
2894 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2896 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2897 Handle the case of targets that do not provide PID information.
2899 2015-04-13 Yao Qi <yao.qi@linaro.org>
2901 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2902 and use expect instead of gdb_expect.
2904 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2906 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2907 "coredump_var_addr" to avoid naming conflict with other testcases.
2909 2015-04-10 Pedro Alves <palves@redhat.com>
2911 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2912 gdb_test_sequence and gdb_assert.
2914 2015-04-10 Pedro Alves <palves@redhat.com>
2916 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2917 test messages that don't include the breakpoint address.
2919 2015-04-10 Yao Qi <yao.qi@linaro.org>
2921 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2922 false for some offset and width combinations which aren't
2923 supported by linux kernel.
2925 2015-04-10 Pedro Alves <palves@redhat.com>
2927 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2928 procedure, factored out from ...
2929 (top level): ... here. Add "set displaced-stepping" testing axis.
2930 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2931 parameter "displaced". Use it.
2932 (top level): Use foreach and add "set displaced-stepping" testing
2935 2015-04-10 Pedro Alves <palves@redhat.com>
2937 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2939 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2940 both the address of the instruction that triggers the watchpoint
2941 and the address of the instruction immediately after, and use
2942 those addresses for the test. Fix comment.
2944 2015-04-10 Pedro Alves <palves@redhat.com>
2946 * gdb.base/sigstep.exp (breakpoint_to_handler)
2947 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2948 Test "backtrace" in handler.
2949 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2950 (top level): Add new "displaced" test axis to
2951 breakpoint_to_handler, breakpoint_to_handler_entry and
2952 breakpoint_over_handler.
2954 2015-04-10 Pedro Alves <palves@redhat.com>
2957 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2959 2015-04-10 Yao Qi <yao.qi@linaro.org>
2961 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2962 (test_add_rn_pc): New function.
2963 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2964 (top level): Invoke test_add_rn_pc.
2966 2015-04-10 Pedro Alves <palves@redhat.com>
2969 * gdb.base/step-over-no-symbols.exp: New file.
2971 2015-04-09 Andy Wingo <wingo@igalia.com>
2973 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2974 after the Python tests.
2976 2015-04-08 Keith Seitz <keiths@redhat.com>
2979 * gdb.python/py-completion.exp: New tests for completion.
2980 * gdb.python/py-completion.py (CompleteLimit1): New class.
2981 (CompleteLimit2): Likewise.
2982 (CompleteLimit3): Likewise.
2983 (CompleteLimit4): Likewise.
2984 (CompleteLimit5): Likewise.
2985 (CompleteLimit6): Likewise.
2986 (CompleteLimit7): Likewise.
2988 2015-04-08 Pedro Alves <palves@redhat.com>
2992 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2994 (main): Install it as SIGUSR1 handler.
2995 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2996 parameter. Always use "setup" as prefix. Toggle "set
2997 displaced-stepping" off/on depending on global. Don't switch to
2999 (top level): Add displaced stepping "off/on" test axis. Update
3000 "setup" calls. Wrap each subtest with with_test_prefix. Test
3001 continuing with a queued signal in each thread.
3003 2015-04-08 Pedro Alves <palves@redhat.com>
3005 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3006 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3007 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3008 Return early if running to main fails.
3009 * gdb.trace/while-stepping.exp: Likewise.
3011 2015-04-07 Pedro Alves <palves@redhat.com>
3013 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3014 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3015 interact with inferior program.
3017 2015-04-07 Pedro Alves <palves@redhat.com>
3019 * lib/gdb.exp (inferior_spawn_id): New global.
3020 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3021 spawn id after processing the user code.
3022 (default_gdb_start): Set inferior_spawn_id.
3023 (send_inferior): New procedure.
3024 * lib/gdbserver-support.exp (gdbserver_start): Set
3026 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3028 2015-04-07 Pedro Alves <palves@redhat.com>
3030 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3031 * lib/gdbserver-support.exp (gdbserver_start): Make
3032 $server_spawn_id global.
3033 (gdbserver_start): Don't wait for gdbserver's spawn id with
3035 (close_gdbserver): New procedure.
3036 (gdb_exit): Rename the default version and reimplement.
3038 2015-04-07 Pedro Alves <palves@redhat.com>
3040 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3041 append the substituted item, not the original item.
3043 2015-04-07 Pedro Alves <palves@redhat.com>
3045 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3048 2015-04-07 Pedro Alves <palves@redhat.com>
3050 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3051 output appearing once only.
3053 2015-04-07 Pedro Alves <palves@redhat.com>
3055 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3056 that doesn't expect anything. Return early if running to main
3059 2015-04-07 Yao Qi <yao.qi@linaro.org>
3061 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3062 (child_function): Call alarm.
3063 (main): Move call to alarm into the loop.
3064 * gdb.threads/non-stop-fair-events.exp: Build program with
3067 2015-04-06 Doug Evans <xdje42@gmail.com>
3069 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3070 Fix dest parameter to board_info.
3071 (fpc_compile): Ditto.
3072 (gdb_compile_pascal): Rename dest arg to destfile.
3074 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3076 * gdb.ada/funcall_ref.exp: New file.
3077 * gdb.ada/funcall_ref/foo.adb: New file.
3079 2015-04-02 Yao Qi <yao.qi@linaro.org>
3081 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3084 2015-04-02 Gary Benson <gbenson@redhat.com>
3086 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3088 2015-04-01 Sasha Smundak <asmundak@google.com>
3090 * gdb.python/py-unwind-maint.c: New file.
3091 * gdb.python/py-unwind-maint.exp: New test.
3092 * gdb.python/py-unwind-maint.py: New file.
3093 * gdb.python/py-unwind.c: New file.
3094 * gdb.python/py-unwind.exp: New test.
3095 * gdb.python/py-unwind.py: New test.
3097 2015-04-01 Pedro Alves <palves@redhat.com>
3099 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3100 to fail instead of non-existent $test.
3102 2015-04-01 Pedro Alves <palves@redhat.com>
3104 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3105 GDBFLAGS if not empty.
3107 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3109 * gdb.ada/complete.exp: Remove "multi_line".
3110 * gdb.ada/info_exc.exp: Remove "multi_line".
3111 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3112 * gdb.ada/ptype_field.exp: Remove "multi_line".
3113 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3114 * gdb.ada/tagged.exp: Remove "multi_line".
3115 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3117 * gdb.btrace/delta.exp: Likewise.
3118 * gdb.btrace/exception.exp: Likewise.
3119 * gdb.btrace/function_call_history.exp: Likewise.
3120 * gdb.btrace/instruction_history.exp: Likewise.
3121 * gdb.btrace/nohist.exp: Likewise.
3122 * gdb.btrace/record_goto.exp: Likewise.
3123 * gdb.btrace/segv.exp: Likewise.
3124 * gdb.btrace/stepi.exp: Likewise.
3125 * gdb.btrace/tailcall.exp: Likewise.
3126 * gdb.btrace/unknown_functions.exp: Likewise.
3127 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3128 * lib/gdb.exp: Add the "multi_line" helper.
3130 2015-04-01 Pedro Alves <palves@redhat.com>
3132 * gdb.threads/tid-reuse.c: New file.
3133 * gdb.threads/tid-reuse.exp: New file.
3135 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3138 * gdb.base/coredump-filter.c: New file.
3139 * gdb.base/coredump-filter.exp: Likewise.
3141 2015-03-27 Petr Machata <pmachata@redhat.com>
3143 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3144 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3145 (Dwarf::assemble): Initialize them.
3146 (Dwarf::lines): New function.
3148 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3150 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3151 SYMBOL_PREFIX for x86_64-*-cygwin.
3153 2015-03-26 Andy Wingo <wingo@igalia.com>
3156 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3157 const_value but not a location.
3158 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3159 location defined in non-main CUs are visible.
3161 2015-03-26 Yao Qi <yao.qi@linaro.org>
3164 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3165 Add a line number entry for the same line.
3166 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3167 Add a line number entry for the same line.
3169 2015-03-26 Yao Qi <yao.qi@linaro.org>
3171 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3173 (func): Likewise. Add .Lfunc_1 label.
3175 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3180 2015-03-26 Yao Qi <yao.qi@linaro.org>
3182 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3183 Call gdb_compile instead to compile each .s files without debug
3186 2015-03-26 Yao Qi <yao.qi@linaro.org>
3188 * gdb.base/savedregs.exp (process_saved_regs): Make
3189 "Saved registers:" optional in the pattern.
3191 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3193 * gdb.btrace/next.exp: Merged into step.exp.
3194 * gdb.btrace/finish.exp: Merged into step.exp.
3195 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3196 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3197 "record goto" and checking the exact replay position.
3198 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3199 check for "Recording format" in "info record" output.
3200 * gdb.btrace/record_goto.exp: Choose test file based on target.
3201 * gdb.btrace/x86-record_goto.S: Renamed into ...
3202 * gdb.btrace/x86_64-record_goto.S: ... this.
3203 * gdb.btrace/i686-record_goto.S: New.
3204 * gdb.btrace/x86-tailcall.S: Renamed into ...
3205 * gdb.btrace/x86_64-tailcall.S: ... this.
3206 * gdb.btrace/i686-tailcall.S: New.
3207 * gdb.btrace/x86-tailcall.c: Renamed into ...
3208 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3209 separate statements. Update test.
3210 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3211 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3212 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3213 * gdb.btrace/tailcall.exp: Choose test file based on target.
3214 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3216 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3218 * gdb.btrace/exception.exp: Increase BTS buffer size.
3220 2015-03-24 Pedro Alves <palves@redhat.com>
3222 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3224 2015-03-24 Pedro Alves <palves@redhat.com>
3226 * gdb.threads/schedlock.exp (test_step): No longer expect that
3227 "set scheduler-locking step" with "next" over a function call runs
3230 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3232 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3234 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3236 PR breakpoints/16466
3237 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3238 * gdb.mi/mi-pending.c (thread_func): New function.
3239 (int main): Add threading support required.
3240 * gdb.mi/mi-pending.exp: Add tests for this issue.
3241 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3242 (pendfunc2): Remove stdio dependency.
3243 * gdb.mi/mi-pendshr2.c: New file.
3245 2015-03-23 Keith Seitz <keiths@redhat.com>
3247 * gdb.linespec/keywords.c: New file.
3248 * gdb.linespec/keywords.exp: New file.
3250 2015-03-23 Keith Seitz <keiths@redhat.com>
3253 * gdb.dwarf2/staticvirtual.exp: New test.
3255 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3257 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3258 * README: Remove HP-UX and gdb.hp.
3260 * configure: Regenerate.
3261 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3262 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3263 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3264 gdb.hp/gdb.defects/Makefile.
3265 * gdb.hp/Makefile.in: File deleted.
3266 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3267 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3268 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3269 * gdb.hp/gdb.aCC/run.c: File deleted.
3270 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3271 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3272 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3273 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3274 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3275 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3276 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3277 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3278 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3279 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3280 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3281 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3282 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3283 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3284 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3285 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3286 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3287 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3288 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3289 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3290 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3291 * gdb.hp/gdb.compat/average.c: File deleted.
3292 * gdb.hp/gdb.compat/sum.c: File deleted.
3293 * gdb.hp/gdb.compat/xdb.c: File deleted.
3294 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3295 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3296 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3297 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3298 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3299 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3300 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3301 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3302 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3303 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3304 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3305 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3306 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3307 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3308 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3309 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3310 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3311 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3312 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3313 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3314 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3315 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3316 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3317 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3318 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3319 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3320 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3321 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3322 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3323 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3324 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3325 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3326 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3327 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3328 * gdb.hp/tools/odump: File deleted.
3330 2015-03-19 Pedro Alves <palves@redhat.com>
3332 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3333 (saw_thread_3): New globals.
3334 (top level): Increment them when an event for the corresponding
3336 (no thread starvation): New test.
3338 2015-03-19 Pedro Alves <palves@redhat.com>
3340 * gdb.threads/continue-pending-status.c: New file.
3341 * gdb.threads/continue-pending-status.exp: New file.
3343 2015-03-18 Pedro Alves <palves@redhat.com>
3345 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3346 Use gdb_is_target_remote instead of is_remote. Use
3347 gdb_test_multiple instead of gdb_expect. Exit early if
3348 gdb_test_multiple hits its internal matches. Tighten stepi tests
3349 expected output. Fail on exit with any signal, instead of just
3352 2015-03-18 Yao Qi <yao.qi@linaro.org>
3355 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3357 * gdb.base/catch-syscall.exp: Don't skip it on
3358 aarch64*-*-linux* target. Remove elements in all_syscalls.
3359 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3361 (setup_all_syscalls): New proc.
3363 2015-03-16 Yao Qi <yao.qi@linaro.org>
3365 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3366 (top level): Skip tests if valid_addr_p returns false for
3369 2015-03-11 Andy Wingo <wingo@igalia.com>
3371 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3373 2015-03-11 Yao Qi <yao.qi@linaro.org>
3375 * gdb.base/catch-syscall.exp: Fix typo in comments.
3377 2015-03-11 Yao Qi <yao.qi@linaro.org>
3379 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3381 2015-03-09 Pedro Alves <palves@redhat.com>
3383 * dg-extract-results.py: Delete.
3385 2015-03-09 Pedro Alves <palves@redhat.com>
3387 Merge dg-extract-results.sh from GCC upstream (r218843).
3389 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3390 * dg-extract-results.sh: Use --text with grep to avoid issues with
3391 binary files. Fall back to cat -v, if that doesn't work.
3393 2015-03-05 Pedro Alves <palves@redhat.com>
3395 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3397 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3399 * lib/mi-support.exp (mi_expect_interrupt): Accept
3400 alternative event for when in all-stop mode.
3402 2015-03-04 Pedro Alves <palves@redhat.com>
3404 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3406 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3408 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3410 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3412 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3413 regexps for GDB's current line display, accept a hex address
3414 preceding the line number.
3416 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3418 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3419 the 'arch1' variable for "s390*-linux*" targets.
3421 2015-03-04 Pedro Alves <palves@redhat.com>
3423 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3424 (main): Pass missing retval argument to pthread_join call.
3426 2015-03-02 Pedro Alves <palves@redhat.com>
3428 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3429 (top level): Call do_test with non-stop as well.
3431 2015-03-02 Pedro Alves <palves@redhat.com>
3433 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3436 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3438 * gdb.arch/s390-vregs.exp: New test.
3439 * gdb.arch/s390-vregs.S: New file.
3441 2015-02-27 Pedro Alves <palves@redhat.com>
3443 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3444 call to catch_command_errors.
3445 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3446 catch_command_errors.
3448 2015-02-27 Pedro Alves <palves@redhat.com>
3450 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3451 "true" for boolean result.
3452 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3455 2015-02-27 Pedro Alves <palves@redhat.com>
3457 * lib/unbuffer_output.c: New file.
3458 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3459 (main): Call gdb_unbuffer_output.
3461 2015-02-27 Yao Qi <yao.qi@linaro.org>
3463 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3466 2015-02-26 Doug Evans <dje@google.com>
3468 * gdb.cp/class2.cc (Dbase, D): New classes.
3469 (main): New local delta.
3470 * gdb.cp/class2.exp: Test printing delta.
3471 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3472 (dynbar): New global.
3473 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3475 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3477 * gdb.compile/compile-ifunc.c: New file.
3478 * gdb.compile/compile-ifunc.exp: New file.
3480 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3482 * gdb.base/structs.exp: Check for correct struct on finish.
3484 2015-02-26 Yao Qi <yao.qi@linaro.org>
3486 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3489 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3491 * gdb.arch/cordic.ko.bz2: New file.
3492 * gdb.arch/cordic.ko.debug.bz2: New file.
3493 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3495 2015-02-25 Yao Qi <yao.qi@linaro.org>
3497 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3498 aarch64*-*-* target.
3500 2015-02-23 Pedro Alves <palves@redhat.com>
3502 * lib/gdb.exp (delete_breakpoints): Rewrite using
3505 2015-02-23 Pedro Alves <palves@redhat.com>
3507 * gdb.base/info-os.c: Include stdlib.h.
3509 2015-02-22 Doug Evans <xdje42@gmail.com>
3512 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3513 is read after symbols have been re-read.
3514 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3515 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3517 2015-02-21 Doug Evans <dje@google.com>
3519 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3521 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3524 * gdb.arch/i386-biarch-core.core.bz2: New file.
3525 * gdb.arch/i386-biarch-core.exp: New file.
3527 2015-02-21 Pedro Alves <palves@redhat.com>
3529 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3532 2015-02-20 Pedro Alves <palves@redhat.com>
3534 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3537 2015-02-20 Pedro Alves <palves@redhat.com>
3539 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3541 2015-02-20 Pedro Alves <palves@redhat.com>
3543 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3544 clean_restart before gdb_target_supports_trace.
3546 2015-02-20 Pedro Alves <palves@redhat.com>
3549 * gdb.threads/clone-thread_db.c: New file.
3550 * gdb.threads/clone-thread_db.exp: New file.
3552 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3554 PR breakpoints/16812
3555 * gdb.base/catch-gdb-caused-signals.c: New file.
3556 * gdb.base/catch-gdb-caused-signals.exp: New file.
3558 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3560 * configure: Regenerated.
3561 * configure.ac: Use GDB_AC_TRANSFORM.
3562 * aclocal.m4: sinclude ../transform.m4.
3564 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3566 * lib/dtrace.exp: New file.
3567 * gdb.base/dtrace-probe.exp: Likewise.
3568 * gdb.base/dtrace-probe.d: Likewise.
3569 * gdb.base/dtrace-probe.c: Likewise.
3570 * lib/pdtrace.in: Likewise.
3571 * configure.ac: Output variables with the transformed names of
3572 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3573 * configure: Regenerated.
3575 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3577 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3578 expected message when trying to access $_probe_* convenience
3579 variables while not on a probe.
3581 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3583 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3585 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3587 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3588 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3590 2015-02-10 Doug Evans <xdje42@gmail.com>
3592 * lib/gdb.exp (gdb_load): Always return a result.
3594 2015-02-10 Pedro Alves <palves@redhat.com>
3596 * gdb.threads/signal-sigtrap.c: New file.
3597 * gdb.threads/signal-sigtrap.exp: New file.
3599 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3601 * gdb.trace/no-attach-trace.c: New file.
3602 * gdb.trace/no-attach-trace.exp: New file.
3604 2015-02-09 Mark Wielaard <mjw@redhat.com>
3606 * gdb.dwarf2/atomic.c: New file.
3607 * gdb.dwarf2/atomic-type.exp: Likewise.
3609 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3611 * gdb.btrace/buffer-size.exp: Update "info record" output.
3612 * gdb.btrace/delta.exp: Update "info record" output.
3613 * gdb.btrace/enable.exp: Update "info record" output.
3614 * gdb.btrace/finish.exp: Update "info record" output.
3615 * gdb.btrace/instruction_history.exp: Update "info record" output.
3616 * gdb.btrace/next.exp: Update "info record" output.
3617 * gdb.btrace/nexti.exp: Update "info record" output.
3618 * gdb.btrace/step.exp: Update "info record" output.
3619 * gdb.btrace/stepi.exp: Update "info record" output.
3620 * gdb.btrace/nohist.exp: Update "info record" output.
3622 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3624 * gdb.btrace/buffer-size: New.
3626 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3628 * gdb.btrace/delta.exp: Update "info record" output.
3629 * gdb.btrace/enable.exp: Update "info record" output.
3630 * gdb.btrace/finish.exp: Update "info record" output.
3631 * gdb.btrace/instruction_history.exp: Update "info record" output.
3632 * gdb.btrace/next.exp: Update "info record" output.
3633 * gdb.btrace/nexti.exp: Update "info record" output.
3634 * gdb.btrace/step.exp: Update "info record" output.
3635 * gdb.btrace/stepi.exp: Update "info record" output.
3636 * gdb.btrace/nohist.exp: Update "info record" output.
3638 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3641 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3643 2015-02-06 Pedro Alves <palves@redhat.com>
3645 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3647 (seconds_left, again): New globals.
3648 (main): Wait seconds_left in a 1-second sleep loop instead of
3649 sleeping 180 seconds. If 'again' is set, reset the seconds
3651 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3652 'again' in the inferior before detaching. Print the seconds left.
3653 (options): New global.
3654 (top level): Build program with -DTIMEOUT=$timeout.
3656 2015-02-06 Pedro Alves <palves@redhat.com>
3658 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3659 determine how many seconds to pass to 'alarm'.
3660 * gdb.base/gdb-sigterm.exp (top level): Build program with
3662 (do_test): Return success/failure indication. Add more verbose
3663 logging. Don't fail if 200 single steps are seen. Instead, fail
3664 when the test times out.
3665 (passes): New global.
3666 (top level): Break the testing loop if testing fails on any
3667 iteration. Use gdb_assert.
3669 2015-02-04 Don Breazeal <donb@codesourcery.com>
3671 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3672 and initialize them.
3673 (ipc_cleanup): New function.
3674 (main): Don't declare shmid, semid, and msqid. Add a call to
3675 atexit so that we call ipc_cleanup on exit.
3677 2015-02-04 Pedro Alves <palves@redhat.com>
3679 * boards/native-extended-gdbserver.exp: Remove any target variant
3680 specifications from the board name before clearing the isremote
3681 flag from board_info.
3683 2015-01-31 Doug Evans <xdje42@gmail.com>
3685 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3687 2015-01-31 Gary Benson <gbenson@redhat.com>
3689 * gdb.base/completion.exp: Disable completion limiting for
3690 existing tests. Add new tests to check completion limiting.
3691 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3693 2015-01-31 Doug Evans <xdje42@gmail.com>
3695 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3697 2015-01-31 Doug Evans <xdje42@gmail.com>
3699 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3700 entries. Duplicate file section script entries.
3701 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3702 inlined entries. Add test for safe-path rejection.
3703 * gdb.python/py-section-script.c: Add duplicate inlined section script
3704 entries. Duplicate file section script entries.
3705 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3706 inlined entries. Add test for safe-path rejection.
3708 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3710 * gdb.ada/disc_arr_bound: New testcase.
3712 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3714 * gdb.ada/mi_var_array: New testcase.
3716 2015-01-27 Doug Evans <dje@google.com>
3718 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3719 Add test for objfile.filename, objfile.username after objfile
3722 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3724 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3725 the second test to print the name attribute of value
3726 returned by the call to gdb.lookup_type, and adjust
3727 the expected output accordingly.
3729 2015-01-25 Mark Wielaard <mjw@redhat.com>
3731 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3732 * gdb.base/disp-step-fork.c: Include unistd.h.
3733 * gdb.base/siginfo-obj.c: Include stdio.h.
3734 * gdb.base/siginfo-thread.c: Likewise.
3735 * gdb.mi/non-stop.c: Include unistd.h.
3736 * gdb.mi/nsthrexec.c: Include stdio.h.
3737 * gdb.mi/pthreads.c: Include unistd.h.
3738 * gdb.modula2/unbounded1.c (main): Declare returns int.
3739 * gdb.reverse/consecutive-reverse.c: Likewise.
3740 * gdb.threads/create-fail.c: Include unistd.h.
3741 * gdb.threads/killed.c: Likewise.
3742 * gdb.threads/linux-dp.c: Likewise.
3743 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3744 * gdb.threads/non-ldr-exc-2.c: Likewise.
3745 * gdb.threads/non-ldr-exc-3.c: Likewise.
3746 * gdb.threads/non-ldr-exc-4.c: Likewise.
3747 * gdb.threads/pthreads.c: Include unistd.h.
3748 (main): Declare returns int.
3749 * gdb.threads/tls-main.c (foo): New declaration.
3750 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3752 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3754 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3755 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3757 2015-01-15 Mark Wielaard <mjw@redhat.com>
3759 * gdb.base/noreturn-return.c: New file.
3760 * gdb.base/noreturn-return.exp: New file.
3761 * gdb.base/noreturn-finish.c: New file.
3762 * gdb.base/noreturn-finish.exp: New file.
3764 2015-01-23 Pedro Alves <palves@redhat.com>
3766 * gdb.threads/continue-pending-after-query.c: New file.
3767 * gdb.threads/continue-pending-after-query.exp: New file.
3769 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3770 Simon Marchi <simon.marchi@ericsson.com>
3772 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3773 * gdb.base/valgrind-db-attach.exp: Same.
3774 * gdb.base/valgrind-infcall.exp: Same.
3775 * lib/mi-support.exp (default_mi_gdb_start): Same.
3776 * lib/prompt.exp (default_prompt_gdb_start): Same.
3777 * lib/gdb.exp (default_gdb_spawn): Same.
3778 (gdb_interact): New.
3781 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3783 * gdb.compile/compile.exp (pointer to jit function): New test.
3785 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3787 * lib/gdb.exp (supports_process_record): Return true for
3789 (supports_reverse): Likewise.
3791 2015-01-15 Don Breazeal <donb@codesourcery.com>
3793 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3794 instead of checking whether the target board is remote and
3795 use spawn_wait_for_attach instead of exec/sleep.
3796 * gdb.base/attach-twice.exp: Likewise.
3798 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3800 * gdb.ada/var_arr_attrs: New testcase.
3802 2015-01-14 Pedro Alves <palves@redhat.com>
3803 Joel Brobecker <brobecker@adacore.com>
3806 * gdb.base/bp-cmds-execution-x-script.c: New file.
3807 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3808 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3810 2015-01-14 Pedro Alves <palves@redhat.com>
3813 * gdb.base/batch-preserve-term-settings.c: New file.
3814 * gdb.base/batch-preserve-term-settings.exp: New file.
3816 2015-01-13 Doug Evans <dje@google.com>
3818 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3821 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3823 * Makefile.in (clean mostlyclean): Do not delete *.py.
3825 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3827 * gdb.python/py-lookup-type.exp: New file.
3829 2015-01-12 Pedro Alves <palves@redhat.com>
3831 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3832 restore GDBFLAGS before returning.
3834 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3837 is_amd64_regs_target and is_x86_like_target.
3839 2015-01-11 Doug Evans <xdje42@gmail.com>
3841 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3842 is given without an explicit form.
3843 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3845 * gdb.dwarf/corrupt.exp: Ditto.
3846 * gdb.dwarf2/enum-type.exp: Ditto.
3847 * gdb.trace/entry-values.exp: Ditto.
3848 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3850 2015-01-11 Doug Evans <xdje42@gmail.com>
3853 * gdb.base/maint.exp: Remove references to "maint demangle".
3854 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3855 Add tests for explicitly specifying language to demangle.
3856 * gdb.dlang/demangle.exp: Ditto.
3858 2015-01-09 Pedro Alves <palves@redhat.com>
3860 * gdb.threads/non-stop-fair-events.c: New file.
3861 * gdb.threads/non-stop-fair-events.exp: New file.
3863 2015-01-09 Pedro Alves <palves@redhat.com>
3865 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3866 the global scope. Set a breakpoint after all threads are started
3867 rather than stepping over two source lines. Expect the prompt.
3868 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3871 (main): Use threads_started_barrier to wait for all threads to
3872 start. Main thread no longer calls thread_function. Exit after
3874 (loop): New function.
3875 (thread_function): Wait on threads_started_barrier barrier. Call
3876 'loop' at each iteration.
3877 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3878 threads have started, instead of hardcoding number of "next"
3879 steps. Use an access watchpoint instead of a write watchpoint.
3881 2015-01-09 Pedro Alves <palves@redhat.com>
3883 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3884 (thread_func): Wait on barrier.
3885 (main): Wait for all threads to start before stopping GDB.
3886 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3888 (thread1_func, thread2_func): Wait on barrier.
3889 (main): Wait for all threads to start before stopping GDB.
3890 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3892 (thread1_func, thread2_func): Wait on barrier.
3893 (main): Wait for all threads to start before stopping GDB.
3895 2015-01-09 Pedro Alves <palves@redhat.com>
3897 * gdb.threads/attach-many-short-lived-threads.c: New file.
3898 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3900 2014-01-09 Pedro Alves <palves@redhat.com>
3902 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3903 instead of to thread 2.
3904 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3905 Add barrier around each pthread_create call instead of around all
3907 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3908 Set a break on thread_function and have the child threads hit it
3911 2015-01-09 Pedro Alves <palves@redhat.com>
3913 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3914 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3916 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3917 checking whether the target board is remote.
3918 * gdb.multi/multi-attach.exp: Likewise.
3919 * gdb.python/py-sync-interp.exp: Likewise.
3920 * gdb.server/ext-attach.exp: Likewise.
3921 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3922 tests that need to attach, instead of checking whether the target
3923 board is remote at the top of the file.
3925 2015-01-08 Yao Qi <yao@codesourcery.com>
3927 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3929 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3931 Fix testcase compilation.
3932 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3934 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3936 * gdb.python/py-type.exp: Add a couple test about empty
3937 array creation, and negative-length array creation.
3939 2015-01-02 Doug Evans <xdje42@gmail.com>
3941 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3943 2015-01-02 Doug Evans <dje@google.com>
3945 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3947 2014-12-29 Yao Qi <yao@codesourcery.com>
3949 * gdb.trace/entry-values.exp: Update comments. Rename variable
3950 bar_call_foo to returned_from_foo.
3952 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3955 * gdb.linespec/break-asm-file.c: New file.
3956 * gdb.linespec/break-asm-file.exp: New file.
3957 * gdb.linespec/break-asm-file0.s: New file.
3958 * gdb.linespec/break-asm-file1.s: New file.
3960 2014-12-18 Nigel Stephens <nigel@mips.com>
3961 Maciej W. Rozycki <macro@codesourcery.com>
3963 * gdb.base/float.exp: Handle the new output from "info float" on
3966 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 Fix MinGW compilation.
3969 * gdb.compile/compile-ops.exp: Update untested message if
3970 !skip_compile_feature_tests.
3971 * gdb.compile/compile-setjmp.exp: Likewise.
3972 * gdb.compile/compile-tls.exp: Likewise.
3973 * gdb.compile/compile.exp: Likewise.
3974 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3975 supported on this host".
3977 2014-12-16 Doug Evans <xdje42@gmail.com>
3979 * boards/stabs.exp: New file.
3981 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3983 * gdb.base/completion.exp: Adjust to format changes of "maint
3984 print user-registers".
3986 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3989 * gdb.arch/aarch64-fp.c: New file.
3990 * gdb.arch/aarch64-fp.exp: New file.
3992 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3994 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3995 r210637, r210913, r211666, r215400, r215817).
3997 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3998 * dg-extract-results.py: New file.
3999 * dg-extract-results.sh: Use it if the environment seems
4002 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4004 * dg-extract-results.py (parse_run): Handle warnings that
4005 are printed before a test harness is run.
4007 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4009 * dg-extract-results.py (Named): Remove __cmp__ method.
4010 (output_variation): Use a key to sort variation.harnesses.
4012 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4014 * dg-extract-results.py: For Python 3, force sys.stdout to
4015 handle surrogate escape sequences.
4016 (safe_open): New function.
4017 (output_segment, main): Use it.
4019 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4021 * dg-extract-results.py (Prog.result_re): Include options
4024 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4026 * dg-extract-results.py (output_variation): Always sort if
4029 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4031 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4032 as long as we get pagination notifications.
4034 2014-12-15 Jason Merrill <jason@redhat.com>
4036 * Makefile.in (check-gdb.%): Restore.
4037 * README: Mention it.
4039 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4041 * gdb.ada/str_uninit: New testcase.
4043 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4046 * gdb.base/vla-stub-define.c: New file.
4047 * gdb.base/vla-stub.c: New file.
4048 * gdb.base/vla-stub.exp: New file.
4050 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4051 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 Tom Tromey <tromey@redhat.com>
4054 * configure.ac: Add gdb.compile/.
4055 * configure: Regenerate.
4056 * gdb.compile/Makefile.in: New file.
4057 * gdb.compile/compile-ops.exp: New file.
4058 * gdb.compile/compile-ops.c: New file.
4059 * gdb.compile/compile-tls.c: New file.
4060 * gdb.compile/compile-tls.exp: New file.
4061 * gdb.compile/compile-constvar.S: New file.
4062 * gdb.compile/compile-constvar.c: New file.
4063 * gdb.compile/compile-mod.c: New file.
4064 * gdb.compile/compile-nodebug.c: New file.
4065 * gdb.compile/compile-setjmp-mod.c: New file.
4066 * gdb.compile/compile-setjmp.c: New file.
4067 * gdb.compile/compile-setjmp.exp: New file.
4068 * gdb.compile/compile-shlib.c: New file.
4069 * gdb.compile/compile.c: New file.
4070 * gdb.compile/compile.exp: New file.
4071 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4073 2014-12-12 Tom Tromey <tromey@redhat.com>
4075 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4076 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4078 2014-12-12 Doug Evans <dje@google.com>
4080 * lib/gdb-python.exp (get_python_valueof): New function.
4081 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4083 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4085 * gdb.base/completion.exp: Add test for completion of "info
4088 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4090 * gdb.base/func-ptrs.c: New file.
4091 * gdb.base/func-ptrs.exp: New file.
4093 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4095 PR breakpoints/17012
4096 * gdb.base/dprintf-detach.c: New file.
4097 * gdb.base/dprintf-detach.exp: New file.
4099 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4101 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4102 * lib/gdb.exp (target_is_gdbserver): New procedure.
4104 2014-12-08 Doug Evans <dje@google.com>
4106 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4108 2014-12-05 Yao Qi <yao@codesourcery.com>
4110 * gdb.guile/scm-error.exp: Remove the third argument to
4111 gdb_remote_download.
4112 * gdb.guile/scm-frame-args.exp: Likewise.
4113 * gdb.guile/scm-section-script.exp: Likewise.
4115 2014-12-05 Yao Qi <yao@codesourcery.com>
4117 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4119 2014-12-04 Doug Evans <dje@google.com>
4121 * gdb.python/py-objfile.exp: Add tests for
4122 objfile.add_separate_debug_file.
4124 2014-12-04 Doug Evans <dje@google.com>
4126 * lib/gdb.exp (get_build_id): New function.
4127 (build_id_debug_filename_get): Rewrite to use it.
4128 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4130 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4132 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4133 `method(long)', not just 0x0.
4134 * gdb.cp/nsalias.exp: Align code labels to 4.
4135 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4136 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4137 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4138 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4139 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4140 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4142 2014-12-02 Doug Evans <dje@google.com>
4145 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4146 * gdb.cp/anon-ns2.cc: ... here. New file.
4147 * gdb.cp/anon-ns.exp: Update.
4149 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4151 * gdb.python/py-events.py (inferior_call_handler): New.
4152 (register_changed_handler, memory_changed_handler): New.
4153 (test_events.invoke): Register new handlers.
4154 * gdb.python/py-events.exp: Add tests for inferior call,
4155 memory_changed and register_changed events.
4157 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4159 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4160 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4161 if the linker doesn't understand this.
4163 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4165 * gdb.python/python.exp: Change expected reply to help().
4167 2014-12-01 Yao Qi <yao@codesourcery.com>
4169 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4170 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4171 * configure: Re-generated.
4173 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4175 * gdb.cp/chained-calls.cc: New file.
4176 * gdb.cp/chained-calls.exp: New file.
4177 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4179 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4181 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4182 * gdb.dwarf2/symtab-producer.exp: Same.
4183 * gdb.gdb/python-interrupts.exp: Same.
4184 * gdb.gdb/python-selftest.exp: Same.
4185 * gdb.python/py-linetable.exp: Same.
4186 * gdb.python/py-type.exp: Same.
4187 * gdb.python/py-value-cc.exp: Same.
4188 * gdb.python/py-value.exp: Same.
4190 2014-11-28 Yao Qi <yao@codesourcery.com>
4192 * gdb.base/break-probes.exp: Match library name prefixed with
4195 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4197 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4198 test expected output. Add parentheses for the call to print.
4199 Remove L suffix from integers.
4201 2014-11-26 Doug Evans <dje@google.com>
4203 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4205 2014-11-22 Yao Qi <yao@codesourcery.com>
4207 * gdb.trace/entry-values.c: Remove asms.
4208 (foo): Add foo_label.
4209 (bar): Add bar_label.
4210 * gdb.trace/entry-values.exp: Remove code computing foo's
4211 length and bar's length.
4212 (Dwarf::assemble): Invoke function_range for bar and use
4213 MACRO_AT_func for foo.
4215 2014-11-22 Yao Qi <yao@codesourcery.com>
4217 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4218 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4219 Use .Lgcc43_procstart instead of gcc43.
4221 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4223 * gdb.ada/n_arr_bound: New testcase.
4225 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4227 PR breakpoints/10737
4228 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4229 test_catch_syscall_multi_arch.
4230 (test_catch_syscall_multi_arch): New function.
4232 2014-11-20 Doug Evans <xdje42@gmail.com>
4234 * gdb.base/maint.exp: Update expected output.
4236 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4238 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4239 4-byte instruction on S390.
4241 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4243 * gdb.ada/arr_arr: New testcase.
4245 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4247 * gdb.ada/pkd_arr_elem: New Testcase.
4249 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4251 * gdb.reverse/break-precsave: Expect completion message for
4253 * gdb.reverse/consecutive-precsave.exp: Likewise.
4254 * gdb.reverse/finish-precsave.exp: Likewise.
4255 * gdb.reverse/i386-precsave.exp: Likewise.
4256 * gdb.reverse/machinestate-precsave.exp: Likewise.
4257 * gdb.reverse/sigall-precsave.exp: Likewise.
4258 * gdb.reverse/solib-precsave.exp: Likewise.
4259 * gdb.reverse/step-precsave.exp: Likewise.
4260 * gdb.reverse/until-precsave.exp: Likewise.
4261 * gdb.reverse/watch-precsave.exp: Likewise.
4263 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4265 * gdb.base/bp-permanent.c: Include unistd.h.
4266 * gdb.python/py-framefilter-mi.c (main): Add return type.
4267 * gdb.python/py-framefilter.c (main): Likewise.
4268 * gdb.trace/actions-changed.c (main): Likewise.
4270 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4272 * gdb.mi/until.c: Add eye-catchers.
4273 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4276 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4278 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4279 function header variants in break1.c.
4280 * gdb.base/ena-dis-br.exp: Likewise.
4281 * gdb.base/hbreak2.exp: Likewise.
4282 * gdb.reverse/until-precsave.exp: Drop references to removed
4283 non-prototype function header variants in ur1.c.
4284 * gdb.reverse/until-reverse.exp: Likewise.
4286 2014-11-17 Petr Machata <pmachata@redhat.com>
4288 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4289 ${_cu_offset_size} bytes abbrev offset.
4291 2014-11-15 Doug Evans <xdje42@gmail.com>
4294 * gdb.base/line-symtabs.exp: New file.
4295 * gdb.base/line-symtabs.c: New file.
4296 * gdb.base/line-symtabs.h: New file.
4298 2014-11-14 Yao Qi <yao@codesourcery.com>
4300 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4301 (func): Add label func_label.
4302 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4303 Replace low_pc and high_pc with MACRO_AT_range.
4304 Replace name, low_pc and high_pc with MACRO_AT_func.
4306 2014-11-14 Yao Qi <yao@codesourcery.com>
4308 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4309 Replace name, low_pc and high_pc with MACRO_AT_func.
4311 2014-11-14 Yao Qi <yao@codesourcery.com>
4313 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4314 produce debug information.
4315 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4317 2014-11-14 Yao Qi <yao@codesourcery.com>
4319 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4320 object and get function length.
4321 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4323 (top-level): Replace gdb_compile and clean_restart with
4324 prepare_for_testing.
4325 * gdb.dwarf2/main.c (main): Add label main_label.
4327 2014-11-14 Yao Qi <yao@codesourcery.com>
4329 * lib/dwarf.exp (function_range): New procedure.
4330 (Dwarf::_handle_macro_at_func): New procedure.
4331 (Dwarf::_handle_macro_at_range): New procedure.
4332 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4334 2014-11-14 Yao Qi <yao@codesourcery.com>
4336 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4337 (_handle_attribute): New procedure.
4339 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4342 * gdb.base/call-sc.c (zed): Likewise.
4343 * gdb.base/checkpoint.c (main): Likewise.
4344 * gdb.base/dump.c (main): Likewise.
4345 * gdb.base/gcore.c (main): Likewise.
4346 * gdb.base/huge.c (main): Likewise.
4347 * gdb.base/multi-forks.c (main): Likewise.
4348 * gdb.base/pr10179-a.c (main): Likewise.
4349 * gdb.base/savedregs.c (main): Likewise.
4350 * gdb.base/sigaltstack.c (main): Likewise.
4351 * gdb.base/siginfo.c (main): Likewise.
4352 * gdb.base/structs.c (zed): Likewise.
4353 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4354 * gdb.mi/mi-syn-frame.c (main): Likewise.
4355 * gdb.mi/until.c (foo, main): Likewise.
4356 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4357 * gdb.base/solib-weak.c (foo): Declare.
4358 * gdb.base/attach-twice.c: Include stdio.h.
4359 * gdb.base/weaklib1.c: Likewise.
4360 * gdb.base/weaklib2.c: Likewise.
4361 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4362 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4364 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4365 * gdb.mi/mi-exit-code.c: Likewise.
4366 * gdb.base/break-interp-lib.c: Include string.h.
4367 * gdb.base/coremaker.c: Likewise.
4368 * gdb.base/testenv.c: Likewise.
4369 * gdb.python/py-finish-breakpoint.c: Likewise.
4370 * gdb.base/inferior-died.c: Include sys/wait.h.
4371 * gdb.base/fileio.c: Include time.h.
4372 * gdb.base/async-shell.c: Include unistd.h.
4373 * gdb.base/dprintf-non-stop.c: Likewise.
4374 * gdb.base/info-os.c: Likewise.
4375 * gdb.mi/mi-console.c: Likewise.
4376 * gdb.mi/watch-nonstop.c: Likewise.
4377 * gdb.python/py-events.c: Likewise.
4378 * gdb.base/async.c (baz): Move up before its invocation.
4379 * gdb.base/code_elim2.c (my_global_func): Likewise.
4380 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4381 * gdb.base/advance.c (func2): Likewise.
4383 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4385 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4387 * gdb.base/annota3.c: Likewise.
4388 * gdb.base/async.c: Likewise.
4389 * gdb.base/average.c: Likewise.
4390 * gdb.base/call-ar-st.c: Likewise.
4391 * gdb.base/call-rt-st.c: Likewise.
4392 * gdb.base/call-sc.c: Likewise.
4393 * gdb.base/call-strs.c: Likewise.
4394 * gdb.base/ending-run.c: Likewise.
4395 * gdb.base/execd-prog.c: Likewise.
4396 * gdb.base/exprs.c: Likewise.
4397 * gdb.base/foll-exec.c: Likewise.
4398 * gdb.base/foll-fork.c: Likewise.
4399 * gdb.base/foll-vfork.c: Likewise.
4400 * gdb.base/funcargs.c: Likewise.
4401 * gdb.base/gcore.c: Likewise.
4402 * gdb.base/jump.c: Likewise.
4403 * gdb.base/langs0.c: Likewise.
4404 * gdb.base/langs1.c: Likewise.
4405 * gdb.base/langs2.c: Likewise.
4406 * gdb.base/mips_pro.c: Likewise.
4407 * gdb.base/nodebug.c: Likewise.
4408 * gdb.base/opaque0.c: Likewise.
4409 * gdb.base/opaque1.c: Likewise.
4410 * gdb.base/recurse.c: Likewise.
4411 * gdb.base/run.c: Likewise.
4412 * gdb.base/scope0.c: Likewise.
4413 * gdb.base/scope1.c: Likewise.
4414 * gdb.base/setshow.c: Likewise.
4415 * gdb.base/setvar.c: Likewise.
4416 * gdb.base/shmain.c: Likewise.
4417 * gdb.base/shr1.c: Likewise.
4418 * gdb.base/shr2.c: Likewise.
4419 * gdb.base/sigall.c: Likewise.
4420 * gdb.base/signals.c: Likewise.
4421 * gdb.base/so-indr-cl.c: Likewise.
4422 * gdb.base/solib2.c: Likewise.
4423 * gdb.base/structs.c: Likewise.
4424 * gdb.base/sum.c: Likewise.
4425 * gdb.base/vforked-prog.c: Likewise.
4426 * gdb.base/watchpoint.c: Likewise.
4427 * gdb.reverse/shr2.c: Likewise.
4428 * gdb.reverse/until-reverse.c: Likewise.
4429 * gdb.reverse/ur1.c: Likewise.
4430 * gdb.reverse/watch-reverse.c: Likewise.
4432 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4434 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4436 * gdb.base/sepdebug.exp: Drop references to removed code.
4438 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4440 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4441 variant. Preserve original line numbering.
4442 * gdb.base/list1.c: Likewise.
4444 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4446 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4448 * gdb.base/break1.c: Likewise.
4449 * gdb.base/break.exp: Drop references to removed code.
4451 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4453 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4456 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4458 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4460 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4462 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4463 logic into perform_all_tests() and invoke it with and without
4464 function header prototypes.
4465 (do_function_calls): Remove conditional XFAIL for PR 5318.
4466 (rerun_and_prepare): Remove duplicate code.
4467 (perform_all_tests): New. Main logic moved here.
4469 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4471 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4472 code guarded by #ifdef NO_PROTOTYPES.
4473 (t_double_many_args): Likewise.
4474 (DEF_FUNC_MANY_ARGS_1): Likewise.
4475 (DEF_FUNC_VALUES_1): Likewise.
4476 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4477 guarded by #ifdef PROTOTYPES.
4479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4481 * gdb.mi/mi-console.c: Add eye-catcher.
4482 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4483 instead of literal line number.
4485 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4487 * gdb.base/shr2.c: Add eye-catcher.
4488 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4493 * gdb.base/jump.c: Add eye-catchers.
4494 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4497 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4499 * gdb.base/execd-prog.c: Add eye-catchers.
4500 * gdb.base/foll-exec.c: Likewise.
4501 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4504 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4506 * gdb.base/ending-run.c: Add eye-catchers.
4507 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4508 literal line numbers.
4510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4512 * gdb.base/call-rt-st.c: Add eye-catchers.
4513 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4514 literal line numbers.
4516 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518 * gdb.base/call-ar-st.c: Add eye-catchers.
4519 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4520 literal line numbers.
4522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4524 * gdb.base/average.c: Add eye-catchers.
4525 * gdb.base/sum.c: Likewise.
4526 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4527 regexps dynamically.
4529 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4531 * gdb.base/solib1.c: Add eye-catchers.
4532 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4533 literal line numbers.
4535 2014-11-12 Pedro Alves <palves@redhat.com>
4537 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4540 2014-11-12 Pedro Alves <palves@redhat.com>
4542 * gdb.arch/i386-bp_permanent.c: New file.
4543 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4544 (srcfile): Set to i386-bp_permanent.c.
4545 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4546 that stepi does not execute the 'leave' instruction, instead of
4547 testing it does execute.
4548 * gdb.base/bp-permanent.c: New file.
4549 * gdb.base/bp-permanent.exp: New file.
4551 2014-11-10 Doug Evans <xdje42@gmail.com>
4554 * gdb.base/symtab-search-order.exp: New file.
4555 * gdb.base/symtab-search-order.c: New file.
4556 * gdb.base/symtab-search-order-1.c: New file.
4557 * gdb.base/symtab-search-order-shlib-1.c: New file.
4559 2014-11-07 Pedro Alves <palves@redhat.com>
4562 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4565 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4568 * gdb.cp/pr17494.cc: New file.
4569 * gdb.cp/pr17494.exp: New file.
4571 2014-11-02 Yao Qi <yao@codesourcery.com>
4573 * gdb.python/python.exp: Get working directory and match the
4574 output of "set extended-prompt \\w " with it.
4576 2014-10-30 Doug Evans <dje@google.com>
4578 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4580 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4583 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4585 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4586 * gdb.base/realname-expand.exp: Likewise.
4587 * gdb.linespec/macro-relative.exp: Likewise.
4589 2014-10-29 Pedro Alves <palves@redhat.com>
4592 * gdb.threads/schedlock.c (some_function): New function.
4593 (call_function): New global.
4594 (MAYBE_CALL_SOME_FUNCTION): New macro.
4595 (thread_function): Call it.
4596 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4597 and use it instead of a global counter. Adjust all callers.
4598 (get_current_thread): Use "find current thread" for test message
4599 here rather than having all callers pass down the same string.
4600 (goto_loop): New procedure, factored out from ...
4601 (my_continue): ... this.
4602 (step_ten_loops): Change parameter from test message to command to
4604 (list_count): Delete global.
4605 (check_result): New procedure, factored out from duplicate top
4607 (continue tests): Wrap in with_test_prefix.
4608 (test_step): New procedure, factored out from duplicate top level
4610 (top level): Test "step" in combination with all scheduler-locking
4611 modes. Test "next" in combination with all scheduler-locking
4612 modes, and in combination with stepping over a function call or
4614 * gdb.threads/next-bp-other-thread.c: New file.
4615 * gdb.threads/next-bp-other-thread.exp: New file.
4617 2014-10-29 Pedro Alves <palves@redhat.com>
4620 * gdb.python/python.exp: Test a multi-line command that spawns
4622 * gdb.base/multi-line-starts-subshell.exp: New file.
4624 2014-10-29 Yao Qi <yao@codesourcery.com>
4626 * gdb.base/fileio.exp: Make directories on host.
4628 2014-10-29 Yao Qi <yao@codesourcery.com>
4630 * gdb.base/fileio.c (test_write): Close the file.
4632 2014-10-28 Pedro Alves <palves@redhat.com>
4635 * gdb.base/sigstep.c (no_handler): New global.
4636 (main): If 'no_handler is true, set the signal handlers to
4638 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4639 with_sw_watch and no_handler parameters. Handle them.
4640 (top level) <stepping over handler when stopped at a breakpoint
4641 test>: Add a test axis for testing with a software watchpoint, and
4642 another for testing with the signal handler set to SIG_IGN.
4643 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4644 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4646 2014-10-28 Pedro Alves <palves@redhat.com>
4649 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4650 * gdb.base/sigstep.exp (other_handler_location): New global.
4651 (advance): Support stepping into the signal handler, and running
4652 commands while in the handler.
4653 (in_handler_map): New global.
4654 (top level): In the advance test, add combinations for getting
4655 into the handler with stepping commands, and for running commands
4656 in the handler. Add comment descripting the advancei tests.
4658 2014-10-28 Pedro Alves <palves@redhat.com>
4660 * gdb.base/sigstep.exp: Use build_executable instead of
4661 prepare_for_testing.
4662 (top level): Move code that starts GDB, runs to main and creates a
4664 (restart): ... this new procedure.
4665 (top level): Move backtrace from signal handler test to ...
4666 (validate_backtrace): ... this new procedure.
4667 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4668 with_test_prefix. Always restart GDB.
4669 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4670 with_test_prefix. Always restart GDB. No need to delete
4671 breakpoints after the test.
4672 (test_skip_handler): Remove prefix parameter.
4673 (skip_over_handler, breakpoint_to_handler)
4674 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4675 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4676 restart GDB. No need to delete breakpoints after the test.
4677 (top level): Use foreach to call the test procedures with
4680 2014-10-28 Pedro Alves <palves@redhat.com>
4682 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4683 instead of GNATS numbers.
4684 * gdb.base/sigbpt.exp: Likewise.
4685 * gdb.base/siginfo.exp: Likewise.
4686 * gdb.base/sigstep.exp: Likewise.
4688 2014-10-27 Pedro Alves <palves@redhat.com>
4690 * gdb.base/sigstep.c (dummy): New global.
4691 (main): Issue a couple writes to the new global.
4692 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4694 (skip_over_handler): Use test_skip_handler.
4695 (top level): Call skip_over_handler for stepi and nexti too.
4696 (breakpoint_over_handler): Use test_skip_handler.
4697 (top level): Call breakpoint_over_handler for stepi and nexti too.
4699 2014-10-27 Yao Qi <yao@codesourcery.com>
4701 * gdb.trace/tfile.c (adjust_function_address)
4702 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4703 function descriptor.
4705 2014-10-24 Don Breazeal <donb@codesourcery.com>
4707 * gdb.base/foll-fork.exp (test_follow_fork,
4708 catch_fork_child_follow): Check for updated fork messages emitted
4710 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4711 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4712 vfork_and_exec_child_follow_through_step): Check for updated vfork
4713 messages emitted from infrun.c.
4715 2014-10-24 Pedro Alves <palves@redhat.com>
4717 * gdb.base/corefile.exp: Remove references to ultrix.
4718 * gdb.base/interrupt.exp: Likewise.
4719 * gdb.base/whatis.exp: Likewise.
4720 * gdb.gdb/selftest.exp: Likewise.
4721 * gdb.threads/manythreads.exp: Likewise.
4722 * gdb.threads/print-threads.exp: Likewise.
4723 * gdb.threads/pthreads.exp:: Likewise.
4724 * gdb.threads/schedlock.exp: Likewise.
4726 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4728 * gdb.cp/non-trivial-retval.cc: Add a test case.
4729 * gdb.cp/non-trivial-retval.exp: Add a test.
4731 2014-10-20 Yao Qi <yao@codesourcery.com>
4733 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4734 * gdb.python/py-objfile-script-gdb.py: New file.
4735 * gdb.python/py-objfile-script.exp: Update reference to
4736 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4737 of remote_download. Remove the dest file.
4739 2014-10-20 Yao Qi <yao@codesourcery.com>
4741 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4742 * gdb.base/step-line.exp: Likewise.
4743 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4744 * gdb.dwarf2/dw2-basic.exp: Likewise.
4745 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4746 * gdb.dwarf2/dw2-filename.exp: Likewise.
4747 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4748 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4749 * gdb.dwarf2/dw2-producer.exp: Likewise.
4750 * gdb.dwarf2/mac-fileno.exp: Likewise.
4751 * gdb.python/py-frame-args.exp: Likewise.
4752 * gdb.python/py-framefilter.exp: Likewise.
4753 * gdb.python/py-mi.exp: Likewise.
4754 * gdb.python/py-objfile-script.exp: Likewise
4755 * gdb.python/py-pp-integral.exp: Likewise.
4756 * gdb.python/py-pp-re-notag.exp: Likewise.
4757 * gdb.python/py-prettyprint.exp: Likewise.
4758 * gdb.python/py-section-script.exp: Likewise.
4759 * gdb.python/py-typeprint.exp: Likewise.
4760 * gdb.python/py-xmethods.exp: Likewise.
4761 * gdb.stabs/weird.exp: Likewise.
4762 * gdb.xml/tdesc-regs.exp: Likewise.
4764 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4766 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4767 (out_cu): Use addr_len for the size of addresses.
4768 (out_line): Likewise. Size DW_LNE_set_address instruction
4769 according to addr_len.
4770 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4771 (FUNC): Add START_INSNS to definition.
4773 2014-10-18 Yao Qi <yao@codesourcery.com>
4775 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4776 gdb_has_argv0 return true.
4777 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4778 check [target_info exists noargs], check [gdb_has_argv0]
4780 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4781 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4784 2014-10-17 Doug Evans <dje@google.com>
4786 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4788 * gdb.python/py-events.py: Add clear_objfiles event.
4790 2014-10-17 Doug Evans <dje@google.com>
4792 * gdb.python/py-objfile.exp: Test progspace attribute.
4794 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4796 * gdb.guile/scm-breakpoint.exp: Do not assume any
4797 directory separators when matching source file paths.
4798 * gdb.python/py-breakpoint.exp: Likewise.
4799 * gdb.reverse/break-precsave.exp: Likewise.
4800 * gdb.reverse/break-reverse.exp: Likewise.
4801 * gdb.reverse/consecutive-precsave.exp: Likewise.
4802 * gdb.reverse/finish-precsave.exp: Likewise.
4803 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4804 * gdb.reverse/finish-reverse.exp: Likewise.
4805 * gdb.reverse/i386-precsave.exp: Likewise.
4806 * gdb.reverse/i387-env-reverse.exp: Likewise.
4807 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4808 * gdb.reverse/machinestate-precsave.exp: Likewise.
4809 * gdb.reverse/machinestate.exp: Likewise.
4810 * gdb.reverse/sigall-precsave.exp: Likewise.
4811 * gdb.reverse/solib-precsave.exp: Likewise.
4812 * gdb.reverse/step-precsave.exp: Likewise.
4813 * gdb.reverse/until-precsave.exp: Likewise.
4814 * gdb.reverse/watch-precsave.exp: Likewise.
4815 * gdb.reverse/watch-reverse.exp: Likewise.
4817 2014-10-17 Yao Qi <yao@codesourcery.com>
4819 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4820 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4822 2014-10-17 Pedro Alves <palves@redhat.com>
4825 * gdb.base/bg-execution-repeat.c: New file.
4826 * gdb.base/bg-execution-repeat.exp: New file.
4828 2014-10-17 Pedro Alves <palves@redhat.com>
4831 * gdb.base/continue-all-already-running.c: New file.
4832 * gdb.base/continue-all-already-running.exp: New file.
4834 2014-10-17 Pedro Alves <palves@redhat.com>
4837 * gdb.base/annota-input-while-running.c: New file.
4838 * gdb.base/annota-input-while-running.exp: New file.
4840 2014-10-17 Pedro Alves <palves@redhat.com>
4842 * gdb.base/callfuncs.exp: emove references to osf.
4843 * gdb.base/sigall.exp: Likewise.
4844 * gdb.gdb/selftest.exp: Likewise.
4845 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4846 * gdb.mi/non-stop.c: Likewise.
4847 * gdb.mi/pthreads.c: Likewise.
4848 * gdb.reverse/sigall-precsave.exp: Likewise.
4849 * gdb.reverse/sigall-reverse.exp: Likewise.
4850 * gdb.threads/pthreads.c: Likewise.
4851 * gdb.threads/pthreads.exp: Likewise.
4853 2014-10-17 Yao Qi <yao@codesourcery.com>
4855 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4856 check 'target_info exists noargs'.
4857 (test_command_prompt_position): Likewise.
4858 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4860 (progvar_simple_while_test): Likewise.
4861 (progvar_complex_if_while_test): Likewise.
4862 (if_while_breakpoint_command_test): Likewise.
4863 (infrun_breakpoint_command_test): Likewise.
4864 (breakpoint_command_test): Likewise.
4865 (watchpoint_command_test): Likewise.
4866 (bp_deleted_in_command_test): Likewise.
4867 (temporary_breakpoint_commands): Likewise.
4869 2014-10-16 Yao Qi <yao@codesourcery.com>
4871 * gdb.base/remotetimeout.exp: Remove noargs checking.
4873 2014-10-15 Pedro Alves <palves@redhat.com>
4876 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4877 * gdb.base/breakpoint-in-ro-region.exp
4878 (probe_target_hardware_step): New procedure.
4879 (top level): Probe hardware stepping and hardware breakpoint
4880 support. Test stepping through a read-only region, with both
4881 "breakpoint auto-hw" on and off and both "always-inserted" on and
4884 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4886 * gdb.dlang/demangle.exp: Update for demangling changes.
4888 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4890 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4891 * gdb.cp/non-trivial-retval.exp: Add new tests.
4893 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4897 * gdb.cp/non-trivial-retval.cc: New file.
4898 * gdb.cp/non-trivial-retval.exp: New file.
4900 2014-10-15 Yao Qi <yao@codesourcery.com>
4902 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4905 2014-10-15 Yao Qi <yao@codesourcery.com>
4907 * gdb.python/py-symbol.exp: Match file base name if host is
4908 remote, otherwise match file name with dir name.
4909 * gdb.python/py-symtab.exp: Likewise.
4910 * gdb.python/python.exp: Likewise.
4912 2014-10-15 Yao Qi <yao@codesourcery.com>
4914 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4916 * gdb.python/py-symtab.exp: Likewise.
4917 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4920 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4922 * gdb.ada/addr_arith: New testcase.
4924 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4926 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4927 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4928 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4929 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4931 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4933 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4934 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4935 * gdb.arch/stap-eval-lang-ada.exp: New file.
4937 2014-10-14 Yao Qi <yao@codesourcery.com>
4939 * gdb.mi/mi-var-child.c (nothing1): New function.
4940 (nothing2): New function.
4941 (do_children_tests): Set function pointers by nothing1 and
4943 * gdb.mi/mi-var-child.exp: Step over new added statements.
4944 Update test to match the new output.
4945 * gdb.mi/var-cmd.c (nothing1): New function.
4946 (nothing2): New function.
4947 (do_children_tests): Set function pointers by nothing1 and
4949 * gdb.mi/mi-var-display.exp: Update test to match output.
4950 Step to the line specified by $line_dct_nothing.
4951 Increase the number of lines to step.
4953 2014-10-14 Yao Qi <yao@codesourcery.com>
4955 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4957 * gdb.mi/mi2-var-child.exp: Likewise.
4959 2014-10-13 Doug Evans <dje@google.com>
4961 * gdb.python/py-objfile.exp: Change name of file name test.
4963 2014-10-13 Doug Evans <dje@google.com>
4965 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4966 from the start of the CU.
4968 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4969 Yao Qi <yao@codesourcery.com>
4971 Fix "save breakpoints" for "catch" command.
4972 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4973 Remove -nonewline. Match also the added "main" line.
4975 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4977 Fix "save breakpoints" for "disable $bpnum" command.
4978 * gdb.base/save-bp.c (main): Add label.
4979 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4981 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4983 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4985 2014-10-11 Yao Qi <yao@codesourcery.com>
4987 * gdb.server/server-kill.exp: Execute command
4988 "set remote trace-status-packet on" before "tstatus".
4990 2014-10-11 Yao Qi <yao@codesourcery.com>
4992 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4993 (main): Call getppid.
4994 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4995 and continue to it. Read variable "server_pid".
4997 2014-10-11 Yao Qi <yao@codesourcery.com>
4999 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5001 2014-10-11 Yao Qi <yao@codesourcery.com>
5003 * gdb.threads/thread-find.exp: Don't execute command
5005 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5006 * gdb.threads/linux-dp.exp: Don't check the condition
5007 $threads_created equals to zero.
5009 2014-10-10 Pedro Alves <palves@redhat.com>
5011 * gdb.base/bigcore.exp: Remove references to IRIX.
5012 * gdb.base/funcargs.exp: Likewise.
5013 * gdb.base/interrupt.exp: Likewise.
5014 * gdb.base/mips_pro.exp: Likewise.
5015 * gdb.base/nodebug.exp: Likewise.
5016 * gdb.base/setvar.exp: Likewise.
5017 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5019 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5020 Pedro Alves <palves@redhat.com>
5023 * gdb.base/vdso-warning.c: New file.
5024 * gdb.base/vdso-warning.exp: New file.
5026 2014-10-02 Doug Evans <dje@google.com>
5028 * gdb.base/structs.c (main): Don't run forever.
5030 2014-10-02 Pedro Alves <palves@redhat.com>
5032 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5033 (top level) <stop threads 1, stop threads 2>: Use it.
5035 2014-10-02 Pedro Alves <palves@redhat.com>
5037 * gdb.threads/break-while-running.exp (test): Add new
5038 'update_thread_list' argument. Skip "info threads" if false.
5039 (top level): Add new 'update_thread_list' axis.
5041 2014-10-02 Pedro Alves <palves@redhat.com>
5043 PR breakpoints/17431
5044 * gdb.base/execl-update-breakpoints.c: New file.
5045 * gdb.base/execl-update-breakpoints.exp: New file.
5047 2014-10-01 Pedro Alves <palves@redhat.com>
5049 * gdb.base/breakpoint-in-ro-region.c: New file.
5050 * gdb.base/breakpoint-in-ro-region.exp: New file.
5052 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5054 * gdb.mi/mi-exit-code.exp: New file.
5055 * gdb.mi/mi-exit-code.c: New file.
5057 2014-09-30 Yao Qi <yao@codesourcery.com>
5059 * lib/prelink-support.exp (build_executable_own_libs): Error if
5060 the target isn't native.
5062 2014-09-30 Yao Qi <yao@codesourcery.com>
5064 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5067 2014-09-22 Pedro Alves <palves@redhat.com>
5069 * gdb.threads/break-while-running.exp: New file.
5070 * gdb.threads/break-while-running.c: New file.
5072 2014-09-19 Yao Qi <yao@codesourcery.com>
5074 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5075 Invoke test. Restart GDB with --readnow and invoke test again.
5077 2014-09-19 Yao Qi <yao@codesourcery.com>
5079 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5080 proc set_breakpoint_on_gcd_function. Invoke
5081 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5082 invoke set_breakpoint_on_gcd_function again.
5084 2014-09-18 Doug Evans <dje@google.com>
5086 * gdb.dwarf2/symtab-producer.exp: New file.
5088 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5090 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5091 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5092 * gdb.base/global-var-nested-by-dso.c: Likewise.
5093 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5095 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5096 Pedro Alves <palves@redhat.com>
5098 * gdb.base/watch-bitfields.exp: Pass string other than test file
5099 name to prepare_for_testing.
5100 (watch): New procedure.
5101 (expect_watchpoint): Use with_test_prefix.
5102 (top level): Factor out tests to ...
5103 (test_watch_location, test_regular_watch): ... these new
5104 procedures, and use with_test_prefix and gdb_continue_to_end.
5106 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5108 PR breakpoints/12526
5109 * gdb.base/watch-bitfields.exp: New file.
5110 * gdb.base/watch-bitfields.c: New file.
5112 2014-09-16 Pedro Alves <palves@redhat.com>
5114 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5115 software and hardware addresses, not software address against
5118 2014-09-16 Pedro Alves <palves@redhat.com>
5120 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5121 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5123 2014-09-16 Pedro Alves <palves@redhat.com>
5125 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5127 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5128 "*-*-vxworks*" throughout.
5129 * gdb.base/break.exp: Likewise.
5130 * gdb.base/default.exp: Likewise.
5131 * gdb.base/scope.exp: Likewise.
5132 * gdb.base/sepdebug.exp: Likewise.
5133 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5135 * gdb.base/run.c: Likewise.
5136 * gdb.base/sepdebug.c: Likewise.
5137 * gdb.hp/gdb.aCC/run.c: Likewise.
5138 * gdb.reverse/until-reverse.c: Likewise.
5139 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5141 2014-09-16 Yao Qi <yao@codesourcery.com>
5143 * boards/local-remote-host-native.exp: New file.
5145 2014-09-14 Doug Evans <xdje42@gmail.com>
5147 * gdb.threads/queue-signal.c (thread_count): New variable.
5148 (thread_count_mutex, thread_count_condvar): New variables.
5149 (incr_thread_count, wait_all_threads_running): New functions.
5150 (main): Wait for all threads to be in their thread functions.
5152 2014-09-13 Doug Evans <xdje42@gmail.com>
5154 * gdb.threads/queue-signal.c: New file.
5155 * gdb.threads/queue-signal.exp: New file.
5157 2014-09-13 Doug Evans <xdje42@gmail.com>
5159 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5160 be consistent with what default_gdb_init uses.
5161 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5162 the plain text of the prompt. Add some logging printfs.
5163 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5165 2014-09-12 Pedro Alves <palves@redhat.com>
5167 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5168 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5169 * gdb.arch/i386-size-overlap.exp: Likewise.
5170 * gdb.arch/i386-size.exp: Likewise.
5171 * gdb.arch/i386-unwind.exp: Likewise.
5172 * gdb.base/a2-run.exp: Likewise.
5173 * gdb.base/break.exp: Likewise.
5174 * gdb.base/charset.exp: Likewise.
5175 * gdb.base/chng-syms.exp: Likewise.
5176 * gdb.base/commands.exp: Likewise.
5177 * gdb.base/dbx.exp: Likewise.
5178 * gdb.base/find.exp: Likewise.
5179 * gdb.base/funcargs.exp: Likewise.
5180 * gdb.base/jit-simple.exp: Likewise.
5181 * gdb.base/reread.exp: Likewise.
5182 * gdb.base/sepdebug.exp: Likewise.
5183 * gdb.base/step-bt.exp: Likewise.
5184 * gdb.cp/mb-inline.exp: Likewise.
5185 * gdb.cp/mb-templates.exp: Likewise.
5186 * gdb.objc/basicclass.exp: Likewise.
5187 * gdb.threads/killed.exp: Likewise.
5189 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5192 * gdb.arch/powerpc-stackless.S: New file.
5193 * gdb.arch/powerpc-stackless.exp: New file.
5195 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5197 * gdb.base/attach.c: Include unistd.h.
5198 (main): Call alarm. Add label postloop.
5199 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5200 gdb_breakpoint, gdb_continue_to_breakpoint.
5201 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5203 2014-09-11 Pedro Alves <palves@redhat.com>
5206 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5207 * gdb.base/attach.exp (test_command_line_attach_run): New
5209 (top level): Call it.
5211 2014-09-11 Pedro Alves <palves@redhat.com>
5213 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5214 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5215 (do_command_attach_tests): Use spawn_wait_for_attach.
5216 * gdb.base/solib-overlap.exp: Likewise.
5217 * gdb.multi/multi-attach.exp: Likewise.
5218 * gdb.python/py-prompt.exp: Likewise.
5219 * gdb.python/py-sync-interp.exp: Likewise.
5220 * gdb.server/ext-attach.exp: Likewise.
5222 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5224 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5225 command in testcase. Simplify testcase.
5227 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5229 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5231 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5233 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5235 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5237 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5239 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5241 * gdb.dwarf2/dynarr-ptr.c: New file.
5242 * gdb.dwarf2/dynarr-ptr.exp: New file.
5244 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5246 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5247 of 30 rather than hardcoding 120 for a slow test case. Take the
5248 `gdb,timeout' target setting into account for this calculation.
5249 Don't extend the timeout for the test cases that don't need it.
5251 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5253 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5254 a factor of 2 for a slow test case. Take the `gdb,timeout'
5255 target setting into account for this calculation.
5256 * gdb.reverse/until-precsave.exp: Increase the timeout by
5257 a factor of 15 and 3 respectively rather than adding 120
5258 for a pair of slow test cases. Take the `gdb,timeout'
5259 target setting into account for this calculation.
5261 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5263 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5264 timeout, don't pass one down to gdb_expect.
5265 (gdb_expect): Rework timeout selection.
5267 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5269 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5270 exception on timeout.
5271 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5272 (gdbserver_start_extended): Catch any `gdbserver_start' error
5274 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5275 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5276 `gdbserver_gdb_load' error exceptions.
5278 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5280 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5281 120 on waiting for the TCP socket to open.
5283 2014-09-09 Doug Evans <xdje42@gmail.com>
5285 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5286 _caller_matches, _any_caller_is, _any_caller_matches.
5288 2014-09-09 Doug Evans <xdje42@gmail.com>
5290 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5292 2014-09-09 Yao Qi <yao@codesourcery.com>
5294 * gdb.mi/mi-var-display.exp: Set print symbol off.
5296 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5299 * gdb.base/commands.exp: Add tests to verify user-defined
5300 commands with empty bodies.
5301 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5302 python commands in `show user command`.
5303 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5304 scheme commands in `show user command`.
5306 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5309 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5310 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5311 * gdb.python/py-framefilter-invalidarg.exp: New file.
5312 * gdb.python/py-framefilter-invalidarg.py: New file.
5314 2014-09-06 Doug Evans <xdje42@gmail.com>
5317 * gdb.python/py-caller-is.c: New file.
5318 * gdb.python/py-caller-is.exp: New file.
5320 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5323 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5324 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5326 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5329 * gdb.fortran/print-formatted.exp: New file.
5330 * gdb.fortran/print-formatted.f90: Likewise.
5332 2014-09-03 Sasha Smundak <asmundak@google.com>
5334 * gdb.python/py-frame.exp: Test Frame.read_register.
5336 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5339 * gdb.python/py-completion.exp: New file.
5340 * gdb.python/py-completion.py: Likewise.
5342 2014-08-28 Doug Evans <dje@google.com>
5344 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5345 eax,etc. are live with values set by gdb and thus the compiler can't
5347 * gdb.arch/i386-pseudo.c (main): Ditto.
5349 2014-08-27 Doug Evans <dje@google.com>
5351 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5353 2014-08-25 Doug Evans <dje@google.com>
5355 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5358 2014-08-25 Doug Evans <dje@google.com>
5360 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5362 2014-08-24 Yao Qi <yao@codesourcery.com>
5364 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5366 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5368 2014-08-22 Doug Evans <dje@google.com>
5371 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5372 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5373 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5375 2014-08-22 Yao Qi <yao@codesourcery.com>
5377 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5378 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5379 * gdb.python/python.exp: Likewise. Use .py file on the host
5380 instead of the build.
5382 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5384 * gdb.threads/gcore-stale-thread.c: New file.
5385 * gdb.threads/gcore-stale-thread.exp: New file.
5387 2014-08-21 Pedro Alves <palves@redhat.com>
5389 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5390 * gdb.base/gcore-relro-pie.exp: Likewise.
5391 * gdb.base/gcore-relro.exp: Likewise.
5392 * gdb.base/gcore.exp: Likewise.
5393 * gdb.base/print-symbol-loading.exp: Likewise.
5394 * gdb.threads/gcore-thread.exp: Likewise.
5395 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5397 2014-08-20 Pedro Alves <palves@redhat.com>
5398 Jan Kratochvil <jan.kratochvil@redhat.com>
5400 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5402 (EXPECT): Handle READ1 being set.
5403 (all): Depend on EXTRA_RULES.
5404 (check-read1, expect-read1, read1.so, read1): New rules.
5405 * README (Testsuite Parameters): Document the READ1 make variable.
5406 (Race detection): New section.
5407 * configure: Regenerate.
5408 * configure.ac: If build==host==target, and running under a
5409 GNU/glibc system, add read1 to the extra Makefile rules.
5410 (EXTRA_RULES): AC_SUBST it.
5411 * lib/read1.c: New file.
5413 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5415 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5416 the handling of variables declared as a typedef to an array
5417 which a DW_AT_data_location attribute.
5419 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5420 Pedro Alves <palves@redhat.com>
5424 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5427 2014-08-19 Pedro Alves <palves@redhat.com>
5429 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5431 2014-08-19 Yao Qi <yao@codesourcery.com>
5433 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5436 2014-08-18 David Blaikie <dblaikie@gmail.com>
5438 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5440 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5442 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5443 attribute in array range.
5445 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5447 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5449 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5452 * gdb.cp/pr17132.cc: New file.
5453 * gdb.cp/pr17132.exp: New file.
5455 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5457 * gdb.python/py-xmethods.py (A_getarrayind)
5458 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5459 Use 'print' with function call syntax.
5460 (E_method_matcher.match): Fix tab vs space indentation mixup.
5462 2014-08-15 Yao Qi <yao@codesourcery.com>
5464 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5467 2014-08-15 Yao Qi <yao@codesourcery.com>
5469 * gdb.cp/casts.exp: Set print symbol off.
5470 * gdb.cp/class2.exp: Likewise.
5471 * gdb.cp/overload.exp: Likewise.
5472 * gdb.cp/templates.exp: Likewise.
5474 2014-08-11 Doug Evans <dje@google.com>
5476 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5477 (test_load_shlib): Update.
5479 2014-08-09 Yao Qi <yao@codesourcery.com>
5481 * gdb.base/display.exp: Invoke is_address_zero_readable.
5482 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5483 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5484 * gdb.base/hbreak-unmapped.exp: Return if
5485 is_address_zero_readable returns true.
5486 * gdb.base/signest.exp: Likewise.
5487 * gdb.base/signull.exp: Likewise.
5488 * gdb.base/sigbpt.exp: Likewise.
5489 * gdb.guile/scm-disasm.exp: Do the test if
5490 is_address_zero_readable returns false.
5491 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5492 * gdb.python/py-arch.exp: Likewise.
5493 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5494 * lib/gdb.exp (is_address_zero_readable): New proc.
5496 2014-08-09 Yao Qi <yao@codesourcery.com>
5499 * gdb.mi/mi-var-display.exp: Make test messages unique.
5501 2014-08-04 Tom Tromey <tromey@redhat.com>
5503 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5506 2014-08-04 Tom Tromey <tromey@redhat.com>
5508 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5511 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5513 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5514 inner_vla_struct_object_size.
5515 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5518 2014-07-30 Pedro Alves <palves@redhat.com>
5520 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5523 2014-07-29 Yao Qi <yao@codesourcery.com>
5526 * gdb.base/until-nodebug.exp: New.
5528 2014-07-28 Doug Evans <xdje42@gmail.com>
5531 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5532 previously existing parameter, and previously ambiguously spelled
5535 2014-07-28 Will Newton <will.newton@linaro.org>
5537 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5539 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5540 Doug Evans <xdje42@gmail.com>
5543 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5545 2014-07-25 Pedro Alves <palves@redhat.com>
5547 * gdb.threads/signal-command-handle-nopass.c: New file.
5548 * gdb.threads/signal-command-handle-nopass.exp: New file.
5549 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5550 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5551 * gdb.threads/signal-delivered-right-thread.c: New file.
5552 * gdb.threads/signal-delivered-right-thread.exp: New file.
5554 2014-07-25 Pedro Alves <palves@redhat.com>
5556 * gdb.base/double-prompt-target-event-error.exp
5557 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5559 (cancel_pagination_in_target_event): Rework double prompt
5561 * gdb.base/paginate-after-ctrl-c-running.exp
5562 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5564 * gdb.base/paginate-bg-execution.exp
5565 (test_bg_execution_pagination_return)
5566 (test_bg_execution_pagination_cancel): Remove '-notransfer
5568 * gdb.base/paginate-execution-startup.exp
5569 (test_fg_execution_pagination_return)
5570 (test_fg_execution_pagination_cancel): Remove '-notransfer
5572 * gdb.base/paginate-inferior-exit.exp
5573 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5575 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5576 * lib/gdb.exp (pagination_prompt): Run text through
5578 (gdb_test_multiple): Match $pagination_prompt instead of
5580 (string_to_regexp): Move to lib/gdb-utils.exp.
5582 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5584 * gdb.arch/amd64-entry-value-paramref.S: New file.
5585 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5586 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5587 * gdb.arch/amd64-optimout-repeat.S: New file.
5588 * gdb.arch/amd64-optimout-repeat.c: New file.
5589 * gdb.arch/amd64-optimout-repeat.exp: New file.
5591 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5594 * gdb.base/statistics.exp: New file.
5596 2014-07-17 Doug Evans <dje@google.com>
5599 * gdb.base/maint.exp: Update testing of per-command stats.
5601 2014-07-16 Pedro Alves <palves@redhat.com>
5603 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5604 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5605 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5606 (tfile_write_buf): New functions.
5607 (add_memory_block): Rewrite using the above.
5608 (adjust_function_address): New function.
5609 (FUNCTION_ADDRESS): New macro.
5610 (write_basic_trace_file): Remove short_x local, and use
5611 tfile_write_16. Change type of func_addr local to unsigned long
5612 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5613 here. Cast argument of add_memory_block to char pointer.
5614 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5615 (main): Remove parameters.
5616 * gdb.trace/tfile.exp: Remove nowarnings.
5618 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5620 * gdb.base/debug-expr.exp: Test string evaluation with
5621 "debug expression" on.
5623 2014-07-15 Pedro Alves <palves@redhat.com>
5625 * gdb.base/reread.exp: Use clean_restart.
5627 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5629 * gdb.arch/avr-flash-qualifer.c: New.
5630 * gdb.arch/avr-flash-qualifer.exp: New.
5632 2014-07-14 Pedro Alves <palves@redhat.com>
5634 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5635 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5637 2014-07-14 Pedro Alves <palves@redhat.com>
5639 * gdb.base/double-prompt-target-event-error.c: New file.
5640 * gdb.base/double-prompt-target-event-error.exp: New file.
5642 2014-07-14 Pedro Alves <palves@redhat.com>
5645 * gdb.base/paginate-inferior-exit.c: New file.
5646 * gdb.base/paginate-inferior-exit.exp: New file.
5648 2014-07-14 Pedro Alves <palves@redhat.com>
5651 * gdb.base/paginate-bg-execution.c: New file.
5652 * gdb.base/paginate-bg-execution.exp: New file.
5654 2014-07-14 Pedro Alves <palves@redhat.com>
5657 * gdb.base/paginate-execution-startup.c: New file.
5658 * gdb.base/paginate-execution-startup.exp: New file.
5659 * lib/gdb.exp (pagination_prompt): New global.
5660 (default_gdb_spawn): New procedure, factored out from
5662 (default_gdb_start): Adjust to call default_gdb_spawn.
5663 (gdb_spawn): New procedure.
5665 2014-07-14 Pedro Alves <palves@redhat.com>
5667 * lib/gdb.exp (gdb_assert): New procedure.
5668 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5670 2014-07-14 Pedro Alves <palves@redhat.com>
5672 * gdb.base/execution-termios.c: New file.
5673 * gdb.base/execution-termios.exp: New file.
5675 2014-07-14 Tom Tromey <tromey@redhat.com>
5677 * gdb.cp/vla-cxx.cc: New file.
5678 * gdb.cp/vla-cxx.exp: New file.
5680 2014-07-14 Tom Tromey <tromey@redhat.com>
5682 * gdb.reverse/rerun-prec.c: New file.
5683 * gdb.reverse/rerun-prec.exp: New file.
5685 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5686 Maciej W. Rozycki <macro@codesourcery.com>
5688 * lib/gdb-utils.exp: New file.
5689 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5690 inline `gdb_init_command' processing.
5691 (gdb_start_cmd): Likewise.
5692 * lib/mi-support.exp (mi_run_cmd): Likewise.
5693 * README: Document `gdb_init_command' and `gdb_init_commands'.
5695 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5697 Fix false FAIL running under a very long directory name.
5698 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5699 and "set print elements 10000". Twice.
5701 2014-07-11 Yao Qi <yao@codesourcery.com>
5703 * gdb.base/exprs.exp: "set print symbol off".
5705 2014-07-11 Pedro Alves <palves@redhat.com>
5707 * gdb.threads/kill.c: New file.
5708 * gdb.threads/kill.exp: New file.
5710 2014-07-10 Yao Qi <yao@codesourcery.com>
5712 * gdb.trace/tfile.c (write_basic_trace_file)
5713 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5714 address written to trace file.
5716 2014-07-09 Pedro Alves <palves@redhat.com>
5718 * gdb.base/attach-wait-input.exp: New file.
5719 * gdb.base/attach-wait-input.c: New file.
5721 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5723 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5724 setting up test structures.
5725 (main): Call new test function.
5726 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5727 test function, continue into test function and walk test
5730 2014-07-02 Yao Qi <yao@codesourcery.com>
5732 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5733 'bar_start' at the beginning of functions 'foo' and 'bar'
5735 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5736 instead of 'foo' and 'bar'.
5738 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5740 * gdb.btrace/segv.exp: New.
5741 * gdb.btrace/segv.c: New.
5743 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5745 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5748 2014-06-30 Mark Wielaard <mjw@redhat.com>
5750 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5751 vulture, vilify, villar): New volatile array constants.
5752 (vindictive, vegetation): New const volatile array constants.
5753 * gdb.base/volatile.exp: Test volatile and const volatile array
5756 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5758 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5759 target lacks support for awatch, rwatch, or hbreak.
5761 2014-06-27 Yao Qi <yao@codesourcery.com>
5763 * gdb.multi/dummy-frame-restore.exp: New.
5764 * gdb.multi/dummy-frame-restore.c: New.
5766 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5768 * gdb.btrace/gcore.exp: New.
5770 2014-06-23 Pedro Alves <palves@redhat.com>
5772 * gdb.base/watchpoint-reuse-slot.c: New file.
5773 * gdb.base/watchpoint-reuse-slot.exp: New file.
5775 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5777 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5778 progspace's filename in 'info', 'enable' and 'disable' command
5781 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5783 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5784 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5785 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5787 2014-06-20 Gary Benson <gbenson@redhat.com>
5789 * gdb.arch/i386-avx.exp: Fix include file location.
5790 * gdb.arch/i386-sse.exp: Likewise.
5792 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5794 * gdb.dlang/expression.exp: New file.
5796 2014-06-19 Pedro Alves <palves@redhat.com>
5798 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5800 (top level): ... here. Iterate running tests under different
5801 scheduler-locking settings.
5803 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5805 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5806 to DW_FORM_addr and use non-zero addresses.
5808 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5811 * gdb.python/py-xmethods.cc: Add global function call counters and
5812 increment them in their respective functions. Remove "cout"
5814 * gdb.python/py-xmethods.exp: Make tests check the global function
5815 call counters instead of depending on inferior IO.
5817 2014-06-18 Don Breazeal <donb@codesourcery.com>
5819 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5821 (explicit_fork_parent_follow): Deleted procedure.
5822 (explicit_fork_child_follow): Deleted procedure.
5823 (test_follow_fork): New procedure.
5824 (do_fork_tests): Replace calls to deleted procedures with
5825 calls to test_follow_fork and reset GDB for subsequent
5828 2014-06-17 Yao Qi <yao@codesourcery.com>
5830 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5833 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5835 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5836 Initialize ptr and S explicitly.
5837 (skip_type_update_when_not_use_rtti_test): Likewise.
5839 2014-06-16 Keith Seitz <keiths@redhat.com>
5842 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5843 the inferior is started.
5845 2014-06-16 Pedro Alves <palves@redhat.com>
5847 * gdb.base/break-main-file-remove-fail.c: New file.
5848 * gdb.base/break-main-file-remove-fail.exp: New file.
5849 * gdb.base/break-unload-file.exp: Use build_executable instead of
5850 prepare_for_testing.
5851 (test_break): New parameter "initial_load". Handle it.
5852 (top level): Add initial_load cmdline/file axis.
5854 2014-06-12 Tom Tromey <tromey@redhat.com>
5856 * gdb.base/completion.exp: Don't use directory name in test.
5858 2014-06-09 Gary Benson <gbenson@redhat.com>
5860 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5861 separate the always-available ANSI-standard signals from the
5862 signals that require checking.
5864 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5868 2014-06-07 Keith Seitz <keiths@redhat.com>
5872 * gdb.cp/var-tag.cc: New file.
5873 * gdb.cp/var-tag.exp: New file.
5874 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5875 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5876 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5877 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5879 2014-06-06 Doug Evans <xdje42@gmail.com>
5881 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5883 2014-06-06 Pedro Alves <palves@redhat.com>
5885 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5886 in target debug output instead of looking at RSP packets,
5887 disabling the test on any target that uses hardware stepping.
5890 2014-06-06 Pedro Alves <palves@redhat.com>
5892 * gdb.base/break-unload-file.exp: Fix typo.
5894 2014-06-06 Yao Qi <yao@codesourcery.com>
5896 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5897 from "jit_function" to "^jit_function".
5899 2014-06-06 Yao Qi <yao@codesourcery.com>
5901 * gdb.base/async.c (foo): Add one statement.
5902 * gdb.base/async.exp: Get the next instruction address and
5903 match the output of "nexti" by instruction address. Match
5904 the hex address in the output of "finish".
5906 2014-06-06 Gary Benson <gbenson@redhat.com>
5908 * gdb.base/call-signals.c: Remove preprocessor conditionals
5909 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5910 SIGSEGV and SIGTERM.
5911 * gdb.base/sigall.c: Likewise.
5912 * gdb.base/unwindonsignal.c: Likewise.
5913 * gdb.reverse/sigall-reverse.c: Likewise.
5915 2014-06-06 Yao Qi <yao@codesourcery.com>
5917 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5918 readable, skip the test.
5920 2014-06-06 Yao Qi <yao@codesourcery.com>
5922 * gdb.threads/staticthreads.c (thread_function): Move the line
5923 setting breakpoint on forward.
5924 * gdb.threads/staticthreads.exp: Update comments.
5926 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5928 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5929 "history-append! type error".
5931 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5933 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5934 erroneous dprintf expected input.
5936 2014-06-04 Doug Evans <xdje42@gmail.com>
5938 * gdb.guile/scm-generics.exp: Delete.
5940 2014-06-04 Doug Evans <xdje42@gmail.com>
5942 * gdb.guile/scm-breakpoint.exp: Update.
5943 Add tests for breakpoint registration.
5945 2014-06-04 Tom Tromey <tromey@redhat.com>
5947 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5949 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5950 inner_vla_struct, vla_union types. Initialize objects of those
5951 types and compute their sizes.
5953 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5954 Hui Zhu <hui@codesourcery.com>
5956 * gdb.base/fileio.exp: Add test for shell not available as well as
5958 * gdb.base/fileio.c (test_system): Check for shell twice.
5960 2014-06-04 Yao Qi <yao@codesourcery.com>
5962 * gdb.base/auto-connect-native-target.exp: Remove redundant
5963 space from the regexp pattern.
5965 2014-06-04 Yao Qi <yao@codesourcery.com>
5967 * gdb.base/default.exp: Replace "child" with "native" in
5970 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5972 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5973 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5974 * gdb.python/py-xmethods.py: Python script supporting the
5975 new testcase and tests.
5977 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5978 Pedro Alves <palves@redhat.com>
5980 PR breakpoints/17000
5981 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5982 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5984 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5986 * gdb.base/subst.exp: Add tests to verify partial path matching
5989 2014-06-03 Pedro Alves <palves@redhat.com>
5991 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5992 target that doesn't use software single-stepping.
5994 2014-06-03 Pedro Alves <palves@redhat.com>
5996 PR breakpoints/17000
5997 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5998 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6000 2014-06-02 Doug Evans <xdje42@gmail.com>
6002 * gdb.guile/scm-parameter.exp: New file.
6004 2014-06-02 Doug Evans <xdje42@gmail.com>
6006 * gdb.guile/scm-cmd.c: New file.
6007 * gdb.guile/scm-cmd.exp: New file.
6009 2014-06-02 Doug Evans <xdje42@gmail.com>
6011 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6012 pretty-printer lookup.
6013 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6014 (make-pp_s-printer): Call it.
6015 (make-pretty-printer-from-dict): New function.
6016 (lookup-pretty-printer-maker-from-dict): New function.
6017 (*pretty-printer*): Simplify.
6018 (make-objfile-pp_s-printer): New function.
6019 (install-objfile-pretty-printers!): New function.
6020 (make-progspace-pp_s-printer): New function.
6021 (install-progspace-pretty-printers!): New function.
6022 * gdb.guile/scm-progspace.c: New file.
6023 * gdb.guile/scm-progspace.exp: New file.
6025 2014-06-02 Pedro Alves <palves@redhat.com>
6027 * gdb.base/dprintf-bp-same-addr.c: New file.
6028 * gdb.base/dprintf-bp-same-addr.exp: New file.
6030 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6032 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6033 * gdb.arch/powerpc-power.s: Likewise.
6035 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6037 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6039 2014-06-01 Yao Qi <yao@codesourcery.com>
6041 * gdb.base/watchpoint.exp (test_watch_location): Check null
6042 pointer can be dereferenced. If not, do the test, otherwise
6045 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6047 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6049 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6051 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6053 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6054 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6055 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6056 * gdb.arch/amd64-invalid-stack-top.c: New file.
6057 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6059 2014-05-30 Pedro Alves <palves@redhat.com>
6061 PR breakpoints/17000
6062 * gdb.base/sss-bp-on-user-bp.c: New file.
6063 * gdb.base/sss-bp-on-user-bp.exp: New file.
6065 2014-05-30 David Blaikie <dblaikie@gmail.com>
6067 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6068 gnu_inline semantics via attribute.
6069 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6070 source explicitly specifies the required semantics.
6072 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6074 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6076 2014-05-29 Pedro Alves <palves@redhat.com>
6077 Tom Tromey <tromey@redhat.com>
6079 * gdb.base/async-shell.exp: Don't enable target-async.
6080 * gdb.base/async.exp
6081 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6083 (top level): Don't test with "target-async".
6084 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6085 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6086 * gdb.base/inferior-died.exp: Don't enable target-async.
6087 * gdb.base/interrupt-noterm.exp: Likewise.
6088 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6089 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6090 * gdb.mi/mi-nonstop.exp: Likewise.
6091 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6092 * gdb.mi/mi-nsintrall.exp: Likewise.
6093 * gdb.mi/mi-nsmoribund.exp: Likewise.
6094 * gdb.mi/mi-nsthrexec.exp: Likewise.
6095 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6096 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6097 * gdb.python/py-evsignal.exp: Don't enable target-async.
6098 * gdb.python/py-evthreads.exp: Likewise.
6099 * gdb.python/py-prompt.exp: Likewise.
6100 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6101 * gdb.server/solib-list.exp: Don't enable target-async.
6102 * gdb.threads/thread-specific-bp.exp: Likewise.
6103 * lib/mi-support.exp: Adjust to use mi-async.
6105 2014-05-29 Pedro Alves <palves@redhat.com>
6108 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6109 reason, even in sync mode.
6111 2014-05-29 Pedro Alves <palves@redhat.com>
6112 Hui Zhu <hui@codesourcery.com>
6115 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6116 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6117 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6118 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6120 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6122 * config/monitor.exp (gdb_target_monitor): Replace use of
6123 "set remotebaud" by "set serial baud".
6125 2014-05-26 Andy Wingo <wingo@igalia.com>
6127 * gdb.guile/scm-breakpoint.exp:
6128 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6129 properties instead of gdb-object-properties.
6131 2014-05-26 Yao Qi <yao@codesourcery.com>
6133 * gdb.server/no-thread-db.exp: Specify source file name
6134 explicitly when setting a breakpoint.
6136 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6138 * gdb.btrace/vdso.c: New.
6139 * gdb.btrace/vdso.exp: New.
6141 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6143 * gdb.base/gcore.exp (capture_command_output): Move ...
6144 * lib/gdb.exp (capture_command_output): ... here.
6146 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6148 * gdb.btrace/data.exp: Test memory access during btrace replay.
6150 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6152 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6154 2014-05-21 Pedro Alves <palves@redhat.com>
6157 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6158 (top level): Test that output related to execution commands is
6159 sent to the console with CLI commands, but not with MI commands.
6160 Test that breakpoint events are always mirrored to the console.
6161 Also expect the new source line to be output after a "next" in
6162 async mode too. Make it a pass/fail test.
6163 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6165 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6167 2014-05-21 Pedro Alves <palves@redhat.com>
6169 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6170 Use them to test variations of "list" after reaching a breakpoint.
6171 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6172 Test "list" with listsize 10 after reaching a breakpoint.
6173 * gdb.python/python.exp (decode_line current location line
6174 number): Adjust expected line number.
6176 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6178 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6179 behavior for $args, pass it directly to "run".
6181 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6183 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6186 2014-05-21 Pedro Alves <palves@redhat.com>
6188 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6189 auto-connect-native-target off".
6190 * gdb.base/auto-connect-native-target.c: New file.
6191 * gdb.base/auto-connect-native-target.exp: New file.
6193 2014-05-21 Pedro Alves <palves@redhat.com>
6195 * gdb.base/default.exp: Test "target native" instead of "target
6198 2014-05-21 Mark Wielaard <mjw@redhat.com>
6200 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6202 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6204 Fix TLS access for -static -pthread.
6205 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6206 <HAVE_TLS> (thread_function, main): Initialize it.
6207 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6209 <$have_tls != "">: Check TLSVAR.
6211 2014-05-21 Pedro Alves <palves@redhat.com>
6213 * gdb.base/dcache-line-read-error.c: New.
6214 * gdb.base/dcache-line-read-error.exp: New.
6216 2014-05-20 Pedro Alves <palves@redhat.com>
6218 * gdb.base/compare-sections.c: New file.
6219 * gdb.base/compare-sections.exp: New file.
6221 2014-05-20 Pedro Alves <palves@redhat.com>
6223 * gdb.base/break-idempotent.c: New file.
6224 * gdb.base/break-idempotent.exp: New file.
6226 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6228 * gdb.btrace/nohist.exp: New.
6230 2014-05-20 Yao Qi <yao@codesourcery.com>
6232 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6233 gdb.reverse directory and gdb_reverse_timeout exists in board
6235 * README: Document gdb_reverse_timeout.
6237 2014-05-20 Yao Qi <yao@codesourcery.com>
6239 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6240 'test_file_name'. Treat args as a string instead of a list.
6241 (gdb_init): Rename argument 'args' by 'test_file_name'.
6243 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6245 * gdb.arch/powerpc-power.exp: New file.
6246 * gdb.arch/powerpc-power.s: New file.
6248 2014-05-16 Doug Evans <dje@google.com>
6250 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6251 * gdb.base/completion.exp: Check that all expected files exist
6252 before doing file completion.
6254 2014-05-16 Doug Evans <dje@google.com>
6256 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6258 (do_syscall_tests_without_xml): Update.
6260 2014-05-16 Pedro Alves <palves@redhat.com>
6262 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6263 instead of "unknown output after running".
6265 2014-05-16 Yao Qi <yao@codesourcery.com>
6267 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6268 file1.txt from host at the end.
6269 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6271 2014-05-15 Doug Evans <dje@google.com>
6273 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6274 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6275 loading file. Add test for TU lookup.
6277 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6279 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6280 calling "-exec-arguments" or "set args" before running the
6283 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6285 * lib/mi-support.exp (mi_expect_stop): Expect message for
6286 inferiors that exit with non-zero exit code.
6288 2014-05-14 Yao Qi <yao@codesourcery.com>
6290 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6291 match absolute path on remote host.
6292 (test_file_list_exec_source_files): Remove "/" from the
6295 2014-05-14 Yao Qi <yao@codesourcery.com>
6297 * boards/local-remote-host-notty.exp (${board}_file): New
6300 2014-05-07 Kyle McMartin <kyle@redhat.com>
6302 Pushed by Joel Brobecker <brobecker@adacore.com>.
6303 * gdb.arch/aarch64-atomic-inst.c: New file.
6304 * gdb.arch/aarch64-atomic-inst.exp: New file.
6306 2014-05-07 Yao Qi <yao@codesourcery.com>
6308 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6309 in current context" too.
6311 2014-05-05 Keith Seitz <keiths@redhat.com>
6313 * gdb.linespec/ls-dollar.exp: Add test for linespec
6314 file:convenience_variable.
6316 2014-05-05 Yao Qi <yao@codesourcery.com>
6318 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6319 traceframes into tfile and ctf trace files. Read data from
6320 trace file and test collected data.
6321 (gdb_collect_locals_test): Likewise.
6322 (gdb_unavailable_registers_test): Likewise.
6323 (gdb_unavailable_floats): Likewise.
6324 (gdb_collect_globals_test): Likewise.
6325 (top-level): Append "ctf" to trace_file_targets if GDB
6328 2014-05-05 Yao Qi <yao@codesourcery.com>
6330 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6332 (gdb_collect_args_test_1): ... it. New proc.
6333 (gdb_collect_locals_test): Move some code to ...
6334 (gdb_collect_locals_test_1): ... it. New proc.
6335 (gdb_unavailable_registers_test): Move some code to ...
6336 (gdb_unavailable_registers_test_1): ... it. New proc.
6337 (gdb_unavailable_floats): Move some code to ...
6338 (gdb_unavailable_floats_1): ... it. New proc.
6340 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6342 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6343 probes to test for bitness recognition.
6344 * gdb.arch/amd64-stap-optional-prefix.exp
6345 (test_probe_value_without_reg): New procedure.
6346 Add code to test for different kinds of bitness.
6348 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6350 PR breakpoints/16889
6351 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6352 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6354 2014-05-01 Pedro Alves <palves@redhat.com>
6356 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6357 gdb_file_cmd if no file is specified.
6358 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6359 last_loaded_file to set the remote exec-file.
6361 2014-05-01 Pedro Alves <palves@redhat.com>
6363 * boards/local-remote-host.exp: New file.
6365 2014-05-01 Pedro Alves <palves@redhat.com>
6367 * boards/local-remote-host.exp: Rename to ...
6368 * boards/local-remote-host-notty.exp: ... this.
6370 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6372 * gdb.ada/dyn_arrayidx: New testcase.
6374 2014-04-26 Yao Qi <yao@codesourcery.com>
6376 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6377 and compute the length of function main. Save it in
6379 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6380 (top-level): Use gdb_compile to compile objects into
6381 executable and restart GDB. Remove invocation to
6382 prepare_for_testing.
6384 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6385 Pedro Alves <palves@redhat.com>
6388 * gdb.multi/multi-attach.c: New file.
6389 * gdb.multi/multi-attach.exp: New file.
6391 2014-04-25 Pedro Alves <palves@redhat.com>
6393 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6395 (top level): Test that "set remote conditional-breakpoints-packet
6396 off" works as intended.
6397 * gdb.base/dprintf.exp: Test that "set remote
6398 breakpoint-commands-packet off" works as intended.
6399 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6401 (top level): Call it.
6402 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6403 remote fast-tracepoints-packet off" works as intended.
6404 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6405 * lib/gdb.exp (gdb_is_target_remote): ... here.
6407 2014-04-24 David Blaikie <dblaikie@gmail.com>
6409 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6410 ensure clang would not discard them.
6411 * gdb.base/gdbvars.c: Ditto.
6412 * gdb.base/memattr.c: Ditto.
6413 * gdb.base/whatis.c: Ditto.
6414 * gdb.python/py-prettyprint.c: Ditto.
6415 * gdb.trace/actions.c: Ditto.
6416 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6417 ensure clang would not discard it.
6419 2014-04-24 David Blaikie <dblaikie@gmail.com>
6421 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6422 clang to emit the full definition of type required by the test
6423 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6425 2014-04-24 David Blaikie <dblaikie@gmail.com>
6427 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6428 coax Clang into emitting the definition of the type.
6429 * gdb.cp/pr10728-x.h (y): Ditto.
6430 * gdb.cp/pr10728-y.cc (y): Ditto.
6432 2014-04-24 David Blaikie <dblaikie@gmail.com>
6434 * gdb.base/label.exp: XFAIL label related tests under Clang.
6435 * gdb.cp/cplabel.exp: Ditto.
6436 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6437 under Clang those using labels.
6439 2014-04-25 Yao Qi <yao@codesourcery.com>
6441 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6443 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6444 partial_label and double_label.
6446 2014-04-24 David Blaikie <dblaikie@gmail.com>
6448 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6450 2014-04-24 David Blaikie <dblaikie@gmail.com>
6452 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6453 of the function to work across GCC and Clang.
6454 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6455 pointer types (const void ** const V void **).
6457 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6458 Walfred Tedeschi <walfred.tedeschi@intel.com>
6460 * Makefile.in (EXECUTABLES): Added i386-avx512.
6461 * gdb.arch/i386-avx512.c: New file.
6462 * gdb.arch/i386-avx512.exp: Likewise.
6464 2014-04-23 Keith Seitz <keiths@redhat.com>
6466 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6467 (mi_make_breakpoint_table): New procedure.
6468 (mi_create_breakpoint): Use mi_make_breakpoint
6469 and return the result.
6470 (mi_make_breakpoint): New procedure.
6471 (mi_build_kv_pairs): New procedure.
6473 * gdb.mi/mi-break.exp: Remove unused globals,
6474 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6475 All callers updated.
6476 * gdb.mi/mi-dprintf.exp: Use variable to track command
6478 Update all callers of mi_create_breakpoint and use
6479 mi_make_breakpoint_table.
6480 Remove any unused global variables.
6481 * gdb.mi/mi-nonstop.exp: Likewise.
6482 * gdb.mi/mi-nsintrall.exp: Likewise.
6483 * gdb.mi/mi-nsmoribund.exp: Likewise.
6484 * gdb.mi/mi-nsthrexec.exp: Likewise.
6485 * gdb.mi/mi-reverse.exp: Likewise.
6486 * gdb.mi/mi-simplerun.exp: Likewise.
6487 * gdb.mi/mi-stepn.exp: Likewise.
6488 * gdb.mi/mi-syn-frame.exp: Likewise.
6489 * gdb.mi/mi-until.exp: Likewise.
6490 * gdb.mi/mi-var-cp.exp: Likewise.
6491 * gdb.mi/mi-var-display.exp: Likewise.
6492 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6493 * gdb.mi/mi2-var-child.exp: Likewise.
6494 * gdb.mi/mi-vla-c99.exp: Likewise.
6495 * lib/mi-support.exp: Likewise.
6497 From Ian Lance Taylor <iant@cygnus.com>:
6498 * lib/gdb.exp (parse_args): New procedure.
6500 2014-04-23 Pedro Alves <palves@redhat.com>
6502 * gdb.base/break-unload-file.c: New file.
6503 * gdb.base/break-unload-file.exp: New file.
6504 * gdb.base/sym-file-lib.c (baz): New function.
6505 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6507 (load): Store the segment's mapped size.
6508 (unload): New function.
6509 (unload_shlib): New function.
6510 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6511 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6512 set a breakpoint at baz, and call it.
6513 * gdb.base/sym-file.exp: New tests for stale breakpoint
6516 2014-04-23 Pedro Alves <palves@redhat.com>
6518 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6519 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6520 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6521 * gdb.base/hbreak-unmapped.c: New file.
6522 * gdb.base/hbreak-unmapped.exp: New file.
6523 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6524 * lib/gdb.exp (gdb_is_target_remote): ... here.
6526 2014-04-22 Pedro Alves <palves@redhat.com>
6528 * gdb.base/consecutive-step-over.c: New file.
6529 * gdb.base/consecutive-step-over.exp: New file.
6531 2014-04-22 Pedro Alves <palves@redhat.com>
6533 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6534 instead of send_gdb/gdb_expect.
6536 2014-04-22 Yao Qi <yao@codesourcery.com>
6538 * lib/trace-support.exp (generate_tracefile): New procedure.
6539 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6541 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6542 if generate_tracefile returns 1.
6544 2014-04-18 Tom Tromey <palves@redhat.com>
6545 Pedro alves <tromey@redhat.com>
6548 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6549 with a backtrace limit.
6550 * gdb.python/py-frame-inline.exp: Test running to an inline
6551 function with a backtrace limit, and printing the newest frame.
6552 * gdb.python/py-frame-inline.c (main): Call f.
6554 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6556 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6558 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6560 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6561 Drop prefix from unsupported source file path.
6563 2014-04-17 Yao Qi <yao@codesourcery.com>
6565 * lib/gdb.exp (with_target_charset): New proc.
6566 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6567 with_target_charset.
6568 (test_print_strings): Likewise.
6569 (test_repeat_bytes): Likewise.
6570 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6573 2014-04-16 Keith Seitz <keiths@redhat.com>
6576 * gdb.dwarf2/corrupt.c: New file.
6577 * gdb.dwarf2/corrupt.exp: New file.
6579 2014-04-16 Keith Seitz <keiths@redhat.com>
6582 * gdb.cp/namelessclass.cc: New file.
6583 * gdb.cp/namelessclass.exp: New file.
6584 * gdb.cp/namelessclass.S: New file.
6586 2014-04-16 Doug Evans <dje@google.com>
6588 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6590 (gdbserver_default_get_comm_port): New function.
6591 (gdbserver_start): Check if board file provided
6592 "gdbserver,get_comm_port" and use it if so.
6593 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6594 (gdb,socketport): Set to "stdio".
6595 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6596 (stdio_gdbserver_template): Delete.
6597 (${board}_get_remote_address): Update.
6598 (${board}_build_remote_cmd): Delete.
6599 (${board}_get_comm_port): New function.
6600 (${board}_spawn): Update.
6601 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6603 (${board}_get_remote_address): Update.
6604 (${board}_get_comm_port): New function.
6606 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6608 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6609 appearing in any order.
6611 2014-04-15 Doug Evans <dje@google.com>
6613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6614 uninitialized value of "description".
6616 2014-04-15 Keith Seitz <keiths@redhat.com>
6618 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6619 Remove unused globals.
6620 (test_running_the_program): Likewise.
6621 (test_controlled_execution): Likewise.
6622 (test_controlling_breakpoints): Likewise.
6623 (test_program_termination): Likewise.
6625 2014-04-15 Keith Seitz <keiths@redhat.com>
6627 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6629 (test_rbreak_creation_and_listing): Likewise.
6630 (test_ignore_count): Likewise.
6631 (test_error): Likewise.
6633 2014-04-15 Pedro Alves <palves@redhat.com>
6635 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6636 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6638 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6639 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6640 to sym-file-loader.c.
6641 (struct library): Forward declare.
6642 (load_shlib, lookup_function): Change prototypes.
6643 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6644 (translate_offset): Remove declarations.
6645 (get_text_addr): New declaration.
6646 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6647 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6649 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6650 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6651 here from sym-file-loader.h.
6652 (struct library): New structure.
6653 (load_shlib, lookup_function): Change prototypes and adjust to
6654 work with a struct library.
6655 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6656 (translate_offset): Make static.
6657 (get_text_addr): New function.
6658 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6660 2014-04-15 Pedro Alves <palves@redhat.com>
6662 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6664 2014-04-15 Pedro Alves <palves@redhat.com>
6666 * gdb.base/sym-file-loader.c: Include <limits.h>.
6667 (SELF_LINK): New define.
6668 (get_origin): New function.
6669 (load_shlib): Use it.
6670 * gdb.base/sym-file.exp: Don't early return if the target is
6671 remote. Use runto_main, and issue fail is that fails. Use
6673 (shlib_name): Delete.
6674 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6676 2014-04-15 Pedro Alves <palves@redhat.com>
6678 * gdb.base/sym-file.exp: Remove regex characters from test
6679 message. Don't refer to breakpoint numbers in test messages.
6681 2014-04-14 Keith Seitz <keiths@redhat.com>
6684 * gdb.cp/var-tag.cc: New file.
6685 * gdb.cp/var-tag.exp: New file.
6686 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6687 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6688 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6689 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6691 2014-04-14 Tom Tromey <tromey@redhat.com>
6693 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6694 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6696 * gdb.cp/enum-class.exp: New file.
6697 * gdb.cp/enum-class.cc: New file.
6699 2014-04-14 Tom Tromey <tromey@redhat.com>
6701 * gdb.dwarf2/enum-type.exp: New file.
6703 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6705 * gdb.mi/mi-vla-c99.exp: New file.
6706 * gdb.mi/vla.c: New file.
6708 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6710 * gdb.base/vla-datatypes.c: New file.
6711 * gdb.base/vla-datatypes.exp: New file.
6713 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6715 * gdb.base/vla-ptr.c: New file.
6716 * gdb.base/vla-ptr.exp: New file.
6718 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6720 * gdb.dwarf2/count.exp: New file.
6722 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6724 * gdb.base/vla-sideeffect.c: New file.
6725 * gdb.base/vla-sideeffect.exp: New file.
6727 2014-04-14 David Blaikie <dblaikie@gmail.com>
6729 * gdb.mi/non-stop.c: Add return value for non-void function return
6731 * gdb.threads/staticthreads.c: Ditto.
6733 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6734 Doug Evans <xdje42@gmail.com>
6736 * gdb.guile/scm-value.c: Improve test case.
6737 * gdb.guile/scm-value.exp: Add new test.
6739 2014-04-11 David Blaikie <dblaikie@gmail.com>
6741 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6742 override Clang's default.
6744 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6746 Revert the following changes (regressions):
6748 * gdb.base/vla-sideeffect.c: New file.
6749 * gdb.base/vla-sideeffect.exp: New file.
6751 * gdb.dwarf2/count.exp: New file.
6753 * gdb.base/vla-multi.c: New file.
6754 * gdb.base/vla-multi.exp: New file.
6756 * gdb.base/vla-ptr.c: New file.
6757 * gdb.base/vla-ptr.exp: New file.
6759 * gdb.base/vla-datatypes.c: New file.
6760 * gdb.base/vla-datatypes.exp: New file.
6762 * gdb.mi/mi-vla-c99.exp: New file.
6763 * gdb.mi/vla.c: New file.
6765 2014-04-11 Keith Seitz <keiths@redhat.com>
6768 * gdb.cp/cpsizeof.exp: New file.
6769 * gdb.cp/cpsizeof.cc: New file.
6771 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6773 * gdb.mi/mi-vla-c99.exp: New file.
6774 * gdb.mi/vla.c: New file.
6776 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6778 * gdb.base/vla-datatypes.c: New file.
6779 * gdb.base/vla-datatypes.exp: New file.
6781 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6783 * gdb.base/vla-ptr.c: New file.
6784 * gdb.base/vla-ptr.exp: New file.
6786 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6788 * gdb.base/vla-multi.c: New file.
6789 * gdb.base/vla-multi.exp: New file.
6791 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6793 * gdb.dwarf2/count.exp: New file.
6795 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6797 * gdb.base/vla-sideeffect.c: New file.
6798 * gdb.base/vla-sideeffect.exp: New file.
6800 2014-04-11 Yao Qi <yao@codesourcery.com>
6802 * gdb.base/completion.exp: Check file exists before running tests
6805 2014-04-10 Pedro Alves <palves@redhat.com>
6807 * gdb.base/cond-eval-mode.c: New file.
6808 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6809 prepare_for_testing to build the new file. Check result of
6811 (test_break, test_watch): New procedures.
6812 (top level): Use them.
6814 2014-04-08 Pierre Muller <muller@sourceware.org>
6816 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6817 Ctrl-V use for mingw hosts.
6819 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6821 * gdb.python/py-value.c: Improve test case.
6822 * gdb.python/py-value.exp: Add new test.
6824 2014-04-07 David Blaikie <dblaikie@gmail.com>
6826 * lib/compiler.c: Identify the clang compiler.
6827 * lib/compiler.cc: Ditto.
6829 2014-04-03 Yao Qi <yao@codesourcery.com>
6831 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6833 2014-04-01 Anton Blanchard <anton@samba.org>
6835 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6838 2014-04-01 Anton Blanchard <anton@samba.org>
6840 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6841 prepare_for_testing.
6843 2014-04-01 Anton Blanchard <anton@samba.org>
6845 * gdb.arch/ppc64-atomic-inst.c: Remove.
6846 * gdb.arch/ppc64-atomic-inst.S: New file.
6847 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6849 2014-03-31 Doug Evans <dje@google.com>
6851 * gdb.base/print-symbol-loading-lib.c: New file.
6852 * gdb.base/print-symbol-loading-main.c: New file.
6853 * gdb.base/print-symbol-loading.exp: New file.
6855 2014-03-31 Yao Qi <yao@codesourcery.com>
6857 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6859 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6861 * gdb.ada/mi_dyn_arr: New testcase.
6863 2014-03-27 Doug Evans <dje@google.com>
6865 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6867 2014-03-27 Yao Qi <yao@codesourcery.com>
6869 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6870 if target is nios2-*-*.
6872 2014-03-26 Yao Qi <yao@codesourcery.com>
6874 * lib/gdb.exp (readline_is_used): New proc.
6875 * gdb.base/completion.exp: Move tests on command complete up.
6876 Skip the rest of tests if readline is not used.
6877 * gdb.ada/complete.exp: Skp the test if readline is not
6879 * gdb.base/filesym.exp: Likewise.
6880 * gdb.base/macscp.exp: Likewise.
6881 * gdb.base/readline-ask.exp: Likewise.
6882 * gdb.base/readline.exp: Likewise.
6883 * gdb.python/py-cmd.exp: Likewise.
6884 * gdb.trace/tfile.exp: Likewise.
6886 2014-03-26 Yao Qi <yao@codesourcery.com>
6888 * gdb.base/macscp.exp: Fix code format issues.
6890 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6892 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6893 * gdb.asm/powerpc64le.inc: New file.
6895 2014-03-25 Pedro Alves <palves@redhat.com>
6896 Doug Evans <dje@google.com>
6898 * gdb.base/source-execution.c: New file.
6899 * gdb.base/source-execution.exp: New file.
6900 * gdb.base/source-execution.gdb: New file.
6902 2014-03-24 Doug Evans <dje@google.com>
6904 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6907 2014-03-24 Hui Zhu <hui@codesourcery.com>
6908 Pedro Alves <palves@redhat.com>
6910 PR breakpoints/16101
6911 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6912 test pass/fail messages. Detect missing support for dprintf when
6913 breakpoints are actually inserted.
6914 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6915 breakpoints are actually inserted.
6916 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6919 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6921 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6923 2014-03-22 Doug Evans <xdje42@gmail.com>
6925 * gdb.python/python.exp (python not supported): Verify multi-line
6926 python command issues an error.
6927 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6928 guile command issues an error.
6930 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6932 * gdb.threads/thread-specific.exp: Handle the lack of usable
6933 $this_breakpoint and $this_thread.
6935 2014-03-21 Hui Zhu <hui@codesourcery.com>
6937 * gdb.base/attach.exp (do_command_attach_tests): New.
6939 2014-03-20 Tom Tromey <tromey@redhat.com>
6940 Pedro Alves <palves@redhat.com>
6943 * gdb.base/condbreak-call-false.c: New file.
6944 * gdb.base/condbreak-call-false.exp: New file.
6946 2014-03-20 Pedro Alves <palves@redhat.com>
6948 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6950 (block_signals, unblock_signals): Delete.
6951 (child_function_2, main): Remove references to deleted variable
6954 2014-03-20 Pedro Alves <palves@redhat.com>
6956 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6957 Use pthread_kill to signal thread 2.
6958 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6959 Adjust to make the test send itself a signal rather than using the
6960 host's "kill" command.
6962 2014-03-20 Pedro Alves <palves@redhat.com>
6964 * gdb.threads/multiple-step-overs.c: New file.
6965 * gdb.threads/multiple-step-overs.exp: New file.
6966 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6967 Adjust expected infrun debug output.
6969 2014-03-20 Pedro Alves <palves@redhat.com>
6971 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6972 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6974 2014-03-20 Pedro Alves <palves@redhat.com>
6977 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6978 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6979 of gdb_test_multiple.
6980 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6981 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6983 2014-03-20 Pedro Alves <palves@redhat.com>
6985 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6986 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6988 2014-03-19 Pedro Alves <palves@redhat.com>
6990 * gdb.base/async.exp: Remove early return.
6992 2014-03-19 Pedro Alves <palves@redhat.com>
6994 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6996 2014-03-19 Pedro Alves <palves@redhat.com>
6998 * gdb.base/async.exp (test_background): Expect \r\n after
6999 "completed." in the fail pattern.
7001 2014-03-19 Pedro Alves <palves@redhat.com>
7003 * gdb.base/async.exp (test_background): New procedure.
7004 Use it for all background execution command tests.
7006 2014-03-19 Pedro Alves <palves@redhat.com>
7008 * gdb.base/async.exp: Use prepare_for_testing.
7010 2014-03-19 Pedro Alves <palves@redhat.com>
7012 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7015 2014-03-19 Pedro Alves <palves@redhat.com>
7017 * gdb.base/async.c (main): Add "jump here" and "until here" line
7019 * gdb.base/async.exp (jump_here): New global.
7020 (jump& test): Use it.
7021 (until_here): New global.
7022 (until& test): Use it.
7024 2014-03-19 Pedro Alves <palves@redhat.com>
7026 * gdb.base/async.exp: Don't frob gdb_protocol.
7028 2014-03-18 Doug Evans <xdje42@gmail.com>
7030 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7031 Fix spelling of exec-done-display.
7033 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7036 * gdb.base/gdb-sigterm.c: New file.
7037 * gdb.base/gdb-sigterm.exp: New file.
7039 2014-03-18 Pedro Alves <palves@redhat.com>
7042 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7043 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7046 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7048 * gdb.ada/pckd_arr_ren: New testcase.
7050 2014-03-13 Doug Evans <xdje42@gmail.com>
7053 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7054 collect after discarding symbols.
7056 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7057 Doug Evans <xdje42@gmail.com>
7059 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7060 to history survives a gc.
7062 2014-03-13 Pedro Alves <palves@redhat.com>
7064 * gdb.base/default.exp: Don't test "target procfs".
7066 2014-03-13 Pedro Alves <palves@redhat.com>
7068 * gdb.base/default.exp: Update "target child" and "target procfs"
7069 tests to not expect "Unix".
7071 2014-03-12 Tom Tromey <tromey@redhat.com>
7073 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7074 New procs. Add target-async tests.
7075 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7076 Add target-async tests.
7078 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7080 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7081 'func_start' and 'func_end' for the beginning and end of the
7082 function code, respectively.
7083 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7084 'func_end' instead of 'func' and 'main'.
7086 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7088 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7089 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7090 generate the debug info assembler source.
7092 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7095 * gdb.dwarf2/arr-subrange.exp: Likewise.
7096 * gdb.dwarf2/dwz.exp: Likewise.
7097 * gdb.dwarf2/method-ptr.exp: Likewise.
7098 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7099 * gdb.dwarf2/subrange.exp: Likewise.
7100 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7101 * gdb.dwarf2/implptrpiece.exp: Likewise.
7102 * gdb.dwarf2/nostaticblock.exp: Likewise.
7104 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7106 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7107 directory to absolute path name arguments.
7109 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7111 * gdb.ada/tagged_access: New testcase.
7113 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7115 * gdb.btrace/data.exp: Update expected output.
7117 2014-03-06 Yao Qi <yao@codesourcery.com>
7119 * gdb.trace/pr16508.exp: New file.
7121 2014-03-05 Pedro Alves <palves@redhat.com>
7124 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7126 (top level): Adjust to use it. Add tests that exercise breakpoint
7127 interaction with the code-cache.
7129 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7131 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7132 test for 'history-append!'.
7134 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7136 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7137 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7138 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7139 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7140 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7141 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7143 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7145 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7146 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7147 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7149 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7151 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7153 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7155 * gdb.dwarf2/arr-stride.c: New file.
7156 * gdb.dwarf2/arr-stride.exp: New file.
7158 2014-02-26 Pedro Alves <palves@redhat.com>
7160 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7161 that won't ever trigger. Make sure that GDB reports the correct
7162 breakpoint that caused the stop.
7164 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7167 * gdb.base/auto-load-script: New file.
7168 * gdb.base/auto-load.c: New file.
7169 * gdb.base/auto-load.exp: New file.
7172 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7174 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7176 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7177 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7179 2014-02-24 Doug Evans <dje@google.com>
7181 * lib/gdb.exp (run_on_host): Log error output if program fails.
7183 2014-02-21 Pedro Alves <palves@redhat.com>
7185 * gdb.threads/step-after-sr-lock.c: Rename to ...
7186 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7187 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7188 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7191 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7194 * gdb.arch/amd64-stap-special-operands.exp: New file.
7195 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7196 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7197 * gdb.arch/amd64-stap-triplet.S: Likewise.
7198 * gdb.arch/amd64-stap-triplet.c: Likewise.
7200 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7202 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7203 in .section pseudo-op.
7205 2014-02-20 lin zuojian <manjian2006@gmail.com>
7206 Joel Brobecker <brobecker@adacore.com>
7207 Doug Evans <xdje42@gmail.com>
7210 * gdb.dwarf2/dw2-icycle.S: New file.
7211 * gdb.dwarf2/dw2-icycle.c: New file.
7212 * gdb.dwarf2/dw2-icycle.exp: New file.
7214 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7216 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7217 operations on gdb.Value objects.
7218 * gdb.python/py-value-cc.exp: Add new test to test operations on
7221 2014-02-18 Doug Evans <dje@google.com>
7223 * Makefile.in (TESTS): New variable.
7224 (expanded_tests, expanded_tests_or_none): New variables
7225 (check-single): Pass $(expanded_tests_or_none) to runtest.
7226 (check-parallel): Only run tests in $(TESTS) if non-empty.
7227 (check/no-matching-tests-found): New rule.
7228 * README: Document TESTS makefile variable.
7230 2014-02-18 Doug Evans <dje@google.com>
7232 * Makefile.in (check-parallel): rm -rf outputs temp.
7234 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7236 Fix "ERROR: no fileid for" in the testsuite.
7237 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7239 2014-02-12 Doug Evans <dje@google.com>
7241 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7242 (MISCELLANEOUS): New variable.
7243 (clean): rm -rf $(MISCELLANEOUS).
7244 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7245 dwp live in the same directory as symlinks, with each symlink pointed
7246 to a differently named file in a different directory.
7248 2014-02-11 Doug Evans <dje@google.com>
7250 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7251 of Tcl file commands.
7253 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7255 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7258 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7260 * gdb.ada/tick_length_array_enum_idx: New testcase.
7262 2014-02-10 Doug Evans <xdje42@gmail.com>
7264 * configure.ac (AC_OUTPUT): Add gdb.guile.
7265 * configure: Regenerate.
7266 * lib/gdb-guile.exp: New file.
7267 * lib/gdb.exp (get_target_charset): New function.
7268 * gdb.base/help.exp: Update expected output from "apropos apropos".
7269 * gdb.guile/Makefile.in: New file.
7270 * gdb.guile/guile.exp: New file.
7271 * gdb.guile/scm-arch.c: New file.
7272 * gdb.guile/scm-arch.exp: New file.
7273 * gdb.guile/scm-block.c: New file.
7274 * gdb.guile/scm-block.exp: New file.
7275 * gdb.guile/scm-breakpoint.c: New file.
7276 * gdb.guile/scm-breakpoint.exp: New file.
7277 * gdb.guile/scm-disasm.c: New file.
7278 * gdb.guile/scm-disasm.exp: New file.
7279 * gdb.guile/scm-equal.c: New file.
7280 * gdb.guile/scm-equal.exp: New file.
7281 * gdb.guile/scm-error.exp: New file.
7282 * gdb.guile/scm-error.scm: New file.
7283 * gdb.guile/scm-frame-args.c: New file.
7284 * gdb.guile/scm-frame-args.exp: New file.
7285 * gdb.guile/scm-frame-args.scm: New file.
7286 * gdb.guile/scm-frame-inline.c: New file.
7287 * gdb.guile/scm-frame-inline.exp: New file.
7288 * gdb.guile/scm-frame.c: New file.
7289 * gdb.guile/scm-frame.exp: New file.
7290 * gdb.guile/scm-generics.exp: New file.
7291 * gdb.guile/scm-gsmob.exp: New file.
7292 * gdb.guile/scm-iterator.c: New file.
7293 * gdb.guile/scm-iterator.exp: New file.
7294 * gdb.guile/scm-math.c: New file.
7295 * gdb.guile/scm-math.exp: New file.
7296 * gdb.guile/scm-objfile-script-gdb.in: New file.
7297 * gdb.guile/scm-objfile-script.c: New file.
7298 * gdb.guile/scm-objfile-script.exp: New file.
7299 * gdb.guile/scm-objfile.c: New file.
7300 * gdb.guile/scm-objfile.exp: New file.
7301 * gdb.guile/scm-ports.exp: New file.
7302 * gdb.guile/scm-pretty-print.c: New file.
7303 * gdb.guile/scm-pretty-print.exp: New file.
7304 * gdb.guile/scm-pretty-print.scm: New file.
7305 * gdb.guile/scm-section-script.c: New file.
7306 * gdb.guile/scm-section-script.exp: New file.
7307 * gdb.guile/scm-section-script.scm: New file.
7308 * gdb.guile/scm-symbol.c: New file.
7309 * gdb.guile/scm-symbol.exp: New file.
7310 * gdb.guile/scm-symtab-2.c: New file.
7311 * gdb.guile/scm-symtab.c: New file.
7312 * gdb.guile/scm-symtab.exp: New file.
7313 * gdb.guile/scm-type.c: New file.
7314 * gdb.guile/scm-type.exp: New file.
7315 * gdb.guile/scm-value-cc.cc: New file.
7316 * gdb.guile/scm-value-cc.exp: New file.
7317 * gdb.guile/scm-value.c: New file.
7318 * gdb.guile/scm-value.exp: New file.
7319 * gdb.guile/source2.scm: New file.
7320 * gdb.guile/types-module.cc: New file.
7321 * gdb.guile/types-module.exp: New file.
7323 2014-02-10 Yao Qi <yao@codesourcery.com>
7326 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7327 * configure: Regenerated.
7328 * Makefile.in: New file.
7330 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7332 * gdb.python/py-framefilter.exp: Fix typo.
7334 2014-02-08 Yao Qi <yao@codesourcery.com>
7336 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7337 that no =breakpoint-modified is emitted when breakpoints are
7338 modified through MI commands.
7340 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7341 Pedro Alves <palves@redhat.com>
7343 * gdb.threads/step-after-sr-lock.c: New file.
7344 * gdb.threads/step-after-sr-lock.exp: New file.
7346 2014-02-07 Pedro Alves <palves@redhat.com>
7348 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7350 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7352 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7353 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7355 2014-02-06 Doug Evans <xdje42@gmail.com>
7357 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7360 * gdb.gdb/python-interrupts.exp: New file.
7362 2014-02-05 Yao Qi <yao@codesourcery.com>
7364 * gdb.trace/report.exp (use_collected_data): Test the output
7365 of "info threads" and "info inferiors".
7367 2014-02-05 Yao Qi <yao@codesourcery.com>
7371 2013-05-24 Yao Qi <yao@codesourcery.com>
7373 * gdb.trace/tfile.exp: Test inferior and thread.
7375 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7377 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7379 * gdb.base/step-bt.c: Call hello via function pointer to make
7380 sure its first instruction is executed on powerpc64le-linux.
7382 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7384 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7386 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7388 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7389 of the test patterns for use on little-endian systems.
7391 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7393 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7394 (decimal_vector): Fix for little-endian.
7396 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7398 * gdb.arch/sparc-sysstep.exp: New file.
7399 * gdb.arch/sparc-sysstep.c: Likewise.
7401 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7403 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7405 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7407 2014-01-23 Tom Tromey <tromey@redhat.com>
7409 * gdb.ada/array_char_idx: New testcase.
7411 2014-01-23 Tom Tromey <tromey@redhat.com>
7414 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7415 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7418 2014-01-23 Tom Tromey <tromey@redhat.com>
7421 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7422 string from an inferior frame.
7423 * gdb.python/py-framefilter-mi.exp: Update.
7425 2014-01-22 Doug Evans <dje@google.com>
7427 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7429 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7431 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7433 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7435 * gdb.trace/entry-values.exp: Remove excess space character from
7436 regex patterns. Handle s390 call instruction.
7438 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7440 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7441 define "*_start" label. Make "name" static.
7442 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7443 ${name} by references to ${name}_start.
7445 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7447 * gdb.base/info-macros.exp: Remove "debug" from the compile
7450 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7452 * gdb.dlang/demangle.exp: New file.
7454 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7456 * gdb.dlang/primitive-types.exp: New file.
7458 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7460 * configure.ac: Create gdb.dlang/Makefile.
7461 * configure: Regenerate.
7462 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7463 * gdb.dlang/Makefile.in: New file.
7464 * lib/d-support.exp: New file.
7465 * lib/gdb.exp (skip_d_tests): New proc.
7467 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7469 * gdb.btrace/delta.exp: Check reverse stepi.
7470 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7471 * gdb.btrace/finish.exp: New.
7472 * gdb.btrace/next.exp: New.
7473 * gdb.btrace/nexti.exp: New.
7474 * gdb.btrace/record_goto.c: Add comments.
7475 * gdb.btrace/step.exp: New.
7476 * gdb.btrace/stepi.exp: New.
7477 * gdb.btrace/multi-thread-step.c: New.
7478 * gdb.btrace/multi-thread-step.exp: New.
7479 * gdb.btrace/rn-dl-bind.c: New.
7480 * gdb.btrace/rn-dl-bind.exp: New.
7481 * gdb.btrace/data.c: New.
7482 * gdb.btrace/data.exp: New.
7483 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7485 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7487 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7488 * gdb.btrace/exception.exp: Update.
7489 * gdb.btrace/instruction_history.exp: Update.
7490 * gdb.btrace/record_goto.exp: Update.
7491 * gdb.btrace/tailcall.exp: Update.
7492 * gdb.btrace/unknown_functions.exp: Update.
7493 * gdb.btrace/delta.exp: New.
7495 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7497 * gdb.btrace/record_goto.exp: Add backtrace test.
7498 * gdb.btrace/tailcall.exp: Add backtrace test.
7500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7502 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7503 * gdb.btrace/record_goto.c: New.
7504 * gdb.btrace/record_goto.exp: New.
7505 * gdb.btrace/x86-record_goto.S: New.
7507 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7509 * gdb.btrace/function_call_history.exp: Update tests.
7510 * gdb.btrace/instruction_history.exp: Update tests.
7512 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7514 * gdb.btrace/function_call_history.exp: Fix expected field
7515 order for "record function-call-history".
7516 Add new tests for "record function-call-history /c".
7517 * gdb.btrace/exception.cc: New.
7518 * gdb.btrace/exception.exp: New.
7519 * gdb.btrace/tailcall.exp: New.
7520 * gdb.btrace/x86-tailcall.S: New.
7521 * gdb.btrace/x86-tailcall.c: New.
7522 * gdb.btrace/unknown_functions.c: New.
7523 * gdb.btrace/unknown_functions.exp: New.
7524 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7528 * gdb.btrace/instruction_history.exp: Update.
7529 * gdb.btrace/function_call_history.exp: Update.
7531 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7533 * gdb.btrace/function_call_history.exp: Fix expected function
7535 * gdb.btrace/instruction_history.exp: Initialize traced.
7536 Remove traced_functions.
7538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7540 * gdb.btrace/function_call_history.exp: Update
7541 * gdb.btrace/instruction_history.exp: Update.
7543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7545 * gdb.btrace/enable.exp: Update expected text.
7547 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7549 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7552 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7554 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7556 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7558 * lib/gdb.exp (supports_process_record): Return true for
7559 arm*-linux*. (supports_reverse): Likewise.
7561 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7565 * gdb.python/py-type.c: Enhance test case.
7566 * gdb.python/py-value-cc.cc: Likewise
7567 * gdb.python/py-type.exp: Add new tests.
7568 * gdb.python/py-value-cc.exp: Likewise
7570 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7571 Pedro Alves <palves@redhat.com>
7573 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7575 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7576 references to ${name}_start by references to ${name}.
7578 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7580 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7582 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7584 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7586 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7587 Pedro Alves <palves@redhat.com>
7589 * gdb.mi/mi-info-os.exp: Connect to the target with
7592 2014-01-08 Pedro Alves <palves@redhat.com>
7594 * gdb.threads/reconnect-signal.c: New file.
7595 * gdb.threads/reconnect-signal.exp: New file.
7597 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7599 * gdb.base/source-dir.exp: New file.
7601 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7603 * gdb.ada/mi_interface: New testcase.
7605 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7607 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7608 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7609 gdb.ada/pp-rec-component/pck.ads: New files.
7611 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7613 * gdb.python/py-pp-integral.c: New file.
7614 * gdb.python/py-pp-integral.py: New file.
7615 * gdb.python/py-pp-integral.exp: New file.
7617 For older changes see ChangeLog-1993-2013.
7623 ;; version-control: never
7626 Copyright 2014-2016 Free Software Foundation, Inc.
7627 Copying and distribution of this file, with or without modification,
7628 are permitted provided the copyright notice and this notice are preserved.