1 2016-03-03 Yao Qi <yao.qi@linaro.org>
3 * gdb.base/disp-step-fork.c: Rename to ...
4 * gdb.base/step-over-fork.c: ... it. New file.
5 * gdb.base/disp-step-vfork.c: Rename to ...
6 * gdb.base/step-over-vfork.c: ... it. New file.
7 * gdb.base/disp-step-syscall.exp: Rename to ...
8 * gdb.base/step-over-syscall.exp: ... it. New file.
9 (disp_step_cross_syscall): Rename to ...
10 (step_over_syscall): ... it.
12 2016-03-03 Yao Qi <yao.qi@linaro.org>
14 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15 If target supports condition evaluation on target, invoke
16 break_cond_on_syscall for fork and vfork.
18 2016-03-03 Yao Qi <yao.qi@linaro.org>
20 * gdb.base/disp-step-syscall.exp: Don't invoke
21 support_displaced_stepping.
22 (disp_step_cross_syscall): Test with displaced stepping off and
25 2016-03-03 Yao Qi <yao.qi@linaro.org>
27 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
30 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
33 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
35 * gdb.fortran/vla-history.exp: Remove breakpoint.
37 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
39 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
41 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
43 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
45 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
47 * gdb.mi/vla.f90: Nullify pointer after declaration.
49 2016-03-01 Pedro Alves <palves@redhat.com>
51 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
53 2016-03-01 Pedro Alves <palves@redhat.com>
55 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
57 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
59 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
61 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
63 2016-03-01 Pedro Alves <palves@redhat.com>
65 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
67 2016-03-01 Yao Qi <yao.qi@linaro.org>
69 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
72 2016-03-01 Yao Qi <yao.qi@linaro.org>
74 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
76 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
78 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
79 manually constructing the output path.
81 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
83 * gdb.arch/s390-stackless.S: New.
84 * gdb.arch/s390-stackless.exp: New.
86 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
88 * gdb.dlang/circular.c: New file.
89 * gdb.dlang/circular.exp: New file.
91 2016-02-26 Yao Qi <yao.qi@linaro.org>
93 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
94 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
97 2016-02-26 Yao Qi <yao.qi@linaro.org>
99 * gdb.reverse/aarch64.c: Rename to ...
100 * gdb.reverse/insn-reverse.c: ... it.
101 * gdb.reverse/aarch64.exp: Rename to ...
102 * gdb.reverse/insn-reverse.exp: ... it.
104 2016-02-26 Yao Qi <yao.qi@linaro.org>
106 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
107 (testcase_ftype): New.
108 (testcases): New array.
110 (main): Call each element in testcases.
111 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
112 (read_testcase): New.
113 Do the tests in a loop.
115 2016-02-25 Yao Qi <yao.qi@linaro.org>
117 * gdb.base/branches.c: Remove.
119 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
122 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
124 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
126 * gdb.trace/ftrace.exp: Remove unnecessary target check.
128 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
130 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
131 change x86_64 call_insn to 'callq'.
133 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
135 * gdb.trace/tfile-avx.c: Move to...
136 * gdb.trace/tracefile-pseudo-reg.c: Here.
137 * gdb.trace/tfile-avx.exp: Move to...
138 * gdb.trace/tracefile-pseudo-reg.exp: Here.
140 2016-02-24 Gary Benson <gbenson@redhat.com>
142 * gdb.base/attach-pie-noexec.exp: Do not expect an error
145 2016-02-23 Doug Evans <dje@google.com>
147 * gdb.base/skip.c (test_skip): New function.
148 (end_test_skip_file_and_function): New function.
149 (test_skip_file_and_function): New function.
150 * gdb.base/skip1.c (test_skip): New function.
151 (skip1_test_skip_file_and_function): New function.
152 * gdb.base/skip.exp: Add tests for new skip options.
153 * gdb.base/skip-solib.exp: Update expected output.
154 * gdb.perf/skip-command.cc: New file.
155 * gdb.perf/skip-command.exp: New file.
156 * gdb.perf/skip-command.py: New file.
158 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
160 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
161 info registers pattern.
163 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
165 * lib/future.exp: Add D support.
166 (gdb_find_gdc): New proc.
167 (gdb_default_target_compile): Add D support.
169 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
171 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
173 (trace_speed_test): Determine the iteration count for a time
174 between 15..30 seconds.
176 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
178 * gdb.arch/i386-mpx-sigsegv.c: New file.
179 * gdb.arch/i386-mpx-sigsegv.exp: New file.
180 * gdb.arch/i386-mpx-simple_segv.c: New file.
181 * gdb.arch/i386-mpx-simple_segv.exp: New file.
183 2016-02-18 Yao Qi <yao.qi@linaro.org>
185 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
186 Don't call setup_kfail.
188 2016-02-18 Yao Qi <yao.qi@linaro.org>
190 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
191 Set "set breakpoint condition-evaluation" per $cond_bp_target.
193 2016-02-16 Doug Evans <dje@google.com>
195 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
196 * gdb.base/skip1.c: Ditto.
197 * gdb.base/skip.exp: Whitespace cleanup.
199 2016-02-16 Don Breazeal <donb@codesourcery.com>
202 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
203 Remove kfail for PR remote/19496.
205 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
207 * lib/gdb.exp (standard_temp_file): Return a path specific to
208 the runtest invocation.
210 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
212 * gdb.trace/save-trace.exp: Change relative path to be in the
213 standard output directory.
215 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
217 * gdb.arch/i386-prologue.c: Add missing prototypes.
219 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
221 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
222 * gdb.arch/i386-prologue.exp: Likewise.
223 * gdb.arch/i386-size.exp: Likewise.
225 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
227 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
228 define object file path.
229 * gdb.btrace/gcore.exp: Use standard_output_file to define core
231 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
232 standard_output_file to define binfile.
234 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
236 Fix compatibility with recent gfortran-5.3.1.
237 * gdb.fortran/vla-history.exp (print vla1 allocated)
238 (print vla2 allocated, print $2, print $3): Remove
239 (print $4): Rename to ...
240 (print $2): ... here.
241 (print $9): Rename to ...
242 (print $5): ... here.
243 (print $10): Rename to ...
244 (print $6): ... here.
245 * gdb.fortran/vla.f90: Add pvla initialization.
247 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
249 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
251 * gdb.fortran/vla-value-sub.exp: Likewise.
253 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
255 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
257 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
259 * i386-biarch-core.exp: Define corefile using
260 standard_output_file.
262 2016-02-12 Yao Qi <yao.qi@linaro.org>
264 * gdb.arch/arm-single-step-kernel-helper.c: New.
265 * gdb.arch/arm-single-step-kernel-helper.exp: New.
267 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
269 * gdb.btrace/tailcall-only.exp: New.
270 * gdb.btrace/tailcall-only.c: New.
271 * gdb.btrace/x86_64-tailcall-only.S: New.
272 * gdb.btrace/i686-tailcall-only.S: New.
274 2016-02-11 Pedro Alves <palves@redhat.com>
276 * README (Parallel testing): Add missing double quotes.
278 2016-02-11 Pedro Alves <palves@redhat.com>
280 * README (Parallel testing): New section.
281 (GDB_PARALLEL): Rewrite.
282 (FORCE_PARALLEL): Document.
284 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
286 * gdb.trace/tfile-avx.c: New test.
287 * gdb.trace/tfile-avx.exp: New test.
289 2016-02-09 Keith Seitz <keiths@redhat.com>
292 * gdb.base/infcall-exec.c: New file.
293 * gdb.base/infcall-exec2.c: New file.
294 * gdb.base/infcall-exec.exp: New file.
296 2016-02-09 Keith Seitz <keiths@redhat.com>
298 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
299 (toplevel): Call test_bkpt_address.
301 2016-02-09 Keith Seitz <keiths@redhat.com>
304 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
305 (toplevel): Call test_bkpt_address.
307 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
309 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
311 * configure: Regenerate.
313 2016-02-09 Pedro Alves <palves@redhat.com>
316 * gdb.base/execl-update-breakpoints.c (some_function): New
319 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
320 Tighten expected GDB output.
322 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
324 * Makefile.in (ALL_SUBDIRS): Remove.
325 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
326 (distclean maintainer-clean realclean): Likewise.
327 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
328 * configure: Regenerate.
329 * gdb.ada/Makefile.in: Delete.
330 * gdb.arch/Makefile.in: Likewise.
331 * gdb.asm/Makefile.in: Likewise.
332 * gdb.base/Makefile.in: Likewise.
333 * gdb.btrace/Makefile.in: Likewise.
334 * gdb.cell/Makefile.in: Likewise.
335 * gdb.compile/Makefile.in: Likewise.
336 * gdb.cp/Makefile.in: Likewise.
337 * gdb.disasm/Makefile.in: Likewise.
338 * gdb.dlang/Makefile.in: Likewise.
339 * gdb.dwarf2/Makefile.in: Likewise.
340 * gdb.fortran/Makefile.in: Likewise.
341 * gdb.gdb/Makefile.in: Likewise.
342 * gdb.go/Makefile.in: Likewise.
343 * gdb.guile/Makefile.in: Likewise.
344 * gdb.java/Makefile.in: Likewise.
345 * gdb.linespec/Makefile.in: Likewise.
346 * gdb.mi/Makefile.in: Likewise.
347 * gdb.modula2/Makefile.in: Likewise.
348 * gdb.multi/Makefile.in: Likewise.
349 * gdb.objc/Makefile.in: Likewise.
350 * gdb.opencl/Makefile.in: Likewise.
351 * gdb.opt/Makefile.in: Likewise.
352 * gdb.pascal/Makefile.in: Likewise.
353 * gdb.perf/Makefile.in: Likewise.
354 * gdb.python/Makefile.in: Likewise.
355 * gdb.reverse/Makefile.in: Likewise.
356 * gdb.server/Makefile.in: Likewise.
357 * gdb.stabs/Makefile.in: Likewise.
358 * gdb.threads/Makefile.in: Likewise.
359 * gdb.trace/Makefile.in: Likewise.
360 * gdb.xml/Makefile.in: Likewise.
361 * lib/gdb.exp (make_gdb_parallel_path): Add check for
363 (standard_output_file): Remove check for GDB_PARALLEL, always
364 return path in outputs/$subdir/$testname.
366 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
368 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
369 (site.exp): Assign abs_srcdir to tcl's srcdir.
371 2016-02-04 Yao Qi <yao.qi@linaro.org>
373 * gdb.base/foll-exec-mode.c: Include limits.h.
374 (main): Add parameters argc and argv. Get directory from
376 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
378 * gdb.base/foll-exec.c: Include limits.h.
379 (main): Add parameters argc and argv.
380 Get directory from argv[0].
381 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
382 Adjust tests on the number of lines as source code changed.
383 * gdb.base/foll-vfork-exit.c: Include limits.h.
384 (main): Add one line of statement before vfork.
385 * gdb.base/foll-vfork.c: Include limits.h and string.h.
386 (main): Add parameters argc and argv. Get directory from
388 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
389 (setup_gdb): Set tbreak to skip some source lines.
390 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
391 (main): Add parameters argc and argv. Get directory from
393 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
395 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
396 (main): Add parameters argc and argv. Get directory from
398 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
401 2016-02-01 Doug Evans <dje@google.com>
403 * gdb.base/skip.exp: Clean up multiple references to same test name.
405 2016-02-01 Pedro Alves <palves@redhat.com>
408 * gdb.threads/forking-threads-plus-breakpoint.exp
409 (displaced_stepping_supported): New global.
410 (probe_displaced_stepping_support): New procedure.
411 (do_test): Add 'displaced' parameter, and use it.
412 (top level): Check for displaced stepping support. Add displaced
413 stepping on/off testing axis.
415 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
417 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
418 pointer. Don't perform further tests on the unassociated pointer
419 if the first test fails.
421 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
423 * gdb.base/max-value-size.c: New file.
424 * gdb.base/max-value-size.exp: New file.
425 * gdb.base/huge.exp: Disable max-value-size for this test.
427 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
429 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
431 2016-01-28 Yao Qi <yao.qi@linaro.org>
433 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
435 2016-01-25 Pedro Alves <palves@redhat.com>
438 * gdb.base/fork-running-state.c: New file.
439 * gdb.base/fork-running-state.exp: New file.
441 2016-01-25 Pedro Alves <palves@redhat.com>
444 * gdb.base/catch-fork-kill.c: New file.
445 * gdb.base/catch-fork-kill.exp: New file.
447 2016-01-25 Pedro Alves <palves@redhat.com>
449 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
450 Delete, moved to lib/gdb.exp.
451 * gdb.threads/forking-threads-plus-breakpoint.exp
452 (foreach_with_prefix): Likewise.
453 * gdb.threads/process-dies-while-handling-bp.exp
454 (foreach_with_prefix): Likewise.
455 * lib/gdb.exp (foreach_with_prefix): New procedure.
457 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
459 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
460 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
462 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
464 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
467 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
468 Pedro Alves <palves@redhat.com>
470 Fix testsuite compatibility with Guile.
471 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
474 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
476 Fix testsuite compatibility with Guile.
477 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
478 (thread 1): New test for backtrace through signal handler.
480 2016-01-22 Yao Qi <yao.qi@linaro.org>
483 * gdb.base/multi-forks.c: Include
484 ../lib/unbuffer_output.c
485 (main): Call gdb_unbuffer_output.
487 2016-01-21 Doug Evans <dje@google.com>
489 * lib/ada.exp (gdb_compile_ada): Fix typo.
491 2016-01-21 Joel Brobecker <brobecker@adacore.com>
493 * gdb.base/break-fun-addr.exp: New file.
494 * gdb.base/break-fun-addr1.c: New file.
495 * gdb.base/break-fun-addr2.c: New file.
497 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
499 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
500 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
503 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
505 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
506 when GDB can not set the vector return value. Add more comments
509 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
511 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
514 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
516 * Makefile.in (DO_RUNTEST): Add --status and update usages.
518 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
520 * Makefile.in (check-single): Pass --status to runtest.
521 (check/%.exp): Likewise.
523 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
525 * Makefile.in (check-parallel): Propagate return code from make
528 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
530 * gdb.trace/ftrace.exp: Fix expected message on continue.
531 * gdb.trace/pending.exp: Fix expected message on continue.
532 * gdb.trace/trace-break.exp: Fix expected message on continue.
534 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
536 * lib/gdb.exp (gdb_test): Remove unused global references.
538 2016-01-18 Pedro Alves <palves@redhat.com>
540 * gdb.base/async-shell.exp: Adjust expected output.
541 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
542 * gdb.base/siginfo-thread.exp: Adjust expected output.
543 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
544 * gdb.java/jnpe.exp: Adjust expected output.
545 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
546 * gdb.threads/continue-pending-status.exp: Adjust expected output.
547 * gdb.threads/leader-exit.exp: Adjust expected output.
548 * gdb.threads/manythreads.exp: Adjust expected output.
549 * gdb.threads/pthreads.exp: Adjust expected output.
550 * gdb.threads/schedlock.exp: Adjust expected output.
551 * gdb.threads/siginfo-threads.exp: Adjust expected output.
552 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
554 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
556 * gdb.threads/sigthread.exp: Adjust expected output.
557 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
559 2016-01-18 Yao Qi <yao.qi@linaro.org>
561 * gdb.guile/scm-section-script.c: Replace @progbits with
563 * gdb.python/py-section-script.c: Likewise.
565 2016-01-15 Pedro Alves <palves@redhat.com>
567 * gdb.multi/tids.exp: Test star wildcard ranges.
569 2016-01-15 Pedro Alves <palves@redhat.com>
571 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
572 command from "thread apply" invocation.
573 (thr_apply_info_thr_invalid): Default the expected output to the
575 (top level): Add tests that use convenience variables. Add tests
576 for "thread apply" with a valid TID list, but missing the command.
578 2016-01-13 Pedro Alves <palves@redhat.com>
580 * gdb.base/default.exp: Expect $_gthread as well.
581 * gdb.multi/tids.exp: Test $_gthread.
582 * gdb.threads/thread-specific.exp: Test $_gthread.
584 2016-01-13 Pedro Alves <palves@redhat.com>
586 * gdb.multi/tids.exp: Test "info threads -gid".
588 2016-01-13 Pedro Alves <palves@redhat.com>
590 * gdb.multi/tids.exp: Test InferiorThread.global_num and
592 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
594 2016-01-07 Pedro Alves <palves@redhat.com>
596 * gdb.base/break.exp: Adjust to output changes.
597 * gdb.base/hbreak2.exp: Likewise.
598 * gdb.base/sepdebug.exp: Likewise.
599 * gdb.base/watch_thread_num.exp: Likewise.
600 * gdb.linespec/keywords.exp: Likewise.
601 * gdb.multi/info-threads.exp: Likewise.
602 * gdb.threads/thread-find.exp: Likewise.
603 * gdb.multi/tids.c: New file.
604 * gdb.multi/tids.exp: New file.
606 2016-01-13 Pedro Alves <palves@redhat.com>
608 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
610 2016-01-13 Pedro Alves <palves@redhat.com>
612 * gdb.base/default.exp: Expect $_inferior as well.
613 * gdb.multi/base.exp: Test $_inferior.
615 2016-01-13 Pedro Alves <palves@redhat.com>
618 * gdb.base/catch-signal-siginfo-cond.c: New file.
619 * gdb.base/catch-signal-siginfo-cond.exp: New file.
621 2016-01-12 Josh Stone <jistone@redhat.com>
622 Philippe Waroquiers <philippe.waroquiers@skynet.be>
624 * gdb.base/catch-syscall.c (do_execve): New variable.
625 (main): Conditionally trigger an execve.
626 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
627 (test_catch_syscall_execve): New, check entry/return across execve.
628 (do_syscall_tests): Call test_catch_syscall_execve.
630 2016-01-12 Pedro Alves <palves@redhat.com>
632 * gdb.base/random-signal.exp (do_test): New procedure, with body
633 of testcase moved in.
635 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
636 Pedro Alves <palves@redhat.com>
638 * gdb.base/funcargs.exp (finish from indirectly called function):
639 Reintroduce the case for 'First'.
641 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
642 Pedro Alves <palves@redhat.com>
644 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
645 (tcatch_vfork_then_child_follow_exec)
646 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
649 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
651 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
652 and repeats to unlimited.
653 * gdb.python/py-value.exp: Likewise.
654 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
655 and repeats to unlimited.
657 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
659 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
660 and reordering the functions.
661 * gdb.multi/hangout.c: Likewise.
662 * gdb.multi/hello.c: Likewise.
664 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
666 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
668 (SingleStatisticTestResult.report): Use dict.keys instead of
671 2016-01-06 Pedro Alves <palves@redhat.com>
673 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
675 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
677 * gdb.btrace/dlopen.exp: New.
678 * gdb.btrace/dlopen.c: New.
679 * gdb.btrace/dlopen-dso.c: New.
681 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
683 * lib/gdb.exp (gdb_test): Update comments to clarify that the
684 PATTERN argument is optional.
686 2015-12-24 Joel Brobecker <brobecker@adacore.com>
688 * lib/ada.exp (target_compile_ada_from_dir): New function.
689 (gdb_compile_ada): Reimplement avoiding the use of project files.
690 * gdb.ada/gnat_ada.gpr: Delete.
691 * gdb.ada/cond_lang.exp: Adjust test to make path before
693 * gdb.ada/small_reg_param.exp: Likewise.
695 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
697 * gdb.base/foll-vork.exp: Remove HP-UX special case.
699 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
701 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
704 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
706 * gdb.base/break.exp: Remove dead code.
707 * gdb.base/sepdebug.exp: Likewise.
709 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
711 * gdb.asm/asm-source.exp: Remove HP-UX references.
712 * gdb.base/annota1.exp: Likewise.
713 * gdb.base/annota3.exp: Likewise.
714 * gdb.base/attach.exp: Likewise.
715 * gdb.base/bigcore.exp: Likewise.
716 * gdb.base/break.exp: Likewise.
717 * gdb.base/call-ar-st.exp: Likewise.
718 * gdb.base/callfuncs.exp: Likewise.
719 * gdb.base/catch-fork-static.exp: Likewise.
720 * gdb.base/display.exp: Likewise.
721 * gdb.base/foll-exec-mode.exp: Likewise.
722 * gdb.base/foll-exec.exp: Likewise.
723 * gdb.base/foll-fork.exp: Likewise.
724 * gdb.base/foll-vfork.exp: Likewise.
725 * gdb.base/funcargs.exp: Likewise.
726 * gdb.base/hbreak2.exp: Likewise.
727 * gdb.base/inferior-died.exp: Likewise.
728 * gdb.base/interrupt.exp: Likewise.
729 * gdb.base/multi-forks.exp: Likewise.
730 * gdb.base/nodebug.exp: Likewise.
731 * gdb.base/sepdebug.exp: Likewise.
732 * gdb.base/solib1.c: Likewise.
733 * gdb.base/step-test.exp: Likewise.
734 * gdb.mi/non-stop.c: Likewise.
735 * gdb.mi/pthreads.c: Likewise.
736 * gdb.multi/bkpt-multi-exec.ex: Likewise.
737 * gdb.threads/pthreads.c: Likewise.
738 * gdb.threads/staticthreads.exp: Likewise.
739 * lib/future.exp: Likewise.
740 * lib/gdb.exp: Likewise.
741 * gdb.base/so-indr-cl.c: Remove.
742 * gdb.base/so-indr-cl.exp: Likewise.
743 * gdb.base/solib.c: Likewise.
744 * gdb.base/solib.exp: Likewise.
745 * gdb.base/solib2.c: Likewise.
747 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
749 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
750 * gdb.base/call-ar-st.exp: Likewise.
751 * gdb.base/callfuncs.exp: Likewise.
752 * gdb.base/condbreak.exp: Likewise.
753 * gdb.base/constvars.exp: Likewise.
754 * gdb.base/hbreak2.exp: Likewise.
755 * gdb.base/langs.exp: Likewise.
756 * gdb.base/list.exp: Likewise.
757 * gdb.base/long_long.exp: Likewise.
758 * gdb.base/ptype.exp: Likewise.
759 * gdb.base/scope.exp: Likewise.
760 * gdb.base/signals.exp: Likewise.
761 * gdb.base/so-impl-ld.exp: Likewise.
762 * gdb.base/varargs.exp: Likewise.
763 * gdb.base/volatile.exp: Likewise.
764 * gdb.base/whatis.exp: Likewise.
765 * gdb.cp/cplusfuncs.exp: Likewise.
766 * gdb.cp/inherit.exp: Likewise.
767 * gdb.cp/local.exp: Likewise.
768 * gdb.cp/member-ptr.exp: Likewise.
769 * gdb.cp/method.exp: Likewise.
770 * gdb.cp/overload.exp: Likewise.
771 * gdb.cp/templates.exp: Likewise.
772 * gdb.stabs/weird.exp: Likewise.
773 * lib/compiler.c: Likewise.
774 * lib/compiler.cc: Likewise.
775 * lib/cp-support.exp: Likewise.
776 * lib/gdb.exp: Likewise.
778 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
780 * configure.ac: Remove HP-UX case.
781 * configure: Regenerate.
783 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
785 * lib/gdb.exp (gdb_compile): Add function doc.
787 2015-12-17 Pedro Alves <palves@redhat.com>
790 * gdb.multi/info-threads.exp: New file.
792 2015-12-15 Yao Qi <yao.qi@linaro.org>
794 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
797 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
799 * gdb.base/history-duplicates.exp: Skip if no readline support.
801 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
803 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
805 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
807 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
809 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
811 * gdb.base/completion.exp: Skip tests that interrupt GDB with
812 ctrl-C if nointerrupts target property is set.
813 * gdb.base/double-prompt-target-event-error.exp: Likewise.
814 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
815 * gdb.base/paginate-bg-execution.exp: Likewise.
816 * gdb.base/paginate-execution-startup.exp: Likewise.
817 * gdb.base/random-signal.exp: Likewise.
818 * gdb.base/range-stepping.exp: Likewise.
819 * gdb.cp/annota2.exp: Likewise.
820 * gdb.cp/annota3.exp: Likewise.
821 * gdb.gdb/selftest.exp: Likewise.
822 * gdb.threads/continue-pending-status.exp: Likewise.
823 * gdb.threads/leader-exit.exp: Likewise.
824 * gdb.threads/manythreads.exp: Likewise.
825 * gdb.threads/pthreads.exp: Likewise.
826 * gdb.threads/schedlock.exp: Likewise.
827 * gdb.threads/sigthread.exp: Likewise.
829 2015-12-11 Don Breazeal <donb@codesourcery.com>
831 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
833 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
834 * gdb.base/foll-exec.exp (main): Enable for target remote.
835 * gdb.base/foll-fork.exp (main): Likewise.
836 * gdb.base/foll-vfork.exp (main): Likewise.
837 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
838 (proc continue_to_exit_bp_loc): Use clean_restart.
839 * gdb.base/pie-execl.exp (main): Disable for target remote.
840 * gdb.base/watch-vfork.exp (main): Enable for target remote.
841 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
842 * gdb.threads/execl.exp (main): Likewise.
843 * gdb.threads/fork-child-threads.exp (main): Likewise.
844 * gdb.threads/fork-plus-threads.exp (main): Disable for target
846 * gdb.threads/fork-thread-pending.exp (main): Enable for target
848 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
849 pid.tid style ptids, instead of just tid.
850 * gdb.threads/thread-execl.exp (main): Enable for target remote.
851 * gdb.threads/watchpoint-fork.exp (main): Likewise.
852 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
853 ptids, instead of just tid.
855 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
857 * gdb.base/list.exp (test_list_forward): Add end of file error
859 (test_repeat_list_command): Add end of file error test.
860 (test_list_backwards): Add beginning of file error test.
862 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
864 * gdb.base/list.exp (test_list_invalid_args): New function,
867 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
869 * gdb.base/list.exp (test_list): Make test names unique.
871 2015-12-11 Yao Qi <yao.qi@linaro.org>
873 * gdb.base/coremaker2.c: Remove.
875 2015-12-10 Pedro Alves <palves@redhat.com>
877 * gdb.multi/base.exp: Remove stale "spaces" references.
879 2015-12-10 Pedro Alves <palves@redhat.com>
881 * gdb.multi/base.exp: Don't use nowarnings.
882 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
883 * gdb.multi/hangout.c: Include stdio.h.
884 * gdb.multi/hello.c: Include stdlib.h.
885 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
886 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
887 * gdb.multi/multi-arch.exp: Don't use nowarnings.
889 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
891 * gdb.dwarf2/dw2-ranges-base.c: New file.
892 * gdb.dwarf2/dw2-ranges-base.exp: New file.
893 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
894 support additional line table, and debug ranges generation.
895 (Dwarf::ranges): New function, generate .debug_ranges.
896 (Dwarf::lines): Support generating simple line table programs.
897 (Dwarf::assemble): Initialise new namespace variables.
899 2015-12-09 Kevin Buettner <kevinb@redhat.com>
901 * gdb.base/async.exp (proc test_background): Add case for
902 asynchronous execution not supported.
904 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
906 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
907 format and change test names to make them unique.
909 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
910 Pedro Alves <pedro@redhat.com>
913 Add checking of floatformats setup on x86_64 hosts.
914 * gdb.arch/i386-float.S (main): Load bigval and smallval.
915 (smallval, bigval): New labels/constants.
916 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
917 float" after loading bigval and smallval.
919 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
921 * gdb.ada/fun_overload_menu.exp: New testcase.
922 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
924 2015-12-04 Josh Stone <jistone@redhat.com>
926 * gdb.base/catch-fork-static.exp: New.
928 2015-12-03 Yao Qi <yao.qi@linaro.org>
930 * gdb.base/sizeof.c: Don't include stdio.h and
931 ../lib/unbuffer_output.c.
932 (main): New variable 'size' and 'value'. Remove printf and
933 gdb_unbuffer_output. Assign return value to size and value.
934 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
936 (check_sizeof): Check the result by printing variable 'size'.
937 (check_valueof): Check the result by printing variable 'value'.
939 2015-12-01 Yao Qi <yao.qi@linaro.org>
941 * gdb.base/disp-step-syscall.exp: Define syscall instruction
942 for aarch64*-*-linux* target.
944 2015-11-30 Pedro Alves <palves@redhat.com>
946 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
948 2015-11-30 Pedro Alves <palves@redhat.com>
950 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
951 Handle non-stop mode vCont replies.
953 2015-11-30 Pedro Alves <palves@redhat.com>
955 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
956 prepare_for_testing. Start gdb with "set non-stop on" appended to
957 GDBFLAGS. Lax expected stop output.
959 2015-11-27 Yao Qi <yao.qi@linaro.org>
961 * gdb.arch/arm-neon.exp: New.
962 * gdb.arch/arm-neon.c: New.
964 2015-11-27 Yao Qi <yao.qi@linaro.org>
966 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
968 2015-11-27 Yao Qi <yao.qi@linaro.org>
970 * gdb.cp/annota2.exp: Allow multiple occurrences of the
971 frames-invalid annotation.
973 2015-11-27 Yao Qi <yao.qi@linaro.org>
975 * gdb.cp/annota2.exp: Use ${frames_invalid}.
977 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
979 * gdb.threads/names.exp: New file.
980 * gdb.threads/names.c: New file.
981 * README: Mention gdb,no_thread_names.
983 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
986 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
989 2015-11-24 Pedro Alves <palves@redhat.com>
992 * gdb.base/display.exp: Expect displays to be sorted in ascending
993 order. Use multi_line.
994 * gdb.base/solib-display.exp: Likewise.
996 2015-11-24 Pedro Alves <palves@redhat.com>
999 * gdb.base/display.exp: Expect displays to be sorted in ascending
1000 order. Use multi_line.
1001 * gdb.base/solib-display.exp: Likewise.
1003 2015-11-24 Pedro Alves <palves@redhat.com>
1006 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1007 threads in ascending order.
1008 * gdb.base/foll-fork.exp: Likewise.
1009 * gdb.base/foll-vfork.exp: Likewise.
1010 * gdb.base/multi-forks.exp: Likewise.
1011 * gdb.mi/mi-nonstop.exp: Likewise.
1012 * gdb.mi/mi-nsintrall.exp: Likewise.
1013 * gdb.multi/base.exp: Likewise.
1014 * gdb.multi/multi-arch.exp: Likewise.
1015 * gdb.python/py-inferior.exp: Likewise.
1016 * gdb.threads/break-while-running.exp: Likewise.
1017 * gdb.threads/execl.exp: Likewise.
1018 * gdb.threads/gcore-thread.exp: Likewise.
1019 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1020 * gdb.threads/kill.exp: Likewise.
1021 * gdb.threads/linux-dp.exp: Likewise.
1022 * gdb.threads/multiple-step-overs.exp: Likewise.
1023 * gdb.threads/next-bp-other-thread.exp: Likewise.
1024 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1025 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1026 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1027 * gdb.threads/thread-find.exp: Likewise.
1028 * gdb.threads/tls.exp: Likewise.
1029 * lib/mi-support.exp (mi_reverse_list): Delete.
1030 (mi_check_thread_states): No longer reverse list.
1032 2015-11-24 Pedro Alves <palves@redhat.com>
1034 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1037 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1039 * gdb.trace/actions.c: Include trace-common.h.
1040 (main): Add a location for a fast tracepoint.
1041 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1042 the normal tracepoints.
1043 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1045 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1047 * save-trace.exp: Factor out code to these...
1048 (gdb_save_tracepoints): New.
1049 (gdb_load_tracepoints): New.
1050 (do_save_load_test): New.
1052 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1054 * gdb.base/asmlabel.exp: New test.
1055 * gdb.base/asmlabel.c: New test case.
1057 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1059 * gdb.base/wrong_frame_bt_full-main.c: New file.
1060 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1061 * gdb.base/wrong_frame_bt_full.exp: New file.
1063 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1065 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1067 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1069 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1070 pstate register when comparing registers values in
1071 sparc64-*-linux-gnu targets to avoid spurious differences.
1073 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1075 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1077 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1079 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1080 as type argument to gdb_compile.
1081 * gdb.base/nested-subp2.exp: Likewise.
1082 * gdb.base/nested-subp3.exp: Likewise.
1084 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1086 * lib/dwarf.exp (_note): Fix left shift of negative value.
1087 * gdb.trace/trace-condition.exp: Likewise.
1089 2015-11-13 Yao Qi <yao.qi@linaro.org>
1091 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1092 comments about d10v.
1093 (test_scalar_returns): Likewise.
1094 * gdb.base/d10v.ld: Remove.
1095 * gdb.base/overlays.exp: Remove the target triplet checking for
1097 * gdb.base/structs.exp (test_struct_returns): Remove the
1098 comments about d10v.
1099 (test_struct_calls): Likewise.
1101 2015-11-13 Yao Qi <yao.qi@linaro.org>
1103 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1104 * gdb.base/gnu_vector.c: Don't include stdio.h.
1105 (main): Don't print res and call add_some_intvecs.
1107 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1109 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1112 (func4): Use FAST_TRACEPOINT_LABEL.
1113 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1116 (thread_function): Use FAST_TRACEPOINT_LABEL.
1117 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1119 (marker): Use FAST_TRACEPOINT_LABEL.
1120 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1121 (pendfunc1): Remove.
1122 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1123 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1125 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1126 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1129 (marker): Use FAST_TRACEPOINT_LABEL.
1130 * gdb.trace/trace-common.h: New header.
1131 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1134 (marker): Use FAST_TRACEPOINT_LABEL.
1135 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1137 (thread_function): Use FAST_TRACEPOINT_LABEL.
1139 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1141 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1143 * gdb.trace/change-loc.exp: Use global pcreg definition.
1144 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1145 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1147 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1148 * gdb.trace/pending.exp: Likewise.
1149 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1150 * gdb.trace/trace-break.exp: Likewise.
1151 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1153 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1154 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1156 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1158 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1160 * gdb.ada/fin_fun_out: New testcase.
1162 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1164 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1165 value associated with DW_AT_byte_size.
1166 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1167 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1170 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1172 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1173 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1175 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1176 gdb.dwarf2/dw2-canonicalize-type.exp,
1177 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1178 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1179 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1180 provided by gdb_target_symbol_prefix_flags_asm.
1181 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1182 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1183 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1184 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1185 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1186 macros where needed). Use this macro for symbols which require
1187 the prefix provided by SYMBOL_PREFIX.
1189 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1191 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1193 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1194 representing expressions, of more than one list element.
1195 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1196 to prepend linker symbol prefix to f.
1197 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1198 table_1 and table_2.
1199 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1200 Likewise, for f and g.
1201 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1203 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1205 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1206 table_1_ptr and table_2_ptr.
1208 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1209 Joel Brobecker <brobecker@adacore.com>
1211 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1213 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1215 * gdb.reverse/s390-mvcle.c: New test.
1216 * gdb.reverse/s390-mvcle.exp: New file.
1217 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1219 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1221 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1223 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1225 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1227 * gdb.reverse/getresuid-reverse.exp: Likewise.
1228 * gdb.reverse/pipe-reverse.exp: Likewise.
1229 * gdb.reverse/readv-reverse.exp: Likewise.
1230 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1231 * gdb.reverse/time-reverse.exp: Likewise.
1232 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1234 2015-10-30 Yao Qi <yao.qi@linaro.org>
1236 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1237 (empty_cycle): Remove.
1238 (main): Don't call empty_cycle. Don't use watch_count_done.
1239 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1240 empty_cycle. Rewrite the code counting HW watchpoints.
1242 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1244 * gdb.reverse/fstatat-reverse.c: New test.
1245 * gdb.reverse/fstatat-reverse.exp: New file.
1246 * gdb.reverse/getresuid-reverse.c: New test.
1247 * gdb.reverse/getresuid-reverse.exp: New file.
1248 * gdb.reverse/pipe-reverse.c: New test.
1249 * gdb.reverse/pipe-reverse.exp: New file.
1250 * gdb.reverse/readv-reverse.c: New test.
1251 * gdb.reverse/readv-reverse.exp: New file.
1252 * gdb.reverse/recvmsg-reverse.c: New test.
1253 * gdb.reverse/recvmsg-reverse.exp: New file.
1254 * gdb.reverse/time-reverse.c: New test.
1255 * gdb.reverse/time-reverse.exp: New file.
1256 * gdb.reverse/waitpid-reverse.c: New test.
1257 * gdb.reverse/waitpid-reverse.exp: New file.
1259 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1261 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1263 2015-10-26 Doug Evans <dje@google.com>
1266 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1267 * gdb.dwarf2/bad-regnum.c: New file.
1268 * gdb.dwarf2/bad-regnum.exp: New file.
1270 2015-10-26 Doug Evans <dje@google.com>
1273 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1276 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1278 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1279 for a change by "Mention language in compile error message".
1281 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1284 * gdb.python/py-type.c (C::a_method): New.
1285 (C::a_const_method): New.
1286 (C::a_static_method): New.
1288 * gdb.python/py-type.exp (test_fields): Test getting fields
1289 from function and method.
1291 2015-10-21 Keven Boell <keven.boell@intel.com>
1293 * gdb.fortran/vla-alloc-assoc.exp: New file.
1294 * gdb.fortran/vla-datatypes.exp: New file.
1295 * gdb.fortran/vla-datatypes.f90: New file.
1296 * gdb.fortran/vla-history.exp: New file.
1297 * gdb.fortran/vla-ptype-sub.exp: New file.
1298 * gdb.fortran/vla-ptype.exp: New file.
1299 * gdb.fortran/vla-sizeof.exp: New file.
1300 * gdb.fortran/vla-sub.f90: New file.
1301 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1302 * gdb.fortran/vla-value-sub-finish.exp: New file.
1303 * gdb.fortran/vla-value-sub.exp: New file.
1304 * gdb.fortran/vla-value.exp: New file.
1305 * gdb.fortran/vla-ptr-info.exp: New file.
1306 * gdb.mi/mi-vla-fortran.exp: New file.
1307 * gdb.mi/vla.f90: New file.
1309 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1311 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1312 of hardwired timeout value.
1314 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1315 Pedro Alves <palves@redhat.com>
1317 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1318 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1320 2015-10-19 Josh Stone <jistone@redhat.com>
1322 * gdb.base/catch-syscall.c: Include <sched.h>.
1323 (unknown_syscall): New variable.
1324 (main): Trigger a vfork and an unknown syscall.
1325 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1326 (unknown_syscall_number): Likewise.
1327 (check_call_to_syscall): Accept an optional syscall pattern.
1328 (check_return_from_syscall): Likewise.
1329 (check_continue): Likewise.
1330 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1331 (test_catch_syscall_skipping_return): New test toggling off 'catch
1332 syscall' to step over the syscall return, then toggling back on.
1333 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1334 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1335 (do_syscall_tests): Call test_catch_syscall_without_args and
1336 test_catch_syscall_mid_vfork.
1337 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1338 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1340 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1342 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1343 print g_vE): Add new pass patterns.
1344 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1345 print various symbol names for vptr fields.
1347 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1349 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1352 2015-10-12 Yao Qi <yao.qi@linaro.org>
1354 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1356 2015-10-12 Yao Qi <yao.qi@linaro.org>
1358 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1359 is aarch64*-*-linux*.
1361 2015-10-12 Yao Qi <yao.qi@linaro.org>
1363 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1364 (can_relocate_bcond_true): ... it.
1365 (can_relocate_bcond_false): New function.
1367 (can_relocate_bl): Likewise.
1368 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1371 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1373 * gdb.base/nested-addr.c: New file.
1374 * gdb.base/nested-addr.exp: New testcase.
1376 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1378 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1379 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1380 its output. Ignore the output of "record goto begin" and instead
1381 check that GDB is replaying.
1383 2015-10-09 Pedro Alves <palves@redhat.com>
1385 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1386 (top level): Use it in the run with no args test.
1388 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1390 * gdb.dlang/properties.exp: New file.
1392 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1394 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1395 whether or not address 0x1000 is mapped on the target.
1397 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1399 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1402 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1404 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1405 instruction-history test.
1407 2015-09-28 Doug Evans <dje@google.com>
1409 * gdb.base/gcore.c (array_func): Add reference to static_array.
1411 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1416 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1418 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1419 short or char as base type.
1421 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1423 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1424 to allow any size enum.
1426 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1428 * gdb.ada/array_ptr_renaming.exp: New testcase.
1429 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1430 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1432 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1434 * gdb.trace/ftrace-lock.c: New file.
1435 * gdb.trace/ftrace-lock.exp: New file.
1437 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1439 * gdb.arch/insn-reloc.c: New file.
1440 * gdb.arch/ftrace-insn-reloc.exp: New file.
1442 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1444 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1446 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1447 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1448 * gdb.trace/range-stepping.c: Likewise.
1449 * gdb.trace/trace-break.c: Likewise.
1450 * gdb.trace/trace-mt.c (thread_function): Likewise.
1451 * gdb.trace/ftrace.c (marker): Likewise.
1452 * gdb.trace/trace-condition.c (marker): Likewise.
1453 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1454 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1457 2015-09-18 Doug Evans <xdje42@gmail.com>
1459 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1460 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1462 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1464 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1467 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1469 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1470 the pending breakpoint. Remove timeout override for "Run till
1471 MI pending breakpoint on pendfunc3 on thread 2" test.
1473 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1475 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1478 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1480 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1481 in breakpoint filename pattern.
1483 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1485 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1487 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1489 * gdb.linespec/explicit.exp: Check for readline support for
1490 tab-completion tests. Fix obvious typo.
1492 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1494 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1497 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1499 * gdb.btrace/non-stop.c: New.
1500 * gdb.btrace/non-stop.exp: New.
1502 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1503 Yao Qi <yao.qi@linaro.org>
1505 * gdb.trace/trace-condition.c: New file.
1506 * gdb.trace/trace-condition.exp: New file.
1508 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1510 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1511 for testing bytecode compilation.
1513 2015-09-16 Pedro Alves <palves@redhat.com>
1514 Sandra Loosemore <sandra@codesourcery.com>
1516 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1517 (SECONDS): Redefine.
1518 (main): Call pthread_kill and alarm early.
1519 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1521 (test): If the target can't hardware step and doesn't support
1522 displaced stepping, increase the timeout.
1524 2015-09-16 Pedro Alves <palves@redhat.com>
1526 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1527 (enable_debug): New procedures.
1528 (test): Use them. Bail out if waiting for threads fails.
1529 (top level): Bail out if a test fails.
1531 2015-09-16 Yao Qi <yao.qi@linaro.org>
1533 * gdb.asm/asm-source.exp: Set asm-arch for
1534 aarch64*-*-* target.
1535 * gdb.asm/aarch64.inc: New file.
1537 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1539 * gdb.ada/array_of_variable_length.exp: New testcase.
1540 * gdb.ada/array_of_variable_length/foo.adb: New file.
1541 * gdb.ada/array_of_variable_length/pck.adb: New file.
1542 * gdb.ada/array_of_variable_length/pck.ads: New file.
1544 2015-09-15 Doug Evans <dje@google.com>
1546 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1547 of function static local variable.
1549 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1551 * gdb.threads/tls-so_extern.exp: New test file.
1552 * gdb.threads/tls-so_extern.c: New test file.
1553 * gdb.threads/tls-so_extern_main.c: New test file.
1555 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1557 * gdb.opt/solib-intra-step-lib.c: New file.
1558 * gdb.opt/solib-intra-step-main.c: New file.
1559 * gdb.opt/solib-intra-step.exp: New file.
1561 2015-09-15 Pedro Alves <palves@redhat.com>
1563 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1564 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1566 2015-09-14 Pedro Alves <palves@redhat.com>
1568 * gdb.base/hook-stop-continue.c: Delete.
1569 * gdb.base/hook-stop-continue.exp: Delete.
1570 * gdb.base/hook-stop-frame.c: Delete.
1571 * gdb.base/hook-stop-frame.exp: Delete.
1572 * gdb.base/hook-stop.c: New file.
1573 * gdb.base/hook-stop.exp: New file.
1575 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1577 * gdb.ada/access_to_packed_array.exp: New testcase.
1578 * gdb.ada/access_to_packed_array/foo.adb: New file.
1579 * gdb.ada/access_to_packed_array/pack.adb: New file.
1580 * gdb.ada/access_to_packed_array/pack.ads: New file.
1582 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1584 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1587 2015-09-11 Don Breazeal <donb@codesourcery.com>
1589 * gdb.base/foll-exec.c: Add copyright header. Fix
1591 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1592 (do_exec_tests): Use clean_restart in place of zap_session,
1593 and for test initialization. Fix formatting issues. Use
1594 fail in place of perror.
1595 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1596 an expect statement to match an expression with output from
1597 the program under debug.
1598 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1599 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1600 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1601 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1602 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1604 2015-09-09 Doug Evans <dje@google.com>
1606 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1608 2015-09-09 Doug Evans <dje@google.com>
1610 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1612 2015-09-09 Doug Evans <dje@google.com>
1614 * gdb.base/savedregs.exp: Fix typo.
1616 2015-09-09 Pedro Alves <palves@redhat.com>
1618 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1620 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1622 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1623 command actually switches threads. Give up on remaining
1624 tests if target fails to stop at breakpoint.
1626 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1628 * gdb.ada/funcall_char.exp: New testcase.
1629 * gdb.ada/funcall_char/foo.adb: New file.
1631 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1633 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1634 expected outputs. Add two testcases for completing ambiguous
1636 * gdb.ada/complete/aux_pck.adb: New file.
1637 * gdb.ada/complete/aux_pck.ads: New file.
1638 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1639 Ambiguous_Func functions.
1640 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1641 * gdb.ada/complete/pck.adb: Likewise.
1643 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1645 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1646 failures to run the test program under GDB.
1648 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1650 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1653 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1655 * gdb.base/run-after-attach.exp: New test file.
1656 * gdb.base/run-after-attach.c: New test file.
1658 2015-08-26 Don Breazeal <donb@codesourcery.com>
1660 * gdb.base/foll-exec-2.c: New test program.
1661 * gdb.base/foll-exec-2.exp: New test.
1663 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1665 * gdb.base/nested-subp1.exp: New file.
1666 * gdb.base/nested-subp1.c: New file.
1667 * gdb.base/nested-subp2.exp: New file.
1668 * gdb.base/nested-subp2.c: New file.
1669 * gdb.base/nested-subp3.exp: New file.
1670 * gdb.base/nested-subp3.c: New file.
1672 2015-08-24 Pedro Alves <palves@redhat.com>
1674 * gdb.server/connect-without-multi-process.c: New file.
1675 * gdb.server/connect-without-multi-process.exp: New file.
1677 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1679 * gdb.opt/inline-markers.c: Make z int.
1681 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1683 * gdb.opt/inline-markers.c: Make z volatile.
1685 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1687 * gdb.opt/inline-bt.c: New volatile global z.
1688 * gdb.opt/inline-cmds.c: Likewise.
1689 * gdb.opt/inline-locals.c: Likewise.
1690 * gdb.opt/inline-markers.c: New extern global z.
1692 (inline_fn): Likewise.
1694 2015-08-24 Pedro Alves <palves@redhat.com>
1696 * config/m32r-stub.exp: Remove file.
1697 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1698 * gdb.base/call-rt-st.exp: Likewise.
1699 * gdb.base/call-strs.exp: Likewise.
1700 * gdb.base/default.exp: Remove references to h8300-*-hms and
1702 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1704 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1706 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1707 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1708 and "return" use KFAIL when GDB can not read/write the vector
1711 2015-08-21 Gary Benson <gbenson@redhat.com>
1713 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1715 2015-08-20 Pedro Alves <palves@redhat.com>
1717 * gdb.server/solib-list.exp: No longer expect an interior stop in
1720 2015-08-20 Pedro Alves <palves@redhat.com>
1722 * gdb.server/connect-stopped-target.c: New file.
1723 * gdb.server/connect-stopped-target.exp: New file.
1725 2015-08-20 Pedro Alves <palves@redhat.com>
1727 * gdb.dwarf2/comp-unit-lang.exp: New file.
1728 * gdb.dwarf2/comp-unit-lang.c: New file.
1730 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1732 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1733 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1735 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1737 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1738 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1740 2015-08-18 Doug Evans <dje@google.com>
1741 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1743 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1744 skip_python_tests. New arg prompt_regexp.
1745 (skip_python_tests): New function.
1746 * lib/mi-support.exp (mi_skip_python_tests): New function.
1747 * gdb.python/py-mi-objfile-gdb.py: New file.
1748 * gdb.python/py-mi-objfile.c: New file.
1749 * gdb.python/py-mi-objfile.exp: New file.
1751 2015-08-17 Keith Seitz <keiths@redhat.com>
1753 * gdb.linespec/explicit.exp: Move strace test from here ...
1754 * gdb.trace/strace.exp: ... to here.
1756 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1758 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1759 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1761 2015-08-14 Doug Evans <xdje42@gmail.com>
1763 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1764 inferior before selecting a new file.
1766 2015-08-14 Doug Evans <xdje42@gmail.com>
1768 * gdb.mi/mi-disassemble.exp: Update.
1769 * gdb.base/disasm-optim.S: New file.
1770 * gdb.base/disasm-optim.c: New file.
1771 * gdb.base/disasm-optim.h: New file.
1772 * gdb.base/disasm-optim.exp: New file.
1774 2015-08-14 Keith Seitz <keiths@redhat.com>
1776 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1779 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1781 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1783 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1785 * gdb.ada/fun_renaming.exp: New testcase.
1786 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1787 * gdb.ada/fun_renaming/pack.adb: New file.
1788 * gdb.ada/fun_renaming/pack.ads: New file.
1790 2015-08-12 Keith Seitz <keiths@redhat.com>
1792 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1793 gdb_get_line_number.
1795 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1797 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1798 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1799 gdb.base/dso2dso.exp: New files.
1801 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1802 Pedro Alves <palves@redhat.com>
1803 Keith Seitz <keiths@redhat.com>
1805 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1808 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1810 * gdb.base/gdbhistsize-history.exp
1811 (test_histsize_history_setting): Use save_vars.
1812 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1814 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1815 * gdb.base/readline.exp: Use save_vars.
1817 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1819 * lib/gdb.exp (save_vars): New proc.
1821 2015-08-11 Keith Seitz <keiths@redhat.com>
1823 * gdb.base/help.exp: Update help_breakpoint_text.
1825 2015-08-11 Keith Seitz <keiths@redhat.com>
1827 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1828 (at toplevel): Call test_explicit_breakpoints.
1829 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1831 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1832 breakpoint conditions, "-cond".
1834 2015-08-11 Keith Seitz <keiths@redhat.com>
1836 * gdb.linespec/3explicit.c: New file.
1837 * gdb.linespec/cpexplicit.cc: New file.
1838 * gdb.linespec/cpexplicit.exp: New file.
1839 * gdb.linespec/explicit.c: New file.
1840 * gdb.linespec/explicit.exp: New file.
1841 * gdb.linespec/explicit2.c: New file.
1842 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1843 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1844 before using in the matching pattern.
1845 Clarify that `prefix' is a regular expression.
1847 2015-08-11 Keith Seitz <keiths@redhat.com>
1849 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1851 Add tests for missing ",FMT" and ",".
1853 2015-08-10 Doug Evans <dje@google.com>
1854 Keith Seitz <keiths@redhat.com>
1857 * gdb.base/completion.exp: Add location completer tests.
1859 2015-08-07 Pedro Alves <palves@redhat.com>
1861 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1863 (top level): Run do_test with and without displaced stepping.
1865 2015-08-07 Pedro Alves <palves@redhat.com>
1867 * gdb.base/valgrind-disp-step.c: New file.
1868 * gdb.base/valgrind-disp-step.exp: New file.
1870 2015-08-07 Pedro Alves <palves@redhat.com>
1872 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1874 (main): Add alarm. Run an infinite loop instead of calling
1876 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1878 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1880 (main): Add alarm. Run an infinite loop instead of calling
1882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1885 2015-08-07 Pedro Alves <palves@redhat.com>
1887 * gdb.base/checkpoint-ns.exp: New file.
1888 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1891 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1893 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1894 * gdb.btrace/instruction_history.exp: Update.
1895 * gdb.btrace/tsx.exp: New.
1896 * gdb.btrace/tsx.c: New.
1898 2015-08-06 Pedro Alves <palves@redhat.com>
1900 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1902 * gdb.reverse/until-precsave.exp: Bump timeouts.
1904 2015-08-06 Pedro Alves <palves@redhat.com>
1906 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1908 2015-08-06 Pedro Alves <palves@redhat.com>
1911 * gdb.threads/process-dies-while-handling-bp.c: New file.
1912 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1914 2015-08-06 Pedro Alves <palves@redhat.com>
1916 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1917 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1919 2015-08-05 Pedro Alves <palves@redhat.com>
1921 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1922 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1924 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1926 * gdb.base/bp-permanent.exp: Report test as unsupported if
1927 the target cannot stop at the permanent breakpoint.
1929 2015-08-03 Doug Evans <dje@google.com>
1931 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1934 2015-08-03 Doug Evans <dje@google.com>
1936 * Makefile.in (workers/%.worker, build-perf): New rule.
1937 (GDB_PERFTEST_MODE): New variable.
1938 (check-perf): Use it.
1939 (clean): Clean up gdb.perf parallel build subdirs.
1940 * lib/build-piece.exp: New file.
1941 * lib/gdb.exp (make_gdb_parallel_path): New function
1942 (standard_output_file, standard_temp_file): Call it.
1943 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1945 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1947 2015-08-03 Doug Evans <dje@google.com>
1949 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1950 (LOG_FILE_NAME): New global.
1951 (TextReporter.__init__): Initialize self.txt_sum.
1952 (TextReporter.report): Add support for multiple data-points.
1953 Move report to perftest.sum, put raw data in perftest.log.
1954 (TextReporter.start): Open sum and log files.
1955 (TextReporter.end): Close sum and log files.
1956 * gdb.perf/lib/perftest/testresult.py
1957 (SingleStatisticTestResult.record): Handle multiple data-points.
1959 2015-07-31 Pedro Alves <palves@redhat.com>
1961 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1962 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1963 kill_wait_spawned_process instead of explicit "kill -9".
1964 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1965 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1966 kill_wait_spawned_process.
1967 * gdb.base/attach-twice.exp: Likewise.
1968 * gdb.base/attach.exp: Likewise.
1969 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1971 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1972 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1973 kill_wait_spawned_process.
1974 * gdb.base/valgrind-infcall.exp: Likewise.
1975 * gdb.multi/multi-attach.exp: Likewise.
1976 * gdb.python/py-prompt.exp: Likewise.
1977 * gdb.python/py-sync-interp.exp: Likewise.
1978 * gdb.server/ext-attach.exp: Likewise.
1979 * gdb.threads/attach-into-signal.exp (corefunc): Use
1980 spawn_wait_for_attach, spawn_id_get_pid and
1981 kill_wait_spawned_process.
1982 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1983 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1984 spawn_id_get_pid and kill_wait_spawned_process.
1985 * gdb.threads/attach-stopped.exp (corefunc): Use
1986 spawn_wait_for_attach, spawn_id_get_pid and
1987 kill_wait_spawned_process.
1988 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1989 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1990 kill_wait_spawned_process instead of explicit "kill -9".
1991 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1992 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1993 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1994 processes. Don't map cygwin/windows pids here. Now returns a
1997 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1999 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2000 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2003 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2005 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2007 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2010 2014-05-21 Mark Wielaard <mjw@redhat.com>
2012 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2014 2015-07-30 Pedro Alves <palves@redhat.com>
2016 * linux-low.c (handle_extended_wait): Set the child's last
2017 reported status to TARGET_WAITKIND_STOPPED.
2019 2015-07-30 Pedro Alves <palves@redhat.com>
2022 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2023 only shows inferior 1.
2025 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2026 Pedro Alves <palves@redhat.com>
2029 * gdb.threads/fork-plus-threads.c: New file.
2030 * gdb.threads/fork-plus-threads.exp: New file.
2032 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2034 * gdb.base/batch-preserve-term-settings.exp
2035 (test_terminal_settings_preserved_after_cli_exit): Use
2038 2015-07-29 Pedro Alves <palves@redhat.com>
2039 Don Breazeal <donb@codesourcery.com>
2041 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2042 output from both inferior_spawn_id and gdb_spawn_id.
2044 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2046 * gdb.threads/attach-into-signal.exp (corefunc): Use
2047 with_test_prefix on nested loops, uniquefying the test messages.
2049 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2051 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2054 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2056 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2058 (test_terminal_settings_preserved_after_sigterm): New test.
2060 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2062 * gdb.base/batch-preserve-term-settings.exp
2063 (test_terminal_settings_preserved_after_cli_exit): New test.
2065 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2067 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2068 manipulation of saved_gdbflags.
2069 (test_terminal_settings_preserved): Remove global declaration of
2070 the unused variable pagination_prompt. Remove manipulation of
2071 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2074 2015-07-29 Pedro Alves <palves@redhat.com>
2076 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2078 2015-07-29 Pedro Alves <palves@redhat.com>
2080 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2083 2015-07-29 Pedro Alves <palves@redhat.com>
2085 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2086 (main): Call gdb_unbuffer_output.
2087 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2088 (main): Call gdb_unbuffer_output.
2089 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2090 (main): Call gdb_unbuffer_output.
2091 * gdb.base/call-strs.exp: Adjust to step over the
2092 gdb_unbuffer_output call.
2093 * gdb.base/catch-gdb-caused-signals.c: Include
2094 "../lib/unbuffer_output.c".
2095 (main): Call gdb_unbuffer_output.
2096 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2097 (main): Call gdb_unbuffer_output.
2098 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2099 (main): Call gdb_unbuffer_output.
2100 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2101 (main): Call gdb_unbuffer_output.
2102 * gdb.base/shlib-call.exp: Adjust to step over the
2103 gdb_unbuffer_output call.
2104 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2105 (main): Call gdb_unbuffer_output.
2106 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2107 (main): Call gdb_unbuffer_output.
2108 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2109 (main): Rename to ...
2111 (main): Reimplement.
2112 * gdb.base/varargs.exp: Run to test instead of to main.
2113 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2114 (main): Call gdb_unbuffer_output.
2116 2015-07-29 Pedro Alves <palves@redhat.com>
2118 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2119 factore out from mi_continue_dprintf. For call-style dprintfs,
2120 expect dprintf output out of $inferior_spawn_id.
2121 (mi_continue_dprintf): Use mi_expect_dprintf.
2122 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2123 (main): Call gdb_unbuffer_output.
2125 2015-07-29 Pedro Alves <palves@redhat.com>
2127 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2128 (default_mi_gdb_start): Set inferior_spawn_id instead of
2129 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2131 (mi_gdb_test): Always expect inferior output from both
2132 $inferior_spawn_id and $gdb_spawn_id.
2134 2015-07-29 Pedro Alves <palves@redhat.com>
2136 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2137 send_inferior and $inferior_spawn_id.
2139 2015-07-29 Pedro Alves <palves@redhat.com>
2141 * gdb.gdb/complaints.exp (test_initial_complaints)
2142 (test_serial_complaints, test_short_complaints): Use
2144 (test_empty_complaint): Handle $inferior_spawn_id !=
2147 2015-07-29 Pedro Alves <palves@redhat.com>
2149 * gdb.base/varargs.exp: Use gdb_test_stdio.
2151 2015-07-29 Pedro Alves <palves@redhat.com>
2153 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2155 2015-07-29 Pedro Alves <palves@redhat.com>
2157 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2159 2015-07-29 Pedro Alves <palves@redhat.com>
2161 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2162 parameter into two new parameters, "inf_result" and "gdb_result".
2163 Expect inferior output and gdb output from $inferior_spawn_id and
2164 $gdb_spawn_id, respectively. Adjust all callers.
2166 2015-07-29 Pedro Alves <palves@redhat.com>
2168 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2169 of gdb_test_sequence.
2171 2015-07-29 Pedro Alves <palves@redhat.com>
2173 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2174 (saw_spurious_output): Expect inferior output from
2175 $inferior_spawn_id. Use gdb_test_stdio.
2177 2015-07-29 Pedro Alves <palves@redhat.com>
2179 * gdb.base/dprintf.exp: Use standard_testfile. Change
2180 prepare_for_testing call.
2181 (srcfile): Don't set.
2182 (restart): New procedure.
2183 (test_dprintf): New procecure, use to continue over dprintfs.
2184 (test_call, test_agent): New procedures, tests moved here.
2185 Restart gdb and recreate dprintfs. Adjust expected output.
2187 2015-07-29 Pedro Alves <palves@redhat.com>
2189 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2191 2015-07-29 Pedro Alves <palves@redhat.com>
2193 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2195 2015-07-29 Pedro Alves <palves@redhat.com>
2197 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2200 2015-07-29 Pedro Alves <palves@redhat.com>
2202 * lib/gdb.exp (gdb_test_stdio): New procedure.
2204 2015-07-29 Pedro Alves <palves@redhat.com>
2206 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2208 2015-07-29 Pedro Alves <palves@redhat.com>
2210 * gdb.base/call-signal-resume.exp: Remove check for
2211 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2212 * gdb.base/unwindonsignal.exp: Likewise.
2213 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2214 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2216 2015-07-29 Pedro Alves <palves@redhat.com>
2218 * gdb.base/siginfo-addr.c (pass): New function.
2219 (handler): Call it iff si_addr is correct.
2220 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2221 Set a breakpoint at "pass" and continue to it.
2223 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2225 * gdb.python/py-objfile.exp: Make some tests have unique names.
2226 * gdb.python/py-pp-registration.exp: Likewise.
2228 2015-07-28 Pedro Alves <palves@redhat.com>
2230 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2232 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2234 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2236 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2238 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2240 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2242 * gdb.base/gdb-sigterm-2.exp: New test.
2244 2015-07-25 Doug Evans <xdje42@gmail.com>
2247 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2248 (workers/%.worker, build-perf): New rule.
2249 (GDB_PERFTEST_MODE): New variable.
2250 (check-perf): Use it.
2251 (clean): Clean up gdb.perf parallel build subdirs.
2252 * lib/build-piece.exp: New file.
2253 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2254 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2256 (standard_temp_file): Ditto.
2257 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2260 2015-07-24 Doug Evans <dje@google.com>
2262 * gdb.perf/lib/perftest/utils.py: New file.
2263 * gdb.perf/gm-hello.cc: New file.
2264 * gdb.perf/gm-pervasive-typedef.cc: New file.
2265 * gdb.perf/gm-pervasive-typedef.h: New file.
2266 * gdb.perf/gm-std.cc: New file.
2267 * gdb.perf/gm-std.h: New file.
2268 * gdb.perf/gm-use-cerr.cc: New file.
2269 * gdb.perf/gm-utils.h: New file.
2270 * gdb.perf/gmonster-null-lookup.py: New file.
2271 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2272 * gdb.perf/gmonster-print-cerr.py: New file.
2273 * gdb.perf/gmonster-ptype-string.py: New file.
2274 * gdb.perf/gmonster-runto-main.py: New file.
2275 * gdb.perf/gmonster-select-file.py: New file.
2276 * gdb.perf/gmonster1-null-lookup.exp: New file.
2277 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2278 * gdb.perf/gmonster1-print-cerr.exp: New file.
2279 * gdb.perf/gmonster1-ptype-string.exp: New file.
2280 * gdb.perf/gmonster1-runto-main.exp: New file.
2281 * gdb.perf/gmonster1-select-file.exp: New file.
2282 * gdb.perf/gmonster1.cc: New file.
2283 * gdb.perf/gmonster1.exp: New file.
2284 * gdb.perf/gmonster2-null-lookup.exp: New file.
2285 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2286 * gdb.perf/gmonster2-print-cerr.exp: New file.
2287 * gdb.perf/gmonster2-ptype-string.exp: New file.
2288 * gdb.perf/gmonster2-runto-main.exp: New file.
2289 * gdb.perf/gmonster2-select-file.exp: New file.
2290 * gdb.perf/gmonster2.cc: New file.
2291 * gdb.perf/gmonster2.exp: New file.
2293 2015-07-24 Doug Evans <dje@google.com>
2295 * gdb.perf/README: New file.
2296 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2297 * lib/gen-perf-test.exp: New file.
2299 2015-07-24 Doug Evans <dje@google.com>
2301 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2302 (PerfTest::startup): New function.
2303 (PerfTest::run): Return result of calling body.
2304 (PerfTest::assemble): Rewrite.
2305 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2306 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2307 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2308 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2309 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2311 2015-07-24 Doug Evans <dje@google.com>
2313 * lib/gdb.exp (clean_restart): Make executable optional.
2315 2015-07-24 Doug Evans <dje@google.com>
2317 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2318 compiler_info references.
2319 * gdb.cp/temargs.exp: Ditto.
2320 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2321 (get_compiler_info): Early exit if already computed. Set compiler_info
2322 to "unknown" if there was a problem.
2323 (test_compiler_info): Add function comment. Call get_compiler_info.
2325 2015-07-24 Doug Evans <dje@google.com>
2327 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2328 (workers/%.worker, build-perf): New rule.
2329 (GDB_PERFTEST_MODE): New variable.
2330 (check-perf): Use it.
2331 (clean): Clean up gdb.perf parallel build subdirs.
2332 * lib/build-piece.exp: New file.
2333 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2334 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2336 (standard_temp_file): Ditto.
2337 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2340 2015-07-24 Doug Evans <dje@google.com>
2342 * lib/future.exp (gdb_default_target_compile): New option
2344 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2347 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2349 * gdb.base/catch-syscall.exp: Call gdb_exit before
2352 2015-07-24 Pedro Alves <palves@redhat.com>
2354 * gdb.python/py-events.exp: Accept output between the stop event
2356 * gdb.python/py-evsignal.exp: Likewise.
2357 * gdb.python/py-evthreads.exp: Likewise.
2359 2015-07-24 Pedro Alves <palves@redhat.com>
2362 * gdb.threads/non-ldr-exit.c: New file.
2363 * gdb.threads/non-ldr-exit.exp: New file.
2365 2015-07-24 Yao Qi <yao.qi@linaro.org>
2367 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2370 2015-07-24 Yao Qi <yao.qi@linaro.org>
2372 * gdb.server/ext-restart.exp: New file.
2374 2015-07-24 Yao Qi <yao.qi@linaro.org>
2376 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2378 * gdb.server/ext-wrapper.exp: New file.
2380 2015-07-23 Doug Evans <dje@google.com>
2382 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2383 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2385 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2387 * gdb.ada/var_arr_typedef.exp: New testcase.
2388 * gdb.ada/var_arr_typedef/pack.adb: New file.
2389 * gdb.ada/var_arr_typedef/pack.ads: New file.
2390 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2392 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2394 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2396 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2398 * gdb.arch/i386-biarch-core.exp: Replace istarget
2399 by "complete set gnutarget". Remove expectation for the "core-file"
2402 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Revert the previous commit:
2405 Tests for validate symbol file using build-id.
2407 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2409 Tests for validate symbol file using build-id.
2410 * gdb.base/solib-mismatch-lib.c: New file.
2411 * gdb.base/solib-mismatch-libmod.c: New file.
2412 * gdb.base/solib-mismatch.c: New file.
2413 * gdb.base/solib-mismatch.exp: New file.
2415 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2417 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2419 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2420 * gdb.base/siginfo.exp: Likewise.
2421 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2423 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2425 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2427 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2429 * gdb.trace/range-stepping.exp: Check that the target supports
2432 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2434 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2436 2015-07-14 Pedro Alves <palves@redhat.com>
2438 * gdb.base/killed-outside.exp: New file.
2439 * gdb.base/killed-outside.c: New file.
2441 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2443 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2445 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2447 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2449 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2450 infcall tests instead of setting up for KFAIL.
2452 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2454 * gdb.btrace/record_goto-step.exp: New.
2456 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2459 * gdb.compile/compile.c (struct struct_type): Add volatile to
2461 * gdb.compile/compile.exp
2462 (compile code struct_object.selffield = &struct_object): Skip further
2463 struct_object tests if this one xfails.
2465 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2468 * gdb.trace/ax.exp: Add test.
2470 2015-07-07 Yao Qi <yao.qi@linaro.org>
2472 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2473 instead of istarget "aarch64*-*-*".
2474 * gdb.arch/aarch64-fp.exp: Likewise.
2475 * gdb.base/float.exp: Likewise.
2476 * gdb.reverse/aarch64.exp: Likewise.
2477 * lib/gdb.exp (is_aarch64_target): New proc.
2479 2015-07-07 Yao Qi <yao.qi@linaro.org>
2481 * lib/gdb.exp (is_aarch32_target): New proc.
2482 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2483 instead of "istarget "arm*-*-*"".
2484 * gdb.arch/arm-disp-step.exp: Likewise.
2485 * gdb.arch/thumb-bx-pc.exp: Likewise.
2486 * gdb.arch/thumb-prologue.exp: Likewise.
2487 * gdb.arch/thumb-singlestep.exp: Likewise.
2488 * gdb.base/disp-step-syscall.exp: Likewise.
2489 * gdb.base/float.exp: Likewise.
2491 2015-07-07 Yao Qi <yao.qi@linaro.org>
2493 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2494 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2496 2015-07-07 Yao Qi <yao.qi@linaro.org>
2498 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2499 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2501 * gdb.multi/multi-arch.exp: Likewise.
2503 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2505 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2508 2015-07-07 Yao Qi <yao.qi@linaro.org>
2510 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2512 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2514 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2515 '[' and ']' characters.
2517 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2519 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2521 2015-06-29 Pedro Alves <palves@redhat.com>
2524 * gdb.threads/hand-call-new-thread.c: New file.
2525 * gdb.threads/hand-call-new-thread.c: New file.
2527 2015-06-26 Keith Seitz <keiths@redhat.com>
2528 Doug Evans <dje@google.com>
2531 * gdb.cp/var-tag-2.cc: New file.
2532 * gdb.cp/var-tag-3.cc: New file.
2533 * gdb.cp/var-tag-4.cc: New file.
2534 * gdb.cp/var-tag.cc: New file.
2535 * gdb.cp/var-tag.exp: New file.
2537 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2539 * gdb.base/history-duplicates.exp: New test.
2541 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2543 * gdb.base/completion.exp: Test the completion of the "focus"
2546 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2548 * gdb.arch/amd64-prologue-skip.S: New file.
2549 * gdb.arch/amd64-prologue-skip.exp: New file.
2551 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2553 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2554 is_address_zero_readable check.
2556 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2558 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2559 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2561 2015-06-24 Yao Qi <yao.qi@linaro.org>
2563 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2566 2015-06-24 Yao Qi <yao.qi@linaro.org>
2568 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2569 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2570 * gdb.base/siginfo-thread.exp: Likewise.
2572 2015-06-22 Yao Qi <yao.qi@linaro.org>
2574 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2576 2015-06-22 Yao Qi <yao.qi@linaro.org>
2578 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2580 (skip_hw_watchpoint_tests): Likewise.
2582 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2584 * gdb.base/gdbinit-history.exp: Test the interaction between
2585 setting GDBHISTSIZE and setting the history size via .gdbinit.
2587 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2590 * gdb.base/gdbhistsize-history.exp: New test.
2592 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2594 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2596 * gdb.base/readline.exp: Likewise.
2598 2015-06-17 Yao Qi <yao.qi@linaro.org>
2600 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2603 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2605 * gdb.base/gdbinit-history.exp: Add test case to check that
2606 an unlimited history file does not get truncated on exit.
2608 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2610 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2611 (VECTOR): New macro. Use it...
2612 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2613 ...for these typedefs.
2614 (int8, char1, int1, double1): New typedefs.
2615 (struct just_int2, struct two_int2): New structures.
2616 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2617 (add_structvecs, add_singlevecs): New functions.
2618 (main): Call add_some_intvecs twice.
2619 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2620 the compile and exit upon failure. Try compiling for the "native"
2621 architecture. Test inferior function calls with vector arguments
2622 and vector return value handling with "finish" and "return".
2624 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2626 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2627 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2629 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2631 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2633 PR breakpoints/16465
2634 * gdb.mi/mi-dprintf-pending.c: New file.
2635 * gdb.mi/mi-dprintf-pending.exp: New test.
2636 * gdb.mi/mi-dprintf-pendshr.c: New file.
2638 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2639 Mircea Gherzan <mircea.gherzan@intel.com>
2641 * gdb.arch/i386-mpx-map.c: New file.
2642 * gdb.arch/i386-mpx-map.exp: New File.
2644 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2646 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2647 * gdb.arch/i386-mpx.exp: Indentation fixed.
2649 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2651 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2652 function and improved indentation.
2653 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2654 gdb_test_multiple. Added additional tests to skip the test.
2656 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2658 * gdb.arch/i386-avx512.c: Change path in include file.
2659 * gdb.arch/i386-avx512.exp: Change include dir path
2661 * gdb.arch/i386-mpx.c: Change path in include file.
2662 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2665 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2667 * gdb.compile/compile-print.exp (compile print *vararray@3)
2668 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2670 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2672 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2673 (do not keep jit in memory): ... this.
2674 (expect 5): Change it to ...
2675 (expect no 5): ... this.
2677 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2680 * gdb.mi/mi-detach.exp: New file.
2682 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2685 * gdb.arch/amd64-tailcall-self.S: New file.
2686 * gdb.arch/amd64-tailcall-self.c: New file.
2687 * gdb.arch/amd64-tailcall-self.exp: New file.
2689 2015-05-28 Don Breazeal <donb@codesourcery.com>
2691 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2692 tests for remote targets by checking is_target_gdbserver.
2694 2015-05-27 Doug Evans <dje@google.com>
2696 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2697 * gdb.dwarf2/opaque-type-lookup.c: New file.
2698 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2700 2015-05-26 Doug Evans <dje@google.com>
2702 * gdb.cp/iostream.cc: New file.
2703 * gdb.cp/iostream.exp: New file.
2705 2015-05-26 Doug Evans <dje@google.com>
2707 * gdb.dwarf2/dw2-op-call.exp: Update.
2708 * gdb.dwarf2/dw4-sig-types.exp: Update.
2709 * gdb.dwarf2/implptr.exp: Update.
2710 * gdb.mi/mi-cmd-param-changed.exp: Update.
2712 2015-05-26 Doug Evans <dje@google.com>
2714 * gdb.python/py-lazy-string.c: New file.
2715 * gdb.python/py-lazy-string.exp: New file.
2716 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2717 (main): Update. Add estring3.
2718 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2719 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2721 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2722 Yao Qi <yao.qi@linaro.org>
2724 * gdb.reverse/aarch64.c: New.
2725 * gdb.reverse/aarch64.exp: New.
2727 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2729 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2730 (supports_reverse): Likewise.
2732 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2734 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2735 Use with_test_prefix.
2737 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2739 * gdb.base/completion.exp: Add test for completion of layout
2742 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2744 * lib/gdb.exp (skip_tui_tests): New proc.
2745 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2747 2015-05-19 Pedro Alves <palves@redhat.com>
2749 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2750 Save the whole env array instead of just HOME. Unset HISTSIZE in
2751 the environment while testing. Restore whole environment
2754 2015-05-16 Doug Evans <xdje42@gmail.com>
2756 * gdb.guile/scm-ports.c: New file.
2757 * gdb.guile/scm-ports.exp: Add memory port tests.
2759 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2761 * gdb.compile/compile-print.c: New file.
2762 * gdb.compile/compile-print.exp: New file.
2764 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2766 * gdb.compile/compile-ops.exp: Cast param to void.
2767 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2768 (compile code struct_object.selffield = &struct_object): Add xfail.
2770 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2772 * gdb.ada/arr_enum_with_gap: New testcase.
2774 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2776 * gdb.ada/byte_packed_arr: New testcase.
2778 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2780 * gdb.ada/pckd_neg: New testcase.
2782 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2785 * gdb.base/gdbinit-history.exp: New test.
2786 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2787 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2789 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2791 * gdb.python/py-xmethods.cc: Enhance test case.
2792 * gdb.python/py-xmethods.exp: New tests.
2793 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2795 (B_indexoper): Likewise.
2796 (global_dm_list) : Add new xmethod worker functions.
2798 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2800 * gdb.base/coredump-filter.exp: Correctly unset
2801 "coredump_var_addr" array.
2803 2015-05-08 Pedro Alves <palves@redhat.com>
2805 * gdb.server/non-existing-program.exp: Unset spawn_id.
2807 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2810 * gdb.python/py-xmethods.exp: Add tests.
2812 2015-05-08 Yao Qi <yao.qi@linaro.org>
2815 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2816 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2817 function set_coredump_filter, and remove remote_exec call.
2818 Remove argument ipid. Callers update.
2819 (top level): Don't get inferior's PID.
2821 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2823 * gdb.base/watch_thread_num.exp: Skip test on targets without
2826 2015-05-06 Pedro Alves <palves@redhat.com>
2829 * gdb.server/non-existing-program.exp: New file.
2831 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2833 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2835 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2837 * gdb.ada/out_of_line_in_inlined: New testcase.
2839 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2841 * gdb.ada/var_rec_arr: New testcase.
2843 2015-04-30 Yao Qi <yao.qi@linaro.org>
2845 * gdb.base/break-idempotent.exp: If
2846 skip_hw_watchpoint_multi_tests returns true, skip the tests
2847 on "rwatch" and "awatch".
2849 2015-04-30 Yao Qi <yao.qi@linaro.org>
2851 * gdb.base/relativedebug.exp: Invoke gdb command
2852 "info sharedlibrary", and if libc.so doesn't have debug info,
2855 2015-04-29 Doug Evans <dje@google.com>
2857 * gdb.python/py-xmethods.exp: Add ptype tests.
2858 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2859 get_result_type method.
2861 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2863 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2864 the target does not support hardware watchpoints.
2866 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2868 * gdb.base/break-always.exp: Abort testing if writing to memory
2871 2015-04-28 Doug Evans <dje@google.com>
2873 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2874 * gdb.python/py-pp-registration.exp: ... here. New file.
2875 * gdb.python/py-pp-registration.c: New file.
2876 * gdb.python/py-pp-registration.py: New file.
2878 2015-04-28 Doug Evans <dje@google.com>
2880 * gdb.python/py-bad-printers.c: New file.
2881 * gdb.python/py-bad-printers.py: New file.
2882 * gdb.python/py-bad-printers.exp: New file.
2884 2015-04-28 Sasha Smundak <asmundak@google.com>
2886 * gdb.python/py-type.exp: New test.
2888 2015-04-28 Andy Wingo <wingo@igalia.com>
2890 * gdb.python/py-parameter.exp:
2891 * gdb.guile/scm-parameter.exp: Escape the path that we are
2892 matching against, as it might contain characters that are special
2893 to regular expressions.
2895 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2897 * gdb.ada/rec_comp: New testcase.
2899 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2901 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2904 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2906 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2907 new tests for verilog output.
2909 2015-04-24 Yao Qi <yao.qi@linaro.org>
2911 * boards/remote-gdbserver-on-localhost.exp: New file.
2913 2015-04-23 Pedro Alves <palves@redhat.com>
2915 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2916 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2917 "end of file", remove $inferior_spawn_id from the indirect list.
2919 2015-04-23 Pedro Alves <palves@redhat.com>
2921 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2923 2015-04-23 Pedro Alves <palves@redhat.com>
2925 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2926 on $any_spawn_id instead of only on $gdb_spawn_id.
2928 2015-04-21 Pierre Muller <muller@sourceware.org>
2931 * lib/pascal.exp (gpc_compile): Add new option "class".
2932 (fpc_compile): Likewise.
2933 * gdb.pascal/case-insensitive-symbols.pas: New file.
2934 * gdb.pascal/case-insensitive-symbols.exp: New file.
2936 2015-04-20 Gary Benson <gbenson@redhat.com>
2938 * gdb.base/attach.exp: Fix three extended remote failures.
2940 2015-04-17 Gary Benson <gbenson@redhat.com>
2942 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2943 the main executable over the remote protocol.
2945 2015-04-16 Pedro Alves <palves@redhat.com>
2947 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2948 a new gdbserver if gdbserver_reconnect_p is set.
2950 2015-04-16 Pedro Alves <palves@redhat.com>
2952 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2953 is set, don't exit gdbserver.
2955 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2957 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2958 appropriate .insn, such that an older assembler can be used.
2959 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2960 the z/Architecture instruction set on 31-bit targets as well.
2962 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2964 * gdb.go/handcall.exp: Remove all logic related to the first
2965 breakpoint and rely on go_runto_main instead.
2966 * gdb.go/strings.exp: Likewise.
2967 * gdb.go/unsafe.exp: Likewise.
2968 * gdb.go/hello.exp: Likewise. Also rename the remaining
2969 breakpoint marker to "breakpoint 1".
2970 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2971 * gdb.go/strings.go: Likewise.
2972 * gdb.go/unsafe.go: Likewise.
2973 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2974 "set breakpoint 2 here" and rename the remaining breakpoint marker
2977 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2979 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2980 if itertools.imap is not present.
2981 * gdb.python/py-objfile.exp: Add parentheses.
2982 * gdb.python/py-type.exp: Same.
2983 * gdb.python/py-unwind-maint.py: Same.
2985 2015-04-15 Yao Qi <yao.qi@linaro.org>
2987 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2988 of ":$ptr_size" and set its form explicitly.
2990 2015-04-15 Pedro Alves <palves@redhat.com>
2991 Yao Qi <yao.qi@linaro.org>
2993 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2994 timeout by factor of 4.
2995 (test_regular_watch): Likewise.
2996 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2997 * gdb.reverse/sigall-reverse.exp: Likewise.
2998 * gdb.reverse/until-precsave.exp: Likewise.
2999 * lib/gdb.exp (with_timeout_factor): New proc.
3000 (gdb_expect): Move some code to ...
3001 (get_largest_timeout): ... here. New procedure.
3003 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3005 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3007 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3009 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3010 to write to the .text section.
3012 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3014 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3015 Handle the case of targets that do not provide PID information.
3017 2015-04-13 Yao Qi <yao.qi@linaro.org>
3019 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3020 and use expect instead of gdb_expect.
3022 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3024 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3025 "coredump_var_addr" to avoid naming conflict with other testcases.
3027 2015-04-10 Pedro Alves <palves@redhat.com>
3029 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3030 gdb_test_sequence and gdb_assert.
3032 2015-04-10 Pedro Alves <palves@redhat.com>
3034 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3035 test messages that don't include the breakpoint address.
3037 2015-04-10 Yao Qi <yao.qi@linaro.org>
3039 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3040 false for some offset and width combinations which aren't
3041 supported by linux kernel.
3043 2015-04-10 Pedro Alves <palves@redhat.com>
3045 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3046 procedure, factored out from ...
3047 (top level): ... here. Add "set displaced-stepping" testing axis.
3048 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3049 parameter "displaced". Use it.
3050 (top level): Use foreach and add "set displaced-stepping" testing
3053 2015-04-10 Pedro Alves <palves@redhat.com>
3055 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3057 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3058 both the address of the instruction that triggers the watchpoint
3059 and the address of the instruction immediately after, and use
3060 those addresses for the test. Fix comment.
3062 2015-04-10 Pedro Alves <palves@redhat.com>
3064 * gdb.base/sigstep.exp (breakpoint_to_handler)
3065 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3066 Test "backtrace" in handler.
3067 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3068 (top level): Add new "displaced" test axis to
3069 breakpoint_to_handler, breakpoint_to_handler_entry and
3070 breakpoint_over_handler.
3072 2015-04-10 Pedro Alves <palves@redhat.com>
3075 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3077 2015-04-10 Yao Qi <yao.qi@linaro.org>
3079 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3080 (test_add_rn_pc): New function.
3081 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3082 (top level): Invoke test_add_rn_pc.
3084 2015-04-10 Pedro Alves <palves@redhat.com>
3087 * gdb.base/step-over-no-symbols.exp: New file.
3089 2015-04-09 Andy Wingo <wingo@igalia.com>
3091 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3092 after the Python tests.
3094 2015-04-08 Keith Seitz <keiths@redhat.com>
3097 * gdb.python/py-completion.exp: New tests for completion.
3098 * gdb.python/py-completion.py (CompleteLimit1): New class.
3099 (CompleteLimit2): Likewise.
3100 (CompleteLimit3): Likewise.
3101 (CompleteLimit4): Likewise.
3102 (CompleteLimit5): Likewise.
3103 (CompleteLimit6): Likewise.
3104 (CompleteLimit7): Likewise.
3106 2015-04-08 Pedro Alves <palves@redhat.com>
3110 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3112 (main): Install it as SIGUSR1 handler.
3113 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3114 parameter. Always use "setup" as prefix. Toggle "set
3115 displaced-stepping" off/on depending on global. Don't switch to
3117 (top level): Add displaced stepping "off/on" test axis. Update
3118 "setup" calls. Wrap each subtest with with_test_prefix. Test
3119 continuing with a queued signal in each thread.
3121 2015-04-08 Pedro Alves <palves@redhat.com>
3123 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3124 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3125 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3126 Return early if running to main fails.
3127 * gdb.trace/while-stepping.exp: Likewise.
3129 2015-04-07 Pedro Alves <palves@redhat.com>
3131 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3132 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3133 interact with inferior program.
3135 2015-04-07 Pedro Alves <palves@redhat.com>
3137 * lib/gdb.exp (inferior_spawn_id): New global.
3138 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3139 spawn id after processing the user code.
3140 (default_gdb_start): Set inferior_spawn_id.
3141 (send_inferior): New procedure.
3142 * lib/gdbserver-support.exp (gdbserver_start): Set
3144 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3146 2015-04-07 Pedro Alves <palves@redhat.com>
3148 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3149 * lib/gdbserver-support.exp (gdbserver_start): Make
3150 $server_spawn_id global.
3151 (gdbserver_start): Don't wait for gdbserver's spawn id with
3153 (close_gdbserver): New procedure.
3154 (gdb_exit): Rename the default version and reimplement.
3156 2015-04-07 Pedro Alves <palves@redhat.com>
3158 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3159 append the substituted item, not the original item.
3161 2015-04-07 Pedro Alves <palves@redhat.com>
3163 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3166 2015-04-07 Pedro Alves <palves@redhat.com>
3168 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3169 output appearing once only.
3171 2015-04-07 Pedro Alves <palves@redhat.com>
3173 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3174 that doesn't expect anything. Return early if running to main
3177 2015-04-07 Yao Qi <yao.qi@linaro.org>
3179 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3180 (child_function): Call alarm.
3181 (main): Move call to alarm into the loop.
3182 * gdb.threads/non-stop-fair-events.exp: Build program with
3185 2015-04-06 Doug Evans <xdje42@gmail.com>
3187 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3188 Fix dest parameter to board_info.
3189 (fpc_compile): Ditto.
3190 (gdb_compile_pascal): Rename dest arg to destfile.
3192 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3194 * gdb.ada/funcall_ref.exp: New file.
3195 * gdb.ada/funcall_ref/foo.adb: New file.
3197 2015-04-02 Yao Qi <yao.qi@linaro.org>
3199 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3202 2015-04-02 Gary Benson <gbenson@redhat.com>
3204 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3206 2015-04-01 Sasha Smundak <asmundak@google.com>
3208 * gdb.python/py-unwind-maint.c: New file.
3209 * gdb.python/py-unwind-maint.exp: New test.
3210 * gdb.python/py-unwind-maint.py: New file.
3211 * gdb.python/py-unwind.c: New file.
3212 * gdb.python/py-unwind.exp: New test.
3213 * gdb.python/py-unwind.py: New test.
3215 2015-04-01 Pedro Alves <palves@redhat.com>
3217 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3218 to fail instead of non-existent $test.
3220 2015-04-01 Pedro Alves <palves@redhat.com>
3222 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3223 GDBFLAGS if not empty.
3225 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3227 * gdb.ada/complete.exp: Remove "multi_line".
3228 * gdb.ada/info_exc.exp: Remove "multi_line".
3229 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3230 * gdb.ada/ptype_field.exp: Remove "multi_line".
3231 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3232 * gdb.ada/tagged.exp: Remove "multi_line".
3233 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3235 * gdb.btrace/delta.exp: Likewise.
3236 * gdb.btrace/exception.exp: Likewise.
3237 * gdb.btrace/function_call_history.exp: Likewise.
3238 * gdb.btrace/instruction_history.exp: Likewise.
3239 * gdb.btrace/nohist.exp: Likewise.
3240 * gdb.btrace/record_goto.exp: Likewise.
3241 * gdb.btrace/segv.exp: Likewise.
3242 * gdb.btrace/stepi.exp: Likewise.
3243 * gdb.btrace/tailcall.exp: Likewise.
3244 * gdb.btrace/unknown_functions.exp: Likewise.
3245 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3246 * lib/gdb.exp: Add the "multi_line" helper.
3248 2015-04-01 Pedro Alves <palves@redhat.com>
3250 * gdb.threads/tid-reuse.c: New file.
3251 * gdb.threads/tid-reuse.exp: New file.
3253 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3256 * gdb.base/coredump-filter.c: New file.
3257 * gdb.base/coredump-filter.exp: Likewise.
3259 2015-03-27 Petr Machata <pmachata@redhat.com>
3261 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3262 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3263 (Dwarf::assemble): Initialize them.
3264 (Dwarf::lines): New function.
3266 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3268 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3269 SYMBOL_PREFIX for x86_64-*-cygwin.
3271 2015-03-26 Andy Wingo <wingo@igalia.com>
3274 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3275 const_value but not a location.
3276 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3277 location defined in non-main CUs are visible.
3279 2015-03-26 Yao Qi <yao.qi@linaro.org>
3282 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3283 Add a line number entry for the same line.
3284 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3285 Add a line number entry for the same line.
3287 2015-03-26 Yao Qi <yao.qi@linaro.org>
3289 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3291 (func): Likewise. Add .Lfunc_1 label.
3293 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3298 2015-03-26 Yao Qi <yao.qi@linaro.org>
3300 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3301 Call gdb_compile instead to compile each .s files without debug
3304 2015-03-26 Yao Qi <yao.qi@linaro.org>
3306 * gdb.base/savedregs.exp (process_saved_regs): Make
3307 "Saved registers:" optional in the pattern.
3309 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3311 * gdb.btrace/next.exp: Merged into step.exp.
3312 * gdb.btrace/finish.exp: Merged into step.exp.
3313 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3314 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3315 "record goto" and checking the exact replay position.
3316 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3317 check for "Recording format" in "info record" output.
3318 * gdb.btrace/record_goto.exp: Choose test file based on target.
3319 * gdb.btrace/x86-record_goto.S: Renamed into ...
3320 * gdb.btrace/x86_64-record_goto.S: ... this.
3321 * gdb.btrace/i686-record_goto.S: New.
3322 * gdb.btrace/x86-tailcall.S: Renamed into ...
3323 * gdb.btrace/x86_64-tailcall.S: ... this.
3324 * gdb.btrace/i686-tailcall.S: New.
3325 * gdb.btrace/x86-tailcall.c: Renamed into ...
3326 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3327 separate statements. Update test.
3328 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3329 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3330 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3331 * gdb.btrace/tailcall.exp: Choose test file based on target.
3332 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3334 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3336 * gdb.btrace/exception.exp: Increase BTS buffer size.
3338 2015-03-24 Pedro Alves <palves@redhat.com>
3340 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3342 2015-03-24 Pedro Alves <palves@redhat.com>
3344 * gdb.threads/schedlock.exp (test_step): No longer expect that
3345 "set scheduler-locking step" with "next" over a function call runs
3348 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3350 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3352 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3354 PR breakpoints/16466
3355 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3356 * gdb.mi/mi-pending.c (thread_func): New function.
3357 (int main): Add threading support required.
3358 * gdb.mi/mi-pending.exp: Add tests for this issue.
3359 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3360 (pendfunc2): Remove stdio dependency.
3361 * gdb.mi/mi-pendshr2.c: New file.
3363 2015-03-23 Keith Seitz <keiths@redhat.com>
3365 * gdb.linespec/keywords.c: New file.
3366 * gdb.linespec/keywords.exp: New file.
3368 2015-03-23 Keith Seitz <keiths@redhat.com>
3371 * gdb.dwarf2/staticvirtual.exp: New test.
3373 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3375 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3376 * README: Remove HP-UX and gdb.hp.
3378 * configure: Regenerate.
3379 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3380 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3381 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3382 gdb.hp/gdb.defects/Makefile.
3383 * gdb.hp/Makefile.in: File deleted.
3384 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3385 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3386 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3387 * gdb.hp/gdb.aCC/run.c: File deleted.
3388 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3389 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3390 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3391 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3392 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3393 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3394 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3395 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3396 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3397 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3398 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3399 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3400 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3401 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3402 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3403 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3404 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3405 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3406 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3407 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3408 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3409 * gdb.hp/gdb.compat/average.c: File deleted.
3410 * gdb.hp/gdb.compat/sum.c: File deleted.
3411 * gdb.hp/gdb.compat/xdb.c: File deleted.
3412 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3413 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3414 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3415 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3416 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3417 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3418 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3419 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3420 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3421 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3422 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3423 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3424 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3425 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3426 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3427 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3428 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3429 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3430 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3431 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3432 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3433 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3434 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3435 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3436 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3437 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3438 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3439 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3440 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3441 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3442 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3443 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3444 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3445 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3446 * gdb.hp/tools/odump: File deleted.
3448 2015-03-19 Pedro Alves <palves@redhat.com>
3450 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3451 (saw_thread_3): New globals.
3452 (top level): Increment them when an event for the corresponding
3454 (no thread starvation): New test.
3456 2015-03-19 Pedro Alves <palves@redhat.com>
3458 * gdb.threads/continue-pending-status.c: New file.
3459 * gdb.threads/continue-pending-status.exp: New file.
3461 2015-03-18 Pedro Alves <palves@redhat.com>
3463 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3464 Use gdb_is_target_remote instead of is_remote. Use
3465 gdb_test_multiple instead of gdb_expect. Exit early if
3466 gdb_test_multiple hits its internal matches. Tighten stepi tests
3467 expected output. Fail on exit with any signal, instead of just
3470 2015-03-18 Yao Qi <yao.qi@linaro.org>
3473 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3475 * gdb.base/catch-syscall.exp: Don't skip it on
3476 aarch64*-*-linux* target. Remove elements in all_syscalls.
3477 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3479 (setup_all_syscalls): New proc.
3481 2015-03-16 Yao Qi <yao.qi@linaro.org>
3483 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3484 (top level): Skip tests if valid_addr_p returns false for
3487 2015-03-11 Andy Wingo <wingo@igalia.com>
3489 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3491 2015-03-11 Yao Qi <yao.qi@linaro.org>
3493 * gdb.base/catch-syscall.exp: Fix typo in comments.
3495 2015-03-11 Yao Qi <yao.qi@linaro.org>
3497 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3499 2015-03-09 Pedro Alves <palves@redhat.com>
3501 * dg-extract-results.py: Delete.
3503 2015-03-09 Pedro Alves <palves@redhat.com>
3505 Merge dg-extract-results.sh from GCC upstream (r218843).
3507 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3508 * dg-extract-results.sh: Use --text with grep to avoid issues with
3509 binary files. Fall back to cat -v, if that doesn't work.
3511 2015-03-05 Pedro Alves <palves@redhat.com>
3513 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3515 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3517 * lib/mi-support.exp (mi_expect_interrupt): Accept
3518 alternative event for when in all-stop mode.
3520 2015-03-04 Pedro Alves <palves@redhat.com>
3522 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3524 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3526 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3528 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3530 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3531 regexps for GDB's current line display, accept a hex address
3532 preceding the line number.
3534 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3536 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3537 the 'arch1' variable for "s390*-linux*" targets.
3539 2015-03-04 Pedro Alves <palves@redhat.com>
3541 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3542 (main): Pass missing retval argument to pthread_join call.
3544 2015-03-02 Pedro Alves <palves@redhat.com>
3546 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3547 (top level): Call do_test with non-stop as well.
3549 2015-03-02 Pedro Alves <palves@redhat.com>
3551 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3554 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3556 * gdb.arch/s390-vregs.exp: New test.
3557 * gdb.arch/s390-vregs.S: New file.
3559 2015-02-27 Pedro Alves <palves@redhat.com>
3561 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3562 call to catch_command_errors.
3563 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3564 catch_command_errors.
3566 2015-02-27 Pedro Alves <palves@redhat.com>
3568 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3569 "true" for boolean result.
3570 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3573 2015-02-27 Pedro Alves <palves@redhat.com>
3575 * lib/unbuffer_output.c: New file.
3576 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3577 (main): Call gdb_unbuffer_output.
3579 2015-02-27 Yao Qi <yao.qi@linaro.org>
3581 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3584 2015-02-26 Doug Evans <dje@google.com>
3586 * gdb.cp/class2.cc (Dbase, D): New classes.
3587 (main): New local delta.
3588 * gdb.cp/class2.exp: Test printing delta.
3589 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3590 (dynbar): New global.
3591 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3593 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3595 * gdb.compile/compile-ifunc.c: New file.
3596 * gdb.compile/compile-ifunc.exp: New file.
3598 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3600 * gdb.base/structs.exp: Check for correct struct on finish.
3602 2015-02-26 Yao Qi <yao.qi@linaro.org>
3604 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3607 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3609 * gdb.arch/cordic.ko.bz2: New file.
3610 * gdb.arch/cordic.ko.debug.bz2: New file.
3611 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3613 2015-02-25 Yao Qi <yao.qi@linaro.org>
3615 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3616 aarch64*-*-* target.
3618 2015-02-23 Pedro Alves <palves@redhat.com>
3620 * lib/gdb.exp (delete_breakpoints): Rewrite using
3623 2015-02-23 Pedro Alves <palves@redhat.com>
3625 * gdb.base/info-os.c: Include stdlib.h.
3627 2015-02-22 Doug Evans <xdje42@gmail.com>
3630 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3631 is read after symbols have been re-read.
3632 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3633 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3635 2015-02-21 Doug Evans <dje@google.com>
3637 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3639 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3642 * gdb.arch/i386-biarch-core.core.bz2: New file.
3643 * gdb.arch/i386-biarch-core.exp: New file.
3645 2015-02-21 Pedro Alves <palves@redhat.com>
3647 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3650 2015-02-20 Pedro Alves <palves@redhat.com>
3652 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3655 2015-02-20 Pedro Alves <palves@redhat.com>
3657 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3659 2015-02-20 Pedro Alves <palves@redhat.com>
3661 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3662 clean_restart before gdb_target_supports_trace.
3664 2015-02-20 Pedro Alves <palves@redhat.com>
3667 * gdb.threads/clone-thread_db.c: New file.
3668 * gdb.threads/clone-thread_db.exp: New file.
3670 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3672 PR breakpoints/16812
3673 * gdb.base/catch-gdb-caused-signals.c: New file.
3674 * gdb.base/catch-gdb-caused-signals.exp: New file.
3676 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3678 * configure: Regenerated.
3679 * configure.ac: Use GDB_AC_TRANSFORM.
3680 * aclocal.m4: sinclude ../transform.m4.
3682 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3684 * lib/dtrace.exp: New file.
3685 * gdb.base/dtrace-probe.exp: Likewise.
3686 * gdb.base/dtrace-probe.d: Likewise.
3687 * gdb.base/dtrace-probe.c: Likewise.
3688 * lib/pdtrace.in: Likewise.
3689 * configure.ac: Output variables with the transformed names of
3690 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3691 * configure: Regenerated.
3693 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3695 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3696 expected message when trying to access $_probe_* convenience
3697 variables while not on a probe.
3699 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3701 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3703 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3705 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3706 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3708 2015-02-10 Doug Evans <xdje42@gmail.com>
3710 * lib/gdb.exp (gdb_load): Always return a result.
3712 2015-02-10 Pedro Alves <palves@redhat.com>
3714 * gdb.threads/signal-sigtrap.c: New file.
3715 * gdb.threads/signal-sigtrap.exp: New file.
3717 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3719 * gdb.trace/no-attach-trace.c: New file.
3720 * gdb.trace/no-attach-trace.exp: New file.
3722 2015-02-09 Mark Wielaard <mjw@redhat.com>
3724 * gdb.dwarf2/atomic.c: New file.
3725 * gdb.dwarf2/atomic-type.exp: Likewise.
3727 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3729 * gdb.btrace/buffer-size.exp: Update "info record" output.
3730 * gdb.btrace/delta.exp: Update "info record" output.
3731 * gdb.btrace/enable.exp: Update "info record" output.
3732 * gdb.btrace/finish.exp: Update "info record" output.
3733 * gdb.btrace/instruction_history.exp: Update "info record" output.
3734 * gdb.btrace/next.exp: Update "info record" output.
3735 * gdb.btrace/nexti.exp: Update "info record" output.
3736 * gdb.btrace/step.exp: Update "info record" output.
3737 * gdb.btrace/stepi.exp: Update "info record" output.
3738 * gdb.btrace/nohist.exp: Update "info record" output.
3740 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3742 * gdb.btrace/buffer-size: New.
3744 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3746 * gdb.btrace/delta.exp: Update "info record" output.
3747 * gdb.btrace/enable.exp: Update "info record" output.
3748 * gdb.btrace/finish.exp: Update "info record" output.
3749 * gdb.btrace/instruction_history.exp: Update "info record" output.
3750 * gdb.btrace/next.exp: Update "info record" output.
3751 * gdb.btrace/nexti.exp: Update "info record" output.
3752 * gdb.btrace/step.exp: Update "info record" output.
3753 * gdb.btrace/stepi.exp: Update "info record" output.
3754 * gdb.btrace/nohist.exp: Update "info record" output.
3756 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3759 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3761 2015-02-06 Pedro Alves <palves@redhat.com>
3763 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3765 (seconds_left, again): New globals.
3766 (main): Wait seconds_left in a 1-second sleep loop instead of
3767 sleeping 180 seconds. If 'again' is set, reset the seconds
3769 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3770 'again' in the inferior before detaching. Print the seconds left.
3771 (options): New global.
3772 (top level): Build program with -DTIMEOUT=$timeout.
3774 2015-02-06 Pedro Alves <palves@redhat.com>
3776 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3777 determine how many seconds to pass to 'alarm'.
3778 * gdb.base/gdb-sigterm.exp (top level): Build program with
3780 (do_test): Return success/failure indication. Add more verbose
3781 logging. Don't fail if 200 single steps are seen. Instead, fail
3782 when the test times out.
3783 (passes): New global.
3784 (top level): Break the testing loop if testing fails on any
3785 iteration. Use gdb_assert.
3787 2015-02-04 Don Breazeal <donb@codesourcery.com>
3789 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3790 and initialize them.
3791 (ipc_cleanup): New function.
3792 (main): Don't declare shmid, semid, and msqid. Add a call to
3793 atexit so that we call ipc_cleanup on exit.
3795 2015-02-04 Pedro Alves <palves@redhat.com>
3797 * boards/native-extended-gdbserver.exp: Remove any target variant
3798 specifications from the board name before clearing the isremote
3799 flag from board_info.
3801 2015-01-31 Doug Evans <xdje42@gmail.com>
3803 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3805 2015-01-31 Gary Benson <gbenson@redhat.com>
3807 * gdb.base/completion.exp: Disable completion limiting for
3808 existing tests. Add new tests to check completion limiting.
3809 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3811 2015-01-31 Doug Evans <xdje42@gmail.com>
3813 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3815 2015-01-31 Doug Evans <xdje42@gmail.com>
3817 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3818 entries. Duplicate file section script entries.
3819 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3820 inlined entries. Add test for safe-path rejection.
3821 * gdb.python/py-section-script.c: Add duplicate inlined section script
3822 entries. Duplicate file section script entries.
3823 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3824 inlined entries. Add test for safe-path rejection.
3826 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3828 * gdb.ada/disc_arr_bound: New testcase.
3830 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3832 * gdb.ada/mi_var_array: New testcase.
3834 2015-01-27 Doug Evans <dje@google.com>
3836 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3837 Add test for objfile.filename, objfile.username after objfile
3840 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3842 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3843 the second test to print the name attribute of value
3844 returned by the call to gdb.lookup_type, and adjust
3845 the expected output accordingly.
3847 2015-01-25 Mark Wielaard <mjw@redhat.com>
3849 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3850 * gdb.base/disp-step-fork.c: Include unistd.h.
3851 * gdb.base/siginfo-obj.c: Include stdio.h.
3852 * gdb.base/siginfo-thread.c: Likewise.
3853 * gdb.mi/non-stop.c: Include unistd.h.
3854 * gdb.mi/nsthrexec.c: Include stdio.h.
3855 * gdb.mi/pthreads.c: Include unistd.h.
3856 * gdb.modula2/unbounded1.c (main): Declare returns int.
3857 * gdb.reverse/consecutive-reverse.c: Likewise.
3858 * gdb.threads/create-fail.c: Include unistd.h.
3859 * gdb.threads/killed.c: Likewise.
3860 * gdb.threads/linux-dp.c: Likewise.
3861 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3862 * gdb.threads/non-ldr-exc-2.c: Likewise.
3863 * gdb.threads/non-ldr-exc-3.c: Likewise.
3864 * gdb.threads/non-ldr-exc-4.c: Likewise.
3865 * gdb.threads/pthreads.c: Include unistd.h.
3866 (main): Declare returns int.
3867 * gdb.threads/tls-main.c (foo): New declaration.
3868 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3870 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3872 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3873 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3875 2015-01-15 Mark Wielaard <mjw@redhat.com>
3877 * gdb.base/noreturn-return.c: New file.
3878 * gdb.base/noreturn-return.exp: New file.
3879 * gdb.base/noreturn-finish.c: New file.
3880 * gdb.base/noreturn-finish.exp: New file.
3882 2015-01-23 Pedro Alves <palves@redhat.com>
3884 * gdb.threads/continue-pending-after-query.c: New file.
3885 * gdb.threads/continue-pending-after-query.exp: New file.
3887 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3888 Simon Marchi <simon.marchi@ericsson.com>
3890 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3891 * gdb.base/valgrind-db-attach.exp: Same.
3892 * gdb.base/valgrind-infcall.exp: Same.
3893 * lib/mi-support.exp (default_mi_gdb_start): Same.
3894 * lib/prompt.exp (default_prompt_gdb_start): Same.
3895 * lib/gdb.exp (default_gdb_spawn): Same.
3896 (gdb_interact): New.
3899 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3901 * gdb.compile/compile.exp (pointer to jit function): New test.
3903 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3905 * lib/gdb.exp (supports_process_record): Return true for
3907 (supports_reverse): Likewise.
3909 2015-01-15 Don Breazeal <donb@codesourcery.com>
3911 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3912 instead of checking whether the target board is remote and
3913 use spawn_wait_for_attach instead of exec/sleep.
3914 * gdb.base/attach-twice.exp: Likewise.
3916 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3918 * gdb.ada/var_arr_attrs: New testcase.
3920 2015-01-14 Pedro Alves <palves@redhat.com>
3921 Joel Brobecker <brobecker@adacore.com>
3924 * gdb.base/bp-cmds-execution-x-script.c: New file.
3925 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3926 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3928 2015-01-14 Pedro Alves <palves@redhat.com>
3931 * gdb.base/batch-preserve-term-settings.c: New file.
3932 * gdb.base/batch-preserve-term-settings.exp: New file.
3934 2015-01-13 Doug Evans <dje@google.com>
3936 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3939 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3941 * Makefile.in (clean mostlyclean): Do not delete *.py.
3943 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3945 * gdb.python/py-lookup-type.exp: New file.
3947 2015-01-12 Pedro Alves <palves@redhat.com>
3949 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3950 restore GDBFLAGS before returning.
3952 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3954 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3955 is_amd64_regs_target and is_x86_like_target.
3957 2015-01-11 Doug Evans <xdje42@gmail.com>
3959 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3960 is given without an explicit form.
3961 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3963 * gdb.dwarf/corrupt.exp: Ditto.
3964 * gdb.dwarf2/enum-type.exp: Ditto.
3965 * gdb.trace/entry-values.exp: Ditto.
3966 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3968 2015-01-11 Doug Evans <xdje42@gmail.com>
3971 * gdb.base/maint.exp: Remove references to "maint demangle".
3972 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3973 Add tests for explicitly specifying language to demangle.
3974 * gdb.dlang/demangle.exp: Ditto.
3976 2015-01-09 Pedro Alves <palves@redhat.com>
3978 * gdb.threads/non-stop-fair-events.c: New file.
3979 * gdb.threads/non-stop-fair-events.exp: New file.
3981 2015-01-09 Pedro Alves <palves@redhat.com>
3983 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3984 the global scope. Set a breakpoint after all threads are started
3985 rather than stepping over two source lines. Expect the prompt.
3986 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3989 (main): Use threads_started_barrier to wait for all threads to
3990 start. Main thread no longer calls thread_function. Exit after
3992 (loop): New function.
3993 (thread_function): Wait on threads_started_barrier barrier. Call
3994 'loop' at each iteration.
3995 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3996 threads have started, instead of hardcoding number of "next"
3997 steps. Use an access watchpoint instead of a write watchpoint.
3999 2015-01-09 Pedro Alves <palves@redhat.com>
4001 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4002 (thread_func): Wait on barrier.
4003 (main): Wait for all threads to start before stopping GDB.
4004 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4006 (thread1_func, thread2_func): Wait on barrier.
4007 (main): Wait for all threads to start before stopping GDB.
4008 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4010 (thread1_func, thread2_func): Wait on barrier.
4011 (main): Wait for all threads to start before stopping GDB.
4013 2015-01-09 Pedro Alves <palves@redhat.com>
4015 * gdb.threads/attach-many-short-lived-threads.c: New file.
4016 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4018 2014-01-09 Pedro Alves <palves@redhat.com>
4020 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4021 instead of to thread 2.
4022 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4023 Add barrier around each pthread_create call instead of around all
4025 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4026 Set a break on thread_function and have the child threads hit it
4029 2015-01-09 Pedro Alves <palves@redhat.com>
4031 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4032 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4034 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4035 checking whether the target board is remote.
4036 * gdb.multi/multi-attach.exp: Likewise.
4037 * gdb.python/py-sync-interp.exp: Likewise.
4038 * gdb.server/ext-attach.exp: Likewise.
4039 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4040 tests that need to attach, instead of checking whether the target
4041 board is remote at the top of the file.
4043 2015-01-08 Yao Qi <yao@codesourcery.com>
4045 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4047 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4049 Fix testcase compilation.
4050 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4052 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4054 * gdb.python/py-type.exp: Add a couple test about empty
4055 array creation, and negative-length array creation.
4057 2015-01-02 Doug Evans <xdje42@gmail.com>
4059 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4061 2015-01-02 Doug Evans <dje@google.com>
4063 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4065 2014-12-29 Yao Qi <yao@codesourcery.com>
4067 * gdb.trace/entry-values.exp: Update comments. Rename variable
4068 bar_call_foo to returned_from_foo.
4070 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4073 * gdb.linespec/break-asm-file.c: New file.
4074 * gdb.linespec/break-asm-file.exp: New file.
4075 * gdb.linespec/break-asm-file0.s: New file.
4076 * gdb.linespec/break-asm-file1.s: New file.
4078 2014-12-18 Nigel Stephens <nigel@mips.com>
4079 Maciej W. Rozycki <macro@codesourcery.com>
4081 * gdb.base/float.exp: Handle the new output from "info float" on
4084 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4086 Fix MinGW compilation.
4087 * gdb.compile/compile-ops.exp: Update untested message if
4088 !skip_compile_feature_tests.
4089 * gdb.compile/compile-setjmp.exp: Likewise.
4090 * gdb.compile/compile-tls.exp: Likewise.
4091 * gdb.compile/compile.exp: Likewise.
4092 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4093 supported on this host".
4095 2014-12-16 Doug Evans <xdje42@gmail.com>
4097 * boards/stabs.exp: New file.
4099 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4101 * gdb.base/completion.exp: Adjust to format changes of "maint
4102 print user-registers".
4104 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4107 * gdb.arch/aarch64-fp.c: New file.
4108 * gdb.arch/aarch64-fp.exp: New file.
4110 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4112 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4113 r210637, r210913, r211666, r215400, r215817).
4115 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4116 * dg-extract-results.py: New file.
4117 * dg-extract-results.sh: Use it if the environment seems
4120 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4122 * dg-extract-results.py (parse_run): Handle warnings that
4123 are printed before a test harness is run.
4125 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4127 * dg-extract-results.py (Named): Remove __cmp__ method.
4128 (output_variation): Use a key to sort variation.harnesses.
4130 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4132 * dg-extract-results.py: For Python 3, force sys.stdout to
4133 handle surrogate escape sequences.
4134 (safe_open): New function.
4135 (output_segment, main): Use it.
4137 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4139 * dg-extract-results.py (Prog.result_re): Include options
4142 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4144 * dg-extract-results.py (output_variation): Always sort if
4147 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4149 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4150 as long as we get pagination notifications.
4152 2014-12-15 Jason Merrill <jason@redhat.com>
4154 * Makefile.in (check-gdb.%): Restore.
4155 * README: Mention it.
4157 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4159 * gdb.ada/str_uninit: New testcase.
4161 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4164 * gdb.base/vla-stub-define.c: New file.
4165 * gdb.base/vla-stub.c: New file.
4166 * gdb.base/vla-stub.exp: New file.
4168 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4169 Jan Kratochvil <jan.kratochvil@redhat.com>
4170 Tom Tromey <tromey@redhat.com>
4172 * configure.ac: Add gdb.compile/.
4173 * configure: Regenerate.
4174 * gdb.compile/Makefile.in: New file.
4175 * gdb.compile/compile-ops.exp: New file.
4176 * gdb.compile/compile-ops.c: New file.
4177 * gdb.compile/compile-tls.c: New file.
4178 * gdb.compile/compile-tls.exp: New file.
4179 * gdb.compile/compile-constvar.S: New file.
4180 * gdb.compile/compile-constvar.c: New file.
4181 * gdb.compile/compile-mod.c: New file.
4182 * gdb.compile/compile-nodebug.c: New file.
4183 * gdb.compile/compile-setjmp-mod.c: New file.
4184 * gdb.compile/compile-setjmp.c: New file.
4185 * gdb.compile/compile-setjmp.exp: New file.
4186 * gdb.compile/compile-shlib.c: New file.
4187 * gdb.compile/compile.c: New file.
4188 * gdb.compile/compile.exp: New file.
4189 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4191 2014-12-12 Tom Tromey <tromey@redhat.com>
4193 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4194 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4196 2014-12-12 Doug Evans <dje@google.com>
4198 * lib/gdb-python.exp (get_python_valueof): New function.
4199 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4201 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4203 * gdb.base/completion.exp: Add test for completion of "info
4206 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4208 * gdb.base/func-ptrs.c: New file.
4209 * gdb.base/func-ptrs.exp: New file.
4211 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4213 PR breakpoints/17012
4214 * gdb.base/dprintf-detach.c: New file.
4215 * gdb.base/dprintf-detach.exp: New file.
4217 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4219 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4220 * lib/gdb.exp (target_is_gdbserver): New procedure.
4222 2014-12-08 Doug Evans <dje@google.com>
4224 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4226 2014-12-05 Yao Qi <yao@codesourcery.com>
4228 * gdb.guile/scm-error.exp: Remove the third argument to
4229 gdb_remote_download.
4230 * gdb.guile/scm-frame-args.exp: Likewise.
4231 * gdb.guile/scm-section-script.exp: Likewise.
4233 2014-12-05 Yao Qi <yao@codesourcery.com>
4235 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4237 2014-12-04 Doug Evans <dje@google.com>
4239 * gdb.python/py-objfile.exp: Add tests for
4240 objfile.add_separate_debug_file.
4242 2014-12-04 Doug Evans <dje@google.com>
4244 * lib/gdb.exp (get_build_id): New function.
4245 (build_id_debug_filename_get): Rewrite to use it.
4246 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4248 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4250 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4251 `method(long)', not just 0x0.
4252 * gdb.cp/nsalias.exp: Align code labels to 4.
4253 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4254 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4255 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4256 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4257 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4258 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4260 2014-12-02 Doug Evans <dje@google.com>
4263 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4264 * gdb.cp/anon-ns2.cc: ... here. New file.
4265 * gdb.cp/anon-ns.exp: Update.
4267 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4269 * gdb.python/py-events.py (inferior_call_handler): New.
4270 (register_changed_handler, memory_changed_handler): New.
4271 (test_events.invoke): Register new handlers.
4272 * gdb.python/py-events.exp: Add tests for inferior call,
4273 memory_changed and register_changed events.
4275 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4277 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4278 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4279 if the linker doesn't understand this.
4281 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4283 * gdb.python/python.exp: Change expected reply to help().
4285 2014-12-01 Yao Qi <yao@codesourcery.com>
4287 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4288 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4289 * configure: Re-generated.
4291 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4293 * gdb.cp/chained-calls.cc: New file.
4294 * gdb.cp/chained-calls.exp: New file.
4295 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4297 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4299 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4300 * gdb.dwarf2/symtab-producer.exp: Same.
4301 * gdb.gdb/python-interrupts.exp: Same.
4302 * gdb.gdb/python-selftest.exp: Same.
4303 * gdb.python/py-linetable.exp: Same.
4304 * gdb.python/py-type.exp: Same.
4305 * gdb.python/py-value-cc.exp: Same.
4306 * gdb.python/py-value.exp: Same.
4308 2014-11-28 Yao Qi <yao@codesourcery.com>
4310 * gdb.base/break-probes.exp: Match library name prefixed with
4313 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4315 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4316 test expected output. Add parentheses for the call to print.
4317 Remove L suffix from integers.
4319 2014-11-26 Doug Evans <dje@google.com>
4321 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4323 2014-11-22 Yao Qi <yao@codesourcery.com>
4325 * gdb.trace/entry-values.c: Remove asms.
4326 (foo): Add foo_label.
4327 (bar): Add bar_label.
4328 * gdb.trace/entry-values.exp: Remove code computing foo's
4329 length and bar's length.
4330 (Dwarf::assemble): Invoke function_range for bar and use
4331 MACRO_AT_func for foo.
4333 2014-11-22 Yao Qi <yao@codesourcery.com>
4335 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4336 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4337 Use .Lgcc43_procstart instead of gcc43.
4339 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4341 * gdb.ada/n_arr_bound: New testcase.
4343 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4345 PR breakpoints/10737
4346 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4347 test_catch_syscall_multi_arch.
4348 (test_catch_syscall_multi_arch): New function.
4350 2014-11-20 Doug Evans <xdje42@gmail.com>
4352 * gdb.base/maint.exp: Update expected output.
4354 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4356 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4357 4-byte instruction on S390.
4359 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4361 * gdb.ada/arr_arr: New testcase.
4363 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4365 * gdb.ada/pkd_arr_elem: New Testcase.
4367 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4369 * gdb.reverse/break-precsave: Expect completion message for
4371 * gdb.reverse/consecutive-precsave.exp: Likewise.
4372 * gdb.reverse/finish-precsave.exp: Likewise.
4373 * gdb.reverse/i386-precsave.exp: Likewise.
4374 * gdb.reverse/machinestate-precsave.exp: Likewise.
4375 * gdb.reverse/sigall-precsave.exp: Likewise.
4376 * gdb.reverse/solib-precsave.exp: Likewise.
4377 * gdb.reverse/step-precsave.exp: Likewise.
4378 * gdb.reverse/until-precsave.exp: Likewise.
4379 * gdb.reverse/watch-precsave.exp: Likewise.
4381 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4383 * gdb.base/bp-permanent.c: Include unistd.h.
4384 * gdb.python/py-framefilter-mi.c (main): Add return type.
4385 * gdb.python/py-framefilter.c (main): Likewise.
4386 * gdb.trace/actions-changed.c (main): Likewise.
4388 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4390 * gdb.mi/until.c: Add eye-catchers.
4391 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4394 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4396 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4397 function header variants in break1.c.
4398 * gdb.base/ena-dis-br.exp: Likewise.
4399 * gdb.base/hbreak2.exp: Likewise.
4400 * gdb.reverse/until-precsave.exp: Drop references to removed
4401 non-prototype function header variants in ur1.c.
4402 * gdb.reverse/until-reverse.exp: Likewise.
4404 2014-11-17 Petr Machata <pmachata@redhat.com>
4406 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4407 ${_cu_offset_size} bytes abbrev offset.
4409 2014-11-15 Doug Evans <xdje42@gmail.com>
4412 * gdb.base/line-symtabs.exp: New file.
4413 * gdb.base/line-symtabs.c: New file.
4414 * gdb.base/line-symtabs.h: New file.
4416 2014-11-14 Yao Qi <yao@codesourcery.com>
4418 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4419 (func): Add label func_label.
4420 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4421 Replace low_pc and high_pc with MACRO_AT_range.
4422 Replace name, low_pc and high_pc with MACRO_AT_func.
4424 2014-11-14 Yao Qi <yao@codesourcery.com>
4426 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4427 Replace name, low_pc and high_pc with MACRO_AT_func.
4429 2014-11-14 Yao Qi <yao@codesourcery.com>
4431 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4432 produce debug information.
4433 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4435 2014-11-14 Yao Qi <yao@codesourcery.com>
4437 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4438 object and get function length.
4439 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4441 (top-level): Replace gdb_compile and clean_restart with
4442 prepare_for_testing.
4443 * gdb.dwarf2/main.c (main): Add label main_label.
4445 2014-11-14 Yao Qi <yao@codesourcery.com>
4447 * lib/dwarf.exp (function_range): New procedure.
4448 (Dwarf::_handle_macro_at_func): New procedure.
4449 (Dwarf::_handle_macro_at_range): New procedure.
4450 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4452 2014-11-14 Yao Qi <yao@codesourcery.com>
4454 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4455 (_handle_attribute): New procedure.
4457 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4459 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4460 * gdb.base/call-sc.c (zed): Likewise.
4461 * gdb.base/checkpoint.c (main): Likewise.
4462 * gdb.base/dump.c (main): Likewise.
4463 * gdb.base/gcore.c (main): Likewise.
4464 * gdb.base/huge.c (main): Likewise.
4465 * gdb.base/multi-forks.c (main): Likewise.
4466 * gdb.base/pr10179-a.c (main): Likewise.
4467 * gdb.base/savedregs.c (main): Likewise.
4468 * gdb.base/sigaltstack.c (main): Likewise.
4469 * gdb.base/siginfo.c (main): Likewise.
4470 * gdb.base/structs.c (zed): Likewise.
4471 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4472 * gdb.mi/mi-syn-frame.c (main): Likewise.
4473 * gdb.mi/until.c (foo, main): Likewise.
4474 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4475 * gdb.base/solib-weak.c (foo): Declare.
4476 * gdb.base/attach-twice.c: Include stdio.h.
4477 * gdb.base/weaklib1.c: Likewise.
4478 * gdb.base/weaklib2.c: Likewise.
4479 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4480 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4482 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4483 * gdb.mi/mi-exit-code.c: Likewise.
4484 * gdb.base/break-interp-lib.c: Include string.h.
4485 * gdb.base/coremaker.c: Likewise.
4486 * gdb.base/testenv.c: Likewise.
4487 * gdb.python/py-finish-breakpoint.c: Likewise.
4488 * gdb.base/inferior-died.c: Include sys/wait.h.
4489 * gdb.base/fileio.c: Include time.h.
4490 * gdb.base/async-shell.c: Include unistd.h.
4491 * gdb.base/dprintf-non-stop.c: Likewise.
4492 * gdb.base/info-os.c: Likewise.
4493 * gdb.mi/mi-console.c: Likewise.
4494 * gdb.mi/watch-nonstop.c: Likewise.
4495 * gdb.python/py-events.c: Likewise.
4496 * gdb.base/async.c (baz): Move up before its invocation.
4497 * gdb.base/code_elim2.c (my_global_func): Likewise.
4498 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4499 * gdb.base/advance.c (func2): Likewise.
4501 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4503 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4505 * gdb.base/annota3.c: Likewise.
4506 * gdb.base/async.c: Likewise.
4507 * gdb.base/average.c: Likewise.
4508 * gdb.base/call-ar-st.c: Likewise.
4509 * gdb.base/call-rt-st.c: Likewise.
4510 * gdb.base/call-sc.c: Likewise.
4511 * gdb.base/call-strs.c: Likewise.
4512 * gdb.base/ending-run.c: Likewise.
4513 * gdb.base/execd-prog.c: Likewise.
4514 * gdb.base/exprs.c: Likewise.
4515 * gdb.base/foll-exec.c: Likewise.
4516 * gdb.base/foll-fork.c: Likewise.
4517 * gdb.base/foll-vfork.c: Likewise.
4518 * gdb.base/funcargs.c: Likewise.
4519 * gdb.base/gcore.c: Likewise.
4520 * gdb.base/jump.c: Likewise.
4521 * gdb.base/langs0.c: Likewise.
4522 * gdb.base/langs1.c: Likewise.
4523 * gdb.base/langs2.c: Likewise.
4524 * gdb.base/mips_pro.c: Likewise.
4525 * gdb.base/nodebug.c: Likewise.
4526 * gdb.base/opaque0.c: Likewise.
4527 * gdb.base/opaque1.c: Likewise.
4528 * gdb.base/recurse.c: Likewise.
4529 * gdb.base/run.c: Likewise.
4530 * gdb.base/scope0.c: Likewise.
4531 * gdb.base/scope1.c: Likewise.
4532 * gdb.base/setshow.c: Likewise.
4533 * gdb.base/setvar.c: Likewise.
4534 * gdb.base/shmain.c: Likewise.
4535 * gdb.base/shr1.c: Likewise.
4536 * gdb.base/shr2.c: Likewise.
4537 * gdb.base/sigall.c: Likewise.
4538 * gdb.base/signals.c: Likewise.
4539 * gdb.base/so-indr-cl.c: Likewise.
4540 * gdb.base/solib2.c: Likewise.
4541 * gdb.base/structs.c: Likewise.
4542 * gdb.base/sum.c: Likewise.
4543 * gdb.base/vforked-prog.c: Likewise.
4544 * gdb.base/watchpoint.c: Likewise.
4545 * gdb.reverse/shr2.c: Likewise.
4546 * gdb.reverse/until-reverse.c: Likewise.
4547 * gdb.reverse/ur1.c: Likewise.
4548 * gdb.reverse/watch-reverse.c: Likewise.
4550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4552 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4554 * gdb.base/sepdebug.exp: Drop references to removed code.
4556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4558 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4559 variant. Preserve original line numbering.
4560 * gdb.base/list1.c: Likewise.
4562 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4564 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4566 * gdb.base/break1.c: Likewise.
4567 * gdb.base/break.exp: Drop references to removed code.
4569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4571 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4574 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4576 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4578 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4581 logic into perform_all_tests() and invoke it with and without
4582 function header prototypes.
4583 (do_function_calls): Remove conditional XFAIL for PR 5318.
4584 (rerun_and_prepare): Remove duplicate code.
4585 (perform_all_tests): New. Main logic moved here.
4587 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4589 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4590 code guarded by #ifdef NO_PROTOTYPES.
4591 (t_double_many_args): Likewise.
4592 (DEF_FUNC_MANY_ARGS_1): Likewise.
4593 (DEF_FUNC_VALUES_1): Likewise.
4594 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4595 guarded by #ifdef PROTOTYPES.
4597 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4599 * gdb.mi/mi-console.c: Add eye-catcher.
4600 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4601 instead of literal line number.
4603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605 * gdb.base/shr2.c: Add eye-catcher.
4606 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4609 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4611 * gdb.base/jump.c: Add eye-catchers.
4612 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4615 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4617 * gdb.base/execd-prog.c: Add eye-catchers.
4618 * gdb.base/foll-exec.c: Likewise.
4619 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4622 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4624 * gdb.base/ending-run.c: Add eye-catchers.
4625 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4626 literal line numbers.
4628 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4630 * gdb.base/call-rt-st.c: Add eye-catchers.
4631 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4632 literal line numbers.
4634 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4636 * gdb.base/call-ar-st.c: Add eye-catchers.
4637 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4638 literal line numbers.
4640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642 * gdb.base/average.c: Add eye-catchers.
4643 * gdb.base/sum.c: Likewise.
4644 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4645 regexps dynamically.
4647 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4649 * gdb.base/solib1.c: Add eye-catchers.
4650 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4651 literal line numbers.
4653 2014-11-12 Pedro Alves <palves@redhat.com>
4655 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4658 2014-11-12 Pedro Alves <palves@redhat.com>
4660 * gdb.arch/i386-bp_permanent.c: New file.
4661 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4662 (srcfile): Set to i386-bp_permanent.c.
4663 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4664 that stepi does not execute the 'leave' instruction, instead of
4665 testing it does execute.
4666 * gdb.base/bp-permanent.c: New file.
4667 * gdb.base/bp-permanent.exp: New file.
4669 2014-11-10 Doug Evans <xdje42@gmail.com>
4672 * gdb.base/symtab-search-order.exp: New file.
4673 * gdb.base/symtab-search-order.c: New file.
4674 * gdb.base/symtab-search-order-1.c: New file.
4675 * gdb.base/symtab-search-order-shlib-1.c: New file.
4677 2014-11-07 Pedro Alves <palves@redhat.com>
4680 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4683 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4686 * gdb.cp/pr17494.cc: New file.
4687 * gdb.cp/pr17494.exp: New file.
4689 2014-11-02 Yao Qi <yao@codesourcery.com>
4691 * gdb.python/python.exp: Get working directory and match the
4692 output of "set extended-prompt \\w " with it.
4694 2014-10-30 Doug Evans <dje@google.com>
4696 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4698 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4701 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4703 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4704 * gdb.base/realname-expand.exp: Likewise.
4705 * gdb.linespec/macro-relative.exp: Likewise.
4707 2014-10-29 Pedro Alves <palves@redhat.com>
4710 * gdb.threads/schedlock.c (some_function): New function.
4711 (call_function): New global.
4712 (MAYBE_CALL_SOME_FUNCTION): New macro.
4713 (thread_function): Call it.
4714 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4715 and use it instead of a global counter. Adjust all callers.
4716 (get_current_thread): Use "find current thread" for test message
4717 here rather than having all callers pass down the same string.
4718 (goto_loop): New procedure, factored out from ...
4719 (my_continue): ... this.
4720 (step_ten_loops): Change parameter from test message to command to
4722 (list_count): Delete global.
4723 (check_result): New procedure, factored out from duplicate top
4725 (continue tests): Wrap in with_test_prefix.
4726 (test_step): New procedure, factored out from duplicate top level
4728 (top level): Test "step" in combination with all scheduler-locking
4729 modes. Test "next" in combination with all scheduler-locking
4730 modes, and in combination with stepping over a function call or
4732 * gdb.threads/next-bp-other-thread.c: New file.
4733 * gdb.threads/next-bp-other-thread.exp: New file.
4735 2014-10-29 Pedro Alves <palves@redhat.com>
4738 * gdb.python/python.exp: Test a multi-line command that spawns
4740 * gdb.base/multi-line-starts-subshell.exp: New file.
4742 2014-10-29 Yao Qi <yao@codesourcery.com>
4744 * gdb.base/fileio.exp: Make directories on host.
4746 2014-10-29 Yao Qi <yao@codesourcery.com>
4748 * gdb.base/fileio.c (test_write): Close the file.
4750 2014-10-28 Pedro Alves <palves@redhat.com>
4753 * gdb.base/sigstep.c (no_handler): New global.
4754 (main): If 'no_handler is true, set the signal handlers to
4756 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4757 with_sw_watch and no_handler parameters. Handle them.
4758 (top level) <stepping over handler when stopped at a breakpoint
4759 test>: Add a test axis for testing with a software watchpoint, and
4760 another for testing with the signal handler set to SIG_IGN.
4761 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4762 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4764 2014-10-28 Pedro Alves <palves@redhat.com>
4767 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4768 * gdb.base/sigstep.exp (other_handler_location): New global.
4769 (advance): Support stepping into the signal handler, and running
4770 commands while in the handler.
4771 (in_handler_map): New global.
4772 (top level): In the advance test, add combinations for getting
4773 into the handler with stepping commands, and for running commands
4774 in the handler. Add comment descripting the advancei tests.
4776 2014-10-28 Pedro Alves <palves@redhat.com>
4778 * gdb.base/sigstep.exp: Use build_executable instead of
4779 prepare_for_testing.
4780 (top level): Move code that starts GDB, runs to main and creates a
4782 (restart): ... this new procedure.
4783 (top level): Move backtrace from signal handler test to ...
4784 (validate_backtrace): ... this new procedure.
4785 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4786 with_test_prefix. Always restart GDB.
4787 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4788 with_test_prefix. Always restart GDB. No need to delete
4789 breakpoints after the test.
4790 (test_skip_handler): Remove prefix parameter.
4791 (skip_over_handler, breakpoint_to_handler)
4792 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4793 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4794 restart GDB. No need to delete breakpoints after the test.
4795 (top level): Use foreach to call the test procedures with
4798 2014-10-28 Pedro Alves <palves@redhat.com>
4800 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4801 instead of GNATS numbers.
4802 * gdb.base/sigbpt.exp: Likewise.
4803 * gdb.base/siginfo.exp: Likewise.
4804 * gdb.base/sigstep.exp: Likewise.
4806 2014-10-27 Pedro Alves <palves@redhat.com>
4808 * gdb.base/sigstep.c (dummy): New global.
4809 (main): Issue a couple writes to the new global.
4810 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4812 (skip_over_handler): Use test_skip_handler.
4813 (top level): Call skip_over_handler for stepi and nexti too.
4814 (breakpoint_over_handler): Use test_skip_handler.
4815 (top level): Call breakpoint_over_handler for stepi and nexti too.
4817 2014-10-27 Yao Qi <yao@codesourcery.com>
4819 * gdb.trace/tfile.c (adjust_function_address)
4820 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4821 function descriptor.
4823 2014-10-24 Don Breazeal <donb@codesourcery.com>
4825 * gdb.base/foll-fork.exp (test_follow_fork,
4826 catch_fork_child_follow): Check for updated fork messages emitted
4828 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4829 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4830 vfork_and_exec_child_follow_through_step): Check for updated vfork
4831 messages emitted from infrun.c.
4833 2014-10-24 Pedro Alves <palves@redhat.com>
4835 * gdb.base/corefile.exp: Remove references to ultrix.
4836 * gdb.base/interrupt.exp: Likewise.
4837 * gdb.base/whatis.exp: Likewise.
4838 * gdb.gdb/selftest.exp: Likewise.
4839 * gdb.threads/manythreads.exp: Likewise.
4840 * gdb.threads/print-threads.exp: Likewise.
4841 * gdb.threads/pthreads.exp:: Likewise.
4842 * gdb.threads/schedlock.exp: Likewise.
4844 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4846 * gdb.cp/non-trivial-retval.cc: Add a test case.
4847 * gdb.cp/non-trivial-retval.exp: Add a test.
4849 2014-10-20 Yao Qi <yao@codesourcery.com>
4851 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4852 * gdb.python/py-objfile-script-gdb.py: New file.
4853 * gdb.python/py-objfile-script.exp: Update reference to
4854 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4855 of remote_download. Remove the dest file.
4857 2014-10-20 Yao Qi <yao@codesourcery.com>
4859 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4860 * gdb.base/step-line.exp: Likewise.
4861 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4862 * gdb.dwarf2/dw2-basic.exp: Likewise.
4863 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4864 * gdb.dwarf2/dw2-filename.exp: Likewise.
4865 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4866 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4867 * gdb.dwarf2/dw2-producer.exp: Likewise.
4868 * gdb.dwarf2/mac-fileno.exp: Likewise.
4869 * gdb.python/py-frame-args.exp: Likewise.
4870 * gdb.python/py-framefilter.exp: Likewise.
4871 * gdb.python/py-mi.exp: Likewise.
4872 * gdb.python/py-objfile-script.exp: Likewise
4873 * gdb.python/py-pp-integral.exp: Likewise.
4874 * gdb.python/py-pp-re-notag.exp: Likewise.
4875 * gdb.python/py-prettyprint.exp: Likewise.
4876 * gdb.python/py-section-script.exp: Likewise.
4877 * gdb.python/py-typeprint.exp: Likewise.
4878 * gdb.python/py-xmethods.exp: Likewise.
4879 * gdb.stabs/weird.exp: Likewise.
4880 * gdb.xml/tdesc-regs.exp: Likewise.
4882 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4884 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4885 (out_cu): Use addr_len for the size of addresses.
4886 (out_line): Likewise. Size DW_LNE_set_address instruction
4887 according to addr_len.
4888 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4889 (FUNC): Add START_INSNS to definition.
4891 2014-10-18 Yao Qi <yao@codesourcery.com>
4893 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4894 gdb_has_argv0 return true.
4895 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4896 check [target_info exists noargs], check [gdb_has_argv0]
4898 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4899 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4902 2014-10-17 Doug Evans <dje@google.com>
4904 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4906 * gdb.python/py-events.py: Add clear_objfiles event.
4908 2014-10-17 Doug Evans <dje@google.com>
4910 * gdb.python/py-objfile.exp: Test progspace attribute.
4912 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4914 * gdb.guile/scm-breakpoint.exp: Do not assume any
4915 directory separators when matching source file paths.
4916 * gdb.python/py-breakpoint.exp: Likewise.
4917 * gdb.reverse/break-precsave.exp: Likewise.
4918 * gdb.reverse/break-reverse.exp: Likewise.
4919 * gdb.reverse/consecutive-precsave.exp: Likewise.
4920 * gdb.reverse/finish-precsave.exp: Likewise.
4921 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4922 * gdb.reverse/finish-reverse.exp: Likewise.
4923 * gdb.reverse/i386-precsave.exp: Likewise.
4924 * gdb.reverse/i387-env-reverse.exp: Likewise.
4925 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4926 * gdb.reverse/machinestate-precsave.exp: Likewise.
4927 * gdb.reverse/machinestate.exp: Likewise.
4928 * gdb.reverse/sigall-precsave.exp: Likewise.
4929 * gdb.reverse/solib-precsave.exp: Likewise.
4930 * gdb.reverse/step-precsave.exp: Likewise.
4931 * gdb.reverse/until-precsave.exp: Likewise.
4932 * gdb.reverse/watch-precsave.exp: Likewise.
4933 * gdb.reverse/watch-reverse.exp: Likewise.
4935 2014-10-17 Yao Qi <yao@codesourcery.com>
4937 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4938 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4940 2014-10-17 Pedro Alves <palves@redhat.com>
4943 * gdb.base/bg-execution-repeat.c: New file.
4944 * gdb.base/bg-execution-repeat.exp: New file.
4946 2014-10-17 Pedro Alves <palves@redhat.com>
4949 * gdb.base/continue-all-already-running.c: New file.
4950 * gdb.base/continue-all-already-running.exp: New file.
4952 2014-10-17 Pedro Alves <palves@redhat.com>
4955 * gdb.base/annota-input-while-running.c: New file.
4956 * gdb.base/annota-input-while-running.exp: New file.
4958 2014-10-17 Pedro Alves <palves@redhat.com>
4960 * gdb.base/callfuncs.exp: emove references to osf.
4961 * gdb.base/sigall.exp: Likewise.
4962 * gdb.gdb/selftest.exp: Likewise.
4963 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4964 * gdb.mi/non-stop.c: Likewise.
4965 * gdb.mi/pthreads.c: Likewise.
4966 * gdb.reverse/sigall-precsave.exp: Likewise.
4967 * gdb.reverse/sigall-reverse.exp: Likewise.
4968 * gdb.threads/pthreads.c: Likewise.
4969 * gdb.threads/pthreads.exp: Likewise.
4971 2014-10-17 Yao Qi <yao@codesourcery.com>
4973 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4974 check 'target_info exists noargs'.
4975 (test_command_prompt_position): Likewise.
4976 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4978 (progvar_simple_while_test): Likewise.
4979 (progvar_complex_if_while_test): Likewise.
4980 (if_while_breakpoint_command_test): Likewise.
4981 (infrun_breakpoint_command_test): Likewise.
4982 (breakpoint_command_test): Likewise.
4983 (watchpoint_command_test): Likewise.
4984 (bp_deleted_in_command_test): Likewise.
4985 (temporary_breakpoint_commands): Likewise.
4987 2014-10-16 Yao Qi <yao@codesourcery.com>
4989 * gdb.base/remotetimeout.exp: Remove noargs checking.
4991 2014-10-15 Pedro Alves <palves@redhat.com>
4994 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4995 * gdb.base/breakpoint-in-ro-region.exp
4996 (probe_target_hardware_step): New procedure.
4997 (top level): Probe hardware stepping and hardware breakpoint
4998 support. Test stepping through a read-only region, with both
4999 "breakpoint auto-hw" on and off and both "always-inserted" on and
5002 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5004 * gdb.dlang/demangle.exp: Update for demangling changes.
5006 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5008 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5009 * gdb.cp/non-trivial-retval.exp: Add new tests.
5011 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5015 * gdb.cp/non-trivial-retval.cc: New file.
5016 * gdb.cp/non-trivial-retval.exp: New file.
5018 2014-10-15 Yao Qi <yao@codesourcery.com>
5020 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5023 2014-10-15 Yao Qi <yao@codesourcery.com>
5025 * gdb.python/py-symbol.exp: Match file base name if host is
5026 remote, otherwise match file name with dir name.
5027 * gdb.python/py-symtab.exp: Likewise.
5028 * gdb.python/python.exp: Likewise.
5030 2014-10-15 Yao Qi <yao@codesourcery.com>
5032 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5034 * gdb.python/py-symtab.exp: Likewise.
5035 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5038 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5040 * gdb.ada/addr_arith: New testcase.
5042 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5044 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5045 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5046 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5047 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5049 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5051 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5052 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5053 * gdb.arch/stap-eval-lang-ada.exp: New file.
5055 2014-10-14 Yao Qi <yao@codesourcery.com>
5057 * gdb.mi/mi-var-child.c (nothing1): New function.
5058 (nothing2): New function.
5059 (do_children_tests): Set function pointers by nothing1 and
5061 * gdb.mi/mi-var-child.exp: Step over new added statements.
5062 Update test to match the new output.
5063 * gdb.mi/var-cmd.c (nothing1): New function.
5064 (nothing2): New function.
5065 (do_children_tests): Set function pointers by nothing1 and
5067 * gdb.mi/mi-var-display.exp: Update test to match output.
5068 Step to the line specified by $line_dct_nothing.
5069 Increase the number of lines to step.
5071 2014-10-14 Yao Qi <yao@codesourcery.com>
5073 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5075 * gdb.mi/mi2-var-child.exp: Likewise.
5077 2014-10-13 Doug Evans <dje@google.com>
5079 * gdb.python/py-objfile.exp: Change name of file name test.
5081 2014-10-13 Doug Evans <dje@google.com>
5083 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5084 from the start of the CU.
5086 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5087 Yao Qi <yao@codesourcery.com>
5089 Fix "save breakpoints" for "catch" command.
5090 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5091 Remove -nonewline. Match also the added "main" line.
5093 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5095 Fix "save breakpoints" for "disable $bpnum" command.
5096 * gdb.base/save-bp.c (main): Add label.
5097 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5099 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5101 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5103 2014-10-11 Yao Qi <yao@codesourcery.com>
5105 * gdb.server/server-kill.exp: Execute command
5106 "set remote trace-status-packet on" before "tstatus".
5108 2014-10-11 Yao Qi <yao@codesourcery.com>
5110 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5111 (main): Call getppid.
5112 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5113 and continue to it. Read variable "server_pid".
5115 2014-10-11 Yao Qi <yao@codesourcery.com>
5117 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5119 2014-10-11 Yao Qi <yao@codesourcery.com>
5121 * gdb.threads/thread-find.exp: Don't execute command
5123 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5124 * gdb.threads/linux-dp.exp: Don't check the condition
5125 $threads_created equals to zero.
5127 2014-10-10 Pedro Alves <palves@redhat.com>
5129 * gdb.base/bigcore.exp: Remove references to IRIX.
5130 * gdb.base/funcargs.exp: Likewise.
5131 * gdb.base/interrupt.exp: Likewise.
5132 * gdb.base/mips_pro.exp: Likewise.
5133 * gdb.base/nodebug.exp: Likewise.
5134 * gdb.base/setvar.exp: Likewise.
5135 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5137 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5138 Pedro Alves <palves@redhat.com>
5141 * gdb.base/vdso-warning.c: New file.
5142 * gdb.base/vdso-warning.exp: New file.
5144 2014-10-02 Doug Evans <dje@google.com>
5146 * gdb.base/structs.c (main): Don't run forever.
5148 2014-10-02 Pedro Alves <palves@redhat.com>
5150 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5151 (top level) <stop threads 1, stop threads 2>: Use it.
5153 2014-10-02 Pedro Alves <palves@redhat.com>
5155 * gdb.threads/break-while-running.exp (test): Add new
5156 'update_thread_list' argument. Skip "info threads" if false.
5157 (top level): Add new 'update_thread_list' axis.
5159 2014-10-02 Pedro Alves <palves@redhat.com>
5161 PR breakpoints/17431
5162 * gdb.base/execl-update-breakpoints.c: New file.
5163 * gdb.base/execl-update-breakpoints.exp: New file.
5165 2014-10-01 Pedro Alves <palves@redhat.com>
5167 * gdb.base/breakpoint-in-ro-region.c: New file.
5168 * gdb.base/breakpoint-in-ro-region.exp: New file.
5170 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5172 * gdb.mi/mi-exit-code.exp: New file.
5173 * gdb.mi/mi-exit-code.c: New file.
5175 2014-09-30 Yao Qi <yao@codesourcery.com>
5177 * lib/prelink-support.exp (build_executable_own_libs): Error if
5178 the target isn't native.
5180 2014-09-30 Yao Qi <yao@codesourcery.com>
5182 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5185 2014-09-22 Pedro Alves <palves@redhat.com>
5187 * gdb.threads/break-while-running.exp: New file.
5188 * gdb.threads/break-while-running.c: New file.
5190 2014-09-19 Yao Qi <yao@codesourcery.com>
5192 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5193 Invoke test. Restart GDB with --readnow and invoke test again.
5195 2014-09-19 Yao Qi <yao@codesourcery.com>
5197 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5198 proc set_breakpoint_on_gcd_function. Invoke
5199 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5200 invoke set_breakpoint_on_gcd_function again.
5202 2014-09-18 Doug Evans <dje@google.com>
5204 * gdb.dwarf2/symtab-producer.exp: New file.
5206 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5208 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5209 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5210 * gdb.base/global-var-nested-by-dso.c: Likewise.
5211 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5213 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5214 Pedro Alves <palves@redhat.com>
5216 * gdb.base/watch-bitfields.exp: Pass string other than test file
5217 name to prepare_for_testing.
5218 (watch): New procedure.
5219 (expect_watchpoint): Use with_test_prefix.
5220 (top level): Factor out tests to ...
5221 (test_watch_location, test_regular_watch): ... these new
5222 procedures, and use with_test_prefix and gdb_continue_to_end.
5224 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5226 PR breakpoints/12526
5227 * gdb.base/watch-bitfields.exp: New file.
5228 * gdb.base/watch-bitfields.c: New file.
5230 2014-09-16 Pedro Alves <palves@redhat.com>
5232 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5233 software and hardware addresses, not software address against
5236 2014-09-16 Pedro Alves <palves@redhat.com>
5238 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5239 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5241 2014-09-16 Pedro Alves <palves@redhat.com>
5243 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5245 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5246 "*-*-vxworks*" throughout.
5247 * gdb.base/break.exp: Likewise.
5248 * gdb.base/default.exp: Likewise.
5249 * gdb.base/scope.exp: Likewise.
5250 * gdb.base/sepdebug.exp: Likewise.
5251 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5253 * gdb.base/run.c: Likewise.
5254 * gdb.base/sepdebug.c: Likewise.
5255 * gdb.hp/gdb.aCC/run.c: Likewise.
5256 * gdb.reverse/until-reverse.c: Likewise.
5257 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5259 2014-09-16 Yao Qi <yao@codesourcery.com>
5261 * boards/local-remote-host-native.exp: New file.
5263 2014-09-14 Doug Evans <xdje42@gmail.com>
5265 * gdb.threads/queue-signal.c (thread_count): New variable.
5266 (thread_count_mutex, thread_count_condvar): New variables.
5267 (incr_thread_count, wait_all_threads_running): New functions.
5268 (main): Wait for all threads to be in their thread functions.
5270 2014-09-13 Doug Evans <xdje42@gmail.com>
5272 * gdb.threads/queue-signal.c: New file.
5273 * gdb.threads/queue-signal.exp: New file.
5275 2014-09-13 Doug Evans <xdje42@gmail.com>
5277 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5278 be consistent with what default_gdb_init uses.
5279 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5280 the plain text of the prompt. Add some logging printfs.
5281 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5283 2014-09-12 Pedro Alves <palves@redhat.com>
5285 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5286 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5287 * gdb.arch/i386-size-overlap.exp: Likewise.
5288 * gdb.arch/i386-size.exp: Likewise.
5289 * gdb.arch/i386-unwind.exp: Likewise.
5290 * gdb.base/a2-run.exp: Likewise.
5291 * gdb.base/break.exp: Likewise.
5292 * gdb.base/charset.exp: Likewise.
5293 * gdb.base/chng-syms.exp: Likewise.
5294 * gdb.base/commands.exp: Likewise.
5295 * gdb.base/dbx.exp: Likewise.
5296 * gdb.base/find.exp: Likewise.
5297 * gdb.base/funcargs.exp: Likewise.
5298 * gdb.base/jit-simple.exp: Likewise.
5299 * gdb.base/reread.exp: Likewise.
5300 * gdb.base/sepdebug.exp: Likewise.
5301 * gdb.base/step-bt.exp: Likewise.
5302 * gdb.cp/mb-inline.exp: Likewise.
5303 * gdb.cp/mb-templates.exp: Likewise.
5304 * gdb.objc/basicclass.exp: Likewise.
5305 * gdb.threads/killed.exp: Likewise.
5307 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5310 * gdb.arch/powerpc-stackless.S: New file.
5311 * gdb.arch/powerpc-stackless.exp: New file.
5313 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5315 * gdb.base/attach.c: Include unistd.h.
5316 (main): Call alarm. Add label postloop.
5317 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5318 gdb_breakpoint, gdb_continue_to_breakpoint.
5319 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5321 2014-09-11 Pedro Alves <palves@redhat.com>
5324 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5325 * gdb.base/attach.exp (test_command_line_attach_run): New
5327 (top level): Call it.
5329 2014-09-11 Pedro Alves <palves@redhat.com>
5331 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5332 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5333 (do_command_attach_tests): Use spawn_wait_for_attach.
5334 * gdb.base/solib-overlap.exp: Likewise.
5335 * gdb.multi/multi-attach.exp: Likewise.
5336 * gdb.python/py-prompt.exp: Likewise.
5337 * gdb.python/py-sync-interp.exp: Likewise.
5338 * gdb.server/ext-attach.exp: Likewise.
5340 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5342 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5343 command in testcase. Simplify testcase.
5345 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5347 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5349 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5351 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5353 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5355 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5357 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5359 * gdb.dwarf2/dynarr-ptr.c: New file.
5360 * gdb.dwarf2/dynarr-ptr.exp: New file.
5362 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5364 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5365 of 30 rather than hardcoding 120 for a slow test case. Take the
5366 `gdb,timeout' target setting into account for this calculation.
5367 Don't extend the timeout for the test cases that don't need it.
5369 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5371 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5372 a factor of 2 for a slow test case. Take the `gdb,timeout'
5373 target setting into account for this calculation.
5374 * gdb.reverse/until-precsave.exp: Increase the timeout by
5375 a factor of 15 and 3 respectively rather than adding 120
5376 for a pair of slow test cases. Take the `gdb,timeout'
5377 target setting into account for this calculation.
5379 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5381 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5382 timeout, don't pass one down to gdb_expect.
5383 (gdb_expect): Rework timeout selection.
5385 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5387 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5388 exception on timeout.
5389 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5390 (gdbserver_start_extended): Catch any `gdbserver_start' error
5392 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5393 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5394 `gdbserver_gdb_load' error exceptions.
5396 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5398 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5399 120 on waiting for the TCP socket to open.
5401 2014-09-09 Doug Evans <xdje42@gmail.com>
5403 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5404 _caller_matches, _any_caller_is, _any_caller_matches.
5406 2014-09-09 Doug Evans <xdje42@gmail.com>
5408 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5410 2014-09-09 Yao Qi <yao@codesourcery.com>
5412 * gdb.mi/mi-var-display.exp: Set print symbol off.
5414 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5417 * gdb.base/commands.exp: Add tests to verify user-defined
5418 commands with empty bodies.
5419 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5420 python commands in `show user command`.
5421 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5422 scheme commands in `show user command`.
5424 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5427 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5428 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5429 * gdb.python/py-framefilter-invalidarg.exp: New file.
5430 * gdb.python/py-framefilter-invalidarg.py: New file.
5432 2014-09-06 Doug Evans <xdje42@gmail.com>
5435 * gdb.python/py-caller-is.c: New file.
5436 * gdb.python/py-caller-is.exp: New file.
5438 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5441 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5442 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5444 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5447 * gdb.fortran/print-formatted.exp: New file.
5448 * gdb.fortran/print-formatted.f90: Likewise.
5450 2014-09-03 Sasha Smundak <asmundak@google.com>
5452 * gdb.python/py-frame.exp: Test Frame.read_register.
5454 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5457 * gdb.python/py-completion.exp: New file.
5458 * gdb.python/py-completion.py: Likewise.
5460 2014-08-28 Doug Evans <dje@google.com>
5462 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5463 eax,etc. are live with values set by gdb and thus the compiler can't
5465 * gdb.arch/i386-pseudo.c (main): Ditto.
5467 2014-08-27 Doug Evans <dje@google.com>
5469 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5471 2014-08-25 Doug Evans <dje@google.com>
5473 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5476 2014-08-25 Doug Evans <dje@google.com>
5478 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5480 2014-08-24 Yao Qi <yao@codesourcery.com>
5482 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5484 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5486 2014-08-22 Doug Evans <dje@google.com>
5489 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5490 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5491 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5493 2014-08-22 Yao Qi <yao@codesourcery.com>
5495 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5496 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5497 * gdb.python/python.exp: Likewise. Use .py file on the host
5498 instead of the build.
5500 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5502 * gdb.threads/gcore-stale-thread.c: New file.
5503 * gdb.threads/gcore-stale-thread.exp: New file.
5505 2014-08-21 Pedro Alves <palves@redhat.com>
5507 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5508 * gdb.base/gcore-relro-pie.exp: Likewise.
5509 * gdb.base/gcore-relro.exp: Likewise.
5510 * gdb.base/gcore.exp: Likewise.
5511 * gdb.base/print-symbol-loading.exp: Likewise.
5512 * gdb.threads/gcore-thread.exp: Likewise.
5513 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5515 2014-08-20 Pedro Alves <palves@redhat.com>
5516 Jan Kratochvil <jan.kratochvil@redhat.com>
5518 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5520 (EXPECT): Handle READ1 being set.
5521 (all): Depend on EXTRA_RULES.
5522 (check-read1, expect-read1, read1.so, read1): New rules.
5523 * README (Testsuite Parameters): Document the READ1 make variable.
5524 (Race detection): New section.
5525 * configure: Regenerate.
5526 * configure.ac: If build==host==target, and running under a
5527 GNU/glibc system, add read1 to the extra Makefile rules.
5528 (EXTRA_RULES): AC_SUBST it.
5529 * lib/read1.c: New file.
5531 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5533 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5534 the handling of variables declared as a typedef to an array
5535 which a DW_AT_data_location attribute.
5537 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5538 Pedro Alves <palves@redhat.com>
5542 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5545 2014-08-19 Pedro Alves <palves@redhat.com>
5547 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5549 2014-08-19 Yao Qi <yao@codesourcery.com>
5551 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5554 2014-08-18 David Blaikie <dblaikie@gmail.com>
5556 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5558 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5560 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5561 attribute in array range.
5563 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5565 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5567 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5570 * gdb.cp/pr17132.cc: New file.
5571 * gdb.cp/pr17132.exp: New file.
5573 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5575 * gdb.python/py-xmethods.py (A_getarrayind)
5576 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5577 Use 'print' with function call syntax.
5578 (E_method_matcher.match): Fix tab vs space indentation mixup.
5580 2014-08-15 Yao Qi <yao@codesourcery.com>
5582 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5585 2014-08-15 Yao Qi <yao@codesourcery.com>
5587 * gdb.cp/casts.exp: Set print symbol off.
5588 * gdb.cp/class2.exp: Likewise.
5589 * gdb.cp/overload.exp: Likewise.
5590 * gdb.cp/templates.exp: Likewise.
5592 2014-08-11 Doug Evans <dje@google.com>
5594 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5595 (test_load_shlib): Update.
5597 2014-08-09 Yao Qi <yao@codesourcery.com>
5599 * gdb.base/display.exp: Invoke is_address_zero_readable.
5600 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5601 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5602 * gdb.base/hbreak-unmapped.exp: Return if
5603 is_address_zero_readable returns true.
5604 * gdb.base/signest.exp: Likewise.
5605 * gdb.base/signull.exp: Likewise.
5606 * gdb.base/sigbpt.exp: Likewise.
5607 * gdb.guile/scm-disasm.exp: Do the test if
5608 is_address_zero_readable returns false.
5609 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5610 * gdb.python/py-arch.exp: Likewise.
5611 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5612 * lib/gdb.exp (is_address_zero_readable): New proc.
5614 2014-08-09 Yao Qi <yao@codesourcery.com>
5617 * gdb.mi/mi-var-display.exp: Make test messages unique.
5619 2014-08-04 Tom Tromey <tromey@redhat.com>
5621 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5624 2014-08-04 Tom Tromey <tromey@redhat.com>
5626 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5629 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5631 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5632 inner_vla_struct_object_size.
5633 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5636 2014-07-30 Pedro Alves <palves@redhat.com>
5638 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5641 2014-07-29 Yao Qi <yao@codesourcery.com>
5644 * gdb.base/until-nodebug.exp: New.
5646 2014-07-28 Doug Evans <xdje42@gmail.com>
5649 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5650 previously existing parameter, and previously ambiguously spelled
5653 2014-07-28 Will Newton <will.newton@linaro.org>
5655 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5657 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5658 Doug Evans <xdje42@gmail.com>
5661 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5663 2014-07-25 Pedro Alves <palves@redhat.com>
5665 * gdb.threads/signal-command-handle-nopass.c: New file.
5666 * gdb.threads/signal-command-handle-nopass.exp: New file.
5667 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5668 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5669 * gdb.threads/signal-delivered-right-thread.c: New file.
5670 * gdb.threads/signal-delivered-right-thread.exp: New file.
5672 2014-07-25 Pedro Alves <palves@redhat.com>
5674 * gdb.base/double-prompt-target-event-error.exp
5675 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5677 (cancel_pagination_in_target_event): Rework double prompt
5679 * gdb.base/paginate-after-ctrl-c-running.exp
5680 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5682 * gdb.base/paginate-bg-execution.exp
5683 (test_bg_execution_pagination_return)
5684 (test_bg_execution_pagination_cancel): Remove '-notransfer
5686 * gdb.base/paginate-execution-startup.exp
5687 (test_fg_execution_pagination_return)
5688 (test_fg_execution_pagination_cancel): Remove '-notransfer
5690 * gdb.base/paginate-inferior-exit.exp
5691 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5693 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5694 * lib/gdb.exp (pagination_prompt): Run text through
5696 (gdb_test_multiple): Match $pagination_prompt instead of
5698 (string_to_regexp): Move to lib/gdb-utils.exp.
5700 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5702 * gdb.arch/amd64-entry-value-paramref.S: New file.
5703 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5704 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5705 * gdb.arch/amd64-optimout-repeat.S: New file.
5706 * gdb.arch/amd64-optimout-repeat.c: New file.
5707 * gdb.arch/amd64-optimout-repeat.exp: New file.
5709 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5712 * gdb.base/statistics.exp: New file.
5714 2014-07-17 Doug Evans <dje@google.com>
5717 * gdb.base/maint.exp: Update testing of per-command stats.
5719 2014-07-16 Pedro Alves <palves@redhat.com>
5721 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5722 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5723 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5724 (tfile_write_buf): New functions.
5725 (add_memory_block): Rewrite using the above.
5726 (adjust_function_address): New function.
5727 (FUNCTION_ADDRESS): New macro.
5728 (write_basic_trace_file): Remove short_x local, and use
5729 tfile_write_16. Change type of func_addr local to unsigned long
5730 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5731 here. Cast argument of add_memory_block to char pointer.
5732 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5733 (main): Remove parameters.
5734 * gdb.trace/tfile.exp: Remove nowarnings.
5736 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5738 * gdb.base/debug-expr.exp: Test string evaluation with
5739 "debug expression" on.
5741 2014-07-15 Pedro Alves <palves@redhat.com>
5743 * gdb.base/reread.exp: Use clean_restart.
5745 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5747 * gdb.arch/avr-flash-qualifer.c: New.
5748 * gdb.arch/avr-flash-qualifer.exp: New.
5750 2014-07-14 Pedro Alves <palves@redhat.com>
5752 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5753 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5755 2014-07-14 Pedro Alves <palves@redhat.com>
5757 * gdb.base/double-prompt-target-event-error.c: New file.
5758 * gdb.base/double-prompt-target-event-error.exp: New file.
5760 2014-07-14 Pedro Alves <palves@redhat.com>
5763 * gdb.base/paginate-inferior-exit.c: New file.
5764 * gdb.base/paginate-inferior-exit.exp: New file.
5766 2014-07-14 Pedro Alves <palves@redhat.com>
5769 * gdb.base/paginate-bg-execution.c: New file.
5770 * gdb.base/paginate-bg-execution.exp: New file.
5772 2014-07-14 Pedro Alves <palves@redhat.com>
5775 * gdb.base/paginate-execution-startup.c: New file.
5776 * gdb.base/paginate-execution-startup.exp: New file.
5777 * lib/gdb.exp (pagination_prompt): New global.
5778 (default_gdb_spawn): New procedure, factored out from
5780 (default_gdb_start): Adjust to call default_gdb_spawn.
5781 (gdb_spawn): New procedure.
5783 2014-07-14 Pedro Alves <palves@redhat.com>
5785 * lib/gdb.exp (gdb_assert): New procedure.
5786 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5788 2014-07-14 Pedro Alves <palves@redhat.com>
5790 * gdb.base/execution-termios.c: New file.
5791 * gdb.base/execution-termios.exp: New file.
5793 2014-07-14 Tom Tromey <tromey@redhat.com>
5795 * gdb.cp/vla-cxx.cc: New file.
5796 * gdb.cp/vla-cxx.exp: New file.
5798 2014-07-14 Tom Tromey <tromey@redhat.com>
5800 * gdb.reverse/rerun-prec.c: New file.
5801 * gdb.reverse/rerun-prec.exp: New file.
5803 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5804 Maciej W. Rozycki <macro@codesourcery.com>
5806 * lib/gdb-utils.exp: New file.
5807 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5808 inline `gdb_init_command' processing.
5809 (gdb_start_cmd): Likewise.
5810 * lib/mi-support.exp (mi_run_cmd): Likewise.
5811 * README: Document `gdb_init_command' and `gdb_init_commands'.
5813 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5815 Fix false FAIL running under a very long directory name.
5816 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5817 and "set print elements 10000". Twice.
5819 2014-07-11 Yao Qi <yao@codesourcery.com>
5821 * gdb.base/exprs.exp: "set print symbol off".
5823 2014-07-11 Pedro Alves <palves@redhat.com>
5825 * gdb.threads/kill.c: New file.
5826 * gdb.threads/kill.exp: New file.
5828 2014-07-10 Yao Qi <yao@codesourcery.com>
5830 * gdb.trace/tfile.c (write_basic_trace_file)
5831 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5832 address written to trace file.
5834 2014-07-09 Pedro Alves <palves@redhat.com>
5836 * gdb.base/attach-wait-input.exp: New file.
5837 * gdb.base/attach-wait-input.c: New file.
5839 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5841 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5842 setting up test structures.
5843 (main): Call new test function.
5844 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5845 test function, continue into test function and walk test
5848 2014-07-02 Yao Qi <yao@codesourcery.com>
5850 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5851 'bar_start' at the beginning of functions 'foo' and 'bar'
5853 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5854 instead of 'foo' and 'bar'.
5856 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5858 * gdb.btrace/segv.exp: New.
5859 * gdb.btrace/segv.c: New.
5861 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5863 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5866 2014-06-30 Mark Wielaard <mjw@redhat.com>
5868 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5869 vulture, vilify, villar): New volatile array constants.
5870 (vindictive, vegetation): New const volatile array constants.
5871 * gdb.base/volatile.exp: Test volatile and const volatile array
5874 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5876 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5877 target lacks support for awatch, rwatch, or hbreak.
5879 2014-06-27 Yao Qi <yao@codesourcery.com>
5881 * gdb.multi/dummy-frame-restore.exp: New.
5882 * gdb.multi/dummy-frame-restore.c: New.
5884 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5886 * gdb.btrace/gcore.exp: New.
5888 2014-06-23 Pedro Alves <palves@redhat.com>
5890 * gdb.base/watchpoint-reuse-slot.c: New file.
5891 * gdb.base/watchpoint-reuse-slot.exp: New file.
5893 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5895 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5896 progspace's filename in 'info', 'enable' and 'disable' command
5899 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5901 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5902 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5903 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5905 2014-06-20 Gary Benson <gbenson@redhat.com>
5907 * gdb.arch/i386-avx.exp: Fix include file location.
5908 * gdb.arch/i386-sse.exp: Likewise.
5910 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5912 * gdb.dlang/expression.exp: New file.
5914 2014-06-19 Pedro Alves <palves@redhat.com>
5916 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5918 (top level): ... here. Iterate running tests under different
5919 scheduler-locking settings.
5921 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5923 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5924 to DW_FORM_addr and use non-zero addresses.
5926 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5929 * gdb.python/py-xmethods.cc: Add global function call counters and
5930 increment them in their respective functions. Remove "cout"
5932 * gdb.python/py-xmethods.exp: Make tests check the global function
5933 call counters instead of depending on inferior IO.
5935 2014-06-18 Don Breazeal <donb@codesourcery.com>
5937 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5939 (explicit_fork_parent_follow): Deleted procedure.
5940 (explicit_fork_child_follow): Deleted procedure.
5941 (test_follow_fork): New procedure.
5942 (do_fork_tests): Replace calls to deleted procedures with
5943 calls to test_follow_fork and reset GDB for subsequent
5946 2014-06-17 Yao Qi <yao@codesourcery.com>
5948 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5951 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5953 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5954 Initialize ptr and S explicitly.
5955 (skip_type_update_when_not_use_rtti_test): Likewise.
5957 2014-06-16 Keith Seitz <keiths@redhat.com>
5960 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5961 the inferior is started.
5963 2014-06-16 Pedro Alves <palves@redhat.com>
5965 * gdb.base/break-main-file-remove-fail.c: New file.
5966 * gdb.base/break-main-file-remove-fail.exp: New file.
5967 * gdb.base/break-unload-file.exp: Use build_executable instead of
5968 prepare_for_testing.
5969 (test_break): New parameter "initial_load". Handle it.
5970 (top level): Add initial_load cmdline/file axis.
5972 2014-06-12 Tom Tromey <tromey@redhat.com>
5974 * gdb.base/completion.exp: Don't use directory name in test.
5976 2014-06-09 Gary Benson <gbenson@redhat.com>
5978 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5979 separate the always-available ANSI-standard signals from the
5980 signals that require checking.
5982 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5986 2014-06-07 Keith Seitz <keiths@redhat.com>
5990 * gdb.cp/var-tag.cc: New file.
5991 * gdb.cp/var-tag.exp: New file.
5992 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5993 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5994 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5995 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5997 2014-06-06 Doug Evans <xdje42@gmail.com>
5999 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6001 2014-06-06 Pedro Alves <palves@redhat.com>
6003 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6004 in target debug output instead of looking at RSP packets,
6005 disabling the test on any target that uses hardware stepping.
6008 2014-06-06 Pedro Alves <palves@redhat.com>
6010 * gdb.base/break-unload-file.exp: Fix typo.
6012 2014-06-06 Yao Qi <yao@codesourcery.com>
6014 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6015 from "jit_function" to "^jit_function".
6017 2014-06-06 Yao Qi <yao@codesourcery.com>
6019 * gdb.base/async.c (foo): Add one statement.
6020 * gdb.base/async.exp: Get the next instruction address and
6021 match the output of "nexti" by instruction address. Match
6022 the hex address in the output of "finish".
6024 2014-06-06 Gary Benson <gbenson@redhat.com>
6026 * gdb.base/call-signals.c: Remove preprocessor conditionals
6027 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6028 SIGSEGV and SIGTERM.
6029 * gdb.base/sigall.c: Likewise.
6030 * gdb.base/unwindonsignal.c: Likewise.
6031 * gdb.reverse/sigall-reverse.c: Likewise.
6033 2014-06-06 Yao Qi <yao@codesourcery.com>
6035 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6036 readable, skip the test.
6038 2014-06-06 Yao Qi <yao@codesourcery.com>
6040 * gdb.threads/staticthreads.c (thread_function): Move the line
6041 setting breakpoint on forward.
6042 * gdb.threads/staticthreads.exp: Update comments.
6044 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6046 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6047 "history-append! type error".
6049 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6051 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6052 erroneous dprintf expected input.
6054 2014-06-04 Doug Evans <xdje42@gmail.com>
6056 * gdb.guile/scm-generics.exp: Delete.
6058 2014-06-04 Doug Evans <xdje42@gmail.com>
6060 * gdb.guile/scm-breakpoint.exp: Update.
6061 Add tests for breakpoint registration.
6063 2014-06-04 Tom Tromey <tromey@redhat.com>
6065 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6067 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6068 inner_vla_struct, vla_union types. Initialize objects of those
6069 types and compute their sizes.
6071 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6072 Hui Zhu <hui@codesourcery.com>
6074 * gdb.base/fileio.exp: Add test for shell not available as well as
6076 * gdb.base/fileio.c (test_system): Check for shell twice.
6078 2014-06-04 Yao Qi <yao@codesourcery.com>
6080 * gdb.base/auto-connect-native-target.exp: Remove redundant
6081 space from the regexp pattern.
6083 2014-06-04 Yao Qi <yao@codesourcery.com>
6085 * gdb.base/default.exp: Replace "child" with "native" in
6088 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6090 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6091 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6092 * gdb.python/py-xmethods.py: Python script supporting the
6093 new testcase and tests.
6095 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6096 Pedro Alves <palves@redhat.com>
6098 PR breakpoints/17000
6099 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6100 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6102 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6104 * gdb.base/subst.exp: Add tests to verify partial path matching
6107 2014-06-03 Pedro Alves <palves@redhat.com>
6109 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6110 target that doesn't use software single-stepping.
6112 2014-06-03 Pedro Alves <palves@redhat.com>
6114 PR breakpoints/17000
6115 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6116 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6118 2014-06-02 Doug Evans <xdje42@gmail.com>
6120 * gdb.guile/scm-parameter.exp: New file.
6122 2014-06-02 Doug Evans <xdje42@gmail.com>
6124 * gdb.guile/scm-cmd.c: New file.
6125 * gdb.guile/scm-cmd.exp: New file.
6127 2014-06-02 Doug Evans <xdje42@gmail.com>
6129 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6130 pretty-printer lookup.
6131 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6132 (make-pp_s-printer): Call it.
6133 (make-pretty-printer-from-dict): New function.
6134 (lookup-pretty-printer-maker-from-dict): New function.
6135 (*pretty-printer*): Simplify.
6136 (make-objfile-pp_s-printer): New function.
6137 (install-objfile-pretty-printers!): New function.
6138 (make-progspace-pp_s-printer): New function.
6139 (install-progspace-pretty-printers!): New function.
6140 * gdb.guile/scm-progspace.c: New file.
6141 * gdb.guile/scm-progspace.exp: New file.
6143 2014-06-02 Pedro Alves <palves@redhat.com>
6145 * gdb.base/dprintf-bp-same-addr.c: New file.
6146 * gdb.base/dprintf-bp-same-addr.exp: New file.
6148 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6150 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6151 * gdb.arch/powerpc-power.s: Likewise.
6153 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6155 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6157 2014-06-01 Yao Qi <yao@codesourcery.com>
6159 * gdb.base/watchpoint.exp (test_watch_location): Check null
6160 pointer can be dereferenced. If not, do the test, otherwise
6163 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6165 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6167 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6169 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6171 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6172 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6173 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6174 * gdb.arch/amd64-invalid-stack-top.c: New file.
6175 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6177 2014-05-30 Pedro Alves <palves@redhat.com>
6179 PR breakpoints/17000
6180 * gdb.base/sss-bp-on-user-bp.c: New file.
6181 * gdb.base/sss-bp-on-user-bp.exp: New file.
6183 2014-05-30 David Blaikie <dblaikie@gmail.com>
6185 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6186 gnu_inline semantics via attribute.
6187 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6188 source explicitly specifies the required semantics.
6190 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6192 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6194 2014-05-29 Pedro Alves <palves@redhat.com>
6195 Tom Tromey <tromey@redhat.com>
6197 * gdb.base/async-shell.exp: Don't enable target-async.
6198 * gdb.base/async.exp
6199 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6201 (top level): Don't test with "target-async".
6202 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6203 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6204 * gdb.base/inferior-died.exp: Don't enable target-async.
6205 * gdb.base/interrupt-noterm.exp: Likewise.
6206 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6207 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6208 * gdb.mi/mi-nonstop.exp: Likewise.
6209 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6210 * gdb.mi/mi-nsintrall.exp: Likewise.
6211 * gdb.mi/mi-nsmoribund.exp: Likewise.
6212 * gdb.mi/mi-nsthrexec.exp: Likewise.
6213 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6214 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6215 * gdb.python/py-evsignal.exp: Don't enable target-async.
6216 * gdb.python/py-evthreads.exp: Likewise.
6217 * gdb.python/py-prompt.exp: Likewise.
6218 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6219 * gdb.server/solib-list.exp: Don't enable target-async.
6220 * gdb.threads/thread-specific-bp.exp: Likewise.
6221 * lib/mi-support.exp: Adjust to use mi-async.
6223 2014-05-29 Pedro Alves <palves@redhat.com>
6226 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6227 reason, even in sync mode.
6229 2014-05-29 Pedro Alves <palves@redhat.com>
6230 Hui Zhu <hui@codesourcery.com>
6233 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6234 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6235 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6236 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6238 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6240 * config/monitor.exp (gdb_target_monitor): Replace use of
6241 "set remotebaud" by "set serial baud".
6243 2014-05-26 Andy Wingo <wingo@igalia.com>
6245 * gdb.guile/scm-breakpoint.exp:
6246 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6247 properties instead of gdb-object-properties.
6249 2014-05-26 Yao Qi <yao@codesourcery.com>
6251 * gdb.server/no-thread-db.exp: Specify source file name
6252 explicitly when setting a breakpoint.
6254 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6256 * gdb.btrace/vdso.c: New.
6257 * gdb.btrace/vdso.exp: New.
6259 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6261 * gdb.base/gcore.exp (capture_command_output): Move ...
6262 * lib/gdb.exp (capture_command_output): ... here.
6264 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6266 * gdb.btrace/data.exp: Test memory access during btrace replay.
6268 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6270 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6272 2014-05-21 Pedro Alves <palves@redhat.com>
6275 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6276 (top level): Test that output related to execution commands is
6277 sent to the console with CLI commands, but not with MI commands.
6278 Test that breakpoint events are always mirrored to the console.
6279 Also expect the new source line to be output after a "next" in
6280 async mode too. Make it a pass/fail test.
6281 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6283 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6285 2014-05-21 Pedro Alves <palves@redhat.com>
6287 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6288 Use them to test variations of "list" after reaching a breakpoint.
6289 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6290 Test "list" with listsize 10 after reaching a breakpoint.
6291 * gdb.python/python.exp (decode_line current location line
6292 number): Adjust expected line number.
6294 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6296 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6297 behavior for $args, pass it directly to "run".
6299 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6301 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6304 2014-05-21 Pedro Alves <palves@redhat.com>
6306 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6307 auto-connect-native-target off".
6308 * gdb.base/auto-connect-native-target.c: New file.
6309 * gdb.base/auto-connect-native-target.exp: New file.
6311 2014-05-21 Pedro Alves <palves@redhat.com>
6313 * gdb.base/default.exp: Test "target native" instead of "target
6316 2014-05-21 Mark Wielaard <mjw@redhat.com>
6318 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6320 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6322 Fix TLS access for -static -pthread.
6323 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6324 <HAVE_TLS> (thread_function, main): Initialize it.
6325 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6327 <$have_tls != "">: Check TLSVAR.
6329 2014-05-21 Pedro Alves <palves@redhat.com>
6331 * gdb.base/dcache-line-read-error.c: New.
6332 * gdb.base/dcache-line-read-error.exp: New.
6334 2014-05-20 Pedro Alves <palves@redhat.com>
6336 * gdb.base/compare-sections.c: New file.
6337 * gdb.base/compare-sections.exp: New file.
6339 2014-05-20 Pedro Alves <palves@redhat.com>
6341 * gdb.base/break-idempotent.c: New file.
6342 * gdb.base/break-idempotent.exp: New file.
6344 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6346 * gdb.btrace/nohist.exp: New.
6348 2014-05-20 Yao Qi <yao@codesourcery.com>
6350 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6351 gdb.reverse directory and gdb_reverse_timeout exists in board
6353 * README: Document gdb_reverse_timeout.
6355 2014-05-20 Yao Qi <yao@codesourcery.com>
6357 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6358 'test_file_name'. Treat args as a string instead of a list.
6359 (gdb_init): Rename argument 'args' by 'test_file_name'.
6361 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6363 * gdb.arch/powerpc-power.exp: New file.
6364 * gdb.arch/powerpc-power.s: New file.
6366 2014-05-16 Doug Evans <dje@google.com>
6368 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6369 * gdb.base/completion.exp: Check that all expected files exist
6370 before doing file completion.
6372 2014-05-16 Doug Evans <dje@google.com>
6374 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6376 (do_syscall_tests_without_xml): Update.
6378 2014-05-16 Pedro Alves <palves@redhat.com>
6380 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6381 instead of "unknown output after running".
6383 2014-05-16 Yao Qi <yao@codesourcery.com>
6385 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6386 file1.txt from host at the end.
6387 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6389 2014-05-15 Doug Evans <dje@google.com>
6391 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6392 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6393 loading file. Add test for TU lookup.
6395 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6397 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6398 calling "-exec-arguments" or "set args" before running the
6401 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6403 * lib/mi-support.exp (mi_expect_stop): Expect message for
6404 inferiors that exit with non-zero exit code.
6406 2014-05-14 Yao Qi <yao@codesourcery.com>
6408 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6409 match absolute path on remote host.
6410 (test_file_list_exec_source_files): Remove "/" from the
6413 2014-05-14 Yao Qi <yao@codesourcery.com>
6415 * boards/local-remote-host-notty.exp (${board}_file): New
6418 2014-05-07 Kyle McMartin <kyle@redhat.com>
6420 Pushed by Joel Brobecker <brobecker@adacore.com>.
6421 * gdb.arch/aarch64-atomic-inst.c: New file.
6422 * gdb.arch/aarch64-atomic-inst.exp: New file.
6424 2014-05-07 Yao Qi <yao@codesourcery.com>
6426 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6427 in current context" too.
6429 2014-05-05 Keith Seitz <keiths@redhat.com>
6431 * gdb.linespec/ls-dollar.exp: Add test for linespec
6432 file:convenience_variable.
6434 2014-05-05 Yao Qi <yao@codesourcery.com>
6436 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6437 traceframes into tfile and ctf trace files. Read data from
6438 trace file and test collected data.
6439 (gdb_collect_locals_test): Likewise.
6440 (gdb_unavailable_registers_test): Likewise.
6441 (gdb_unavailable_floats): Likewise.
6442 (gdb_collect_globals_test): Likewise.
6443 (top-level): Append "ctf" to trace_file_targets if GDB
6446 2014-05-05 Yao Qi <yao@codesourcery.com>
6448 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6450 (gdb_collect_args_test_1): ... it. New proc.
6451 (gdb_collect_locals_test): Move some code to ...
6452 (gdb_collect_locals_test_1): ... it. New proc.
6453 (gdb_unavailable_registers_test): Move some code to ...
6454 (gdb_unavailable_registers_test_1): ... it. New proc.
6455 (gdb_unavailable_floats): Move some code to ...
6456 (gdb_unavailable_floats_1): ... it. New proc.
6458 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6460 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6461 probes to test for bitness recognition.
6462 * gdb.arch/amd64-stap-optional-prefix.exp
6463 (test_probe_value_without_reg): New procedure.
6464 Add code to test for different kinds of bitness.
6466 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6468 PR breakpoints/16889
6469 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6470 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6472 2014-05-01 Pedro Alves <palves@redhat.com>
6474 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6475 gdb_file_cmd if no file is specified.
6476 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6477 last_loaded_file to set the remote exec-file.
6479 2014-05-01 Pedro Alves <palves@redhat.com>
6481 * boards/local-remote-host.exp: New file.
6483 2014-05-01 Pedro Alves <palves@redhat.com>
6485 * boards/local-remote-host.exp: Rename to ...
6486 * boards/local-remote-host-notty.exp: ... this.
6488 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6490 * gdb.ada/dyn_arrayidx: New testcase.
6492 2014-04-26 Yao Qi <yao@codesourcery.com>
6494 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6495 and compute the length of function main. Save it in
6497 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6498 (top-level): Use gdb_compile to compile objects into
6499 executable and restart GDB. Remove invocation to
6500 prepare_for_testing.
6502 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6503 Pedro Alves <palves@redhat.com>
6506 * gdb.multi/multi-attach.c: New file.
6507 * gdb.multi/multi-attach.exp: New file.
6509 2014-04-25 Pedro Alves <palves@redhat.com>
6511 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6513 (top level): Test that "set remote conditional-breakpoints-packet
6514 off" works as intended.
6515 * gdb.base/dprintf.exp: Test that "set remote
6516 breakpoint-commands-packet off" works as intended.
6517 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6519 (top level): Call it.
6520 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6521 remote fast-tracepoints-packet off" works as intended.
6522 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6523 * lib/gdb.exp (gdb_is_target_remote): ... here.
6525 2014-04-24 David Blaikie <dblaikie@gmail.com>
6527 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6528 ensure clang would not discard them.
6529 * gdb.base/gdbvars.c: Ditto.
6530 * gdb.base/memattr.c: Ditto.
6531 * gdb.base/whatis.c: Ditto.
6532 * gdb.python/py-prettyprint.c: Ditto.
6533 * gdb.trace/actions.c: Ditto.
6534 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6535 ensure clang would not discard it.
6537 2014-04-24 David Blaikie <dblaikie@gmail.com>
6539 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6540 clang to emit the full definition of type required by the test
6541 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6543 2014-04-24 David Blaikie <dblaikie@gmail.com>
6545 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6546 coax Clang into emitting the definition of the type.
6547 * gdb.cp/pr10728-x.h (y): Ditto.
6548 * gdb.cp/pr10728-y.cc (y): Ditto.
6550 2014-04-24 David Blaikie <dblaikie@gmail.com>
6552 * gdb.base/label.exp: XFAIL label related tests under Clang.
6553 * gdb.cp/cplabel.exp: Ditto.
6554 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6555 under Clang those using labels.
6557 2014-04-25 Yao Qi <yao@codesourcery.com>
6559 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6561 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6562 partial_label and double_label.
6564 2014-04-24 David Blaikie <dblaikie@gmail.com>
6566 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6568 2014-04-24 David Blaikie <dblaikie@gmail.com>
6570 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6571 of the function to work across GCC and Clang.
6572 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6573 pointer types (const void ** const V void **).
6575 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6576 Walfred Tedeschi <walfred.tedeschi@intel.com>
6578 * Makefile.in (EXECUTABLES): Added i386-avx512.
6579 * gdb.arch/i386-avx512.c: New file.
6580 * gdb.arch/i386-avx512.exp: Likewise.
6582 2014-04-23 Keith Seitz <keiths@redhat.com>
6584 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6585 (mi_make_breakpoint_table): New procedure.
6586 (mi_create_breakpoint): Use mi_make_breakpoint
6587 and return the result.
6588 (mi_make_breakpoint): New procedure.
6589 (mi_build_kv_pairs): New procedure.
6591 * gdb.mi/mi-break.exp: Remove unused globals,
6592 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6593 All callers updated.
6594 * gdb.mi/mi-dprintf.exp: Use variable to track command
6596 Update all callers of mi_create_breakpoint and use
6597 mi_make_breakpoint_table.
6598 Remove any unused global variables.
6599 * gdb.mi/mi-nonstop.exp: Likewise.
6600 * gdb.mi/mi-nsintrall.exp: Likewise.
6601 * gdb.mi/mi-nsmoribund.exp: Likewise.
6602 * gdb.mi/mi-nsthrexec.exp: Likewise.
6603 * gdb.mi/mi-reverse.exp: Likewise.
6604 * gdb.mi/mi-simplerun.exp: Likewise.
6605 * gdb.mi/mi-stepn.exp: Likewise.
6606 * gdb.mi/mi-syn-frame.exp: Likewise.
6607 * gdb.mi/mi-until.exp: Likewise.
6608 * gdb.mi/mi-var-cp.exp: Likewise.
6609 * gdb.mi/mi-var-display.exp: Likewise.
6610 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6611 * gdb.mi/mi2-var-child.exp: Likewise.
6612 * gdb.mi/mi-vla-c99.exp: Likewise.
6613 * lib/mi-support.exp: Likewise.
6615 From Ian Lance Taylor <iant@cygnus.com>:
6616 * lib/gdb.exp (parse_args): New procedure.
6618 2014-04-23 Pedro Alves <palves@redhat.com>
6620 * gdb.base/break-unload-file.c: New file.
6621 * gdb.base/break-unload-file.exp: New file.
6622 * gdb.base/sym-file-lib.c (baz): New function.
6623 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6625 (load): Store the segment's mapped size.
6626 (unload): New function.
6627 (unload_shlib): New function.
6628 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6629 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6630 set a breakpoint at baz, and call it.
6631 * gdb.base/sym-file.exp: New tests for stale breakpoint
6634 2014-04-23 Pedro Alves <palves@redhat.com>
6636 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6637 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6638 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6639 * gdb.base/hbreak-unmapped.c: New file.
6640 * gdb.base/hbreak-unmapped.exp: New file.
6641 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6642 * lib/gdb.exp (gdb_is_target_remote): ... here.
6644 2014-04-22 Pedro Alves <palves@redhat.com>
6646 * gdb.base/consecutive-step-over.c: New file.
6647 * gdb.base/consecutive-step-over.exp: New file.
6649 2014-04-22 Pedro Alves <palves@redhat.com>
6651 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6652 instead of send_gdb/gdb_expect.
6654 2014-04-22 Yao Qi <yao@codesourcery.com>
6656 * lib/trace-support.exp (generate_tracefile): New procedure.
6657 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6659 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6660 if generate_tracefile returns 1.
6662 2014-04-18 Tom Tromey <palves@redhat.com>
6663 Pedro alves <tromey@redhat.com>
6666 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6667 with a backtrace limit.
6668 * gdb.python/py-frame-inline.exp: Test running to an inline
6669 function with a backtrace limit, and printing the newest frame.
6670 * gdb.python/py-frame-inline.c (main): Call f.
6672 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6674 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6676 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6678 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6679 Drop prefix from unsupported source file path.
6681 2014-04-17 Yao Qi <yao@codesourcery.com>
6683 * lib/gdb.exp (with_target_charset): New proc.
6684 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6685 with_target_charset.
6686 (test_print_strings): Likewise.
6687 (test_repeat_bytes): Likewise.
6688 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6691 2014-04-16 Keith Seitz <keiths@redhat.com>
6694 * gdb.dwarf2/corrupt.c: New file.
6695 * gdb.dwarf2/corrupt.exp: New file.
6697 2014-04-16 Keith Seitz <keiths@redhat.com>
6700 * gdb.cp/namelessclass.cc: New file.
6701 * gdb.cp/namelessclass.exp: New file.
6702 * gdb.cp/namelessclass.S: New file.
6704 2014-04-16 Doug Evans <dje@google.com>
6706 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6708 (gdbserver_default_get_comm_port): New function.
6709 (gdbserver_start): Check if board file provided
6710 "gdbserver,get_comm_port" and use it if so.
6711 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6712 (gdb,socketport): Set to "stdio".
6713 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6714 (stdio_gdbserver_template): Delete.
6715 (${board}_get_remote_address): Update.
6716 (${board}_build_remote_cmd): Delete.
6717 (${board}_get_comm_port): New function.
6718 (${board}_spawn): Update.
6719 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6721 (${board}_get_remote_address): Update.
6722 (${board}_get_comm_port): New function.
6724 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6726 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6727 appearing in any order.
6729 2014-04-15 Doug Evans <dje@google.com>
6731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6732 uninitialized value of "description".
6734 2014-04-15 Keith Seitz <keiths@redhat.com>
6736 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6737 Remove unused globals.
6738 (test_running_the_program): Likewise.
6739 (test_controlled_execution): Likewise.
6740 (test_controlling_breakpoints): Likewise.
6741 (test_program_termination): Likewise.
6743 2014-04-15 Keith Seitz <keiths@redhat.com>
6745 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6747 (test_rbreak_creation_and_listing): Likewise.
6748 (test_ignore_count): Likewise.
6749 (test_error): Likewise.
6751 2014-04-15 Pedro Alves <palves@redhat.com>
6753 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6754 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6756 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6757 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6758 to sym-file-loader.c.
6759 (struct library): Forward declare.
6760 (load_shlib, lookup_function): Change prototypes.
6761 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6762 (translate_offset): Remove declarations.
6763 (get_text_addr): New declaration.
6764 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6765 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6767 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6768 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6769 here from sym-file-loader.h.
6770 (struct library): New structure.
6771 (load_shlib, lookup_function): Change prototypes and adjust to
6772 work with a struct library.
6773 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6774 (translate_offset): Make static.
6775 (get_text_addr): New function.
6776 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6778 2014-04-15 Pedro Alves <palves@redhat.com>
6780 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6782 2014-04-15 Pedro Alves <palves@redhat.com>
6784 * gdb.base/sym-file-loader.c: Include <limits.h>.
6785 (SELF_LINK): New define.
6786 (get_origin): New function.
6787 (load_shlib): Use it.
6788 * gdb.base/sym-file.exp: Don't early return if the target is
6789 remote. Use runto_main, and issue fail is that fails. Use
6791 (shlib_name): Delete.
6792 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6794 2014-04-15 Pedro Alves <palves@redhat.com>
6796 * gdb.base/sym-file.exp: Remove regex characters from test
6797 message. Don't refer to breakpoint numbers in test messages.
6799 2014-04-14 Keith Seitz <keiths@redhat.com>
6802 * gdb.cp/var-tag.cc: New file.
6803 * gdb.cp/var-tag.exp: New file.
6804 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6805 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6806 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6807 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6809 2014-04-14 Tom Tromey <tromey@redhat.com>
6811 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6812 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6814 * gdb.cp/enum-class.exp: New file.
6815 * gdb.cp/enum-class.cc: New file.
6817 2014-04-14 Tom Tromey <tromey@redhat.com>
6819 * gdb.dwarf2/enum-type.exp: New file.
6821 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6823 * gdb.mi/mi-vla-c99.exp: New file.
6824 * gdb.mi/vla.c: New file.
6826 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6828 * gdb.base/vla-datatypes.c: New file.
6829 * gdb.base/vla-datatypes.exp: New file.
6831 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6833 * gdb.base/vla-ptr.c: New file.
6834 * gdb.base/vla-ptr.exp: New file.
6836 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6838 * gdb.dwarf2/count.exp: New file.
6840 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6842 * gdb.base/vla-sideeffect.c: New file.
6843 * gdb.base/vla-sideeffect.exp: New file.
6845 2014-04-14 David Blaikie <dblaikie@gmail.com>
6847 * gdb.mi/non-stop.c: Add return value for non-void function return
6849 * gdb.threads/staticthreads.c: Ditto.
6851 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6852 Doug Evans <xdje42@gmail.com>
6854 * gdb.guile/scm-value.c: Improve test case.
6855 * gdb.guile/scm-value.exp: Add new test.
6857 2014-04-11 David Blaikie <dblaikie@gmail.com>
6859 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6860 override Clang's default.
6862 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6864 Revert the following changes (regressions):
6866 * gdb.base/vla-sideeffect.c: New file.
6867 * gdb.base/vla-sideeffect.exp: New file.
6869 * gdb.dwarf2/count.exp: New file.
6871 * gdb.base/vla-multi.c: New file.
6872 * gdb.base/vla-multi.exp: New file.
6874 * gdb.base/vla-ptr.c: New file.
6875 * gdb.base/vla-ptr.exp: New file.
6877 * gdb.base/vla-datatypes.c: New file.
6878 * gdb.base/vla-datatypes.exp: New file.
6880 * gdb.mi/mi-vla-c99.exp: New file.
6881 * gdb.mi/vla.c: New file.
6883 2014-04-11 Keith Seitz <keiths@redhat.com>
6886 * gdb.cp/cpsizeof.exp: New file.
6887 * gdb.cp/cpsizeof.cc: New file.
6889 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6891 * gdb.mi/mi-vla-c99.exp: New file.
6892 * gdb.mi/vla.c: New file.
6894 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6896 * gdb.base/vla-datatypes.c: New file.
6897 * gdb.base/vla-datatypes.exp: New file.
6899 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6901 * gdb.base/vla-ptr.c: New file.
6902 * gdb.base/vla-ptr.exp: New file.
6904 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6906 * gdb.base/vla-multi.c: New file.
6907 * gdb.base/vla-multi.exp: New file.
6909 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6911 * gdb.dwarf2/count.exp: New file.
6913 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6915 * gdb.base/vla-sideeffect.c: New file.
6916 * gdb.base/vla-sideeffect.exp: New file.
6918 2014-04-11 Yao Qi <yao@codesourcery.com>
6920 * gdb.base/completion.exp: Check file exists before running tests
6923 2014-04-10 Pedro Alves <palves@redhat.com>
6925 * gdb.base/cond-eval-mode.c: New file.
6926 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6927 prepare_for_testing to build the new file. Check result of
6929 (test_break, test_watch): New procedures.
6930 (top level): Use them.
6932 2014-04-08 Pierre Muller <muller@sourceware.org>
6934 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6935 Ctrl-V use for mingw hosts.
6937 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6939 * gdb.python/py-value.c: Improve test case.
6940 * gdb.python/py-value.exp: Add new test.
6942 2014-04-07 David Blaikie <dblaikie@gmail.com>
6944 * lib/compiler.c: Identify the clang compiler.
6945 * lib/compiler.cc: Ditto.
6947 2014-04-03 Yao Qi <yao@codesourcery.com>
6949 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6951 2014-04-01 Anton Blanchard <anton@samba.org>
6953 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6956 2014-04-01 Anton Blanchard <anton@samba.org>
6958 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6959 prepare_for_testing.
6961 2014-04-01 Anton Blanchard <anton@samba.org>
6963 * gdb.arch/ppc64-atomic-inst.c: Remove.
6964 * gdb.arch/ppc64-atomic-inst.S: New file.
6965 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6967 2014-03-31 Doug Evans <dje@google.com>
6969 * gdb.base/print-symbol-loading-lib.c: New file.
6970 * gdb.base/print-symbol-loading-main.c: New file.
6971 * gdb.base/print-symbol-loading.exp: New file.
6973 2014-03-31 Yao Qi <yao@codesourcery.com>
6975 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6977 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6979 * gdb.ada/mi_dyn_arr: New testcase.
6981 2014-03-27 Doug Evans <dje@google.com>
6983 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6985 2014-03-27 Yao Qi <yao@codesourcery.com>
6987 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6988 if target is nios2-*-*.
6990 2014-03-26 Yao Qi <yao@codesourcery.com>
6992 * lib/gdb.exp (readline_is_used): New proc.
6993 * gdb.base/completion.exp: Move tests on command complete up.
6994 Skip the rest of tests if readline is not used.
6995 * gdb.ada/complete.exp: Skp the test if readline is not
6997 * gdb.base/filesym.exp: Likewise.
6998 * gdb.base/macscp.exp: Likewise.
6999 * gdb.base/readline-ask.exp: Likewise.
7000 * gdb.base/readline.exp: Likewise.
7001 * gdb.python/py-cmd.exp: Likewise.
7002 * gdb.trace/tfile.exp: Likewise.
7004 2014-03-26 Yao Qi <yao@codesourcery.com>
7006 * gdb.base/macscp.exp: Fix code format issues.
7008 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7010 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7011 * gdb.asm/powerpc64le.inc: New file.
7013 2014-03-25 Pedro Alves <palves@redhat.com>
7014 Doug Evans <dje@google.com>
7016 * gdb.base/source-execution.c: New file.
7017 * gdb.base/source-execution.exp: New file.
7018 * gdb.base/source-execution.gdb: New file.
7020 2014-03-24 Doug Evans <dje@google.com>
7022 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7025 2014-03-24 Hui Zhu <hui@codesourcery.com>
7026 Pedro Alves <palves@redhat.com>
7028 PR breakpoints/16101
7029 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7030 test pass/fail messages. Detect missing support for dprintf when
7031 breakpoints are actually inserted.
7032 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7033 breakpoints are actually inserted.
7034 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7037 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7039 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7041 2014-03-22 Doug Evans <xdje42@gmail.com>
7043 * gdb.python/python.exp (python not supported): Verify multi-line
7044 python command issues an error.
7045 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7046 guile command issues an error.
7048 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7050 * gdb.threads/thread-specific.exp: Handle the lack of usable
7051 $this_breakpoint and $this_thread.
7053 2014-03-21 Hui Zhu <hui@codesourcery.com>
7055 * gdb.base/attach.exp (do_command_attach_tests): New.
7057 2014-03-20 Tom Tromey <tromey@redhat.com>
7058 Pedro Alves <palves@redhat.com>
7061 * gdb.base/condbreak-call-false.c: New file.
7062 * gdb.base/condbreak-call-false.exp: New file.
7064 2014-03-20 Pedro Alves <palves@redhat.com>
7066 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7068 (block_signals, unblock_signals): Delete.
7069 (child_function_2, main): Remove references to deleted variable
7072 2014-03-20 Pedro Alves <palves@redhat.com>
7074 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7075 Use pthread_kill to signal thread 2.
7076 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7077 Adjust to make the test send itself a signal rather than using the
7078 host's "kill" command.
7080 2014-03-20 Pedro Alves <palves@redhat.com>
7082 * gdb.threads/multiple-step-overs.c: New file.
7083 * gdb.threads/multiple-step-overs.exp: New file.
7084 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7085 Adjust expected infrun debug output.
7087 2014-03-20 Pedro Alves <palves@redhat.com>
7089 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7090 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7092 2014-03-20 Pedro Alves <palves@redhat.com>
7095 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7096 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7097 of gdb_test_multiple.
7098 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7099 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7101 2014-03-20 Pedro Alves <palves@redhat.com>
7103 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7104 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7106 2014-03-19 Pedro Alves <palves@redhat.com>
7108 * gdb.base/async.exp: Remove early return.
7110 2014-03-19 Pedro Alves <palves@redhat.com>
7112 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7114 2014-03-19 Pedro Alves <palves@redhat.com>
7116 * gdb.base/async.exp (test_background): Expect \r\n after
7117 "completed." in the fail pattern.
7119 2014-03-19 Pedro Alves <palves@redhat.com>
7121 * gdb.base/async.exp (test_background): New procedure.
7122 Use it for all background execution command tests.
7124 2014-03-19 Pedro Alves <palves@redhat.com>
7126 * gdb.base/async.exp: Use prepare_for_testing.
7128 2014-03-19 Pedro Alves <palves@redhat.com>
7130 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7133 2014-03-19 Pedro Alves <palves@redhat.com>
7135 * gdb.base/async.c (main): Add "jump here" and "until here" line
7137 * gdb.base/async.exp (jump_here): New global.
7138 (jump& test): Use it.
7139 (until_here): New global.
7140 (until& test): Use it.
7142 2014-03-19 Pedro Alves <palves@redhat.com>
7144 * gdb.base/async.exp: Don't frob gdb_protocol.
7146 2014-03-18 Doug Evans <xdje42@gmail.com>
7148 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7149 Fix spelling of exec-done-display.
7151 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7154 * gdb.base/gdb-sigterm.c: New file.
7155 * gdb.base/gdb-sigterm.exp: New file.
7157 2014-03-18 Pedro Alves <palves@redhat.com>
7160 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7161 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7164 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7166 * gdb.ada/pckd_arr_ren: New testcase.
7168 2014-03-13 Doug Evans <xdje42@gmail.com>
7171 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7172 collect after discarding symbols.
7174 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7175 Doug Evans <xdje42@gmail.com>
7177 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7178 to history survives a gc.
7180 2014-03-13 Pedro Alves <palves@redhat.com>
7182 * gdb.base/default.exp: Don't test "target procfs".
7184 2014-03-13 Pedro Alves <palves@redhat.com>
7186 * gdb.base/default.exp: Update "target child" and "target procfs"
7187 tests to not expect "Unix".
7189 2014-03-12 Tom Tromey <tromey@redhat.com>
7191 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7192 New procs. Add target-async tests.
7193 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7194 Add target-async tests.
7196 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7198 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7199 'func_start' and 'func_end' for the beginning and end of the
7200 function code, respectively.
7201 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7202 'func_end' instead of 'func' and 'main'.
7204 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7206 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7207 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7208 generate the debug info assembler source.
7210 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7212 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7213 * gdb.dwarf2/arr-subrange.exp: Likewise.
7214 * gdb.dwarf2/dwz.exp: Likewise.
7215 * gdb.dwarf2/method-ptr.exp: Likewise.
7216 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7217 * gdb.dwarf2/subrange.exp: Likewise.
7218 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7219 * gdb.dwarf2/implptrpiece.exp: Likewise.
7220 * gdb.dwarf2/nostaticblock.exp: Likewise.
7222 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7224 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7225 directory to absolute path name arguments.
7227 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7229 * gdb.ada/tagged_access: New testcase.
7231 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7233 * gdb.btrace/data.exp: Update expected output.
7235 2014-03-06 Yao Qi <yao@codesourcery.com>
7237 * gdb.trace/pr16508.exp: New file.
7239 2014-03-05 Pedro Alves <palves@redhat.com>
7242 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7244 (top level): Adjust to use it. Add tests that exercise breakpoint
7245 interaction with the code-cache.
7247 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7249 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7250 test for 'history-append!'.
7252 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7254 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7255 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7256 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7257 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7258 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7259 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7261 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7263 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7264 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7265 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7267 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7269 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7271 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7273 * gdb.dwarf2/arr-stride.c: New file.
7274 * gdb.dwarf2/arr-stride.exp: New file.
7276 2014-02-26 Pedro Alves <palves@redhat.com>
7278 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7279 that won't ever trigger. Make sure that GDB reports the correct
7280 breakpoint that caused the stop.
7282 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7285 * gdb.base/auto-load-script: New file.
7286 * gdb.base/auto-load.c: New file.
7287 * gdb.base/auto-load.exp: New file.
7290 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7292 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7294 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7295 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7297 2014-02-24 Doug Evans <dje@google.com>
7299 * lib/gdb.exp (run_on_host): Log error output if program fails.
7301 2014-02-21 Pedro Alves <palves@redhat.com>
7303 * gdb.threads/step-after-sr-lock.c: Rename to ...
7304 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7305 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7306 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7309 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7312 * gdb.arch/amd64-stap-special-operands.exp: New file.
7313 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7314 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7315 * gdb.arch/amd64-stap-triplet.S: Likewise.
7316 * gdb.arch/amd64-stap-triplet.c: Likewise.
7318 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7320 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7321 in .section pseudo-op.
7323 2014-02-20 lin zuojian <manjian2006@gmail.com>
7324 Joel Brobecker <brobecker@adacore.com>
7325 Doug Evans <xdje42@gmail.com>
7328 * gdb.dwarf2/dw2-icycle.S: New file.
7329 * gdb.dwarf2/dw2-icycle.c: New file.
7330 * gdb.dwarf2/dw2-icycle.exp: New file.
7332 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7334 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7335 operations on gdb.Value objects.
7336 * gdb.python/py-value-cc.exp: Add new test to test operations on
7339 2014-02-18 Doug Evans <dje@google.com>
7341 * Makefile.in (TESTS): New variable.
7342 (expanded_tests, expanded_tests_or_none): New variables
7343 (check-single): Pass $(expanded_tests_or_none) to runtest.
7344 (check-parallel): Only run tests in $(TESTS) if non-empty.
7345 (check/no-matching-tests-found): New rule.
7346 * README: Document TESTS makefile variable.
7348 2014-02-18 Doug Evans <dje@google.com>
7350 * Makefile.in (check-parallel): rm -rf outputs temp.
7352 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7354 Fix "ERROR: no fileid for" in the testsuite.
7355 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7357 2014-02-12 Doug Evans <dje@google.com>
7359 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7360 (MISCELLANEOUS): New variable.
7361 (clean): rm -rf $(MISCELLANEOUS).
7362 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7363 dwp live in the same directory as symlinks, with each symlink pointed
7364 to a differently named file in a different directory.
7366 2014-02-11 Doug Evans <dje@google.com>
7368 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7369 of Tcl file commands.
7371 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7373 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7376 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7378 * gdb.ada/tick_length_array_enum_idx: New testcase.
7380 2014-02-10 Doug Evans <xdje42@gmail.com>
7382 * configure.ac (AC_OUTPUT): Add gdb.guile.
7383 * configure: Regenerate.
7384 * lib/gdb-guile.exp: New file.
7385 * lib/gdb.exp (get_target_charset): New function.
7386 * gdb.base/help.exp: Update expected output from "apropos apropos".
7387 * gdb.guile/Makefile.in: New file.
7388 * gdb.guile/guile.exp: New file.
7389 * gdb.guile/scm-arch.c: New file.
7390 * gdb.guile/scm-arch.exp: New file.
7391 * gdb.guile/scm-block.c: New file.
7392 * gdb.guile/scm-block.exp: New file.
7393 * gdb.guile/scm-breakpoint.c: New file.
7394 * gdb.guile/scm-breakpoint.exp: New file.
7395 * gdb.guile/scm-disasm.c: New file.
7396 * gdb.guile/scm-disasm.exp: New file.
7397 * gdb.guile/scm-equal.c: New file.
7398 * gdb.guile/scm-equal.exp: New file.
7399 * gdb.guile/scm-error.exp: New file.
7400 * gdb.guile/scm-error.scm: New file.
7401 * gdb.guile/scm-frame-args.c: New file.
7402 * gdb.guile/scm-frame-args.exp: New file.
7403 * gdb.guile/scm-frame-args.scm: New file.
7404 * gdb.guile/scm-frame-inline.c: New file.
7405 * gdb.guile/scm-frame-inline.exp: New file.
7406 * gdb.guile/scm-frame.c: New file.
7407 * gdb.guile/scm-frame.exp: New file.
7408 * gdb.guile/scm-generics.exp: New file.
7409 * gdb.guile/scm-gsmob.exp: New file.
7410 * gdb.guile/scm-iterator.c: New file.
7411 * gdb.guile/scm-iterator.exp: New file.
7412 * gdb.guile/scm-math.c: New file.
7413 * gdb.guile/scm-math.exp: New file.
7414 * gdb.guile/scm-objfile-script-gdb.in: New file.
7415 * gdb.guile/scm-objfile-script.c: New file.
7416 * gdb.guile/scm-objfile-script.exp: New file.
7417 * gdb.guile/scm-objfile.c: New file.
7418 * gdb.guile/scm-objfile.exp: New file.
7419 * gdb.guile/scm-ports.exp: New file.
7420 * gdb.guile/scm-pretty-print.c: New file.
7421 * gdb.guile/scm-pretty-print.exp: New file.
7422 * gdb.guile/scm-pretty-print.scm: New file.
7423 * gdb.guile/scm-section-script.c: New file.
7424 * gdb.guile/scm-section-script.exp: New file.
7425 * gdb.guile/scm-section-script.scm: New file.
7426 * gdb.guile/scm-symbol.c: New file.
7427 * gdb.guile/scm-symbol.exp: New file.
7428 * gdb.guile/scm-symtab-2.c: New file.
7429 * gdb.guile/scm-symtab.c: New file.
7430 * gdb.guile/scm-symtab.exp: New file.
7431 * gdb.guile/scm-type.c: New file.
7432 * gdb.guile/scm-type.exp: New file.
7433 * gdb.guile/scm-value-cc.cc: New file.
7434 * gdb.guile/scm-value-cc.exp: New file.
7435 * gdb.guile/scm-value.c: New file.
7436 * gdb.guile/scm-value.exp: New file.
7437 * gdb.guile/source2.scm: New file.
7438 * gdb.guile/types-module.cc: New file.
7439 * gdb.guile/types-module.exp: New file.
7441 2014-02-10 Yao Qi <yao@codesourcery.com>
7444 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7445 * configure: Regenerated.
7446 * Makefile.in: New file.
7448 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7450 * gdb.python/py-framefilter.exp: Fix typo.
7452 2014-02-08 Yao Qi <yao@codesourcery.com>
7454 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7455 that no =breakpoint-modified is emitted when breakpoints are
7456 modified through MI commands.
7458 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7459 Pedro Alves <palves@redhat.com>
7461 * gdb.threads/step-after-sr-lock.c: New file.
7462 * gdb.threads/step-after-sr-lock.exp: New file.
7464 2014-02-07 Pedro Alves <palves@redhat.com>
7466 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7468 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7470 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7471 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7473 2014-02-06 Doug Evans <xdje42@gmail.com>
7475 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7478 * gdb.gdb/python-interrupts.exp: New file.
7480 2014-02-05 Yao Qi <yao@codesourcery.com>
7482 * gdb.trace/report.exp (use_collected_data): Test the output
7483 of "info threads" and "info inferiors".
7485 2014-02-05 Yao Qi <yao@codesourcery.com>
7489 2013-05-24 Yao Qi <yao@codesourcery.com>
7491 * gdb.trace/tfile.exp: Test inferior and thread.
7493 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7495 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7497 * gdb.base/step-bt.c: Call hello via function pointer to make
7498 sure its first instruction is executed on powerpc64le-linux.
7500 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7502 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7504 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7506 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7507 of the test patterns for use on little-endian systems.
7509 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7511 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7512 (decimal_vector): Fix for little-endian.
7514 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7516 * gdb.arch/sparc-sysstep.exp: New file.
7517 * gdb.arch/sparc-sysstep.c: Likewise.
7519 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7521 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7523 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7525 2014-01-23 Tom Tromey <tromey@redhat.com>
7527 * gdb.ada/array_char_idx: New testcase.
7529 2014-01-23 Tom Tromey <tromey@redhat.com>
7532 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7533 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7536 2014-01-23 Tom Tromey <tromey@redhat.com>
7539 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7540 string from an inferior frame.
7541 * gdb.python/py-framefilter-mi.exp: Update.
7543 2014-01-22 Doug Evans <dje@google.com>
7545 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7547 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7549 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7551 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7553 * gdb.trace/entry-values.exp: Remove excess space character from
7554 regex patterns. Handle s390 call instruction.
7556 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7558 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7559 define "*_start" label. Make "name" static.
7560 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7561 ${name} by references to ${name}_start.
7563 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7565 * gdb.base/info-macros.exp: Remove "debug" from the compile
7568 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7570 * gdb.dlang/demangle.exp: New file.
7572 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7574 * gdb.dlang/primitive-types.exp: New file.
7576 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7578 * configure.ac: Create gdb.dlang/Makefile.
7579 * configure: Regenerate.
7580 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7581 * gdb.dlang/Makefile.in: New file.
7582 * lib/d-support.exp: New file.
7583 * lib/gdb.exp (skip_d_tests): New proc.
7585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7587 * gdb.btrace/delta.exp: Check reverse stepi.
7588 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7589 * gdb.btrace/finish.exp: New.
7590 * gdb.btrace/next.exp: New.
7591 * gdb.btrace/nexti.exp: New.
7592 * gdb.btrace/record_goto.c: Add comments.
7593 * gdb.btrace/step.exp: New.
7594 * gdb.btrace/stepi.exp: New.
7595 * gdb.btrace/multi-thread-step.c: New.
7596 * gdb.btrace/multi-thread-step.exp: New.
7597 * gdb.btrace/rn-dl-bind.c: New.
7598 * gdb.btrace/rn-dl-bind.exp: New.
7599 * gdb.btrace/data.c: New.
7600 * gdb.btrace/data.exp: New.
7601 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7603 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7605 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7606 * gdb.btrace/exception.exp: Update.
7607 * gdb.btrace/instruction_history.exp: Update.
7608 * gdb.btrace/record_goto.exp: Update.
7609 * gdb.btrace/tailcall.exp: Update.
7610 * gdb.btrace/unknown_functions.exp: Update.
7611 * gdb.btrace/delta.exp: New.
7613 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7615 * gdb.btrace/record_goto.exp: Add backtrace test.
7616 * gdb.btrace/tailcall.exp: Add backtrace test.
7618 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7620 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7621 * gdb.btrace/record_goto.c: New.
7622 * gdb.btrace/record_goto.exp: New.
7623 * gdb.btrace/x86-record_goto.S: New.
7625 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7627 * gdb.btrace/function_call_history.exp: Update tests.
7628 * gdb.btrace/instruction_history.exp: Update tests.
7630 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7632 * gdb.btrace/function_call_history.exp: Fix expected field
7633 order for "record function-call-history".
7634 Add new tests for "record function-call-history /c".
7635 * gdb.btrace/exception.cc: New.
7636 * gdb.btrace/exception.exp: New.
7637 * gdb.btrace/tailcall.exp: New.
7638 * gdb.btrace/x86-tailcall.S: New.
7639 * gdb.btrace/x86-tailcall.c: New.
7640 * gdb.btrace/unknown_functions.c: New.
7641 * gdb.btrace/unknown_functions.exp: New.
7642 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7644 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7646 * gdb.btrace/instruction_history.exp: Update.
7647 * gdb.btrace/function_call_history.exp: Update.
7649 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7651 * gdb.btrace/function_call_history.exp: Fix expected function
7653 * gdb.btrace/instruction_history.exp: Initialize traced.
7654 Remove traced_functions.
7656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7658 * gdb.btrace/function_call_history.exp: Update
7659 * gdb.btrace/instruction_history.exp: Update.
7661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7663 * gdb.btrace/enable.exp: Update expected text.
7665 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7667 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7670 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7672 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7674 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7676 * lib/gdb.exp (supports_process_record): Return true for
7677 arm*-linux*. (supports_reverse): Likewise.
7679 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7683 * gdb.python/py-type.c: Enhance test case.
7684 * gdb.python/py-value-cc.cc: Likewise
7685 * gdb.python/py-type.exp: Add new tests.
7686 * gdb.python/py-value-cc.exp: Likewise
7688 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7689 Pedro Alves <palves@redhat.com>
7691 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7693 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7694 references to ${name}_start by references to ${name}.
7696 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7698 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7700 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7702 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7704 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7705 Pedro Alves <palves@redhat.com>
7707 * gdb.mi/mi-info-os.exp: Connect to the target with
7710 2014-01-08 Pedro Alves <palves@redhat.com>
7712 * gdb.threads/reconnect-signal.c: New file.
7713 * gdb.threads/reconnect-signal.exp: New file.
7715 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7717 * gdb.base/source-dir.exp: New file.
7719 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7721 * gdb.ada/mi_interface: New testcase.
7723 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7725 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7726 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7727 gdb.ada/pp-rec-component/pck.ads: New files.
7729 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7731 * gdb.python/py-pp-integral.c: New file.
7732 * gdb.python/py-pp-integral.py: New file.
7733 * gdb.python/py-pp-integral.exp: New file.
7735 For older changes see ChangeLog-1993-2013.
7741 ;; version-control: never
7744 Copyright 2014-2016 Free Software Foundation, Inc.
7745 Copying and distribution of this file, with or without modification,
7746 are permitted provided the copyright notice and this notice are preserved.