1 2016-03-15 Don Breazeal <donb@codesourcery.com>
3 * gdb.cp/scope-err.cc: New test program.
4 * gdb.cp/scope-err.exp: New test script.
5 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6 lines and "set breakpoint here" comment.
7 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8 Fixed some whitespace and format issues.
9 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12 2016-03-15 Doug Evans <dje@google.com>
14 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16 All callers updated. Add tests for enums, mixed flags register.
18 2016-03-15 Doug Evans <dje@google.com>
20 * gdb.base/skip.c (main): Call test_skip_file_and_function.
21 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
23 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
25 * gdb.base/default.exp: Add $_as_string to the list of expected
26 convenience functions.
28 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
30 * gdb.base/maint.exp: New tests for 'maint info line-table'.
32 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
34 * gdb.python/py-as-string.exp: New file.
35 * gdb.python/py-as-string.c: New file.
37 2016-03-09 Pedro Alves <palves@redhat.com>
39 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
40 signal" -> "Thread NN received signal" output change.
41 * gdb.threads/ia64-sigill.exp: Likewise.
42 * gdb.threads/linux-dp.exp: Likewise.
43 * gdb.threads/manythreads.exp: Likewise.
44 * gdb.threads/pending-step.exp: Likewise.
45 * gdb.threads/print-threads.exp: Likewise.
46 * gdb.threads/sigstep-threads.exp: Likewise.
47 * gdb.threads/staticthreads.exp: Likewise.
48 * gdb.threads/tls.exp: Likewise.
50 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
52 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
53 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
54 * gdb.trace/pending.exp: Accept leading dot before function name.
55 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
56 * lib/trace-support.exp: Set registers for ppc.
58 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
60 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
61 use it for disassembly; accept .main in addition to main in backtrace.
63 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
64 Marcin Kościelnicki <koriakin@0x04.net>
66 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
67 (gdb_recursion_test_ptr): New global variable.
68 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
72 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
74 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
77 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
79 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
80 (bar): Add bar_start_lbl label.
81 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
82 of foo/bar for emitting DWARF and tracing.
84 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
86 * analyze-racy-logs.py: Set executable bit.
88 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
90 * Makefile.in (DEFAULT_RACY_ITER): New variable.
91 (CHECK_TARGET_TMP): Likewise.
92 (check-single-racy): New rule.
93 (check-parallel-racy): Likewise.
94 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
95 (do-check-parallel-racy): New rule.
96 (check-racy/%.exp): Likewise.
97 * README (Racy testcases): New section.
98 * analyze-racy-logs.py: New file.
100 2016-03-03 Doug Evans <dje@google.com>
102 * gdb.base/skip.exp: Use with_test_prefix.
104 2016-03-03 Yao Qi <yao.qi@linaro.org>
106 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
107 Invoke step_over_syscall "clone" and break_cond_on_syscall
109 * gdb.base/step-over-clone.c: New file.
111 2016-03-03 Yao Qi <yao.qi@linaro.org>
113 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
116 2016-03-03 Yao Qi <yao.qi@linaro.org>
118 * gdb.base/disp-step-fork.c: Rename to ...
119 * gdb.base/step-over-fork.c: ... it. New file.
120 * gdb.base/disp-step-vfork.c: Rename to ...
121 * gdb.base/step-over-vfork.c: ... it. New file.
122 * gdb.base/disp-step-syscall.exp: Rename to ...
123 * gdb.base/step-over-syscall.exp: ... it. New file.
124 (disp_step_cross_syscall): Rename to ...
125 (step_over_syscall): ... it.
127 2016-03-03 Yao Qi <yao.qi@linaro.org>
129 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
130 If target supports condition evaluation on target, invoke
131 break_cond_on_syscall for fork and vfork.
133 2016-03-03 Yao Qi <yao.qi@linaro.org>
135 * gdb.base/disp-step-syscall.exp: Don't invoke
136 support_displaced_stepping.
137 (disp_step_cross_syscall): Test with displaced stepping off and
140 2016-03-03 Yao Qi <yao.qi@linaro.org>
142 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
145 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
148 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
150 * gdb.fortran/vla-history.exp: Remove breakpoint.
152 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
154 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
156 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
158 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
160 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
162 * gdb.mi/vla.f90: Nullify pointer after declaration.
164 2016-03-01 Pedro Alves <palves@redhat.com>
166 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
168 2016-03-01 Pedro Alves <palves@redhat.com>
170 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
171 before anything else.
172 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
174 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
175 before anything else.
176 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
178 2016-03-01 Pedro Alves <palves@redhat.com>
180 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
182 2016-03-01 Yao Qi <yao.qi@linaro.org>
184 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
187 2016-03-01 Yao Qi <yao.qi@linaro.org>
189 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
191 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
193 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
194 manually constructing the output path.
196 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
198 * gdb.arch/s390-stackless.S: New.
199 * gdb.arch/s390-stackless.exp: New.
201 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
203 * gdb.dlang/circular.c: New file.
204 * gdb.dlang/circular.exp: New file.
206 2016-02-26 Yao Qi <yao.qi@linaro.org>
208 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
209 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
212 2016-02-26 Yao Qi <yao.qi@linaro.org>
214 * gdb.reverse/aarch64.c: Rename to ...
215 * gdb.reverse/insn-reverse.c: ... it.
216 * gdb.reverse/aarch64.exp: Rename to ...
217 * gdb.reverse/insn-reverse.exp: ... it.
219 2016-02-26 Yao Qi <yao.qi@linaro.org>
221 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
222 (testcase_ftype): New.
223 (testcases): New array.
225 (main): Call each element in testcases.
226 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
227 (read_testcase): New.
228 Do the tests in a loop.
230 2016-02-25 Yao Qi <yao.qi@linaro.org>
232 * gdb.base/branches.c: Remove.
234 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
237 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
239 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
241 * gdb.trace/ftrace.exp: Remove unnecessary target check.
243 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
245 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
246 change x86_64 call_insn to 'callq'.
248 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
250 * gdb.trace/tfile-avx.c: Move to...
251 * gdb.trace/tracefile-pseudo-reg.c: Here.
252 * gdb.trace/tfile-avx.exp: Move to...
253 * gdb.trace/tracefile-pseudo-reg.exp: Here.
255 2016-02-24 Gary Benson <gbenson@redhat.com>
257 * gdb.base/attach-pie-noexec.exp: Do not expect an error
260 2016-02-23 Doug Evans <dje@google.com>
262 * gdb.base/skip.c (test_skip): New function.
263 (end_test_skip_file_and_function): New function.
264 (test_skip_file_and_function): New function.
265 * gdb.base/skip1.c (test_skip): New function.
266 (skip1_test_skip_file_and_function): New function.
267 * gdb.base/skip.exp: Add tests for new skip options.
268 * gdb.base/skip-solib.exp: Update expected output.
269 * gdb.perf/skip-command.cc: New file.
270 * gdb.perf/skip-command.exp: New file.
271 * gdb.perf/skip-command.py: New file.
273 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
275 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
276 info registers pattern.
278 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
280 * lib/future.exp: Add D support.
281 (gdb_find_gdc): New proc.
282 (gdb_default_target_compile): Add D support.
284 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
286 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
288 (trace_speed_test): Determine the iteration count for a time
289 between 15..30 seconds.
291 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
293 * gdb.arch/i386-mpx-sigsegv.c: New file.
294 * gdb.arch/i386-mpx-sigsegv.exp: New file.
295 * gdb.arch/i386-mpx-simple_segv.c: New file.
296 * gdb.arch/i386-mpx-simple_segv.exp: New file.
298 2016-02-18 Yao Qi <yao.qi@linaro.org>
300 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
301 Don't call setup_kfail.
303 2016-02-18 Yao Qi <yao.qi@linaro.org>
305 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
306 Set "set breakpoint condition-evaluation" per $cond_bp_target.
308 2016-02-16 Doug Evans <dje@google.com>
310 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
311 * gdb.base/skip1.c: Ditto.
312 * gdb.base/skip.exp: Whitespace cleanup.
314 2016-02-16 Don Breazeal <donb@codesourcery.com>
317 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
318 Remove kfail for PR remote/19496.
320 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
322 * lib/gdb.exp (standard_temp_file): Return a path specific to
323 the runtest invocation.
325 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
327 * gdb.trace/save-trace.exp: Change relative path to be in the
328 standard output directory.
330 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
332 * gdb.arch/i386-prologue.c: Add missing prototypes.
334 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
336 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
337 * gdb.arch/i386-prologue.exp: Likewise.
338 * gdb.arch/i386-size.exp: Likewise.
340 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
342 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
343 define object file path.
344 * gdb.btrace/gcore.exp: Use standard_output_file to define core
346 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
347 standard_output_file to define binfile.
349 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
351 Fix compatibility with recent gfortran-5.3.1.
352 * gdb.fortran/vla-history.exp (print vla1 allocated)
353 (print vla2 allocated, print $2, print $3): Remove
354 (print $4): Rename to ...
355 (print $2): ... here.
356 (print $9): Rename to ...
357 (print $5): ... here.
358 (print $10): Rename to ...
359 (print $6): ... here.
360 * gdb.fortran/vla.f90: Add pvla initialization.
362 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
364 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
366 * gdb.fortran/vla-value-sub.exp: Likewise.
368 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
370 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
372 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
374 * i386-biarch-core.exp: Define corefile using
375 standard_output_file.
377 2016-02-12 Yao Qi <yao.qi@linaro.org>
379 * gdb.arch/arm-single-step-kernel-helper.c: New.
380 * gdb.arch/arm-single-step-kernel-helper.exp: New.
382 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
384 * gdb.btrace/tailcall-only.exp: New.
385 * gdb.btrace/tailcall-only.c: New.
386 * gdb.btrace/x86_64-tailcall-only.S: New.
387 * gdb.btrace/i686-tailcall-only.S: New.
389 2016-02-11 Pedro Alves <palves@redhat.com>
391 * README (Parallel testing): Add missing double quotes.
393 2016-02-11 Pedro Alves <palves@redhat.com>
395 * README (Parallel testing): New section.
396 (GDB_PARALLEL): Rewrite.
397 (FORCE_PARALLEL): Document.
399 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
401 * gdb.trace/tfile-avx.c: New test.
402 * gdb.trace/tfile-avx.exp: New test.
404 2016-02-09 Keith Seitz <keiths@redhat.com>
407 * gdb.base/infcall-exec.c: New file.
408 * gdb.base/infcall-exec2.c: New file.
409 * gdb.base/infcall-exec.exp: New file.
411 2016-02-09 Keith Seitz <keiths@redhat.com>
413 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
414 (toplevel): Call test_bkpt_address.
416 2016-02-09 Keith Seitz <keiths@redhat.com>
419 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
420 (toplevel): Call test_bkpt_address.
422 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
424 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
426 * configure: Regenerate.
428 2016-02-09 Pedro Alves <palves@redhat.com>
431 * gdb.base/execl-update-breakpoints.c (some_function): New
434 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
435 Tighten expected GDB output.
437 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
439 * Makefile.in (ALL_SUBDIRS): Remove.
440 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
441 (distclean maintainer-clean realclean): Likewise.
442 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
443 * configure: Regenerate.
444 * gdb.ada/Makefile.in: Delete.
445 * gdb.arch/Makefile.in: Likewise.
446 * gdb.asm/Makefile.in: Likewise.
447 * gdb.base/Makefile.in: Likewise.
448 * gdb.btrace/Makefile.in: Likewise.
449 * gdb.cell/Makefile.in: Likewise.
450 * gdb.compile/Makefile.in: Likewise.
451 * gdb.cp/Makefile.in: Likewise.
452 * gdb.disasm/Makefile.in: Likewise.
453 * gdb.dlang/Makefile.in: Likewise.
454 * gdb.dwarf2/Makefile.in: Likewise.
455 * gdb.fortran/Makefile.in: Likewise.
456 * gdb.gdb/Makefile.in: Likewise.
457 * gdb.go/Makefile.in: Likewise.
458 * gdb.guile/Makefile.in: Likewise.
459 * gdb.java/Makefile.in: Likewise.
460 * gdb.linespec/Makefile.in: Likewise.
461 * gdb.mi/Makefile.in: Likewise.
462 * gdb.modula2/Makefile.in: Likewise.
463 * gdb.multi/Makefile.in: Likewise.
464 * gdb.objc/Makefile.in: Likewise.
465 * gdb.opencl/Makefile.in: Likewise.
466 * gdb.opt/Makefile.in: Likewise.
467 * gdb.pascal/Makefile.in: Likewise.
468 * gdb.perf/Makefile.in: Likewise.
469 * gdb.python/Makefile.in: Likewise.
470 * gdb.reverse/Makefile.in: Likewise.
471 * gdb.server/Makefile.in: Likewise.
472 * gdb.stabs/Makefile.in: Likewise.
473 * gdb.threads/Makefile.in: Likewise.
474 * gdb.trace/Makefile.in: Likewise.
475 * gdb.xml/Makefile.in: Likewise.
476 * lib/gdb.exp (make_gdb_parallel_path): Add check for
478 (standard_output_file): Remove check for GDB_PARALLEL, always
479 return path in outputs/$subdir/$testname.
481 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
483 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
484 (site.exp): Assign abs_srcdir to tcl's srcdir.
486 2016-02-04 Yao Qi <yao.qi@linaro.org>
488 * gdb.base/foll-exec-mode.c: Include limits.h.
489 (main): Add parameters argc and argv. Get directory from
491 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
493 * gdb.base/foll-exec.c: Include limits.h.
494 (main): Add parameters argc and argv.
495 Get directory from argv[0].
496 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
497 Adjust tests on the number of lines as source code changed.
498 * gdb.base/foll-vfork-exit.c: Include limits.h.
499 (main): Add one line of statement before vfork.
500 * gdb.base/foll-vfork.c: Include limits.h and string.h.
501 (main): Add parameters argc and argv. Get directory from
503 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
504 (setup_gdb): Set tbreak to skip some source lines.
505 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
506 (main): Add parameters argc and argv. Get directory from
508 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
510 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
511 (main): Add parameters argc and argv. Get directory from
513 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
516 2016-02-01 Doug Evans <dje@google.com>
518 * gdb.base/skip.exp: Clean up multiple references to same test name.
520 2016-02-01 Pedro Alves <palves@redhat.com>
523 * gdb.threads/forking-threads-plus-breakpoint.exp
524 (displaced_stepping_supported): New global.
525 (probe_displaced_stepping_support): New procedure.
526 (do_test): Add 'displaced' parameter, and use it.
527 (top level): Check for displaced stepping support. Add displaced
528 stepping on/off testing axis.
530 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
532 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
533 pointer. Don't perform further tests on the unassociated pointer
534 if the first test fails.
536 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
538 * gdb.base/max-value-size.c: New file.
539 * gdb.base/max-value-size.exp: New file.
540 * gdb.base/huge.exp: Disable max-value-size for this test.
542 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
544 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
546 2016-01-28 Yao Qi <yao.qi@linaro.org>
548 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
550 2016-01-25 Pedro Alves <palves@redhat.com>
553 * gdb.base/fork-running-state.c: New file.
554 * gdb.base/fork-running-state.exp: New file.
556 2016-01-25 Pedro Alves <palves@redhat.com>
559 * gdb.base/catch-fork-kill.c: New file.
560 * gdb.base/catch-fork-kill.exp: New file.
562 2016-01-25 Pedro Alves <palves@redhat.com>
564 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
565 Delete, moved to lib/gdb.exp.
566 * gdb.threads/forking-threads-plus-breakpoint.exp
567 (foreach_with_prefix): Likewise.
568 * gdb.threads/process-dies-while-handling-bp.exp
569 (foreach_with_prefix): Likewise.
570 * lib/gdb.exp (foreach_with_prefix): New procedure.
572 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
574 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
575 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
577 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
579 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
582 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
583 Pedro Alves <palves@redhat.com>
585 Fix testsuite compatibility with Guile.
586 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
589 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
591 Fix testsuite compatibility with Guile.
592 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
593 (thread 1): New test for backtrace through signal handler.
595 2016-01-22 Yao Qi <yao.qi@linaro.org>
598 * gdb.base/multi-forks.c: Include
599 ../lib/unbuffer_output.c
600 (main): Call gdb_unbuffer_output.
602 2016-01-21 Doug Evans <dje@google.com>
604 * lib/ada.exp (gdb_compile_ada): Fix typo.
606 2016-01-21 Joel Brobecker <brobecker@adacore.com>
608 * gdb.base/break-fun-addr.exp: New file.
609 * gdb.base/break-fun-addr1.c: New file.
610 * gdb.base/break-fun-addr2.c: New file.
612 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
614 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
615 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
618 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
620 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
621 when GDB can not set the vector return value. Add more comments
624 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
626 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
629 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
631 * Makefile.in (DO_RUNTEST): Add --status and update usages.
633 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
635 * Makefile.in (check-single): Pass --status to runtest.
636 (check/%.exp): Likewise.
638 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
640 * Makefile.in (check-parallel): Propagate return code from make
643 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
645 * gdb.trace/ftrace.exp: Fix expected message on continue.
646 * gdb.trace/pending.exp: Fix expected message on continue.
647 * gdb.trace/trace-break.exp: Fix expected message on continue.
649 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
651 * lib/gdb.exp (gdb_test): Remove unused global references.
653 2016-01-18 Pedro Alves <palves@redhat.com>
655 * gdb.base/async-shell.exp: Adjust expected output.
656 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
657 * gdb.base/siginfo-thread.exp: Adjust expected output.
658 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
659 * gdb.java/jnpe.exp: Adjust expected output.
660 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
661 * gdb.threads/continue-pending-status.exp: Adjust expected output.
662 * gdb.threads/leader-exit.exp: Adjust expected output.
663 * gdb.threads/manythreads.exp: Adjust expected output.
664 * gdb.threads/pthreads.exp: Adjust expected output.
665 * gdb.threads/schedlock.exp: Adjust expected output.
666 * gdb.threads/siginfo-threads.exp: Adjust expected output.
667 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
669 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
671 * gdb.threads/sigthread.exp: Adjust expected output.
672 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
674 2016-01-18 Yao Qi <yao.qi@linaro.org>
676 * gdb.guile/scm-section-script.c: Replace @progbits with
678 * gdb.python/py-section-script.c: Likewise.
680 2016-01-15 Pedro Alves <palves@redhat.com>
682 * gdb.multi/tids.exp: Test star wildcard ranges.
684 2016-01-15 Pedro Alves <palves@redhat.com>
686 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
687 command from "thread apply" invocation.
688 (thr_apply_info_thr_invalid): Default the expected output to the
690 (top level): Add tests that use convenience variables. Add tests
691 for "thread apply" with a valid TID list, but missing the command.
693 2016-01-13 Pedro Alves <palves@redhat.com>
695 * gdb.base/default.exp: Expect $_gthread as well.
696 * gdb.multi/tids.exp: Test $_gthread.
697 * gdb.threads/thread-specific.exp: Test $_gthread.
699 2016-01-13 Pedro Alves <palves@redhat.com>
701 * gdb.multi/tids.exp: Test "info threads -gid".
703 2016-01-13 Pedro Alves <palves@redhat.com>
705 * gdb.multi/tids.exp: Test InferiorThread.global_num and
707 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
709 2016-01-07 Pedro Alves <palves@redhat.com>
711 * gdb.base/break.exp: Adjust to output changes.
712 * gdb.base/hbreak2.exp: Likewise.
713 * gdb.base/sepdebug.exp: Likewise.
714 * gdb.base/watch_thread_num.exp: Likewise.
715 * gdb.linespec/keywords.exp: Likewise.
716 * gdb.multi/info-threads.exp: Likewise.
717 * gdb.threads/thread-find.exp: Likewise.
718 * gdb.multi/tids.c: New file.
719 * gdb.multi/tids.exp: New file.
721 2016-01-13 Pedro Alves <palves@redhat.com>
723 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
725 2016-01-13 Pedro Alves <palves@redhat.com>
727 * gdb.base/default.exp: Expect $_inferior as well.
728 * gdb.multi/base.exp: Test $_inferior.
730 2016-01-13 Pedro Alves <palves@redhat.com>
733 * gdb.base/catch-signal-siginfo-cond.c: New file.
734 * gdb.base/catch-signal-siginfo-cond.exp: New file.
736 2016-01-12 Josh Stone <jistone@redhat.com>
737 Philippe Waroquiers <philippe.waroquiers@skynet.be>
739 * gdb.base/catch-syscall.c (do_execve): New variable.
740 (main): Conditionally trigger an execve.
741 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
742 (test_catch_syscall_execve): New, check entry/return across execve.
743 (do_syscall_tests): Call test_catch_syscall_execve.
745 2016-01-12 Pedro Alves <palves@redhat.com>
747 * gdb.base/random-signal.exp (do_test): New procedure, with body
748 of testcase moved in.
750 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
751 Pedro Alves <palves@redhat.com>
753 * gdb.base/funcargs.exp (finish from indirectly called function):
754 Reintroduce the case for 'First'.
756 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
757 Pedro Alves <palves@redhat.com>
759 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
760 (tcatch_vfork_then_child_follow_exec)
761 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
764 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
766 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
767 and repeats to unlimited.
768 * gdb.python/py-value.exp: Likewise.
769 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
770 and repeats to unlimited.
772 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
774 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
775 and reordering the functions.
776 * gdb.multi/hangout.c: Likewise.
777 * gdb.multi/hello.c: Likewise.
779 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
781 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
783 (SingleStatisticTestResult.report): Use dict.keys instead of
786 2016-01-06 Pedro Alves <palves@redhat.com>
788 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
790 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
792 * gdb.btrace/dlopen.exp: New.
793 * gdb.btrace/dlopen.c: New.
794 * gdb.btrace/dlopen-dso.c: New.
796 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
798 * lib/gdb.exp (gdb_test): Update comments to clarify that the
799 PATTERN argument is optional.
801 2015-12-24 Joel Brobecker <brobecker@adacore.com>
803 * lib/ada.exp (target_compile_ada_from_dir): New function.
804 (gdb_compile_ada): Reimplement avoiding the use of project files.
805 * gdb.ada/gnat_ada.gpr: Delete.
806 * gdb.ada/cond_lang.exp: Adjust test to make path before
808 * gdb.ada/small_reg_param.exp: Likewise.
810 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
812 * gdb.base/foll-vork.exp: Remove HP-UX special case.
814 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
816 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
819 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
821 * gdb.base/break.exp: Remove dead code.
822 * gdb.base/sepdebug.exp: Likewise.
824 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
826 * gdb.asm/asm-source.exp: Remove HP-UX references.
827 * gdb.base/annota1.exp: Likewise.
828 * gdb.base/annota3.exp: Likewise.
829 * gdb.base/attach.exp: Likewise.
830 * gdb.base/bigcore.exp: Likewise.
831 * gdb.base/break.exp: Likewise.
832 * gdb.base/call-ar-st.exp: Likewise.
833 * gdb.base/callfuncs.exp: Likewise.
834 * gdb.base/catch-fork-static.exp: Likewise.
835 * gdb.base/display.exp: Likewise.
836 * gdb.base/foll-exec-mode.exp: Likewise.
837 * gdb.base/foll-exec.exp: Likewise.
838 * gdb.base/foll-fork.exp: Likewise.
839 * gdb.base/foll-vfork.exp: Likewise.
840 * gdb.base/funcargs.exp: Likewise.
841 * gdb.base/hbreak2.exp: Likewise.
842 * gdb.base/inferior-died.exp: Likewise.
843 * gdb.base/interrupt.exp: Likewise.
844 * gdb.base/multi-forks.exp: Likewise.
845 * gdb.base/nodebug.exp: Likewise.
846 * gdb.base/sepdebug.exp: Likewise.
847 * gdb.base/solib1.c: Likewise.
848 * gdb.base/step-test.exp: Likewise.
849 * gdb.mi/non-stop.c: Likewise.
850 * gdb.mi/pthreads.c: Likewise.
851 * gdb.multi/bkpt-multi-exec.ex: Likewise.
852 * gdb.threads/pthreads.c: Likewise.
853 * gdb.threads/staticthreads.exp: Likewise.
854 * lib/future.exp: Likewise.
855 * lib/gdb.exp: Likewise.
856 * gdb.base/so-indr-cl.c: Remove.
857 * gdb.base/so-indr-cl.exp: Likewise.
858 * gdb.base/solib.c: Likewise.
859 * gdb.base/solib.exp: Likewise.
860 * gdb.base/solib2.c: Likewise.
862 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
864 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
865 * gdb.base/call-ar-st.exp: Likewise.
866 * gdb.base/callfuncs.exp: Likewise.
867 * gdb.base/condbreak.exp: Likewise.
868 * gdb.base/constvars.exp: Likewise.
869 * gdb.base/hbreak2.exp: Likewise.
870 * gdb.base/langs.exp: Likewise.
871 * gdb.base/list.exp: Likewise.
872 * gdb.base/long_long.exp: Likewise.
873 * gdb.base/ptype.exp: Likewise.
874 * gdb.base/scope.exp: Likewise.
875 * gdb.base/signals.exp: Likewise.
876 * gdb.base/so-impl-ld.exp: Likewise.
877 * gdb.base/varargs.exp: Likewise.
878 * gdb.base/volatile.exp: Likewise.
879 * gdb.base/whatis.exp: Likewise.
880 * gdb.cp/cplusfuncs.exp: Likewise.
881 * gdb.cp/inherit.exp: Likewise.
882 * gdb.cp/local.exp: Likewise.
883 * gdb.cp/member-ptr.exp: Likewise.
884 * gdb.cp/method.exp: Likewise.
885 * gdb.cp/overload.exp: Likewise.
886 * gdb.cp/templates.exp: Likewise.
887 * gdb.stabs/weird.exp: Likewise.
888 * lib/compiler.c: Likewise.
889 * lib/compiler.cc: Likewise.
890 * lib/cp-support.exp: Likewise.
891 * lib/gdb.exp: Likewise.
893 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
895 * configure.ac: Remove HP-UX case.
896 * configure: Regenerate.
898 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
900 * lib/gdb.exp (gdb_compile): Add function doc.
902 2015-12-17 Pedro Alves <palves@redhat.com>
905 * gdb.multi/info-threads.exp: New file.
907 2015-12-15 Yao Qi <yao.qi@linaro.org>
909 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
912 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
914 * gdb.base/history-duplicates.exp: Skip if no readline support.
916 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
918 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
920 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
922 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
924 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
926 * gdb.base/completion.exp: Skip tests that interrupt GDB with
927 ctrl-C if nointerrupts target property is set.
928 * gdb.base/double-prompt-target-event-error.exp: Likewise.
929 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
930 * gdb.base/paginate-bg-execution.exp: Likewise.
931 * gdb.base/paginate-execution-startup.exp: Likewise.
932 * gdb.base/random-signal.exp: Likewise.
933 * gdb.base/range-stepping.exp: Likewise.
934 * gdb.cp/annota2.exp: Likewise.
935 * gdb.cp/annota3.exp: Likewise.
936 * gdb.gdb/selftest.exp: Likewise.
937 * gdb.threads/continue-pending-status.exp: Likewise.
938 * gdb.threads/leader-exit.exp: Likewise.
939 * gdb.threads/manythreads.exp: Likewise.
940 * gdb.threads/pthreads.exp: Likewise.
941 * gdb.threads/schedlock.exp: Likewise.
942 * gdb.threads/sigthread.exp: Likewise.
944 2015-12-11 Don Breazeal <donb@codesourcery.com>
946 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
948 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
949 * gdb.base/foll-exec.exp (main): Enable for target remote.
950 * gdb.base/foll-fork.exp (main): Likewise.
951 * gdb.base/foll-vfork.exp (main): Likewise.
952 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
953 (proc continue_to_exit_bp_loc): Use clean_restart.
954 * gdb.base/pie-execl.exp (main): Disable for target remote.
955 * gdb.base/watch-vfork.exp (main): Enable for target remote.
956 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
957 * gdb.threads/execl.exp (main): Likewise.
958 * gdb.threads/fork-child-threads.exp (main): Likewise.
959 * gdb.threads/fork-plus-threads.exp (main): Disable for target
961 * gdb.threads/fork-thread-pending.exp (main): Enable for target
963 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
964 pid.tid style ptids, instead of just tid.
965 * gdb.threads/thread-execl.exp (main): Enable for target remote.
966 * gdb.threads/watchpoint-fork.exp (main): Likewise.
967 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
968 ptids, instead of just tid.
970 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
972 * gdb.base/list.exp (test_list_forward): Add end of file error
974 (test_repeat_list_command): Add end of file error test.
975 (test_list_backwards): Add beginning of file error test.
977 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
979 * gdb.base/list.exp (test_list_invalid_args): New function,
982 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
984 * gdb.base/list.exp (test_list): Make test names unique.
986 2015-12-11 Yao Qi <yao.qi@linaro.org>
988 * gdb.base/coremaker2.c: Remove.
990 2015-12-10 Pedro Alves <palves@redhat.com>
992 * gdb.multi/base.exp: Remove stale "spaces" references.
994 2015-12-10 Pedro Alves <palves@redhat.com>
996 * gdb.multi/base.exp: Don't use nowarnings.
997 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
998 * gdb.multi/hangout.c: Include stdio.h.
999 * gdb.multi/hello.c: Include stdlib.h.
1000 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1001 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1002 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1004 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1006 * gdb.dwarf2/dw2-ranges-base.c: New file.
1007 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1008 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1009 support additional line table, and debug ranges generation.
1010 (Dwarf::ranges): New function, generate .debug_ranges.
1011 (Dwarf::lines): Support generating simple line table programs.
1012 (Dwarf::assemble): Initialise new namespace variables.
1014 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1016 * gdb.base/async.exp (proc test_background): Add case for
1017 asynchronous execution not supported.
1019 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1021 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1022 format and change test names to make them unique.
1024 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1025 Pedro Alves <pedro@redhat.com>
1028 Add checking of floatformats setup on x86_64 hosts.
1029 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1030 (smallval, bigval): New labels/constants.
1031 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1032 float" after loading bigval and smallval.
1034 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1036 * gdb.ada/fun_overload_menu.exp: New testcase.
1037 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1039 2015-12-04 Josh Stone <jistone@redhat.com>
1041 * gdb.base/catch-fork-static.exp: New.
1043 2015-12-03 Yao Qi <yao.qi@linaro.org>
1045 * gdb.base/sizeof.c: Don't include stdio.h and
1046 ../lib/unbuffer_output.c.
1047 (main): New variable 'size' and 'value'. Remove printf and
1048 gdb_unbuffer_output. Assign return value to size and value.
1049 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1051 (check_sizeof): Check the result by printing variable 'size'.
1052 (check_valueof): Check the result by printing variable 'value'.
1054 2015-12-01 Yao Qi <yao.qi@linaro.org>
1056 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1057 for aarch64*-*-linux* target.
1059 2015-11-30 Pedro Alves <palves@redhat.com>
1061 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1063 2015-11-30 Pedro Alves <palves@redhat.com>
1065 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1066 Handle non-stop mode vCont replies.
1068 2015-11-30 Pedro Alves <palves@redhat.com>
1070 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1071 prepare_for_testing. Start gdb with "set non-stop on" appended to
1072 GDBFLAGS. Lax expected stop output.
1074 2015-11-27 Yao Qi <yao.qi@linaro.org>
1076 * gdb.arch/arm-neon.exp: New.
1077 * gdb.arch/arm-neon.c: New.
1079 2015-11-27 Yao Qi <yao.qi@linaro.org>
1081 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1083 2015-11-27 Yao Qi <yao.qi@linaro.org>
1085 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1086 frames-invalid annotation.
1088 2015-11-27 Yao Qi <yao.qi@linaro.org>
1090 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1092 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1094 * gdb.threads/names.exp: New file.
1095 * gdb.threads/names.c: New file.
1096 * README: Mention gdb,no_thread_names.
1098 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1101 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1104 2015-11-24 Pedro Alves <palves@redhat.com>
1107 * gdb.base/display.exp: Expect displays to be sorted in ascending
1108 order. Use multi_line.
1109 * gdb.base/solib-display.exp: Likewise.
1111 2015-11-24 Pedro Alves <palves@redhat.com>
1114 * gdb.base/display.exp: Expect displays to be sorted in ascending
1115 order. Use multi_line.
1116 * gdb.base/solib-display.exp: Likewise.
1118 2015-11-24 Pedro Alves <palves@redhat.com>
1121 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1122 threads in ascending order.
1123 * gdb.base/foll-fork.exp: Likewise.
1124 * gdb.base/foll-vfork.exp: Likewise.
1125 * gdb.base/multi-forks.exp: Likewise.
1126 * gdb.mi/mi-nonstop.exp: Likewise.
1127 * gdb.mi/mi-nsintrall.exp: Likewise.
1128 * gdb.multi/base.exp: Likewise.
1129 * gdb.multi/multi-arch.exp: Likewise.
1130 * gdb.python/py-inferior.exp: Likewise.
1131 * gdb.threads/break-while-running.exp: Likewise.
1132 * gdb.threads/execl.exp: Likewise.
1133 * gdb.threads/gcore-thread.exp: Likewise.
1134 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1135 * gdb.threads/kill.exp: Likewise.
1136 * gdb.threads/linux-dp.exp: Likewise.
1137 * gdb.threads/multiple-step-overs.exp: Likewise.
1138 * gdb.threads/next-bp-other-thread.exp: Likewise.
1139 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1140 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1141 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1142 * gdb.threads/thread-find.exp: Likewise.
1143 * gdb.threads/tls.exp: Likewise.
1144 * lib/mi-support.exp (mi_reverse_list): Delete.
1145 (mi_check_thread_states): No longer reverse list.
1147 2015-11-24 Pedro Alves <palves@redhat.com>
1149 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1152 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1154 * gdb.trace/actions.c: Include trace-common.h.
1155 (main): Add a location for a fast tracepoint.
1156 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1157 the normal tracepoints.
1158 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1160 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1162 * save-trace.exp: Factor out code to these...
1163 (gdb_save_tracepoints): New.
1164 (gdb_load_tracepoints): New.
1165 (do_save_load_test): New.
1167 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1169 * gdb.base/asmlabel.exp: New test.
1170 * gdb.base/asmlabel.c: New test case.
1172 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1174 * gdb.base/wrong_frame_bt_full-main.c: New file.
1175 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1176 * gdb.base/wrong_frame_bt_full.exp: New file.
1178 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1180 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1182 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1184 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1185 pstate register when comparing registers values in
1186 sparc64-*-linux-gnu targets to avoid spurious differences.
1188 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1190 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1192 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1194 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1195 as type argument to gdb_compile.
1196 * gdb.base/nested-subp2.exp: Likewise.
1197 * gdb.base/nested-subp3.exp: Likewise.
1199 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1201 * lib/dwarf.exp (_note): Fix left shift of negative value.
1202 * gdb.trace/trace-condition.exp: Likewise.
1204 2015-11-13 Yao Qi <yao.qi@linaro.org>
1206 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1207 comments about d10v.
1208 (test_scalar_returns): Likewise.
1209 * gdb.base/d10v.ld: Remove.
1210 * gdb.base/overlays.exp: Remove the target triplet checking for
1212 * gdb.base/structs.exp (test_struct_returns): Remove the
1213 comments about d10v.
1214 (test_struct_calls): Likewise.
1216 2015-11-13 Yao Qi <yao.qi@linaro.org>
1218 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1219 * gdb.base/gnu_vector.c: Don't include stdio.h.
1220 (main): Don't print res and call add_some_intvecs.
1222 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1224 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1227 (func4): Use FAST_TRACEPOINT_LABEL.
1228 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1231 (thread_function): Use FAST_TRACEPOINT_LABEL.
1232 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1234 (marker): Use FAST_TRACEPOINT_LABEL.
1235 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1236 (pendfunc1): Remove.
1237 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1238 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1240 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1241 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1244 (marker): Use FAST_TRACEPOINT_LABEL.
1245 * gdb.trace/trace-common.h: New header.
1246 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1249 (marker): Use FAST_TRACEPOINT_LABEL.
1250 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1252 (thread_function): Use FAST_TRACEPOINT_LABEL.
1254 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1256 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1258 * gdb.trace/change-loc.exp: Use global pcreg definition.
1259 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1260 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1262 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1263 * gdb.trace/pending.exp: Likewise.
1264 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1265 * gdb.trace/trace-break.exp: Likewise.
1266 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1268 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1269 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1271 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1273 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1275 * gdb.ada/fin_fun_out: New testcase.
1277 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1279 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1280 value associated with DW_AT_byte_size.
1281 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1282 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1285 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1287 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1288 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1290 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1291 gdb.dwarf2/dw2-canonicalize-type.exp,
1292 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1293 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1294 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1295 provided by gdb_target_symbol_prefix_flags_asm.
1296 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1297 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1298 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1299 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1300 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1301 macros where needed). Use this macro for symbols which require
1302 the prefix provided by SYMBOL_PREFIX.
1304 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1306 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1308 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1309 representing expressions, of more than one list element.
1310 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1311 to prepend linker symbol prefix to f.
1312 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1313 table_1 and table_2.
1314 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1315 Likewise, for f and g.
1316 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1318 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1320 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1321 table_1_ptr and table_2_ptr.
1323 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1324 Joel Brobecker <brobecker@adacore.com>
1326 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1328 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1330 * gdb.reverse/s390-mvcle.c: New test.
1331 * gdb.reverse/s390-mvcle.exp: New file.
1332 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1334 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1336 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1338 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1340 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1342 * gdb.reverse/getresuid-reverse.exp: Likewise.
1343 * gdb.reverse/pipe-reverse.exp: Likewise.
1344 * gdb.reverse/readv-reverse.exp: Likewise.
1345 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1346 * gdb.reverse/time-reverse.exp: Likewise.
1347 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1349 2015-10-30 Yao Qi <yao.qi@linaro.org>
1351 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1352 (empty_cycle): Remove.
1353 (main): Don't call empty_cycle. Don't use watch_count_done.
1354 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1355 empty_cycle. Rewrite the code counting HW watchpoints.
1357 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1359 * gdb.reverse/fstatat-reverse.c: New test.
1360 * gdb.reverse/fstatat-reverse.exp: New file.
1361 * gdb.reverse/getresuid-reverse.c: New test.
1362 * gdb.reverse/getresuid-reverse.exp: New file.
1363 * gdb.reverse/pipe-reverse.c: New test.
1364 * gdb.reverse/pipe-reverse.exp: New file.
1365 * gdb.reverse/readv-reverse.c: New test.
1366 * gdb.reverse/readv-reverse.exp: New file.
1367 * gdb.reverse/recvmsg-reverse.c: New test.
1368 * gdb.reverse/recvmsg-reverse.exp: New file.
1369 * gdb.reverse/time-reverse.c: New test.
1370 * gdb.reverse/time-reverse.exp: New file.
1371 * gdb.reverse/waitpid-reverse.c: New test.
1372 * gdb.reverse/waitpid-reverse.exp: New file.
1374 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1376 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1378 2015-10-26 Doug Evans <dje@google.com>
1381 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1382 * gdb.dwarf2/bad-regnum.c: New file.
1383 * gdb.dwarf2/bad-regnum.exp: New file.
1385 2015-10-26 Doug Evans <dje@google.com>
1388 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1391 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1393 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1394 for a change by "Mention language in compile error message".
1396 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1399 * gdb.python/py-type.c (C::a_method): New.
1400 (C::a_const_method): New.
1401 (C::a_static_method): New.
1403 * gdb.python/py-type.exp (test_fields): Test getting fields
1404 from function and method.
1406 2015-10-21 Keven Boell <keven.boell@intel.com>
1408 * gdb.fortran/vla-alloc-assoc.exp: New file.
1409 * gdb.fortran/vla-datatypes.exp: New file.
1410 * gdb.fortran/vla-datatypes.f90: New file.
1411 * gdb.fortran/vla-history.exp: New file.
1412 * gdb.fortran/vla-ptype-sub.exp: New file.
1413 * gdb.fortran/vla-ptype.exp: New file.
1414 * gdb.fortran/vla-sizeof.exp: New file.
1415 * gdb.fortran/vla-sub.f90: New file.
1416 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1417 * gdb.fortran/vla-value-sub-finish.exp: New file.
1418 * gdb.fortran/vla-value-sub.exp: New file.
1419 * gdb.fortran/vla-value.exp: New file.
1420 * gdb.fortran/vla-ptr-info.exp: New file.
1421 * gdb.mi/mi-vla-fortran.exp: New file.
1422 * gdb.mi/vla.f90: New file.
1424 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1426 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1427 of hardwired timeout value.
1429 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1430 Pedro Alves <palves@redhat.com>
1432 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1433 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1435 2015-10-19 Josh Stone <jistone@redhat.com>
1437 * gdb.base/catch-syscall.c: Include <sched.h>.
1438 (unknown_syscall): New variable.
1439 (main): Trigger a vfork and an unknown syscall.
1440 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1441 (unknown_syscall_number): Likewise.
1442 (check_call_to_syscall): Accept an optional syscall pattern.
1443 (check_return_from_syscall): Likewise.
1444 (check_continue): Likewise.
1445 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1446 (test_catch_syscall_skipping_return): New test toggling off 'catch
1447 syscall' to step over the syscall return, then toggling back on.
1448 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1449 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1450 (do_syscall_tests): Call test_catch_syscall_without_args and
1451 test_catch_syscall_mid_vfork.
1452 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1453 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1455 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1457 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1458 print g_vE): Add new pass patterns.
1459 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1460 print various symbol names for vptr fields.
1462 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1464 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1467 2015-10-12 Yao Qi <yao.qi@linaro.org>
1469 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1471 2015-10-12 Yao Qi <yao.qi@linaro.org>
1473 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1474 is aarch64*-*-linux*.
1476 2015-10-12 Yao Qi <yao.qi@linaro.org>
1478 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1479 (can_relocate_bcond_true): ... it.
1480 (can_relocate_bcond_false): New function.
1482 (can_relocate_bl): Likewise.
1483 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1486 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1488 * gdb.base/nested-addr.c: New file.
1489 * gdb.base/nested-addr.exp: New testcase.
1491 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1493 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1494 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1495 its output. Ignore the output of "record goto begin" and instead
1496 check that GDB is replaying.
1498 2015-10-09 Pedro Alves <palves@redhat.com>
1500 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1501 (top level): Use it in the run with no args test.
1503 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1505 * gdb.dlang/properties.exp: New file.
1507 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1509 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1510 whether or not address 0x1000 is mapped on the target.
1512 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1514 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1517 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1519 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1520 instruction-history test.
1522 2015-09-28 Doug Evans <dje@google.com>
1524 * gdb.base/gcore.c (array_func): Add reference to static_array.
1526 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1528 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1531 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1533 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1534 short or char as base type.
1536 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1538 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1539 to allow any size enum.
1541 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1543 * gdb.ada/array_ptr_renaming.exp: New testcase.
1544 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1545 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1547 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1549 * gdb.trace/ftrace-lock.c: New file.
1550 * gdb.trace/ftrace-lock.exp: New file.
1552 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1554 * gdb.arch/insn-reloc.c: New file.
1555 * gdb.arch/ftrace-insn-reloc.exp: New file.
1557 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1559 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1561 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1562 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1563 * gdb.trace/range-stepping.c: Likewise.
1564 * gdb.trace/trace-break.c: Likewise.
1565 * gdb.trace/trace-mt.c (thread_function): Likewise.
1566 * gdb.trace/ftrace.c (marker): Likewise.
1567 * gdb.trace/trace-condition.c (marker): Likewise.
1568 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1569 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1572 2015-09-18 Doug Evans <xdje42@gmail.com>
1574 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1575 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1577 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1579 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1582 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1584 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1585 the pending breakpoint. Remove timeout override for "Run till
1586 MI pending breakpoint on pendfunc3 on thread 2" test.
1588 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1590 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1593 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1595 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1596 in breakpoint filename pattern.
1598 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1600 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1602 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1604 * gdb.linespec/explicit.exp: Check for readline support for
1605 tab-completion tests. Fix obvious typo.
1607 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1609 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1612 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1614 * gdb.btrace/non-stop.c: New.
1615 * gdb.btrace/non-stop.exp: New.
1617 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1618 Yao Qi <yao.qi@linaro.org>
1620 * gdb.trace/trace-condition.c: New file.
1621 * gdb.trace/trace-condition.exp: New file.
1623 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1625 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1626 for testing bytecode compilation.
1628 2015-09-16 Pedro Alves <palves@redhat.com>
1629 Sandra Loosemore <sandra@codesourcery.com>
1631 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1632 (SECONDS): Redefine.
1633 (main): Call pthread_kill and alarm early.
1634 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1636 (test): If the target can't hardware step and doesn't support
1637 displaced stepping, increase the timeout.
1639 2015-09-16 Pedro Alves <palves@redhat.com>
1641 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1642 (enable_debug): New procedures.
1643 (test): Use them. Bail out if waiting for threads fails.
1644 (top level): Bail out if a test fails.
1646 2015-09-16 Yao Qi <yao.qi@linaro.org>
1648 * gdb.asm/asm-source.exp: Set asm-arch for
1649 aarch64*-*-* target.
1650 * gdb.asm/aarch64.inc: New file.
1652 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1654 * gdb.ada/array_of_variable_length.exp: New testcase.
1655 * gdb.ada/array_of_variable_length/foo.adb: New file.
1656 * gdb.ada/array_of_variable_length/pck.adb: New file.
1657 * gdb.ada/array_of_variable_length/pck.ads: New file.
1659 2015-09-15 Doug Evans <dje@google.com>
1661 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1662 of function static local variable.
1664 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1666 * gdb.threads/tls-so_extern.exp: New test file.
1667 * gdb.threads/tls-so_extern.c: New test file.
1668 * gdb.threads/tls-so_extern_main.c: New test file.
1670 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1672 * gdb.opt/solib-intra-step-lib.c: New file.
1673 * gdb.opt/solib-intra-step-main.c: New file.
1674 * gdb.opt/solib-intra-step.exp: New file.
1676 2015-09-15 Pedro Alves <palves@redhat.com>
1678 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1679 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1681 2015-09-14 Pedro Alves <palves@redhat.com>
1683 * gdb.base/hook-stop-continue.c: Delete.
1684 * gdb.base/hook-stop-continue.exp: Delete.
1685 * gdb.base/hook-stop-frame.c: Delete.
1686 * gdb.base/hook-stop-frame.exp: Delete.
1687 * gdb.base/hook-stop.c: New file.
1688 * gdb.base/hook-stop.exp: New file.
1690 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1692 * gdb.ada/access_to_packed_array.exp: New testcase.
1693 * gdb.ada/access_to_packed_array/foo.adb: New file.
1694 * gdb.ada/access_to_packed_array/pack.adb: New file.
1695 * gdb.ada/access_to_packed_array/pack.ads: New file.
1697 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1699 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1702 2015-09-11 Don Breazeal <donb@codesourcery.com>
1704 * gdb.base/foll-exec.c: Add copyright header. Fix
1706 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1707 (do_exec_tests): Use clean_restart in place of zap_session,
1708 and for test initialization. Fix formatting issues. Use
1709 fail in place of perror.
1710 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1711 an expect statement to match an expression with output from
1712 the program under debug.
1713 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1714 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1715 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1716 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1717 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1719 2015-09-09 Doug Evans <dje@google.com>
1721 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1723 2015-09-09 Doug Evans <dje@google.com>
1725 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1727 2015-09-09 Doug Evans <dje@google.com>
1729 * gdb.base/savedregs.exp: Fix typo.
1731 2015-09-09 Pedro Alves <palves@redhat.com>
1733 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1735 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1737 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1738 command actually switches threads. Give up on remaining
1739 tests if target fails to stop at breakpoint.
1741 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1743 * gdb.ada/funcall_char.exp: New testcase.
1744 * gdb.ada/funcall_char/foo.adb: New file.
1746 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1748 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1749 expected outputs. Add two testcases for completing ambiguous
1751 * gdb.ada/complete/aux_pck.adb: New file.
1752 * gdb.ada/complete/aux_pck.ads: New file.
1753 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1754 Ambiguous_Func functions.
1755 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1756 * gdb.ada/complete/pck.adb: Likewise.
1758 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1760 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1761 failures to run the test program under GDB.
1763 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1765 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1768 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1770 * gdb.base/run-after-attach.exp: New test file.
1771 * gdb.base/run-after-attach.c: New test file.
1773 2015-08-26 Don Breazeal <donb@codesourcery.com>
1775 * gdb.base/foll-exec-2.c: New test program.
1776 * gdb.base/foll-exec-2.exp: New test.
1778 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1780 * gdb.base/nested-subp1.exp: New file.
1781 * gdb.base/nested-subp1.c: New file.
1782 * gdb.base/nested-subp2.exp: New file.
1783 * gdb.base/nested-subp2.c: New file.
1784 * gdb.base/nested-subp3.exp: New file.
1785 * gdb.base/nested-subp3.c: New file.
1787 2015-08-24 Pedro Alves <palves@redhat.com>
1789 * gdb.server/connect-without-multi-process.c: New file.
1790 * gdb.server/connect-without-multi-process.exp: New file.
1792 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1794 * gdb.opt/inline-markers.c: Make z int.
1796 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1798 * gdb.opt/inline-markers.c: Make z volatile.
1800 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1802 * gdb.opt/inline-bt.c: New volatile global z.
1803 * gdb.opt/inline-cmds.c: Likewise.
1804 * gdb.opt/inline-locals.c: Likewise.
1805 * gdb.opt/inline-markers.c: New extern global z.
1807 (inline_fn): Likewise.
1809 2015-08-24 Pedro Alves <palves@redhat.com>
1811 * config/m32r-stub.exp: Remove file.
1812 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1813 * gdb.base/call-rt-st.exp: Likewise.
1814 * gdb.base/call-strs.exp: Likewise.
1815 * gdb.base/default.exp: Remove references to h8300-*-hms and
1817 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1819 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1821 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1822 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1823 and "return" use KFAIL when GDB can not read/write the vector
1826 2015-08-21 Gary Benson <gbenson@redhat.com>
1828 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1830 2015-08-20 Pedro Alves <palves@redhat.com>
1832 * gdb.server/solib-list.exp: No longer expect an interior stop in
1835 2015-08-20 Pedro Alves <palves@redhat.com>
1837 * gdb.server/connect-stopped-target.c: New file.
1838 * gdb.server/connect-stopped-target.exp: New file.
1840 2015-08-20 Pedro Alves <palves@redhat.com>
1842 * gdb.dwarf2/comp-unit-lang.exp: New file.
1843 * gdb.dwarf2/comp-unit-lang.c: New file.
1845 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1847 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1848 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1850 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1852 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1853 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1855 2015-08-18 Doug Evans <dje@google.com>
1856 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1858 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1859 skip_python_tests. New arg prompt_regexp.
1860 (skip_python_tests): New function.
1861 * lib/mi-support.exp (mi_skip_python_tests): New function.
1862 * gdb.python/py-mi-objfile-gdb.py: New file.
1863 * gdb.python/py-mi-objfile.c: New file.
1864 * gdb.python/py-mi-objfile.exp: New file.
1866 2015-08-17 Keith Seitz <keiths@redhat.com>
1868 * gdb.linespec/explicit.exp: Move strace test from here ...
1869 * gdb.trace/strace.exp: ... to here.
1871 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1873 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1874 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1876 2015-08-14 Doug Evans <xdje42@gmail.com>
1878 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1879 inferior before selecting a new file.
1881 2015-08-14 Doug Evans <xdje42@gmail.com>
1883 * gdb.mi/mi-disassemble.exp: Update.
1884 * gdb.base/disasm-optim.S: New file.
1885 * gdb.base/disasm-optim.c: New file.
1886 * gdb.base/disasm-optim.h: New file.
1887 * gdb.base/disasm-optim.exp: New file.
1889 2015-08-14 Keith Seitz <keiths@redhat.com>
1891 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1894 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1896 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1898 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1900 * gdb.ada/fun_renaming.exp: New testcase.
1901 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1902 * gdb.ada/fun_renaming/pack.adb: New file.
1903 * gdb.ada/fun_renaming/pack.ads: New file.
1905 2015-08-12 Keith Seitz <keiths@redhat.com>
1907 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1908 gdb_get_line_number.
1910 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1912 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1913 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1914 gdb.base/dso2dso.exp: New files.
1916 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1917 Pedro Alves <palves@redhat.com>
1918 Keith Seitz <keiths@redhat.com>
1920 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1923 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1925 * gdb.base/gdbhistsize-history.exp
1926 (test_histsize_history_setting): Use save_vars.
1927 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1929 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1930 * gdb.base/readline.exp: Use save_vars.
1932 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1934 * lib/gdb.exp (save_vars): New proc.
1936 2015-08-11 Keith Seitz <keiths@redhat.com>
1938 * gdb.base/help.exp: Update help_breakpoint_text.
1940 2015-08-11 Keith Seitz <keiths@redhat.com>
1942 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1943 (at toplevel): Call test_explicit_breakpoints.
1944 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1946 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1947 breakpoint conditions, "-cond".
1949 2015-08-11 Keith Seitz <keiths@redhat.com>
1951 * gdb.linespec/3explicit.c: New file.
1952 * gdb.linespec/cpexplicit.cc: New file.
1953 * gdb.linespec/cpexplicit.exp: New file.
1954 * gdb.linespec/explicit.c: New file.
1955 * gdb.linespec/explicit.exp: New file.
1956 * gdb.linespec/explicit2.c: New file.
1957 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1958 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1959 before using in the matching pattern.
1960 Clarify that `prefix' is a regular expression.
1962 2015-08-11 Keith Seitz <keiths@redhat.com>
1964 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1966 Add tests for missing ",FMT" and ",".
1968 2015-08-10 Doug Evans <dje@google.com>
1969 Keith Seitz <keiths@redhat.com>
1972 * gdb.base/completion.exp: Add location completer tests.
1974 2015-08-07 Pedro Alves <palves@redhat.com>
1976 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1978 (top level): Run do_test with and without displaced stepping.
1980 2015-08-07 Pedro Alves <palves@redhat.com>
1982 * gdb.base/valgrind-disp-step.c: New file.
1983 * gdb.base/valgrind-disp-step.exp: New file.
1985 2015-08-07 Pedro Alves <palves@redhat.com>
1987 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1989 (main): Add alarm. Run an infinite loop instead of calling
1991 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1993 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1995 (main): Add alarm. Run an infinite loop instead of calling
1997 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2000 2015-08-07 Pedro Alves <palves@redhat.com>
2002 * gdb.base/checkpoint-ns.exp: New file.
2003 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2006 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2008 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2009 * gdb.btrace/instruction_history.exp: Update.
2010 * gdb.btrace/tsx.exp: New.
2011 * gdb.btrace/tsx.c: New.
2013 2015-08-06 Pedro Alves <palves@redhat.com>
2015 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2017 * gdb.reverse/until-precsave.exp: Bump timeouts.
2019 2015-08-06 Pedro Alves <palves@redhat.com>
2021 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2023 2015-08-06 Pedro Alves <palves@redhat.com>
2026 * gdb.threads/process-dies-while-handling-bp.c: New file.
2027 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2029 2015-08-06 Pedro Alves <palves@redhat.com>
2031 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2032 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2034 2015-08-05 Pedro Alves <palves@redhat.com>
2036 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2037 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2039 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2041 * gdb.base/bp-permanent.exp: Report test as unsupported if
2042 the target cannot stop at the permanent breakpoint.
2044 2015-08-03 Doug Evans <dje@google.com>
2046 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2049 2015-08-03 Doug Evans <dje@google.com>
2051 * Makefile.in (workers/%.worker, build-perf): New rule.
2052 (GDB_PERFTEST_MODE): New variable.
2053 (check-perf): Use it.
2054 (clean): Clean up gdb.perf parallel build subdirs.
2055 * lib/build-piece.exp: New file.
2056 * lib/gdb.exp (make_gdb_parallel_path): New function
2057 (standard_output_file, standard_temp_file): Call it.
2058 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2060 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2062 2015-08-03 Doug Evans <dje@google.com>
2064 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2065 (LOG_FILE_NAME): New global.
2066 (TextReporter.__init__): Initialize self.txt_sum.
2067 (TextReporter.report): Add support for multiple data-points.
2068 Move report to perftest.sum, put raw data in perftest.log.
2069 (TextReporter.start): Open sum and log files.
2070 (TextReporter.end): Close sum and log files.
2071 * gdb.perf/lib/perftest/testresult.py
2072 (SingleStatisticTestResult.record): Handle multiple data-points.
2074 2015-07-31 Pedro Alves <palves@redhat.com>
2076 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2077 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2078 kill_wait_spawned_process instead of explicit "kill -9".
2079 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2080 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2081 kill_wait_spawned_process.
2082 * gdb.base/attach-twice.exp: Likewise.
2083 * gdb.base/attach.exp: Likewise.
2084 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2086 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2087 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2088 kill_wait_spawned_process.
2089 * gdb.base/valgrind-infcall.exp: Likewise.
2090 * gdb.multi/multi-attach.exp: Likewise.
2091 * gdb.python/py-prompt.exp: Likewise.
2092 * gdb.python/py-sync-interp.exp: Likewise.
2093 * gdb.server/ext-attach.exp: Likewise.
2094 * gdb.threads/attach-into-signal.exp (corefunc): Use
2095 spawn_wait_for_attach, spawn_id_get_pid and
2096 kill_wait_spawned_process.
2097 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2098 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2099 spawn_id_get_pid and kill_wait_spawned_process.
2100 * gdb.threads/attach-stopped.exp (corefunc): Use
2101 spawn_wait_for_attach, spawn_id_get_pid and
2102 kill_wait_spawned_process.
2103 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2104 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2105 kill_wait_spawned_process instead of explicit "kill -9".
2106 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2107 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2108 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2109 processes. Don't map cygwin/windows pids here. Now returns a
2112 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2114 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2115 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2118 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2120 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2122 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2125 2014-05-21 Mark Wielaard <mjw@redhat.com>
2127 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2129 2015-07-30 Pedro Alves <palves@redhat.com>
2131 * linux-low.c (handle_extended_wait): Set the child's last
2132 reported status to TARGET_WAITKIND_STOPPED.
2134 2015-07-30 Pedro Alves <palves@redhat.com>
2137 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2138 only shows inferior 1.
2140 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2141 Pedro Alves <palves@redhat.com>
2144 * gdb.threads/fork-plus-threads.c: New file.
2145 * gdb.threads/fork-plus-threads.exp: New file.
2147 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2149 * gdb.base/batch-preserve-term-settings.exp
2150 (test_terminal_settings_preserved_after_cli_exit): Use
2153 2015-07-29 Pedro Alves <palves@redhat.com>
2154 Don Breazeal <donb@codesourcery.com>
2156 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2157 output from both inferior_spawn_id and gdb_spawn_id.
2159 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2161 * gdb.threads/attach-into-signal.exp (corefunc): Use
2162 with_test_prefix on nested loops, uniquefying the test messages.
2164 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2166 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2169 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2171 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2173 (test_terminal_settings_preserved_after_sigterm): New test.
2175 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2177 * gdb.base/batch-preserve-term-settings.exp
2178 (test_terminal_settings_preserved_after_cli_exit): New test.
2180 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2182 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2183 manipulation of saved_gdbflags.
2184 (test_terminal_settings_preserved): Remove global declaration of
2185 the unused variable pagination_prompt. Remove manipulation of
2186 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2189 2015-07-29 Pedro Alves <palves@redhat.com>
2191 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2193 2015-07-29 Pedro Alves <palves@redhat.com>
2195 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2198 2015-07-29 Pedro Alves <palves@redhat.com>
2200 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2201 (main): Call gdb_unbuffer_output.
2202 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2203 (main): Call gdb_unbuffer_output.
2204 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2205 (main): Call gdb_unbuffer_output.
2206 * gdb.base/call-strs.exp: Adjust to step over the
2207 gdb_unbuffer_output call.
2208 * gdb.base/catch-gdb-caused-signals.c: Include
2209 "../lib/unbuffer_output.c".
2210 (main): Call gdb_unbuffer_output.
2211 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2212 (main): Call gdb_unbuffer_output.
2213 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2214 (main): Call gdb_unbuffer_output.
2215 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2216 (main): Call gdb_unbuffer_output.
2217 * gdb.base/shlib-call.exp: Adjust to step over the
2218 gdb_unbuffer_output call.
2219 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2220 (main): Call gdb_unbuffer_output.
2221 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2222 (main): Call gdb_unbuffer_output.
2223 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2224 (main): Rename to ...
2226 (main): Reimplement.
2227 * gdb.base/varargs.exp: Run to test instead of to main.
2228 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2229 (main): Call gdb_unbuffer_output.
2231 2015-07-29 Pedro Alves <palves@redhat.com>
2233 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2234 factore out from mi_continue_dprintf. For call-style dprintfs,
2235 expect dprintf output out of $inferior_spawn_id.
2236 (mi_continue_dprintf): Use mi_expect_dprintf.
2237 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2238 (main): Call gdb_unbuffer_output.
2240 2015-07-29 Pedro Alves <palves@redhat.com>
2242 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2243 (default_mi_gdb_start): Set inferior_spawn_id instead of
2244 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2246 (mi_gdb_test): Always expect inferior output from both
2247 $inferior_spawn_id and $gdb_spawn_id.
2249 2015-07-29 Pedro Alves <palves@redhat.com>
2251 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2252 send_inferior and $inferior_spawn_id.
2254 2015-07-29 Pedro Alves <palves@redhat.com>
2256 * gdb.gdb/complaints.exp (test_initial_complaints)
2257 (test_serial_complaints, test_short_complaints): Use
2259 (test_empty_complaint): Handle $inferior_spawn_id !=
2262 2015-07-29 Pedro Alves <palves@redhat.com>
2264 * gdb.base/varargs.exp: Use gdb_test_stdio.
2266 2015-07-29 Pedro Alves <palves@redhat.com>
2268 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2270 2015-07-29 Pedro Alves <palves@redhat.com>
2272 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2274 2015-07-29 Pedro Alves <palves@redhat.com>
2276 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2277 parameter into two new parameters, "inf_result" and "gdb_result".
2278 Expect inferior output and gdb output from $inferior_spawn_id and
2279 $gdb_spawn_id, respectively. Adjust all callers.
2281 2015-07-29 Pedro Alves <palves@redhat.com>
2283 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2284 of gdb_test_sequence.
2286 2015-07-29 Pedro Alves <palves@redhat.com>
2288 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2289 (saw_spurious_output): Expect inferior output from
2290 $inferior_spawn_id. Use gdb_test_stdio.
2292 2015-07-29 Pedro Alves <palves@redhat.com>
2294 * gdb.base/dprintf.exp: Use standard_testfile. Change
2295 prepare_for_testing call.
2296 (srcfile): Don't set.
2297 (restart): New procedure.
2298 (test_dprintf): New procecure, use to continue over dprintfs.
2299 (test_call, test_agent): New procedures, tests moved here.
2300 Restart gdb and recreate dprintfs. Adjust expected output.
2302 2015-07-29 Pedro Alves <palves@redhat.com>
2304 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2306 2015-07-29 Pedro Alves <palves@redhat.com>
2308 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2310 2015-07-29 Pedro Alves <palves@redhat.com>
2312 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2315 2015-07-29 Pedro Alves <palves@redhat.com>
2317 * lib/gdb.exp (gdb_test_stdio): New procedure.
2319 2015-07-29 Pedro Alves <palves@redhat.com>
2321 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2323 2015-07-29 Pedro Alves <palves@redhat.com>
2325 * gdb.base/call-signal-resume.exp: Remove check for
2326 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2327 * gdb.base/unwindonsignal.exp: Likewise.
2328 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2329 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2331 2015-07-29 Pedro Alves <palves@redhat.com>
2333 * gdb.base/siginfo-addr.c (pass): New function.
2334 (handler): Call it iff si_addr is correct.
2335 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2336 Set a breakpoint at "pass" and continue to it.
2338 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2340 * gdb.python/py-objfile.exp: Make some tests have unique names.
2341 * gdb.python/py-pp-registration.exp: Likewise.
2343 2015-07-28 Pedro Alves <palves@redhat.com>
2345 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2347 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2349 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2351 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2353 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2355 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2357 * gdb.base/gdb-sigterm-2.exp: New test.
2359 2015-07-25 Doug Evans <xdje42@gmail.com>
2362 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2363 (workers/%.worker, build-perf): New rule.
2364 (GDB_PERFTEST_MODE): New variable.
2365 (check-perf): Use it.
2366 (clean): Clean up gdb.perf parallel build subdirs.
2367 * lib/build-piece.exp: New file.
2368 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2369 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2371 (standard_temp_file): Ditto.
2372 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2375 2015-07-24 Doug Evans <dje@google.com>
2377 * gdb.perf/lib/perftest/utils.py: New file.
2378 * gdb.perf/gm-hello.cc: New file.
2379 * gdb.perf/gm-pervasive-typedef.cc: New file.
2380 * gdb.perf/gm-pervasive-typedef.h: New file.
2381 * gdb.perf/gm-std.cc: New file.
2382 * gdb.perf/gm-std.h: New file.
2383 * gdb.perf/gm-use-cerr.cc: New file.
2384 * gdb.perf/gm-utils.h: New file.
2385 * gdb.perf/gmonster-null-lookup.py: New file.
2386 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2387 * gdb.perf/gmonster-print-cerr.py: New file.
2388 * gdb.perf/gmonster-ptype-string.py: New file.
2389 * gdb.perf/gmonster-runto-main.py: New file.
2390 * gdb.perf/gmonster-select-file.py: New file.
2391 * gdb.perf/gmonster1-null-lookup.exp: New file.
2392 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2393 * gdb.perf/gmonster1-print-cerr.exp: New file.
2394 * gdb.perf/gmonster1-ptype-string.exp: New file.
2395 * gdb.perf/gmonster1-runto-main.exp: New file.
2396 * gdb.perf/gmonster1-select-file.exp: New file.
2397 * gdb.perf/gmonster1.cc: New file.
2398 * gdb.perf/gmonster1.exp: New file.
2399 * gdb.perf/gmonster2-null-lookup.exp: New file.
2400 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2401 * gdb.perf/gmonster2-print-cerr.exp: New file.
2402 * gdb.perf/gmonster2-ptype-string.exp: New file.
2403 * gdb.perf/gmonster2-runto-main.exp: New file.
2404 * gdb.perf/gmonster2-select-file.exp: New file.
2405 * gdb.perf/gmonster2.cc: New file.
2406 * gdb.perf/gmonster2.exp: New file.
2408 2015-07-24 Doug Evans <dje@google.com>
2410 * gdb.perf/README: New file.
2411 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2412 * lib/gen-perf-test.exp: New file.
2414 2015-07-24 Doug Evans <dje@google.com>
2416 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2417 (PerfTest::startup): New function.
2418 (PerfTest::run): Return result of calling body.
2419 (PerfTest::assemble): Rewrite.
2420 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2421 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2422 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2423 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2424 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2426 2015-07-24 Doug Evans <dje@google.com>
2428 * lib/gdb.exp (clean_restart): Make executable optional.
2430 2015-07-24 Doug Evans <dje@google.com>
2432 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2433 compiler_info references.
2434 * gdb.cp/temargs.exp: Ditto.
2435 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2436 (get_compiler_info): Early exit if already computed. Set compiler_info
2437 to "unknown" if there was a problem.
2438 (test_compiler_info): Add function comment. Call get_compiler_info.
2440 2015-07-24 Doug Evans <dje@google.com>
2442 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2443 (workers/%.worker, build-perf): New rule.
2444 (GDB_PERFTEST_MODE): New variable.
2445 (check-perf): Use it.
2446 (clean): Clean up gdb.perf parallel build subdirs.
2447 * lib/build-piece.exp: New file.
2448 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2449 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2451 (standard_temp_file): Ditto.
2452 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2455 2015-07-24 Doug Evans <dje@google.com>
2457 * lib/future.exp (gdb_default_target_compile): New option
2459 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2462 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2464 * gdb.base/catch-syscall.exp: Call gdb_exit before
2467 2015-07-24 Pedro Alves <palves@redhat.com>
2469 * gdb.python/py-events.exp: Accept output between the stop event
2471 * gdb.python/py-evsignal.exp: Likewise.
2472 * gdb.python/py-evthreads.exp: Likewise.
2474 2015-07-24 Pedro Alves <palves@redhat.com>
2477 * gdb.threads/non-ldr-exit.c: New file.
2478 * gdb.threads/non-ldr-exit.exp: New file.
2480 2015-07-24 Yao Qi <yao.qi@linaro.org>
2482 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2485 2015-07-24 Yao Qi <yao.qi@linaro.org>
2487 * gdb.server/ext-restart.exp: New file.
2489 2015-07-24 Yao Qi <yao.qi@linaro.org>
2491 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2493 * gdb.server/ext-wrapper.exp: New file.
2495 2015-07-23 Doug Evans <dje@google.com>
2497 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2498 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2500 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2502 * gdb.ada/var_arr_typedef.exp: New testcase.
2503 * gdb.ada/var_arr_typedef/pack.adb: New file.
2504 * gdb.ada/var_arr_typedef/pack.ads: New file.
2505 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2507 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2509 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2511 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2513 * gdb.arch/i386-biarch-core.exp: Replace istarget
2514 by "complete set gnutarget". Remove expectation for the "core-file"
2517 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2519 Revert the previous commit:
2520 Tests for validate symbol file using build-id.
2522 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2524 Tests for validate symbol file using build-id.
2525 * gdb.base/solib-mismatch-lib.c: New file.
2526 * gdb.base/solib-mismatch-libmod.c: New file.
2527 * gdb.base/solib-mismatch.c: New file.
2528 * gdb.base/solib-mismatch.exp: New file.
2530 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2532 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2534 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2535 * gdb.base/siginfo.exp: Likewise.
2536 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2538 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2540 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2542 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2544 * gdb.trace/range-stepping.exp: Check that the target supports
2547 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2549 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2551 2015-07-14 Pedro Alves <palves@redhat.com>
2553 * gdb.base/killed-outside.exp: New file.
2554 * gdb.base/killed-outside.c: New file.
2556 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2558 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2560 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2562 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2564 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2565 infcall tests instead of setting up for KFAIL.
2567 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2569 * gdb.btrace/record_goto-step.exp: New.
2571 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2574 * gdb.compile/compile.c (struct struct_type): Add volatile to
2576 * gdb.compile/compile.exp
2577 (compile code struct_object.selffield = &struct_object): Skip further
2578 struct_object tests if this one xfails.
2580 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2583 * gdb.trace/ax.exp: Add test.
2585 2015-07-07 Yao Qi <yao.qi@linaro.org>
2587 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2588 instead of istarget "aarch64*-*-*".
2589 * gdb.arch/aarch64-fp.exp: Likewise.
2590 * gdb.base/float.exp: Likewise.
2591 * gdb.reverse/aarch64.exp: Likewise.
2592 * lib/gdb.exp (is_aarch64_target): New proc.
2594 2015-07-07 Yao Qi <yao.qi@linaro.org>
2596 * lib/gdb.exp (is_aarch32_target): New proc.
2597 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2598 instead of "istarget "arm*-*-*"".
2599 * gdb.arch/arm-disp-step.exp: Likewise.
2600 * gdb.arch/thumb-bx-pc.exp: Likewise.
2601 * gdb.arch/thumb-prologue.exp: Likewise.
2602 * gdb.arch/thumb-singlestep.exp: Likewise.
2603 * gdb.base/disp-step-syscall.exp: Likewise.
2604 * gdb.base/float.exp: Likewise.
2606 2015-07-07 Yao Qi <yao.qi@linaro.org>
2608 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2609 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2611 2015-07-07 Yao Qi <yao.qi@linaro.org>
2613 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2614 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2616 * gdb.multi/multi-arch.exp: Likewise.
2618 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2620 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2623 2015-07-07 Yao Qi <yao.qi@linaro.org>
2625 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2627 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2629 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2630 '[' and ']' characters.
2632 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2634 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2636 2015-06-29 Pedro Alves <palves@redhat.com>
2639 * gdb.threads/hand-call-new-thread.c: New file.
2640 * gdb.threads/hand-call-new-thread.c: New file.
2642 2015-06-26 Keith Seitz <keiths@redhat.com>
2643 Doug Evans <dje@google.com>
2646 * gdb.cp/var-tag-2.cc: New file.
2647 * gdb.cp/var-tag-3.cc: New file.
2648 * gdb.cp/var-tag-4.cc: New file.
2649 * gdb.cp/var-tag.cc: New file.
2650 * gdb.cp/var-tag.exp: New file.
2652 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2654 * gdb.base/history-duplicates.exp: New test.
2656 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2658 * gdb.base/completion.exp: Test the completion of the "focus"
2661 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2663 * gdb.arch/amd64-prologue-skip.S: New file.
2664 * gdb.arch/amd64-prologue-skip.exp: New file.
2666 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2668 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2669 is_address_zero_readable check.
2671 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2673 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2674 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2676 2015-06-24 Yao Qi <yao.qi@linaro.org>
2678 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2681 2015-06-24 Yao Qi <yao.qi@linaro.org>
2683 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2684 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2685 * gdb.base/siginfo-thread.exp: Likewise.
2687 2015-06-22 Yao Qi <yao.qi@linaro.org>
2689 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2691 2015-06-22 Yao Qi <yao.qi@linaro.org>
2693 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2695 (skip_hw_watchpoint_tests): Likewise.
2697 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2699 * gdb.base/gdbinit-history.exp: Test the interaction between
2700 setting GDBHISTSIZE and setting the history size via .gdbinit.
2702 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2705 * gdb.base/gdbhistsize-history.exp: New test.
2707 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2709 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2711 * gdb.base/readline.exp: Likewise.
2713 2015-06-17 Yao Qi <yao.qi@linaro.org>
2715 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2718 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2720 * gdb.base/gdbinit-history.exp: Add test case to check that
2721 an unlimited history file does not get truncated on exit.
2723 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2725 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2726 (VECTOR): New macro. Use it...
2727 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2728 ...for these typedefs.
2729 (int8, char1, int1, double1): New typedefs.
2730 (struct just_int2, struct two_int2): New structures.
2731 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2732 (add_structvecs, add_singlevecs): New functions.
2733 (main): Call add_some_intvecs twice.
2734 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2735 the compile and exit upon failure. Try compiling for the "native"
2736 architecture. Test inferior function calls with vector arguments
2737 and vector return value handling with "finish" and "return".
2739 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2741 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2742 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2744 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2746 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2748 PR breakpoints/16465
2749 * gdb.mi/mi-dprintf-pending.c: New file.
2750 * gdb.mi/mi-dprintf-pending.exp: New test.
2751 * gdb.mi/mi-dprintf-pendshr.c: New file.
2753 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2754 Mircea Gherzan <mircea.gherzan@intel.com>
2756 * gdb.arch/i386-mpx-map.c: New file.
2757 * gdb.arch/i386-mpx-map.exp: New File.
2759 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2761 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2762 * gdb.arch/i386-mpx.exp: Indentation fixed.
2764 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2766 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2767 function and improved indentation.
2768 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2769 gdb_test_multiple. Added additional tests to skip the test.
2771 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2773 * gdb.arch/i386-avx512.c: Change path in include file.
2774 * gdb.arch/i386-avx512.exp: Change include dir path
2776 * gdb.arch/i386-mpx.c: Change path in include file.
2777 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2780 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2782 * gdb.compile/compile-print.exp (compile print *vararray@3)
2783 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2785 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2787 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2788 (do not keep jit in memory): ... this.
2789 (expect 5): Change it to ...
2790 (expect no 5): ... this.
2792 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2795 * gdb.mi/mi-detach.exp: New file.
2797 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2800 * gdb.arch/amd64-tailcall-self.S: New file.
2801 * gdb.arch/amd64-tailcall-self.c: New file.
2802 * gdb.arch/amd64-tailcall-self.exp: New file.
2804 2015-05-28 Don Breazeal <donb@codesourcery.com>
2806 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2807 tests for remote targets by checking is_target_gdbserver.
2809 2015-05-27 Doug Evans <dje@google.com>
2811 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2812 * gdb.dwarf2/opaque-type-lookup.c: New file.
2813 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2815 2015-05-26 Doug Evans <dje@google.com>
2817 * gdb.cp/iostream.cc: New file.
2818 * gdb.cp/iostream.exp: New file.
2820 2015-05-26 Doug Evans <dje@google.com>
2822 * gdb.dwarf2/dw2-op-call.exp: Update.
2823 * gdb.dwarf2/dw4-sig-types.exp: Update.
2824 * gdb.dwarf2/implptr.exp: Update.
2825 * gdb.mi/mi-cmd-param-changed.exp: Update.
2827 2015-05-26 Doug Evans <dje@google.com>
2829 * gdb.python/py-lazy-string.c: New file.
2830 * gdb.python/py-lazy-string.exp: New file.
2831 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2832 (main): Update. Add estring3.
2833 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2834 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2836 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2837 Yao Qi <yao.qi@linaro.org>
2839 * gdb.reverse/aarch64.c: New.
2840 * gdb.reverse/aarch64.exp: New.
2842 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2844 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2845 (supports_reverse): Likewise.
2847 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2849 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2850 Use with_test_prefix.
2852 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2854 * gdb.base/completion.exp: Add test for completion of layout
2857 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2859 * lib/gdb.exp (skip_tui_tests): New proc.
2860 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2862 2015-05-19 Pedro Alves <palves@redhat.com>
2864 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2865 Save the whole env array instead of just HOME. Unset HISTSIZE in
2866 the environment while testing. Restore whole environment
2869 2015-05-16 Doug Evans <xdje42@gmail.com>
2871 * gdb.guile/scm-ports.c: New file.
2872 * gdb.guile/scm-ports.exp: Add memory port tests.
2874 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2876 * gdb.compile/compile-print.c: New file.
2877 * gdb.compile/compile-print.exp: New file.
2879 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2881 * gdb.compile/compile-ops.exp: Cast param to void.
2882 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2883 (compile code struct_object.selffield = &struct_object): Add xfail.
2885 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2887 * gdb.ada/arr_enum_with_gap: New testcase.
2889 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2891 * gdb.ada/byte_packed_arr: New testcase.
2893 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2895 * gdb.ada/pckd_neg: New testcase.
2897 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2900 * gdb.base/gdbinit-history.exp: New test.
2901 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2902 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2904 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2906 * gdb.python/py-xmethods.cc: Enhance test case.
2907 * gdb.python/py-xmethods.exp: New tests.
2908 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2910 (B_indexoper): Likewise.
2911 (global_dm_list) : Add new xmethod worker functions.
2913 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2915 * gdb.base/coredump-filter.exp: Correctly unset
2916 "coredump_var_addr" array.
2918 2015-05-08 Pedro Alves <palves@redhat.com>
2920 * gdb.server/non-existing-program.exp: Unset spawn_id.
2922 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2925 * gdb.python/py-xmethods.exp: Add tests.
2927 2015-05-08 Yao Qi <yao.qi@linaro.org>
2930 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2931 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2932 function set_coredump_filter, and remove remote_exec call.
2933 Remove argument ipid. Callers update.
2934 (top level): Don't get inferior's PID.
2936 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2938 * gdb.base/watch_thread_num.exp: Skip test on targets without
2941 2015-05-06 Pedro Alves <palves@redhat.com>
2944 * gdb.server/non-existing-program.exp: New file.
2946 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2948 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2950 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2952 * gdb.ada/out_of_line_in_inlined: New testcase.
2954 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2956 * gdb.ada/var_rec_arr: New testcase.
2958 2015-04-30 Yao Qi <yao.qi@linaro.org>
2960 * gdb.base/break-idempotent.exp: If
2961 skip_hw_watchpoint_multi_tests returns true, skip the tests
2962 on "rwatch" and "awatch".
2964 2015-04-30 Yao Qi <yao.qi@linaro.org>
2966 * gdb.base/relativedebug.exp: Invoke gdb command
2967 "info sharedlibrary", and if libc.so doesn't have debug info,
2970 2015-04-29 Doug Evans <dje@google.com>
2972 * gdb.python/py-xmethods.exp: Add ptype tests.
2973 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2974 get_result_type method.
2976 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2978 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2979 the target does not support hardware watchpoints.
2981 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2983 * gdb.base/break-always.exp: Abort testing if writing to memory
2986 2015-04-28 Doug Evans <dje@google.com>
2988 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2989 * gdb.python/py-pp-registration.exp: ... here. New file.
2990 * gdb.python/py-pp-registration.c: New file.
2991 * gdb.python/py-pp-registration.py: New file.
2993 2015-04-28 Doug Evans <dje@google.com>
2995 * gdb.python/py-bad-printers.c: New file.
2996 * gdb.python/py-bad-printers.py: New file.
2997 * gdb.python/py-bad-printers.exp: New file.
2999 2015-04-28 Sasha Smundak <asmundak@google.com>
3001 * gdb.python/py-type.exp: New test.
3003 2015-04-28 Andy Wingo <wingo@igalia.com>
3005 * gdb.python/py-parameter.exp:
3006 * gdb.guile/scm-parameter.exp: Escape the path that we are
3007 matching against, as it might contain characters that are special
3008 to regular expressions.
3010 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3012 * gdb.ada/rec_comp: New testcase.
3014 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3016 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3019 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3021 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3022 new tests for verilog output.
3024 2015-04-24 Yao Qi <yao.qi@linaro.org>
3026 * boards/remote-gdbserver-on-localhost.exp: New file.
3028 2015-04-23 Pedro Alves <palves@redhat.com>
3030 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3031 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3032 "end of file", remove $inferior_spawn_id from the indirect list.
3034 2015-04-23 Pedro Alves <palves@redhat.com>
3036 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3038 2015-04-23 Pedro Alves <palves@redhat.com>
3040 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3041 on $any_spawn_id instead of only on $gdb_spawn_id.
3043 2015-04-21 Pierre Muller <muller@sourceware.org>
3046 * lib/pascal.exp (gpc_compile): Add new option "class".
3047 (fpc_compile): Likewise.
3048 * gdb.pascal/case-insensitive-symbols.pas: New file.
3049 * gdb.pascal/case-insensitive-symbols.exp: New file.
3051 2015-04-20 Gary Benson <gbenson@redhat.com>
3053 * gdb.base/attach.exp: Fix three extended remote failures.
3055 2015-04-17 Gary Benson <gbenson@redhat.com>
3057 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3058 the main executable over the remote protocol.
3060 2015-04-16 Pedro Alves <palves@redhat.com>
3062 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3063 a new gdbserver if gdbserver_reconnect_p is set.
3065 2015-04-16 Pedro Alves <palves@redhat.com>
3067 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3068 is set, don't exit gdbserver.
3070 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3072 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3073 appropriate .insn, such that an older assembler can be used.
3074 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3075 the z/Architecture instruction set on 31-bit targets as well.
3077 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3079 * gdb.go/handcall.exp: Remove all logic related to the first
3080 breakpoint and rely on go_runto_main instead.
3081 * gdb.go/strings.exp: Likewise.
3082 * gdb.go/unsafe.exp: Likewise.
3083 * gdb.go/hello.exp: Likewise. Also rename the remaining
3084 breakpoint marker to "breakpoint 1".
3085 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3086 * gdb.go/strings.go: Likewise.
3087 * gdb.go/unsafe.go: Likewise.
3088 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3089 "set breakpoint 2 here" and rename the remaining breakpoint marker
3092 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3094 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3095 if itertools.imap is not present.
3096 * gdb.python/py-objfile.exp: Add parentheses.
3097 * gdb.python/py-type.exp: Same.
3098 * gdb.python/py-unwind-maint.py: Same.
3100 2015-04-15 Yao Qi <yao.qi@linaro.org>
3102 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3103 of ":$ptr_size" and set its form explicitly.
3105 2015-04-15 Pedro Alves <palves@redhat.com>
3106 Yao Qi <yao.qi@linaro.org>
3108 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3109 timeout by factor of 4.
3110 (test_regular_watch): Likewise.
3111 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3112 * gdb.reverse/sigall-reverse.exp: Likewise.
3113 * gdb.reverse/until-precsave.exp: Likewise.
3114 * lib/gdb.exp (with_timeout_factor): New proc.
3115 (gdb_expect): Move some code to ...
3116 (get_largest_timeout): ... here. New procedure.
3118 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3120 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3122 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3124 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3125 to write to the .text section.
3127 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3129 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3130 Handle the case of targets that do not provide PID information.
3132 2015-04-13 Yao Qi <yao.qi@linaro.org>
3134 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3135 and use expect instead of gdb_expect.
3137 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3139 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3140 "coredump_var_addr" to avoid naming conflict with other testcases.
3142 2015-04-10 Pedro Alves <palves@redhat.com>
3144 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3145 gdb_test_sequence and gdb_assert.
3147 2015-04-10 Pedro Alves <palves@redhat.com>
3149 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3150 test messages that don't include the breakpoint address.
3152 2015-04-10 Yao Qi <yao.qi@linaro.org>
3154 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3155 false for some offset and width combinations which aren't
3156 supported by linux kernel.
3158 2015-04-10 Pedro Alves <palves@redhat.com>
3160 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3161 procedure, factored out from ...
3162 (top level): ... here. Add "set displaced-stepping" testing axis.
3163 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3164 parameter "displaced". Use it.
3165 (top level): Use foreach and add "set displaced-stepping" testing
3168 2015-04-10 Pedro Alves <palves@redhat.com>
3170 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3172 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3173 both the address of the instruction that triggers the watchpoint
3174 and the address of the instruction immediately after, and use
3175 those addresses for the test. Fix comment.
3177 2015-04-10 Pedro Alves <palves@redhat.com>
3179 * gdb.base/sigstep.exp (breakpoint_to_handler)
3180 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3181 Test "backtrace" in handler.
3182 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3183 (top level): Add new "displaced" test axis to
3184 breakpoint_to_handler, breakpoint_to_handler_entry and
3185 breakpoint_over_handler.
3187 2015-04-10 Pedro Alves <palves@redhat.com>
3190 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3192 2015-04-10 Yao Qi <yao.qi@linaro.org>
3194 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3195 (test_add_rn_pc): New function.
3196 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3197 (top level): Invoke test_add_rn_pc.
3199 2015-04-10 Pedro Alves <palves@redhat.com>
3202 * gdb.base/step-over-no-symbols.exp: New file.
3204 2015-04-09 Andy Wingo <wingo@igalia.com>
3206 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3207 after the Python tests.
3209 2015-04-08 Keith Seitz <keiths@redhat.com>
3212 * gdb.python/py-completion.exp: New tests for completion.
3213 * gdb.python/py-completion.py (CompleteLimit1): New class.
3214 (CompleteLimit2): Likewise.
3215 (CompleteLimit3): Likewise.
3216 (CompleteLimit4): Likewise.
3217 (CompleteLimit5): Likewise.
3218 (CompleteLimit6): Likewise.
3219 (CompleteLimit7): Likewise.
3221 2015-04-08 Pedro Alves <palves@redhat.com>
3225 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3227 (main): Install it as SIGUSR1 handler.
3228 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3229 parameter. Always use "setup" as prefix. Toggle "set
3230 displaced-stepping" off/on depending on global. Don't switch to
3232 (top level): Add displaced stepping "off/on" test axis. Update
3233 "setup" calls. Wrap each subtest with with_test_prefix. Test
3234 continuing with a queued signal in each thread.
3236 2015-04-08 Pedro Alves <palves@redhat.com>
3238 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3239 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3240 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3241 Return early if running to main fails.
3242 * gdb.trace/while-stepping.exp: Likewise.
3244 2015-04-07 Pedro Alves <palves@redhat.com>
3246 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3247 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3248 interact with inferior program.
3250 2015-04-07 Pedro Alves <palves@redhat.com>
3252 * lib/gdb.exp (inferior_spawn_id): New global.
3253 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3254 spawn id after processing the user code.
3255 (default_gdb_start): Set inferior_spawn_id.
3256 (send_inferior): New procedure.
3257 * lib/gdbserver-support.exp (gdbserver_start): Set
3259 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3261 2015-04-07 Pedro Alves <palves@redhat.com>
3263 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3264 * lib/gdbserver-support.exp (gdbserver_start): Make
3265 $server_spawn_id global.
3266 (gdbserver_start): Don't wait for gdbserver's spawn id with
3268 (close_gdbserver): New procedure.
3269 (gdb_exit): Rename the default version and reimplement.
3271 2015-04-07 Pedro Alves <palves@redhat.com>
3273 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3274 append the substituted item, not the original item.
3276 2015-04-07 Pedro Alves <palves@redhat.com>
3278 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3281 2015-04-07 Pedro Alves <palves@redhat.com>
3283 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3284 output appearing once only.
3286 2015-04-07 Pedro Alves <palves@redhat.com>
3288 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3289 that doesn't expect anything. Return early if running to main
3292 2015-04-07 Yao Qi <yao.qi@linaro.org>
3294 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3295 (child_function): Call alarm.
3296 (main): Move call to alarm into the loop.
3297 * gdb.threads/non-stop-fair-events.exp: Build program with
3300 2015-04-06 Doug Evans <xdje42@gmail.com>
3302 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3303 Fix dest parameter to board_info.
3304 (fpc_compile): Ditto.
3305 (gdb_compile_pascal): Rename dest arg to destfile.
3307 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3309 * gdb.ada/funcall_ref.exp: New file.
3310 * gdb.ada/funcall_ref/foo.adb: New file.
3312 2015-04-02 Yao Qi <yao.qi@linaro.org>
3314 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3317 2015-04-02 Gary Benson <gbenson@redhat.com>
3319 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3321 2015-04-01 Sasha Smundak <asmundak@google.com>
3323 * gdb.python/py-unwind-maint.c: New file.
3324 * gdb.python/py-unwind-maint.exp: New test.
3325 * gdb.python/py-unwind-maint.py: New file.
3326 * gdb.python/py-unwind.c: New file.
3327 * gdb.python/py-unwind.exp: New test.
3328 * gdb.python/py-unwind.py: New test.
3330 2015-04-01 Pedro Alves <palves@redhat.com>
3332 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3333 to fail instead of non-existent $test.
3335 2015-04-01 Pedro Alves <palves@redhat.com>
3337 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3338 GDBFLAGS if not empty.
3340 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3342 * gdb.ada/complete.exp: Remove "multi_line".
3343 * gdb.ada/info_exc.exp: Remove "multi_line".
3344 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3345 * gdb.ada/ptype_field.exp: Remove "multi_line".
3346 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3347 * gdb.ada/tagged.exp: Remove "multi_line".
3348 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3350 * gdb.btrace/delta.exp: Likewise.
3351 * gdb.btrace/exception.exp: Likewise.
3352 * gdb.btrace/function_call_history.exp: Likewise.
3353 * gdb.btrace/instruction_history.exp: Likewise.
3354 * gdb.btrace/nohist.exp: Likewise.
3355 * gdb.btrace/record_goto.exp: Likewise.
3356 * gdb.btrace/segv.exp: Likewise.
3357 * gdb.btrace/stepi.exp: Likewise.
3358 * gdb.btrace/tailcall.exp: Likewise.
3359 * gdb.btrace/unknown_functions.exp: Likewise.
3360 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3361 * lib/gdb.exp: Add the "multi_line" helper.
3363 2015-04-01 Pedro Alves <palves@redhat.com>
3365 * gdb.threads/tid-reuse.c: New file.
3366 * gdb.threads/tid-reuse.exp: New file.
3368 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3371 * gdb.base/coredump-filter.c: New file.
3372 * gdb.base/coredump-filter.exp: Likewise.
3374 2015-03-27 Petr Machata <pmachata@redhat.com>
3376 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3377 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3378 (Dwarf::assemble): Initialize them.
3379 (Dwarf::lines): New function.
3381 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3383 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3384 SYMBOL_PREFIX for x86_64-*-cygwin.
3386 2015-03-26 Andy Wingo <wingo@igalia.com>
3389 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3390 const_value but not a location.
3391 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3392 location defined in non-main CUs are visible.
3394 2015-03-26 Yao Qi <yao.qi@linaro.org>
3397 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3398 Add a line number entry for the same line.
3399 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3400 Add a line number entry for the same line.
3402 2015-03-26 Yao Qi <yao.qi@linaro.org>
3404 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3406 (func): Likewise. Add .Lfunc_1 label.
3408 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3413 2015-03-26 Yao Qi <yao.qi@linaro.org>
3415 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3416 Call gdb_compile instead to compile each .s files without debug
3419 2015-03-26 Yao Qi <yao.qi@linaro.org>
3421 * gdb.base/savedregs.exp (process_saved_regs): Make
3422 "Saved registers:" optional in the pattern.
3424 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3426 * gdb.btrace/next.exp: Merged into step.exp.
3427 * gdb.btrace/finish.exp: Merged into step.exp.
3428 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3429 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3430 "record goto" and checking the exact replay position.
3431 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3432 check for "Recording format" in "info record" output.
3433 * gdb.btrace/record_goto.exp: Choose test file based on target.
3434 * gdb.btrace/x86-record_goto.S: Renamed into ...
3435 * gdb.btrace/x86_64-record_goto.S: ... this.
3436 * gdb.btrace/i686-record_goto.S: New.
3437 * gdb.btrace/x86-tailcall.S: Renamed into ...
3438 * gdb.btrace/x86_64-tailcall.S: ... this.
3439 * gdb.btrace/i686-tailcall.S: New.
3440 * gdb.btrace/x86-tailcall.c: Renamed into ...
3441 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3442 separate statements. Update test.
3443 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3444 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3445 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3446 * gdb.btrace/tailcall.exp: Choose test file based on target.
3447 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3449 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3451 * gdb.btrace/exception.exp: Increase BTS buffer size.
3453 2015-03-24 Pedro Alves <palves@redhat.com>
3455 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3457 2015-03-24 Pedro Alves <palves@redhat.com>
3459 * gdb.threads/schedlock.exp (test_step): No longer expect that
3460 "set scheduler-locking step" with "next" over a function call runs
3463 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3465 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3467 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3469 PR breakpoints/16466
3470 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3471 * gdb.mi/mi-pending.c (thread_func): New function.
3472 (int main): Add threading support required.
3473 * gdb.mi/mi-pending.exp: Add tests for this issue.
3474 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3475 (pendfunc2): Remove stdio dependency.
3476 * gdb.mi/mi-pendshr2.c: New file.
3478 2015-03-23 Keith Seitz <keiths@redhat.com>
3480 * gdb.linespec/keywords.c: New file.
3481 * gdb.linespec/keywords.exp: New file.
3483 2015-03-23 Keith Seitz <keiths@redhat.com>
3486 * gdb.dwarf2/staticvirtual.exp: New test.
3488 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3490 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3491 * README: Remove HP-UX and gdb.hp.
3493 * configure: Regenerate.
3494 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3495 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3496 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3497 gdb.hp/gdb.defects/Makefile.
3498 * gdb.hp/Makefile.in: File deleted.
3499 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3500 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3501 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3502 * gdb.hp/gdb.aCC/run.c: File deleted.
3503 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3504 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3505 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3506 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3507 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3508 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3509 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3510 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3511 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3512 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3513 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3514 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3515 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3516 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3517 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3518 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3519 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3520 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3521 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3522 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3523 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3524 * gdb.hp/gdb.compat/average.c: File deleted.
3525 * gdb.hp/gdb.compat/sum.c: File deleted.
3526 * gdb.hp/gdb.compat/xdb.c: File deleted.
3527 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3528 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3529 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3530 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3531 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3532 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3533 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3534 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3535 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3536 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3537 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3538 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3539 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3540 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3541 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3542 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3543 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3544 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3545 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3546 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3547 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3548 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3549 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3550 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3551 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3552 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3553 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3554 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3555 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3556 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3557 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3558 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3559 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3560 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3561 * gdb.hp/tools/odump: File deleted.
3563 2015-03-19 Pedro Alves <palves@redhat.com>
3565 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3566 (saw_thread_3): New globals.
3567 (top level): Increment them when an event for the corresponding
3569 (no thread starvation): New test.
3571 2015-03-19 Pedro Alves <palves@redhat.com>
3573 * gdb.threads/continue-pending-status.c: New file.
3574 * gdb.threads/continue-pending-status.exp: New file.
3576 2015-03-18 Pedro Alves <palves@redhat.com>
3578 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3579 Use gdb_is_target_remote instead of is_remote. Use
3580 gdb_test_multiple instead of gdb_expect. Exit early if
3581 gdb_test_multiple hits its internal matches. Tighten stepi tests
3582 expected output. Fail on exit with any signal, instead of just
3585 2015-03-18 Yao Qi <yao.qi@linaro.org>
3588 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3590 * gdb.base/catch-syscall.exp: Don't skip it on
3591 aarch64*-*-linux* target. Remove elements in all_syscalls.
3592 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3594 (setup_all_syscalls): New proc.
3596 2015-03-16 Yao Qi <yao.qi@linaro.org>
3598 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3599 (top level): Skip tests if valid_addr_p returns false for
3602 2015-03-11 Andy Wingo <wingo@igalia.com>
3604 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3606 2015-03-11 Yao Qi <yao.qi@linaro.org>
3608 * gdb.base/catch-syscall.exp: Fix typo in comments.
3610 2015-03-11 Yao Qi <yao.qi@linaro.org>
3612 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3614 2015-03-09 Pedro Alves <palves@redhat.com>
3616 * dg-extract-results.py: Delete.
3618 2015-03-09 Pedro Alves <palves@redhat.com>
3620 Merge dg-extract-results.sh from GCC upstream (r218843).
3622 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3623 * dg-extract-results.sh: Use --text with grep to avoid issues with
3624 binary files. Fall back to cat -v, if that doesn't work.
3626 2015-03-05 Pedro Alves <palves@redhat.com>
3628 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3630 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3632 * lib/mi-support.exp (mi_expect_interrupt): Accept
3633 alternative event for when in all-stop mode.
3635 2015-03-04 Pedro Alves <palves@redhat.com>
3637 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3639 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3641 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3643 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3645 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3646 regexps for GDB's current line display, accept a hex address
3647 preceding the line number.
3649 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3651 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3652 the 'arch1' variable for "s390*-linux*" targets.
3654 2015-03-04 Pedro Alves <palves@redhat.com>
3656 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3657 (main): Pass missing retval argument to pthread_join call.
3659 2015-03-02 Pedro Alves <palves@redhat.com>
3661 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3662 (top level): Call do_test with non-stop as well.
3664 2015-03-02 Pedro Alves <palves@redhat.com>
3666 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3669 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3671 * gdb.arch/s390-vregs.exp: New test.
3672 * gdb.arch/s390-vregs.S: New file.
3674 2015-02-27 Pedro Alves <palves@redhat.com>
3676 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3677 call to catch_command_errors.
3678 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3679 catch_command_errors.
3681 2015-02-27 Pedro Alves <palves@redhat.com>
3683 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3684 "true" for boolean result.
3685 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3688 2015-02-27 Pedro Alves <palves@redhat.com>
3690 * lib/unbuffer_output.c: New file.
3691 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3692 (main): Call gdb_unbuffer_output.
3694 2015-02-27 Yao Qi <yao.qi@linaro.org>
3696 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3699 2015-02-26 Doug Evans <dje@google.com>
3701 * gdb.cp/class2.cc (Dbase, D): New classes.
3702 (main): New local delta.
3703 * gdb.cp/class2.exp: Test printing delta.
3704 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3705 (dynbar): New global.
3706 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3708 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3710 * gdb.compile/compile-ifunc.c: New file.
3711 * gdb.compile/compile-ifunc.exp: New file.
3713 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3715 * gdb.base/structs.exp: Check for correct struct on finish.
3717 2015-02-26 Yao Qi <yao.qi@linaro.org>
3719 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3722 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3724 * gdb.arch/cordic.ko.bz2: New file.
3725 * gdb.arch/cordic.ko.debug.bz2: New file.
3726 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3728 2015-02-25 Yao Qi <yao.qi@linaro.org>
3730 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3731 aarch64*-*-* target.
3733 2015-02-23 Pedro Alves <palves@redhat.com>
3735 * lib/gdb.exp (delete_breakpoints): Rewrite using
3738 2015-02-23 Pedro Alves <palves@redhat.com>
3740 * gdb.base/info-os.c: Include stdlib.h.
3742 2015-02-22 Doug Evans <xdje42@gmail.com>
3745 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3746 is read after symbols have been re-read.
3747 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3748 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3750 2015-02-21 Doug Evans <dje@google.com>
3752 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3754 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3757 * gdb.arch/i386-biarch-core.core.bz2: New file.
3758 * gdb.arch/i386-biarch-core.exp: New file.
3760 2015-02-21 Pedro Alves <palves@redhat.com>
3762 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3765 2015-02-20 Pedro Alves <palves@redhat.com>
3767 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3770 2015-02-20 Pedro Alves <palves@redhat.com>
3772 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3774 2015-02-20 Pedro Alves <palves@redhat.com>
3776 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3777 clean_restart before gdb_target_supports_trace.
3779 2015-02-20 Pedro Alves <palves@redhat.com>
3782 * gdb.threads/clone-thread_db.c: New file.
3783 * gdb.threads/clone-thread_db.exp: New file.
3785 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3787 PR breakpoints/16812
3788 * gdb.base/catch-gdb-caused-signals.c: New file.
3789 * gdb.base/catch-gdb-caused-signals.exp: New file.
3791 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3793 * configure: Regenerated.
3794 * configure.ac: Use GDB_AC_TRANSFORM.
3795 * aclocal.m4: sinclude ../transform.m4.
3797 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3799 * lib/dtrace.exp: New file.
3800 * gdb.base/dtrace-probe.exp: Likewise.
3801 * gdb.base/dtrace-probe.d: Likewise.
3802 * gdb.base/dtrace-probe.c: Likewise.
3803 * lib/pdtrace.in: Likewise.
3804 * configure.ac: Output variables with the transformed names of
3805 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3806 * configure: Regenerated.
3808 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3810 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3811 expected message when trying to access $_probe_* convenience
3812 variables while not on a probe.
3814 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3816 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3818 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3820 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3821 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3823 2015-02-10 Doug Evans <xdje42@gmail.com>
3825 * lib/gdb.exp (gdb_load): Always return a result.
3827 2015-02-10 Pedro Alves <palves@redhat.com>
3829 * gdb.threads/signal-sigtrap.c: New file.
3830 * gdb.threads/signal-sigtrap.exp: New file.
3832 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3834 * gdb.trace/no-attach-trace.c: New file.
3835 * gdb.trace/no-attach-trace.exp: New file.
3837 2015-02-09 Mark Wielaard <mjw@redhat.com>
3839 * gdb.dwarf2/atomic.c: New file.
3840 * gdb.dwarf2/atomic-type.exp: Likewise.
3842 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3844 * gdb.btrace/buffer-size.exp: Update "info record" output.
3845 * gdb.btrace/delta.exp: Update "info record" output.
3846 * gdb.btrace/enable.exp: Update "info record" output.
3847 * gdb.btrace/finish.exp: Update "info record" output.
3848 * gdb.btrace/instruction_history.exp: Update "info record" output.
3849 * gdb.btrace/next.exp: Update "info record" output.
3850 * gdb.btrace/nexti.exp: Update "info record" output.
3851 * gdb.btrace/step.exp: Update "info record" output.
3852 * gdb.btrace/stepi.exp: Update "info record" output.
3853 * gdb.btrace/nohist.exp: Update "info record" output.
3855 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3857 * gdb.btrace/buffer-size: New.
3859 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3861 * gdb.btrace/delta.exp: Update "info record" output.
3862 * gdb.btrace/enable.exp: Update "info record" output.
3863 * gdb.btrace/finish.exp: Update "info record" output.
3864 * gdb.btrace/instruction_history.exp: Update "info record" output.
3865 * gdb.btrace/next.exp: Update "info record" output.
3866 * gdb.btrace/nexti.exp: Update "info record" output.
3867 * gdb.btrace/step.exp: Update "info record" output.
3868 * gdb.btrace/stepi.exp: Update "info record" output.
3869 * gdb.btrace/nohist.exp: Update "info record" output.
3871 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3874 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3876 2015-02-06 Pedro Alves <palves@redhat.com>
3878 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3880 (seconds_left, again): New globals.
3881 (main): Wait seconds_left in a 1-second sleep loop instead of
3882 sleeping 180 seconds. If 'again' is set, reset the seconds
3884 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3885 'again' in the inferior before detaching. Print the seconds left.
3886 (options): New global.
3887 (top level): Build program with -DTIMEOUT=$timeout.
3889 2015-02-06 Pedro Alves <palves@redhat.com>
3891 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3892 determine how many seconds to pass to 'alarm'.
3893 * gdb.base/gdb-sigterm.exp (top level): Build program with
3895 (do_test): Return success/failure indication. Add more verbose
3896 logging. Don't fail if 200 single steps are seen. Instead, fail
3897 when the test times out.
3898 (passes): New global.
3899 (top level): Break the testing loop if testing fails on any
3900 iteration. Use gdb_assert.
3902 2015-02-04 Don Breazeal <donb@codesourcery.com>
3904 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3905 and initialize them.
3906 (ipc_cleanup): New function.
3907 (main): Don't declare shmid, semid, and msqid. Add a call to
3908 atexit so that we call ipc_cleanup on exit.
3910 2015-02-04 Pedro Alves <palves@redhat.com>
3912 * boards/native-extended-gdbserver.exp: Remove any target variant
3913 specifications from the board name before clearing the isremote
3914 flag from board_info.
3916 2015-01-31 Doug Evans <xdje42@gmail.com>
3918 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3920 2015-01-31 Gary Benson <gbenson@redhat.com>
3922 * gdb.base/completion.exp: Disable completion limiting for
3923 existing tests. Add new tests to check completion limiting.
3924 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3926 2015-01-31 Doug Evans <xdje42@gmail.com>
3928 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3930 2015-01-31 Doug Evans <xdje42@gmail.com>
3932 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3933 entries. Duplicate file section script entries.
3934 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3935 inlined entries. Add test for safe-path rejection.
3936 * gdb.python/py-section-script.c: Add duplicate inlined section script
3937 entries. Duplicate file section script entries.
3938 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3939 inlined entries. Add test for safe-path rejection.
3941 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3943 * gdb.ada/disc_arr_bound: New testcase.
3945 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3947 * gdb.ada/mi_var_array: New testcase.
3949 2015-01-27 Doug Evans <dje@google.com>
3951 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3952 Add test for objfile.filename, objfile.username after objfile
3955 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3957 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3958 the second test to print the name attribute of value
3959 returned by the call to gdb.lookup_type, and adjust
3960 the expected output accordingly.
3962 2015-01-25 Mark Wielaard <mjw@redhat.com>
3964 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3965 * gdb.base/disp-step-fork.c: Include unistd.h.
3966 * gdb.base/siginfo-obj.c: Include stdio.h.
3967 * gdb.base/siginfo-thread.c: Likewise.
3968 * gdb.mi/non-stop.c: Include unistd.h.
3969 * gdb.mi/nsthrexec.c: Include stdio.h.
3970 * gdb.mi/pthreads.c: Include unistd.h.
3971 * gdb.modula2/unbounded1.c (main): Declare returns int.
3972 * gdb.reverse/consecutive-reverse.c: Likewise.
3973 * gdb.threads/create-fail.c: Include unistd.h.
3974 * gdb.threads/killed.c: Likewise.
3975 * gdb.threads/linux-dp.c: Likewise.
3976 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3977 * gdb.threads/non-ldr-exc-2.c: Likewise.
3978 * gdb.threads/non-ldr-exc-3.c: Likewise.
3979 * gdb.threads/non-ldr-exc-4.c: Likewise.
3980 * gdb.threads/pthreads.c: Include unistd.h.
3981 (main): Declare returns int.
3982 * gdb.threads/tls-main.c (foo): New declaration.
3983 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3985 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3987 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3988 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3990 2015-01-15 Mark Wielaard <mjw@redhat.com>
3992 * gdb.base/noreturn-return.c: New file.
3993 * gdb.base/noreturn-return.exp: New file.
3994 * gdb.base/noreturn-finish.c: New file.
3995 * gdb.base/noreturn-finish.exp: New file.
3997 2015-01-23 Pedro Alves <palves@redhat.com>
3999 * gdb.threads/continue-pending-after-query.c: New file.
4000 * gdb.threads/continue-pending-after-query.exp: New file.
4002 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4003 Simon Marchi <simon.marchi@ericsson.com>
4005 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4006 * gdb.base/valgrind-db-attach.exp: Same.
4007 * gdb.base/valgrind-infcall.exp: Same.
4008 * lib/mi-support.exp (default_mi_gdb_start): Same.
4009 * lib/prompt.exp (default_prompt_gdb_start): Same.
4010 * lib/gdb.exp (default_gdb_spawn): Same.
4011 (gdb_interact): New.
4014 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4016 * gdb.compile/compile.exp (pointer to jit function): New test.
4018 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4020 * lib/gdb.exp (supports_process_record): Return true for
4022 (supports_reverse): Likewise.
4024 2015-01-15 Don Breazeal <donb@codesourcery.com>
4026 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4027 instead of checking whether the target board is remote and
4028 use spawn_wait_for_attach instead of exec/sleep.
4029 * gdb.base/attach-twice.exp: Likewise.
4031 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4033 * gdb.ada/var_arr_attrs: New testcase.
4035 2015-01-14 Pedro Alves <palves@redhat.com>
4036 Joel Brobecker <brobecker@adacore.com>
4039 * gdb.base/bp-cmds-execution-x-script.c: New file.
4040 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4041 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4043 2015-01-14 Pedro Alves <palves@redhat.com>
4046 * gdb.base/batch-preserve-term-settings.c: New file.
4047 * gdb.base/batch-preserve-term-settings.exp: New file.
4049 2015-01-13 Doug Evans <dje@google.com>
4051 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4054 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4056 * Makefile.in (clean mostlyclean): Do not delete *.py.
4058 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4060 * gdb.python/py-lookup-type.exp: New file.
4062 2015-01-12 Pedro Alves <palves@redhat.com>
4064 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4065 restore GDBFLAGS before returning.
4067 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4069 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4070 is_amd64_regs_target and is_x86_like_target.
4072 2015-01-11 Doug Evans <xdje42@gmail.com>
4074 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4075 is given without an explicit form.
4076 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4078 * gdb.dwarf/corrupt.exp: Ditto.
4079 * gdb.dwarf2/enum-type.exp: Ditto.
4080 * gdb.trace/entry-values.exp: Ditto.
4081 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4083 2015-01-11 Doug Evans <xdje42@gmail.com>
4086 * gdb.base/maint.exp: Remove references to "maint demangle".
4087 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4088 Add tests for explicitly specifying language to demangle.
4089 * gdb.dlang/demangle.exp: Ditto.
4091 2015-01-09 Pedro Alves <palves@redhat.com>
4093 * gdb.threads/non-stop-fair-events.c: New file.
4094 * gdb.threads/non-stop-fair-events.exp: New file.
4096 2015-01-09 Pedro Alves <palves@redhat.com>
4098 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4099 the global scope. Set a breakpoint after all threads are started
4100 rather than stepping over two source lines. Expect the prompt.
4101 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4104 (main): Use threads_started_barrier to wait for all threads to
4105 start. Main thread no longer calls thread_function. Exit after
4107 (loop): New function.
4108 (thread_function): Wait on threads_started_barrier barrier. Call
4109 'loop' at each iteration.
4110 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4111 threads have started, instead of hardcoding number of "next"
4112 steps. Use an access watchpoint instead of a write watchpoint.
4114 2015-01-09 Pedro Alves <palves@redhat.com>
4116 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4117 (thread_func): Wait on barrier.
4118 (main): Wait for all threads to start before stopping GDB.
4119 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4121 (thread1_func, thread2_func): Wait on barrier.
4122 (main): Wait for all threads to start before stopping GDB.
4123 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4125 (thread1_func, thread2_func): Wait on barrier.
4126 (main): Wait for all threads to start before stopping GDB.
4128 2015-01-09 Pedro Alves <palves@redhat.com>
4130 * gdb.threads/attach-many-short-lived-threads.c: New file.
4131 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4133 2014-01-09 Pedro Alves <palves@redhat.com>
4135 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4136 instead of to thread 2.
4137 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4138 Add barrier around each pthread_create call instead of around all
4140 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4141 Set a break on thread_function and have the child threads hit it
4144 2015-01-09 Pedro Alves <palves@redhat.com>
4146 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4147 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4149 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4150 checking whether the target board is remote.
4151 * gdb.multi/multi-attach.exp: Likewise.
4152 * gdb.python/py-sync-interp.exp: Likewise.
4153 * gdb.server/ext-attach.exp: Likewise.
4154 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4155 tests that need to attach, instead of checking whether the target
4156 board is remote at the top of the file.
4158 2015-01-08 Yao Qi <yao@codesourcery.com>
4160 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4162 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4164 Fix testcase compilation.
4165 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4167 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4169 * gdb.python/py-type.exp: Add a couple test about empty
4170 array creation, and negative-length array creation.
4172 2015-01-02 Doug Evans <xdje42@gmail.com>
4174 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4176 2015-01-02 Doug Evans <dje@google.com>
4178 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4180 2014-12-29 Yao Qi <yao@codesourcery.com>
4182 * gdb.trace/entry-values.exp: Update comments. Rename variable
4183 bar_call_foo to returned_from_foo.
4185 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4188 * gdb.linespec/break-asm-file.c: New file.
4189 * gdb.linespec/break-asm-file.exp: New file.
4190 * gdb.linespec/break-asm-file0.s: New file.
4191 * gdb.linespec/break-asm-file1.s: New file.
4193 2014-12-18 Nigel Stephens <nigel@mips.com>
4194 Maciej W. Rozycki <macro@codesourcery.com>
4196 * gdb.base/float.exp: Handle the new output from "info float" on
4199 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4201 Fix MinGW compilation.
4202 * gdb.compile/compile-ops.exp: Update untested message if
4203 !skip_compile_feature_tests.
4204 * gdb.compile/compile-setjmp.exp: Likewise.
4205 * gdb.compile/compile-tls.exp: Likewise.
4206 * gdb.compile/compile.exp: Likewise.
4207 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4208 supported on this host".
4210 2014-12-16 Doug Evans <xdje42@gmail.com>
4212 * boards/stabs.exp: New file.
4214 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4216 * gdb.base/completion.exp: Adjust to format changes of "maint
4217 print user-registers".
4219 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4222 * gdb.arch/aarch64-fp.c: New file.
4223 * gdb.arch/aarch64-fp.exp: New file.
4225 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4227 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4228 r210637, r210913, r211666, r215400, r215817).
4230 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4231 * dg-extract-results.py: New file.
4232 * dg-extract-results.sh: Use it if the environment seems
4235 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4237 * dg-extract-results.py (parse_run): Handle warnings that
4238 are printed before a test harness is run.
4240 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4242 * dg-extract-results.py (Named): Remove __cmp__ method.
4243 (output_variation): Use a key to sort variation.harnesses.
4245 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4247 * dg-extract-results.py: For Python 3, force sys.stdout to
4248 handle surrogate escape sequences.
4249 (safe_open): New function.
4250 (output_segment, main): Use it.
4252 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4254 * dg-extract-results.py (Prog.result_re): Include options
4257 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4259 * dg-extract-results.py (output_variation): Always sort if
4262 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4264 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4265 as long as we get pagination notifications.
4267 2014-12-15 Jason Merrill <jason@redhat.com>
4269 * Makefile.in (check-gdb.%): Restore.
4270 * README: Mention it.
4272 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4274 * gdb.ada/str_uninit: New testcase.
4276 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4279 * gdb.base/vla-stub-define.c: New file.
4280 * gdb.base/vla-stub.c: New file.
4281 * gdb.base/vla-stub.exp: New file.
4283 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4284 Jan Kratochvil <jan.kratochvil@redhat.com>
4285 Tom Tromey <tromey@redhat.com>
4287 * configure.ac: Add gdb.compile/.
4288 * configure: Regenerate.
4289 * gdb.compile/Makefile.in: New file.
4290 * gdb.compile/compile-ops.exp: New file.
4291 * gdb.compile/compile-ops.c: New file.
4292 * gdb.compile/compile-tls.c: New file.
4293 * gdb.compile/compile-tls.exp: New file.
4294 * gdb.compile/compile-constvar.S: New file.
4295 * gdb.compile/compile-constvar.c: New file.
4296 * gdb.compile/compile-mod.c: New file.
4297 * gdb.compile/compile-nodebug.c: New file.
4298 * gdb.compile/compile-setjmp-mod.c: New file.
4299 * gdb.compile/compile-setjmp.c: New file.
4300 * gdb.compile/compile-setjmp.exp: New file.
4301 * gdb.compile/compile-shlib.c: New file.
4302 * gdb.compile/compile.c: New file.
4303 * gdb.compile/compile.exp: New file.
4304 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4306 2014-12-12 Tom Tromey <tromey@redhat.com>
4308 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4309 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4311 2014-12-12 Doug Evans <dje@google.com>
4313 * lib/gdb-python.exp (get_python_valueof): New function.
4314 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4316 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4318 * gdb.base/completion.exp: Add test for completion of "info
4321 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4323 * gdb.base/func-ptrs.c: New file.
4324 * gdb.base/func-ptrs.exp: New file.
4326 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4328 PR breakpoints/17012
4329 * gdb.base/dprintf-detach.c: New file.
4330 * gdb.base/dprintf-detach.exp: New file.
4332 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4334 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4335 * lib/gdb.exp (target_is_gdbserver): New procedure.
4337 2014-12-08 Doug Evans <dje@google.com>
4339 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4341 2014-12-05 Yao Qi <yao@codesourcery.com>
4343 * gdb.guile/scm-error.exp: Remove the third argument to
4344 gdb_remote_download.
4345 * gdb.guile/scm-frame-args.exp: Likewise.
4346 * gdb.guile/scm-section-script.exp: Likewise.
4348 2014-12-05 Yao Qi <yao@codesourcery.com>
4350 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4352 2014-12-04 Doug Evans <dje@google.com>
4354 * gdb.python/py-objfile.exp: Add tests for
4355 objfile.add_separate_debug_file.
4357 2014-12-04 Doug Evans <dje@google.com>
4359 * lib/gdb.exp (get_build_id): New function.
4360 (build_id_debug_filename_get): Rewrite to use it.
4361 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4363 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4365 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4366 `method(long)', not just 0x0.
4367 * gdb.cp/nsalias.exp: Align code labels to 4.
4368 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4369 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4370 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4371 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4372 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4373 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4375 2014-12-02 Doug Evans <dje@google.com>
4378 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4379 * gdb.cp/anon-ns2.cc: ... here. New file.
4380 * gdb.cp/anon-ns.exp: Update.
4382 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4384 * gdb.python/py-events.py (inferior_call_handler): New.
4385 (register_changed_handler, memory_changed_handler): New.
4386 (test_events.invoke): Register new handlers.
4387 * gdb.python/py-events.exp: Add tests for inferior call,
4388 memory_changed and register_changed events.
4390 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4393 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4394 if the linker doesn't understand this.
4396 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4398 * gdb.python/python.exp: Change expected reply to help().
4400 2014-12-01 Yao Qi <yao@codesourcery.com>
4402 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4403 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4404 * configure: Re-generated.
4406 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4408 * gdb.cp/chained-calls.cc: New file.
4409 * gdb.cp/chained-calls.exp: New file.
4410 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4412 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4414 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4415 * gdb.dwarf2/symtab-producer.exp: Same.
4416 * gdb.gdb/python-interrupts.exp: Same.
4417 * gdb.gdb/python-selftest.exp: Same.
4418 * gdb.python/py-linetable.exp: Same.
4419 * gdb.python/py-type.exp: Same.
4420 * gdb.python/py-value-cc.exp: Same.
4421 * gdb.python/py-value.exp: Same.
4423 2014-11-28 Yao Qi <yao@codesourcery.com>
4425 * gdb.base/break-probes.exp: Match library name prefixed with
4428 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4430 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4431 test expected output. Add parentheses for the call to print.
4432 Remove L suffix from integers.
4434 2014-11-26 Doug Evans <dje@google.com>
4436 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4438 2014-11-22 Yao Qi <yao@codesourcery.com>
4440 * gdb.trace/entry-values.c: Remove asms.
4441 (foo): Add foo_label.
4442 (bar): Add bar_label.
4443 * gdb.trace/entry-values.exp: Remove code computing foo's
4444 length and bar's length.
4445 (Dwarf::assemble): Invoke function_range for bar and use
4446 MACRO_AT_func for foo.
4448 2014-11-22 Yao Qi <yao@codesourcery.com>
4450 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4451 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4452 Use .Lgcc43_procstart instead of gcc43.
4454 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4456 * gdb.ada/n_arr_bound: New testcase.
4458 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4460 PR breakpoints/10737
4461 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4462 test_catch_syscall_multi_arch.
4463 (test_catch_syscall_multi_arch): New function.
4465 2014-11-20 Doug Evans <xdje42@gmail.com>
4467 * gdb.base/maint.exp: Update expected output.
4469 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4471 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4472 4-byte instruction on S390.
4474 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4476 * gdb.ada/arr_arr: New testcase.
4478 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4480 * gdb.ada/pkd_arr_elem: New Testcase.
4482 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4484 * gdb.reverse/break-precsave: Expect completion message for
4486 * gdb.reverse/consecutive-precsave.exp: Likewise.
4487 * gdb.reverse/finish-precsave.exp: Likewise.
4488 * gdb.reverse/i386-precsave.exp: Likewise.
4489 * gdb.reverse/machinestate-precsave.exp: Likewise.
4490 * gdb.reverse/sigall-precsave.exp: Likewise.
4491 * gdb.reverse/solib-precsave.exp: Likewise.
4492 * gdb.reverse/step-precsave.exp: Likewise.
4493 * gdb.reverse/until-precsave.exp: Likewise.
4494 * gdb.reverse/watch-precsave.exp: Likewise.
4496 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4498 * gdb.base/bp-permanent.c: Include unistd.h.
4499 * gdb.python/py-framefilter-mi.c (main): Add return type.
4500 * gdb.python/py-framefilter.c (main): Likewise.
4501 * gdb.trace/actions-changed.c (main): Likewise.
4503 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4505 * gdb.mi/until.c: Add eye-catchers.
4506 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4509 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4512 function header variants in break1.c.
4513 * gdb.base/ena-dis-br.exp: Likewise.
4514 * gdb.base/hbreak2.exp: Likewise.
4515 * gdb.reverse/until-precsave.exp: Drop references to removed
4516 non-prototype function header variants in ur1.c.
4517 * gdb.reverse/until-reverse.exp: Likewise.
4519 2014-11-17 Petr Machata <pmachata@redhat.com>
4521 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4522 ${_cu_offset_size} bytes abbrev offset.
4524 2014-11-15 Doug Evans <xdje42@gmail.com>
4527 * gdb.base/line-symtabs.exp: New file.
4528 * gdb.base/line-symtabs.c: New file.
4529 * gdb.base/line-symtabs.h: New file.
4531 2014-11-14 Yao Qi <yao@codesourcery.com>
4533 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4534 (func): Add label func_label.
4535 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4536 Replace low_pc and high_pc with MACRO_AT_range.
4537 Replace name, low_pc and high_pc with MACRO_AT_func.
4539 2014-11-14 Yao Qi <yao@codesourcery.com>
4541 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4542 Replace name, low_pc and high_pc with MACRO_AT_func.
4544 2014-11-14 Yao Qi <yao@codesourcery.com>
4546 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4547 produce debug information.
4548 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4550 2014-11-14 Yao Qi <yao@codesourcery.com>
4552 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4553 object and get function length.
4554 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4556 (top-level): Replace gdb_compile and clean_restart with
4557 prepare_for_testing.
4558 * gdb.dwarf2/main.c (main): Add label main_label.
4560 2014-11-14 Yao Qi <yao@codesourcery.com>
4562 * lib/dwarf.exp (function_range): New procedure.
4563 (Dwarf::_handle_macro_at_func): New procedure.
4564 (Dwarf::_handle_macro_at_range): New procedure.
4565 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4567 2014-11-14 Yao Qi <yao@codesourcery.com>
4569 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4570 (_handle_attribute): New procedure.
4572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4574 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4575 * gdb.base/call-sc.c (zed): Likewise.
4576 * gdb.base/checkpoint.c (main): Likewise.
4577 * gdb.base/dump.c (main): Likewise.
4578 * gdb.base/gcore.c (main): Likewise.
4579 * gdb.base/huge.c (main): Likewise.
4580 * gdb.base/multi-forks.c (main): Likewise.
4581 * gdb.base/pr10179-a.c (main): Likewise.
4582 * gdb.base/savedregs.c (main): Likewise.
4583 * gdb.base/sigaltstack.c (main): Likewise.
4584 * gdb.base/siginfo.c (main): Likewise.
4585 * gdb.base/structs.c (zed): Likewise.
4586 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4587 * gdb.mi/mi-syn-frame.c (main): Likewise.
4588 * gdb.mi/until.c (foo, main): Likewise.
4589 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4590 * gdb.base/solib-weak.c (foo): Declare.
4591 * gdb.base/attach-twice.c: Include stdio.h.
4592 * gdb.base/weaklib1.c: Likewise.
4593 * gdb.base/weaklib2.c: Likewise.
4594 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4595 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4597 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4598 * gdb.mi/mi-exit-code.c: Likewise.
4599 * gdb.base/break-interp-lib.c: Include string.h.
4600 * gdb.base/coremaker.c: Likewise.
4601 * gdb.base/testenv.c: Likewise.
4602 * gdb.python/py-finish-breakpoint.c: Likewise.
4603 * gdb.base/inferior-died.c: Include sys/wait.h.
4604 * gdb.base/fileio.c: Include time.h.
4605 * gdb.base/async-shell.c: Include unistd.h.
4606 * gdb.base/dprintf-non-stop.c: Likewise.
4607 * gdb.base/info-os.c: Likewise.
4608 * gdb.mi/mi-console.c: Likewise.
4609 * gdb.mi/watch-nonstop.c: Likewise.
4610 * gdb.python/py-events.c: Likewise.
4611 * gdb.base/async.c (baz): Move up before its invocation.
4612 * gdb.base/code_elim2.c (my_global_func): Likewise.
4613 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4614 * gdb.base/advance.c (func2): Likewise.
4616 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4618 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4620 * gdb.base/annota3.c: Likewise.
4621 * gdb.base/async.c: Likewise.
4622 * gdb.base/average.c: Likewise.
4623 * gdb.base/call-ar-st.c: Likewise.
4624 * gdb.base/call-rt-st.c: Likewise.
4625 * gdb.base/call-sc.c: Likewise.
4626 * gdb.base/call-strs.c: Likewise.
4627 * gdb.base/ending-run.c: Likewise.
4628 * gdb.base/execd-prog.c: Likewise.
4629 * gdb.base/exprs.c: Likewise.
4630 * gdb.base/foll-exec.c: Likewise.
4631 * gdb.base/foll-fork.c: Likewise.
4632 * gdb.base/foll-vfork.c: Likewise.
4633 * gdb.base/funcargs.c: Likewise.
4634 * gdb.base/gcore.c: Likewise.
4635 * gdb.base/jump.c: Likewise.
4636 * gdb.base/langs0.c: Likewise.
4637 * gdb.base/langs1.c: Likewise.
4638 * gdb.base/langs2.c: Likewise.
4639 * gdb.base/mips_pro.c: Likewise.
4640 * gdb.base/nodebug.c: Likewise.
4641 * gdb.base/opaque0.c: Likewise.
4642 * gdb.base/opaque1.c: Likewise.
4643 * gdb.base/recurse.c: Likewise.
4644 * gdb.base/run.c: Likewise.
4645 * gdb.base/scope0.c: Likewise.
4646 * gdb.base/scope1.c: Likewise.
4647 * gdb.base/setshow.c: Likewise.
4648 * gdb.base/setvar.c: Likewise.
4649 * gdb.base/shmain.c: Likewise.
4650 * gdb.base/shr1.c: Likewise.
4651 * gdb.base/shr2.c: Likewise.
4652 * gdb.base/sigall.c: Likewise.
4653 * gdb.base/signals.c: Likewise.
4654 * gdb.base/so-indr-cl.c: Likewise.
4655 * gdb.base/solib2.c: Likewise.
4656 * gdb.base/structs.c: Likewise.
4657 * gdb.base/sum.c: Likewise.
4658 * gdb.base/vforked-prog.c: Likewise.
4659 * gdb.base/watchpoint.c: Likewise.
4660 * gdb.reverse/shr2.c: Likewise.
4661 * gdb.reverse/until-reverse.c: Likewise.
4662 * gdb.reverse/ur1.c: Likewise.
4663 * gdb.reverse/watch-reverse.c: Likewise.
4665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4667 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4669 * gdb.base/sepdebug.exp: Drop references to removed code.
4671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4673 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4674 variant. Preserve original line numbering.
4675 * gdb.base/list1.c: Likewise.
4677 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4679 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4681 * gdb.base/break1.c: Likewise.
4682 * gdb.base/break.exp: Drop references to removed code.
4684 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4686 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4689 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4695 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4696 logic into perform_all_tests() and invoke it with and without
4697 function header prototypes.
4698 (do_function_calls): Remove conditional XFAIL for PR 5318.
4699 (rerun_and_prepare): Remove duplicate code.
4700 (perform_all_tests): New. Main logic moved here.
4702 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4704 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4705 code guarded by #ifdef NO_PROTOTYPES.
4706 (t_double_many_args): Likewise.
4707 (DEF_FUNC_MANY_ARGS_1): Likewise.
4708 (DEF_FUNC_VALUES_1): Likewise.
4709 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4710 guarded by #ifdef PROTOTYPES.
4712 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4714 * gdb.mi/mi-console.c: Add eye-catcher.
4715 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4716 instead of literal line number.
4718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4720 * gdb.base/shr2.c: Add eye-catcher.
4721 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4726 * gdb.base/jump.c: Add eye-catchers.
4727 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4732 * gdb.base/execd-prog.c: Add eye-catchers.
4733 * gdb.base/foll-exec.c: Likewise.
4734 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4737 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4739 * gdb.base/ending-run.c: Add eye-catchers.
4740 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4741 literal line numbers.
4743 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4745 * gdb.base/call-rt-st.c: Add eye-catchers.
4746 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4747 literal line numbers.
4749 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4751 * gdb.base/call-ar-st.c: Add eye-catchers.
4752 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4753 literal line numbers.
4755 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4757 * gdb.base/average.c: Add eye-catchers.
4758 * gdb.base/sum.c: Likewise.
4759 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4760 regexps dynamically.
4762 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4764 * gdb.base/solib1.c: Add eye-catchers.
4765 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4766 literal line numbers.
4768 2014-11-12 Pedro Alves <palves@redhat.com>
4770 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4773 2014-11-12 Pedro Alves <palves@redhat.com>
4775 * gdb.arch/i386-bp_permanent.c: New file.
4776 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4777 (srcfile): Set to i386-bp_permanent.c.
4778 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4779 that stepi does not execute the 'leave' instruction, instead of
4780 testing it does execute.
4781 * gdb.base/bp-permanent.c: New file.
4782 * gdb.base/bp-permanent.exp: New file.
4784 2014-11-10 Doug Evans <xdje42@gmail.com>
4787 * gdb.base/symtab-search-order.exp: New file.
4788 * gdb.base/symtab-search-order.c: New file.
4789 * gdb.base/symtab-search-order-1.c: New file.
4790 * gdb.base/symtab-search-order-shlib-1.c: New file.
4792 2014-11-07 Pedro Alves <palves@redhat.com>
4795 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4798 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4801 * gdb.cp/pr17494.cc: New file.
4802 * gdb.cp/pr17494.exp: New file.
4804 2014-11-02 Yao Qi <yao@codesourcery.com>
4806 * gdb.python/python.exp: Get working directory and match the
4807 output of "set extended-prompt \\w " with it.
4809 2014-10-30 Doug Evans <dje@google.com>
4811 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4813 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4816 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4818 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4819 * gdb.base/realname-expand.exp: Likewise.
4820 * gdb.linespec/macro-relative.exp: Likewise.
4822 2014-10-29 Pedro Alves <palves@redhat.com>
4825 * gdb.threads/schedlock.c (some_function): New function.
4826 (call_function): New global.
4827 (MAYBE_CALL_SOME_FUNCTION): New macro.
4828 (thread_function): Call it.
4829 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4830 and use it instead of a global counter. Adjust all callers.
4831 (get_current_thread): Use "find current thread" for test message
4832 here rather than having all callers pass down the same string.
4833 (goto_loop): New procedure, factored out from ...
4834 (my_continue): ... this.
4835 (step_ten_loops): Change parameter from test message to command to
4837 (list_count): Delete global.
4838 (check_result): New procedure, factored out from duplicate top
4840 (continue tests): Wrap in with_test_prefix.
4841 (test_step): New procedure, factored out from duplicate top level
4843 (top level): Test "step" in combination with all scheduler-locking
4844 modes. Test "next" in combination with all scheduler-locking
4845 modes, and in combination with stepping over a function call or
4847 * gdb.threads/next-bp-other-thread.c: New file.
4848 * gdb.threads/next-bp-other-thread.exp: New file.
4850 2014-10-29 Pedro Alves <palves@redhat.com>
4853 * gdb.python/python.exp: Test a multi-line command that spawns
4855 * gdb.base/multi-line-starts-subshell.exp: New file.
4857 2014-10-29 Yao Qi <yao@codesourcery.com>
4859 * gdb.base/fileio.exp: Make directories on host.
4861 2014-10-29 Yao Qi <yao@codesourcery.com>
4863 * gdb.base/fileio.c (test_write): Close the file.
4865 2014-10-28 Pedro Alves <palves@redhat.com>
4868 * gdb.base/sigstep.c (no_handler): New global.
4869 (main): If 'no_handler is true, set the signal handlers to
4871 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4872 with_sw_watch and no_handler parameters. Handle them.
4873 (top level) <stepping over handler when stopped at a breakpoint
4874 test>: Add a test axis for testing with a software watchpoint, and
4875 another for testing with the signal handler set to SIG_IGN.
4876 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4877 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4879 2014-10-28 Pedro Alves <palves@redhat.com>
4882 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4883 * gdb.base/sigstep.exp (other_handler_location): New global.
4884 (advance): Support stepping into the signal handler, and running
4885 commands while in the handler.
4886 (in_handler_map): New global.
4887 (top level): In the advance test, add combinations for getting
4888 into the handler with stepping commands, and for running commands
4889 in the handler. Add comment descripting the advancei tests.
4891 2014-10-28 Pedro Alves <palves@redhat.com>
4893 * gdb.base/sigstep.exp: Use build_executable instead of
4894 prepare_for_testing.
4895 (top level): Move code that starts GDB, runs to main and creates a
4897 (restart): ... this new procedure.
4898 (top level): Move backtrace from signal handler test to ...
4899 (validate_backtrace): ... this new procedure.
4900 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4901 with_test_prefix. Always restart GDB.
4902 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4903 with_test_prefix. Always restart GDB. No need to delete
4904 breakpoints after the test.
4905 (test_skip_handler): Remove prefix parameter.
4906 (skip_over_handler, breakpoint_to_handler)
4907 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4908 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4909 restart GDB. No need to delete breakpoints after the test.
4910 (top level): Use foreach to call the test procedures with
4913 2014-10-28 Pedro Alves <palves@redhat.com>
4915 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4916 instead of GNATS numbers.
4917 * gdb.base/sigbpt.exp: Likewise.
4918 * gdb.base/siginfo.exp: Likewise.
4919 * gdb.base/sigstep.exp: Likewise.
4921 2014-10-27 Pedro Alves <palves@redhat.com>
4923 * gdb.base/sigstep.c (dummy): New global.
4924 (main): Issue a couple writes to the new global.
4925 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4927 (skip_over_handler): Use test_skip_handler.
4928 (top level): Call skip_over_handler for stepi and nexti too.
4929 (breakpoint_over_handler): Use test_skip_handler.
4930 (top level): Call breakpoint_over_handler for stepi and nexti too.
4932 2014-10-27 Yao Qi <yao@codesourcery.com>
4934 * gdb.trace/tfile.c (adjust_function_address)
4935 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4936 function descriptor.
4938 2014-10-24 Don Breazeal <donb@codesourcery.com>
4940 * gdb.base/foll-fork.exp (test_follow_fork,
4941 catch_fork_child_follow): Check for updated fork messages emitted
4943 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4944 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4945 vfork_and_exec_child_follow_through_step): Check for updated vfork
4946 messages emitted from infrun.c.
4948 2014-10-24 Pedro Alves <palves@redhat.com>
4950 * gdb.base/corefile.exp: Remove references to ultrix.
4951 * gdb.base/interrupt.exp: Likewise.
4952 * gdb.base/whatis.exp: Likewise.
4953 * gdb.gdb/selftest.exp: Likewise.
4954 * gdb.threads/manythreads.exp: Likewise.
4955 * gdb.threads/print-threads.exp: Likewise.
4956 * gdb.threads/pthreads.exp:: Likewise.
4957 * gdb.threads/schedlock.exp: Likewise.
4959 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4961 * gdb.cp/non-trivial-retval.cc: Add a test case.
4962 * gdb.cp/non-trivial-retval.exp: Add a test.
4964 2014-10-20 Yao Qi <yao@codesourcery.com>
4966 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4967 * gdb.python/py-objfile-script-gdb.py: New file.
4968 * gdb.python/py-objfile-script.exp: Update reference to
4969 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4970 of remote_download. Remove the dest file.
4972 2014-10-20 Yao Qi <yao@codesourcery.com>
4974 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4975 * gdb.base/step-line.exp: Likewise.
4976 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4977 * gdb.dwarf2/dw2-basic.exp: Likewise.
4978 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4979 * gdb.dwarf2/dw2-filename.exp: Likewise.
4980 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4981 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4982 * gdb.dwarf2/dw2-producer.exp: Likewise.
4983 * gdb.dwarf2/mac-fileno.exp: Likewise.
4984 * gdb.python/py-frame-args.exp: Likewise.
4985 * gdb.python/py-framefilter.exp: Likewise.
4986 * gdb.python/py-mi.exp: Likewise.
4987 * gdb.python/py-objfile-script.exp: Likewise
4988 * gdb.python/py-pp-integral.exp: Likewise.
4989 * gdb.python/py-pp-re-notag.exp: Likewise.
4990 * gdb.python/py-prettyprint.exp: Likewise.
4991 * gdb.python/py-section-script.exp: Likewise.
4992 * gdb.python/py-typeprint.exp: Likewise.
4993 * gdb.python/py-xmethods.exp: Likewise.
4994 * gdb.stabs/weird.exp: Likewise.
4995 * gdb.xml/tdesc-regs.exp: Likewise.
4997 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4999 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5000 (out_cu): Use addr_len for the size of addresses.
5001 (out_line): Likewise. Size DW_LNE_set_address instruction
5002 according to addr_len.
5003 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5004 (FUNC): Add START_INSNS to definition.
5006 2014-10-18 Yao Qi <yao@codesourcery.com>
5008 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5009 gdb_has_argv0 return true.
5010 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5011 check [target_info exists noargs], check [gdb_has_argv0]
5013 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5014 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5017 2014-10-17 Doug Evans <dje@google.com>
5019 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5021 * gdb.python/py-events.py: Add clear_objfiles event.
5023 2014-10-17 Doug Evans <dje@google.com>
5025 * gdb.python/py-objfile.exp: Test progspace attribute.
5027 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5029 * gdb.guile/scm-breakpoint.exp: Do not assume any
5030 directory separators when matching source file paths.
5031 * gdb.python/py-breakpoint.exp: Likewise.
5032 * gdb.reverse/break-precsave.exp: Likewise.
5033 * gdb.reverse/break-reverse.exp: Likewise.
5034 * gdb.reverse/consecutive-precsave.exp: Likewise.
5035 * gdb.reverse/finish-precsave.exp: Likewise.
5036 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5037 * gdb.reverse/finish-reverse.exp: Likewise.
5038 * gdb.reverse/i386-precsave.exp: Likewise.
5039 * gdb.reverse/i387-env-reverse.exp: Likewise.
5040 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5041 * gdb.reverse/machinestate-precsave.exp: Likewise.
5042 * gdb.reverse/machinestate.exp: Likewise.
5043 * gdb.reverse/sigall-precsave.exp: Likewise.
5044 * gdb.reverse/solib-precsave.exp: Likewise.
5045 * gdb.reverse/step-precsave.exp: Likewise.
5046 * gdb.reverse/until-precsave.exp: Likewise.
5047 * gdb.reverse/watch-precsave.exp: Likewise.
5048 * gdb.reverse/watch-reverse.exp: Likewise.
5050 2014-10-17 Yao Qi <yao@codesourcery.com>
5052 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5053 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5055 2014-10-17 Pedro Alves <palves@redhat.com>
5058 * gdb.base/bg-execution-repeat.c: New file.
5059 * gdb.base/bg-execution-repeat.exp: New file.
5061 2014-10-17 Pedro Alves <palves@redhat.com>
5064 * gdb.base/continue-all-already-running.c: New file.
5065 * gdb.base/continue-all-already-running.exp: New file.
5067 2014-10-17 Pedro Alves <palves@redhat.com>
5070 * gdb.base/annota-input-while-running.c: New file.
5071 * gdb.base/annota-input-while-running.exp: New file.
5073 2014-10-17 Pedro Alves <palves@redhat.com>
5075 * gdb.base/callfuncs.exp: emove references to osf.
5076 * gdb.base/sigall.exp: Likewise.
5077 * gdb.gdb/selftest.exp: Likewise.
5078 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5079 * gdb.mi/non-stop.c: Likewise.
5080 * gdb.mi/pthreads.c: Likewise.
5081 * gdb.reverse/sigall-precsave.exp: Likewise.
5082 * gdb.reverse/sigall-reverse.exp: Likewise.
5083 * gdb.threads/pthreads.c: Likewise.
5084 * gdb.threads/pthreads.exp: Likewise.
5086 2014-10-17 Yao Qi <yao@codesourcery.com>
5088 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5089 check 'target_info exists noargs'.
5090 (test_command_prompt_position): Likewise.
5091 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5093 (progvar_simple_while_test): Likewise.
5094 (progvar_complex_if_while_test): Likewise.
5095 (if_while_breakpoint_command_test): Likewise.
5096 (infrun_breakpoint_command_test): Likewise.
5097 (breakpoint_command_test): Likewise.
5098 (watchpoint_command_test): Likewise.
5099 (bp_deleted_in_command_test): Likewise.
5100 (temporary_breakpoint_commands): Likewise.
5102 2014-10-16 Yao Qi <yao@codesourcery.com>
5104 * gdb.base/remotetimeout.exp: Remove noargs checking.
5106 2014-10-15 Pedro Alves <palves@redhat.com>
5109 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5110 * gdb.base/breakpoint-in-ro-region.exp
5111 (probe_target_hardware_step): New procedure.
5112 (top level): Probe hardware stepping and hardware breakpoint
5113 support. Test stepping through a read-only region, with both
5114 "breakpoint auto-hw" on and off and both "always-inserted" on and
5117 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5119 * gdb.dlang/demangle.exp: Update for demangling changes.
5121 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5123 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5124 * gdb.cp/non-trivial-retval.exp: Add new tests.
5126 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5130 * gdb.cp/non-trivial-retval.cc: New file.
5131 * gdb.cp/non-trivial-retval.exp: New file.
5133 2014-10-15 Yao Qi <yao@codesourcery.com>
5135 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5138 2014-10-15 Yao Qi <yao@codesourcery.com>
5140 * gdb.python/py-symbol.exp: Match file base name if host is
5141 remote, otherwise match file name with dir name.
5142 * gdb.python/py-symtab.exp: Likewise.
5143 * gdb.python/python.exp: Likewise.
5145 2014-10-15 Yao Qi <yao@codesourcery.com>
5147 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5149 * gdb.python/py-symtab.exp: Likewise.
5150 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5153 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5155 * gdb.ada/addr_arith: New testcase.
5157 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5159 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5160 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5161 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5162 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5164 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5166 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5167 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5168 * gdb.arch/stap-eval-lang-ada.exp: New file.
5170 2014-10-14 Yao Qi <yao@codesourcery.com>
5172 * gdb.mi/mi-var-child.c (nothing1): New function.
5173 (nothing2): New function.
5174 (do_children_tests): Set function pointers by nothing1 and
5176 * gdb.mi/mi-var-child.exp: Step over new added statements.
5177 Update test to match the new output.
5178 * gdb.mi/var-cmd.c (nothing1): New function.
5179 (nothing2): New function.
5180 (do_children_tests): Set function pointers by nothing1 and
5182 * gdb.mi/mi-var-display.exp: Update test to match output.
5183 Step to the line specified by $line_dct_nothing.
5184 Increase the number of lines to step.
5186 2014-10-14 Yao Qi <yao@codesourcery.com>
5188 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5190 * gdb.mi/mi2-var-child.exp: Likewise.
5192 2014-10-13 Doug Evans <dje@google.com>
5194 * gdb.python/py-objfile.exp: Change name of file name test.
5196 2014-10-13 Doug Evans <dje@google.com>
5198 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5199 from the start of the CU.
5201 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5202 Yao Qi <yao@codesourcery.com>
5204 Fix "save breakpoints" for "catch" command.
5205 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5206 Remove -nonewline. Match also the added "main" line.
5208 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5210 Fix "save breakpoints" for "disable $bpnum" command.
5211 * gdb.base/save-bp.c (main): Add label.
5212 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5214 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5216 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5218 2014-10-11 Yao Qi <yao@codesourcery.com>
5220 * gdb.server/server-kill.exp: Execute command
5221 "set remote trace-status-packet on" before "tstatus".
5223 2014-10-11 Yao Qi <yao@codesourcery.com>
5225 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5226 (main): Call getppid.
5227 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5228 and continue to it. Read variable "server_pid".
5230 2014-10-11 Yao Qi <yao@codesourcery.com>
5232 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5234 2014-10-11 Yao Qi <yao@codesourcery.com>
5236 * gdb.threads/thread-find.exp: Don't execute command
5238 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5239 * gdb.threads/linux-dp.exp: Don't check the condition
5240 $threads_created equals to zero.
5242 2014-10-10 Pedro Alves <palves@redhat.com>
5244 * gdb.base/bigcore.exp: Remove references to IRIX.
5245 * gdb.base/funcargs.exp: Likewise.
5246 * gdb.base/interrupt.exp: Likewise.
5247 * gdb.base/mips_pro.exp: Likewise.
5248 * gdb.base/nodebug.exp: Likewise.
5249 * gdb.base/setvar.exp: Likewise.
5250 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5252 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5253 Pedro Alves <palves@redhat.com>
5256 * gdb.base/vdso-warning.c: New file.
5257 * gdb.base/vdso-warning.exp: New file.
5259 2014-10-02 Doug Evans <dje@google.com>
5261 * gdb.base/structs.c (main): Don't run forever.
5263 2014-10-02 Pedro Alves <palves@redhat.com>
5265 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5266 (top level) <stop threads 1, stop threads 2>: Use it.
5268 2014-10-02 Pedro Alves <palves@redhat.com>
5270 * gdb.threads/break-while-running.exp (test): Add new
5271 'update_thread_list' argument. Skip "info threads" if false.
5272 (top level): Add new 'update_thread_list' axis.
5274 2014-10-02 Pedro Alves <palves@redhat.com>
5276 PR breakpoints/17431
5277 * gdb.base/execl-update-breakpoints.c: New file.
5278 * gdb.base/execl-update-breakpoints.exp: New file.
5280 2014-10-01 Pedro Alves <palves@redhat.com>
5282 * gdb.base/breakpoint-in-ro-region.c: New file.
5283 * gdb.base/breakpoint-in-ro-region.exp: New file.
5285 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5287 * gdb.mi/mi-exit-code.exp: New file.
5288 * gdb.mi/mi-exit-code.c: New file.
5290 2014-09-30 Yao Qi <yao@codesourcery.com>
5292 * lib/prelink-support.exp (build_executable_own_libs): Error if
5293 the target isn't native.
5295 2014-09-30 Yao Qi <yao@codesourcery.com>
5297 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5300 2014-09-22 Pedro Alves <palves@redhat.com>
5302 * gdb.threads/break-while-running.exp: New file.
5303 * gdb.threads/break-while-running.c: New file.
5305 2014-09-19 Yao Qi <yao@codesourcery.com>
5307 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5308 Invoke test. Restart GDB with --readnow and invoke test again.
5310 2014-09-19 Yao Qi <yao@codesourcery.com>
5312 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5313 proc set_breakpoint_on_gcd_function. Invoke
5314 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5315 invoke set_breakpoint_on_gcd_function again.
5317 2014-09-18 Doug Evans <dje@google.com>
5319 * gdb.dwarf2/symtab-producer.exp: New file.
5321 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5323 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5324 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5325 * gdb.base/global-var-nested-by-dso.c: Likewise.
5326 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5328 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5329 Pedro Alves <palves@redhat.com>
5331 * gdb.base/watch-bitfields.exp: Pass string other than test file
5332 name to prepare_for_testing.
5333 (watch): New procedure.
5334 (expect_watchpoint): Use with_test_prefix.
5335 (top level): Factor out tests to ...
5336 (test_watch_location, test_regular_watch): ... these new
5337 procedures, and use with_test_prefix and gdb_continue_to_end.
5339 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5341 PR breakpoints/12526
5342 * gdb.base/watch-bitfields.exp: New file.
5343 * gdb.base/watch-bitfields.c: New file.
5345 2014-09-16 Pedro Alves <palves@redhat.com>
5347 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5348 software and hardware addresses, not software address against
5351 2014-09-16 Pedro Alves <palves@redhat.com>
5353 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5354 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5356 2014-09-16 Pedro Alves <palves@redhat.com>
5358 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5360 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5361 "*-*-vxworks*" throughout.
5362 * gdb.base/break.exp: Likewise.
5363 * gdb.base/default.exp: Likewise.
5364 * gdb.base/scope.exp: Likewise.
5365 * gdb.base/sepdebug.exp: Likewise.
5366 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5368 * gdb.base/run.c: Likewise.
5369 * gdb.base/sepdebug.c: Likewise.
5370 * gdb.hp/gdb.aCC/run.c: Likewise.
5371 * gdb.reverse/until-reverse.c: Likewise.
5372 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5374 2014-09-16 Yao Qi <yao@codesourcery.com>
5376 * boards/local-remote-host-native.exp: New file.
5378 2014-09-14 Doug Evans <xdje42@gmail.com>
5380 * gdb.threads/queue-signal.c (thread_count): New variable.
5381 (thread_count_mutex, thread_count_condvar): New variables.
5382 (incr_thread_count, wait_all_threads_running): New functions.
5383 (main): Wait for all threads to be in their thread functions.
5385 2014-09-13 Doug Evans <xdje42@gmail.com>
5387 * gdb.threads/queue-signal.c: New file.
5388 * gdb.threads/queue-signal.exp: New file.
5390 2014-09-13 Doug Evans <xdje42@gmail.com>
5392 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5393 be consistent with what default_gdb_init uses.
5394 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5395 the plain text of the prompt. Add some logging printfs.
5396 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5398 2014-09-12 Pedro Alves <palves@redhat.com>
5400 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5401 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5402 * gdb.arch/i386-size-overlap.exp: Likewise.
5403 * gdb.arch/i386-size.exp: Likewise.
5404 * gdb.arch/i386-unwind.exp: Likewise.
5405 * gdb.base/a2-run.exp: Likewise.
5406 * gdb.base/break.exp: Likewise.
5407 * gdb.base/charset.exp: Likewise.
5408 * gdb.base/chng-syms.exp: Likewise.
5409 * gdb.base/commands.exp: Likewise.
5410 * gdb.base/dbx.exp: Likewise.
5411 * gdb.base/find.exp: Likewise.
5412 * gdb.base/funcargs.exp: Likewise.
5413 * gdb.base/jit-simple.exp: Likewise.
5414 * gdb.base/reread.exp: Likewise.
5415 * gdb.base/sepdebug.exp: Likewise.
5416 * gdb.base/step-bt.exp: Likewise.
5417 * gdb.cp/mb-inline.exp: Likewise.
5418 * gdb.cp/mb-templates.exp: Likewise.
5419 * gdb.objc/basicclass.exp: Likewise.
5420 * gdb.threads/killed.exp: Likewise.
5422 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5425 * gdb.arch/powerpc-stackless.S: New file.
5426 * gdb.arch/powerpc-stackless.exp: New file.
5428 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5430 * gdb.base/attach.c: Include unistd.h.
5431 (main): Call alarm. Add label postloop.
5432 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5433 gdb_breakpoint, gdb_continue_to_breakpoint.
5434 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5436 2014-09-11 Pedro Alves <palves@redhat.com>
5439 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5440 * gdb.base/attach.exp (test_command_line_attach_run): New
5442 (top level): Call it.
5444 2014-09-11 Pedro Alves <palves@redhat.com>
5446 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5447 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5448 (do_command_attach_tests): Use spawn_wait_for_attach.
5449 * gdb.base/solib-overlap.exp: Likewise.
5450 * gdb.multi/multi-attach.exp: Likewise.
5451 * gdb.python/py-prompt.exp: Likewise.
5452 * gdb.python/py-sync-interp.exp: Likewise.
5453 * gdb.server/ext-attach.exp: Likewise.
5455 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5457 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5458 command in testcase. Simplify testcase.
5460 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5462 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5464 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5466 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5468 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5470 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5472 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5474 * gdb.dwarf2/dynarr-ptr.c: New file.
5475 * gdb.dwarf2/dynarr-ptr.exp: New file.
5477 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5479 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5480 of 30 rather than hardcoding 120 for a slow test case. Take the
5481 `gdb,timeout' target setting into account for this calculation.
5482 Don't extend the timeout for the test cases that don't need it.
5484 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5486 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5487 a factor of 2 for a slow test case. Take the `gdb,timeout'
5488 target setting into account for this calculation.
5489 * gdb.reverse/until-precsave.exp: Increase the timeout by
5490 a factor of 15 and 3 respectively rather than adding 120
5491 for a pair of slow test cases. Take the `gdb,timeout'
5492 target setting into account for this calculation.
5494 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5496 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5497 timeout, don't pass one down to gdb_expect.
5498 (gdb_expect): Rework timeout selection.
5500 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5502 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5503 exception on timeout.
5504 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5505 (gdbserver_start_extended): Catch any `gdbserver_start' error
5507 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5508 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5509 `gdbserver_gdb_load' error exceptions.
5511 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5513 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5514 120 on waiting for the TCP socket to open.
5516 2014-09-09 Doug Evans <xdje42@gmail.com>
5518 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5519 _caller_matches, _any_caller_is, _any_caller_matches.
5521 2014-09-09 Doug Evans <xdje42@gmail.com>
5523 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5525 2014-09-09 Yao Qi <yao@codesourcery.com>
5527 * gdb.mi/mi-var-display.exp: Set print symbol off.
5529 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5532 * gdb.base/commands.exp: Add tests to verify user-defined
5533 commands with empty bodies.
5534 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5535 python commands in `show user command`.
5536 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5537 scheme commands in `show user command`.
5539 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5542 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5543 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5544 * gdb.python/py-framefilter-invalidarg.exp: New file.
5545 * gdb.python/py-framefilter-invalidarg.py: New file.
5547 2014-09-06 Doug Evans <xdje42@gmail.com>
5550 * gdb.python/py-caller-is.c: New file.
5551 * gdb.python/py-caller-is.exp: New file.
5553 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5556 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5557 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5559 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5562 * gdb.fortran/print-formatted.exp: New file.
5563 * gdb.fortran/print-formatted.f90: Likewise.
5565 2014-09-03 Sasha Smundak <asmundak@google.com>
5567 * gdb.python/py-frame.exp: Test Frame.read_register.
5569 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5572 * gdb.python/py-completion.exp: New file.
5573 * gdb.python/py-completion.py: Likewise.
5575 2014-08-28 Doug Evans <dje@google.com>
5577 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5578 eax,etc. are live with values set by gdb and thus the compiler can't
5580 * gdb.arch/i386-pseudo.c (main): Ditto.
5582 2014-08-27 Doug Evans <dje@google.com>
5584 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5586 2014-08-25 Doug Evans <dje@google.com>
5588 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5591 2014-08-25 Doug Evans <dje@google.com>
5593 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5595 2014-08-24 Yao Qi <yao@codesourcery.com>
5597 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5599 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5601 2014-08-22 Doug Evans <dje@google.com>
5604 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5605 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5606 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5608 2014-08-22 Yao Qi <yao@codesourcery.com>
5610 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5611 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5612 * gdb.python/python.exp: Likewise. Use .py file on the host
5613 instead of the build.
5615 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 * gdb.threads/gcore-stale-thread.c: New file.
5618 * gdb.threads/gcore-stale-thread.exp: New file.
5620 2014-08-21 Pedro Alves <palves@redhat.com>
5622 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5623 * gdb.base/gcore-relro-pie.exp: Likewise.
5624 * gdb.base/gcore-relro.exp: Likewise.
5625 * gdb.base/gcore.exp: Likewise.
5626 * gdb.base/print-symbol-loading.exp: Likewise.
5627 * gdb.threads/gcore-thread.exp: Likewise.
5628 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5630 2014-08-20 Pedro Alves <palves@redhat.com>
5631 Jan Kratochvil <jan.kratochvil@redhat.com>
5633 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5635 (EXPECT): Handle READ1 being set.
5636 (all): Depend on EXTRA_RULES.
5637 (check-read1, expect-read1, read1.so, read1): New rules.
5638 * README (Testsuite Parameters): Document the READ1 make variable.
5639 (Race detection): New section.
5640 * configure: Regenerate.
5641 * configure.ac: If build==host==target, and running under a
5642 GNU/glibc system, add read1 to the extra Makefile rules.
5643 (EXTRA_RULES): AC_SUBST it.
5644 * lib/read1.c: New file.
5646 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5648 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5649 the handling of variables declared as a typedef to an array
5650 which a DW_AT_data_location attribute.
5652 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5653 Pedro Alves <palves@redhat.com>
5657 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5660 2014-08-19 Pedro Alves <palves@redhat.com>
5662 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5664 2014-08-19 Yao Qi <yao@codesourcery.com>
5666 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5669 2014-08-18 David Blaikie <dblaikie@gmail.com>
5671 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5673 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5675 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5676 attribute in array range.
5678 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5680 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5682 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5685 * gdb.cp/pr17132.cc: New file.
5686 * gdb.cp/pr17132.exp: New file.
5688 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5690 * gdb.python/py-xmethods.py (A_getarrayind)
5691 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5692 Use 'print' with function call syntax.
5693 (E_method_matcher.match): Fix tab vs space indentation mixup.
5695 2014-08-15 Yao Qi <yao@codesourcery.com>
5697 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5700 2014-08-15 Yao Qi <yao@codesourcery.com>
5702 * gdb.cp/casts.exp: Set print symbol off.
5703 * gdb.cp/class2.exp: Likewise.
5704 * gdb.cp/overload.exp: Likewise.
5705 * gdb.cp/templates.exp: Likewise.
5707 2014-08-11 Doug Evans <dje@google.com>
5709 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5710 (test_load_shlib): Update.
5712 2014-08-09 Yao Qi <yao@codesourcery.com>
5714 * gdb.base/display.exp: Invoke is_address_zero_readable.
5715 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5716 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5717 * gdb.base/hbreak-unmapped.exp: Return if
5718 is_address_zero_readable returns true.
5719 * gdb.base/signest.exp: Likewise.
5720 * gdb.base/signull.exp: Likewise.
5721 * gdb.base/sigbpt.exp: Likewise.
5722 * gdb.guile/scm-disasm.exp: Do the test if
5723 is_address_zero_readable returns false.
5724 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5725 * gdb.python/py-arch.exp: Likewise.
5726 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5727 * lib/gdb.exp (is_address_zero_readable): New proc.
5729 2014-08-09 Yao Qi <yao@codesourcery.com>
5732 * gdb.mi/mi-var-display.exp: Make test messages unique.
5734 2014-08-04 Tom Tromey <tromey@redhat.com>
5736 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5739 2014-08-04 Tom Tromey <tromey@redhat.com>
5741 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5744 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5746 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5747 inner_vla_struct_object_size.
5748 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5751 2014-07-30 Pedro Alves <palves@redhat.com>
5753 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5756 2014-07-29 Yao Qi <yao@codesourcery.com>
5759 * gdb.base/until-nodebug.exp: New.
5761 2014-07-28 Doug Evans <xdje42@gmail.com>
5764 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5765 previously existing parameter, and previously ambiguously spelled
5768 2014-07-28 Will Newton <will.newton@linaro.org>
5770 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5772 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5773 Doug Evans <xdje42@gmail.com>
5776 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5778 2014-07-25 Pedro Alves <palves@redhat.com>
5780 * gdb.threads/signal-command-handle-nopass.c: New file.
5781 * gdb.threads/signal-command-handle-nopass.exp: New file.
5782 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5783 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5784 * gdb.threads/signal-delivered-right-thread.c: New file.
5785 * gdb.threads/signal-delivered-right-thread.exp: New file.
5787 2014-07-25 Pedro Alves <palves@redhat.com>
5789 * gdb.base/double-prompt-target-event-error.exp
5790 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5792 (cancel_pagination_in_target_event): Rework double prompt
5794 * gdb.base/paginate-after-ctrl-c-running.exp
5795 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5797 * gdb.base/paginate-bg-execution.exp
5798 (test_bg_execution_pagination_return)
5799 (test_bg_execution_pagination_cancel): Remove '-notransfer
5801 * gdb.base/paginate-execution-startup.exp
5802 (test_fg_execution_pagination_return)
5803 (test_fg_execution_pagination_cancel): Remove '-notransfer
5805 * gdb.base/paginate-inferior-exit.exp
5806 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5808 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5809 * lib/gdb.exp (pagination_prompt): Run text through
5811 (gdb_test_multiple): Match $pagination_prompt instead of
5813 (string_to_regexp): Move to lib/gdb-utils.exp.
5815 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5817 * gdb.arch/amd64-entry-value-paramref.S: New file.
5818 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5819 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5820 * gdb.arch/amd64-optimout-repeat.S: New file.
5821 * gdb.arch/amd64-optimout-repeat.c: New file.
5822 * gdb.arch/amd64-optimout-repeat.exp: New file.
5824 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5827 * gdb.base/statistics.exp: New file.
5829 2014-07-17 Doug Evans <dje@google.com>
5832 * gdb.base/maint.exp: Update testing of per-command stats.
5834 2014-07-16 Pedro Alves <palves@redhat.com>
5836 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5837 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5838 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5839 (tfile_write_buf): New functions.
5840 (add_memory_block): Rewrite using the above.
5841 (adjust_function_address): New function.
5842 (FUNCTION_ADDRESS): New macro.
5843 (write_basic_trace_file): Remove short_x local, and use
5844 tfile_write_16. Change type of func_addr local to unsigned long
5845 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5846 here. Cast argument of add_memory_block to char pointer.
5847 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5848 (main): Remove parameters.
5849 * gdb.trace/tfile.exp: Remove nowarnings.
5851 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5853 * gdb.base/debug-expr.exp: Test string evaluation with
5854 "debug expression" on.
5856 2014-07-15 Pedro Alves <palves@redhat.com>
5858 * gdb.base/reread.exp: Use clean_restart.
5860 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5862 * gdb.arch/avr-flash-qualifer.c: New.
5863 * gdb.arch/avr-flash-qualifer.exp: New.
5865 2014-07-14 Pedro Alves <palves@redhat.com>
5867 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5868 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5870 2014-07-14 Pedro Alves <palves@redhat.com>
5872 * gdb.base/double-prompt-target-event-error.c: New file.
5873 * gdb.base/double-prompt-target-event-error.exp: New file.
5875 2014-07-14 Pedro Alves <palves@redhat.com>
5878 * gdb.base/paginate-inferior-exit.c: New file.
5879 * gdb.base/paginate-inferior-exit.exp: New file.
5881 2014-07-14 Pedro Alves <palves@redhat.com>
5884 * gdb.base/paginate-bg-execution.c: New file.
5885 * gdb.base/paginate-bg-execution.exp: New file.
5887 2014-07-14 Pedro Alves <palves@redhat.com>
5890 * gdb.base/paginate-execution-startup.c: New file.
5891 * gdb.base/paginate-execution-startup.exp: New file.
5892 * lib/gdb.exp (pagination_prompt): New global.
5893 (default_gdb_spawn): New procedure, factored out from
5895 (default_gdb_start): Adjust to call default_gdb_spawn.
5896 (gdb_spawn): New procedure.
5898 2014-07-14 Pedro Alves <palves@redhat.com>
5900 * lib/gdb.exp (gdb_assert): New procedure.
5901 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5903 2014-07-14 Pedro Alves <palves@redhat.com>
5905 * gdb.base/execution-termios.c: New file.
5906 * gdb.base/execution-termios.exp: New file.
5908 2014-07-14 Tom Tromey <tromey@redhat.com>
5910 * gdb.cp/vla-cxx.cc: New file.
5911 * gdb.cp/vla-cxx.exp: New file.
5913 2014-07-14 Tom Tromey <tromey@redhat.com>
5915 * gdb.reverse/rerun-prec.c: New file.
5916 * gdb.reverse/rerun-prec.exp: New file.
5918 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5919 Maciej W. Rozycki <macro@codesourcery.com>
5921 * lib/gdb-utils.exp: New file.
5922 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5923 inline `gdb_init_command' processing.
5924 (gdb_start_cmd): Likewise.
5925 * lib/mi-support.exp (mi_run_cmd): Likewise.
5926 * README: Document `gdb_init_command' and `gdb_init_commands'.
5928 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5930 Fix false FAIL running under a very long directory name.
5931 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5932 and "set print elements 10000". Twice.
5934 2014-07-11 Yao Qi <yao@codesourcery.com>
5936 * gdb.base/exprs.exp: "set print symbol off".
5938 2014-07-11 Pedro Alves <palves@redhat.com>
5940 * gdb.threads/kill.c: New file.
5941 * gdb.threads/kill.exp: New file.
5943 2014-07-10 Yao Qi <yao@codesourcery.com>
5945 * gdb.trace/tfile.c (write_basic_trace_file)
5946 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5947 address written to trace file.
5949 2014-07-09 Pedro Alves <palves@redhat.com>
5951 * gdb.base/attach-wait-input.exp: New file.
5952 * gdb.base/attach-wait-input.c: New file.
5954 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5956 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5957 setting up test structures.
5958 (main): Call new test function.
5959 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5960 test function, continue into test function and walk test
5963 2014-07-02 Yao Qi <yao@codesourcery.com>
5965 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5966 'bar_start' at the beginning of functions 'foo' and 'bar'
5968 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5969 instead of 'foo' and 'bar'.
5971 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5973 * gdb.btrace/segv.exp: New.
5974 * gdb.btrace/segv.c: New.
5976 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5978 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5981 2014-06-30 Mark Wielaard <mjw@redhat.com>
5983 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5984 vulture, vilify, villar): New volatile array constants.
5985 (vindictive, vegetation): New const volatile array constants.
5986 * gdb.base/volatile.exp: Test volatile and const volatile array
5989 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5991 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5992 target lacks support for awatch, rwatch, or hbreak.
5994 2014-06-27 Yao Qi <yao@codesourcery.com>
5996 * gdb.multi/dummy-frame-restore.exp: New.
5997 * gdb.multi/dummy-frame-restore.c: New.
5999 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6001 * gdb.btrace/gcore.exp: New.
6003 2014-06-23 Pedro Alves <palves@redhat.com>
6005 * gdb.base/watchpoint-reuse-slot.c: New file.
6006 * gdb.base/watchpoint-reuse-slot.exp: New file.
6008 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6010 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6011 progspace's filename in 'info', 'enable' and 'disable' command
6014 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6016 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6017 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6018 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6020 2014-06-20 Gary Benson <gbenson@redhat.com>
6022 * gdb.arch/i386-avx.exp: Fix include file location.
6023 * gdb.arch/i386-sse.exp: Likewise.
6025 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6027 * gdb.dlang/expression.exp: New file.
6029 2014-06-19 Pedro Alves <palves@redhat.com>
6031 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6033 (top level): ... here. Iterate running tests under different
6034 scheduler-locking settings.
6036 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6038 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6039 to DW_FORM_addr and use non-zero addresses.
6041 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6044 * gdb.python/py-xmethods.cc: Add global function call counters and
6045 increment them in their respective functions. Remove "cout"
6047 * gdb.python/py-xmethods.exp: Make tests check the global function
6048 call counters instead of depending on inferior IO.
6050 2014-06-18 Don Breazeal <donb@codesourcery.com>
6052 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6054 (explicit_fork_parent_follow): Deleted procedure.
6055 (explicit_fork_child_follow): Deleted procedure.
6056 (test_follow_fork): New procedure.
6057 (do_fork_tests): Replace calls to deleted procedures with
6058 calls to test_follow_fork and reset GDB for subsequent
6061 2014-06-17 Yao Qi <yao@codesourcery.com>
6063 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6066 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6068 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6069 Initialize ptr and S explicitly.
6070 (skip_type_update_when_not_use_rtti_test): Likewise.
6072 2014-06-16 Keith Seitz <keiths@redhat.com>
6075 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6076 the inferior is started.
6078 2014-06-16 Pedro Alves <palves@redhat.com>
6080 * gdb.base/break-main-file-remove-fail.c: New file.
6081 * gdb.base/break-main-file-remove-fail.exp: New file.
6082 * gdb.base/break-unload-file.exp: Use build_executable instead of
6083 prepare_for_testing.
6084 (test_break): New parameter "initial_load". Handle it.
6085 (top level): Add initial_load cmdline/file axis.
6087 2014-06-12 Tom Tromey <tromey@redhat.com>
6089 * gdb.base/completion.exp: Don't use directory name in test.
6091 2014-06-09 Gary Benson <gbenson@redhat.com>
6093 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6094 separate the always-available ANSI-standard signals from the
6095 signals that require checking.
6097 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6101 2014-06-07 Keith Seitz <keiths@redhat.com>
6105 * gdb.cp/var-tag.cc: New file.
6106 * gdb.cp/var-tag.exp: New file.
6107 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6108 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6109 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6110 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6112 2014-06-06 Doug Evans <xdje42@gmail.com>
6114 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6116 2014-06-06 Pedro Alves <palves@redhat.com>
6118 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6119 in target debug output instead of looking at RSP packets,
6120 disabling the test on any target that uses hardware stepping.
6123 2014-06-06 Pedro Alves <palves@redhat.com>
6125 * gdb.base/break-unload-file.exp: Fix typo.
6127 2014-06-06 Yao Qi <yao@codesourcery.com>
6129 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6130 from "jit_function" to "^jit_function".
6132 2014-06-06 Yao Qi <yao@codesourcery.com>
6134 * gdb.base/async.c (foo): Add one statement.
6135 * gdb.base/async.exp: Get the next instruction address and
6136 match the output of "nexti" by instruction address. Match
6137 the hex address in the output of "finish".
6139 2014-06-06 Gary Benson <gbenson@redhat.com>
6141 * gdb.base/call-signals.c: Remove preprocessor conditionals
6142 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6143 SIGSEGV and SIGTERM.
6144 * gdb.base/sigall.c: Likewise.
6145 * gdb.base/unwindonsignal.c: Likewise.
6146 * gdb.reverse/sigall-reverse.c: Likewise.
6148 2014-06-06 Yao Qi <yao@codesourcery.com>
6150 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6151 readable, skip the test.
6153 2014-06-06 Yao Qi <yao@codesourcery.com>
6155 * gdb.threads/staticthreads.c (thread_function): Move the line
6156 setting breakpoint on forward.
6157 * gdb.threads/staticthreads.exp: Update comments.
6159 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6161 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6162 "history-append! type error".
6164 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6166 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6167 erroneous dprintf expected input.
6169 2014-06-04 Doug Evans <xdje42@gmail.com>
6171 * gdb.guile/scm-generics.exp: Delete.
6173 2014-06-04 Doug Evans <xdje42@gmail.com>
6175 * gdb.guile/scm-breakpoint.exp: Update.
6176 Add tests for breakpoint registration.
6178 2014-06-04 Tom Tromey <tromey@redhat.com>
6180 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6182 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6183 inner_vla_struct, vla_union types. Initialize objects of those
6184 types and compute their sizes.
6186 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6187 Hui Zhu <hui@codesourcery.com>
6189 * gdb.base/fileio.exp: Add test for shell not available as well as
6191 * gdb.base/fileio.c (test_system): Check for shell twice.
6193 2014-06-04 Yao Qi <yao@codesourcery.com>
6195 * gdb.base/auto-connect-native-target.exp: Remove redundant
6196 space from the regexp pattern.
6198 2014-06-04 Yao Qi <yao@codesourcery.com>
6200 * gdb.base/default.exp: Replace "child" with "native" in
6203 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6205 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6206 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6207 * gdb.python/py-xmethods.py: Python script supporting the
6208 new testcase and tests.
6210 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6211 Pedro Alves <palves@redhat.com>
6213 PR breakpoints/17000
6214 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6215 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6217 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6219 * gdb.base/subst.exp: Add tests to verify partial path matching
6222 2014-06-03 Pedro Alves <palves@redhat.com>
6224 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6225 target that doesn't use software single-stepping.
6227 2014-06-03 Pedro Alves <palves@redhat.com>
6229 PR breakpoints/17000
6230 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6231 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6233 2014-06-02 Doug Evans <xdje42@gmail.com>
6235 * gdb.guile/scm-parameter.exp: New file.
6237 2014-06-02 Doug Evans <xdje42@gmail.com>
6239 * gdb.guile/scm-cmd.c: New file.
6240 * gdb.guile/scm-cmd.exp: New file.
6242 2014-06-02 Doug Evans <xdje42@gmail.com>
6244 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6245 pretty-printer lookup.
6246 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6247 (make-pp_s-printer): Call it.
6248 (make-pretty-printer-from-dict): New function.
6249 (lookup-pretty-printer-maker-from-dict): New function.
6250 (*pretty-printer*): Simplify.
6251 (make-objfile-pp_s-printer): New function.
6252 (install-objfile-pretty-printers!): New function.
6253 (make-progspace-pp_s-printer): New function.
6254 (install-progspace-pretty-printers!): New function.
6255 * gdb.guile/scm-progspace.c: New file.
6256 * gdb.guile/scm-progspace.exp: New file.
6258 2014-06-02 Pedro Alves <palves@redhat.com>
6260 * gdb.base/dprintf-bp-same-addr.c: New file.
6261 * gdb.base/dprintf-bp-same-addr.exp: New file.
6263 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6265 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6266 * gdb.arch/powerpc-power.s: Likewise.
6268 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6270 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6272 2014-06-01 Yao Qi <yao@codesourcery.com>
6274 * gdb.base/watchpoint.exp (test_watch_location): Check null
6275 pointer can be dereferenced. If not, do the test, otherwise
6278 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6280 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6282 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6284 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6286 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6287 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6288 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6289 * gdb.arch/amd64-invalid-stack-top.c: New file.
6290 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6292 2014-05-30 Pedro Alves <palves@redhat.com>
6294 PR breakpoints/17000
6295 * gdb.base/sss-bp-on-user-bp.c: New file.
6296 * gdb.base/sss-bp-on-user-bp.exp: New file.
6298 2014-05-30 David Blaikie <dblaikie@gmail.com>
6300 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6301 gnu_inline semantics via attribute.
6302 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6303 source explicitly specifies the required semantics.
6305 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6307 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6309 2014-05-29 Pedro Alves <palves@redhat.com>
6310 Tom Tromey <tromey@redhat.com>
6312 * gdb.base/async-shell.exp: Don't enable target-async.
6313 * gdb.base/async.exp
6314 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6316 (top level): Don't test with "target-async".
6317 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6318 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6319 * gdb.base/inferior-died.exp: Don't enable target-async.
6320 * gdb.base/interrupt-noterm.exp: Likewise.
6321 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6322 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6323 * gdb.mi/mi-nonstop.exp: Likewise.
6324 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6325 * gdb.mi/mi-nsintrall.exp: Likewise.
6326 * gdb.mi/mi-nsmoribund.exp: Likewise.
6327 * gdb.mi/mi-nsthrexec.exp: Likewise.
6328 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6329 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6330 * gdb.python/py-evsignal.exp: Don't enable target-async.
6331 * gdb.python/py-evthreads.exp: Likewise.
6332 * gdb.python/py-prompt.exp: Likewise.
6333 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6334 * gdb.server/solib-list.exp: Don't enable target-async.
6335 * gdb.threads/thread-specific-bp.exp: Likewise.
6336 * lib/mi-support.exp: Adjust to use mi-async.
6338 2014-05-29 Pedro Alves <palves@redhat.com>
6341 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6342 reason, even in sync mode.
6344 2014-05-29 Pedro Alves <palves@redhat.com>
6345 Hui Zhu <hui@codesourcery.com>
6348 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6349 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6350 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6351 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6353 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6355 * config/monitor.exp (gdb_target_monitor): Replace use of
6356 "set remotebaud" by "set serial baud".
6358 2014-05-26 Andy Wingo <wingo@igalia.com>
6360 * gdb.guile/scm-breakpoint.exp:
6361 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6362 properties instead of gdb-object-properties.
6364 2014-05-26 Yao Qi <yao@codesourcery.com>
6366 * gdb.server/no-thread-db.exp: Specify source file name
6367 explicitly when setting a breakpoint.
6369 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6371 * gdb.btrace/vdso.c: New.
6372 * gdb.btrace/vdso.exp: New.
6374 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6376 * gdb.base/gcore.exp (capture_command_output): Move ...
6377 * lib/gdb.exp (capture_command_output): ... here.
6379 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6381 * gdb.btrace/data.exp: Test memory access during btrace replay.
6383 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6385 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6387 2014-05-21 Pedro Alves <palves@redhat.com>
6390 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6391 (top level): Test that output related to execution commands is
6392 sent to the console with CLI commands, but not with MI commands.
6393 Test that breakpoint events are always mirrored to the console.
6394 Also expect the new source line to be output after a "next" in
6395 async mode too. Make it a pass/fail test.
6396 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6398 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6400 2014-05-21 Pedro Alves <palves@redhat.com>
6402 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6403 Use them to test variations of "list" after reaching a breakpoint.
6404 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6405 Test "list" with listsize 10 after reaching a breakpoint.
6406 * gdb.python/python.exp (decode_line current location line
6407 number): Adjust expected line number.
6409 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6411 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6412 behavior for $args, pass it directly to "run".
6414 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6416 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6419 2014-05-21 Pedro Alves <palves@redhat.com>
6421 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6422 auto-connect-native-target off".
6423 * gdb.base/auto-connect-native-target.c: New file.
6424 * gdb.base/auto-connect-native-target.exp: New file.
6426 2014-05-21 Pedro Alves <palves@redhat.com>
6428 * gdb.base/default.exp: Test "target native" instead of "target
6431 2014-05-21 Mark Wielaard <mjw@redhat.com>
6433 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6435 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6437 Fix TLS access for -static -pthread.
6438 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6439 <HAVE_TLS> (thread_function, main): Initialize it.
6440 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6442 <$have_tls != "">: Check TLSVAR.
6444 2014-05-21 Pedro Alves <palves@redhat.com>
6446 * gdb.base/dcache-line-read-error.c: New.
6447 * gdb.base/dcache-line-read-error.exp: New.
6449 2014-05-20 Pedro Alves <palves@redhat.com>
6451 * gdb.base/compare-sections.c: New file.
6452 * gdb.base/compare-sections.exp: New file.
6454 2014-05-20 Pedro Alves <palves@redhat.com>
6456 * gdb.base/break-idempotent.c: New file.
6457 * gdb.base/break-idempotent.exp: New file.
6459 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6461 * gdb.btrace/nohist.exp: New.
6463 2014-05-20 Yao Qi <yao@codesourcery.com>
6465 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6466 gdb.reverse directory and gdb_reverse_timeout exists in board
6468 * README: Document gdb_reverse_timeout.
6470 2014-05-20 Yao Qi <yao@codesourcery.com>
6472 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6473 'test_file_name'. Treat args as a string instead of a list.
6474 (gdb_init): Rename argument 'args' by 'test_file_name'.
6476 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6478 * gdb.arch/powerpc-power.exp: New file.
6479 * gdb.arch/powerpc-power.s: New file.
6481 2014-05-16 Doug Evans <dje@google.com>
6483 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6484 * gdb.base/completion.exp: Check that all expected files exist
6485 before doing file completion.
6487 2014-05-16 Doug Evans <dje@google.com>
6489 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6491 (do_syscall_tests_without_xml): Update.
6493 2014-05-16 Pedro Alves <palves@redhat.com>
6495 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6496 instead of "unknown output after running".
6498 2014-05-16 Yao Qi <yao@codesourcery.com>
6500 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6501 file1.txt from host at the end.
6502 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6504 2014-05-15 Doug Evans <dje@google.com>
6506 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6507 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6508 loading file. Add test for TU lookup.
6510 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6512 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6513 calling "-exec-arguments" or "set args" before running the
6516 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6518 * lib/mi-support.exp (mi_expect_stop): Expect message for
6519 inferiors that exit with non-zero exit code.
6521 2014-05-14 Yao Qi <yao@codesourcery.com>
6523 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6524 match absolute path on remote host.
6525 (test_file_list_exec_source_files): Remove "/" from the
6528 2014-05-14 Yao Qi <yao@codesourcery.com>
6530 * boards/local-remote-host-notty.exp (${board}_file): New
6533 2014-05-07 Kyle McMartin <kyle@redhat.com>
6535 Pushed by Joel Brobecker <brobecker@adacore.com>.
6536 * gdb.arch/aarch64-atomic-inst.c: New file.
6537 * gdb.arch/aarch64-atomic-inst.exp: New file.
6539 2014-05-07 Yao Qi <yao@codesourcery.com>
6541 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6542 in current context" too.
6544 2014-05-05 Keith Seitz <keiths@redhat.com>
6546 * gdb.linespec/ls-dollar.exp: Add test for linespec
6547 file:convenience_variable.
6549 2014-05-05 Yao Qi <yao@codesourcery.com>
6551 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6552 traceframes into tfile and ctf trace files. Read data from
6553 trace file and test collected data.
6554 (gdb_collect_locals_test): Likewise.
6555 (gdb_unavailable_registers_test): Likewise.
6556 (gdb_unavailable_floats): Likewise.
6557 (gdb_collect_globals_test): Likewise.
6558 (top-level): Append "ctf" to trace_file_targets if GDB
6561 2014-05-05 Yao Qi <yao@codesourcery.com>
6563 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6565 (gdb_collect_args_test_1): ... it. New proc.
6566 (gdb_collect_locals_test): Move some code to ...
6567 (gdb_collect_locals_test_1): ... it. New proc.
6568 (gdb_unavailable_registers_test): Move some code to ...
6569 (gdb_unavailable_registers_test_1): ... it. New proc.
6570 (gdb_unavailable_floats): Move some code to ...
6571 (gdb_unavailable_floats_1): ... it. New proc.
6573 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6575 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6576 probes to test for bitness recognition.
6577 * gdb.arch/amd64-stap-optional-prefix.exp
6578 (test_probe_value_without_reg): New procedure.
6579 Add code to test for different kinds of bitness.
6581 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6583 PR breakpoints/16889
6584 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6585 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6587 2014-05-01 Pedro Alves <palves@redhat.com>
6589 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6590 gdb_file_cmd if no file is specified.
6591 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6592 last_loaded_file to set the remote exec-file.
6594 2014-05-01 Pedro Alves <palves@redhat.com>
6596 * boards/local-remote-host.exp: New file.
6598 2014-05-01 Pedro Alves <palves@redhat.com>
6600 * boards/local-remote-host.exp: Rename to ...
6601 * boards/local-remote-host-notty.exp: ... this.
6603 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6605 * gdb.ada/dyn_arrayidx: New testcase.
6607 2014-04-26 Yao Qi <yao@codesourcery.com>
6609 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6610 and compute the length of function main. Save it in
6612 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6613 (top-level): Use gdb_compile to compile objects into
6614 executable and restart GDB. Remove invocation to
6615 prepare_for_testing.
6617 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6618 Pedro Alves <palves@redhat.com>
6621 * gdb.multi/multi-attach.c: New file.
6622 * gdb.multi/multi-attach.exp: New file.
6624 2014-04-25 Pedro Alves <palves@redhat.com>
6626 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6628 (top level): Test that "set remote conditional-breakpoints-packet
6629 off" works as intended.
6630 * gdb.base/dprintf.exp: Test that "set remote
6631 breakpoint-commands-packet off" works as intended.
6632 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6634 (top level): Call it.
6635 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6636 remote fast-tracepoints-packet off" works as intended.
6637 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6638 * lib/gdb.exp (gdb_is_target_remote): ... here.
6640 2014-04-24 David Blaikie <dblaikie@gmail.com>
6642 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6643 ensure clang would not discard them.
6644 * gdb.base/gdbvars.c: Ditto.
6645 * gdb.base/memattr.c: Ditto.
6646 * gdb.base/whatis.c: Ditto.
6647 * gdb.python/py-prettyprint.c: Ditto.
6648 * gdb.trace/actions.c: Ditto.
6649 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6650 ensure clang would not discard it.
6652 2014-04-24 David Blaikie <dblaikie@gmail.com>
6654 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6655 clang to emit the full definition of type required by the test
6656 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6658 2014-04-24 David Blaikie <dblaikie@gmail.com>
6660 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6661 coax Clang into emitting the definition of the type.
6662 * gdb.cp/pr10728-x.h (y): Ditto.
6663 * gdb.cp/pr10728-y.cc (y): Ditto.
6665 2014-04-24 David Blaikie <dblaikie@gmail.com>
6667 * gdb.base/label.exp: XFAIL label related tests under Clang.
6668 * gdb.cp/cplabel.exp: Ditto.
6669 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6670 under Clang those using labels.
6672 2014-04-25 Yao Qi <yao@codesourcery.com>
6674 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6676 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6677 partial_label and double_label.
6679 2014-04-24 David Blaikie <dblaikie@gmail.com>
6681 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6683 2014-04-24 David Blaikie <dblaikie@gmail.com>
6685 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6686 of the function to work across GCC and Clang.
6687 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6688 pointer types (const void ** const V void **).
6690 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6691 Walfred Tedeschi <walfred.tedeschi@intel.com>
6693 * Makefile.in (EXECUTABLES): Added i386-avx512.
6694 * gdb.arch/i386-avx512.c: New file.
6695 * gdb.arch/i386-avx512.exp: Likewise.
6697 2014-04-23 Keith Seitz <keiths@redhat.com>
6699 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6700 (mi_make_breakpoint_table): New procedure.
6701 (mi_create_breakpoint): Use mi_make_breakpoint
6702 and return the result.
6703 (mi_make_breakpoint): New procedure.
6704 (mi_build_kv_pairs): New procedure.
6706 * gdb.mi/mi-break.exp: Remove unused globals,
6707 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6708 All callers updated.
6709 * gdb.mi/mi-dprintf.exp: Use variable to track command
6711 Update all callers of mi_create_breakpoint and use
6712 mi_make_breakpoint_table.
6713 Remove any unused global variables.
6714 * gdb.mi/mi-nonstop.exp: Likewise.
6715 * gdb.mi/mi-nsintrall.exp: Likewise.
6716 * gdb.mi/mi-nsmoribund.exp: Likewise.
6717 * gdb.mi/mi-nsthrexec.exp: Likewise.
6718 * gdb.mi/mi-reverse.exp: Likewise.
6719 * gdb.mi/mi-simplerun.exp: Likewise.
6720 * gdb.mi/mi-stepn.exp: Likewise.
6721 * gdb.mi/mi-syn-frame.exp: Likewise.
6722 * gdb.mi/mi-until.exp: Likewise.
6723 * gdb.mi/mi-var-cp.exp: Likewise.
6724 * gdb.mi/mi-var-display.exp: Likewise.
6725 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6726 * gdb.mi/mi2-var-child.exp: Likewise.
6727 * gdb.mi/mi-vla-c99.exp: Likewise.
6728 * lib/mi-support.exp: Likewise.
6730 From Ian Lance Taylor <iant@cygnus.com>:
6731 * lib/gdb.exp (parse_args): New procedure.
6733 2014-04-23 Pedro Alves <palves@redhat.com>
6735 * gdb.base/break-unload-file.c: New file.
6736 * gdb.base/break-unload-file.exp: New file.
6737 * gdb.base/sym-file-lib.c (baz): New function.
6738 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6740 (load): Store the segment's mapped size.
6741 (unload): New function.
6742 (unload_shlib): New function.
6743 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6744 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6745 set a breakpoint at baz, and call it.
6746 * gdb.base/sym-file.exp: New tests for stale breakpoint
6749 2014-04-23 Pedro Alves <palves@redhat.com>
6751 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6752 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6753 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6754 * gdb.base/hbreak-unmapped.c: New file.
6755 * gdb.base/hbreak-unmapped.exp: New file.
6756 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6757 * lib/gdb.exp (gdb_is_target_remote): ... here.
6759 2014-04-22 Pedro Alves <palves@redhat.com>
6761 * gdb.base/consecutive-step-over.c: New file.
6762 * gdb.base/consecutive-step-over.exp: New file.
6764 2014-04-22 Pedro Alves <palves@redhat.com>
6766 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6767 instead of send_gdb/gdb_expect.
6769 2014-04-22 Yao Qi <yao@codesourcery.com>
6771 * lib/trace-support.exp (generate_tracefile): New procedure.
6772 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6774 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6775 if generate_tracefile returns 1.
6777 2014-04-18 Tom Tromey <palves@redhat.com>
6778 Pedro alves <tromey@redhat.com>
6781 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6782 with a backtrace limit.
6783 * gdb.python/py-frame-inline.exp: Test running to an inline
6784 function with a backtrace limit, and printing the newest frame.
6785 * gdb.python/py-frame-inline.c (main): Call f.
6787 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6789 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6791 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6793 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6794 Drop prefix from unsupported source file path.
6796 2014-04-17 Yao Qi <yao@codesourcery.com>
6798 * lib/gdb.exp (with_target_charset): New proc.
6799 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6800 with_target_charset.
6801 (test_print_strings): Likewise.
6802 (test_repeat_bytes): Likewise.
6803 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6806 2014-04-16 Keith Seitz <keiths@redhat.com>
6809 * gdb.dwarf2/corrupt.c: New file.
6810 * gdb.dwarf2/corrupt.exp: New file.
6812 2014-04-16 Keith Seitz <keiths@redhat.com>
6815 * gdb.cp/namelessclass.cc: New file.
6816 * gdb.cp/namelessclass.exp: New file.
6817 * gdb.cp/namelessclass.S: New file.
6819 2014-04-16 Doug Evans <dje@google.com>
6821 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6823 (gdbserver_default_get_comm_port): New function.
6824 (gdbserver_start): Check if board file provided
6825 "gdbserver,get_comm_port" and use it if so.
6826 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6827 (gdb,socketport): Set to "stdio".
6828 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6829 (stdio_gdbserver_template): Delete.
6830 (${board}_get_remote_address): Update.
6831 (${board}_build_remote_cmd): Delete.
6832 (${board}_get_comm_port): New function.
6833 (${board}_spawn): Update.
6834 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6836 (${board}_get_remote_address): Update.
6837 (${board}_get_comm_port): New function.
6839 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6841 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6842 appearing in any order.
6844 2014-04-15 Doug Evans <dje@google.com>
6846 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6847 uninitialized value of "description".
6849 2014-04-15 Keith Seitz <keiths@redhat.com>
6851 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6852 Remove unused globals.
6853 (test_running_the_program): Likewise.
6854 (test_controlled_execution): Likewise.
6855 (test_controlling_breakpoints): Likewise.
6856 (test_program_termination): Likewise.
6858 2014-04-15 Keith Seitz <keiths@redhat.com>
6860 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6862 (test_rbreak_creation_and_listing): Likewise.
6863 (test_ignore_count): Likewise.
6864 (test_error): Likewise.
6866 2014-04-15 Pedro Alves <palves@redhat.com>
6868 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6869 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6871 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6872 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6873 to sym-file-loader.c.
6874 (struct library): Forward declare.
6875 (load_shlib, lookup_function): Change prototypes.
6876 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6877 (translate_offset): Remove declarations.
6878 (get_text_addr): New declaration.
6879 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6880 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6882 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6883 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6884 here from sym-file-loader.h.
6885 (struct library): New structure.
6886 (load_shlib, lookup_function): Change prototypes and adjust to
6887 work with a struct library.
6888 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6889 (translate_offset): Make static.
6890 (get_text_addr): New function.
6891 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6893 2014-04-15 Pedro Alves <palves@redhat.com>
6895 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6897 2014-04-15 Pedro Alves <palves@redhat.com>
6899 * gdb.base/sym-file-loader.c: Include <limits.h>.
6900 (SELF_LINK): New define.
6901 (get_origin): New function.
6902 (load_shlib): Use it.
6903 * gdb.base/sym-file.exp: Don't early return if the target is
6904 remote. Use runto_main, and issue fail is that fails. Use
6906 (shlib_name): Delete.
6907 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6909 2014-04-15 Pedro Alves <palves@redhat.com>
6911 * gdb.base/sym-file.exp: Remove regex characters from test
6912 message. Don't refer to breakpoint numbers in test messages.
6914 2014-04-14 Keith Seitz <keiths@redhat.com>
6917 * gdb.cp/var-tag.cc: New file.
6918 * gdb.cp/var-tag.exp: New file.
6919 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6920 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6921 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6922 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6924 2014-04-14 Tom Tromey <tromey@redhat.com>
6926 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6927 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6929 * gdb.cp/enum-class.exp: New file.
6930 * gdb.cp/enum-class.cc: New file.
6932 2014-04-14 Tom Tromey <tromey@redhat.com>
6934 * gdb.dwarf2/enum-type.exp: New file.
6936 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6938 * gdb.mi/mi-vla-c99.exp: New file.
6939 * gdb.mi/vla.c: New file.
6941 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6943 * gdb.base/vla-datatypes.c: New file.
6944 * gdb.base/vla-datatypes.exp: New file.
6946 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6948 * gdb.base/vla-ptr.c: New file.
6949 * gdb.base/vla-ptr.exp: New file.
6951 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6953 * gdb.dwarf2/count.exp: New file.
6955 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6957 * gdb.base/vla-sideeffect.c: New file.
6958 * gdb.base/vla-sideeffect.exp: New file.
6960 2014-04-14 David Blaikie <dblaikie@gmail.com>
6962 * gdb.mi/non-stop.c: Add return value for non-void function return
6964 * gdb.threads/staticthreads.c: Ditto.
6966 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6967 Doug Evans <xdje42@gmail.com>
6969 * gdb.guile/scm-value.c: Improve test case.
6970 * gdb.guile/scm-value.exp: Add new test.
6972 2014-04-11 David Blaikie <dblaikie@gmail.com>
6974 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6975 override Clang's default.
6977 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6979 Revert the following changes (regressions):
6981 * gdb.base/vla-sideeffect.c: New file.
6982 * gdb.base/vla-sideeffect.exp: New file.
6984 * gdb.dwarf2/count.exp: New file.
6986 * gdb.base/vla-multi.c: New file.
6987 * gdb.base/vla-multi.exp: New file.
6989 * gdb.base/vla-ptr.c: New file.
6990 * gdb.base/vla-ptr.exp: New file.
6992 * gdb.base/vla-datatypes.c: New file.
6993 * gdb.base/vla-datatypes.exp: New file.
6995 * gdb.mi/mi-vla-c99.exp: New file.
6996 * gdb.mi/vla.c: New file.
6998 2014-04-11 Keith Seitz <keiths@redhat.com>
7001 * gdb.cp/cpsizeof.exp: New file.
7002 * gdb.cp/cpsizeof.cc: New file.
7004 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7006 * gdb.mi/mi-vla-c99.exp: New file.
7007 * gdb.mi/vla.c: New file.
7009 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7011 * gdb.base/vla-datatypes.c: New file.
7012 * gdb.base/vla-datatypes.exp: New file.
7014 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7016 * gdb.base/vla-ptr.c: New file.
7017 * gdb.base/vla-ptr.exp: New file.
7019 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7021 * gdb.base/vla-multi.c: New file.
7022 * gdb.base/vla-multi.exp: New file.
7024 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7026 * gdb.dwarf2/count.exp: New file.
7028 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7030 * gdb.base/vla-sideeffect.c: New file.
7031 * gdb.base/vla-sideeffect.exp: New file.
7033 2014-04-11 Yao Qi <yao@codesourcery.com>
7035 * gdb.base/completion.exp: Check file exists before running tests
7038 2014-04-10 Pedro Alves <palves@redhat.com>
7040 * gdb.base/cond-eval-mode.c: New file.
7041 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7042 prepare_for_testing to build the new file. Check result of
7044 (test_break, test_watch): New procedures.
7045 (top level): Use them.
7047 2014-04-08 Pierre Muller <muller@sourceware.org>
7049 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7050 Ctrl-V use for mingw hosts.
7052 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7054 * gdb.python/py-value.c: Improve test case.
7055 * gdb.python/py-value.exp: Add new test.
7057 2014-04-07 David Blaikie <dblaikie@gmail.com>
7059 * lib/compiler.c: Identify the clang compiler.
7060 * lib/compiler.cc: Ditto.
7062 2014-04-03 Yao Qi <yao@codesourcery.com>
7064 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7066 2014-04-01 Anton Blanchard <anton@samba.org>
7068 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7071 2014-04-01 Anton Blanchard <anton@samba.org>
7073 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7074 prepare_for_testing.
7076 2014-04-01 Anton Blanchard <anton@samba.org>
7078 * gdb.arch/ppc64-atomic-inst.c: Remove.
7079 * gdb.arch/ppc64-atomic-inst.S: New file.
7080 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7082 2014-03-31 Doug Evans <dje@google.com>
7084 * gdb.base/print-symbol-loading-lib.c: New file.
7085 * gdb.base/print-symbol-loading-main.c: New file.
7086 * gdb.base/print-symbol-loading.exp: New file.
7088 2014-03-31 Yao Qi <yao@codesourcery.com>
7090 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7092 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7094 * gdb.ada/mi_dyn_arr: New testcase.
7096 2014-03-27 Doug Evans <dje@google.com>
7098 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7100 2014-03-27 Yao Qi <yao@codesourcery.com>
7102 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7103 if target is nios2-*-*.
7105 2014-03-26 Yao Qi <yao@codesourcery.com>
7107 * lib/gdb.exp (readline_is_used): New proc.
7108 * gdb.base/completion.exp: Move tests on command complete up.
7109 Skip the rest of tests if readline is not used.
7110 * gdb.ada/complete.exp: Skp the test if readline is not
7112 * gdb.base/filesym.exp: Likewise.
7113 * gdb.base/macscp.exp: Likewise.
7114 * gdb.base/readline-ask.exp: Likewise.
7115 * gdb.base/readline.exp: Likewise.
7116 * gdb.python/py-cmd.exp: Likewise.
7117 * gdb.trace/tfile.exp: Likewise.
7119 2014-03-26 Yao Qi <yao@codesourcery.com>
7121 * gdb.base/macscp.exp: Fix code format issues.
7123 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7125 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7126 * gdb.asm/powerpc64le.inc: New file.
7128 2014-03-25 Pedro Alves <palves@redhat.com>
7129 Doug Evans <dje@google.com>
7131 * gdb.base/source-execution.c: New file.
7132 * gdb.base/source-execution.exp: New file.
7133 * gdb.base/source-execution.gdb: New file.
7135 2014-03-24 Doug Evans <dje@google.com>
7137 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7140 2014-03-24 Hui Zhu <hui@codesourcery.com>
7141 Pedro Alves <palves@redhat.com>
7143 PR breakpoints/16101
7144 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7145 test pass/fail messages. Detect missing support for dprintf when
7146 breakpoints are actually inserted.
7147 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7148 breakpoints are actually inserted.
7149 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7152 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7154 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7156 2014-03-22 Doug Evans <xdje42@gmail.com>
7158 * gdb.python/python.exp (python not supported): Verify multi-line
7159 python command issues an error.
7160 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7161 guile command issues an error.
7163 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7165 * gdb.threads/thread-specific.exp: Handle the lack of usable
7166 $this_breakpoint and $this_thread.
7168 2014-03-21 Hui Zhu <hui@codesourcery.com>
7170 * gdb.base/attach.exp (do_command_attach_tests): New.
7172 2014-03-20 Tom Tromey <tromey@redhat.com>
7173 Pedro Alves <palves@redhat.com>
7176 * gdb.base/condbreak-call-false.c: New file.
7177 * gdb.base/condbreak-call-false.exp: New file.
7179 2014-03-20 Pedro Alves <palves@redhat.com>
7181 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7183 (block_signals, unblock_signals): Delete.
7184 (child_function_2, main): Remove references to deleted variable
7187 2014-03-20 Pedro Alves <palves@redhat.com>
7189 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7190 Use pthread_kill to signal thread 2.
7191 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7192 Adjust to make the test send itself a signal rather than using the
7193 host's "kill" command.
7195 2014-03-20 Pedro Alves <palves@redhat.com>
7197 * gdb.threads/multiple-step-overs.c: New file.
7198 * gdb.threads/multiple-step-overs.exp: New file.
7199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7200 Adjust expected infrun debug output.
7202 2014-03-20 Pedro Alves <palves@redhat.com>
7204 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7205 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7207 2014-03-20 Pedro Alves <palves@redhat.com>
7210 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7211 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7212 of gdb_test_multiple.
7213 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7214 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7216 2014-03-20 Pedro Alves <palves@redhat.com>
7218 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7219 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7221 2014-03-19 Pedro Alves <palves@redhat.com>
7223 * gdb.base/async.exp: Remove early return.
7225 2014-03-19 Pedro Alves <palves@redhat.com>
7227 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7229 2014-03-19 Pedro Alves <palves@redhat.com>
7231 * gdb.base/async.exp (test_background): Expect \r\n after
7232 "completed." in the fail pattern.
7234 2014-03-19 Pedro Alves <palves@redhat.com>
7236 * gdb.base/async.exp (test_background): New procedure.
7237 Use it for all background execution command tests.
7239 2014-03-19 Pedro Alves <palves@redhat.com>
7241 * gdb.base/async.exp: Use prepare_for_testing.
7243 2014-03-19 Pedro Alves <palves@redhat.com>
7245 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7248 2014-03-19 Pedro Alves <palves@redhat.com>
7250 * gdb.base/async.c (main): Add "jump here" and "until here" line
7252 * gdb.base/async.exp (jump_here): New global.
7253 (jump& test): Use it.
7254 (until_here): New global.
7255 (until& test): Use it.
7257 2014-03-19 Pedro Alves <palves@redhat.com>
7259 * gdb.base/async.exp: Don't frob gdb_protocol.
7261 2014-03-18 Doug Evans <xdje42@gmail.com>
7263 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7264 Fix spelling of exec-done-display.
7266 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7269 * gdb.base/gdb-sigterm.c: New file.
7270 * gdb.base/gdb-sigterm.exp: New file.
7272 2014-03-18 Pedro Alves <palves@redhat.com>
7275 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7276 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7279 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7281 * gdb.ada/pckd_arr_ren: New testcase.
7283 2014-03-13 Doug Evans <xdje42@gmail.com>
7286 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7287 collect after discarding symbols.
7289 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7290 Doug Evans <xdje42@gmail.com>
7292 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7293 to history survives a gc.
7295 2014-03-13 Pedro Alves <palves@redhat.com>
7297 * gdb.base/default.exp: Don't test "target procfs".
7299 2014-03-13 Pedro Alves <palves@redhat.com>
7301 * gdb.base/default.exp: Update "target child" and "target procfs"
7302 tests to not expect "Unix".
7304 2014-03-12 Tom Tromey <tromey@redhat.com>
7306 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7307 New procs. Add target-async tests.
7308 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7309 Add target-async tests.
7311 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7313 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7314 'func_start' and 'func_end' for the beginning and end of the
7315 function code, respectively.
7316 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7317 'func_end' instead of 'func' and 'main'.
7319 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7321 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7322 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7323 generate the debug info assembler source.
7325 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7327 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7328 * gdb.dwarf2/arr-subrange.exp: Likewise.
7329 * gdb.dwarf2/dwz.exp: Likewise.
7330 * gdb.dwarf2/method-ptr.exp: Likewise.
7331 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7332 * gdb.dwarf2/subrange.exp: Likewise.
7333 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7334 * gdb.dwarf2/implptrpiece.exp: Likewise.
7335 * gdb.dwarf2/nostaticblock.exp: Likewise.
7337 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7339 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7340 directory to absolute path name arguments.
7342 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7344 * gdb.ada/tagged_access: New testcase.
7346 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7348 * gdb.btrace/data.exp: Update expected output.
7350 2014-03-06 Yao Qi <yao@codesourcery.com>
7352 * gdb.trace/pr16508.exp: New file.
7354 2014-03-05 Pedro Alves <palves@redhat.com>
7357 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7359 (top level): Adjust to use it. Add tests that exercise breakpoint
7360 interaction with the code-cache.
7362 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7364 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7365 test for 'history-append!'.
7367 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7369 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7370 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7371 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7372 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7373 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7374 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7376 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7378 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7379 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7380 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7382 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7384 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7386 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7388 * gdb.dwarf2/arr-stride.c: New file.
7389 * gdb.dwarf2/arr-stride.exp: New file.
7391 2014-02-26 Pedro Alves <palves@redhat.com>
7393 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7394 that won't ever trigger. Make sure that GDB reports the correct
7395 breakpoint that caused the stop.
7397 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7400 * gdb.base/auto-load-script: New file.
7401 * gdb.base/auto-load.c: New file.
7402 * gdb.base/auto-load.exp: New file.
7405 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7407 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7409 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7410 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7412 2014-02-24 Doug Evans <dje@google.com>
7414 * lib/gdb.exp (run_on_host): Log error output if program fails.
7416 2014-02-21 Pedro Alves <palves@redhat.com>
7418 * gdb.threads/step-after-sr-lock.c: Rename to ...
7419 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7420 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7421 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7424 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7427 * gdb.arch/amd64-stap-special-operands.exp: New file.
7428 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7429 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7430 * gdb.arch/amd64-stap-triplet.S: Likewise.
7431 * gdb.arch/amd64-stap-triplet.c: Likewise.
7433 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7435 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7436 in .section pseudo-op.
7438 2014-02-20 lin zuojian <manjian2006@gmail.com>
7439 Joel Brobecker <brobecker@adacore.com>
7440 Doug Evans <xdje42@gmail.com>
7443 * gdb.dwarf2/dw2-icycle.S: New file.
7444 * gdb.dwarf2/dw2-icycle.c: New file.
7445 * gdb.dwarf2/dw2-icycle.exp: New file.
7447 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7449 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7450 operations on gdb.Value objects.
7451 * gdb.python/py-value-cc.exp: Add new test to test operations on
7454 2014-02-18 Doug Evans <dje@google.com>
7456 * Makefile.in (TESTS): New variable.
7457 (expanded_tests, expanded_tests_or_none): New variables
7458 (check-single): Pass $(expanded_tests_or_none) to runtest.
7459 (check-parallel): Only run tests in $(TESTS) if non-empty.
7460 (check/no-matching-tests-found): New rule.
7461 * README: Document TESTS makefile variable.
7463 2014-02-18 Doug Evans <dje@google.com>
7465 * Makefile.in (check-parallel): rm -rf outputs temp.
7467 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7469 Fix "ERROR: no fileid for" in the testsuite.
7470 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7472 2014-02-12 Doug Evans <dje@google.com>
7474 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7475 (MISCELLANEOUS): New variable.
7476 (clean): rm -rf $(MISCELLANEOUS).
7477 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7478 dwp live in the same directory as symlinks, with each symlink pointed
7479 to a differently named file in a different directory.
7481 2014-02-11 Doug Evans <dje@google.com>
7483 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7484 of Tcl file commands.
7486 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7488 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7491 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7493 * gdb.ada/tick_length_array_enum_idx: New testcase.
7495 2014-02-10 Doug Evans <xdje42@gmail.com>
7497 * configure.ac (AC_OUTPUT): Add gdb.guile.
7498 * configure: Regenerate.
7499 * lib/gdb-guile.exp: New file.
7500 * lib/gdb.exp (get_target_charset): New function.
7501 * gdb.base/help.exp: Update expected output from "apropos apropos".
7502 * gdb.guile/Makefile.in: New file.
7503 * gdb.guile/guile.exp: New file.
7504 * gdb.guile/scm-arch.c: New file.
7505 * gdb.guile/scm-arch.exp: New file.
7506 * gdb.guile/scm-block.c: New file.
7507 * gdb.guile/scm-block.exp: New file.
7508 * gdb.guile/scm-breakpoint.c: New file.
7509 * gdb.guile/scm-breakpoint.exp: New file.
7510 * gdb.guile/scm-disasm.c: New file.
7511 * gdb.guile/scm-disasm.exp: New file.
7512 * gdb.guile/scm-equal.c: New file.
7513 * gdb.guile/scm-equal.exp: New file.
7514 * gdb.guile/scm-error.exp: New file.
7515 * gdb.guile/scm-error.scm: New file.
7516 * gdb.guile/scm-frame-args.c: New file.
7517 * gdb.guile/scm-frame-args.exp: New file.
7518 * gdb.guile/scm-frame-args.scm: New file.
7519 * gdb.guile/scm-frame-inline.c: New file.
7520 * gdb.guile/scm-frame-inline.exp: New file.
7521 * gdb.guile/scm-frame.c: New file.
7522 * gdb.guile/scm-frame.exp: New file.
7523 * gdb.guile/scm-generics.exp: New file.
7524 * gdb.guile/scm-gsmob.exp: New file.
7525 * gdb.guile/scm-iterator.c: New file.
7526 * gdb.guile/scm-iterator.exp: New file.
7527 * gdb.guile/scm-math.c: New file.
7528 * gdb.guile/scm-math.exp: New file.
7529 * gdb.guile/scm-objfile-script-gdb.in: New file.
7530 * gdb.guile/scm-objfile-script.c: New file.
7531 * gdb.guile/scm-objfile-script.exp: New file.
7532 * gdb.guile/scm-objfile.c: New file.
7533 * gdb.guile/scm-objfile.exp: New file.
7534 * gdb.guile/scm-ports.exp: New file.
7535 * gdb.guile/scm-pretty-print.c: New file.
7536 * gdb.guile/scm-pretty-print.exp: New file.
7537 * gdb.guile/scm-pretty-print.scm: New file.
7538 * gdb.guile/scm-section-script.c: New file.
7539 * gdb.guile/scm-section-script.exp: New file.
7540 * gdb.guile/scm-section-script.scm: New file.
7541 * gdb.guile/scm-symbol.c: New file.
7542 * gdb.guile/scm-symbol.exp: New file.
7543 * gdb.guile/scm-symtab-2.c: New file.
7544 * gdb.guile/scm-symtab.c: New file.
7545 * gdb.guile/scm-symtab.exp: New file.
7546 * gdb.guile/scm-type.c: New file.
7547 * gdb.guile/scm-type.exp: New file.
7548 * gdb.guile/scm-value-cc.cc: New file.
7549 * gdb.guile/scm-value-cc.exp: New file.
7550 * gdb.guile/scm-value.c: New file.
7551 * gdb.guile/scm-value.exp: New file.
7552 * gdb.guile/source2.scm: New file.
7553 * gdb.guile/types-module.cc: New file.
7554 * gdb.guile/types-module.exp: New file.
7556 2014-02-10 Yao Qi <yao@codesourcery.com>
7559 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7560 * configure: Regenerated.
7561 * Makefile.in: New file.
7563 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7565 * gdb.python/py-framefilter.exp: Fix typo.
7567 2014-02-08 Yao Qi <yao@codesourcery.com>
7569 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7570 that no =breakpoint-modified is emitted when breakpoints are
7571 modified through MI commands.
7573 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7574 Pedro Alves <palves@redhat.com>
7576 * gdb.threads/step-after-sr-lock.c: New file.
7577 * gdb.threads/step-after-sr-lock.exp: New file.
7579 2014-02-07 Pedro Alves <palves@redhat.com>
7581 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7583 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7585 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7586 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7588 2014-02-06 Doug Evans <xdje42@gmail.com>
7590 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7593 * gdb.gdb/python-interrupts.exp: New file.
7595 2014-02-05 Yao Qi <yao@codesourcery.com>
7597 * gdb.trace/report.exp (use_collected_data): Test the output
7598 of "info threads" and "info inferiors".
7600 2014-02-05 Yao Qi <yao@codesourcery.com>
7604 2013-05-24 Yao Qi <yao@codesourcery.com>
7606 * gdb.trace/tfile.exp: Test inferior and thread.
7608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7610 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7612 * gdb.base/step-bt.c: Call hello via function pointer to make
7613 sure its first instruction is executed on powerpc64le-linux.
7615 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7617 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7619 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7621 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7622 of the test patterns for use on little-endian systems.
7624 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7626 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7627 (decimal_vector): Fix for little-endian.
7629 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7631 * gdb.arch/sparc-sysstep.exp: New file.
7632 * gdb.arch/sparc-sysstep.c: Likewise.
7634 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7636 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7638 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7640 2014-01-23 Tom Tromey <tromey@redhat.com>
7642 * gdb.ada/array_char_idx: New testcase.
7644 2014-01-23 Tom Tromey <tromey@redhat.com>
7647 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7648 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7651 2014-01-23 Tom Tromey <tromey@redhat.com>
7654 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7655 string from an inferior frame.
7656 * gdb.python/py-framefilter-mi.exp: Update.
7658 2014-01-22 Doug Evans <dje@google.com>
7660 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7662 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7664 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7666 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7668 * gdb.trace/entry-values.exp: Remove excess space character from
7669 regex patterns. Handle s390 call instruction.
7671 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7673 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7674 define "*_start" label. Make "name" static.
7675 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7676 ${name} by references to ${name}_start.
7678 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7680 * gdb.base/info-macros.exp: Remove "debug" from the compile
7683 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7685 * gdb.dlang/demangle.exp: New file.
7687 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7689 * gdb.dlang/primitive-types.exp: New file.
7691 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7693 * configure.ac: Create gdb.dlang/Makefile.
7694 * configure: Regenerate.
7695 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7696 * gdb.dlang/Makefile.in: New file.
7697 * lib/d-support.exp: New file.
7698 * lib/gdb.exp (skip_d_tests): New proc.
7700 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7702 * gdb.btrace/delta.exp: Check reverse stepi.
7703 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7704 * gdb.btrace/finish.exp: New.
7705 * gdb.btrace/next.exp: New.
7706 * gdb.btrace/nexti.exp: New.
7707 * gdb.btrace/record_goto.c: Add comments.
7708 * gdb.btrace/step.exp: New.
7709 * gdb.btrace/stepi.exp: New.
7710 * gdb.btrace/multi-thread-step.c: New.
7711 * gdb.btrace/multi-thread-step.exp: New.
7712 * gdb.btrace/rn-dl-bind.c: New.
7713 * gdb.btrace/rn-dl-bind.exp: New.
7714 * gdb.btrace/data.c: New.
7715 * gdb.btrace/data.exp: New.
7716 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7720 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7721 * gdb.btrace/exception.exp: Update.
7722 * gdb.btrace/instruction_history.exp: Update.
7723 * gdb.btrace/record_goto.exp: Update.
7724 * gdb.btrace/tailcall.exp: Update.
7725 * gdb.btrace/unknown_functions.exp: Update.
7726 * gdb.btrace/delta.exp: New.
7728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7730 * gdb.btrace/record_goto.exp: Add backtrace test.
7731 * gdb.btrace/tailcall.exp: Add backtrace test.
7733 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7735 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7736 * gdb.btrace/record_goto.c: New.
7737 * gdb.btrace/record_goto.exp: New.
7738 * gdb.btrace/x86-record_goto.S: New.
7740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7742 * gdb.btrace/function_call_history.exp: Update tests.
7743 * gdb.btrace/instruction_history.exp: Update tests.
7745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7747 * gdb.btrace/function_call_history.exp: Fix expected field
7748 order for "record function-call-history".
7749 Add new tests for "record function-call-history /c".
7750 * gdb.btrace/exception.cc: New.
7751 * gdb.btrace/exception.exp: New.
7752 * gdb.btrace/tailcall.exp: New.
7753 * gdb.btrace/x86-tailcall.S: New.
7754 * gdb.btrace/x86-tailcall.c: New.
7755 * gdb.btrace/unknown_functions.c: New.
7756 * gdb.btrace/unknown_functions.exp: New.
7757 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7761 * gdb.btrace/instruction_history.exp: Update.
7762 * gdb.btrace/function_call_history.exp: Update.
7764 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7766 * gdb.btrace/function_call_history.exp: Fix expected function
7768 * gdb.btrace/instruction_history.exp: Initialize traced.
7769 Remove traced_functions.
7771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7773 * gdb.btrace/function_call_history.exp: Update
7774 * gdb.btrace/instruction_history.exp: Update.
7776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7778 * gdb.btrace/enable.exp: Update expected text.
7780 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7782 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7785 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7787 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7789 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7791 * lib/gdb.exp (supports_process_record): Return true for
7792 arm*-linux*. (supports_reverse): Likewise.
7794 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7798 * gdb.python/py-type.c: Enhance test case.
7799 * gdb.python/py-value-cc.cc: Likewise
7800 * gdb.python/py-type.exp: Add new tests.
7801 * gdb.python/py-value-cc.exp: Likewise
7803 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7804 Pedro Alves <palves@redhat.com>
7806 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7808 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7809 references to ${name}_start by references to ${name}.
7811 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7813 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7815 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7817 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7819 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7820 Pedro Alves <palves@redhat.com>
7822 * gdb.mi/mi-info-os.exp: Connect to the target with
7825 2014-01-08 Pedro Alves <palves@redhat.com>
7827 * gdb.threads/reconnect-signal.c: New file.
7828 * gdb.threads/reconnect-signal.exp: New file.
7830 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7832 * gdb.base/source-dir.exp: New file.
7834 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7836 * gdb.ada/mi_interface: New testcase.
7838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7840 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7841 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7842 gdb.ada/pp-rec-component/pck.ads: New files.
7844 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7846 * gdb.python/py-pp-integral.c: New file.
7847 * gdb.python/py-pp-integral.py: New file.
7848 * gdb.python/py-pp-integral.exp: New file.
7850 For older changes see ChangeLog-1993-2013.
7856 ;; version-control: never
7859 Copyright 2014-2016 Free Software Foundation, Inc.
7860 Copying and distribution of this file, with or without modification,
7861 are permitted provided the copyright notice and this notice are preserved.