1 2016-03-15 Doug Evans <dje@google.com>
3 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8 * gdb.base/default.exp: Add $_as_string to the list of expected
11 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
17 * gdb.python/py-as-string.exp: New file.
18 * gdb.python/py-as-string.c: New file.
20 2016-03-09 Pedro Alves <palves@redhat.com>
22 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
23 signal" -> "Thread NN received signal" output change.
24 * gdb.threads/ia64-sigill.exp: Likewise.
25 * gdb.threads/linux-dp.exp: Likewise.
26 * gdb.threads/manythreads.exp: Likewise.
27 * gdb.threads/pending-step.exp: Likewise.
28 * gdb.threads/print-threads.exp: Likewise.
29 * gdb.threads/sigstep-threads.exp: Likewise.
30 * gdb.threads/staticthreads.exp: Likewise.
31 * gdb.threads/tls.exp: Likewise.
33 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
35 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
36 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
37 * gdb.trace/pending.exp: Accept leading dot before function name.
38 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
39 * lib/trace-support.exp: Set registers for ppc.
41 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
43 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
44 use it for disassembly; accept .main in addition to main in backtrace.
46 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
47 Marcin Kościelnicki <koriakin@0x04.net>
49 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
50 (gdb_recursion_test_ptr): New global variable.
51 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
55 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
57 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
60 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
62 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
63 (bar): Add bar_start_lbl label.
64 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
65 of foo/bar for emitting DWARF and tracing.
67 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
69 * analyze-racy-logs.py: Set executable bit.
71 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
73 * Makefile.in (DEFAULT_RACY_ITER): New variable.
74 (CHECK_TARGET_TMP): Likewise.
75 (check-single-racy): New rule.
76 (check-parallel-racy): Likewise.
77 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
78 (do-check-parallel-racy): New rule.
79 (check-racy/%.exp): Likewise.
80 * README (Racy testcases): New section.
81 * analyze-racy-logs.py: New file.
83 2016-03-03 Doug Evans <dje@google.com>
85 * gdb.base/skip.exp: Use with_test_prefix.
87 2016-03-03 Yao Qi <yao.qi@linaro.org>
89 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
90 Invoke step_over_syscall "clone" and break_cond_on_syscall
92 * gdb.base/step-over-clone.c: New file.
94 2016-03-03 Yao Qi <yao.qi@linaro.org>
96 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
99 2016-03-03 Yao Qi <yao.qi@linaro.org>
101 * gdb.base/disp-step-fork.c: Rename to ...
102 * gdb.base/step-over-fork.c: ... it. New file.
103 * gdb.base/disp-step-vfork.c: Rename to ...
104 * gdb.base/step-over-vfork.c: ... it. New file.
105 * gdb.base/disp-step-syscall.exp: Rename to ...
106 * gdb.base/step-over-syscall.exp: ... it. New file.
107 (disp_step_cross_syscall): Rename to ...
108 (step_over_syscall): ... it.
110 2016-03-03 Yao Qi <yao.qi@linaro.org>
112 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
113 If target supports condition evaluation on target, invoke
114 break_cond_on_syscall for fork and vfork.
116 2016-03-03 Yao Qi <yao.qi@linaro.org>
118 * gdb.base/disp-step-syscall.exp: Don't invoke
119 support_displaced_stepping.
120 (disp_step_cross_syscall): Test with displaced stepping off and
123 2016-03-03 Yao Qi <yao.qi@linaro.org>
125 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
128 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
131 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
133 * gdb.fortran/vla-history.exp: Remove breakpoint.
135 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
137 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
139 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
141 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
143 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
145 * gdb.mi/vla.f90: Nullify pointer after declaration.
147 2016-03-01 Pedro Alves <palves@redhat.com>
149 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
151 2016-03-01 Pedro Alves <palves@redhat.com>
153 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
154 before anything else.
155 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
157 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
158 before anything else.
159 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
161 2016-03-01 Pedro Alves <palves@redhat.com>
163 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
165 2016-03-01 Yao Qi <yao.qi@linaro.org>
167 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
170 2016-03-01 Yao Qi <yao.qi@linaro.org>
172 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
174 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
176 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
177 manually constructing the output path.
179 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
181 * gdb.arch/s390-stackless.S: New.
182 * gdb.arch/s390-stackless.exp: New.
184 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
186 * gdb.dlang/circular.c: New file.
187 * gdb.dlang/circular.exp: New file.
189 2016-02-26 Yao Qi <yao.qi@linaro.org>
191 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
192 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
195 2016-02-26 Yao Qi <yao.qi@linaro.org>
197 * gdb.reverse/aarch64.c: Rename to ...
198 * gdb.reverse/insn-reverse.c: ... it.
199 * gdb.reverse/aarch64.exp: Rename to ...
200 * gdb.reverse/insn-reverse.exp: ... it.
202 2016-02-26 Yao Qi <yao.qi@linaro.org>
204 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
205 (testcase_ftype): New.
206 (testcases): New array.
208 (main): Call each element in testcases.
209 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
210 (read_testcase): New.
211 Do the tests in a loop.
213 2016-02-25 Yao Qi <yao.qi@linaro.org>
215 * gdb.base/branches.c: Remove.
217 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
220 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
222 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
224 * gdb.trace/ftrace.exp: Remove unnecessary target check.
226 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
228 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
229 change x86_64 call_insn to 'callq'.
231 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
233 * gdb.trace/tfile-avx.c: Move to...
234 * gdb.trace/tracefile-pseudo-reg.c: Here.
235 * gdb.trace/tfile-avx.exp: Move to...
236 * gdb.trace/tracefile-pseudo-reg.exp: Here.
238 2016-02-24 Gary Benson <gbenson@redhat.com>
240 * gdb.base/attach-pie-noexec.exp: Do not expect an error
243 2016-02-23 Doug Evans <dje@google.com>
245 * gdb.base/skip.c (test_skip): New function.
246 (end_test_skip_file_and_function): New function.
247 (test_skip_file_and_function): New function.
248 * gdb.base/skip1.c (test_skip): New function.
249 (skip1_test_skip_file_and_function): New function.
250 * gdb.base/skip.exp: Add tests for new skip options.
251 * gdb.base/skip-solib.exp: Update expected output.
252 * gdb.perf/skip-command.cc: New file.
253 * gdb.perf/skip-command.exp: New file.
254 * gdb.perf/skip-command.py: New file.
256 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
258 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
259 info registers pattern.
261 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
263 * lib/future.exp: Add D support.
264 (gdb_find_gdc): New proc.
265 (gdb_default_target_compile): Add D support.
267 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
269 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
271 (trace_speed_test): Determine the iteration count for a time
272 between 15..30 seconds.
274 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
276 * gdb.arch/i386-mpx-sigsegv.c: New file.
277 * gdb.arch/i386-mpx-sigsegv.exp: New file.
278 * gdb.arch/i386-mpx-simple_segv.c: New file.
279 * gdb.arch/i386-mpx-simple_segv.exp: New file.
281 2016-02-18 Yao Qi <yao.qi@linaro.org>
283 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
284 Don't call setup_kfail.
286 2016-02-18 Yao Qi <yao.qi@linaro.org>
288 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
289 Set "set breakpoint condition-evaluation" per $cond_bp_target.
291 2016-02-16 Doug Evans <dje@google.com>
293 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
294 * gdb.base/skip1.c: Ditto.
295 * gdb.base/skip.exp: Whitespace cleanup.
297 2016-02-16 Don Breazeal <donb@codesourcery.com>
300 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
301 Remove kfail for PR remote/19496.
303 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
305 * lib/gdb.exp (standard_temp_file): Return a path specific to
306 the runtest invocation.
308 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
310 * gdb.trace/save-trace.exp: Change relative path to be in the
311 standard output directory.
313 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
315 * gdb.arch/i386-prologue.c: Add missing prototypes.
317 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
319 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
320 * gdb.arch/i386-prologue.exp: Likewise.
321 * gdb.arch/i386-size.exp: Likewise.
323 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
325 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
326 define object file path.
327 * gdb.btrace/gcore.exp: Use standard_output_file to define core
329 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
330 standard_output_file to define binfile.
332 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
334 Fix compatibility with recent gfortran-5.3.1.
335 * gdb.fortran/vla-history.exp (print vla1 allocated)
336 (print vla2 allocated, print $2, print $3): Remove
337 (print $4): Rename to ...
338 (print $2): ... here.
339 (print $9): Rename to ...
340 (print $5): ... here.
341 (print $10): Rename to ...
342 (print $6): ... here.
343 * gdb.fortran/vla.f90: Add pvla initialization.
345 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
347 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
349 * gdb.fortran/vla-value-sub.exp: Likewise.
351 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
353 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
355 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
357 * i386-biarch-core.exp: Define corefile using
358 standard_output_file.
360 2016-02-12 Yao Qi <yao.qi@linaro.org>
362 * gdb.arch/arm-single-step-kernel-helper.c: New.
363 * gdb.arch/arm-single-step-kernel-helper.exp: New.
365 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
367 * gdb.btrace/tailcall-only.exp: New.
368 * gdb.btrace/tailcall-only.c: New.
369 * gdb.btrace/x86_64-tailcall-only.S: New.
370 * gdb.btrace/i686-tailcall-only.S: New.
372 2016-02-11 Pedro Alves <palves@redhat.com>
374 * README (Parallel testing): Add missing double quotes.
376 2016-02-11 Pedro Alves <palves@redhat.com>
378 * README (Parallel testing): New section.
379 (GDB_PARALLEL): Rewrite.
380 (FORCE_PARALLEL): Document.
382 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
384 * gdb.trace/tfile-avx.c: New test.
385 * gdb.trace/tfile-avx.exp: New test.
387 2016-02-09 Keith Seitz <keiths@redhat.com>
390 * gdb.base/infcall-exec.c: New file.
391 * gdb.base/infcall-exec2.c: New file.
392 * gdb.base/infcall-exec.exp: New file.
394 2016-02-09 Keith Seitz <keiths@redhat.com>
396 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
397 (toplevel): Call test_bkpt_address.
399 2016-02-09 Keith Seitz <keiths@redhat.com>
402 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
403 (toplevel): Call test_bkpt_address.
405 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
407 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
409 * configure: Regenerate.
411 2016-02-09 Pedro Alves <palves@redhat.com>
414 * gdb.base/execl-update-breakpoints.c (some_function): New
417 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
418 Tighten expected GDB output.
420 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
422 * Makefile.in (ALL_SUBDIRS): Remove.
423 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
424 (distclean maintainer-clean realclean): Likewise.
425 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
426 * configure: Regenerate.
427 * gdb.ada/Makefile.in: Delete.
428 * gdb.arch/Makefile.in: Likewise.
429 * gdb.asm/Makefile.in: Likewise.
430 * gdb.base/Makefile.in: Likewise.
431 * gdb.btrace/Makefile.in: Likewise.
432 * gdb.cell/Makefile.in: Likewise.
433 * gdb.compile/Makefile.in: Likewise.
434 * gdb.cp/Makefile.in: Likewise.
435 * gdb.disasm/Makefile.in: Likewise.
436 * gdb.dlang/Makefile.in: Likewise.
437 * gdb.dwarf2/Makefile.in: Likewise.
438 * gdb.fortran/Makefile.in: Likewise.
439 * gdb.gdb/Makefile.in: Likewise.
440 * gdb.go/Makefile.in: Likewise.
441 * gdb.guile/Makefile.in: Likewise.
442 * gdb.java/Makefile.in: Likewise.
443 * gdb.linespec/Makefile.in: Likewise.
444 * gdb.mi/Makefile.in: Likewise.
445 * gdb.modula2/Makefile.in: Likewise.
446 * gdb.multi/Makefile.in: Likewise.
447 * gdb.objc/Makefile.in: Likewise.
448 * gdb.opencl/Makefile.in: Likewise.
449 * gdb.opt/Makefile.in: Likewise.
450 * gdb.pascal/Makefile.in: Likewise.
451 * gdb.perf/Makefile.in: Likewise.
452 * gdb.python/Makefile.in: Likewise.
453 * gdb.reverse/Makefile.in: Likewise.
454 * gdb.server/Makefile.in: Likewise.
455 * gdb.stabs/Makefile.in: Likewise.
456 * gdb.threads/Makefile.in: Likewise.
457 * gdb.trace/Makefile.in: Likewise.
458 * gdb.xml/Makefile.in: Likewise.
459 * lib/gdb.exp (make_gdb_parallel_path): Add check for
461 (standard_output_file): Remove check for GDB_PARALLEL, always
462 return path in outputs/$subdir/$testname.
464 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
466 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
467 (site.exp): Assign abs_srcdir to tcl's srcdir.
469 2016-02-04 Yao Qi <yao.qi@linaro.org>
471 * gdb.base/foll-exec-mode.c: Include limits.h.
472 (main): Add parameters argc and argv. Get directory from
474 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
476 * gdb.base/foll-exec.c: Include limits.h.
477 (main): Add parameters argc and argv.
478 Get directory from argv[0].
479 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
480 Adjust tests on the number of lines as source code changed.
481 * gdb.base/foll-vfork-exit.c: Include limits.h.
482 (main): Add one line of statement before vfork.
483 * gdb.base/foll-vfork.c: Include limits.h and string.h.
484 (main): Add parameters argc and argv. Get directory from
486 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
487 (setup_gdb): Set tbreak to skip some source lines.
488 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
489 (main): Add parameters argc and argv. Get directory from
491 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
493 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
494 (main): Add parameters argc and argv. Get directory from
496 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
499 2016-02-01 Doug Evans <dje@google.com>
501 * gdb.base/skip.exp: Clean up multiple references to same test name.
503 2016-02-01 Pedro Alves <palves@redhat.com>
506 * gdb.threads/forking-threads-plus-breakpoint.exp
507 (displaced_stepping_supported): New global.
508 (probe_displaced_stepping_support): New procedure.
509 (do_test): Add 'displaced' parameter, and use it.
510 (top level): Check for displaced stepping support. Add displaced
511 stepping on/off testing axis.
513 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
515 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
516 pointer. Don't perform further tests on the unassociated pointer
517 if the first test fails.
519 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
521 * gdb.base/max-value-size.c: New file.
522 * gdb.base/max-value-size.exp: New file.
523 * gdb.base/huge.exp: Disable max-value-size for this test.
525 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
527 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
529 2016-01-28 Yao Qi <yao.qi@linaro.org>
531 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
533 2016-01-25 Pedro Alves <palves@redhat.com>
536 * gdb.base/fork-running-state.c: New file.
537 * gdb.base/fork-running-state.exp: New file.
539 2016-01-25 Pedro Alves <palves@redhat.com>
542 * gdb.base/catch-fork-kill.c: New file.
543 * gdb.base/catch-fork-kill.exp: New file.
545 2016-01-25 Pedro Alves <palves@redhat.com>
547 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
548 Delete, moved to lib/gdb.exp.
549 * gdb.threads/forking-threads-plus-breakpoint.exp
550 (foreach_with_prefix): Likewise.
551 * gdb.threads/process-dies-while-handling-bp.exp
552 (foreach_with_prefix): Likewise.
553 * lib/gdb.exp (foreach_with_prefix): New procedure.
555 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
557 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
558 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
560 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
562 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
565 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
566 Pedro Alves <palves@redhat.com>
568 Fix testsuite compatibility with Guile.
569 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
572 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
574 Fix testsuite compatibility with Guile.
575 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
576 (thread 1): New test for backtrace through signal handler.
578 2016-01-22 Yao Qi <yao.qi@linaro.org>
581 * gdb.base/multi-forks.c: Include
582 ../lib/unbuffer_output.c
583 (main): Call gdb_unbuffer_output.
585 2016-01-21 Doug Evans <dje@google.com>
587 * lib/ada.exp (gdb_compile_ada): Fix typo.
589 2016-01-21 Joel Brobecker <brobecker@adacore.com>
591 * gdb.base/break-fun-addr.exp: New file.
592 * gdb.base/break-fun-addr1.c: New file.
593 * gdb.base/break-fun-addr2.c: New file.
595 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
597 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
598 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
601 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
603 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
604 when GDB can not set the vector return value. Add more comments
607 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
609 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
612 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
614 * Makefile.in (DO_RUNTEST): Add --status and update usages.
616 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
618 * Makefile.in (check-single): Pass --status to runtest.
619 (check/%.exp): Likewise.
621 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
623 * Makefile.in (check-parallel): Propagate return code from make
626 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
628 * gdb.trace/ftrace.exp: Fix expected message on continue.
629 * gdb.trace/pending.exp: Fix expected message on continue.
630 * gdb.trace/trace-break.exp: Fix expected message on continue.
632 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
634 * lib/gdb.exp (gdb_test): Remove unused global references.
636 2016-01-18 Pedro Alves <palves@redhat.com>
638 * gdb.base/async-shell.exp: Adjust expected output.
639 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
640 * gdb.base/siginfo-thread.exp: Adjust expected output.
641 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
642 * gdb.java/jnpe.exp: Adjust expected output.
643 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
644 * gdb.threads/continue-pending-status.exp: Adjust expected output.
645 * gdb.threads/leader-exit.exp: Adjust expected output.
646 * gdb.threads/manythreads.exp: Adjust expected output.
647 * gdb.threads/pthreads.exp: Adjust expected output.
648 * gdb.threads/schedlock.exp: Adjust expected output.
649 * gdb.threads/siginfo-threads.exp: Adjust expected output.
650 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
652 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
654 * gdb.threads/sigthread.exp: Adjust expected output.
655 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
657 2016-01-18 Yao Qi <yao.qi@linaro.org>
659 * gdb.guile/scm-section-script.c: Replace @progbits with
661 * gdb.python/py-section-script.c: Likewise.
663 2016-01-15 Pedro Alves <palves@redhat.com>
665 * gdb.multi/tids.exp: Test star wildcard ranges.
667 2016-01-15 Pedro Alves <palves@redhat.com>
669 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
670 command from "thread apply" invocation.
671 (thr_apply_info_thr_invalid): Default the expected output to the
673 (top level): Add tests that use convenience variables. Add tests
674 for "thread apply" with a valid TID list, but missing the command.
676 2016-01-13 Pedro Alves <palves@redhat.com>
678 * gdb.base/default.exp: Expect $_gthread as well.
679 * gdb.multi/tids.exp: Test $_gthread.
680 * gdb.threads/thread-specific.exp: Test $_gthread.
682 2016-01-13 Pedro Alves <palves@redhat.com>
684 * gdb.multi/tids.exp: Test "info threads -gid".
686 2016-01-13 Pedro Alves <palves@redhat.com>
688 * gdb.multi/tids.exp: Test InferiorThread.global_num and
690 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
692 2016-01-07 Pedro Alves <palves@redhat.com>
694 * gdb.base/break.exp: Adjust to output changes.
695 * gdb.base/hbreak2.exp: Likewise.
696 * gdb.base/sepdebug.exp: Likewise.
697 * gdb.base/watch_thread_num.exp: Likewise.
698 * gdb.linespec/keywords.exp: Likewise.
699 * gdb.multi/info-threads.exp: Likewise.
700 * gdb.threads/thread-find.exp: Likewise.
701 * gdb.multi/tids.c: New file.
702 * gdb.multi/tids.exp: New file.
704 2016-01-13 Pedro Alves <palves@redhat.com>
706 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
708 2016-01-13 Pedro Alves <palves@redhat.com>
710 * gdb.base/default.exp: Expect $_inferior as well.
711 * gdb.multi/base.exp: Test $_inferior.
713 2016-01-13 Pedro Alves <palves@redhat.com>
716 * gdb.base/catch-signal-siginfo-cond.c: New file.
717 * gdb.base/catch-signal-siginfo-cond.exp: New file.
719 2016-01-12 Josh Stone <jistone@redhat.com>
720 Philippe Waroquiers <philippe.waroquiers@skynet.be>
722 * gdb.base/catch-syscall.c (do_execve): New variable.
723 (main): Conditionally trigger an execve.
724 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
725 (test_catch_syscall_execve): New, check entry/return across execve.
726 (do_syscall_tests): Call test_catch_syscall_execve.
728 2016-01-12 Pedro Alves <palves@redhat.com>
730 * gdb.base/random-signal.exp (do_test): New procedure, with body
731 of testcase moved in.
733 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
734 Pedro Alves <palves@redhat.com>
736 * gdb.base/funcargs.exp (finish from indirectly called function):
737 Reintroduce the case for 'First'.
739 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
740 Pedro Alves <palves@redhat.com>
742 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
743 (tcatch_vfork_then_child_follow_exec)
744 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
747 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
749 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
750 and repeats to unlimited.
751 * gdb.python/py-value.exp: Likewise.
752 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
753 and repeats to unlimited.
755 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
757 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
758 and reordering the functions.
759 * gdb.multi/hangout.c: Likewise.
760 * gdb.multi/hello.c: Likewise.
762 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
764 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
766 (SingleStatisticTestResult.report): Use dict.keys instead of
769 2016-01-06 Pedro Alves <palves@redhat.com>
771 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
773 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
775 * gdb.btrace/dlopen.exp: New.
776 * gdb.btrace/dlopen.c: New.
777 * gdb.btrace/dlopen-dso.c: New.
779 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
781 * lib/gdb.exp (gdb_test): Update comments to clarify that the
782 PATTERN argument is optional.
784 2015-12-24 Joel Brobecker <brobecker@adacore.com>
786 * lib/ada.exp (target_compile_ada_from_dir): New function.
787 (gdb_compile_ada): Reimplement avoiding the use of project files.
788 * gdb.ada/gnat_ada.gpr: Delete.
789 * gdb.ada/cond_lang.exp: Adjust test to make path before
791 * gdb.ada/small_reg_param.exp: Likewise.
793 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
795 * gdb.base/foll-vork.exp: Remove HP-UX special case.
797 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
799 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
802 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
804 * gdb.base/break.exp: Remove dead code.
805 * gdb.base/sepdebug.exp: Likewise.
807 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
809 * gdb.asm/asm-source.exp: Remove HP-UX references.
810 * gdb.base/annota1.exp: Likewise.
811 * gdb.base/annota3.exp: Likewise.
812 * gdb.base/attach.exp: Likewise.
813 * gdb.base/bigcore.exp: Likewise.
814 * gdb.base/break.exp: Likewise.
815 * gdb.base/call-ar-st.exp: Likewise.
816 * gdb.base/callfuncs.exp: Likewise.
817 * gdb.base/catch-fork-static.exp: Likewise.
818 * gdb.base/display.exp: Likewise.
819 * gdb.base/foll-exec-mode.exp: Likewise.
820 * gdb.base/foll-exec.exp: Likewise.
821 * gdb.base/foll-fork.exp: Likewise.
822 * gdb.base/foll-vfork.exp: Likewise.
823 * gdb.base/funcargs.exp: Likewise.
824 * gdb.base/hbreak2.exp: Likewise.
825 * gdb.base/inferior-died.exp: Likewise.
826 * gdb.base/interrupt.exp: Likewise.
827 * gdb.base/multi-forks.exp: Likewise.
828 * gdb.base/nodebug.exp: Likewise.
829 * gdb.base/sepdebug.exp: Likewise.
830 * gdb.base/solib1.c: Likewise.
831 * gdb.base/step-test.exp: Likewise.
832 * gdb.mi/non-stop.c: Likewise.
833 * gdb.mi/pthreads.c: Likewise.
834 * gdb.multi/bkpt-multi-exec.ex: Likewise.
835 * gdb.threads/pthreads.c: Likewise.
836 * gdb.threads/staticthreads.exp: Likewise.
837 * lib/future.exp: Likewise.
838 * lib/gdb.exp: Likewise.
839 * gdb.base/so-indr-cl.c: Remove.
840 * gdb.base/so-indr-cl.exp: Likewise.
841 * gdb.base/solib.c: Likewise.
842 * gdb.base/solib.exp: Likewise.
843 * gdb.base/solib2.c: Likewise.
845 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
847 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
848 * gdb.base/call-ar-st.exp: Likewise.
849 * gdb.base/callfuncs.exp: Likewise.
850 * gdb.base/condbreak.exp: Likewise.
851 * gdb.base/constvars.exp: Likewise.
852 * gdb.base/hbreak2.exp: Likewise.
853 * gdb.base/langs.exp: Likewise.
854 * gdb.base/list.exp: Likewise.
855 * gdb.base/long_long.exp: Likewise.
856 * gdb.base/ptype.exp: Likewise.
857 * gdb.base/scope.exp: Likewise.
858 * gdb.base/signals.exp: Likewise.
859 * gdb.base/so-impl-ld.exp: Likewise.
860 * gdb.base/varargs.exp: Likewise.
861 * gdb.base/volatile.exp: Likewise.
862 * gdb.base/whatis.exp: Likewise.
863 * gdb.cp/cplusfuncs.exp: Likewise.
864 * gdb.cp/inherit.exp: Likewise.
865 * gdb.cp/local.exp: Likewise.
866 * gdb.cp/member-ptr.exp: Likewise.
867 * gdb.cp/method.exp: Likewise.
868 * gdb.cp/overload.exp: Likewise.
869 * gdb.cp/templates.exp: Likewise.
870 * gdb.stabs/weird.exp: Likewise.
871 * lib/compiler.c: Likewise.
872 * lib/compiler.cc: Likewise.
873 * lib/cp-support.exp: Likewise.
874 * lib/gdb.exp: Likewise.
876 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
878 * configure.ac: Remove HP-UX case.
879 * configure: Regenerate.
881 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
883 * lib/gdb.exp (gdb_compile): Add function doc.
885 2015-12-17 Pedro Alves <palves@redhat.com>
888 * gdb.multi/info-threads.exp: New file.
890 2015-12-15 Yao Qi <yao.qi@linaro.org>
892 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
895 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
897 * gdb.base/history-duplicates.exp: Skip if no readline support.
899 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
901 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
903 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
905 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
907 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
909 * gdb.base/completion.exp: Skip tests that interrupt GDB with
910 ctrl-C if nointerrupts target property is set.
911 * gdb.base/double-prompt-target-event-error.exp: Likewise.
912 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
913 * gdb.base/paginate-bg-execution.exp: Likewise.
914 * gdb.base/paginate-execution-startup.exp: Likewise.
915 * gdb.base/random-signal.exp: Likewise.
916 * gdb.base/range-stepping.exp: Likewise.
917 * gdb.cp/annota2.exp: Likewise.
918 * gdb.cp/annota3.exp: Likewise.
919 * gdb.gdb/selftest.exp: Likewise.
920 * gdb.threads/continue-pending-status.exp: Likewise.
921 * gdb.threads/leader-exit.exp: Likewise.
922 * gdb.threads/manythreads.exp: Likewise.
923 * gdb.threads/pthreads.exp: Likewise.
924 * gdb.threads/schedlock.exp: Likewise.
925 * gdb.threads/sigthread.exp: Likewise.
927 2015-12-11 Don Breazeal <donb@codesourcery.com>
929 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
931 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
932 * gdb.base/foll-exec.exp (main): Enable for target remote.
933 * gdb.base/foll-fork.exp (main): Likewise.
934 * gdb.base/foll-vfork.exp (main): Likewise.
935 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
936 (proc continue_to_exit_bp_loc): Use clean_restart.
937 * gdb.base/pie-execl.exp (main): Disable for target remote.
938 * gdb.base/watch-vfork.exp (main): Enable for target remote.
939 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
940 * gdb.threads/execl.exp (main): Likewise.
941 * gdb.threads/fork-child-threads.exp (main): Likewise.
942 * gdb.threads/fork-plus-threads.exp (main): Disable for target
944 * gdb.threads/fork-thread-pending.exp (main): Enable for target
946 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
947 pid.tid style ptids, instead of just tid.
948 * gdb.threads/thread-execl.exp (main): Enable for target remote.
949 * gdb.threads/watchpoint-fork.exp (main): Likewise.
950 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
951 ptids, instead of just tid.
953 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
955 * gdb.base/list.exp (test_list_forward): Add end of file error
957 (test_repeat_list_command): Add end of file error test.
958 (test_list_backwards): Add beginning of file error test.
960 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
962 * gdb.base/list.exp (test_list_invalid_args): New function,
965 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
967 * gdb.base/list.exp (test_list): Make test names unique.
969 2015-12-11 Yao Qi <yao.qi@linaro.org>
971 * gdb.base/coremaker2.c: Remove.
973 2015-12-10 Pedro Alves <palves@redhat.com>
975 * gdb.multi/base.exp: Remove stale "spaces" references.
977 2015-12-10 Pedro Alves <palves@redhat.com>
979 * gdb.multi/base.exp: Don't use nowarnings.
980 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
981 * gdb.multi/hangout.c: Include stdio.h.
982 * gdb.multi/hello.c: Include stdlib.h.
983 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
984 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
985 * gdb.multi/multi-arch.exp: Don't use nowarnings.
987 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
989 * gdb.dwarf2/dw2-ranges-base.c: New file.
990 * gdb.dwarf2/dw2-ranges-base.exp: New file.
991 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
992 support additional line table, and debug ranges generation.
993 (Dwarf::ranges): New function, generate .debug_ranges.
994 (Dwarf::lines): Support generating simple line table programs.
995 (Dwarf::assemble): Initialise new namespace variables.
997 2015-12-09 Kevin Buettner <kevinb@redhat.com>
999 * gdb.base/async.exp (proc test_background): Add case for
1000 asynchronous execution not supported.
1002 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1004 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1005 format and change test names to make them unique.
1007 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1008 Pedro Alves <pedro@redhat.com>
1011 Add checking of floatformats setup on x86_64 hosts.
1012 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1013 (smallval, bigval): New labels/constants.
1014 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1015 float" after loading bigval and smallval.
1017 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1019 * gdb.ada/fun_overload_menu.exp: New testcase.
1020 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1022 2015-12-04 Josh Stone <jistone@redhat.com>
1024 * gdb.base/catch-fork-static.exp: New.
1026 2015-12-03 Yao Qi <yao.qi@linaro.org>
1028 * gdb.base/sizeof.c: Don't include stdio.h and
1029 ../lib/unbuffer_output.c.
1030 (main): New variable 'size' and 'value'. Remove printf and
1031 gdb_unbuffer_output. Assign return value to size and value.
1032 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1034 (check_sizeof): Check the result by printing variable 'size'.
1035 (check_valueof): Check the result by printing variable 'value'.
1037 2015-12-01 Yao Qi <yao.qi@linaro.org>
1039 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1040 for aarch64*-*-linux* target.
1042 2015-11-30 Pedro Alves <palves@redhat.com>
1044 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1046 2015-11-30 Pedro Alves <palves@redhat.com>
1048 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1049 Handle non-stop mode vCont replies.
1051 2015-11-30 Pedro Alves <palves@redhat.com>
1053 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1054 prepare_for_testing. Start gdb with "set non-stop on" appended to
1055 GDBFLAGS. Lax expected stop output.
1057 2015-11-27 Yao Qi <yao.qi@linaro.org>
1059 * gdb.arch/arm-neon.exp: New.
1060 * gdb.arch/arm-neon.c: New.
1062 2015-11-27 Yao Qi <yao.qi@linaro.org>
1064 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1066 2015-11-27 Yao Qi <yao.qi@linaro.org>
1068 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1069 frames-invalid annotation.
1071 2015-11-27 Yao Qi <yao.qi@linaro.org>
1073 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1075 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1077 * gdb.threads/names.exp: New file.
1078 * gdb.threads/names.c: New file.
1079 * README: Mention gdb,no_thread_names.
1081 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1084 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1087 2015-11-24 Pedro Alves <palves@redhat.com>
1090 * gdb.base/display.exp: Expect displays to be sorted in ascending
1091 order. Use multi_line.
1092 * gdb.base/solib-display.exp: Likewise.
1094 2015-11-24 Pedro Alves <palves@redhat.com>
1097 * gdb.base/display.exp: Expect displays to be sorted in ascending
1098 order. Use multi_line.
1099 * gdb.base/solib-display.exp: Likewise.
1101 2015-11-24 Pedro Alves <palves@redhat.com>
1104 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1105 threads in ascending order.
1106 * gdb.base/foll-fork.exp: Likewise.
1107 * gdb.base/foll-vfork.exp: Likewise.
1108 * gdb.base/multi-forks.exp: Likewise.
1109 * gdb.mi/mi-nonstop.exp: Likewise.
1110 * gdb.mi/mi-nsintrall.exp: Likewise.
1111 * gdb.multi/base.exp: Likewise.
1112 * gdb.multi/multi-arch.exp: Likewise.
1113 * gdb.python/py-inferior.exp: Likewise.
1114 * gdb.threads/break-while-running.exp: Likewise.
1115 * gdb.threads/execl.exp: Likewise.
1116 * gdb.threads/gcore-thread.exp: Likewise.
1117 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1118 * gdb.threads/kill.exp: Likewise.
1119 * gdb.threads/linux-dp.exp: Likewise.
1120 * gdb.threads/multiple-step-overs.exp: Likewise.
1121 * gdb.threads/next-bp-other-thread.exp: Likewise.
1122 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1123 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1124 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1125 * gdb.threads/thread-find.exp: Likewise.
1126 * gdb.threads/tls.exp: Likewise.
1127 * lib/mi-support.exp (mi_reverse_list): Delete.
1128 (mi_check_thread_states): No longer reverse list.
1130 2015-11-24 Pedro Alves <palves@redhat.com>
1132 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1135 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1137 * gdb.trace/actions.c: Include trace-common.h.
1138 (main): Add a location for a fast tracepoint.
1139 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1140 the normal tracepoints.
1141 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1143 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1145 * save-trace.exp: Factor out code to these...
1146 (gdb_save_tracepoints): New.
1147 (gdb_load_tracepoints): New.
1148 (do_save_load_test): New.
1150 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1152 * gdb.base/asmlabel.exp: New test.
1153 * gdb.base/asmlabel.c: New test case.
1155 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1157 * gdb.base/wrong_frame_bt_full-main.c: New file.
1158 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1159 * gdb.base/wrong_frame_bt_full.exp: New file.
1161 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1163 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1165 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1167 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1168 pstate register when comparing registers values in
1169 sparc64-*-linux-gnu targets to avoid spurious differences.
1171 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1173 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1175 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1177 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1178 as type argument to gdb_compile.
1179 * gdb.base/nested-subp2.exp: Likewise.
1180 * gdb.base/nested-subp3.exp: Likewise.
1182 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1184 * lib/dwarf.exp (_note): Fix left shift of negative value.
1185 * gdb.trace/trace-condition.exp: Likewise.
1187 2015-11-13 Yao Qi <yao.qi@linaro.org>
1189 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1190 comments about d10v.
1191 (test_scalar_returns): Likewise.
1192 * gdb.base/d10v.ld: Remove.
1193 * gdb.base/overlays.exp: Remove the target triplet checking for
1195 * gdb.base/structs.exp (test_struct_returns): Remove the
1196 comments about d10v.
1197 (test_struct_calls): Likewise.
1199 2015-11-13 Yao Qi <yao.qi@linaro.org>
1201 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1202 * gdb.base/gnu_vector.c: Don't include stdio.h.
1203 (main): Don't print res and call add_some_intvecs.
1205 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1207 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1210 (func4): Use FAST_TRACEPOINT_LABEL.
1211 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1214 (thread_function): Use FAST_TRACEPOINT_LABEL.
1215 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1217 (marker): Use FAST_TRACEPOINT_LABEL.
1218 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1219 (pendfunc1): Remove.
1220 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1221 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1223 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1224 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1227 (marker): Use FAST_TRACEPOINT_LABEL.
1228 * gdb.trace/trace-common.h: New header.
1229 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1232 (marker): Use FAST_TRACEPOINT_LABEL.
1233 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1235 (thread_function): Use FAST_TRACEPOINT_LABEL.
1237 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1239 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1241 * gdb.trace/change-loc.exp: Use global pcreg definition.
1242 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1243 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1245 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1246 * gdb.trace/pending.exp: Likewise.
1247 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1248 * gdb.trace/trace-break.exp: Likewise.
1249 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1251 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1252 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1254 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1256 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1258 * gdb.ada/fin_fun_out: New testcase.
1260 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1262 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1263 value associated with DW_AT_byte_size.
1264 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1265 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1268 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1270 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1271 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1273 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1274 gdb.dwarf2/dw2-canonicalize-type.exp,
1275 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1276 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1277 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1278 provided by gdb_target_symbol_prefix_flags_asm.
1279 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1280 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1281 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1282 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1283 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1284 macros where needed). Use this macro for symbols which require
1285 the prefix provided by SYMBOL_PREFIX.
1287 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1289 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1291 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1292 representing expressions, of more than one list element.
1293 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1294 to prepend linker symbol prefix to f.
1295 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1296 table_1 and table_2.
1297 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1298 Likewise, for f and g.
1299 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1301 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1303 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1304 table_1_ptr and table_2_ptr.
1306 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1307 Joel Brobecker <brobecker@adacore.com>
1309 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1311 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1313 * gdb.reverse/s390-mvcle.c: New test.
1314 * gdb.reverse/s390-mvcle.exp: New file.
1315 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1317 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1319 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1321 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1323 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1325 * gdb.reverse/getresuid-reverse.exp: Likewise.
1326 * gdb.reverse/pipe-reverse.exp: Likewise.
1327 * gdb.reverse/readv-reverse.exp: Likewise.
1328 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1329 * gdb.reverse/time-reverse.exp: Likewise.
1330 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1332 2015-10-30 Yao Qi <yao.qi@linaro.org>
1334 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1335 (empty_cycle): Remove.
1336 (main): Don't call empty_cycle. Don't use watch_count_done.
1337 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1338 empty_cycle. Rewrite the code counting HW watchpoints.
1340 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1342 * gdb.reverse/fstatat-reverse.c: New test.
1343 * gdb.reverse/fstatat-reverse.exp: New file.
1344 * gdb.reverse/getresuid-reverse.c: New test.
1345 * gdb.reverse/getresuid-reverse.exp: New file.
1346 * gdb.reverse/pipe-reverse.c: New test.
1347 * gdb.reverse/pipe-reverse.exp: New file.
1348 * gdb.reverse/readv-reverse.c: New test.
1349 * gdb.reverse/readv-reverse.exp: New file.
1350 * gdb.reverse/recvmsg-reverse.c: New test.
1351 * gdb.reverse/recvmsg-reverse.exp: New file.
1352 * gdb.reverse/time-reverse.c: New test.
1353 * gdb.reverse/time-reverse.exp: New file.
1354 * gdb.reverse/waitpid-reverse.c: New test.
1355 * gdb.reverse/waitpid-reverse.exp: New file.
1357 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1359 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1361 2015-10-26 Doug Evans <dje@google.com>
1364 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1365 * gdb.dwarf2/bad-regnum.c: New file.
1366 * gdb.dwarf2/bad-regnum.exp: New file.
1368 2015-10-26 Doug Evans <dje@google.com>
1371 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1374 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1376 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1377 for a change by "Mention language in compile error message".
1379 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1382 * gdb.python/py-type.c (C::a_method): New.
1383 (C::a_const_method): New.
1384 (C::a_static_method): New.
1386 * gdb.python/py-type.exp (test_fields): Test getting fields
1387 from function and method.
1389 2015-10-21 Keven Boell <keven.boell@intel.com>
1391 * gdb.fortran/vla-alloc-assoc.exp: New file.
1392 * gdb.fortran/vla-datatypes.exp: New file.
1393 * gdb.fortran/vla-datatypes.f90: New file.
1394 * gdb.fortran/vla-history.exp: New file.
1395 * gdb.fortran/vla-ptype-sub.exp: New file.
1396 * gdb.fortran/vla-ptype.exp: New file.
1397 * gdb.fortran/vla-sizeof.exp: New file.
1398 * gdb.fortran/vla-sub.f90: New file.
1399 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1400 * gdb.fortran/vla-value-sub-finish.exp: New file.
1401 * gdb.fortran/vla-value-sub.exp: New file.
1402 * gdb.fortran/vla-value.exp: New file.
1403 * gdb.fortran/vla-ptr-info.exp: New file.
1404 * gdb.mi/mi-vla-fortran.exp: New file.
1405 * gdb.mi/vla.f90: New file.
1407 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1409 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1410 of hardwired timeout value.
1412 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1413 Pedro Alves <palves@redhat.com>
1415 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1416 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1418 2015-10-19 Josh Stone <jistone@redhat.com>
1420 * gdb.base/catch-syscall.c: Include <sched.h>.
1421 (unknown_syscall): New variable.
1422 (main): Trigger a vfork and an unknown syscall.
1423 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1424 (unknown_syscall_number): Likewise.
1425 (check_call_to_syscall): Accept an optional syscall pattern.
1426 (check_return_from_syscall): Likewise.
1427 (check_continue): Likewise.
1428 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1429 (test_catch_syscall_skipping_return): New test toggling off 'catch
1430 syscall' to step over the syscall return, then toggling back on.
1431 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1432 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1433 (do_syscall_tests): Call test_catch_syscall_without_args and
1434 test_catch_syscall_mid_vfork.
1435 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1436 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1438 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1440 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1441 print g_vE): Add new pass patterns.
1442 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1443 print various symbol names for vptr fields.
1445 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1447 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1450 2015-10-12 Yao Qi <yao.qi@linaro.org>
1452 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1454 2015-10-12 Yao Qi <yao.qi@linaro.org>
1456 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1457 is aarch64*-*-linux*.
1459 2015-10-12 Yao Qi <yao.qi@linaro.org>
1461 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1462 (can_relocate_bcond_true): ... it.
1463 (can_relocate_bcond_false): New function.
1465 (can_relocate_bl): Likewise.
1466 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1469 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1471 * gdb.base/nested-addr.c: New file.
1472 * gdb.base/nested-addr.exp: New testcase.
1474 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1476 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1477 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1478 its output. Ignore the output of "record goto begin" and instead
1479 check that GDB is replaying.
1481 2015-10-09 Pedro Alves <palves@redhat.com>
1483 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1484 (top level): Use it in the run with no args test.
1486 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1488 * gdb.dlang/properties.exp: New file.
1490 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1492 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1493 whether or not address 0x1000 is mapped on the target.
1495 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1497 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1500 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1502 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1503 instruction-history test.
1505 2015-09-28 Doug Evans <dje@google.com>
1507 * gdb.base/gcore.c (array_func): Add reference to static_array.
1509 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1514 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1516 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1517 short or char as base type.
1519 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1521 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1522 to allow any size enum.
1524 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1526 * gdb.ada/array_ptr_renaming.exp: New testcase.
1527 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1528 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1530 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1532 * gdb.trace/ftrace-lock.c: New file.
1533 * gdb.trace/ftrace-lock.exp: New file.
1535 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1537 * gdb.arch/insn-reloc.c: New file.
1538 * gdb.arch/ftrace-insn-reloc.exp: New file.
1540 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1542 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1544 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1545 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1546 * gdb.trace/range-stepping.c: Likewise.
1547 * gdb.trace/trace-break.c: Likewise.
1548 * gdb.trace/trace-mt.c (thread_function): Likewise.
1549 * gdb.trace/ftrace.c (marker): Likewise.
1550 * gdb.trace/trace-condition.c (marker): Likewise.
1551 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1552 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1555 2015-09-18 Doug Evans <xdje42@gmail.com>
1557 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1558 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1560 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1562 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1565 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1567 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1568 the pending breakpoint. Remove timeout override for "Run till
1569 MI pending breakpoint on pendfunc3 on thread 2" test.
1571 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1573 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1576 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1578 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1579 in breakpoint filename pattern.
1581 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1583 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1585 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1587 * gdb.linespec/explicit.exp: Check for readline support for
1588 tab-completion tests. Fix obvious typo.
1590 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1592 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1595 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1597 * gdb.btrace/non-stop.c: New.
1598 * gdb.btrace/non-stop.exp: New.
1600 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1601 Yao Qi <yao.qi@linaro.org>
1603 * gdb.trace/trace-condition.c: New file.
1604 * gdb.trace/trace-condition.exp: New file.
1606 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1608 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1609 for testing bytecode compilation.
1611 2015-09-16 Pedro Alves <palves@redhat.com>
1612 Sandra Loosemore <sandra@codesourcery.com>
1614 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1615 (SECONDS): Redefine.
1616 (main): Call pthread_kill and alarm early.
1617 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1619 (test): If the target can't hardware step and doesn't support
1620 displaced stepping, increase the timeout.
1622 2015-09-16 Pedro Alves <palves@redhat.com>
1624 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1625 (enable_debug): New procedures.
1626 (test): Use them. Bail out if waiting for threads fails.
1627 (top level): Bail out if a test fails.
1629 2015-09-16 Yao Qi <yao.qi@linaro.org>
1631 * gdb.asm/asm-source.exp: Set asm-arch for
1632 aarch64*-*-* target.
1633 * gdb.asm/aarch64.inc: New file.
1635 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1637 * gdb.ada/array_of_variable_length.exp: New testcase.
1638 * gdb.ada/array_of_variable_length/foo.adb: New file.
1639 * gdb.ada/array_of_variable_length/pck.adb: New file.
1640 * gdb.ada/array_of_variable_length/pck.ads: New file.
1642 2015-09-15 Doug Evans <dje@google.com>
1644 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1645 of function static local variable.
1647 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1649 * gdb.threads/tls-so_extern.exp: New test file.
1650 * gdb.threads/tls-so_extern.c: New test file.
1651 * gdb.threads/tls-so_extern_main.c: New test file.
1653 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 * gdb.opt/solib-intra-step-lib.c: New file.
1656 * gdb.opt/solib-intra-step-main.c: New file.
1657 * gdb.opt/solib-intra-step.exp: New file.
1659 2015-09-15 Pedro Alves <palves@redhat.com>
1661 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1662 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1664 2015-09-14 Pedro Alves <palves@redhat.com>
1666 * gdb.base/hook-stop-continue.c: Delete.
1667 * gdb.base/hook-stop-continue.exp: Delete.
1668 * gdb.base/hook-stop-frame.c: Delete.
1669 * gdb.base/hook-stop-frame.exp: Delete.
1670 * gdb.base/hook-stop.c: New file.
1671 * gdb.base/hook-stop.exp: New file.
1673 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1675 * gdb.ada/access_to_packed_array.exp: New testcase.
1676 * gdb.ada/access_to_packed_array/foo.adb: New file.
1677 * gdb.ada/access_to_packed_array/pack.adb: New file.
1678 * gdb.ada/access_to_packed_array/pack.ads: New file.
1680 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1682 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1685 2015-09-11 Don Breazeal <donb@codesourcery.com>
1687 * gdb.base/foll-exec.c: Add copyright header. Fix
1689 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1690 (do_exec_tests): Use clean_restart in place of zap_session,
1691 and for test initialization. Fix formatting issues. Use
1692 fail in place of perror.
1693 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1694 an expect statement to match an expression with output from
1695 the program under debug.
1696 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1697 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1698 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1699 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1700 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1702 2015-09-09 Doug Evans <dje@google.com>
1704 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1706 2015-09-09 Doug Evans <dje@google.com>
1708 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1710 2015-09-09 Doug Evans <dje@google.com>
1712 * gdb.base/savedregs.exp: Fix typo.
1714 2015-09-09 Pedro Alves <palves@redhat.com>
1716 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1718 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1720 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1721 command actually switches threads. Give up on remaining
1722 tests if target fails to stop at breakpoint.
1724 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1726 * gdb.ada/funcall_char.exp: New testcase.
1727 * gdb.ada/funcall_char/foo.adb: New file.
1729 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1731 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1732 expected outputs. Add two testcases for completing ambiguous
1734 * gdb.ada/complete/aux_pck.adb: New file.
1735 * gdb.ada/complete/aux_pck.ads: New file.
1736 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1737 Ambiguous_Func functions.
1738 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1739 * gdb.ada/complete/pck.adb: Likewise.
1741 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1743 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1744 failures to run the test program under GDB.
1746 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1748 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1751 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1753 * gdb.base/run-after-attach.exp: New test file.
1754 * gdb.base/run-after-attach.c: New test file.
1756 2015-08-26 Don Breazeal <donb@codesourcery.com>
1758 * gdb.base/foll-exec-2.c: New test program.
1759 * gdb.base/foll-exec-2.exp: New test.
1761 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1763 * gdb.base/nested-subp1.exp: New file.
1764 * gdb.base/nested-subp1.c: New file.
1765 * gdb.base/nested-subp2.exp: New file.
1766 * gdb.base/nested-subp2.c: New file.
1767 * gdb.base/nested-subp3.exp: New file.
1768 * gdb.base/nested-subp3.c: New file.
1770 2015-08-24 Pedro Alves <palves@redhat.com>
1772 * gdb.server/connect-without-multi-process.c: New file.
1773 * gdb.server/connect-without-multi-process.exp: New file.
1775 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1777 * gdb.opt/inline-markers.c: Make z int.
1779 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1781 * gdb.opt/inline-markers.c: Make z volatile.
1783 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1785 * gdb.opt/inline-bt.c: New volatile global z.
1786 * gdb.opt/inline-cmds.c: Likewise.
1787 * gdb.opt/inline-locals.c: Likewise.
1788 * gdb.opt/inline-markers.c: New extern global z.
1790 (inline_fn): Likewise.
1792 2015-08-24 Pedro Alves <palves@redhat.com>
1794 * config/m32r-stub.exp: Remove file.
1795 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1796 * gdb.base/call-rt-st.exp: Likewise.
1797 * gdb.base/call-strs.exp: Likewise.
1798 * gdb.base/default.exp: Remove references to h8300-*-hms and
1800 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1802 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1804 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1805 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1806 and "return" use KFAIL when GDB can not read/write the vector
1809 2015-08-21 Gary Benson <gbenson@redhat.com>
1811 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1813 2015-08-20 Pedro Alves <palves@redhat.com>
1815 * gdb.server/solib-list.exp: No longer expect an interior stop in
1818 2015-08-20 Pedro Alves <palves@redhat.com>
1820 * gdb.server/connect-stopped-target.c: New file.
1821 * gdb.server/connect-stopped-target.exp: New file.
1823 2015-08-20 Pedro Alves <palves@redhat.com>
1825 * gdb.dwarf2/comp-unit-lang.exp: New file.
1826 * gdb.dwarf2/comp-unit-lang.c: New file.
1828 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1830 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1831 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1833 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1835 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1836 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1838 2015-08-18 Doug Evans <dje@google.com>
1839 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1841 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1842 skip_python_tests. New arg prompt_regexp.
1843 (skip_python_tests): New function.
1844 * lib/mi-support.exp (mi_skip_python_tests): New function.
1845 * gdb.python/py-mi-objfile-gdb.py: New file.
1846 * gdb.python/py-mi-objfile.c: New file.
1847 * gdb.python/py-mi-objfile.exp: New file.
1849 2015-08-17 Keith Seitz <keiths@redhat.com>
1851 * gdb.linespec/explicit.exp: Move strace test from here ...
1852 * gdb.trace/strace.exp: ... to here.
1854 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1856 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1857 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1859 2015-08-14 Doug Evans <xdje42@gmail.com>
1861 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1862 inferior before selecting a new file.
1864 2015-08-14 Doug Evans <xdje42@gmail.com>
1866 * gdb.mi/mi-disassemble.exp: Update.
1867 * gdb.base/disasm-optim.S: New file.
1868 * gdb.base/disasm-optim.c: New file.
1869 * gdb.base/disasm-optim.h: New file.
1870 * gdb.base/disasm-optim.exp: New file.
1872 2015-08-14 Keith Seitz <keiths@redhat.com>
1874 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1877 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1879 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1881 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1883 * gdb.ada/fun_renaming.exp: New testcase.
1884 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1885 * gdb.ada/fun_renaming/pack.adb: New file.
1886 * gdb.ada/fun_renaming/pack.ads: New file.
1888 2015-08-12 Keith Seitz <keiths@redhat.com>
1890 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1891 gdb_get_line_number.
1893 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1895 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1896 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1897 gdb.base/dso2dso.exp: New files.
1899 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1900 Pedro Alves <palves@redhat.com>
1901 Keith Seitz <keiths@redhat.com>
1903 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1906 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1908 * gdb.base/gdbhistsize-history.exp
1909 (test_histsize_history_setting): Use save_vars.
1910 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1912 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1913 * gdb.base/readline.exp: Use save_vars.
1915 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1917 * lib/gdb.exp (save_vars): New proc.
1919 2015-08-11 Keith Seitz <keiths@redhat.com>
1921 * gdb.base/help.exp: Update help_breakpoint_text.
1923 2015-08-11 Keith Seitz <keiths@redhat.com>
1925 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1926 (at toplevel): Call test_explicit_breakpoints.
1927 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1929 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1930 breakpoint conditions, "-cond".
1932 2015-08-11 Keith Seitz <keiths@redhat.com>
1934 * gdb.linespec/3explicit.c: New file.
1935 * gdb.linespec/cpexplicit.cc: New file.
1936 * gdb.linespec/cpexplicit.exp: New file.
1937 * gdb.linespec/explicit.c: New file.
1938 * gdb.linespec/explicit.exp: New file.
1939 * gdb.linespec/explicit2.c: New file.
1940 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1941 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1942 before using in the matching pattern.
1943 Clarify that `prefix' is a regular expression.
1945 2015-08-11 Keith Seitz <keiths@redhat.com>
1947 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1949 Add tests for missing ",FMT" and ",".
1951 2015-08-10 Doug Evans <dje@google.com>
1952 Keith Seitz <keiths@redhat.com>
1955 * gdb.base/completion.exp: Add location completer tests.
1957 2015-08-07 Pedro Alves <palves@redhat.com>
1959 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1961 (top level): Run do_test with and without displaced stepping.
1963 2015-08-07 Pedro Alves <palves@redhat.com>
1965 * gdb.base/valgrind-disp-step.c: New file.
1966 * gdb.base/valgrind-disp-step.exp: New file.
1968 2015-08-07 Pedro Alves <palves@redhat.com>
1970 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1972 (main): Add alarm. Run an infinite loop instead of calling
1974 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1976 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1978 (main): Add alarm. Run an infinite loop instead of calling
1980 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1983 2015-08-07 Pedro Alves <palves@redhat.com>
1985 * gdb.base/checkpoint-ns.exp: New file.
1986 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1989 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1991 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1992 * gdb.btrace/instruction_history.exp: Update.
1993 * gdb.btrace/tsx.exp: New.
1994 * gdb.btrace/tsx.c: New.
1996 2015-08-06 Pedro Alves <palves@redhat.com>
1998 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2000 * gdb.reverse/until-precsave.exp: Bump timeouts.
2002 2015-08-06 Pedro Alves <palves@redhat.com>
2004 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2006 2015-08-06 Pedro Alves <palves@redhat.com>
2009 * gdb.threads/process-dies-while-handling-bp.c: New file.
2010 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2012 2015-08-06 Pedro Alves <palves@redhat.com>
2014 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2015 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2017 2015-08-05 Pedro Alves <palves@redhat.com>
2019 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2020 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2022 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2024 * gdb.base/bp-permanent.exp: Report test as unsupported if
2025 the target cannot stop at the permanent breakpoint.
2027 2015-08-03 Doug Evans <dje@google.com>
2029 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2032 2015-08-03 Doug Evans <dje@google.com>
2034 * Makefile.in (workers/%.worker, build-perf): New rule.
2035 (GDB_PERFTEST_MODE): New variable.
2036 (check-perf): Use it.
2037 (clean): Clean up gdb.perf parallel build subdirs.
2038 * lib/build-piece.exp: New file.
2039 * lib/gdb.exp (make_gdb_parallel_path): New function
2040 (standard_output_file, standard_temp_file): Call it.
2041 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2043 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2045 2015-08-03 Doug Evans <dje@google.com>
2047 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2048 (LOG_FILE_NAME): New global.
2049 (TextReporter.__init__): Initialize self.txt_sum.
2050 (TextReporter.report): Add support for multiple data-points.
2051 Move report to perftest.sum, put raw data in perftest.log.
2052 (TextReporter.start): Open sum and log files.
2053 (TextReporter.end): Close sum and log files.
2054 * gdb.perf/lib/perftest/testresult.py
2055 (SingleStatisticTestResult.record): Handle multiple data-points.
2057 2015-07-31 Pedro Alves <palves@redhat.com>
2059 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2060 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2061 kill_wait_spawned_process instead of explicit "kill -9".
2062 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2063 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2064 kill_wait_spawned_process.
2065 * gdb.base/attach-twice.exp: Likewise.
2066 * gdb.base/attach.exp: Likewise.
2067 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2069 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2070 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2071 kill_wait_spawned_process.
2072 * gdb.base/valgrind-infcall.exp: Likewise.
2073 * gdb.multi/multi-attach.exp: Likewise.
2074 * gdb.python/py-prompt.exp: Likewise.
2075 * gdb.python/py-sync-interp.exp: Likewise.
2076 * gdb.server/ext-attach.exp: Likewise.
2077 * gdb.threads/attach-into-signal.exp (corefunc): Use
2078 spawn_wait_for_attach, spawn_id_get_pid and
2079 kill_wait_spawned_process.
2080 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2081 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2082 spawn_id_get_pid and kill_wait_spawned_process.
2083 * gdb.threads/attach-stopped.exp (corefunc): Use
2084 spawn_wait_for_attach, spawn_id_get_pid and
2085 kill_wait_spawned_process.
2086 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2087 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2088 kill_wait_spawned_process instead of explicit "kill -9".
2089 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2090 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2091 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2092 processes. Don't map cygwin/windows pids here. Now returns a
2095 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2097 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2098 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2101 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2103 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2105 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2108 2014-05-21 Mark Wielaard <mjw@redhat.com>
2110 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2112 2015-07-30 Pedro Alves <palves@redhat.com>
2114 * linux-low.c (handle_extended_wait): Set the child's last
2115 reported status to TARGET_WAITKIND_STOPPED.
2117 2015-07-30 Pedro Alves <palves@redhat.com>
2120 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2121 only shows inferior 1.
2123 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2124 Pedro Alves <palves@redhat.com>
2127 * gdb.threads/fork-plus-threads.c: New file.
2128 * gdb.threads/fork-plus-threads.exp: New file.
2130 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2132 * gdb.base/batch-preserve-term-settings.exp
2133 (test_terminal_settings_preserved_after_cli_exit): Use
2136 2015-07-29 Pedro Alves <palves@redhat.com>
2137 Don Breazeal <donb@codesourcery.com>
2139 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2140 output from both inferior_spawn_id and gdb_spawn_id.
2142 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2144 * gdb.threads/attach-into-signal.exp (corefunc): Use
2145 with_test_prefix on nested loops, uniquefying the test messages.
2147 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2149 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2152 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2154 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2156 (test_terminal_settings_preserved_after_sigterm): New test.
2158 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2160 * gdb.base/batch-preserve-term-settings.exp
2161 (test_terminal_settings_preserved_after_cli_exit): New test.
2163 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2165 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2166 manipulation of saved_gdbflags.
2167 (test_terminal_settings_preserved): Remove global declaration of
2168 the unused variable pagination_prompt. Remove manipulation of
2169 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2172 2015-07-29 Pedro Alves <palves@redhat.com>
2174 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2176 2015-07-29 Pedro Alves <palves@redhat.com>
2178 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2181 2015-07-29 Pedro Alves <palves@redhat.com>
2183 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2184 (main): Call gdb_unbuffer_output.
2185 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2186 (main): Call gdb_unbuffer_output.
2187 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2188 (main): Call gdb_unbuffer_output.
2189 * gdb.base/call-strs.exp: Adjust to step over the
2190 gdb_unbuffer_output call.
2191 * gdb.base/catch-gdb-caused-signals.c: Include
2192 "../lib/unbuffer_output.c".
2193 (main): Call gdb_unbuffer_output.
2194 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2195 (main): Call gdb_unbuffer_output.
2196 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2197 (main): Call gdb_unbuffer_output.
2198 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2199 (main): Call gdb_unbuffer_output.
2200 * gdb.base/shlib-call.exp: Adjust to step over the
2201 gdb_unbuffer_output call.
2202 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2203 (main): Call gdb_unbuffer_output.
2204 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2205 (main): Call gdb_unbuffer_output.
2206 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2207 (main): Rename to ...
2209 (main): Reimplement.
2210 * gdb.base/varargs.exp: Run to test instead of to main.
2211 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2212 (main): Call gdb_unbuffer_output.
2214 2015-07-29 Pedro Alves <palves@redhat.com>
2216 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2217 factore out from mi_continue_dprintf. For call-style dprintfs,
2218 expect dprintf output out of $inferior_spawn_id.
2219 (mi_continue_dprintf): Use mi_expect_dprintf.
2220 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2221 (main): Call gdb_unbuffer_output.
2223 2015-07-29 Pedro Alves <palves@redhat.com>
2225 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2226 (default_mi_gdb_start): Set inferior_spawn_id instead of
2227 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2229 (mi_gdb_test): Always expect inferior output from both
2230 $inferior_spawn_id and $gdb_spawn_id.
2232 2015-07-29 Pedro Alves <palves@redhat.com>
2234 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2235 send_inferior and $inferior_spawn_id.
2237 2015-07-29 Pedro Alves <palves@redhat.com>
2239 * gdb.gdb/complaints.exp (test_initial_complaints)
2240 (test_serial_complaints, test_short_complaints): Use
2242 (test_empty_complaint): Handle $inferior_spawn_id !=
2245 2015-07-29 Pedro Alves <palves@redhat.com>
2247 * gdb.base/varargs.exp: Use gdb_test_stdio.
2249 2015-07-29 Pedro Alves <palves@redhat.com>
2251 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2253 2015-07-29 Pedro Alves <palves@redhat.com>
2255 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2257 2015-07-29 Pedro Alves <palves@redhat.com>
2259 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2260 parameter into two new parameters, "inf_result" and "gdb_result".
2261 Expect inferior output and gdb output from $inferior_spawn_id and
2262 $gdb_spawn_id, respectively. Adjust all callers.
2264 2015-07-29 Pedro Alves <palves@redhat.com>
2266 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2267 of gdb_test_sequence.
2269 2015-07-29 Pedro Alves <palves@redhat.com>
2271 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2272 (saw_spurious_output): Expect inferior output from
2273 $inferior_spawn_id. Use gdb_test_stdio.
2275 2015-07-29 Pedro Alves <palves@redhat.com>
2277 * gdb.base/dprintf.exp: Use standard_testfile. Change
2278 prepare_for_testing call.
2279 (srcfile): Don't set.
2280 (restart): New procedure.
2281 (test_dprintf): New procecure, use to continue over dprintfs.
2282 (test_call, test_agent): New procedures, tests moved here.
2283 Restart gdb and recreate dprintfs. Adjust expected output.
2285 2015-07-29 Pedro Alves <palves@redhat.com>
2287 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2289 2015-07-29 Pedro Alves <palves@redhat.com>
2291 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2293 2015-07-29 Pedro Alves <palves@redhat.com>
2295 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2298 2015-07-29 Pedro Alves <palves@redhat.com>
2300 * lib/gdb.exp (gdb_test_stdio): New procedure.
2302 2015-07-29 Pedro Alves <palves@redhat.com>
2304 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2306 2015-07-29 Pedro Alves <palves@redhat.com>
2308 * gdb.base/call-signal-resume.exp: Remove check for
2309 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2310 * gdb.base/unwindonsignal.exp: Likewise.
2311 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2312 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2314 2015-07-29 Pedro Alves <palves@redhat.com>
2316 * gdb.base/siginfo-addr.c (pass): New function.
2317 (handler): Call it iff si_addr is correct.
2318 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2319 Set a breakpoint at "pass" and continue to it.
2321 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2323 * gdb.python/py-objfile.exp: Make some tests have unique names.
2324 * gdb.python/py-pp-registration.exp: Likewise.
2326 2015-07-28 Pedro Alves <palves@redhat.com>
2328 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2330 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2332 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2334 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2336 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2338 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2340 * gdb.base/gdb-sigterm-2.exp: New test.
2342 2015-07-25 Doug Evans <xdje42@gmail.com>
2345 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2346 (workers/%.worker, build-perf): New rule.
2347 (GDB_PERFTEST_MODE): New variable.
2348 (check-perf): Use it.
2349 (clean): Clean up gdb.perf parallel build subdirs.
2350 * lib/build-piece.exp: New file.
2351 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2352 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2354 (standard_temp_file): Ditto.
2355 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2358 2015-07-24 Doug Evans <dje@google.com>
2360 * gdb.perf/lib/perftest/utils.py: New file.
2361 * gdb.perf/gm-hello.cc: New file.
2362 * gdb.perf/gm-pervasive-typedef.cc: New file.
2363 * gdb.perf/gm-pervasive-typedef.h: New file.
2364 * gdb.perf/gm-std.cc: New file.
2365 * gdb.perf/gm-std.h: New file.
2366 * gdb.perf/gm-use-cerr.cc: New file.
2367 * gdb.perf/gm-utils.h: New file.
2368 * gdb.perf/gmonster-null-lookup.py: New file.
2369 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2370 * gdb.perf/gmonster-print-cerr.py: New file.
2371 * gdb.perf/gmonster-ptype-string.py: New file.
2372 * gdb.perf/gmonster-runto-main.py: New file.
2373 * gdb.perf/gmonster-select-file.py: New file.
2374 * gdb.perf/gmonster1-null-lookup.exp: New file.
2375 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2376 * gdb.perf/gmonster1-print-cerr.exp: New file.
2377 * gdb.perf/gmonster1-ptype-string.exp: New file.
2378 * gdb.perf/gmonster1-runto-main.exp: New file.
2379 * gdb.perf/gmonster1-select-file.exp: New file.
2380 * gdb.perf/gmonster1.cc: New file.
2381 * gdb.perf/gmonster1.exp: New file.
2382 * gdb.perf/gmonster2-null-lookup.exp: New file.
2383 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2384 * gdb.perf/gmonster2-print-cerr.exp: New file.
2385 * gdb.perf/gmonster2-ptype-string.exp: New file.
2386 * gdb.perf/gmonster2-runto-main.exp: New file.
2387 * gdb.perf/gmonster2-select-file.exp: New file.
2388 * gdb.perf/gmonster2.cc: New file.
2389 * gdb.perf/gmonster2.exp: New file.
2391 2015-07-24 Doug Evans <dje@google.com>
2393 * gdb.perf/README: New file.
2394 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2395 * lib/gen-perf-test.exp: New file.
2397 2015-07-24 Doug Evans <dje@google.com>
2399 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2400 (PerfTest::startup): New function.
2401 (PerfTest::run): Return result of calling body.
2402 (PerfTest::assemble): Rewrite.
2403 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2404 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2405 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2406 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2407 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2409 2015-07-24 Doug Evans <dje@google.com>
2411 * lib/gdb.exp (clean_restart): Make executable optional.
2413 2015-07-24 Doug Evans <dje@google.com>
2415 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2416 compiler_info references.
2417 * gdb.cp/temargs.exp: Ditto.
2418 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2419 (get_compiler_info): Early exit if already computed. Set compiler_info
2420 to "unknown" if there was a problem.
2421 (test_compiler_info): Add function comment. Call get_compiler_info.
2423 2015-07-24 Doug Evans <dje@google.com>
2425 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2426 (workers/%.worker, build-perf): New rule.
2427 (GDB_PERFTEST_MODE): New variable.
2428 (check-perf): Use it.
2429 (clean): Clean up gdb.perf parallel build subdirs.
2430 * lib/build-piece.exp: New file.
2431 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2432 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2434 (standard_temp_file): Ditto.
2435 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2438 2015-07-24 Doug Evans <dje@google.com>
2440 * lib/future.exp (gdb_default_target_compile): New option
2442 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2445 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2447 * gdb.base/catch-syscall.exp: Call gdb_exit before
2450 2015-07-24 Pedro Alves <palves@redhat.com>
2452 * gdb.python/py-events.exp: Accept output between the stop event
2454 * gdb.python/py-evsignal.exp: Likewise.
2455 * gdb.python/py-evthreads.exp: Likewise.
2457 2015-07-24 Pedro Alves <palves@redhat.com>
2460 * gdb.threads/non-ldr-exit.c: New file.
2461 * gdb.threads/non-ldr-exit.exp: New file.
2463 2015-07-24 Yao Qi <yao.qi@linaro.org>
2465 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2468 2015-07-24 Yao Qi <yao.qi@linaro.org>
2470 * gdb.server/ext-restart.exp: New file.
2472 2015-07-24 Yao Qi <yao.qi@linaro.org>
2474 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2476 * gdb.server/ext-wrapper.exp: New file.
2478 2015-07-23 Doug Evans <dje@google.com>
2480 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2481 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2483 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2485 * gdb.ada/var_arr_typedef.exp: New testcase.
2486 * gdb.ada/var_arr_typedef/pack.adb: New file.
2487 * gdb.ada/var_arr_typedef/pack.ads: New file.
2488 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2490 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2492 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2494 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2496 * gdb.arch/i386-biarch-core.exp: Replace istarget
2497 by "complete set gnutarget". Remove expectation for the "core-file"
2500 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2502 Revert the previous commit:
2503 Tests for validate symbol file using build-id.
2505 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2507 Tests for validate symbol file using build-id.
2508 * gdb.base/solib-mismatch-lib.c: New file.
2509 * gdb.base/solib-mismatch-libmod.c: New file.
2510 * gdb.base/solib-mismatch.c: New file.
2511 * gdb.base/solib-mismatch.exp: New file.
2513 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2515 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2517 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2518 * gdb.base/siginfo.exp: Likewise.
2519 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2521 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2523 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2525 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2527 * gdb.trace/range-stepping.exp: Check that the target supports
2530 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2532 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2534 2015-07-14 Pedro Alves <palves@redhat.com>
2536 * gdb.base/killed-outside.exp: New file.
2537 * gdb.base/killed-outside.c: New file.
2539 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2541 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2543 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2545 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2547 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2548 infcall tests instead of setting up for KFAIL.
2550 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2552 * gdb.btrace/record_goto-step.exp: New.
2554 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2557 * gdb.compile/compile.c (struct struct_type): Add volatile to
2559 * gdb.compile/compile.exp
2560 (compile code struct_object.selffield = &struct_object): Skip further
2561 struct_object tests if this one xfails.
2563 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2566 * gdb.trace/ax.exp: Add test.
2568 2015-07-07 Yao Qi <yao.qi@linaro.org>
2570 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2571 instead of istarget "aarch64*-*-*".
2572 * gdb.arch/aarch64-fp.exp: Likewise.
2573 * gdb.base/float.exp: Likewise.
2574 * gdb.reverse/aarch64.exp: Likewise.
2575 * lib/gdb.exp (is_aarch64_target): New proc.
2577 2015-07-07 Yao Qi <yao.qi@linaro.org>
2579 * lib/gdb.exp (is_aarch32_target): New proc.
2580 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2581 instead of "istarget "arm*-*-*"".
2582 * gdb.arch/arm-disp-step.exp: Likewise.
2583 * gdb.arch/thumb-bx-pc.exp: Likewise.
2584 * gdb.arch/thumb-prologue.exp: Likewise.
2585 * gdb.arch/thumb-singlestep.exp: Likewise.
2586 * gdb.base/disp-step-syscall.exp: Likewise.
2587 * gdb.base/float.exp: Likewise.
2589 2015-07-07 Yao Qi <yao.qi@linaro.org>
2591 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2592 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2594 2015-07-07 Yao Qi <yao.qi@linaro.org>
2596 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2597 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2599 * gdb.multi/multi-arch.exp: Likewise.
2601 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2603 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2606 2015-07-07 Yao Qi <yao.qi@linaro.org>
2608 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2610 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2612 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2613 '[' and ']' characters.
2615 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2617 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2619 2015-06-29 Pedro Alves <palves@redhat.com>
2622 * gdb.threads/hand-call-new-thread.c: New file.
2623 * gdb.threads/hand-call-new-thread.c: New file.
2625 2015-06-26 Keith Seitz <keiths@redhat.com>
2626 Doug Evans <dje@google.com>
2629 * gdb.cp/var-tag-2.cc: New file.
2630 * gdb.cp/var-tag-3.cc: New file.
2631 * gdb.cp/var-tag-4.cc: New file.
2632 * gdb.cp/var-tag.cc: New file.
2633 * gdb.cp/var-tag.exp: New file.
2635 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2637 * gdb.base/history-duplicates.exp: New test.
2639 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2641 * gdb.base/completion.exp: Test the completion of the "focus"
2644 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 * gdb.arch/amd64-prologue-skip.S: New file.
2647 * gdb.arch/amd64-prologue-skip.exp: New file.
2649 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2651 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2652 is_address_zero_readable check.
2654 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2656 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2657 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2659 2015-06-24 Yao Qi <yao.qi@linaro.org>
2661 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2664 2015-06-24 Yao Qi <yao.qi@linaro.org>
2666 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2667 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2668 * gdb.base/siginfo-thread.exp: Likewise.
2670 2015-06-22 Yao Qi <yao.qi@linaro.org>
2672 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2674 2015-06-22 Yao Qi <yao.qi@linaro.org>
2676 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2678 (skip_hw_watchpoint_tests): Likewise.
2680 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2682 * gdb.base/gdbinit-history.exp: Test the interaction between
2683 setting GDBHISTSIZE and setting the history size via .gdbinit.
2685 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2688 * gdb.base/gdbhistsize-history.exp: New test.
2690 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2692 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2694 * gdb.base/readline.exp: Likewise.
2696 2015-06-17 Yao Qi <yao.qi@linaro.org>
2698 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2701 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2703 * gdb.base/gdbinit-history.exp: Add test case to check that
2704 an unlimited history file does not get truncated on exit.
2706 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2708 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2709 (VECTOR): New macro. Use it...
2710 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2711 ...for these typedefs.
2712 (int8, char1, int1, double1): New typedefs.
2713 (struct just_int2, struct two_int2): New structures.
2714 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2715 (add_structvecs, add_singlevecs): New functions.
2716 (main): Call add_some_intvecs twice.
2717 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2718 the compile and exit upon failure. Try compiling for the "native"
2719 architecture. Test inferior function calls with vector arguments
2720 and vector return value handling with "finish" and "return".
2722 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2724 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2725 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2727 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2729 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2731 PR breakpoints/16465
2732 * gdb.mi/mi-dprintf-pending.c: New file.
2733 * gdb.mi/mi-dprintf-pending.exp: New test.
2734 * gdb.mi/mi-dprintf-pendshr.c: New file.
2736 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2737 Mircea Gherzan <mircea.gherzan@intel.com>
2739 * gdb.arch/i386-mpx-map.c: New file.
2740 * gdb.arch/i386-mpx-map.exp: New File.
2742 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2744 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2745 * gdb.arch/i386-mpx.exp: Indentation fixed.
2747 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2749 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2750 function and improved indentation.
2751 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2752 gdb_test_multiple. Added additional tests to skip the test.
2754 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2756 * gdb.arch/i386-avx512.c: Change path in include file.
2757 * gdb.arch/i386-avx512.exp: Change include dir path
2759 * gdb.arch/i386-mpx.c: Change path in include file.
2760 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2763 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2765 * gdb.compile/compile-print.exp (compile print *vararray@3)
2766 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2768 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2770 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2771 (do not keep jit in memory): ... this.
2772 (expect 5): Change it to ...
2773 (expect no 5): ... this.
2775 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2778 * gdb.mi/mi-detach.exp: New file.
2780 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2783 * gdb.arch/amd64-tailcall-self.S: New file.
2784 * gdb.arch/amd64-tailcall-self.c: New file.
2785 * gdb.arch/amd64-tailcall-self.exp: New file.
2787 2015-05-28 Don Breazeal <donb@codesourcery.com>
2789 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2790 tests for remote targets by checking is_target_gdbserver.
2792 2015-05-27 Doug Evans <dje@google.com>
2794 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2795 * gdb.dwarf2/opaque-type-lookup.c: New file.
2796 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2798 2015-05-26 Doug Evans <dje@google.com>
2800 * gdb.cp/iostream.cc: New file.
2801 * gdb.cp/iostream.exp: New file.
2803 2015-05-26 Doug Evans <dje@google.com>
2805 * gdb.dwarf2/dw2-op-call.exp: Update.
2806 * gdb.dwarf2/dw4-sig-types.exp: Update.
2807 * gdb.dwarf2/implptr.exp: Update.
2808 * gdb.mi/mi-cmd-param-changed.exp: Update.
2810 2015-05-26 Doug Evans <dje@google.com>
2812 * gdb.python/py-lazy-string.c: New file.
2813 * gdb.python/py-lazy-string.exp: New file.
2814 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2815 (main): Update. Add estring3.
2816 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2817 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2819 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2820 Yao Qi <yao.qi@linaro.org>
2822 * gdb.reverse/aarch64.c: New.
2823 * gdb.reverse/aarch64.exp: New.
2825 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2827 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2828 (supports_reverse): Likewise.
2830 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2832 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2833 Use with_test_prefix.
2835 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2837 * gdb.base/completion.exp: Add test for completion of layout
2840 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2842 * lib/gdb.exp (skip_tui_tests): New proc.
2843 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2845 2015-05-19 Pedro Alves <palves@redhat.com>
2847 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2848 Save the whole env array instead of just HOME. Unset HISTSIZE in
2849 the environment while testing. Restore whole environment
2852 2015-05-16 Doug Evans <xdje42@gmail.com>
2854 * gdb.guile/scm-ports.c: New file.
2855 * gdb.guile/scm-ports.exp: Add memory port tests.
2857 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2859 * gdb.compile/compile-print.c: New file.
2860 * gdb.compile/compile-print.exp: New file.
2862 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2864 * gdb.compile/compile-ops.exp: Cast param to void.
2865 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2866 (compile code struct_object.selffield = &struct_object): Add xfail.
2868 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2870 * gdb.ada/arr_enum_with_gap: New testcase.
2872 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2874 * gdb.ada/byte_packed_arr: New testcase.
2876 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2878 * gdb.ada/pckd_neg: New testcase.
2880 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2883 * gdb.base/gdbinit-history.exp: New test.
2884 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2885 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2887 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2889 * gdb.python/py-xmethods.cc: Enhance test case.
2890 * gdb.python/py-xmethods.exp: New tests.
2891 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2893 (B_indexoper): Likewise.
2894 (global_dm_list) : Add new xmethod worker functions.
2896 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2898 * gdb.base/coredump-filter.exp: Correctly unset
2899 "coredump_var_addr" array.
2901 2015-05-08 Pedro Alves <palves@redhat.com>
2903 * gdb.server/non-existing-program.exp: Unset spawn_id.
2905 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2908 * gdb.python/py-xmethods.exp: Add tests.
2910 2015-05-08 Yao Qi <yao.qi@linaro.org>
2913 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2914 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2915 function set_coredump_filter, and remove remote_exec call.
2916 Remove argument ipid. Callers update.
2917 (top level): Don't get inferior's PID.
2919 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2921 * gdb.base/watch_thread_num.exp: Skip test on targets without
2924 2015-05-06 Pedro Alves <palves@redhat.com>
2927 * gdb.server/non-existing-program.exp: New file.
2929 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2931 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2933 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2935 * gdb.ada/out_of_line_in_inlined: New testcase.
2937 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2939 * gdb.ada/var_rec_arr: New testcase.
2941 2015-04-30 Yao Qi <yao.qi@linaro.org>
2943 * gdb.base/break-idempotent.exp: If
2944 skip_hw_watchpoint_multi_tests returns true, skip the tests
2945 on "rwatch" and "awatch".
2947 2015-04-30 Yao Qi <yao.qi@linaro.org>
2949 * gdb.base/relativedebug.exp: Invoke gdb command
2950 "info sharedlibrary", and if libc.so doesn't have debug info,
2953 2015-04-29 Doug Evans <dje@google.com>
2955 * gdb.python/py-xmethods.exp: Add ptype tests.
2956 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2957 get_result_type method.
2959 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2961 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2962 the target does not support hardware watchpoints.
2964 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2966 * gdb.base/break-always.exp: Abort testing if writing to memory
2969 2015-04-28 Doug Evans <dje@google.com>
2971 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2972 * gdb.python/py-pp-registration.exp: ... here. New file.
2973 * gdb.python/py-pp-registration.c: New file.
2974 * gdb.python/py-pp-registration.py: New file.
2976 2015-04-28 Doug Evans <dje@google.com>
2978 * gdb.python/py-bad-printers.c: New file.
2979 * gdb.python/py-bad-printers.py: New file.
2980 * gdb.python/py-bad-printers.exp: New file.
2982 2015-04-28 Sasha Smundak <asmundak@google.com>
2984 * gdb.python/py-type.exp: New test.
2986 2015-04-28 Andy Wingo <wingo@igalia.com>
2988 * gdb.python/py-parameter.exp:
2989 * gdb.guile/scm-parameter.exp: Escape the path that we are
2990 matching against, as it might contain characters that are special
2991 to regular expressions.
2993 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2995 * gdb.ada/rec_comp: New testcase.
2997 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2999 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3002 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3004 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3005 new tests for verilog output.
3007 2015-04-24 Yao Qi <yao.qi@linaro.org>
3009 * boards/remote-gdbserver-on-localhost.exp: New file.
3011 2015-04-23 Pedro Alves <palves@redhat.com>
3013 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3014 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3015 "end of file", remove $inferior_spawn_id from the indirect list.
3017 2015-04-23 Pedro Alves <palves@redhat.com>
3019 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3021 2015-04-23 Pedro Alves <palves@redhat.com>
3023 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3024 on $any_spawn_id instead of only on $gdb_spawn_id.
3026 2015-04-21 Pierre Muller <muller@sourceware.org>
3029 * lib/pascal.exp (gpc_compile): Add new option "class".
3030 (fpc_compile): Likewise.
3031 * gdb.pascal/case-insensitive-symbols.pas: New file.
3032 * gdb.pascal/case-insensitive-symbols.exp: New file.
3034 2015-04-20 Gary Benson <gbenson@redhat.com>
3036 * gdb.base/attach.exp: Fix three extended remote failures.
3038 2015-04-17 Gary Benson <gbenson@redhat.com>
3040 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3041 the main executable over the remote protocol.
3043 2015-04-16 Pedro Alves <palves@redhat.com>
3045 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3046 a new gdbserver if gdbserver_reconnect_p is set.
3048 2015-04-16 Pedro Alves <palves@redhat.com>
3050 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3051 is set, don't exit gdbserver.
3053 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3055 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3056 appropriate .insn, such that an older assembler can be used.
3057 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3058 the z/Architecture instruction set on 31-bit targets as well.
3060 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3062 * gdb.go/handcall.exp: Remove all logic related to the first
3063 breakpoint and rely on go_runto_main instead.
3064 * gdb.go/strings.exp: Likewise.
3065 * gdb.go/unsafe.exp: Likewise.
3066 * gdb.go/hello.exp: Likewise. Also rename the remaining
3067 breakpoint marker to "breakpoint 1".
3068 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3069 * gdb.go/strings.go: Likewise.
3070 * gdb.go/unsafe.go: Likewise.
3071 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3072 "set breakpoint 2 here" and rename the remaining breakpoint marker
3075 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3077 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3078 if itertools.imap is not present.
3079 * gdb.python/py-objfile.exp: Add parentheses.
3080 * gdb.python/py-type.exp: Same.
3081 * gdb.python/py-unwind-maint.py: Same.
3083 2015-04-15 Yao Qi <yao.qi@linaro.org>
3085 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3086 of ":$ptr_size" and set its form explicitly.
3088 2015-04-15 Pedro Alves <palves@redhat.com>
3089 Yao Qi <yao.qi@linaro.org>
3091 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3092 timeout by factor of 4.
3093 (test_regular_watch): Likewise.
3094 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3095 * gdb.reverse/sigall-reverse.exp: Likewise.
3096 * gdb.reverse/until-precsave.exp: Likewise.
3097 * lib/gdb.exp (with_timeout_factor): New proc.
3098 (gdb_expect): Move some code to ...
3099 (get_largest_timeout): ... here. New procedure.
3101 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3103 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3105 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3107 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3108 to write to the .text section.
3110 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3112 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3113 Handle the case of targets that do not provide PID information.
3115 2015-04-13 Yao Qi <yao.qi@linaro.org>
3117 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3118 and use expect instead of gdb_expect.
3120 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3122 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3123 "coredump_var_addr" to avoid naming conflict with other testcases.
3125 2015-04-10 Pedro Alves <palves@redhat.com>
3127 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3128 gdb_test_sequence and gdb_assert.
3130 2015-04-10 Pedro Alves <palves@redhat.com>
3132 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3133 test messages that don't include the breakpoint address.
3135 2015-04-10 Yao Qi <yao.qi@linaro.org>
3137 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3138 false for some offset and width combinations which aren't
3139 supported by linux kernel.
3141 2015-04-10 Pedro Alves <palves@redhat.com>
3143 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3144 procedure, factored out from ...
3145 (top level): ... here. Add "set displaced-stepping" testing axis.
3146 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3147 parameter "displaced". Use it.
3148 (top level): Use foreach and add "set displaced-stepping" testing
3151 2015-04-10 Pedro Alves <palves@redhat.com>
3153 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3155 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3156 both the address of the instruction that triggers the watchpoint
3157 and the address of the instruction immediately after, and use
3158 those addresses for the test. Fix comment.
3160 2015-04-10 Pedro Alves <palves@redhat.com>
3162 * gdb.base/sigstep.exp (breakpoint_to_handler)
3163 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3164 Test "backtrace" in handler.
3165 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3166 (top level): Add new "displaced" test axis to
3167 breakpoint_to_handler, breakpoint_to_handler_entry and
3168 breakpoint_over_handler.
3170 2015-04-10 Pedro Alves <palves@redhat.com>
3173 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3175 2015-04-10 Yao Qi <yao.qi@linaro.org>
3177 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3178 (test_add_rn_pc): New function.
3179 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3180 (top level): Invoke test_add_rn_pc.
3182 2015-04-10 Pedro Alves <palves@redhat.com>
3185 * gdb.base/step-over-no-symbols.exp: New file.
3187 2015-04-09 Andy Wingo <wingo@igalia.com>
3189 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3190 after the Python tests.
3192 2015-04-08 Keith Seitz <keiths@redhat.com>
3195 * gdb.python/py-completion.exp: New tests for completion.
3196 * gdb.python/py-completion.py (CompleteLimit1): New class.
3197 (CompleteLimit2): Likewise.
3198 (CompleteLimit3): Likewise.
3199 (CompleteLimit4): Likewise.
3200 (CompleteLimit5): Likewise.
3201 (CompleteLimit6): Likewise.
3202 (CompleteLimit7): Likewise.
3204 2015-04-08 Pedro Alves <palves@redhat.com>
3208 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3210 (main): Install it as SIGUSR1 handler.
3211 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3212 parameter. Always use "setup" as prefix. Toggle "set
3213 displaced-stepping" off/on depending on global. Don't switch to
3215 (top level): Add displaced stepping "off/on" test axis. Update
3216 "setup" calls. Wrap each subtest with with_test_prefix. Test
3217 continuing with a queued signal in each thread.
3219 2015-04-08 Pedro Alves <palves@redhat.com>
3221 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3222 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3223 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3224 Return early if running to main fails.
3225 * gdb.trace/while-stepping.exp: Likewise.
3227 2015-04-07 Pedro Alves <palves@redhat.com>
3229 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3230 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3231 interact with inferior program.
3233 2015-04-07 Pedro Alves <palves@redhat.com>
3235 * lib/gdb.exp (inferior_spawn_id): New global.
3236 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3237 spawn id after processing the user code.
3238 (default_gdb_start): Set inferior_spawn_id.
3239 (send_inferior): New procedure.
3240 * lib/gdbserver-support.exp (gdbserver_start): Set
3242 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3244 2015-04-07 Pedro Alves <palves@redhat.com>
3246 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3247 * lib/gdbserver-support.exp (gdbserver_start): Make
3248 $server_spawn_id global.
3249 (gdbserver_start): Don't wait for gdbserver's spawn id with
3251 (close_gdbserver): New procedure.
3252 (gdb_exit): Rename the default version and reimplement.
3254 2015-04-07 Pedro Alves <palves@redhat.com>
3256 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3257 append the substituted item, not the original item.
3259 2015-04-07 Pedro Alves <palves@redhat.com>
3261 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3264 2015-04-07 Pedro Alves <palves@redhat.com>
3266 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3267 output appearing once only.
3269 2015-04-07 Pedro Alves <palves@redhat.com>
3271 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3272 that doesn't expect anything. Return early if running to main
3275 2015-04-07 Yao Qi <yao.qi@linaro.org>
3277 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3278 (child_function): Call alarm.
3279 (main): Move call to alarm into the loop.
3280 * gdb.threads/non-stop-fair-events.exp: Build program with
3283 2015-04-06 Doug Evans <xdje42@gmail.com>
3285 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3286 Fix dest parameter to board_info.
3287 (fpc_compile): Ditto.
3288 (gdb_compile_pascal): Rename dest arg to destfile.
3290 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3292 * gdb.ada/funcall_ref.exp: New file.
3293 * gdb.ada/funcall_ref/foo.adb: New file.
3295 2015-04-02 Yao Qi <yao.qi@linaro.org>
3297 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3300 2015-04-02 Gary Benson <gbenson@redhat.com>
3302 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3304 2015-04-01 Sasha Smundak <asmundak@google.com>
3306 * gdb.python/py-unwind-maint.c: New file.
3307 * gdb.python/py-unwind-maint.exp: New test.
3308 * gdb.python/py-unwind-maint.py: New file.
3309 * gdb.python/py-unwind.c: New file.
3310 * gdb.python/py-unwind.exp: New test.
3311 * gdb.python/py-unwind.py: New test.
3313 2015-04-01 Pedro Alves <palves@redhat.com>
3315 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3316 to fail instead of non-existent $test.
3318 2015-04-01 Pedro Alves <palves@redhat.com>
3320 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3321 GDBFLAGS if not empty.
3323 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3325 * gdb.ada/complete.exp: Remove "multi_line".
3326 * gdb.ada/info_exc.exp: Remove "multi_line".
3327 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3328 * gdb.ada/ptype_field.exp: Remove "multi_line".
3329 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3330 * gdb.ada/tagged.exp: Remove "multi_line".
3331 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3333 * gdb.btrace/delta.exp: Likewise.
3334 * gdb.btrace/exception.exp: Likewise.
3335 * gdb.btrace/function_call_history.exp: Likewise.
3336 * gdb.btrace/instruction_history.exp: Likewise.
3337 * gdb.btrace/nohist.exp: Likewise.
3338 * gdb.btrace/record_goto.exp: Likewise.
3339 * gdb.btrace/segv.exp: Likewise.
3340 * gdb.btrace/stepi.exp: Likewise.
3341 * gdb.btrace/tailcall.exp: Likewise.
3342 * gdb.btrace/unknown_functions.exp: Likewise.
3343 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3344 * lib/gdb.exp: Add the "multi_line" helper.
3346 2015-04-01 Pedro Alves <palves@redhat.com>
3348 * gdb.threads/tid-reuse.c: New file.
3349 * gdb.threads/tid-reuse.exp: New file.
3351 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3354 * gdb.base/coredump-filter.c: New file.
3355 * gdb.base/coredump-filter.exp: Likewise.
3357 2015-03-27 Petr Machata <pmachata@redhat.com>
3359 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3360 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3361 (Dwarf::assemble): Initialize them.
3362 (Dwarf::lines): New function.
3364 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3366 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3367 SYMBOL_PREFIX for x86_64-*-cygwin.
3369 2015-03-26 Andy Wingo <wingo@igalia.com>
3372 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3373 const_value but not a location.
3374 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3375 location defined in non-main CUs are visible.
3377 2015-03-26 Yao Qi <yao.qi@linaro.org>
3380 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3381 Add a line number entry for the same line.
3382 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3383 Add a line number entry for the same line.
3385 2015-03-26 Yao Qi <yao.qi@linaro.org>
3387 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3389 (func): Likewise. Add .Lfunc_1 label.
3391 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3396 2015-03-26 Yao Qi <yao.qi@linaro.org>
3398 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3399 Call gdb_compile instead to compile each .s files without debug
3402 2015-03-26 Yao Qi <yao.qi@linaro.org>
3404 * gdb.base/savedregs.exp (process_saved_regs): Make
3405 "Saved registers:" optional in the pattern.
3407 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3409 * gdb.btrace/next.exp: Merged into step.exp.
3410 * gdb.btrace/finish.exp: Merged into step.exp.
3411 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3412 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3413 "record goto" and checking the exact replay position.
3414 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3415 check for "Recording format" in "info record" output.
3416 * gdb.btrace/record_goto.exp: Choose test file based on target.
3417 * gdb.btrace/x86-record_goto.S: Renamed into ...
3418 * gdb.btrace/x86_64-record_goto.S: ... this.
3419 * gdb.btrace/i686-record_goto.S: New.
3420 * gdb.btrace/x86-tailcall.S: Renamed into ...
3421 * gdb.btrace/x86_64-tailcall.S: ... this.
3422 * gdb.btrace/i686-tailcall.S: New.
3423 * gdb.btrace/x86-tailcall.c: Renamed into ...
3424 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3425 separate statements. Update test.
3426 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3427 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3428 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3429 * gdb.btrace/tailcall.exp: Choose test file based on target.
3430 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3432 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3434 * gdb.btrace/exception.exp: Increase BTS buffer size.
3436 2015-03-24 Pedro Alves <palves@redhat.com>
3438 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3440 2015-03-24 Pedro Alves <palves@redhat.com>
3442 * gdb.threads/schedlock.exp (test_step): No longer expect that
3443 "set scheduler-locking step" with "next" over a function call runs
3446 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3448 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3450 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3452 PR breakpoints/16466
3453 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3454 * gdb.mi/mi-pending.c (thread_func): New function.
3455 (int main): Add threading support required.
3456 * gdb.mi/mi-pending.exp: Add tests for this issue.
3457 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3458 (pendfunc2): Remove stdio dependency.
3459 * gdb.mi/mi-pendshr2.c: New file.
3461 2015-03-23 Keith Seitz <keiths@redhat.com>
3463 * gdb.linespec/keywords.c: New file.
3464 * gdb.linespec/keywords.exp: New file.
3466 2015-03-23 Keith Seitz <keiths@redhat.com>
3469 * gdb.dwarf2/staticvirtual.exp: New test.
3471 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3473 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3474 * README: Remove HP-UX and gdb.hp.
3476 * configure: Regenerate.
3477 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3478 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3479 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3480 gdb.hp/gdb.defects/Makefile.
3481 * gdb.hp/Makefile.in: File deleted.
3482 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3483 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3484 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3485 * gdb.hp/gdb.aCC/run.c: File deleted.
3486 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3487 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3488 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3489 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3490 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3491 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3492 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3493 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3494 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3495 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3496 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3497 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3498 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3499 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3500 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3501 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3502 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3503 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3504 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3505 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3506 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3507 * gdb.hp/gdb.compat/average.c: File deleted.
3508 * gdb.hp/gdb.compat/sum.c: File deleted.
3509 * gdb.hp/gdb.compat/xdb.c: File deleted.
3510 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3511 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3512 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3513 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3514 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3515 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3516 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3517 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3518 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3519 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3520 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3521 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3522 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3523 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3524 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3525 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3526 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3527 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3528 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3529 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3530 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3531 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3532 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3533 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3534 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3535 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3536 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3537 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3538 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3539 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3540 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3541 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3542 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3543 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3544 * gdb.hp/tools/odump: File deleted.
3546 2015-03-19 Pedro Alves <palves@redhat.com>
3548 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3549 (saw_thread_3): New globals.
3550 (top level): Increment them when an event for the corresponding
3552 (no thread starvation): New test.
3554 2015-03-19 Pedro Alves <palves@redhat.com>
3556 * gdb.threads/continue-pending-status.c: New file.
3557 * gdb.threads/continue-pending-status.exp: New file.
3559 2015-03-18 Pedro Alves <palves@redhat.com>
3561 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3562 Use gdb_is_target_remote instead of is_remote. Use
3563 gdb_test_multiple instead of gdb_expect. Exit early if
3564 gdb_test_multiple hits its internal matches. Tighten stepi tests
3565 expected output. Fail on exit with any signal, instead of just
3568 2015-03-18 Yao Qi <yao.qi@linaro.org>
3571 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3573 * gdb.base/catch-syscall.exp: Don't skip it on
3574 aarch64*-*-linux* target. Remove elements in all_syscalls.
3575 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3577 (setup_all_syscalls): New proc.
3579 2015-03-16 Yao Qi <yao.qi@linaro.org>
3581 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3582 (top level): Skip tests if valid_addr_p returns false for
3585 2015-03-11 Andy Wingo <wingo@igalia.com>
3587 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3589 2015-03-11 Yao Qi <yao.qi@linaro.org>
3591 * gdb.base/catch-syscall.exp: Fix typo in comments.
3593 2015-03-11 Yao Qi <yao.qi@linaro.org>
3595 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3597 2015-03-09 Pedro Alves <palves@redhat.com>
3599 * dg-extract-results.py: Delete.
3601 2015-03-09 Pedro Alves <palves@redhat.com>
3603 Merge dg-extract-results.sh from GCC upstream (r218843).
3605 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3606 * dg-extract-results.sh: Use --text with grep to avoid issues with
3607 binary files. Fall back to cat -v, if that doesn't work.
3609 2015-03-05 Pedro Alves <palves@redhat.com>
3611 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3613 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3615 * lib/mi-support.exp (mi_expect_interrupt): Accept
3616 alternative event for when in all-stop mode.
3618 2015-03-04 Pedro Alves <palves@redhat.com>
3620 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3622 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3624 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3626 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3628 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3629 regexps for GDB's current line display, accept a hex address
3630 preceding the line number.
3632 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3634 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3635 the 'arch1' variable for "s390*-linux*" targets.
3637 2015-03-04 Pedro Alves <palves@redhat.com>
3639 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3640 (main): Pass missing retval argument to pthread_join call.
3642 2015-03-02 Pedro Alves <palves@redhat.com>
3644 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3645 (top level): Call do_test with non-stop as well.
3647 2015-03-02 Pedro Alves <palves@redhat.com>
3649 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3652 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3654 * gdb.arch/s390-vregs.exp: New test.
3655 * gdb.arch/s390-vregs.S: New file.
3657 2015-02-27 Pedro Alves <palves@redhat.com>
3659 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3660 call to catch_command_errors.
3661 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3662 catch_command_errors.
3664 2015-02-27 Pedro Alves <palves@redhat.com>
3666 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3667 "true" for boolean result.
3668 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3671 2015-02-27 Pedro Alves <palves@redhat.com>
3673 * lib/unbuffer_output.c: New file.
3674 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3675 (main): Call gdb_unbuffer_output.
3677 2015-02-27 Yao Qi <yao.qi@linaro.org>
3679 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3682 2015-02-26 Doug Evans <dje@google.com>
3684 * gdb.cp/class2.cc (Dbase, D): New classes.
3685 (main): New local delta.
3686 * gdb.cp/class2.exp: Test printing delta.
3687 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3688 (dynbar): New global.
3689 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3691 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3693 * gdb.compile/compile-ifunc.c: New file.
3694 * gdb.compile/compile-ifunc.exp: New file.
3696 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3698 * gdb.base/structs.exp: Check for correct struct on finish.
3700 2015-02-26 Yao Qi <yao.qi@linaro.org>
3702 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3705 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3707 * gdb.arch/cordic.ko.bz2: New file.
3708 * gdb.arch/cordic.ko.debug.bz2: New file.
3709 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3711 2015-02-25 Yao Qi <yao.qi@linaro.org>
3713 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3714 aarch64*-*-* target.
3716 2015-02-23 Pedro Alves <palves@redhat.com>
3718 * lib/gdb.exp (delete_breakpoints): Rewrite using
3721 2015-02-23 Pedro Alves <palves@redhat.com>
3723 * gdb.base/info-os.c: Include stdlib.h.
3725 2015-02-22 Doug Evans <xdje42@gmail.com>
3728 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3729 is read after symbols have been re-read.
3730 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3731 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3733 2015-02-21 Doug Evans <dje@google.com>
3735 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3737 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3740 * gdb.arch/i386-biarch-core.core.bz2: New file.
3741 * gdb.arch/i386-biarch-core.exp: New file.
3743 2015-02-21 Pedro Alves <palves@redhat.com>
3745 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3748 2015-02-20 Pedro Alves <palves@redhat.com>
3750 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3753 2015-02-20 Pedro Alves <palves@redhat.com>
3755 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3757 2015-02-20 Pedro Alves <palves@redhat.com>
3759 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3760 clean_restart before gdb_target_supports_trace.
3762 2015-02-20 Pedro Alves <palves@redhat.com>
3765 * gdb.threads/clone-thread_db.c: New file.
3766 * gdb.threads/clone-thread_db.exp: New file.
3768 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3770 PR breakpoints/16812
3771 * gdb.base/catch-gdb-caused-signals.c: New file.
3772 * gdb.base/catch-gdb-caused-signals.exp: New file.
3774 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3776 * configure: Regenerated.
3777 * configure.ac: Use GDB_AC_TRANSFORM.
3778 * aclocal.m4: sinclude ../transform.m4.
3780 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3782 * lib/dtrace.exp: New file.
3783 * gdb.base/dtrace-probe.exp: Likewise.
3784 * gdb.base/dtrace-probe.d: Likewise.
3785 * gdb.base/dtrace-probe.c: Likewise.
3786 * lib/pdtrace.in: Likewise.
3787 * configure.ac: Output variables with the transformed names of
3788 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3789 * configure: Regenerated.
3791 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3793 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3794 expected message when trying to access $_probe_* convenience
3795 variables while not on a probe.
3797 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3799 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3801 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3803 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3804 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3806 2015-02-10 Doug Evans <xdje42@gmail.com>
3808 * lib/gdb.exp (gdb_load): Always return a result.
3810 2015-02-10 Pedro Alves <palves@redhat.com>
3812 * gdb.threads/signal-sigtrap.c: New file.
3813 * gdb.threads/signal-sigtrap.exp: New file.
3815 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3817 * gdb.trace/no-attach-trace.c: New file.
3818 * gdb.trace/no-attach-trace.exp: New file.
3820 2015-02-09 Mark Wielaard <mjw@redhat.com>
3822 * gdb.dwarf2/atomic.c: New file.
3823 * gdb.dwarf2/atomic-type.exp: Likewise.
3825 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3827 * gdb.btrace/buffer-size.exp: Update "info record" output.
3828 * gdb.btrace/delta.exp: Update "info record" output.
3829 * gdb.btrace/enable.exp: Update "info record" output.
3830 * gdb.btrace/finish.exp: Update "info record" output.
3831 * gdb.btrace/instruction_history.exp: Update "info record" output.
3832 * gdb.btrace/next.exp: Update "info record" output.
3833 * gdb.btrace/nexti.exp: Update "info record" output.
3834 * gdb.btrace/step.exp: Update "info record" output.
3835 * gdb.btrace/stepi.exp: Update "info record" output.
3836 * gdb.btrace/nohist.exp: Update "info record" output.
3838 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3840 * gdb.btrace/buffer-size: New.
3842 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3844 * gdb.btrace/delta.exp: Update "info record" output.
3845 * gdb.btrace/enable.exp: Update "info record" output.
3846 * gdb.btrace/finish.exp: Update "info record" output.
3847 * gdb.btrace/instruction_history.exp: Update "info record" output.
3848 * gdb.btrace/next.exp: Update "info record" output.
3849 * gdb.btrace/nexti.exp: Update "info record" output.
3850 * gdb.btrace/step.exp: Update "info record" output.
3851 * gdb.btrace/stepi.exp: Update "info record" output.
3852 * gdb.btrace/nohist.exp: Update "info record" output.
3854 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3857 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3859 2015-02-06 Pedro Alves <palves@redhat.com>
3861 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3863 (seconds_left, again): New globals.
3864 (main): Wait seconds_left in a 1-second sleep loop instead of
3865 sleeping 180 seconds. If 'again' is set, reset the seconds
3867 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3868 'again' in the inferior before detaching. Print the seconds left.
3869 (options): New global.
3870 (top level): Build program with -DTIMEOUT=$timeout.
3872 2015-02-06 Pedro Alves <palves@redhat.com>
3874 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3875 determine how many seconds to pass to 'alarm'.
3876 * gdb.base/gdb-sigterm.exp (top level): Build program with
3878 (do_test): Return success/failure indication. Add more verbose
3879 logging. Don't fail if 200 single steps are seen. Instead, fail
3880 when the test times out.
3881 (passes): New global.
3882 (top level): Break the testing loop if testing fails on any
3883 iteration. Use gdb_assert.
3885 2015-02-04 Don Breazeal <donb@codesourcery.com>
3887 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3888 and initialize them.
3889 (ipc_cleanup): New function.
3890 (main): Don't declare shmid, semid, and msqid. Add a call to
3891 atexit so that we call ipc_cleanup on exit.
3893 2015-02-04 Pedro Alves <palves@redhat.com>
3895 * boards/native-extended-gdbserver.exp: Remove any target variant
3896 specifications from the board name before clearing the isremote
3897 flag from board_info.
3899 2015-01-31 Doug Evans <xdje42@gmail.com>
3901 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3903 2015-01-31 Gary Benson <gbenson@redhat.com>
3905 * gdb.base/completion.exp: Disable completion limiting for
3906 existing tests. Add new tests to check completion limiting.
3907 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3909 2015-01-31 Doug Evans <xdje42@gmail.com>
3911 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3913 2015-01-31 Doug Evans <xdje42@gmail.com>
3915 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3916 entries. Duplicate file section script entries.
3917 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3918 inlined entries. Add test for safe-path rejection.
3919 * gdb.python/py-section-script.c: Add duplicate inlined section script
3920 entries. Duplicate file section script entries.
3921 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3922 inlined entries. Add test for safe-path rejection.
3924 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3926 * gdb.ada/disc_arr_bound: New testcase.
3928 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3930 * gdb.ada/mi_var_array: New testcase.
3932 2015-01-27 Doug Evans <dje@google.com>
3934 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3935 Add test for objfile.filename, objfile.username after objfile
3938 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3940 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3941 the second test to print the name attribute of value
3942 returned by the call to gdb.lookup_type, and adjust
3943 the expected output accordingly.
3945 2015-01-25 Mark Wielaard <mjw@redhat.com>
3947 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3948 * gdb.base/disp-step-fork.c: Include unistd.h.
3949 * gdb.base/siginfo-obj.c: Include stdio.h.
3950 * gdb.base/siginfo-thread.c: Likewise.
3951 * gdb.mi/non-stop.c: Include unistd.h.
3952 * gdb.mi/nsthrexec.c: Include stdio.h.
3953 * gdb.mi/pthreads.c: Include unistd.h.
3954 * gdb.modula2/unbounded1.c (main): Declare returns int.
3955 * gdb.reverse/consecutive-reverse.c: Likewise.
3956 * gdb.threads/create-fail.c: Include unistd.h.
3957 * gdb.threads/killed.c: Likewise.
3958 * gdb.threads/linux-dp.c: Likewise.
3959 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3960 * gdb.threads/non-ldr-exc-2.c: Likewise.
3961 * gdb.threads/non-ldr-exc-3.c: Likewise.
3962 * gdb.threads/non-ldr-exc-4.c: Likewise.
3963 * gdb.threads/pthreads.c: Include unistd.h.
3964 (main): Declare returns int.
3965 * gdb.threads/tls-main.c (foo): New declaration.
3966 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3968 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3970 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3971 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3973 2015-01-15 Mark Wielaard <mjw@redhat.com>
3975 * gdb.base/noreturn-return.c: New file.
3976 * gdb.base/noreturn-return.exp: New file.
3977 * gdb.base/noreturn-finish.c: New file.
3978 * gdb.base/noreturn-finish.exp: New file.
3980 2015-01-23 Pedro Alves <palves@redhat.com>
3982 * gdb.threads/continue-pending-after-query.c: New file.
3983 * gdb.threads/continue-pending-after-query.exp: New file.
3985 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3986 Simon Marchi <simon.marchi@ericsson.com>
3988 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3989 * gdb.base/valgrind-db-attach.exp: Same.
3990 * gdb.base/valgrind-infcall.exp: Same.
3991 * lib/mi-support.exp (default_mi_gdb_start): Same.
3992 * lib/prompt.exp (default_prompt_gdb_start): Same.
3993 * lib/gdb.exp (default_gdb_spawn): Same.
3994 (gdb_interact): New.
3997 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3999 * gdb.compile/compile.exp (pointer to jit function): New test.
4001 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4003 * lib/gdb.exp (supports_process_record): Return true for
4005 (supports_reverse): Likewise.
4007 2015-01-15 Don Breazeal <donb@codesourcery.com>
4009 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4010 instead of checking whether the target board is remote and
4011 use spawn_wait_for_attach instead of exec/sleep.
4012 * gdb.base/attach-twice.exp: Likewise.
4014 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4016 * gdb.ada/var_arr_attrs: New testcase.
4018 2015-01-14 Pedro Alves <palves@redhat.com>
4019 Joel Brobecker <brobecker@adacore.com>
4022 * gdb.base/bp-cmds-execution-x-script.c: New file.
4023 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4024 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4026 2015-01-14 Pedro Alves <palves@redhat.com>
4029 * gdb.base/batch-preserve-term-settings.c: New file.
4030 * gdb.base/batch-preserve-term-settings.exp: New file.
4032 2015-01-13 Doug Evans <dje@google.com>
4034 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4037 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4039 * Makefile.in (clean mostlyclean): Do not delete *.py.
4041 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4043 * gdb.python/py-lookup-type.exp: New file.
4045 2015-01-12 Pedro Alves <palves@redhat.com>
4047 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4048 restore GDBFLAGS before returning.
4050 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4053 is_amd64_regs_target and is_x86_like_target.
4055 2015-01-11 Doug Evans <xdje42@gmail.com>
4057 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4058 is given without an explicit form.
4059 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4061 * gdb.dwarf/corrupt.exp: Ditto.
4062 * gdb.dwarf2/enum-type.exp: Ditto.
4063 * gdb.trace/entry-values.exp: Ditto.
4064 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4066 2015-01-11 Doug Evans <xdje42@gmail.com>
4069 * gdb.base/maint.exp: Remove references to "maint demangle".
4070 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4071 Add tests for explicitly specifying language to demangle.
4072 * gdb.dlang/demangle.exp: Ditto.
4074 2015-01-09 Pedro Alves <palves@redhat.com>
4076 * gdb.threads/non-stop-fair-events.c: New file.
4077 * gdb.threads/non-stop-fair-events.exp: New file.
4079 2015-01-09 Pedro Alves <palves@redhat.com>
4081 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4082 the global scope. Set a breakpoint after all threads are started
4083 rather than stepping over two source lines. Expect the prompt.
4084 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4087 (main): Use threads_started_barrier to wait for all threads to
4088 start. Main thread no longer calls thread_function. Exit after
4090 (loop): New function.
4091 (thread_function): Wait on threads_started_barrier barrier. Call
4092 'loop' at each iteration.
4093 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4094 threads have started, instead of hardcoding number of "next"
4095 steps. Use an access watchpoint instead of a write watchpoint.
4097 2015-01-09 Pedro Alves <palves@redhat.com>
4099 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4100 (thread_func): Wait on barrier.
4101 (main): Wait for all threads to start before stopping GDB.
4102 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4104 (thread1_func, thread2_func): Wait on barrier.
4105 (main): Wait for all threads to start before stopping GDB.
4106 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4108 (thread1_func, thread2_func): Wait on barrier.
4109 (main): Wait for all threads to start before stopping GDB.
4111 2015-01-09 Pedro Alves <palves@redhat.com>
4113 * gdb.threads/attach-many-short-lived-threads.c: New file.
4114 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4116 2014-01-09 Pedro Alves <palves@redhat.com>
4118 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4119 instead of to thread 2.
4120 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4121 Add barrier around each pthread_create call instead of around all
4123 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4124 Set a break on thread_function and have the child threads hit it
4127 2015-01-09 Pedro Alves <palves@redhat.com>
4129 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4130 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4132 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4133 checking whether the target board is remote.
4134 * gdb.multi/multi-attach.exp: Likewise.
4135 * gdb.python/py-sync-interp.exp: Likewise.
4136 * gdb.server/ext-attach.exp: Likewise.
4137 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4138 tests that need to attach, instead of checking whether the target
4139 board is remote at the top of the file.
4141 2015-01-08 Yao Qi <yao@codesourcery.com>
4143 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4145 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4147 Fix testcase compilation.
4148 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4150 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4152 * gdb.python/py-type.exp: Add a couple test about empty
4153 array creation, and negative-length array creation.
4155 2015-01-02 Doug Evans <xdje42@gmail.com>
4157 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4159 2015-01-02 Doug Evans <dje@google.com>
4161 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4163 2014-12-29 Yao Qi <yao@codesourcery.com>
4165 * gdb.trace/entry-values.exp: Update comments. Rename variable
4166 bar_call_foo to returned_from_foo.
4168 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4171 * gdb.linespec/break-asm-file.c: New file.
4172 * gdb.linespec/break-asm-file.exp: New file.
4173 * gdb.linespec/break-asm-file0.s: New file.
4174 * gdb.linespec/break-asm-file1.s: New file.
4176 2014-12-18 Nigel Stephens <nigel@mips.com>
4177 Maciej W. Rozycki <macro@codesourcery.com>
4179 * gdb.base/float.exp: Handle the new output from "info float" on
4182 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4184 Fix MinGW compilation.
4185 * gdb.compile/compile-ops.exp: Update untested message if
4186 !skip_compile_feature_tests.
4187 * gdb.compile/compile-setjmp.exp: Likewise.
4188 * gdb.compile/compile-tls.exp: Likewise.
4189 * gdb.compile/compile.exp: Likewise.
4190 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4191 supported on this host".
4193 2014-12-16 Doug Evans <xdje42@gmail.com>
4195 * boards/stabs.exp: New file.
4197 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4199 * gdb.base/completion.exp: Adjust to format changes of "maint
4200 print user-registers".
4202 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4205 * gdb.arch/aarch64-fp.c: New file.
4206 * gdb.arch/aarch64-fp.exp: New file.
4208 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4210 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4211 r210637, r210913, r211666, r215400, r215817).
4213 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4214 * dg-extract-results.py: New file.
4215 * dg-extract-results.sh: Use it if the environment seems
4218 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4220 * dg-extract-results.py (parse_run): Handle warnings that
4221 are printed before a test harness is run.
4223 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4225 * dg-extract-results.py (Named): Remove __cmp__ method.
4226 (output_variation): Use a key to sort variation.harnesses.
4228 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4230 * dg-extract-results.py: For Python 3, force sys.stdout to
4231 handle surrogate escape sequences.
4232 (safe_open): New function.
4233 (output_segment, main): Use it.
4235 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4237 * dg-extract-results.py (Prog.result_re): Include options
4240 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4242 * dg-extract-results.py (output_variation): Always sort if
4245 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4247 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4248 as long as we get pagination notifications.
4250 2014-12-15 Jason Merrill <jason@redhat.com>
4252 * Makefile.in (check-gdb.%): Restore.
4253 * README: Mention it.
4255 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4257 * gdb.ada/str_uninit: New testcase.
4259 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4262 * gdb.base/vla-stub-define.c: New file.
4263 * gdb.base/vla-stub.c: New file.
4264 * gdb.base/vla-stub.exp: New file.
4266 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4267 Jan Kratochvil <jan.kratochvil@redhat.com>
4268 Tom Tromey <tromey@redhat.com>
4270 * configure.ac: Add gdb.compile/.
4271 * configure: Regenerate.
4272 * gdb.compile/Makefile.in: New file.
4273 * gdb.compile/compile-ops.exp: New file.
4274 * gdb.compile/compile-ops.c: New file.
4275 * gdb.compile/compile-tls.c: New file.
4276 * gdb.compile/compile-tls.exp: New file.
4277 * gdb.compile/compile-constvar.S: New file.
4278 * gdb.compile/compile-constvar.c: New file.
4279 * gdb.compile/compile-mod.c: New file.
4280 * gdb.compile/compile-nodebug.c: New file.
4281 * gdb.compile/compile-setjmp-mod.c: New file.
4282 * gdb.compile/compile-setjmp.c: New file.
4283 * gdb.compile/compile-setjmp.exp: New file.
4284 * gdb.compile/compile-shlib.c: New file.
4285 * gdb.compile/compile.c: New file.
4286 * gdb.compile/compile.exp: New file.
4287 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4289 2014-12-12 Tom Tromey <tromey@redhat.com>
4291 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4292 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4294 2014-12-12 Doug Evans <dje@google.com>
4296 * lib/gdb-python.exp (get_python_valueof): New function.
4297 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4299 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4301 * gdb.base/completion.exp: Add test for completion of "info
4304 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4306 * gdb.base/func-ptrs.c: New file.
4307 * gdb.base/func-ptrs.exp: New file.
4309 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4311 PR breakpoints/17012
4312 * gdb.base/dprintf-detach.c: New file.
4313 * gdb.base/dprintf-detach.exp: New file.
4315 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4317 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4318 * lib/gdb.exp (target_is_gdbserver): New procedure.
4320 2014-12-08 Doug Evans <dje@google.com>
4322 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4324 2014-12-05 Yao Qi <yao@codesourcery.com>
4326 * gdb.guile/scm-error.exp: Remove the third argument to
4327 gdb_remote_download.
4328 * gdb.guile/scm-frame-args.exp: Likewise.
4329 * gdb.guile/scm-section-script.exp: Likewise.
4331 2014-12-05 Yao Qi <yao@codesourcery.com>
4333 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4335 2014-12-04 Doug Evans <dje@google.com>
4337 * gdb.python/py-objfile.exp: Add tests for
4338 objfile.add_separate_debug_file.
4340 2014-12-04 Doug Evans <dje@google.com>
4342 * lib/gdb.exp (get_build_id): New function.
4343 (build_id_debug_filename_get): Rewrite to use it.
4344 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4346 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4348 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4349 `method(long)', not just 0x0.
4350 * gdb.cp/nsalias.exp: Align code labels to 4.
4351 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4352 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4353 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4354 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4355 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4356 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4358 2014-12-02 Doug Evans <dje@google.com>
4361 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4362 * gdb.cp/anon-ns2.cc: ... here. New file.
4363 * gdb.cp/anon-ns.exp: Update.
4365 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4367 * gdb.python/py-events.py (inferior_call_handler): New.
4368 (register_changed_handler, memory_changed_handler): New.
4369 (test_events.invoke): Register new handlers.
4370 * gdb.python/py-events.exp: Add tests for inferior call,
4371 memory_changed and register_changed events.
4373 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4375 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4376 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4377 if the linker doesn't understand this.
4379 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4381 * gdb.python/python.exp: Change expected reply to help().
4383 2014-12-01 Yao Qi <yao@codesourcery.com>
4385 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4386 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4387 * configure: Re-generated.
4389 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4391 * gdb.cp/chained-calls.cc: New file.
4392 * gdb.cp/chained-calls.exp: New file.
4393 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4395 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4397 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4398 * gdb.dwarf2/symtab-producer.exp: Same.
4399 * gdb.gdb/python-interrupts.exp: Same.
4400 * gdb.gdb/python-selftest.exp: Same.
4401 * gdb.python/py-linetable.exp: Same.
4402 * gdb.python/py-type.exp: Same.
4403 * gdb.python/py-value-cc.exp: Same.
4404 * gdb.python/py-value.exp: Same.
4406 2014-11-28 Yao Qi <yao@codesourcery.com>
4408 * gdb.base/break-probes.exp: Match library name prefixed with
4411 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4413 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4414 test expected output. Add parentheses for the call to print.
4415 Remove L suffix from integers.
4417 2014-11-26 Doug Evans <dje@google.com>
4419 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4421 2014-11-22 Yao Qi <yao@codesourcery.com>
4423 * gdb.trace/entry-values.c: Remove asms.
4424 (foo): Add foo_label.
4425 (bar): Add bar_label.
4426 * gdb.trace/entry-values.exp: Remove code computing foo's
4427 length and bar's length.
4428 (Dwarf::assemble): Invoke function_range for bar and use
4429 MACRO_AT_func for foo.
4431 2014-11-22 Yao Qi <yao@codesourcery.com>
4433 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4434 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4435 Use .Lgcc43_procstart instead of gcc43.
4437 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4439 * gdb.ada/n_arr_bound: New testcase.
4441 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4443 PR breakpoints/10737
4444 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4445 test_catch_syscall_multi_arch.
4446 (test_catch_syscall_multi_arch): New function.
4448 2014-11-20 Doug Evans <xdje42@gmail.com>
4450 * gdb.base/maint.exp: Update expected output.
4452 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4454 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4455 4-byte instruction on S390.
4457 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4459 * gdb.ada/arr_arr: New testcase.
4461 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4463 * gdb.ada/pkd_arr_elem: New Testcase.
4465 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4467 * gdb.reverse/break-precsave: Expect completion message for
4469 * gdb.reverse/consecutive-precsave.exp: Likewise.
4470 * gdb.reverse/finish-precsave.exp: Likewise.
4471 * gdb.reverse/i386-precsave.exp: Likewise.
4472 * gdb.reverse/machinestate-precsave.exp: Likewise.
4473 * gdb.reverse/sigall-precsave.exp: Likewise.
4474 * gdb.reverse/solib-precsave.exp: Likewise.
4475 * gdb.reverse/step-precsave.exp: Likewise.
4476 * gdb.reverse/until-precsave.exp: Likewise.
4477 * gdb.reverse/watch-precsave.exp: Likewise.
4479 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4481 * gdb.base/bp-permanent.c: Include unistd.h.
4482 * gdb.python/py-framefilter-mi.c (main): Add return type.
4483 * gdb.python/py-framefilter.c (main): Likewise.
4484 * gdb.trace/actions-changed.c (main): Likewise.
4486 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4488 * gdb.mi/until.c: Add eye-catchers.
4489 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4492 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4494 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4495 function header variants in break1.c.
4496 * gdb.base/ena-dis-br.exp: Likewise.
4497 * gdb.base/hbreak2.exp: Likewise.
4498 * gdb.reverse/until-precsave.exp: Drop references to removed
4499 non-prototype function header variants in ur1.c.
4500 * gdb.reverse/until-reverse.exp: Likewise.
4502 2014-11-17 Petr Machata <pmachata@redhat.com>
4504 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4505 ${_cu_offset_size} bytes abbrev offset.
4507 2014-11-15 Doug Evans <xdje42@gmail.com>
4510 * gdb.base/line-symtabs.exp: New file.
4511 * gdb.base/line-symtabs.c: New file.
4512 * gdb.base/line-symtabs.h: New file.
4514 2014-11-14 Yao Qi <yao@codesourcery.com>
4516 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4517 (func): Add label func_label.
4518 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4519 Replace low_pc and high_pc with MACRO_AT_range.
4520 Replace name, low_pc and high_pc with MACRO_AT_func.
4522 2014-11-14 Yao Qi <yao@codesourcery.com>
4524 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4525 Replace name, low_pc and high_pc with MACRO_AT_func.
4527 2014-11-14 Yao Qi <yao@codesourcery.com>
4529 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4530 produce debug information.
4531 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4533 2014-11-14 Yao Qi <yao@codesourcery.com>
4535 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4536 object and get function length.
4537 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4539 (top-level): Replace gdb_compile and clean_restart with
4540 prepare_for_testing.
4541 * gdb.dwarf2/main.c (main): Add label main_label.
4543 2014-11-14 Yao Qi <yao@codesourcery.com>
4545 * lib/dwarf.exp (function_range): New procedure.
4546 (Dwarf::_handle_macro_at_func): New procedure.
4547 (Dwarf::_handle_macro_at_range): New procedure.
4548 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4550 2014-11-14 Yao Qi <yao@codesourcery.com>
4552 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4553 (_handle_attribute): New procedure.
4555 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4557 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4558 * gdb.base/call-sc.c (zed): Likewise.
4559 * gdb.base/checkpoint.c (main): Likewise.
4560 * gdb.base/dump.c (main): Likewise.
4561 * gdb.base/gcore.c (main): Likewise.
4562 * gdb.base/huge.c (main): Likewise.
4563 * gdb.base/multi-forks.c (main): Likewise.
4564 * gdb.base/pr10179-a.c (main): Likewise.
4565 * gdb.base/savedregs.c (main): Likewise.
4566 * gdb.base/sigaltstack.c (main): Likewise.
4567 * gdb.base/siginfo.c (main): Likewise.
4568 * gdb.base/structs.c (zed): Likewise.
4569 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4570 * gdb.mi/mi-syn-frame.c (main): Likewise.
4571 * gdb.mi/until.c (foo, main): Likewise.
4572 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4573 * gdb.base/solib-weak.c (foo): Declare.
4574 * gdb.base/attach-twice.c: Include stdio.h.
4575 * gdb.base/weaklib1.c: Likewise.
4576 * gdb.base/weaklib2.c: Likewise.
4577 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4578 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4580 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4581 * gdb.mi/mi-exit-code.c: Likewise.
4582 * gdb.base/break-interp-lib.c: Include string.h.
4583 * gdb.base/coremaker.c: Likewise.
4584 * gdb.base/testenv.c: Likewise.
4585 * gdb.python/py-finish-breakpoint.c: Likewise.
4586 * gdb.base/inferior-died.c: Include sys/wait.h.
4587 * gdb.base/fileio.c: Include time.h.
4588 * gdb.base/async-shell.c: Include unistd.h.
4589 * gdb.base/dprintf-non-stop.c: Likewise.
4590 * gdb.base/info-os.c: Likewise.
4591 * gdb.mi/mi-console.c: Likewise.
4592 * gdb.mi/watch-nonstop.c: Likewise.
4593 * gdb.python/py-events.c: Likewise.
4594 * gdb.base/async.c (baz): Move up before its invocation.
4595 * gdb.base/code_elim2.c (my_global_func): Likewise.
4596 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4597 * gdb.base/advance.c (func2): Likewise.
4599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4601 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4603 * gdb.base/annota3.c: Likewise.
4604 * gdb.base/async.c: Likewise.
4605 * gdb.base/average.c: Likewise.
4606 * gdb.base/call-ar-st.c: Likewise.
4607 * gdb.base/call-rt-st.c: Likewise.
4608 * gdb.base/call-sc.c: Likewise.
4609 * gdb.base/call-strs.c: Likewise.
4610 * gdb.base/ending-run.c: Likewise.
4611 * gdb.base/execd-prog.c: Likewise.
4612 * gdb.base/exprs.c: Likewise.
4613 * gdb.base/foll-exec.c: Likewise.
4614 * gdb.base/foll-fork.c: Likewise.
4615 * gdb.base/foll-vfork.c: Likewise.
4616 * gdb.base/funcargs.c: Likewise.
4617 * gdb.base/gcore.c: Likewise.
4618 * gdb.base/jump.c: Likewise.
4619 * gdb.base/langs0.c: Likewise.
4620 * gdb.base/langs1.c: Likewise.
4621 * gdb.base/langs2.c: Likewise.
4622 * gdb.base/mips_pro.c: Likewise.
4623 * gdb.base/nodebug.c: Likewise.
4624 * gdb.base/opaque0.c: Likewise.
4625 * gdb.base/opaque1.c: Likewise.
4626 * gdb.base/recurse.c: Likewise.
4627 * gdb.base/run.c: Likewise.
4628 * gdb.base/scope0.c: Likewise.
4629 * gdb.base/scope1.c: Likewise.
4630 * gdb.base/setshow.c: Likewise.
4631 * gdb.base/setvar.c: Likewise.
4632 * gdb.base/shmain.c: Likewise.
4633 * gdb.base/shr1.c: Likewise.
4634 * gdb.base/shr2.c: Likewise.
4635 * gdb.base/sigall.c: Likewise.
4636 * gdb.base/signals.c: Likewise.
4637 * gdb.base/so-indr-cl.c: Likewise.
4638 * gdb.base/solib2.c: Likewise.
4639 * gdb.base/structs.c: Likewise.
4640 * gdb.base/sum.c: Likewise.
4641 * gdb.base/vforked-prog.c: Likewise.
4642 * gdb.base/watchpoint.c: Likewise.
4643 * gdb.reverse/shr2.c: Likewise.
4644 * gdb.reverse/until-reverse.c: Likewise.
4645 * gdb.reverse/ur1.c: Likewise.
4646 * gdb.reverse/watch-reverse.c: Likewise.
4648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4650 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4652 * gdb.base/sepdebug.exp: Drop references to removed code.
4654 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4656 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4657 variant. Preserve original line numbering.
4658 * gdb.base/list1.c: Likewise.
4660 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4662 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4664 * gdb.base/break1.c: Likewise.
4665 * gdb.base/break.exp: Drop references to removed code.
4667 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4669 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4672 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4674 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4676 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4678 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4679 logic into perform_all_tests() and invoke it with and without
4680 function header prototypes.
4681 (do_function_calls): Remove conditional XFAIL for PR 5318.
4682 (rerun_and_prepare): Remove duplicate code.
4683 (perform_all_tests): New. Main logic moved here.
4685 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4687 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4688 code guarded by #ifdef NO_PROTOTYPES.
4689 (t_double_many_args): Likewise.
4690 (DEF_FUNC_MANY_ARGS_1): Likewise.
4691 (DEF_FUNC_VALUES_1): Likewise.
4692 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4693 guarded by #ifdef PROTOTYPES.
4695 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4697 * gdb.mi/mi-console.c: Add eye-catcher.
4698 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4699 instead of literal line number.
4701 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4703 * gdb.base/shr2.c: Add eye-catcher.
4704 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4707 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4709 * gdb.base/jump.c: Add eye-catchers.
4710 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4713 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4715 * gdb.base/execd-prog.c: Add eye-catchers.
4716 * gdb.base/foll-exec.c: Likewise.
4717 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4720 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4722 * gdb.base/ending-run.c: Add eye-catchers.
4723 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4724 literal line numbers.
4726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728 * gdb.base/call-rt-st.c: Add eye-catchers.
4729 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4730 literal line numbers.
4732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4734 * gdb.base/call-ar-st.c: Add eye-catchers.
4735 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4736 literal line numbers.
4738 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4740 * gdb.base/average.c: Add eye-catchers.
4741 * gdb.base/sum.c: Likewise.
4742 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4743 regexps dynamically.
4745 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4747 * gdb.base/solib1.c: Add eye-catchers.
4748 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4749 literal line numbers.
4751 2014-11-12 Pedro Alves <palves@redhat.com>
4753 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4756 2014-11-12 Pedro Alves <palves@redhat.com>
4758 * gdb.arch/i386-bp_permanent.c: New file.
4759 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4760 (srcfile): Set to i386-bp_permanent.c.
4761 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4762 that stepi does not execute the 'leave' instruction, instead of
4763 testing it does execute.
4764 * gdb.base/bp-permanent.c: New file.
4765 * gdb.base/bp-permanent.exp: New file.
4767 2014-11-10 Doug Evans <xdje42@gmail.com>
4770 * gdb.base/symtab-search-order.exp: New file.
4771 * gdb.base/symtab-search-order.c: New file.
4772 * gdb.base/symtab-search-order-1.c: New file.
4773 * gdb.base/symtab-search-order-shlib-1.c: New file.
4775 2014-11-07 Pedro Alves <palves@redhat.com>
4778 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4781 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4784 * gdb.cp/pr17494.cc: New file.
4785 * gdb.cp/pr17494.exp: New file.
4787 2014-11-02 Yao Qi <yao@codesourcery.com>
4789 * gdb.python/python.exp: Get working directory and match the
4790 output of "set extended-prompt \\w " with it.
4792 2014-10-30 Doug Evans <dje@google.com>
4794 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4796 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4799 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4801 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4802 * gdb.base/realname-expand.exp: Likewise.
4803 * gdb.linespec/macro-relative.exp: Likewise.
4805 2014-10-29 Pedro Alves <palves@redhat.com>
4808 * gdb.threads/schedlock.c (some_function): New function.
4809 (call_function): New global.
4810 (MAYBE_CALL_SOME_FUNCTION): New macro.
4811 (thread_function): Call it.
4812 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4813 and use it instead of a global counter. Adjust all callers.
4814 (get_current_thread): Use "find current thread" for test message
4815 here rather than having all callers pass down the same string.
4816 (goto_loop): New procedure, factored out from ...
4817 (my_continue): ... this.
4818 (step_ten_loops): Change parameter from test message to command to
4820 (list_count): Delete global.
4821 (check_result): New procedure, factored out from duplicate top
4823 (continue tests): Wrap in with_test_prefix.
4824 (test_step): New procedure, factored out from duplicate top level
4826 (top level): Test "step" in combination with all scheduler-locking
4827 modes. Test "next" in combination with all scheduler-locking
4828 modes, and in combination with stepping over a function call or
4830 * gdb.threads/next-bp-other-thread.c: New file.
4831 * gdb.threads/next-bp-other-thread.exp: New file.
4833 2014-10-29 Pedro Alves <palves@redhat.com>
4836 * gdb.python/python.exp: Test a multi-line command that spawns
4838 * gdb.base/multi-line-starts-subshell.exp: New file.
4840 2014-10-29 Yao Qi <yao@codesourcery.com>
4842 * gdb.base/fileio.exp: Make directories on host.
4844 2014-10-29 Yao Qi <yao@codesourcery.com>
4846 * gdb.base/fileio.c (test_write): Close the file.
4848 2014-10-28 Pedro Alves <palves@redhat.com>
4851 * gdb.base/sigstep.c (no_handler): New global.
4852 (main): If 'no_handler is true, set the signal handlers to
4854 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4855 with_sw_watch and no_handler parameters. Handle them.
4856 (top level) <stepping over handler when stopped at a breakpoint
4857 test>: Add a test axis for testing with a software watchpoint, and
4858 another for testing with the signal handler set to SIG_IGN.
4859 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4860 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4862 2014-10-28 Pedro Alves <palves@redhat.com>
4865 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4866 * gdb.base/sigstep.exp (other_handler_location): New global.
4867 (advance): Support stepping into the signal handler, and running
4868 commands while in the handler.
4869 (in_handler_map): New global.
4870 (top level): In the advance test, add combinations for getting
4871 into the handler with stepping commands, and for running commands
4872 in the handler. Add comment descripting the advancei tests.
4874 2014-10-28 Pedro Alves <palves@redhat.com>
4876 * gdb.base/sigstep.exp: Use build_executable instead of
4877 prepare_for_testing.
4878 (top level): Move code that starts GDB, runs to main and creates a
4880 (restart): ... this new procedure.
4881 (top level): Move backtrace from signal handler test to ...
4882 (validate_backtrace): ... this new procedure.
4883 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4884 with_test_prefix. Always restart GDB.
4885 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4886 with_test_prefix. Always restart GDB. No need to delete
4887 breakpoints after the test.
4888 (test_skip_handler): Remove prefix parameter.
4889 (skip_over_handler, breakpoint_to_handler)
4890 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4891 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4892 restart GDB. No need to delete breakpoints after the test.
4893 (top level): Use foreach to call the test procedures with
4896 2014-10-28 Pedro Alves <palves@redhat.com>
4898 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4899 instead of GNATS numbers.
4900 * gdb.base/sigbpt.exp: Likewise.
4901 * gdb.base/siginfo.exp: Likewise.
4902 * gdb.base/sigstep.exp: Likewise.
4904 2014-10-27 Pedro Alves <palves@redhat.com>
4906 * gdb.base/sigstep.c (dummy): New global.
4907 (main): Issue a couple writes to the new global.
4908 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4910 (skip_over_handler): Use test_skip_handler.
4911 (top level): Call skip_over_handler for stepi and nexti too.
4912 (breakpoint_over_handler): Use test_skip_handler.
4913 (top level): Call breakpoint_over_handler for stepi and nexti too.
4915 2014-10-27 Yao Qi <yao@codesourcery.com>
4917 * gdb.trace/tfile.c (adjust_function_address)
4918 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4919 function descriptor.
4921 2014-10-24 Don Breazeal <donb@codesourcery.com>
4923 * gdb.base/foll-fork.exp (test_follow_fork,
4924 catch_fork_child_follow): Check for updated fork messages emitted
4926 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4927 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4928 vfork_and_exec_child_follow_through_step): Check for updated vfork
4929 messages emitted from infrun.c.
4931 2014-10-24 Pedro Alves <palves@redhat.com>
4933 * gdb.base/corefile.exp: Remove references to ultrix.
4934 * gdb.base/interrupt.exp: Likewise.
4935 * gdb.base/whatis.exp: Likewise.
4936 * gdb.gdb/selftest.exp: Likewise.
4937 * gdb.threads/manythreads.exp: Likewise.
4938 * gdb.threads/print-threads.exp: Likewise.
4939 * gdb.threads/pthreads.exp:: Likewise.
4940 * gdb.threads/schedlock.exp: Likewise.
4942 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4944 * gdb.cp/non-trivial-retval.cc: Add a test case.
4945 * gdb.cp/non-trivial-retval.exp: Add a test.
4947 2014-10-20 Yao Qi <yao@codesourcery.com>
4949 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4950 * gdb.python/py-objfile-script-gdb.py: New file.
4951 * gdb.python/py-objfile-script.exp: Update reference to
4952 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4953 of remote_download. Remove the dest file.
4955 2014-10-20 Yao Qi <yao@codesourcery.com>
4957 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4958 * gdb.base/step-line.exp: Likewise.
4959 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4960 * gdb.dwarf2/dw2-basic.exp: Likewise.
4961 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4962 * gdb.dwarf2/dw2-filename.exp: Likewise.
4963 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4964 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4965 * gdb.dwarf2/dw2-producer.exp: Likewise.
4966 * gdb.dwarf2/mac-fileno.exp: Likewise.
4967 * gdb.python/py-frame-args.exp: Likewise.
4968 * gdb.python/py-framefilter.exp: Likewise.
4969 * gdb.python/py-mi.exp: Likewise.
4970 * gdb.python/py-objfile-script.exp: Likewise
4971 * gdb.python/py-pp-integral.exp: Likewise.
4972 * gdb.python/py-pp-re-notag.exp: Likewise.
4973 * gdb.python/py-prettyprint.exp: Likewise.
4974 * gdb.python/py-section-script.exp: Likewise.
4975 * gdb.python/py-typeprint.exp: Likewise.
4976 * gdb.python/py-xmethods.exp: Likewise.
4977 * gdb.stabs/weird.exp: Likewise.
4978 * gdb.xml/tdesc-regs.exp: Likewise.
4980 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4982 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4983 (out_cu): Use addr_len for the size of addresses.
4984 (out_line): Likewise. Size DW_LNE_set_address instruction
4985 according to addr_len.
4986 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4987 (FUNC): Add START_INSNS to definition.
4989 2014-10-18 Yao Qi <yao@codesourcery.com>
4991 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4992 gdb_has_argv0 return true.
4993 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4994 check [target_info exists noargs], check [gdb_has_argv0]
4996 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4997 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5000 2014-10-17 Doug Evans <dje@google.com>
5002 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5004 * gdb.python/py-events.py: Add clear_objfiles event.
5006 2014-10-17 Doug Evans <dje@google.com>
5008 * gdb.python/py-objfile.exp: Test progspace attribute.
5010 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5012 * gdb.guile/scm-breakpoint.exp: Do not assume any
5013 directory separators when matching source file paths.
5014 * gdb.python/py-breakpoint.exp: Likewise.
5015 * gdb.reverse/break-precsave.exp: Likewise.
5016 * gdb.reverse/break-reverse.exp: Likewise.
5017 * gdb.reverse/consecutive-precsave.exp: Likewise.
5018 * gdb.reverse/finish-precsave.exp: Likewise.
5019 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5020 * gdb.reverse/finish-reverse.exp: Likewise.
5021 * gdb.reverse/i386-precsave.exp: Likewise.
5022 * gdb.reverse/i387-env-reverse.exp: Likewise.
5023 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5024 * gdb.reverse/machinestate-precsave.exp: Likewise.
5025 * gdb.reverse/machinestate.exp: Likewise.
5026 * gdb.reverse/sigall-precsave.exp: Likewise.
5027 * gdb.reverse/solib-precsave.exp: Likewise.
5028 * gdb.reverse/step-precsave.exp: Likewise.
5029 * gdb.reverse/until-precsave.exp: Likewise.
5030 * gdb.reverse/watch-precsave.exp: Likewise.
5031 * gdb.reverse/watch-reverse.exp: Likewise.
5033 2014-10-17 Yao Qi <yao@codesourcery.com>
5035 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5036 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5038 2014-10-17 Pedro Alves <palves@redhat.com>
5041 * gdb.base/bg-execution-repeat.c: New file.
5042 * gdb.base/bg-execution-repeat.exp: New file.
5044 2014-10-17 Pedro Alves <palves@redhat.com>
5047 * gdb.base/continue-all-already-running.c: New file.
5048 * gdb.base/continue-all-already-running.exp: New file.
5050 2014-10-17 Pedro Alves <palves@redhat.com>
5053 * gdb.base/annota-input-while-running.c: New file.
5054 * gdb.base/annota-input-while-running.exp: New file.
5056 2014-10-17 Pedro Alves <palves@redhat.com>
5058 * gdb.base/callfuncs.exp: emove references to osf.
5059 * gdb.base/sigall.exp: Likewise.
5060 * gdb.gdb/selftest.exp: Likewise.
5061 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5062 * gdb.mi/non-stop.c: Likewise.
5063 * gdb.mi/pthreads.c: Likewise.
5064 * gdb.reverse/sigall-precsave.exp: Likewise.
5065 * gdb.reverse/sigall-reverse.exp: Likewise.
5066 * gdb.threads/pthreads.c: Likewise.
5067 * gdb.threads/pthreads.exp: Likewise.
5069 2014-10-17 Yao Qi <yao@codesourcery.com>
5071 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5072 check 'target_info exists noargs'.
5073 (test_command_prompt_position): Likewise.
5074 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5076 (progvar_simple_while_test): Likewise.
5077 (progvar_complex_if_while_test): Likewise.
5078 (if_while_breakpoint_command_test): Likewise.
5079 (infrun_breakpoint_command_test): Likewise.
5080 (breakpoint_command_test): Likewise.
5081 (watchpoint_command_test): Likewise.
5082 (bp_deleted_in_command_test): Likewise.
5083 (temporary_breakpoint_commands): Likewise.
5085 2014-10-16 Yao Qi <yao@codesourcery.com>
5087 * gdb.base/remotetimeout.exp: Remove noargs checking.
5089 2014-10-15 Pedro Alves <palves@redhat.com>
5092 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5093 * gdb.base/breakpoint-in-ro-region.exp
5094 (probe_target_hardware_step): New procedure.
5095 (top level): Probe hardware stepping and hardware breakpoint
5096 support. Test stepping through a read-only region, with both
5097 "breakpoint auto-hw" on and off and both "always-inserted" on and
5100 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5102 * gdb.dlang/demangle.exp: Update for demangling changes.
5104 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5106 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5107 * gdb.cp/non-trivial-retval.exp: Add new tests.
5109 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5113 * gdb.cp/non-trivial-retval.cc: New file.
5114 * gdb.cp/non-trivial-retval.exp: New file.
5116 2014-10-15 Yao Qi <yao@codesourcery.com>
5118 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5121 2014-10-15 Yao Qi <yao@codesourcery.com>
5123 * gdb.python/py-symbol.exp: Match file base name if host is
5124 remote, otherwise match file name with dir name.
5125 * gdb.python/py-symtab.exp: Likewise.
5126 * gdb.python/python.exp: Likewise.
5128 2014-10-15 Yao Qi <yao@codesourcery.com>
5130 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5132 * gdb.python/py-symtab.exp: Likewise.
5133 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5136 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5138 * gdb.ada/addr_arith: New testcase.
5140 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5142 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5143 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5144 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5145 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5147 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5149 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5150 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5151 * gdb.arch/stap-eval-lang-ada.exp: New file.
5153 2014-10-14 Yao Qi <yao@codesourcery.com>
5155 * gdb.mi/mi-var-child.c (nothing1): New function.
5156 (nothing2): New function.
5157 (do_children_tests): Set function pointers by nothing1 and
5159 * gdb.mi/mi-var-child.exp: Step over new added statements.
5160 Update test to match the new output.
5161 * gdb.mi/var-cmd.c (nothing1): New function.
5162 (nothing2): New function.
5163 (do_children_tests): Set function pointers by nothing1 and
5165 * gdb.mi/mi-var-display.exp: Update test to match output.
5166 Step to the line specified by $line_dct_nothing.
5167 Increase the number of lines to step.
5169 2014-10-14 Yao Qi <yao@codesourcery.com>
5171 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5173 * gdb.mi/mi2-var-child.exp: Likewise.
5175 2014-10-13 Doug Evans <dje@google.com>
5177 * gdb.python/py-objfile.exp: Change name of file name test.
5179 2014-10-13 Doug Evans <dje@google.com>
5181 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5182 from the start of the CU.
5184 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5185 Yao Qi <yao@codesourcery.com>
5187 Fix "save breakpoints" for "catch" command.
5188 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5189 Remove -nonewline. Match also the added "main" line.
5191 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5193 Fix "save breakpoints" for "disable $bpnum" command.
5194 * gdb.base/save-bp.c (main): Add label.
5195 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5197 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5199 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5201 2014-10-11 Yao Qi <yao@codesourcery.com>
5203 * gdb.server/server-kill.exp: Execute command
5204 "set remote trace-status-packet on" before "tstatus".
5206 2014-10-11 Yao Qi <yao@codesourcery.com>
5208 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5209 (main): Call getppid.
5210 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5211 and continue to it. Read variable "server_pid".
5213 2014-10-11 Yao Qi <yao@codesourcery.com>
5215 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5217 2014-10-11 Yao Qi <yao@codesourcery.com>
5219 * gdb.threads/thread-find.exp: Don't execute command
5221 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5222 * gdb.threads/linux-dp.exp: Don't check the condition
5223 $threads_created equals to zero.
5225 2014-10-10 Pedro Alves <palves@redhat.com>
5227 * gdb.base/bigcore.exp: Remove references to IRIX.
5228 * gdb.base/funcargs.exp: Likewise.
5229 * gdb.base/interrupt.exp: Likewise.
5230 * gdb.base/mips_pro.exp: Likewise.
5231 * gdb.base/nodebug.exp: Likewise.
5232 * gdb.base/setvar.exp: Likewise.
5233 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5235 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5236 Pedro Alves <palves@redhat.com>
5239 * gdb.base/vdso-warning.c: New file.
5240 * gdb.base/vdso-warning.exp: New file.
5242 2014-10-02 Doug Evans <dje@google.com>
5244 * gdb.base/structs.c (main): Don't run forever.
5246 2014-10-02 Pedro Alves <palves@redhat.com>
5248 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5249 (top level) <stop threads 1, stop threads 2>: Use it.
5251 2014-10-02 Pedro Alves <palves@redhat.com>
5253 * gdb.threads/break-while-running.exp (test): Add new
5254 'update_thread_list' argument. Skip "info threads" if false.
5255 (top level): Add new 'update_thread_list' axis.
5257 2014-10-02 Pedro Alves <palves@redhat.com>
5259 PR breakpoints/17431
5260 * gdb.base/execl-update-breakpoints.c: New file.
5261 * gdb.base/execl-update-breakpoints.exp: New file.
5263 2014-10-01 Pedro Alves <palves@redhat.com>
5265 * gdb.base/breakpoint-in-ro-region.c: New file.
5266 * gdb.base/breakpoint-in-ro-region.exp: New file.
5268 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5270 * gdb.mi/mi-exit-code.exp: New file.
5271 * gdb.mi/mi-exit-code.c: New file.
5273 2014-09-30 Yao Qi <yao@codesourcery.com>
5275 * lib/prelink-support.exp (build_executable_own_libs): Error if
5276 the target isn't native.
5278 2014-09-30 Yao Qi <yao@codesourcery.com>
5280 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5283 2014-09-22 Pedro Alves <palves@redhat.com>
5285 * gdb.threads/break-while-running.exp: New file.
5286 * gdb.threads/break-while-running.c: New file.
5288 2014-09-19 Yao Qi <yao@codesourcery.com>
5290 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5291 Invoke test. Restart GDB with --readnow and invoke test again.
5293 2014-09-19 Yao Qi <yao@codesourcery.com>
5295 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5296 proc set_breakpoint_on_gcd_function. Invoke
5297 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5298 invoke set_breakpoint_on_gcd_function again.
5300 2014-09-18 Doug Evans <dje@google.com>
5302 * gdb.dwarf2/symtab-producer.exp: New file.
5304 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5306 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5307 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5308 * gdb.base/global-var-nested-by-dso.c: Likewise.
5309 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5311 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5312 Pedro Alves <palves@redhat.com>
5314 * gdb.base/watch-bitfields.exp: Pass string other than test file
5315 name to prepare_for_testing.
5316 (watch): New procedure.
5317 (expect_watchpoint): Use with_test_prefix.
5318 (top level): Factor out tests to ...
5319 (test_watch_location, test_regular_watch): ... these new
5320 procedures, and use with_test_prefix and gdb_continue_to_end.
5322 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5324 PR breakpoints/12526
5325 * gdb.base/watch-bitfields.exp: New file.
5326 * gdb.base/watch-bitfields.c: New file.
5328 2014-09-16 Pedro Alves <palves@redhat.com>
5330 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5331 software and hardware addresses, not software address against
5334 2014-09-16 Pedro Alves <palves@redhat.com>
5336 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5337 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5339 2014-09-16 Pedro Alves <palves@redhat.com>
5341 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5343 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5344 "*-*-vxworks*" throughout.
5345 * gdb.base/break.exp: Likewise.
5346 * gdb.base/default.exp: Likewise.
5347 * gdb.base/scope.exp: Likewise.
5348 * gdb.base/sepdebug.exp: Likewise.
5349 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5351 * gdb.base/run.c: Likewise.
5352 * gdb.base/sepdebug.c: Likewise.
5353 * gdb.hp/gdb.aCC/run.c: Likewise.
5354 * gdb.reverse/until-reverse.c: Likewise.
5355 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5357 2014-09-16 Yao Qi <yao@codesourcery.com>
5359 * boards/local-remote-host-native.exp: New file.
5361 2014-09-14 Doug Evans <xdje42@gmail.com>
5363 * gdb.threads/queue-signal.c (thread_count): New variable.
5364 (thread_count_mutex, thread_count_condvar): New variables.
5365 (incr_thread_count, wait_all_threads_running): New functions.
5366 (main): Wait for all threads to be in their thread functions.
5368 2014-09-13 Doug Evans <xdje42@gmail.com>
5370 * gdb.threads/queue-signal.c: New file.
5371 * gdb.threads/queue-signal.exp: New file.
5373 2014-09-13 Doug Evans <xdje42@gmail.com>
5375 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5376 be consistent with what default_gdb_init uses.
5377 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5378 the plain text of the prompt. Add some logging printfs.
5379 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5381 2014-09-12 Pedro Alves <palves@redhat.com>
5383 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5384 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5385 * gdb.arch/i386-size-overlap.exp: Likewise.
5386 * gdb.arch/i386-size.exp: Likewise.
5387 * gdb.arch/i386-unwind.exp: Likewise.
5388 * gdb.base/a2-run.exp: Likewise.
5389 * gdb.base/break.exp: Likewise.
5390 * gdb.base/charset.exp: Likewise.
5391 * gdb.base/chng-syms.exp: Likewise.
5392 * gdb.base/commands.exp: Likewise.
5393 * gdb.base/dbx.exp: Likewise.
5394 * gdb.base/find.exp: Likewise.
5395 * gdb.base/funcargs.exp: Likewise.
5396 * gdb.base/jit-simple.exp: Likewise.
5397 * gdb.base/reread.exp: Likewise.
5398 * gdb.base/sepdebug.exp: Likewise.
5399 * gdb.base/step-bt.exp: Likewise.
5400 * gdb.cp/mb-inline.exp: Likewise.
5401 * gdb.cp/mb-templates.exp: Likewise.
5402 * gdb.objc/basicclass.exp: Likewise.
5403 * gdb.threads/killed.exp: Likewise.
5405 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5408 * gdb.arch/powerpc-stackless.S: New file.
5409 * gdb.arch/powerpc-stackless.exp: New file.
5411 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5413 * gdb.base/attach.c: Include unistd.h.
5414 (main): Call alarm. Add label postloop.
5415 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5416 gdb_breakpoint, gdb_continue_to_breakpoint.
5417 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5419 2014-09-11 Pedro Alves <palves@redhat.com>
5422 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5423 * gdb.base/attach.exp (test_command_line_attach_run): New
5425 (top level): Call it.
5427 2014-09-11 Pedro Alves <palves@redhat.com>
5429 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5430 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5431 (do_command_attach_tests): Use spawn_wait_for_attach.
5432 * gdb.base/solib-overlap.exp: Likewise.
5433 * gdb.multi/multi-attach.exp: Likewise.
5434 * gdb.python/py-prompt.exp: Likewise.
5435 * gdb.python/py-sync-interp.exp: Likewise.
5436 * gdb.server/ext-attach.exp: Likewise.
5438 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5440 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5441 command in testcase. Simplify testcase.
5443 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5445 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5447 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5449 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5451 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5453 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5455 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5457 * gdb.dwarf2/dynarr-ptr.c: New file.
5458 * gdb.dwarf2/dynarr-ptr.exp: New file.
5460 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5462 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5463 of 30 rather than hardcoding 120 for a slow test case. Take the
5464 `gdb,timeout' target setting into account for this calculation.
5465 Don't extend the timeout for the test cases that don't need it.
5467 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5469 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5470 a factor of 2 for a slow test case. Take the `gdb,timeout'
5471 target setting into account for this calculation.
5472 * gdb.reverse/until-precsave.exp: Increase the timeout by
5473 a factor of 15 and 3 respectively rather than adding 120
5474 for a pair of slow test cases. Take the `gdb,timeout'
5475 target setting into account for this calculation.
5477 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5479 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5480 timeout, don't pass one down to gdb_expect.
5481 (gdb_expect): Rework timeout selection.
5483 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5485 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5486 exception on timeout.
5487 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5488 (gdbserver_start_extended): Catch any `gdbserver_start' error
5490 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5491 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5492 `gdbserver_gdb_load' error exceptions.
5494 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5496 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5497 120 on waiting for the TCP socket to open.
5499 2014-09-09 Doug Evans <xdje42@gmail.com>
5501 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5502 _caller_matches, _any_caller_is, _any_caller_matches.
5504 2014-09-09 Doug Evans <xdje42@gmail.com>
5506 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5508 2014-09-09 Yao Qi <yao@codesourcery.com>
5510 * gdb.mi/mi-var-display.exp: Set print symbol off.
5512 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5515 * gdb.base/commands.exp: Add tests to verify user-defined
5516 commands with empty bodies.
5517 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5518 python commands in `show user command`.
5519 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5520 scheme commands in `show user command`.
5522 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5525 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5526 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5527 * gdb.python/py-framefilter-invalidarg.exp: New file.
5528 * gdb.python/py-framefilter-invalidarg.py: New file.
5530 2014-09-06 Doug Evans <xdje42@gmail.com>
5533 * gdb.python/py-caller-is.c: New file.
5534 * gdb.python/py-caller-is.exp: New file.
5536 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5539 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5540 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5542 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5545 * gdb.fortran/print-formatted.exp: New file.
5546 * gdb.fortran/print-formatted.f90: Likewise.
5548 2014-09-03 Sasha Smundak <asmundak@google.com>
5550 * gdb.python/py-frame.exp: Test Frame.read_register.
5552 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5555 * gdb.python/py-completion.exp: New file.
5556 * gdb.python/py-completion.py: Likewise.
5558 2014-08-28 Doug Evans <dje@google.com>
5560 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5561 eax,etc. are live with values set by gdb and thus the compiler can't
5563 * gdb.arch/i386-pseudo.c (main): Ditto.
5565 2014-08-27 Doug Evans <dje@google.com>
5567 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5569 2014-08-25 Doug Evans <dje@google.com>
5571 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5574 2014-08-25 Doug Evans <dje@google.com>
5576 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5578 2014-08-24 Yao Qi <yao@codesourcery.com>
5580 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5582 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5584 2014-08-22 Doug Evans <dje@google.com>
5587 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5588 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5589 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5591 2014-08-22 Yao Qi <yao@codesourcery.com>
5593 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5594 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5595 * gdb.python/python.exp: Likewise. Use .py file on the host
5596 instead of the build.
5598 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5600 * gdb.threads/gcore-stale-thread.c: New file.
5601 * gdb.threads/gcore-stale-thread.exp: New file.
5603 2014-08-21 Pedro Alves <palves@redhat.com>
5605 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5606 * gdb.base/gcore-relro-pie.exp: Likewise.
5607 * gdb.base/gcore-relro.exp: Likewise.
5608 * gdb.base/gcore.exp: Likewise.
5609 * gdb.base/print-symbol-loading.exp: Likewise.
5610 * gdb.threads/gcore-thread.exp: Likewise.
5611 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5613 2014-08-20 Pedro Alves <palves@redhat.com>
5614 Jan Kratochvil <jan.kratochvil@redhat.com>
5616 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5618 (EXPECT): Handle READ1 being set.
5619 (all): Depend on EXTRA_RULES.
5620 (check-read1, expect-read1, read1.so, read1): New rules.
5621 * README (Testsuite Parameters): Document the READ1 make variable.
5622 (Race detection): New section.
5623 * configure: Regenerate.
5624 * configure.ac: If build==host==target, and running under a
5625 GNU/glibc system, add read1 to the extra Makefile rules.
5626 (EXTRA_RULES): AC_SUBST it.
5627 * lib/read1.c: New file.
5629 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5631 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5632 the handling of variables declared as a typedef to an array
5633 which a DW_AT_data_location attribute.
5635 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5636 Pedro Alves <palves@redhat.com>
5640 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5643 2014-08-19 Pedro Alves <palves@redhat.com>
5645 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5647 2014-08-19 Yao Qi <yao@codesourcery.com>
5649 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5652 2014-08-18 David Blaikie <dblaikie@gmail.com>
5654 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5656 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5658 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5659 attribute in array range.
5661 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5663 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5665 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5668 * gdb.cp/pr17132.cc: New file.
5669 * gdb.cp/pr17132.exp: New file.
5671 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5673 * gdb.python/py-xmethods.py (A_getarrayind)
5674 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5675 Use 'print' with function call syntax.
5676 (E_method_matcher.match): Fix tab vs space indentation mixup.
5678 2014-08-15 Yao Qi <yao@codesourcery.com>
5680 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5683 2014-08-15 Yao Qi <yao@codesourcery.com>
5685 * gdb.cp/casts.exp: Set print symbol off.
5686 * gdb.cp/class2.exp: Likewise.
5687 * gdb.cp/overload.exp: Likewise.
5688 * gdb.cp/templates.exp: Likewise.
5690 2014-08-11 Doug Evans <dje@google.com>
5692 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5693 (test_load_shlib): Update.
5695 2014-08-09 Yao Qi <yao@codesourcery.com>
5697 * gdb.base/display.exp: Invoke is_address_zero_readable.
5698 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5699 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5700 * gdb.base/hbreak-unmapped.exp: Return if
5701 is_address_zero_readable returns true.
5702 * gdb.base/signest.exp: Likewise.
5703 * gdb.base/signull.exp: Likewise.
5704 * gdb.base/sigbpt.exp: Likewise.
5705 * gdb.guile/scm-disasm.exp: Do the test if
5706 is_address_zero_readable returns false.
5707 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5708 * gdb.python/py-arch.exp: Likewise.
5709 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5710 * lib/gdb.exp (is_address_zero_readable): New proc.
5712 2014-08-09 Yao Qi <yao@codesourcery.com>
5715 * gdb.mi/mi-var-display.exp: Make test messages unique.
5717 2014-08-04 Tom Tromey <tromey@redhat.com>
5719 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5722 2014-08-04 Tom Tromey <tromey@redhat.com>
5724 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5727 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5729 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5730 inner_vla_struct_object_size.
5731 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5734 2014-07-30 Pedro Alves <palves@redhat.com>
5736 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5739 2014-07-29 Yao Qi <yao@codesourcery.com>
5742 * gdb.base/until-nodebug.exp: New.
5744 2014-07-28 Doug Evans <xdje42@gmail.com>
5747 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5748 previously existing parameter, and previously ambiguously spelled
5751 2014-07-28 Will Newton <will.newton@linaro.org>
5753 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5755 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5756 Doug Evans <xdje42@gmail.com>
5759 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5761 2014-07-25 Pedro Alves <palves@redhat.com>
5763 * gdb.threads/signal-command-handle-nopass.c: New file.
5764 * gdb.threads/signal-command-handle-nopass.exp: New file.
5765 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5766 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5767 * gdb.threads/signal-delivered-right-thread.c: New file.
5768 * gdb.threads/signal-delivered-right-thread.exp: New file.
5770 2014-07-25 Pedro Alves <palves@redhat.com>
5772 * gdb.base/double-prompt-target-event-error.exp
5773 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5775 (cancel_pagination_in_target_event): Rework double prompt
5777 * gdb.base/paginate-after-ctrl-c-running.exp
5778 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5780 * gdb.base/paginate-bg-execution.exp
5781 (test_bg_execution_pagination_return)
5782 (test_bg_execution_pagination_cancel): Remove '-notransfer
5784 * gdb.base/paginate-execution-startup.exp
5785 (test_fg_execution_pagination_return)
5786 (test_fg_execution_pagination_cancel): Remove '-notransfer
5788 * gdb.base/paginate-inferior-exit.exp
5789 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5791 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5792 * lib/gdb.exp (pagination_prompt): Run text through
5794 (gdb_test_multiple): Match $pagination_prompt instead of
5796 (string_to_regexp): Move to lib/gdb-utils.exp.
5798 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5800 * gdb.arch/amd64-entry-value-paramref.S: New file.
5801 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5802 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5803 * gdb.arch/amd64-optimout-repeat.S: New file.
5804 * gdb.arch/amd64-optimout-repeat.c: New file.
5805 * gdb.arch/amd64-optimout-repeat.exp: New file.
5807 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5810 * gdb.base/statistics.exp: New file.
5812 2014-07-17 Doug Evans <dje@google.com>
5815 * gdb.base/maint.exp: Update testing of per-command stats.
5817 2014-07-16 Pedro Alves <palves@redhat.com>
5819 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5820 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5821 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5822 (tfile_write_buf): New functions.
5823 (add_memory_block): Rewrite using the above.
5824 (adjust_function_address): New function.
5825 (FUNCTION_ADDRESS): New macro.
5826 (write_basic_trace_file): Remove short_x local, and use
5827 tfile_write_16. Change type of func_addr local to unsigned long
5828 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5829 here. Cast argument of add_memory_block to char pointer.
5830 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5831 (main): Remove parameters.
5832 * gdb.trace/tfile.exp: Remove nowarnings.
5834 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5836 * gdb.base/debug-expr.exp: Test string evaluation with
5837 "debug expression" on.
5839 2014-07-15 Pedro Alves <palves@redhat.com>
5841 * gdb.base/reread.exp: Use clean_restart.
5843 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5845 * gdb.arch/avr-flash-qualifer.c: New.
5846 * gdb.arch/avr-flash-qualifer.exp: New.
5848 2014-07-14 Pedro Alves <palves@redhat.com>
5850 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5851 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5853 2014-07-14 Pedro Alves <palves@redhat.com>
5855 * gdb.base/double-prompt-target-event-error.c: New file.
5856 * gdb.base/double-prompt-target-event-error.exp: New file.
5858 2014-07-14 Pedro Alves <palves@redhat.com>
5861 * gdb.base/paginate-inferior-exit.c: New file.
5862 * gdb.base/paginate-inferior-exit.exp: New file.
5864 2014-07-14 Pedro Alves <palves@redhat.com>
5867 * gdb.base/paginate-bg-execution.c: New file.
5868 * gdb.base/paginate-bg-execution.exp: New file.
5870 2014-07-14 Pedro Alves <palves@redhat.com>
5873 * gdb.base/paginate-execution-startup.c: New file.
5874 * gdb.base/paginate-execution-startup.exp: New file.
5875 * lib/gdb.exp (pagination_prompt): New global.
5876 (default_gdb_spawn): New procedure, factored out from
5878 (default_gdb_start): Adjust to call default_gdb_spawn.
5879 (gdb_spawn): New procedure.
5881 2014-07-14 Pedro Alves <palves@redhat.com>
5883 * lib/gdb.exp (gdb_assert): New procedure.
5884 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5886 2014-07-14 Pedro Alves <palves@redhat.com>
5888 * gdb.base/execution-termios.c: New file.
5889 * gdb.base/execution-termios.exp: New file.
5891 2014-07-14 Tom Tromey <tromey@redhat.com>
5893 * gdb.cp/vla-cxx.cc: New file.
5894 * gdb.cp/vla-cxx.exp: New file.
5896 2014-07-14 Tom Tromey <tromey@redhat.com>
5898 * gdb.reverse/rerun-prec.c: New file.
5899 * gdb.reverse/rerun-prec.exp: New file.
5901 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5902 Maciej W. Rozycki <macro@codesourcery.com>
5904 * lib/gdb-utils.exp: New file.
5905 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5906 inline `gdb_init_command' processing.
5907 (gdb_start_cmd): Likewise.
5908 * lib/mi-support.exp (mi_run_cmd): Likewise.
5909 * README: Document `gdb_init_command' and `gdb_init_commands'.
5911 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5913 Fix false FAIL running under a very long directory name.
5914 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5915 and "set print elements 10000". Twice.
5917 2014-07-11 Yao Qi <yao@codesourcery.com>
5919 * gdb.base/exprs.exp: "set print symbol off".
5921 2014-07-11 Pedro Alves <palves@redhat.com>
5923 * gdb.threads/kill.c: New file.
5924 * gdb.threads/kill.exp: New file.
5926 2014-07-10 Yao Qi <yao@codesourcery.com>
5928 * gdb.trace/tfile.c (write_basic_trace_file)
5929 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5930 address written to trace file.
5932 2014-07-09 Pedro Alves <palves@redhat.com>
5934 * gdb.base/attach-wait-input.exp: New file.
5935 * gdb.base/attach-wait-input.c: New file.
5937 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5939 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5940 setting up test structures.
5941 (main): Call new test function.
5942 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5943 test function, continue into test function and walk test
5946 2014-07-02 Yao Qi <yao@codesourcery.com>
5948 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5949 'bar_start' at the beginning of functions 'foo' and 'bar'
5951 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5952 instead of 'foo' and 'bar'.
5954 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5956 * gdb.btrace/segv.exp: New.
5957 * gdb.btrace/segv.c: New.
5959 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5961 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5964 2014-06-30 Mark Wielaard <mjw@redhat.com>
5966 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5967 vulture, vilify, villar): New volatile array constants.
5968 (vindictive, vegetation): New const volatile array constants.
5969 * gdb.base/volatile.exp: Test volatile and const volatile array
5972 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5974 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5975 target lacks support for awatch, rwatch, or hbreak.
5977 2014-06-27 Yao Qi <yao@codesourcery.com>
5979 * gdb.multi/dummy-frame-restore.exp: New.
5980 * gdb.multi/dummy-frame-restore.c: New.
5982 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5984 * gdb.btrace/gcore.exp: New.
5986 2014-06-23 Pedro Alves <palves@redhat.com>
5988 * gdb.base/watchpoint-reuse-slot.c: New file.
5989 * gdb.base/watchpoint-reuse-slot.exp: New file.
5991 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5993 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5994 progspace's filename in 'info', 'enable' and 'disable' command
5997 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5999 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6000 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6001 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6003 2014-06-20 Gary Benson <gbenson@redhat.com>
6005 * gdb.arch/i386-avx.exp: Fix include file location.
6006 * gdb.arch/i386-sse.exp: Likewise.
6008 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6010 * gdb.dlang/expression.exp: New file.
6012 2014-06-19 Pedro Alves <palves@redhat.com>
6014 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6016 (top level): ... here. Iterate running tests under different
6017 scheduler-locking settings.
6019 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6021 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6022 to DW_FORM_addr and use non-zero addresses.
6024 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6027 * gdb.python/py-xmethods.cc: Add global function call counters and
6028 increment them in their respective functions. Remove "cout"
6030 * gdb.python/py-xmethods.exp: Make tests check the global function
6031 call counters instead of depending on inferior IO.
6033 2014-06-18 Don Breazeal <donb@codesourcery.com>
6035 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6037 (explicit_fork_parent_follow): Deleted procedure.
6038 (explicit_fork_child_follow): Deleted procedure.
6039 (test_follow_fork): New procedure.
6040 (do_fork_tests): Replace calls to deleted procedures with
6041 calls to test_follow_fork and reset GDB for subsequent
6044 2014-06-17 Yao Qi <yao@codesourcery.com>
6046 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6049 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6051 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6052 Initialize ptr and S explicitly.
6053 (skip_type_update_when_not_use_rtti_test): Likewise.
6055 2014-06-16 Keith Seitz <keiths@redhat.com>
6058 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6059 the inferior is started.
6061 2014-06-16 Pedro Alves <palves@redhat.com>
6063 * gdb.base/break-main-file-remove-fail.c: New file.
6064 * gdb.base/break-main-file-remove-fail.exp: New file.
6065 * gdb.base/break-unload-file.exp: Use build_executable instead of
6066 prepare_for_testing.
6067 (test_break): New parameter "initial_load". Handle it.
6068 (top level): Add initial_load cmdline/file axis.
6070 2014-06-12 Tom Tromey <tromey@redhat.com>
6072 * gdb.base/completion.exp: Don't use directory name in test.
6074 2014-06-09 Gary Benson <gbenson@redhat.com>
6076 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6077 separate the always-available ANSI-standard signals from the
6078 signals that require checking.
6080 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6084 2014-06-07 Keith Seitz <keiths@redhat.com>
6088 * gdb.cp/var-tag.cc: New file.
6089 * gdb.cp/var-tag.exp: New file.
6090 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6091 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6092 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6093 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6095 2014-06-06 Doug Evans <xdje42@gmail.com>
6097 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6099 2014-06-06 Pedro Alves <palves@redhat.com>
6101 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6102 in target debug output instead of looking at RSP packets,
6103 disabling the test on any target that uses hardware stepping.
6106 2014-06-06 Pedro Alves <palves@redhat.com>
6108 * gdb.base/break-unload-file.exp: Fix typo.
6110 2014-06-06 Yao Qi <yao@codesourcery.com>
6112 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6113 from "jit_function" to "^jit_function".
6115 2014-06-06 Yao Qi <yao@codesourcery.com>
6117 * gdb.base/async.c (foo): Add one statement.
6118 * gdb.base/async.exp: Get the next instruction address and
6119 match the output of "nexti" by instruction address. Match
6120 the hex address in the output of "finish".
6122 2014-06-06 Gary Benson <gbenson@redhat.com>
6124 * gdb.base/call-signals.c: Remove preprocessor conditionals
6125 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6126 SIGSEGV and SIGTERM.
6127 * gdb.base/sigall.c: Likewise.
6128 * gdb.base/unwindonsignal.c: Likewise.
6129 * gdb.reverse/sigall-reverse.c: Likewise.
6131 2014-06-06 Yao Qi <yao@codesourcery.com>
6133 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6134 readable, skip the test.
6136 2014-06-06 Yao Qi <yao@codesourcery.com>
6138 * gdb.threads/staticthreads.c (thread_function): Move the line
6139 setting breakpoint on forward.
6140 * gdb.threads/staticthreads.exp: Update comments.
6142 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6144 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6145 "history-append! type error".
6147 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6149 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6150 erroneous dprintf expected input.
6152 2014-06-04 Doug Evans <xdje42@gmail.com>
6154 * gdb.guile/scm-generics.exp: Delete.
6156 2014-06-04 Doug Evans <xdje42@gmail.com>
6158 * gdb.guile/scm-breakpoint.exp: Update.
6159 Add tests for breakpoint registration.
6161 2014-06-04 Tom Tromey <tromey@redhat.com>
6163 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6165 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6166 inner_vla_struct, vla_union types. Initialize objects of those
6167 types and compute their sizes.
6169 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6170 Hui Zhu <hui@codesourcery.com>
6172 * gdb.base/fileio.exp: Add test for shell not available as well as
6174 * gdb.base/fileio.c (test_system): Check for shell twice.
6176 2014-06-04 Yao Qi <yao@codesourcery.com>
6178 * gdb.base/auto-connect-native-target.exp: Remove redundant
6179 space from the regexp pattern.
6181 2014-06-04 Yao Qi <yao@codesourcery.com>
6183 * gdb.base/default.exp: Replace "child" with "native" in
6186 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6188 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6189 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6190 * gdb.python/py-xmethods.py: Python script supporting the
6191 new testcase and tests.
6193 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6194 Pedro Alves <palves@redhat.com>
6196 PR breakpoints/17000
6197 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6198 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6200 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6202 * gdb.base/subst.exp: Add tests to verify partial path matching
6205 2014-06-03 Pedro Alves <palves@redhat.com>
6207 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6208 target that doesn't use software single-stepping.
6210 2014-06-03 Pedro Alves <palves@redhat.com>
6212 PR breakpoints/17000
6213 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6214 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6216 2014-06-02 Doug Evans <xdje42@gmail.com>
6218 * gdb.guile/scm-parameter.exp: New file.
6220 2014-06-02 Doug Evans <xdje42@gmail.com>
6222 * gdb.guile/scm-cmd.c: New file.
6223 * gdb.guile/scm-cmd.exp: New file.
6225 2014-06-02 Doug Evans <xdje42@gmail.com>
6227 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6228 pretty-printer lookup.
6229 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6230 (make-pp_s-printer): Call it.
6231 (make-pretty-printer-from-dict): New function.
6232 (lookup-pretty-printer-maker-from-dict): New function.
6233 (*pretty-printer*): Simplify.
6234 (make-objfile-pp_s-printer): New function.
6235 (install-objfile-pretty-printers!): New function.
6236 (make-progspace-pp_s-printer): New function.
6237 (install-progspace-pretty-printers!): New function.
6238 * gdb.guile/scm-progspace.c: New file.
6239 * gdb.guile/scm-progspace.exp: New file.
6241 2014-06-02 Pedro Alves <palves@redhat.com>
6243 * gdb.base/dprintf-bp-same-addr.c: New file.
6244 * gdb.base/dprintf-bp-same-addr.exp: New file.
6246 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6248 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6249 * gdb.arch/powerpc-power.s: Likewise.
6251 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6253 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6255 2014-06-01 Yao Qi <yao@codesourcery.com>
6257 * gdb.base/watchpoint.exp (test_watch_location): Check null
6258 pointer can be dereferenced. If not, do the test, otherwise
6261 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6263 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6265 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6267 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6269 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6270 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6271 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6272 * gdb.arch/amd64-invalid-stack-top.c: New file.
6273 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6275 2014-05-30 Pedro Alves <palves@redhat.com>
6277 PR breakpoints/17000
6278 * gdb.base/sss-bp-on-user-bp.c: New file.
6279 * gdb.base/sss-bp-on-user-bp.exp: New file.
6281 2014-05-30 David Blaikie <dblaikie@gmail.com>
6283 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6284 gnu_inline semantics via attribute.
6285 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6286 source explicitly specifies the required semantics.
6288 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6290 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6292 2014-05-29 Pedro Alves <palves@redhat.com>
6293 Tom Tromey <tromey@redhat.com>
6295 * gdb.base/async-shell.exp: Don't enable target-async.
6296 * gdb.base/async.exp
6297 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6299 (top level): Don't test with "target-async".
6300 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6301 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6302 * gdb.base/inferior-died.exp: Don't enable target-async.
6303 * gdb.base/interrupt-noterm.exp: Likewise.
6304 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6305 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6306 * gdb.mi/mi-nonstop.exp: Likewise.
6307 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6308 * gdb.mi/mi-nsintrall.exp: Likewise.
6309 * gdb.mi/mi-nsmoribund.exp: Likewise.
6310 * gdb.mi/mi-nsthrexec.exp: Likewise.
6311 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6312 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6313 * gdb.python/py-evsignal.exp: Don't enable target-async.
6314 * gdb.python/py-evthreads.exp: Likewise.
6315 * gdb.python/py-prompt.exp: Likewise.
6316 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6317 * gdb.server/solib-list.exp: Don't enable target-async.
6318 * gdb.threads/thread-specific-bp.exp: Likewise.
6319 * lib/mi-support.exp: Adjust to use mi-async.
6321 2014-05-29 Pedro Alves <palves@redhat.com>
6324 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6325 reason, even in sync mode.
6327 2014-05-29 Pedro Alves <palves@redhat.com>
6328 Hui Zhu <hui@codesourcery.com>
6331 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6332 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6333 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6334 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6336 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6338 * config/monitor.exp (gdb_target_monitor): Replace use of
6339 "set remotebaud" by "set serial baud".
6341 2014-05-26 Andy Wingo <wingo@igalia.com>
6343 * gdb.guile/scm-breakpoint.exp:
6344 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6345 properties instead of gdb-object-properties.
6347 2014-05-26 Yao Qi <yao@codesourcery.com>
6349 * gdb.server/no-thread-db.exp: Specify source file name
6350 explicitly when setting a breakpoint.
6352 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6354 * gdb.btrace/vdso.c: New.
6355 * gdb.btrace/vdso.exp: New.
6357 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6359 * gdb.base/gcore.exp (capture_command_output): Move ...
6360 * lib/gdb.exp (capture_command_output): ... here.
6362 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6364 * gdb.btrace/data.exp: Test memory access during btrace replay.
6366 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6368 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6370 2014-05-21 Pedro Alves <palves@redhat.com>
6373 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6374 (top level): Test that output related to execution commands is
6375 sent to the console with CLI commands, but not with MI commands.
6376 Test that breakpoint events are always mirrored to the console.
6377 Also expect the new source line to be output after a "next" in
6378 async mode too. Make it a pass/fail test.
6379 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6381 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6383 2014-05-21 Pedro Alves <palves@redhat.com>
6385 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6386 Use them to test variations of "list" after reaching a breakpoint.
6387 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6388 Test "list" with listsize 10 after reaching a breakpoint.
6389 * gdb.python/python.exp (decode_line current location line
6390 number): Adjust expected line number.
6392 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6394 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6395 behavior for $args, pass it directly to "run".
6397 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6399 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6402 2014-05-21 Pedro Alves <palves@redhat.com>
6404 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6405 auto-connect-native-target off".
6406 * gdb.base/auto-connect-native-target.c: New file.
6407 * gdb.base/auto-connect-native-target.exp: New file.
6409 2014-05-21 Pedro Alves <palves@redhat.com>
6411 * gdb.base/default.exp: Test "target native" instead of "target
6414 2014-05-21 Mark Wielaard <mjw@redhat.com>
6416 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6418 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6420 Fix TLS access for -static -pthread.
6421 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6422 <HAVE_TLS> (thread_function, main): Initialize it.
6423 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6425 <$have_tls != "">: Check TLSVAR.
6427 2014-05-21 Pedro Alves <palves@redhat.com>
6429 * gdb.base/dcache-line-read-error.c: New.
6430 * gdb.base/dcache-line-read-error.exp: New.
6432 2014-05-20 Pedro Alves <palves@redhat.com>
6434 * gdb.base/compare-sections.c: New file.
6435 * gdb.base/compare-sections.exp: New file.
6437 2014-05-20 Pedro Alves <palves@redhat.com>
6439 * gdb.base/break-idempotent.c: New file.
6440 * gdb.base/break-idempotent.exp: New file.
6442 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6444 * gdb.btrace/nohist.exp: New.
6446 2014-05-20 Yao Qi <yao@codesourcery.com>
6448 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6449 gdb.reverse directory and gdb_reverse_timeout exists in board
6451 * README: Document gdb_reverse_timeout.
6453 2014-05-20 Yao Qi <yao@codesourcery.com>
6455 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6456 'test_file_name'. Treat args as a string instead of a list.
6457 (gdb_init): Rename argument 'args' by 'test_file_name'.
6459 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6461 * gdb.arch/powerpc-power.exp: New file.
6462 * gdb.arch/powerpc-power.s: New file.
6464 2014-05-16 Doug Evans <dje@google.com>
6466 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6467 * gdb.base/completion.exp: Check that all expected files exist
6468 before doing file completion.
6470 2014-05-16 Doug Evans <dje@google.com>
6472 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6474 (do_syscall_tests_without_xml): Update.
6476 2014-05-16 Pedro Alves <palves@redhat.com>
6478 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6479 instead of "unknown output after running".
6481 2014-05-16 Yao Qi <yao@codesourcery.com>
6483 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6484 file1.txt from host at the end.
6485 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6487 2014-05-15 Doug Evans <dje@google.com>
6489 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6490 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6491 loading file. Add test for TU lookup.
6493 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6495 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6496 calling "-exec-arguments" or "set args" before running the
6499 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6501 * lib/mi-support.exp (mi_expect_stop): Expect message for
6502 inferiors that exit with non-zero exit code.
6504 2014-05-14 Yao Qi <yao@codesourcery.com>
6506 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6507 match absolute path on remote host.
6508 (test_file_list_exec_source_files): Remove "/" from the
6511 2014-05-14 Yao Qi <yao@codesourcery.com>
6513 * boards/local-remote-host-notty.exp (${board}_file): New
6516 2014-05-07 Kyle McMartin <kyle@redhat.com>
6518 Pushed by Joel Brobecker <brobecker@adacore.com>.
6519 * gdb.arch/aarch64-atomic-inst.c: New file.
6520 * gdb.arch/aarch64-atomic-inst.exp: New file.
6522 2014-05-07 Yao Qi <yao@codesourcery.com>
6524 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6525 in current context" too.
6527 2014-05-05 Keith Seitz <keiths@redhat.com>
6529 * gdb.linespec/ls-dollar.exp: Add test for linespec
6530 file:convenience_variable.
6532 2014-05-05 Yao Qi <yao@codesourcery.com>
6534 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6535 traceframes into tfile and ctf trace files. Read data from
6536 trace file and test collected data.
6537 (gdb_collect_locals_test): Likewise.
6538 (gdb_unavailable_registers_test): Likewise.
6539 (gdb_unavailable_floats): Likewise.
6540 (gdb_collect_globals_test): Likewise.
6541 (top-level): Append "ctf" to trace_file_targets if GDB
6544 2014-05-05 Yao Qi <yao@codesourcery.com>
6546 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6548 (gdb_collect_args_test_1): ... it. New proc.
6549 (gdb_collect_locals_test): Move some code to ...
6550 (gdb_collect_locals_test_1): ... it. New proc.
6551 (gdb_unavailable_registers_test): Move some code to ...
6552 (gdb_unavailable_registers_test_1): ... it. New proc.
6553 (gdb_unavailable_floats): Move some code to ...
6554 (gdb_unavailable_floats_1): ... it. New proc.
6556 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6558 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6559 probes to test for bitness recognition.
6560 * gdb.arch/amd64-stap-optional-prefix.exp
6561 (test_probe_value_without_reg): New procedure.
6562 Add code to test for different kinds of bitness.
6564 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6566 PR breakpoints/16889
6567 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6568 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6570 2014-05-01 Pedro Alves <palves@redhat.com>
6572 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6573 gdb_file_cmd if no file is specified.
6574 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6575 last_loaded_file to set the remote exec-file.
6577 2014-05-01 Pedro Alves <palves@redhat.com>
6579 * boards/local-remote-host.exp: New file.
6581 2014-05-01 Pedro Alves <palves@redhat.com>
6583 * boards/local-remote-host.exp: Rename to ...
6584 * boards/local-remote-host-notty.exp: ... this.
6586 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6588 * gdb.ada/dyn_arrayidx: New testcase.
6590 2014-04-26 Yao Qi <yao@codesourcery.com>
6592 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6593 and compute the length of function main. Save it in
6595 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6596 (top-level): Use gdb_compile to compile objects into
6597 executable and restart GDB. Remove invocation to
6598 prepare_for_testing.
6600 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6601 Pedro Alves <palves@redhat.com>
6604 * gdb.multi/multi-attach.c: New file.
6605 * gdb.multi/multi-attach.exp: New file.
6607 2014-04-25 Pedro Alves <palves@redhat.com>
6609 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6611 (top level): Test that "set remote conditional-breakpoints-packet
6612 off" works as intended.
6613 * gdb.base/dprintf.exp: Test that "set remote
6614 breakpoint-commands-packet off" works as intended.
6615 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6617 (top level): Call it.
6618 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6619 remote fast-tracepoints-packet off" works as intended.
6620 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6621 * lib/gdb.exp (gdb_is_target_remote): ... here.
6623 2014-04-24 David Blaikie <dblaikie@gmail.com>
6625 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6626 ensure clang would not discard them.
6627 * gdb.base/gdbvars.c: Ditto.
6628 * gdb.base/memattr.c: Ditto.
6629 * gdb.base/whatis.c: Ditto.
6630 * gdb.python/py-prettyprint.c: Ditto.
6631 * gdb.trace/actions.c: Ditto.
6632 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6633 ensure clang would not discard it.
6635 2014-04-24 David Blaikie <dblaikie@gmail.com>
6637 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6638 clang to emit the full definition of type required by the test
6639 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6641 2014-04-24 David Blaikie <dblaikie@gmail.com>
6643 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6644 coax Clang into emitting the definition of the type.
6645 * gdb.cp/pr10728-x.h (y): Ditto.
6646 * gdb.cp/pr10728-y.cc (y): Ditto.
6648 2014-04-24 David Blaikie <dblaikie@gmail.com>
6650 * gdb.base/label.exp: XFAIL label related tests under Clang.
6651 * gdb.cp/cplabel.exp: Ditto.
6652 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6653 under Clang those using labels.
6655 2014-04-25 Yao Qi <yao@codesourcery.com>
6657 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6659 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6660 partial_label and double_label.
6662 2014-04-24 David Blaikie <dblaikie@gmail.com>
6664 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6666 2014-04-24 David Blaikie <dblaikie@gmail.com>
6668 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6669 of the function to work across GCC and Clang.
6670 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6671 pointer types (const void ** const V void **).
6673 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6674 Walfred Tedeschi <walfred.tedeschi@intel.com>
6676 * Makefile.in (EXECUTABLES): Added i386-avx512.
6677 * gdb.arch/i386-avx512.c: New file.
6678 * gdb.arch/i386-avx512.exp: Likewise.
6680 2014-04-23 Keith Seitz <keiths@redhat.com>
6682 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6683 (mi_make_breakpoint_table): New procedure.
6684 (mi_create_breakpoint): Use mi_make_breakpoint
6685 and return the result.
6686 (mi_make_breakpoint): New procedure.
6687 (mi_build_kv_pairs): New procedure.
6689 * gdb.mi/mi-break.exp: Remove unused globals,
6690 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6691 All callers updated.
6692 * gdb.mi/mi-dprintf.exp: Use variable to track command
6694 Update all callers of mi_create_breakpoint and use
6695 mi_make_breakpoint_table.
6696 Remove any unused global variables.
6697 * gdb.mi/mi-nonstop.exp: Likewise.
6698 * gdb.mi/mi-nsintrall.exp: Likewise.
6699 * gdb.mi/mi-nsmoribund.exp: Likewise.
6700 * gdb.mi/mi-nsthrexec.exp: Likewise.
6701 * gdb.mi/mi-reverse.exp: Likewise.
6702 * gdb.mi/mi-simplerun.exp: Likewise.
6703 * gdb.mi/mi-stepn.exp: Likewise.
6704 * gdb.mi/mi-syn-frame.exp: Likewise.
6705 * gdb.mi/mi-until.exp: Likewise.
6706 * gdb.mi/mi-var-cp.exp: Likewise.
6707 * gdb.mi/mi-var-display.exp: Likewise.
6708 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6709 * gdb.mi/mi2-var-child.exp: Likewise.
6710 * gdb.mi/mi-vla-c99.exp: Likewise.
6711 * lib/mi-support.exp: Likewise.
6713 From Ian Lance Taylor <iant@cygnus.com>:
6714 * lib/gdb.exp (parse_args): New procedure.
6716 2014-04-23 Pedro Alves <palves@redhat.com>
6718 * gdb.base/break-unload-file.c: New file.
6719 * gdb.base/break-unload-file.exp: New file.
6720 * gdb.base/sym-file-lib.c (baz): New function.
6721 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6723 (load): Store the segment's mapped size.
6724 (unload): New function.
6725 (unload_shlib): New function.
6726 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6727 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6728 set a breakpoint at baz, and call it.
6729 * gdb.base/sym-file.exp: New tests for stale breakpoint
6732 2014-04-23 Pedro Alves <palves@redhat.com>
6734 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6735 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6736 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6737 * gdb.base/hbreak-unmapped.c: New file.
6738 * gdb.base/hbreak-unmapped.exp: New file.
6739 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6740 * lib/gdb.exp (gdb_is_target_remote): ... here.
6742 2014-04-22 Pedro Alves <palves@redhat.com>
6744 * gdb.base/consecutive-step-over.c: New file.
6745 * gdb.base/consecutive-step-over.exp: New file.
6747 2014-04-22 Pedro Alves <palves@redhat.com>
6749 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6750 instead of send_gdb/gdb_expect.
6752 2014-04-22 Yao Qi <yao@codesourcery.com>
6754 * lib/trace-support.exp (generate_tracefile): New procedure.
6755 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6757 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6758 if generate_tracefile returns 1.
6760 2014-04-18 Tom Tromey <palves@redhat.com>
6761 Pedro alves <tromey@redhat.com>
6764 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6765 with a backtrace limit.
6766 * gdb.python/py-frame-inline.exp: Test running to an inline
6767 function with a backtrace limit, and printing the newest frame.
6768 * gdb.python/py-frame-inline.c (main): Call f.
6770 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6772 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6774 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6776 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6777 Drop prefix from unsupported source file path.
6779 2014-04-17 Yao Qi <yao@codesourcery.com>
6781 * lib/gdb.exp (with_target_charset): New proc.
6782 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6783 with_target_charset.
6784 (test_print_strings): Likewise.
6785 (test_repeat_bytes): Likewise.
6786 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6789 2014-04-16 Keith Seitz <keiths@redhat.com>
6792 * gdb.dwarf2/corrupt.c: New file.
6793 * gdb.dwarf2/corrupt.exp: New file.
6795 2014-04-16 Keith Seitz <keiths@redhat.com>
6798 * gdb.cp/namelessclass.cc: New file.
6799 * gdb.cp/namelessclass.exp: New file.
6800 * gdb.cp/namelessclass.S: New file.
6802 2014-04-16 Doug Evans <dje@google.com>
6804 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6806 (gdbserver_default_get_comm_port): New function.
6807 (gdbserver_start): Check if board file provided
6808 "gdbserver,get_comm_port" and use it if so.
6809 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6810 (gdb,socketport): Set to "stdio".
6811 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6812 (stdio_gdbserver_template): Delete.
6813 (${board}_get_remote_address): Update.
6814 (${board}_build_remote_cmd): Delete.
6815 (${board}_get_comm_port): New function.
6816 (${board}_spawn): Update.
6817 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6819 (${board}_get_remote_address): Update.
6820 (${board}_get_comm_port): New function.
6822 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6824 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6825 appearing in any order.
6827 2014-04-15 Doug Evans <dje@google.com>
6829 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6830 uninitialized value of "description".
6832 2014-04-15 Keith Seitz <keiths@redhat.com>
6834 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6835 Remove unused globals.
6836 (test_running_the_program): Likewise.
6837 (test_controlled_execution): Likewise.
6838 (test_controlling_breakpoints): Likewise.
6839 (test_program_termination): Likewise.
6841 2014-04-15 Keith Seitz <keiths@redhat.com>
6843 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6845 (test_rbreak_creation_and_listing): Likewise.
6846 (test_ignore_count): Likewise.
6847 (test_error): Likewise.
6849 2014-04-15 Pedro Alves <palves@redhat.com>
6851 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6852 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6854 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6855 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6856 to sym-file-loader.c.
6857 (struct library): Forward declare.
6858 (load_shlib, lookup_function): Change prototypes.
6859 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6860 (translate_offset): Remove declarations.
6861 (get_text_addr): New declaration.
6862 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6863 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6865 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6866 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6867 here from sym-file-loader.h.
6868 (struct library): New structure.
6869 (load_shlib, lookup_function): Change prototypes and adjust to
6870 work with a struct library.
6871 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6872 (translate_offset): Make static.
6873 (get_text_addr): New function.
6874 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6876 2014-04-15 Pedro Alves <palves@redhat.com>
6878 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6880 2014-04-15 Pedro Alves <palves@redhat.com>
6882 * gdb.base/sym-file-loader.c: Include <limits.h>.
6883 (SELF_LINK): New define.
6884 (get_origin): New function.
6885 (load_shlib): Use it.
6886 * gdb.base/sym-file.exp: Don't early return if the target is
6887 remote. Use runto_main, and issue fail is that fails. Use
6889 (shlib_name): Delete.
6890 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6892 2014-04-15 Pedro Alves <palves@redhat.com>
6894 * gdb.base/sym-file.exp: Remove regex characters from test
6895 message. Don't refer to breakpoint numbers in test messages.
6897 2014-04-14 Keith Seitz <keiths@redhat.com>
6900 * gdb.cp/var-tag.cc: New file.
6901 * gdb.cp/var-tag.exp: New file.
6902 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6903 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6904 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6905 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6907 2014-04-14 Tom Tromey <tromey@redhat.com>
6909 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6910 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6912 * gdb.cp/enum-class.exp: New file.
6913 * gdb.cp/enum-class.cc: New file.
6915 2014-04-14 Tom Tromey <tromey@redhat.com>
6917 * gdb.dwarf2/enum-type.exp: New file.
6919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6921 * gdb.mi/mi-vla-c99.exp: New file.
6922 * gdb.mi/vla.c: New file.
6924 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6926 * gdb.base/vla-datatypes.c: New file.
6927 * gdb.base/vla-datatypes.exp: New file.
6929 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6931 * gdb.base/vla-ptr.c: New file.
6932 * gdb.base/vla-ptr.exp: New file.
6934 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6936 * gdb.dwarf2/count.exp: New file.
6938 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6940 * gdb.base/vla-sideeffect.c: New file.
6941 * gdb.base/vla-sideeffect.exp: New file.
6943 2014-04-14 David Blaikie <dblaikie@gmail.com>
6945 * gdb.mi/non-stop.c: Add return value for non-void function return
6947 * gdb.threads/staticthreads.c: Ditto.
6949 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6950 Doug Evans <xdje42@gmail.com>
6952 * gdb.guile/scm-value.c: Improve test case.
6953 * gdb.guile/scm-value.exp: Add new test.
6955 2014-04-11 David Blaikie <dblaikie@gmail.com>
6957 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6958 override Clang's default.
6960 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6962 Revert the following changes (regressions):
6964 * gdb.base/vla-sideeffect.c: New file.
6965 * gdb.base/vla-sideeffect.exp: New file.
6967 * gdb.dwarf2/count.exp: New file.
6969 * gdb.base/vla-multi.c: New file.
6970 * gdb.base/vla-multi.exp: New file.
6972 * gdb.base/vla-ptr.c: New file.
6973 * gdb.base/vla-ptr.exp: New file.
6975 * gdb.base/vla-datatypes.c: New file.
6976 * gdb.base/vla-datatypes.exp: New file.
6978 * gdb.mi/mi-vla-c99.exp: New file.
6979 * gdb.mi/vla.c: New file.
6981 2014-04-11 Keith Seitz <keiths@redhat.com>
6984 * gdb.cp/cpsizeof.exp: New file.
6985 * gdb.cp/cpsizeof.cc: New file.
6987 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6989 * gdb.mi/mi-vla-c99.exp: New file.
6990 * gdb.mi/vla.c: New file.
6992 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6994 * gdb.base/vla-datatypes.c: New file.
6995 * gdb.base/vla-datatypes.exp: New file.
6997 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6999 * gdb.base/vla-ptr.c: New file.
7000 * gdb.base/vla-ptr.exp: New file.
7002 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7004 * gdb.base/vla-multi.c: New file.
7005 * gdb.base/vla-multi.exp: New file.
7007 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7009 * gdb.dwarf2/count.exp: New file.
7011 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7013 * gdb.base/vla-sideeffect.c: New file.
7014 * gdb.base/vla-sideeffect.exp: New file.
7016 2014-04-11 Yao Qi <yao@codesourcery.com>
7018 * gdb.base/completion.exp: Check file exists before running tests
7021 2014-04-10 Pedro Alves <palves@redhat.com>
7023 * gdb.base/cond-eval-mode.c: New file.
7024 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7025 prepare_for_testing to build the new file. Check result of
7027 (test_break, test_watch): New procedures.
7028 (top level): Use them.
7030 2014-04-08 Pierre Muller <muller@sourceware.org>
7032 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7033 Ctrl-V use for mingw hosts.
7035 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7037 * gdb.python/py-value.c: Improve test case.
7038 * gdb.python/py-value.exp: Add new test.
7040 2014-04-07 David Blaikie <dblaikie@gmail.com>
7042 * lib/compiler.c: Identify the clang compiler.
7043 * lib/compiler.cc: Ditto.
7045 2014-04-03 Yao Qi <yao@codesourcery.com>
7047 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7049 2014-04-01 Anton Blanchard <anton@samba.org>
7051 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7054 2014-04-01 Anton Blanchard <anton@samba.org>
7056 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7057 prepare_for_testing.
7059 2014-04-01 Anton Blanchard <anton@samba.org>
7061 * gdb.arch/ppc64-atomic-inst.c: Remove.
7062 * gdb.arch/ppc64-atomic-inst.S: New file.
7063 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7065 2014-03-31 Doug Evans <dje@google.com>
7067 * gdb.base/print-symbol-loading-lib.c: New file.
7068 * gdb.base/print-symbol-loading-main.c: New file.
7069 * gdb.base/print-symbol-loading.exp: New file.
7071 2014-03-31 Yao Qi <yao@codesourcery.com>
7073 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7075 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7077 * gdb.ada/mi_dyn_arr: New testcase.
7079 2014-03-27 Doug Evans <dje@google.com>
7081 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7083 2014-03-27 Yao Qi <yao@codesourcery.com>
7085 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7086 if target is nios2-*-*.
7088 2014-03-26 Yao Qi <yao@codesourcery.com>
7090 * lib/gdb.exp (readline_is_used): New proc.
7091 * gdb.base/completion.exp: Move tests on command complete up.
7092 Skip the rest of tests if readline is not used.
7093 * gdb.ada/complete.exp: Skp the test if readline is not
7095 * gdb.base/filesym.exp: Likewise.
7096 * gdb.base/macscp.exp: Likewise.
7097 * gdb.base/readline-ask.exp: Likewise.
7098 * gdb.base/readline.exp: Likewise.
7099 * gdb.python/py-cmd.exp: Likewise.
7100 * gdb.trace/tfile.exp: Likewise.
7102 2014-03-26 Yao Qi <yao@codesourcery.com>
7104 * gdb.base/macscp.exp: Fix code format issues.
7106 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7108 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7109 * gdb.asm/powerpc64le.inc: New file.
7111 2014-03-25 Pedro Alves <palves@redhat.com>
7112 Doug Evans <dje@google.com>
7114 * gdb.base/source-execution.c: New file.
7115 * gdb.base/source-execution.exp: New file.
7116 * gdb.base/source-execution.gdb: New file.
7118 2014-03-24 Doug Evans <dje@google.com>
7120 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7123 2014-03-24 Hui Zhu <hui@codesourcery.com>
7124 Pedro Alves <palves@redhat.com>
7126 PR breakpoints/16101
7127 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7128 test pass/fail messages. Detect missing support for dprintf when
7129 breakpoints are actually inserted.
7130 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7131 breakpoints are actually inserted.
7132 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7135 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7137 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7139 2014-03-22 Doug Evans <xdje42@gmail.com>
7141 * gdb.python/python.exp (python not supported): Verify multi-line
7142 python command issues an error.
7143 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7144 guile command issues an error.
7146 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7148 * gdb.threads/thread-specific.exp: Handle the lack of usable
7149 $this_breakpoint and $this_thread.
7151 2014-03-21 Hui Zhu <hui@codesourcery.com>
7153 * gdb.base/attach.exp (do_command_attach_tests): New.
7155 2014-03-20 Tom Tromey <tromey@redhat.com>
7156 Pedro Alves <palves@redhat.com>
7159 * gdb.base/condbreak-call-false.c: New file.
7160 * gdb.base/condbreak-call-false.exp: New file.
7162 2014-03-20 Pedro Alves <palves@redhat.com>
7164 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7166 (block_signals, unblock_signals): Delete.
7167 (child_function_2, main): Remove references to deleted variable
7170 2014-03-20 Pedro Alves <palves@redhat.com>
7172 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7173 Use pthread_kill to signal thread 2.
7174 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7175 Adjust to make the test send itself a signal rather than using the
7176 host's "kill" command.
7178 2014-03-20 Pedro Alves <palves@redhat.com>
7180 * gdb.threads/multiple-step-overs.c: New file.
7181 * gdb.threads/multiple-step-overs.exp: New file.
7182 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7183 Adjust expected infrun debug output.
7185 2014-03-20 Pedro Alves <palves@redhat.com>
7187 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7188 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7190 2014-03-20 Pedro Alves <palves@redhat.com>
7193 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7194 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7195 of gdb_test_multiple.
7196 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7197 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7199 2014-03-20 Pedro Alves <palves@redhat.com>
7201 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7202 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7204 2014-03-19 Pedro Alves <palves@redhat.com>
7206 * gdb.base/async.exp: Remove early return.
7208 2014-03-19 Pedro Alves <palves@redhat.com>
7210 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7212 2014-03-19 Pedro Alves <palves@redhat.com>
7214 * gdb.base/async.exp (test_background): Expect \r\n after
7215 "completed." in the fail pattern.
7217 2014-03-19 Pedro Alves <palves@redhat.com>
7219 * gdb.base/async.exp (test_background): New procedure.
7220 Use it for all background execution command tests.
7222 2014-03-19 Pedro Alves <palves@redhat.com>
7224 * gdb.base/async.exp: Use prepare_for_testing.
7226 2014-03-19 Pedro Alves <palves@redhat.com>
7228 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7231 2014-03-19 Pedro Alves <palves@redhat.com>
7233 * gdb.base/async.c (main): Add "jump here" and "until here" line
7235 * gdb.base/async.exp (jump_here): New global.
7236 (jump& test): Use it.
7237 (until_here): New global.
7238 (until& test): Use it.
7240 2014-03-19 Pedro Alves <palves@redhat.com>
7242 * gdb.base/async.exp: Don't frob gdb_protocol.
7244 2014-03-18 Doug Evans <xdje42@gmail.com>
7246 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7247 Fix spelling of exec-done-display.
7249 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7252 * gdb.base/gdb-sigterm.c: New file.
7253 * gdb.base/gdb-sigterm.exp: New file.
7255 2014-03-18 Pedro Alves <palves@redhat.com>
7258 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7259 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7262 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7264 * gdb.ada/pckd_arr_ren: New testcase.
7266 2014-03-13 Doug Evans <xdje42@gmail.com>
7269 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7270 collect after discarding symbols.
7272 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7273 Doug Evans <xdje42@gmail.com>
7275 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7276 to history survives a gc.
7278 2014-03-13 Pedro Alves <palves@redhat.com>
7280 * gdb.base/default.exp: Don't test "target procfs".
7282 2014-03-13 Pedro Alves <palves@redhat.com>
7284 * gdb.base/default.exp: Update "target child" and "target procfs"
7285 tests to not expect "Unix".
7287 2014-03-12 Tom Tromey <tromey@redhat.com>
7289 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7290 New procs. Add target-async tests.
7291 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7292 Add target-async tests.
7294 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7296 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7297 'func_start' and 'func_end' for the beginning and end of the
7298 function code, respectively.
7299 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7300 'func_end' instead of 'func' and 'main'.
7302 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7304 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7305 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7306 generate the debug info assembler source.
7308 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7310 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7311 * gdb.dwarf2/arr-subrange.exp: Likewise.
7312 * gdb.dwarf2/dwz.exp: Likewise.
7313 * gdb.dwarf2/method-ptr.exp: Likewise.
7314 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7315 * gdb.dwarf2/subrange.exp: Likewise.
7316 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7317 * gdb.dwarf2/implptrpiece.exp: Likewise.
7318 * gdb.dwarf2/nostaticblock.exp: Likewise.
7320 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7322 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7323 directory to absolute path name arguments.
7325 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7327 * gdb.ada/tagged_access: New testcase.
7329 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7331 * gdb.btrace/data.exp: Update expected output.
7333 2014-03-06 Yao Qi <yao@codesourcery.com>
7335 * gdb.trace/pr16508.exp: New file.
7337 2014-03-05 Pedro Alves <palves@redhat.com>
7340 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7342 (top level): Adjust to use it. Add tests that exercise breakpoint
7343 interaction with the code-cache.
7345 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7347 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7348 test for 'history-append!'.
7350 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7352 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7353 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7354 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7355 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7356 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7357 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7359 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7361 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7362 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7363 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7365 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7367 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7369 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7371 * gdb.dwarf2/arr-stride.c: New file.
7372 * gdb.dwarf2/arr-stride.exp: New file.
7374 2014-02-26 Pedro Alves <palves@redhat.com>
7376 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7377 that won't ever trigger. Make sure that GDB reports the correct
7378 breakpoint that caused the stop.
7380 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7383 * gdb.base/auto-load-script: New file.
7384 * gdb.base/auto-load.c: New file.
7385 * gdb.base/auto-load.exp: New file.
7388 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7390 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7392 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7393 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7395 2014-02-24 Doug Evans <dje@google.com>
7397 * lib/gdb.exp (run_on_host): Log error output if program fails.
7399 2014-02-21 Pedro Alves <palves@redhat.com>
7401 * gdb.threads/step-after-sr-lock.c: Rename to ...
7402 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7403 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7404 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7407 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7410 * gdb.arch/amd64-stap-special-operands.exp: New file.
7411 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7412 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7413 * gdb.arch/amd64-stap-triplet.S: Likewise.
7414 * gdb.arch/amd64-stap-triplet.c: Likewise.
7416 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7418 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7419 in .section pseudo-op.
7421 2014-02-20 lin zuojian <manjian2006@gmail.com>
7422 Joel Brobecker <brobecker@adacore.com>
7423 Doug Evans <xdje42@gmail.com>
7426 * gdb.dwarf2/dw2-icycle.S: New file.
7427 * gdb.dwarf2/dw2-icycle.c: New file.
7428 * gdb.dwarf2/dw2-icycle.exp: New file.
7430 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7432 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7433 operations on gdb.Value objects.
7434 * gdb.python/py-value-cc.exp: Add new test to test operations on
7437 2014-02-18 Doug Evans <dje@google.com>
7439 * Makefile.in (TESTS): New variable.
7440 (expanded_tests, expanded_tests_or_none): New variables
7441 (check-single): Pass $(expanded_tests_or_none) to runtest.
7442 (check-parallel): Only run tests in $(TESTS) if non-empty.
7443 (check/no-matching-tests-found): New rule.
7444 * README: Document TESTS makefile variable.
7446 2014-02-18 Doug Evans <dje@google.com>
7448 * Makefile.in (check-parallel): rm -rf outputs temp.
7450 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7452 Fix "ERROR: no fileid for" in the testsuite.
7453 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7455 2014-02-12 Doug Evans <dje@google.com>
7457 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7458 (MISCELLANEOUS): New variable.
7459 (clean): rm -rf $(MISCELLANEOUS).
7460 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7461 dwp live in the same directory as symlinks, with each symlink pointed
7462 to a differently named file in a different directory.
7464 2014-02-11 Doug Evans <dje@google.com>
7466 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7467 of Tcl file commands.
7469 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7471 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7474 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7476 * gdb.ada/tick_length_array_enum_idx: New testcase.
7478 2014-02-10 Doug Evans <xdje42@gmail.com>
7480 * configure.ac (AC_OUTPUT): Add gdb.guile.
7481 * configure: Regenerate.
7482 * lib/gdb-guile.exp: New file.
7483 * lib/gdb.exp (get_target_charset): New function.
7484 * gdb.base/help.exp: Update expected output from "apropos apropos".
7485 * gdb.guile/Makefile.in: New file.
7486 * gdb.guile/guile.exp: New file.
7487 * gdb.guile/scm-arch.c: New file.
7488 * gdb.guile/scm-arch.exp: New file.
7489 * gdb.guile/scm-block.c: New file.
7490 * gdb.guile/scm-block.exp: New file.
7491 * gdb.guile/scm-breakpoint.c: New file.
7492 * gdb.guile/scm-breakpoint.exp: New file.
7493 * gdb.guile/scm-disasm.c: New file.
7494 * gdb.guile/scm-disasm.exp: New file.
7495 * gdb.guile/scm-equal.c: New file.
7496 * gdb.guile/scm-equal.exp: New file.
7497 * gdb.guile/scm-error.exp: New file.
7498 * gdb.guile/scm-error.scm: New file.
7499 * gdb.guile/scm-frame-args.c: New file.
7500 * gdb.guile/scm-frame-args.exp: New file.
7501 * gdb.guile/scm-frame-args.scm: New file.
7502 * gdb.guile/scm-frame-inline.c: New file.
7503 * gdb.guile/scm-frame-inline.exp: New file.
7504 * gdb.guile/scm-frame.c: New file.
7505 * gdb.guile/scm-frame.exp: New file.
7506 * gdb.guile/scm-generics.exp: New file.
7507 * gdb.guile/scm-gsmob.exp: New file.
7508 * gdb.guile/scm-iterator.c: New file.
7509 * gdb.guile/scm-iterator.exp: New file.
7510 * gdb.guile/scm-math.c: New file.
7511 * gdb.guile/scm-math.exp: New file.
7512 * gdb.guile/scm-objfile-script-gdb.in: New file.
7513 * gdb.guile/scm-objfile-script.c: New file.
7514 * gdb.guile/scm-objfile-script.exp: New file.
7515 * gdb.guile/scm-objfile.c: New file.
7516 * gdb.guile/scm-objfile.exp: New file.
7517 * gdb.guile/scm-ports.exp: New file.
7518 * gdb.guile/scm-pretty-print.c: New file.
7519 * gdb.guile/scm-pretty-print.exp: New file.
7520 * gdb.guile/scm-pretty-print.scm: New file.
7521 * gdb.guile/scm-section-script.c: New file.
7522 * gdb.guile/scm-section-script.exp: New file.
7523 * gdb.guile/scm-section-script.scm: New file.
7524 * gdb.guile/scm-symbol.c: New file.
7525 * gdb.guile/scm-symbol.exp: New file.
7526 * gdb.guile/scm-symtab-2.c: New file.
7527 * gdb.guile/scm-symtab.c: New file.
7528 * gdb.guile/scm-symtab.exp: New file.
7529 * gdb.guile/scm-type.c: New file.
7530 * gdb.guile/scm-type.exp: New file.
7531 * gdb.guile/scm-value-cc.cc: New file.
7532 * gdb.guile/scm-value-cc.exp: New file.
7533 * gdb.guile/scm-value.c: New file.
7534 * gdb.guile/scm-value.exp: New file.
7535 * gdb.guile/source2.scm: New file.
7536 * gdb.guile/types-module.cc: New file.
7537 * gdb.guile/types-module.exp: New file.
7539 2014-02-10 Yao Qi <yao@codesourcery.com>
7542 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7543 * configure: Regenerated.
7544 * Makefile.in: New file.
7546 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7548 * gdb.python/py-framefilter.exp: Fix typo.
7550 2014-02-08 Yao Qi <yao@codesourcery.com>
7552 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7553 that no =breakpoint-modified is emitted when breakpoints are
7554 modified through MI commands.
7556 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7557 Pedro Alves <palves@redhat.com>
7559 * gdb.threads/step-after-sr-lock.c: New file.
7560 * gdb.threads/step-after-sr-lock.exp: New file.
7562 2014-02-07 Pedro Alves <palves@redhat.com>
7564 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7566 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7568 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7569 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7571 2014-02-06 Doug Evans <xdje42@gmail.com>
7573 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7576 * gdb.gdb/python-interrupts.exp: New file.
7578 2014-02-05 Yao Qi <yao@codesourcery.com>
7580 * gdb.trace/report.exp (use_collected_data): Test the output
7581 of "info threads" and "info inferiors".
7583 2014-02-05 Yao Qi <yao@codesourcery.com>
7587 2013-05-24 Yao Qi <yao@codesourcery.com>
7589 * gdb.trace/tfile.exp: Test inferior and thread.
7591 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7593 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7595 * gdb.base/step-bt.c: Call hello via function pointer to make
7596 sure its first instruction is executed on powerpc64le-linux.
7598 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7600 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7602 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7604 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7605 of the test patterns for use on little-endian systems.
7607 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7609 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7610 (decimal_vector): Fix for little-endian.
7612 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7614 * gdb.arch/sparc-sysstep.exp: New file.
7615 * gdb.arch/sparc-sysstep.c: Likewise.
7617 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7619 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7621 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7623 2014-01-23 Tom Tromey <tromey@redhat.com>
7625 * gdb.ada/array_char_idx: New testcase.
7627 2014-01-23 Tom Tromey <tromey@redhat.com>
7630 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7631 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7634 2014-01-23 Tom Tromey <tromey@redhat.com>
7637 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7638 string from an inferior frame.
7639 * gdb.python/py-framefilter-mi.exp: Update.
7641 2014-01-22 Doug Evans <dje@google.com>
7643 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7645 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7647 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7649 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7651 * gdb.trace/entry-values.exp: Remove excess space character from
7652 regex patterns. Handle s390 call instruction.
7654 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7656 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7657 define "*_start" label. Make "name" static.
7658 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7659 ${name} by references to ${name}_start.
7661 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7663 * gdb.base/info-macros.exp: Remove "debug" from the compile
7666 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7668 * gdb.dlang/demangle.exp: New file.
7670 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7672 * gdb.dlang/primitive-types.exp: New file.
7674 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7676 * configure.ac: Create gdb.dlang/Makefile.
7677 * configure: Regenerate.
7678 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7679 * gdb.dlang/Makefile.in: New file.
7680 * lib/d-support.exp: New file.
7681 * lib/gdb.exp (skip_d_tests): New proc.
7683 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7685 * gdb.btrace/delta.exp: Check reverse stepi.
7686 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7687 * gdb.btrace/finish.exp: New.
7688 * gdb.btrace/next.exp: New.
7689 * gdb.btrace/nexti.exp: New.
7690 * gdb.btrace/record_goto.c: Add comments.
7691 * gdb.btrace/step.exp: New.
7692 * gdb.btrace/stepi.exp: New.
7693 * gdb.btrace/multi-thread-step.c: New.
7694 * gdb.btrace/multi-thread-step.exp: New.
7695 * gdb.btrace/rn-dl-bind.c: New.
7696 * gdb.btrace/rn-dl-bind.exp: New.
7697 * gdb.btrace/data.c: New.
7698 * gdb.btrace/data.exp: New.
7699 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7703 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7704 * gdb.btrace/exception.exp: Update.
7705 * gdb.btrace/instruction_history.exp: Update.
7706 * gdb.btrace/record_goto.exp: Update.
7707 * gdb.btrace/tailcall.exp: Update.
7708 * gdb.btrace/unknown_functions.exp: Update.
7709 * gdb.btrace/delta.exp: New.
7711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7713 * gdb.btrace/record_goto.exp: Add backtrace test.
7714 * gdb.btrace/tailcall.exp: Add backtrace test.
7716 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7718 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7719 * gdb.btrace/record_goto.c: New.
7720 * gdb.btrace/record_goto.exp: New.
7721 * gdb.btrace/x86-record_goto.S: New.
7723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7725 * gdb.btrace/function_call_history.exp: Update tests.
7726 * gdb.btrace/instruction_history.exp: Update tests.
7728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7730 * gdb.btrace/function_call_history.exp: Fix expected field
7731 order for "record function-call-history".
7732 Add new tests for "record function-call-history /c".
7733 * gdb.btrace/exception.cc: New.
7734 * gdb.btrace/exception.exp: New.
7735 * gdb.btrace/tailcall.exp: New.
7736 * gdb.btrace/x86-tailcall.S: New.
7737 * gdb.btrace/x86-tailcall.c: New.
7738 * gdb.btrace/unknown_functions.c: New.
7739 * gdb.btrace/unknown_functions.exp: New.
7740 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7742 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7744 * gdb.btrace/instruction_history.exp: Update.
7745 * gdb.btrace/function_call_history.exp: Update.
7747 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7749 * gdb.btrace/function_call_history.exp: Fix expected function
7751 * gdb.btrace/instruction_history.exp: Initialize traced.
7752 Remove traced_functions.
7754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7756 * gdb.btrace/function_call_history.exp: Update
7757 * gdb.btrace/instruction_history.exp: Update.
7759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7761 * gdb.btrace/enable.exp: Update expected text.
7763 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7765 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7768 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7770 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7772 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7774 * lib/gdb.exp (supports_process_record): Return true for
7775 arm*-linux*. (supports_reverse): Likewise.
7777 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7781 * gdb.python/py-type.c: Enhance test case.
7782 * gdb.python/py-value-cc.cc: Likewise
7783 * gdb.python/py-type.exp: Add new tests.
7784 * gdb.python/py-value-cc.exp: Likewise
7786 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7787 Pedro Alves <palves@redhat.com>
7789 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7791 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7792 references to ${name}_start by references to ${name}.
7794 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7796 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7798 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7800 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7802 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7803 Pedro Alves <palves@redhat.com>
7805 * gdb.mi/mi-info-os.exp: Connect to the target with
7808 2014-01-08 Pedro Alves <palves@redhat.com>
7810 * gdb.threads/reconnect-signal.c: New file.
7811 * gdb.threads/reconnect-signal.exp: New file.
7813 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7815 * gdb.base/source-dir.exp: New file.
7817 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7819 * gdb.ada/mi_interface: New testcase.
7821 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7823 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7824 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7825 gdb.ada/pp-rec-component/pck.ads: New files.
7827 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7829 * gdb.python/py-pp-integral.c: New file.
7830 * gdb.python/py-pp-integral.py: New file.
7831 * gdb.python/py-pp-integral.exp: New file.
7833 For older changes see ChangeLog-1993-2013.
7839 ;; version-control: never
7842 Copyright 2014-2016 Free Software Foundation, Inc.
7843 Copying and distribution of this file, with or without modification,
7844 are permitted provided the copyright notice and this notice are preserved.