1 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2 Marcin Kościelnicki <koriakin@0x04.net>
4 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5 (gdb_recursion_test_ptr): New global variable.
6 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
18 (bar): Add bar_start_lbl label.
19 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
20 of foo/bar for emitting DWARF and tracing.
22 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
24 * analyze-racy-logs.py: Set executable bit.
26 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
28 * Makefile.in (DEFAULT_RACY_ITER): New variable.
29 (CHECK_TARGET_TMP): Likewise.
30 (check-single-racy): New rule.
31 (check-parallel-racy): Likewise.
32 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
33 (do-check-parallel-racy): New rule.
34 (check-racy/%.exp): Likewise.
35 * README (Racy testcases): New section.
36 * analyze-racy-logs.py: New file.
38 2016-03-03 Doug Evans <dje@google.com>
40 * gdb.base/skip.exp: Use with_test_prefix.
42 2016-03-03 Yao Qi <yao.qi@linaro.org>
44 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
45 Invoke step_over_syscall "clone" and break_cond_on_syscall
47 * gdb.base/step-over-clone.c: New file.
49 2016-03-03 Yao Qi <yao.qi@linaro.org>
51 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
54 2016-03-03 Yao Qi <yao.qi@linaro.org>
56 * gdb.base/disp-step-fork.c: Rename to ...
57 * gdb.base/step-over-fork.c: ... it. New file.
58 * gdb.base/disp-step-vfork.c: Rename to ...
59 * gdb.base/step-over-vfork.c: ... it. New file.
60 * gdb.base/disp-step-syscall.exp: Rename to ...
61 * gdb.base/step-over-syscall.exp: ... it. New file.
62 (disp_step_cross_syscall): Rename to ...
63 (step_over_syscall): ... it.
65 2016-03-03 Yao Qi <yao.qi@linaro.org>
67 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
68 If target supports condition evaluation on target, invoke
69 break_cond_on_syscall for fork and vfork.
71 2016-03-03 Yao Qi <yao.qi@linaro.org>
73 * gdb.base/disp-step-syscall.exp: Don't invoke
74 support_displaced_stepping.
75 (disp_step_cross_syscall): Test with displaced stepping off and
78 2016-03-03 Yao Qi <yao.qi@linaro.org>
80 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
83 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
86 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
88 * gdb.fortran/vla-history.exp: Remove breakpoint.
90 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
92 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
94 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
96 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
98 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
100 * gdb.mi/vla.f90: Nullify pointer after declaration.
102 2016-03-01 Pedro Alves <palves@redhat.com>
104 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
106 2016-03-01 Pedro Alves <palves@redhat.com>
108 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
109 before anything else.
110 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
112 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
113 before anything else.
114 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
116 2016-03-01 Pedro Alves <palves@redhat.com>
118 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
120 2016-03-01 Yao Qi <yao.qi@linaro.org>
122 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
125 2016-03-01 Yao Qi <yao.qi@linaro.org>
127 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
129 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
131 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
132 manually constructing the output path.
134 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
136 * gdb.arch/s390-stackless.S: New.
137 * gdb.arch/s390-stackless.exp: New.
139 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
141 * gdb.dlang/circular.c: New file.
142 * gdb.dlang/circular.exp: New file.
144 2016-02-26 Yao Qi <yao.qi@linaro.org>
146 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
147 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
150 2016-02-26 Yao Qi <yao.qi@linaro.org>
152 * gdb.reverse/aarch64.c: Rename to ...
153 * gdb.reverse/insn-reverse.c: ... it.
154 * gdb.reverse/aarch64.exp: Rename to ...
155 * gdb.reverse/insn-reverse.exp: ... it.
157 2016-02-26 Yao Qi <yao.qi@linaro.org>
159 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
160 (testcase_ftype): New.
161 (testcases): New array.
163 (main): Call each element in testcases.
164 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
165 (read_testcase): New.
166 Do the tests in a loop.
168 2016-02-25 Yao Qi <yao.qi@linaro.org>
170 * gdb.base/branches.c: Remove.
172 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
175 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
177 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
179 * gdb.trace/ftrace.exp: Remove unnecessary target check.
181 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
183 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
184 change x86_64 call_insn to 'callq'.
186 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
188 * gdb.trace/tfile-avx.c: Move to...
189 * gdb.trace/tracefile-pseudo-reg.c: Here.
190 * gdb.trace/tfile-avx.exp: Move to...
191 * gdb.trace/tracefile-pseudo-reg.exp: Here.
193 2016-02-24 Gary Benson <gbenson@redhat.com>
195 * gdb.base/attach-pie-noexec.exp: Do not expect an error
198 2016-02-23 Doug Evans <dje@google.com>
200 * gdb.base/skip.c (test_skip): New function.
201 (end_test_skip_file_and_function): New function.
202 (test_skip_file_and_function): New function.
203 * gdb.base/skip1.c (test_skip): New function.
204 (skip1_test_skip_file_and_function): New function.
205 * gdb.base/skip.exp: Add tests for new skip options.
206 * gdb.base/skip-solib.exp: Update expected output.
207 * gdb.perf/skip-command.cc: New file.
208 * gdb.perf/skip-command.exp: New file.
209 * gdb.perf/skip-command.py: New file.
211 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
213 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
214 info registers pattern.
216 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
218 * lib/future.exp: Add D support.
219 (gdb_find_gdc): New proc.
220 (gdb_default_target_compile): Add D support.
222 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
224 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
226 (trace_speed_test): Determine the iteration count for a time
227 between 15..30 seconds.
229 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
231 * gdb.arch/i386-mpx-sigsegv.c: New file.
232 * gdb.arch/i386-mpx-sigsegv.exp: New file.
233 * gdb.arch/i386-mpx-simple_segv.c: New file.
234 * gdb.arch/i386-mpx-simple_segv.exp: New file.
236 2016-02-18 Yao Qi <yao.qi@linaro.org>
238 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
239 Don't call setup_kfail.
241 2016-02-18 Yao Qi <yao.qi@linaro.org>
243 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
244 Set "set breakpoint condition-evaluation" per $cond_bp_target.
246 2016-02-16 Doug Evans <dje@google.com>
248 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
249 * gdb.base/skip1.c: Ditto.
250 * gdb.base/skip.exp: Whitespace cleanup.
252 2016-02-16 Don Breazeal <donb@codesourcery.com>
255 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
256 Remove kfail for PR remote/19496.
258 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
260 * lib/gdb.exp (standard_temp_file): Return a path specific to
261 the runtest invocation.
263 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
265 * gdb.trace/save-trace.exp: Change relative path to be in the
266 standard output directory.
268 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
270 * gdb.arch/i386-prologue.c: Add missing prototypes.
272 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
274 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
275 * gdb.arch/i386-prologue.exp: Likewise.
276 * gdb.arch/i386-size.exp: Likewise.
278 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
280 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
281 define object file path.
282 * gdb.btrace/gcore.exp: Use standard_output_file to define core
284 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
285 standard_output_file to define binfile.
287 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
289 Fix compatibility with recent gfortran-5.3.1.
290 * gdb.fortran/vla-history.exp (print vla1 allocated)
291 (print vla2 allocated, print $2, print $3): Remove
292 (print $4): Rename to ...
293 (print $2): ... here.
294 (print $9): Rename to ...
295 (print $5): ... here.
296 (print $10): Rename to ...
297 (print $6): ... here.
298 * gdb.fortran/vla.f90: Add pvla initialization.
300 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
302 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
304 * gdb.fortran/vla-value-sub.exp: Likewise.
306 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
308 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
310 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
312 * i386-biarch-core.exp: Define corefile using
313 standard_output_file.
315 2016-02-12 Yao Qi <yao.qi@linaro.org>
317 * gdb.arch/arm-single-step-kernel-helper.c: New.
318 * gdb.arch/arm-single-step-kernel-helper.exp: New.
320 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
322 * gdb.btrace/tailcall-only.exp: New.
323 * gdb.btrace/tailcall-only.c: New.
324 * gdb.btrace/x86_64-tailcall-only.S: New.
325 * gdb.btrace/i686-tailcall-only.S: New.
327 2016-02-11 Pedro Alves <palves@redhat.com>
329 * README (Parallel testing): Add missing double quotes.
331 2016-02-11 Pedro Alves <palves@redhat.com>
333 * README (Parallel testing): New section.
334 (GDB_PARALLEL): Rewrite.
335 (FORCE_PARALLEL): Document.
337 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
339 * gdb.trace/tfile-avx.c: New test.
340 * gdb.trace/tfile-avx.exp: New test.
342 2016-02-09 Keith Seitz <keiths@redhat.com>
345 * gdb.base/infcall-exec.c: New file.
346 * gdb.base/infcall-exec2.c: New file.
347 * gdb.base/infcall-exec.exp: New file.
349 2016-02-09 Keith Seitz <keiths@redhat.com>
351 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
352 (toplevel): Call test_bkpt_address.
354 2016-02-09 Keith Seitz <keiths@redhat.com>
357 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
358 (toplevel): Call test_bkpt_address.
360 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
362 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
364 * configure: Regenerate.
366 2016-02-09 Pedro Alves <palves@redhat.com>
369 * gdb.base/execl-update-breakpoints.c (some_function): New
372 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
373 Tighten expected GDB output.
375 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
377 * Makefile.in (ALL_SUBDIRS): Remove.
378 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
379 (distclean maintainer-clean realclean): Likewise.
380 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
381 * configure: Regenerate.
382 * gdb.ada/Makefile.in: Delete.
383 * gdb.arch/Makefile.in: Likewise.
384 * gdb.asm/Makefile.in: Likewise.
385 * gdb.base/Makefile.in: Likewise.
386 * gdb.btrace/Makefile.in: Likewise.
387 * gdb.cell/Makefile.in: Likewise.
388 * gdb.compile/Makefile.in: Likewise.
389 * gdb.cp/Makefile.in: Likewise.
390 * gdb.disasm/Makefile.in: Likewise.
391 * gdb.dlang/Makefile.in: Likewise.
392 * gdb.dwarf2/Makefile.in: Likewise.
393 * gdb.fortran/Makefile.in: Likewise.
394 * gdb.gdb/Makefile.in: Likewise.
395 * gdb.go/Makefile.in: Likewise.
396 * gdb.guile/Makefile.in: Likewise.
397 * gdb.java/Makefile.in: Likewise.
398 * gdb.linespec/Makefile.in: Likewise.
399 * gdb.mi/Makefile.in: Likewise.
400 * gdb.modula2/Makefile.in: Likewise.
401 * gdb.multi/Makefile.in: Likewise.
402 * gdb.objc/Makefile.in: Likewise.
403 * gdb.opencl/Makefile.in: Likewise.
404 * gdb.opt/Makefile.in: Likewise.
405 * gdb.pascal/Makefile.in: Likewise.
406 * gdb.perf/Makefile.in: Likewise.
407 * gdb.python/Makefile.in: Likewise.
408 * gdb.reverse/Makefile.in: Likewise.
409 * gdb.server/Makefile.in: Likewise.
410 * gdb.stabs/Makefile.in: Likewise.
411 * gdb.threads/Makefile.in: Likewise.
412 * gdb.trace/Makefile.in: Likewise.
413 * gdb.xml/Makefile.in: Likewise.
414 * lib/gdb.exp (make_gdb_parallel_path): Add check for
416 (standard_output_file): Remove check for GDB_PARALLEL, always
417 return path in outputs/$subdir/$testname.
419 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
421 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
422 (site.exp): Assign abs_srcdir to tcl's srcdir.
424 2016-02-04 Yao Qi <yao.qi@linaro.org>
426 * gdb.base/foll-exec-mode.c: Include limits.h.
427 (main): Add parameters argc and argv. Get directory from
429 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
431 * gdb.base/foll-exec.c: Include limits.h.
432 (main): Add parameters argc and argv.
433 Get directory from argv[0].
434 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
435 Adjust tests on the number of lines as source code changed.
436 * gdb.base/foll-vfork-exit.c: Include limits.h.
437 (main): Add one line of statement before vfork.
438 * gdb.base/foll-vfork.c: Include limits.h and string.h.
439 (main): Add parameters argc and argv. Get directory from
441 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
442 (setup_gdb): Set tbreak to skip some source lines.
443 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
444 (main): Add parameters argc and argv. Get directory from
446 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
448 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
449 (main): Add parameters argc and argv. Get directory from
451 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
454 2016-02-01 Doug Evans <dje@google.com>
456 * gdb.base/skip.exp: Clean up multiple references to same test name.
458 2016-02-01 Pedro Alves <palves@redhat.com>
461 * gdb.threads/forking-threads-plus-breakpoint.exp
462 (displaced_stepping_supported): New global.
463 (probe_displaced_stepping_support): New procedure.
464 (do_test): Add 'displaced' parameter, and use it.
465 (top level): Check for displaced stepping support. Add displaced
466 stepping on/off testing axis.
468 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
470 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
471 pointer. Don't perform further tests on the unassociated pointer
472 if the first test fails.
474 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
476 * gdb.base/max-value-size.c: New file.
477 * gdb.base/max-value-size.exp: New file.
478 * gdb.base/huge.exp: Disable max-value-size for this test.
480 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
482 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
484 2016-01-28 Yao Qi <yao.qi@linaro.org>
486 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
488 2016-01-25 Pedro Alves <palves@redhat.com>
491 * gdb.base/fork-running-state.c: New file.
492 * gdb.base/fork-running-state.exp: New file.
494 2016-01-25 Pedro Alves <palves@redhat.com>
497 * gdb.base/catch-fork-kill.c: New file.
498 * gdb.base/catch-fork-kill.exp: New file.
500 2016-01-25 Pedro Alves <palves@redhat.com>
502 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
503 Delete, moved to lib/gdb.exp.
504 * gdb.threads/forking-threads-plus-breakpoint.exp
505 (foreach_with_prefix): Likewise.
506 * gdb.threads/process-dies-while-handling-bp.exp
507 (foreach_with_prefix): Likewise.
508 * lib/gdb.exp (foreach_with_prefix): New procedure.
510 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
512 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
513 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
515 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
517 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
520 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
521 Pedro Alves <palves@redhat.com>
523 Fix testsuite compatibility with Guile.
524 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
527 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
529 Fix testsuite compatibility with Guile.
530 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
531 (thread 1): New test for backtrace through signal handler.
533 2016-01-22 Yao Qi <yao.qi@linaro.org>
536 * gdb.base/multi-forks.c: Include
537 ../lib/unbuffer_output.c
538 (main): Call gdb_unbuffer_output.
540 2016-01-21 Doug Evans <dje@google.com>
542 * lib/ada.exp (gdb_compile_ada): Fix typo.
544 2016-01-21 Joel Brobecker <brobecker@adacore.com>
546 * gdb.base/break-fun-addr.exp: New file.
547 * gdb.base/break-fun-addr1.c: New file.
548 * gdb.base/break-fun-addr2.c: New file.
550 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
552 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
553 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
556 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
558 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
559 when GDB can not set the vector return value. Add more comments
562 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
564 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
567 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
569 * Makefile.in (DO_RUNTEST): Add --status and update usages.
571 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
573 * Makefile.in (check-single): Pass --status to runtest.
574 (check/%.exp): Likewise.
576 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
578 * Makefile.in (check-parallel): Propagate return code from make
581 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
583 * gdb.trace/ftrace.exp: Fix expected message on continue.
584 * gdb.trace/pending.exp: Fix expected message on continue.
585 * gdb.trace/trace-break.exp: Fix expected message on continue.
587 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
589 * lib/gdb.exp (gdb_test): Remove unused global references.
591 2016-01-18 Pedro Alves <palves@redhat.com>
593 * gdb.base/async-shell.exp: Adjust expected output.
594 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
595 * gdb.base/siginfo-thread.exp: Adjust expected output.
596 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
597 * gdb.java/jnpe.exp: Adjust expected output.
598 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
599 * gdb.threads/continue-pending-status.exp: Adjust expected output.
600 * gdb.threads/leader-exit.exp: Adjust expected output.
601 * gdb.threads/manythreads.exp: Adjust expected output.
602 * gdb.threads/pthreads.exp: Adjust expected output.
603 * gdb.threads/schedlock.exp: Adjust expected output.
604 * gdb.threads/siginfo-threads.exp: Adjust expected output.
605 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
607 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
609 * gdb.threads/sigthread.exp: Adjust expected output.
610 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
612 2016-01-18 Yao Qi <yao.qi@linaro.org>
614 * gdb.guile/scm-section-script.c: Replace @progbits with
616 * gdb.python/py-section-script.c: Likewise.
618 2016-01-15 Pedro Alves <palves@redhat.com>
620 * gdb.multi/tids.exp: Test star wildcard ranges.
622 2016-01-15 Pedro Alves <palves@redhat.com>
624 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
625 command from "thread apply" invocation.
626 (thr_apply_info_thr_invalid): Default the expected output to the
628 (top level): Add tests that use convenience variables. Add tests
629 for "thread apply" with a valid TID list, but missing the command.
631 2016-01-13 Pedro Alves <palves@redhat.com>
633 * gdb.base/default.exp: Expect $_gthread as well.
634 * gdb.multi/tids.exp: Test $_gthread.
635 * gdb.threads/thread-specific.exp: Test $_gthread.
637 2016-01-13 Pedro Alves <palves@redhat.com>
639 * gdb.multi/tids.exp: Test "info threads -gid".
641 2016-01-13 Pedro Alves <palves@redhat.com>
643 * gdb.multi/tids.exp: Test InferiorThread.global_num and
645 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
647 2016-01-07 Pedro Alves <palves@redhat.com>
649 * gdb.base/break.exp: Adjust to output changes.
650 * gdb.base/hbreak2.exp: Likewise.
651 * gdb.base/sepdebug.exp: Likewise.
652 * gdb.base/watch_thread_num.exp: Likewise.
653 * gdb.linespec/keywords.exp: Likewise.
654 * gdb.multi/info-threads.exp: Likewise.
655 * gdb.threads/thread-find.exp: Likewise.
656 * gdb.multi/tids.c: New file.
657 * gdb.multi/tids.exp: New file.
659 2016-01-13 Pedro Alves <palves@redhat.com>
661 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
663 2016-01-13 Pedro Alves <palves@redhat.com>
665 * gdb.base/default.exp: Expect $_inferior as well.
666 * gdb.multi/base.exp: Test $_inferior.
668 2016-01-13 Pedro Alves <palves@redhat.com>
671 * gdb.base/catch-signal-siginfo-cond.c: New file.
672 * gdb.base/catch-signal-siginfo-cond.exp: New file.
674 2016-01-12 Josh Stone <jistone@redhat.com>
675 Philippe Waroquiers <philippe.waroquiers@skynet.be>
677 * gdb.base/catch-syscall.c (do_execve): New variable.
678 (main): Conditionally trigger an execve.
679 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
680 (test_catch_syscall_execve): New, check entry/return across execve.
681 (do_syscall_tests): Call test_catch_syscall_execve.
683 2016-01-12 Pedro Alves <palves@redhat.com>
685 * gdb.base/random-signal.exp (do_test): New procedure, with body
686 of testcase moved in.
688 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
689 Pedro Alves <palves@redhat.com>
691 * gdb.base/funcargs.exp (finish from indirectly called function):
692 Reintroduce the case for 'First'.
694 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
695 Pedro Alves <palves@redhat.com>
697 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
698 (tcatch_vfork_then_child_follow_exec)
699 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
702 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
704 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
705 and repeats to unlimited.
706 * gdb.python/py-value.exp: Likewise.
707 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
708 and repeats to unlimited.
710 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
712 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
713 and reordering the functions.
714 * gdb.multi/hangout.c: Likewise.
715 * gdb.multi/hello.c: Likewise.
717 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
719 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
721 (SingleStatisticTestResult.report): Use dict.keys instead of
724 2016-01-06 Pedro Alves <palves@redhat.com>
726 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
728 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
730 * gdb.btrace/dlopen.exp: New.
731 * gdb.btrace/dlopen.c: New.
732 * gdb.btrace/dlopen-dso.c: New.
734 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
736 * lib/gdb.exp (gdb_test): Update comments to clarify that the
737 PATTERN argument is optional.
739 2015-12-24 Joel Brobecker <brobecker@adacore.com>
741 * lib/ada.exp (target_compile_ada_from_dir): New function.
742 (gdb_compile_ada): Reimplement avoiding the use of project files.
743 * gdb.ada/gnat_ada.gpr: Delete.
744 * gdb.ada/cond_lang.exp: Adjust test to make path before
746 * gdb.ada/small_reg_param.exp: Likewise.
748 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
750 * gdb.base/foll-vork.exp: Remove HP-UX special case.
752 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
754 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
757 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
759 * gdb.base/break.exp: Remove dead code.
760 * gdb.base/sepdebug.exp: Likewise.
762 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
764 * gdb.asm/asm-source.exp: Remove HP-UX references.
765 * gdb.base/annota1.exp: Likewise.
766 * gdb.base/annota3.exp: Likewise.
767 * gdb.base/attach.exp: Likewise.
768 * gdb.base/bigcore.exp: Likewise.
769 * gdb.base/break.exp: Likewise.
770 * gdb.base/call-ar-st.exp: Likewise.
771 * gdb.base/callfuncs.exp: Likewise.
772 * gdb.base/catch-fork-static.exp: Likewise.
773 * gdb.base/display.exp: Likewise.
774 * gdb.base/foll-exec-mode.exp: Likewise.
775 * gdb.base/foll-exec.exp: Likewise.
776 * gdb.base/foll-fork.exp: Likewise.
777 * gdb.base/foll-vfork.exp: Likewise.
778 * gdb.base/funcargs.exp: Likewise.
779 * gdb.base/hbreak2.exp: Likewise.
780 * gdb.base/inferior-died.exp: Likewise.
781 * gdb.base/interrupt.exp: Likewise.
782 * gdb.base/multi-forks.exp: Likewise.
783 * gdb.base/nodebug.exp: Likewise.
784 * gdb.base/sepdebug.exp: Likewise.
785 * gdb.base/solib1.c: Likewise.
786 * gdb.base/step-test.exp: Likewise.
787 * gdb.mi/non-stop.c: Likewise.
788 * gdb.mi/pthreads.c: Likewise.
789 * gdb.multi/bkpt-multi-exec.ex: Likewise.
790 * gdb.threads/pthreads.c: Likewise.
791 * gdb.threads/staticthreads.exp: Likewise.
792 * lib/future.exp: Likewise.
793 * lib/gdb.exp: Likewise.
794 * gdb.base/so-indr-cl.c: Remove.
795 * gdb.base/so-indr-cl.exp: Likewise.
796 * gdb.base/solib.c: Likewise.
797 * gdb.base/solib.exp: Likewise.
798 * gdb.base/solib2.c: Likewise.
800 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
802 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
803 * gdb.base/call-ar-st.exp: Likewise.
804 * gdb.base/callfuncs.exp: Likewise.
805 * gdb.base/condbreak.exp: Likewise.
806 * gdb.base/constvars.exp: Likewise.
807 * gdb.base/hbreak2.exp: Likewise.
808 * gdb.base/langs.exp: Likewise.
809 * gdb.base/list.exp: Likewise.
810 * gdb.base/long_long.exp: Likewise.
811 * gdb.base/ptype.exp: Likewise.
812 * gdb.base/scope.exp: Likewise.
813 * gdb.base/signals.exp: Likewise.
814 * gdb.base/so-impl-ld.exp: Likewise.
815 * gdb.base/varargs.exp: Likewise.
816 * gdb.base/volatile.exp: Likewise.
817 * gdb.base/whatis.exp: Likewise.
818 * gdb.cp/cplusfuncs.exp: Likewise.
819 * gdb.cp/inherit.exp: Likewise.
820 * gdb.cp/local.exp: Likewise.
821 * gdb.cp/member-ptr.exp: Likewise.
822 * gdb.cp/method.exp: Likewise.
823 * gdb.cp/overload.exp: Likewise.
824 * gdb.cp/templates.exp: Likewise.
825 * gdb.stabs/weird.exp: Likewise.
826 * lib/compiler.c: Likewise.
827 * lib/compiler.cc: Likewise.
828 * lib/cp-support.exp: Likewise.
829 * lib/gdb.exp: Likewise.
831 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
833 * configure.ac: Remove HP-UX case.
834 * configure: Regenerate.
836 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
838 * lib/gdb.exp (gdb_compile): Add function doc.
840 2015-12-17 Pedro Alves <palves@redhat.com>
843 * gdb.multi/info-threads.exp: New file.
845 2015-12-15 Yao Qi <yao.qi@linaro.org>
847 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
850 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
852 * gdb.base/history-duplicates.exp: Skip if no readline support.
854 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
856 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
858 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
860 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
862 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
864 * gdb.base/completion.exp: Skip tests that interrupt GDB with
865 ctrl-C if nointerrupts target property is set.
866 * gdb.base/double-prompt-target-event-error.exp: Likewise.
867 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
868 * gdb.base/paginate-bg-execution.exp: Likewise.
869 * gdb.base/paginate-execution-startup.exp: Likewise.
870 * gdb.base/random-signal.exp: Likewise.
871 * gdb.base/range-stepping.exp: Likewise.
872 * gdb.cp/annota2.exp: Likewise.
873 * gdb.cp/annota3.exp: Likewise.
874 * gdb.gdb/selftest.exp: Likewise.
875 * gdb.threads/continue-pending-status.exp: Likewise.
876 * gdb.threads/leader-exit.exp: Likewise.
877 * gdb.threads/manythreads.exp: Likewise.
878 * gdb.threads/pthreads.exp: Likewise.
879 * gdb.threads/schedlock.exp: Likewise.
880 * gdb.threads/sigthread.exp: Likewise.
882 2015-12-11 Don Breazeal <donb@codesourcery.com>
884 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
886 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
887 * gdb.base/foll-exec.exp (main): Enable for target remote.
888 * gdb.base/foll-fork.exp (main): Likewise.
889 * gdb.base/foll-vfork.exp (main): Likewise.
890 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
891 (proc continue_to_exit_bp_loc): Use clean_restart.
892 * gdb.base/pie-execl.exp (main): Disable for target remote.
893 * gdb.base/watch-vfork.exp (main): Enable for target remote.
894 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
895 * gdb.threads/execl.exp (main): Likewise.
896 * gdb.threads/fork-child-threads.exp (main): Likewise.
897 * gdb.threads/fork-plus-threads.exp (main): Disable for target
899 * gdb.threads/fork-thread-pending.exp (main): Enable for target
901 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
902 pid.tid style ptids, instead of just tid.
903 * gdb.threads/thread-execl.exp (main): Enable for target remote.
904 * gdb.threads/watchpoint-fork.exp (main): Likewise.
905 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
906 ptids, instead of just tid.
908 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
910 * gdb.base/list.exp (test_list_forward): Add end of file error
912 (test_repeat_list_command): Add end of file error test.
913 (test_list_backwards): Add beginning of file error test.
915 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
917 * gdb.base/list.exp (test_list_invalid_args): New function,
920 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
922 * gdb.base/list.exp (test_list): Make test names unique.
924 2015-12-11 Yao Qi <yao.qi@linaro.org>
926 * gdb.base/coremaker2.c: Remove.
928 2015-12-10 Pedro Alves <palves@redhat.com>
930 * gdb.multi/base.exp: Remove stale "spaces" references.
932 2015-12-10 Pedro Alves <palves@redhat.com>
934 * gdb.multi/base.exp: Don't use nowarnings.
935 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
936 * gdb.multi/hangout.c: Include stdio.h.
937 * gdb.multi/hello.c: Include stdlib.h.
938 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
939 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
940 * gdb.multi/multi-arch.exp: Don't use nowarnings.
942 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
944 * gdb.dwarf2/dw2-ranges-base.c: New file.
945 * gdb.dwarf2/dw2-ranges-base.exp: New file.
946 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
947 support additional line table, and debug ranges generation.
948 (Dwarf::ranges): New function, generate .debug_ranges.
949 (Dwarf::lines): Support generating simple line table programs.
950 (Dwarf::assemble): Initialise new namespace variables.
952 2015-12-09 Kevin Buettner <kevinb@redhat.com>
954 * gdb.base/async.exp (proc test_background): Add case for
955 asynchronous execution not supported.
957 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
959 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
960 format and change test names to make them unique.
962 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
963 Pedro Alves <pedro@redhat.com>
966 Add checking of floatformats setup on x86_64 hosts.
967 * gdb.arch/i386-float.S (main): Load bigval and smallval.
968 (smallval, bigval): New labels/constants.
969 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
970 float" after loading bigval and smallval.
972 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
974 * gdb.ada/fun_overload_menu.exp: New testcase.
975 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
977 2015-12-04 Josh Stone <jistone@redhat.com>
979 * gdb.base/catch-fork-static.exp: New.
981 2015-12-03 Yao Qi <yao.qi@linaro.org>
983 * gdb.base/sizeof.c: Don't include stdio.h and
984 ../lib/unbuffer_output.c.
985 (main): New variable 'size' and 'value'. Remove printf and
986 gdb_unbuffer_output. Assign return value to size and value.
987 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
989 (check_sizeof): Check the result by printing variable 'size'.
990 (check_valueof): Check the result by printing variable 'value'.
992 2015-12-01 Yao Qi <yao.qi@linaro.org>
994 * gdb.base/disp-step-syscall.exp: Define syscall instruction
995 for aarch64*-*-linux* target.
997 2015-11-30 Pedro Alves <palves@redhat.com>
999 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1001 2015-11-30 Pedro Alves <palves@redhat.com>
1003 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1004 Handle non-stop mode vCont replies.
1006 2015-11-30 Pedro Alves <palves@redhat.com>
1008 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1009 prepare_for_testing. Start gdb with "set non-stop on" appended to
1010 GDBFLAGS. Lax expected stop output.
1012 2015-11-27 Yao Qi <yao.qi@linaro.org>
1014 * gdb.arch/arm-neon.exp: New.
1015 * gdb.arch/arm-neon.c: New.
1017 2015-11-27 Yao Qi <yao.qi@linaro.org>
1019 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1021 2015-11-27 Yao Qi <yao.qi@linaro.org>
1023 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1024 frames-invalid annotation.
1026 2015-11-27 Yao Qi <yao.qi@linaro.org>
1028 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1030 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1032 * gdb.threads/names.exp: New file.
1033 * gdb.threads/names.c: New file.
1034 * README: Mention gdb,no_thread_names.
1036 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1039 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1042 2015-11-24 Pedro Alves <palves@redhat.com>
1045 * gdb.base/display.exp: Expect displays to be sorted in ascending
1046 order. Use multi_line.
1047 * gdb.base/solib-display.exp: Likewise.
1049 2015-11-24 Pedro Alves <palves@redhat.com>
1052 * gdb.base/display.exp: Expect displays to be sorted in ascending
1053 order. Use multi_line.
1054 * gdb.base/solib-display.exp: Likewise.
1056 2015-11-24 Pedro Alves <palves@redhat.com>
1059 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1060 threads in ascending order.
1061 * gdb.base/foll-fork.exp: Likewise.
1062 * gdb.base/foll-vfork.exp: Likewise.
1063 * gdb.base/multi-forks.exp: Likewise.
1064 * gdb.mi/mi-nonstop.exp: Likewise.
1065 * gdb.mi/mi-nsintrall.exp: Likewise.
1066 * gdb.multi/base.exp: Likewise.
1067 * gdb.multi/multi-arch.exp: Likewise.
1068 * gdb.python/py-inferior.exp: Likewise.
1069 * gdb.threads/break-while-running.exp: Likewise.
1070 * gdb.threads/execl.exp: Likewise.
1071 * gdb.threads/gcore-thread.exp: Likewise.
1072 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1073 * gdb.threads/kill.exp: Likewise.
1074 * gdb.threads/linux-dp.exp: Likewise.
1075 * gdb.threads/multiple-step-overs.exp: Likewise.
1076 * gdb.threads/next-bp-other-thread.exp: Likewise.
1077 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1078 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1079 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1080 * gdb.threads/thread-find.exp: Likewise.
1081 * gdb.threads/tls.exp: Likewise.
1082 * lib/mi-support.exp (mi_reverse_list): Delete.
1083 (mi_check_thread_states): No longer reverse list.
1085 2015-11-24 Pedro Alves <palves@redhat.com>
1087 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1090 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1092 * gdb.trace/actions.c: Include trace-common.h.
1093 (main): Add a location for a fast tracepoint.
1094 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1095 the normal tracepoints.
1096 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1098 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1100 * save-trace.exp: Factor out code to these...
1101 (gdb_save_tracepoints): New.
1102 (gdb_load_tracepoints): New.
1103 (do_save_load_test): New.
1105 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1107 * gdb.base/asmlabel.exp: New test.
1108 * gdb.base/asmlabel.c: New test case.
1110 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1112 * gdb.base/wrong_frame_bt_full-main.c: New file.
1113 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1114 * gdb.base/wrong_frame_bt_full.exp: New file.
1116 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1118 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1120 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1122 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1123 pstate register when comparing registers values in
1124 sparc64-*-linux-gnu targets to avoid spurious differences.
1126 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1128 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1130 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1132 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1133 as type argument to gdb_compile.
1134 * gdb.base/nested-subp2.exp: Likewise.
1135 * gdb.base/nested-subp3.exp: Likewise.
1137 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1139 * lib/dwarf.exp (_note): Fix left shift of negative value.
1140 * gdb.trace/trace-condition.exp: Likewise.
1142 2015-11-13 Yao Qi <yao.qi@linaro.org>
1144 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1145 comments about d10v.
1146 (test_scalar_returns): Likewise.
1147 * gdb.base/d10v.ld: Remove.
1148 * gdb.base/overlays.exp: Remove the target triplet checking for
1150 * gdb.base/structs.exp (test_struct_returns): Remove the
1151 comments about d10v.
1152 (test_struct_calls): Likewise.
1154 2015-11-13 Yao Qi <yao.qi@linaro.org>
1156 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1157 * gdb.base/gnu_vector.c: Don't include stdio.h.
1158 (main): Don't print res and call add_some_intvecs.
1160 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1162 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1165 (func4): Use FAST_TRACEPOINT_LABEL.
1166 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1169 (thread_function): Use FAST_TRACEPOINT_LABEL.
1170 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1172 (marker): Use FAST_TRACEPOINT_LABEL.
1173 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1174 (pendfunc1): Remove.
1175 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1176 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1178 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1179 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1182 (marker): Use FAST_TRACEPOINT_LABEL.
1183 * gdb.trace/trace-common.h: New header.
1184 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1187 (marker): Use FAST_TRACEPOINT_LABEL.
1188 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1190 (thread_function): Use FAST_TRACEPOINT_LABEL.
1192 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1194 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1196 * gdb.trace/change-loc.exp: Use global pcreg definition.
1197 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1198 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1200 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1201 * gdb.trace/pending.exp: Likewise.
1202 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1203 * gdb.trace/trace-break.exp: Likewise.
1204 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1206 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1207 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1209 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1211 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1213 * gdb.ada/fin_fun_out: New testcase.
1215 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1217 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1218 value associated with DW_AT_byte_size.
1219 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1220 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1223 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1225 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1226 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1228 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1229 gdb.dwarf2/dw2-canonicalize-type.exp,
1230 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1231 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1232 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1233 provided by gdb_target_symbol_prefix_flags_asm.
1234 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1235 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1236 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1237 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1238 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1239 macros where needed). Use this macro for symbols which require
1240 the prefix provided by SYMBOL_PREFIX.
1242 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1244 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1246 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1247 representing expressions, of more than one list element.
1248 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1249 to prepend linker symbol prefix to f.
1250 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1251 table_1 and table_2.
1252 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1253 Likewise, for f and g.
1254 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1256 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1258 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1259 table_1_ptr and table_2_ptr.
1261 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1262 Joel Brobecker <brobecker@adacore.com>
1264 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1266 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1268 * gdb.reverse/s390-mvcle.c: New test.
1269 * gdb.reverse/s390-mvcle.exp: New file.
1270 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1272 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1274 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1276 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1278 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1280 * gdb.reverse/getresuid-reverse.exp: Likewise.
1281 * gdb.reverse/pipe-reverse.exp: Likewise.
1282 * gdb.reverse/readv-reverse.exp: Likewise.
1283 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1284 * gdb.reverse/time-reverse.exp: Likewise.
1285 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1287 2015-10-30 Yao Qi <yao.qi@linaro.org>
1289 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1290 (empty_cycle): Remove.
1291 (main): Don't call empty_cycle. Don't use watch_count_done.
1292 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1293 empty_cycle. Rewrite the code counting HW watchpoints.
1295 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1297 * gdb.reverse/fstatat-reverse.c: New test.
1298 * gdb.reverse/fstatat-reverse.exp: New file.
1299 * gdb.reverse/getresuid-reverse.c: New test.
1300 * gdb.reverse/getresuid-reverse.exp: New file.
1301 * gdb.reverse/pipe-reverse.c: New test.
1302 * gdb.reverse/pipe-reverse.exp: New file.
1303 * gdb.reverse/readv-reverse.c: New test.
1304 * gdb.reverse/readv-reverse.exp: New file.
1305 * gdb.reverse/recvmsg-reverse.c: New test.
1306 * gdb.reverse/recvmsg-reverse.exp: New file.
1307 * gdb.reverse/time-reverse.c: New test.
1308 * gdb.reverse/time-reverse.exp: New file.
1309 * gdb.reverse/waitpid-reverse.c: New test.
1310 * gdb.reverse/waitpid-reverse.exp: New file.
1312 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1314 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1316 2015-10-26 Doug Evans <dje@google.com>
1319 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1320 * gdb.dwarf2/bad-regnum.c: New file.
1321 * gdb.dwarf2/bad-regnum.exp: New file.
1323 2015-10-26 Doug Evans <dje@google.com>
1326 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1329 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1332 for a change by "Mention language in compile error message".
1334 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1337 * gdb.python/py-type.c (C::a_method): New.
1338 (C::a_const_method): New.
1339 (C::a_static_method): New.
1341 * gdb.python/py-type.exp (test_fields): Test getting fields
1342 from function and method.
1344 2015-10-21 Keven Boell <keven.boell@intel.com>
1346 * gdb.fortran/vla-alloc-assoc.exp: New file.
1347 * gdb.fortran/vla-datatypes.exp: New file.
1348 * gdb.fortran/vla-datatypes.f90: New file.
1349 * gdb.fortran/vla-history.exp: New file.
1350 * gdb.fortran/vla-ptype-sub.exp: New file.
1351 * gdb.fortran/vla-ptype.exp: New file.
1352 * gdb.fortran/vla-sizeof.exp: New file.
1353 * gdb.fortran/vla-sub.f90: New file.
1354 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1355 * gdb.fortran/vla-value-sub-finish.exp: New file.
1356 * gdb.fortran/vla-value-sub.exp: New file.
1357 * gdb.fortran/vla-value.exp: New file.
1358 * gdb.fortran/vla-ptr-info.exp: New file.
1359 * gdb.mi/mi-vla-fortran.exp: New file.
1360 * gdb.mi/vla.f90: New file.
1362 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1364 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1365 of hardwired timeout value.
1367 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1368 Pedro Alves <palves@redhat.com>
1370 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1371 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1373 2015-10-19 Josh Stone <jistone@redhat.com>
1375 * gdb.base/catch-syscall.c: Include <sched.h>.
1376 (unknown_syscall): New variable.
1377 (main): Trigger a vfork and an unknown syscall.
1378 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1379 (unknown_syscall_number): Likewise.
1380 (check_call_to_syscall): Accept an optional syscall pattern.
1381 (check_return_from_syscall): Likewise.
1382 (check_continue): Likewise.
1383 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1384 (test_catch_syscall_skipping_return): New test toggling off 'catch
1385 syscall' to step over the syscall return, then toggling back on.
1386 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1387 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1388 (do_syscall_tests): Call test_catch_syscall_without_args and
1389 test_catch_syscall_mid_vfork.
1390 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1391 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1393 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1395 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1396 print g_vE): Add new pass patterns.
1397 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1398 print various symbol names for vptr fields.
1400 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1402 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1405 2015-10-12 Yao Qi <yao.qi@linaro.org>
1407 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1409 2015-10-12 Yao Qi <yao.qi@linaro.org>
1411 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1412 is aarch64*-*-linux*.
1414 2015-10-12 Yao Qi <yao.qi@linaro.org>
1416 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1417 (can_relocate_bcond_true): ... it.
1418 (can_relocate_bcond_false): New function.
1420 (can_relocate_bl): Likewise.
1421 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1424 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1426 * gdb.base/nested-addr.c: New file.
1427 * gdb.base/nested-addr.exp: New testcase.
1429 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1431 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1432 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1433 its output. Ignore the output of "record goto begin" and instead
1434 check that GDB is replaying.
1436 2015-10-09 Pedro Alves <palves@redhat.com>
1438 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1439 (top level): Use it in the run with no args test.
1441 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1443 * gdb.dlang/properties.exp: New file.
1445 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1447 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1448 whether or not address 0x1000 is mapped on the target.
1450 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1452 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1455 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1457 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1458 instruction-history test.
1460 2015-09-28 Doug Evans <dje@google.com>
1462 * gdb.base/gcore.c (array_func): Add reference to static_array.
1464 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1466 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1469 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1471 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1472 short or char as base type.
1474 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1476 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1477 to allow any size enum.
1479 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1481 * gdb.ada/array_ptr_renaming.exp: New testcase.
1482 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1483 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1485 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1487 * gdb.trace/ftrace-lock.c: New file.
1488 * gdb.trace/ftrace-lock.exp: New file.
1490 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1492 * gdb.arch/insn-reloc.c: New file.
1493 * gdb.arch/ftrace-insn-reloc.exp: New file.
1495 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1497 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1499 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1500 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1501 * gdb.trace/range-stepping.c: Likewise.
1502 * gdb.trace/trace-break.c: Likewise.
1503 * gdb.trace/trace-mt.c (thread_function): Likewise.
1504 * gdb.trace/ftrace.c (marker): Likewise.
1505 * gdb.trace/trace-condition.c (marker): Likewise.
1506 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1507 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1510 2015-09-18 Doug Evans <xdje42@gmail.com>
1512 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1513 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1515 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1517 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1520 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1522 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1523 the pending breakpoint. Remove timeout override for "Run till
1524 MI pending breakpoint on pendfunc3 on thread 2" test.
1526 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1528 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1531 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1533 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1534 in breakpoint filename pattern.
1536 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1538 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1540 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1542 * gdb.linespec/explicit.exp: Check for readline support for
1543 tab-completion tests. Fix obvious typo.
1545 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1547 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1550 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1552 * gdb.btrace/non-stop.c: New.
1553 * gdb.btrace/non-stop.exp: New.
1555 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1556 Yao Qi <yao.qi@linaro.org>
1558 * gdb.trace/trace-condition.c: New file.
1559 * gdb.trace/trace-condition.exp: New file.
1561 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1563 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1564 for testing bytecode compilation.
1566 2015-09-16 Pedro Alves <palves@redhat.com>
1567 Sandra Loosemore <sandra@codesourcery.com>
1569 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1570 (SECONDS): Redefine.
1571 (main): Call pthread_kill and alarm early.
1572 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1574 (test): If the target can't hardware step and doesn't support
1575 displaced stepping, increase the timeout.
1577 2015-09-16 Pedro Alves <palves@redhat.com>
1579 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1580 (enable_debug): New procedures.
1581 (test): Use them. Bail out if waiting for threads fails.
1582 (top level): Bail out if a test fails.
1584 2015-09-16 Yao Qi <yao.qi@linaro.org>
1586 * gdb.asm/asm-source.exp: Set asm-arch for
1587 aarch64*-*-* target.
1588 * gdb.asm/aarch64.inc: New file.
1590 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1592 * gdb.ada/array_of_variable_length.exp: New testcase.
1593 * gdb.ada/array_of_variable_length/foo.adb: New file.
1594 * gdb.ada/array_of_variable_length/pck.adb: New file.
1595 * gdb.ada/array_of_variable_length/pck.ads: New file.
1597 2015-09-15 Doug Evans <dje@google.com>
1599 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1600 of function static local variable.
1602 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1604 * gdb.threads/tls-so_extern.exp: New test file.
1605 * gdb.threads/tls-so_extern.c: New test file.
1606 * gdb.threads/tls-so_extern_main.c: New test file.
1608 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1610 * gdb.opt/solib-intra-step-lib.c: New file.
1611 * gdb.opt/solib-intra-step-main.c: New file.
1612 * gdb.opt/solib-intra-step.exp: New file.
1614 2015-09-15 Pedro Alves <palves@redhat.com>
1616 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1617 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1619 2015-09-14 Pedro Alves <palves@redhat.com>
1621 * gdb.base/hook-stop-continue.c: Delete.
1622 * gdb.base/hook-stop-continue.exp: Delete.
1623 * gdb.base/hook-stop-frame.c: Delete.
1624 * gdb.base/hook-stop-frame.exp: Delete.
1625 * gdb.base/hook-stop.c: New file.
1626 * gdb.base/hook-stop.exp: New file.
1628 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1630 * gdb.ada/access_to_packed_array.exp: New testcase.
1631 * gdb.ada/access_to_packed_array/foo.adb: New file.
1632 * gdb.ada/access_to_packed_array/pack.adb: New file.
1633 * gdb.ada/access_to_packed_array/pack.ads: New file.
1635 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1637 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1640 2015-09-11 Don Breazeal <donb@codesourcery.com>
1642 * gdb.base/foll-exec.c: Add copyright header. Fix
1644 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1645 (do_exec_tests): Use clean_restart in place of zap_session,
1646 and for test initialization. Fix formatting issues. Use
1647 fail in place of perror.
1648 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1649 an expect statement to match an expression with output from
1650 the program under debug.
1651 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1652 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1653 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1654 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1655 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1657 2015-09-09 Doug Evans <dje@google.com>
1659 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1661 2015-09-09 Doug Evans <dje@google.com>
1663 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1665 2015-09-09 Doug Evans <dje@google.com>
1667 * gdb.base/savedregs.exp: Fix typo.
1669 2015-09-09 Pedro Alves <palves@redhat.com>
1671 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1673 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1675 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1676 command actually switches threads. Give up on remaining
1677 tests if target fails to stop at breakpoint.
1679 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1681 * gdb.ada/funcall_char.exp: New testcase.
1682 * gdb.ada/funcall_char/foo.adb: New file.
1684 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1686 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1687 expected outputs. Add two testcases for completing ambiguous
1689 * gdb.ada/complete/aux_pck.adb: New file.
1690 * gdb.ada/complete/aux_pck.ads: New file.
1691 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1692 Ambiguous_Func functions.
1693 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1694 * gdb.ada/complete/pck.adb: Likewise.
1696 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1698 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1699 failures to run the test program under GDB.
1701 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1703 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1706 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1708 * gdb.base/run-after-attach.exp: New test file.
1709 * gdb.base/run-after-attach.c: New test file.
1711 2015-08-26 Don Breazeal <donb@codesourcery.com>
1713 * gdb.base/foll-exec-2.c: New test program.
1714 * gdb.base/foll-exec-2.exp: New test.
1716 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1718 * gdb.base/nested-subp1.exp: New file.
1719 * gdb.base/nested-subp1.c: New file.
1720 * gdb.base/nested-subp2.exp: New file.
1721 * gdb.base/nested-subp2.c: New file.
1722 * gdb.base/nested-subp3.exp: New file.
1723 * gdb.base/nested-subp3.c: New file.
1725 2015-08-24 Pedro Alves <palves@redhat.com>
1727 * gdb.server/connect-without-multi-process.c: New file.
1728 * gdb.server/connect-without-multi-process.exp: New file.
1730 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1732 * gdb.opt/inline-markers.c: Make z int.
1734 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1736 * gdb.opt/inline-markers.c: Make z volatile.
1738 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1740 * gdb.opt/inline-bt.c: New volatile global z.
1741 * gdb.opt/inline-cmds.c: Likewise.
1742 * gdb.opt/inline-locals.c: Likewise.
1743 * gdb.opt/inline-markers.c: New extern global z.
1745 (inline_fn): Likewise.
1747 2015-08-24 Pedro Alves <palves@redhat.com>
1749 * config/m32r-stub.exp: Remove file.
1750 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1751 * gdb.base/call-rt-st.exp: Likewise.
1752 * gdb.base/call-strs.exp: Likewise.
1753 * gdb.base/default.exp: Remove references to h8300-*-hms and
1755 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1757 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1759 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1760 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1761 and "return" use KFAIL when GDB can not read/write the vector
1764 2015-08-21 Gary Benson <gbenson@redhat.com>
1766 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1768 2015-08-20 Pedro Alves <palves@redhat.com>
1770 * gdb.server/solib-list.exp: No longer expect an interior stop in
1773 2015-08-20 Pedro Alves <palves@redhat.com>
1775 * gdb.server/connect-stopped-target.c: New file.
1776 * gdb.server/connect-stopped-target.exp: New file.
1778 2015-08-20 Pedro Alves <palves@redhat.com>
1780 * gdb.dwarf2/comp-unit-lang.exp: New file.
1781 * gdb.dwarf2/comp-unit-lang.c: New file.
1783 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1785 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1786 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1788 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1790 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1791 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1793 2015-08-18 Doug Evans <dje@google.com>
1794 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1796 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1797 skip_python_tests. New arg prompt_regexp.
1798 (skip_python_tests): New function.
1799 * lib/mi-support.exp (mi_skip_python_tests): New function.
1800 * gdb.python/py-mi-objfile-gdb.py: New file.
1801 * gdb.python/py-mi-objfile.c: New file.
1802 * gdb.python/py-mi-objfile.exp: New file.
1804 2015-08-17 Keith Seitz <keiths@redhat.com>
1806 * gdb.linespec/explicit.exp: Move strace test from here ...
1807 * gdb.trace/strace.exp: ... to here.
1809 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1811 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1812 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1814 2015-08-14 Doug Evans <xdje42@gmail.com>
1816 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1817 inferior before selecting a new file.
1819 2015-08-14 Doug Evans <xdje42@gmail.com>
1821 * gdb.mi/mi-disassemble.exp: Update.
1822 * gdb.base/disasm-optim.S: New file.
1823 * gdb.base/disasm-optim.c: New file.
1824 * gdb.base/disasm-optim.h: New file.
1825 * gdb.base/disasm-optim.exp: New file.
1827 2015-08-14 Keith Seitz <keiths@redhat.com>
1829 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1832 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1834 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1836 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1838 * gdb.ada/fun_renaming.exp: New testcase.
1839 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1840 * gdb.ada/fun_renaming/pack.adb: New file.
1841 * gdb.ada/fun_renaming/pack.ads: New file.
1843 2015-08-12 Keith Seitz <keiths@redhat.com>
1845 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1846 gdb_get_line_number.
1848 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1850 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1851 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1852 gdb.base/dso2dso.exp: New files.
1854 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1855 Pedro Alves <palves@redhat.com>
1856 Keith Seitz <keiths@redhat.com>
1858 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1861 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1863 * gdb.base/gdbhistsize-history.exp
1864 (test_histsize_history_setting): Use save_vars.
1865 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1867 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1868 * gdb.base/readline.exp: Use save_vars.
1870 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1872 * lib/gdb.exp (save_vars): New proc.
1874 2015-08-11 Keith Seitz <keiths@redhat.com>
1876 * gdb.base/help.exp: Update help_breakpoint_text.
1878 2015-08-11 Keith Seitz <keiths@redhat.com>
1880 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1881 (at toplevel): Call test_explicit_breakpoints.
1882 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1884 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1885 breakpoint conditions, "-cond".
1887 2015-08-11 Keith Seitz <keiths@redhat.com>
1889 * gdb.linespec/3explicit.c: New file.
1890 * gdb.linespec/cpexplicit.cc: New file.
1891 * gdb.linespec/cpexplicit.exp: New file.
1892 * gdb.linespec/explicit.c: New file.
1893 * gdb.linespec/explicit.exp: New file.
1894 * gdb.linespec/explicit2.c: New file.
1895 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1896 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1897 before using in the matching pattern.
1898 Clarify that `prefix' is a regular expression.
1900 2015-08-11 Keith Seitz <keiths@redhat.com>
1902 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1904 Add tests for missing ",FMT" and ",".
1906 2015-08-10 Doug Evans <dje@google.com>
1907 Keith Seitz <keiths@redhat.com>
1910 * gdb.base/completion.exp: Add location completer tests.
1912 2015-08-07 Pedro Alves <palves@redhat.com>
1914 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1916 (top level): Run do_test with and without displaced stepping.
1918 2015-08-07 Pedro Alves <palves@redhat.com>
1920 * gdb.base/valgrind-disp-step.c: New file.
1921 * gdb.base/valgrind-disp-step.exp: New file.
1923 2015-08-07 Pedro Alves <palves@redhat.com>
1925 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1927 (main): Add alarm. Run an infinite loop instead of calling
1929 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1931 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1933 (main): Add alarm. Run an infinite loop instead of calling
1935 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1938 2015-08-07 Pedro Alves <palves@redhat.com>
1940 * gdb.base/checkpoint-ns.exp: New file.
1941 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1944 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1946 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1947 * gdb.btrace/instruction_history.exp: Update.
1948 * gdb.btrace/tsx.exp: New.
1949 * gdb.btrace/tsx.c: New.
1951 2015-08-06 Pedro Alves <palves@redhat.com>
1953 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1955 * gdb.reverse/until-precsave.exp: Bump timeouts.
1957 2015-08-06 Pedro Alves <palves@redhat.com>
1959 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1961 2015-08-06 Pedro Alves <palves@redhat.com>
1964 * gdb.threads/process-dies-while-handling-bp.c: New file.
1965 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1967 2015-08-06 Pedro Alves <palves@redhat.com>
1969 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1970 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1972 2015-08-05 Pedro Alves <palves@redhat.com>
1974 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1975 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1977 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1979 * gdb.base/bp-permanent.exp: Report test as unsupported if
1980 the target cannot stop at the permanent breakpoint.
1982 2015-08-03 Doug Evans <dje@google.com>
1984 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1987 2015-08-03 Doug Evans <dje@google.com>
1989 * Makefile.in (workers/%.worker, build-perf): New rule.
1990 (GDB_PERFTEST_MODE): New variable.
1991 (check-perf): Use it.
1992 (clean): Clean up gdb.perf parallel build subdirs.
1993 * lib/build-piece.exp: New file.
1994 * lib/gdb.exp (make_gdb_parallel_path): New function
1995 (standard_output_file, standard_temp_file): Call it.
1996 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1998 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2000 2015-08-03 Doug Evans <dje@google.com>
2002 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2003 (LOG_FILE_NAME): New global.
2004 (TextReporter.__init__): Initialize self.txt_sum.
2005 (TextReporter.report): Add support for multiple data-points.
2006 Move report to perftest.sum, put raw data in perftest.log.
2007 (TextReporter.start): Open sum and log files.
2008 (TextReporter.end): Close sum and log files.
2009 * gdb.perf/lib/perftest/testresult.py
2010 (SingleStatisticTestResult.record): Handle multiple data-points.
2012 2015-07-31 Pedro Alves <palves@redhat.com>
2014 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2015 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2016 kill_wait_spawned_process instead of explicit "kill -9".
2017 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2018 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2019 kill_wait_spawned_process.
2020 * gdb.base/attach-twice.exp: Likewise.
2021 * gdb.base/attach.exp: Likewise.
2022 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2024 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2025 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2026 kill_wait_spawned_process.
2027 * gdb.base/valgrind-infcall.exp: Likewise.
2028 * gdb.multi/multi-attach.exp: Likewise.
2029 * gdb.python/py-prompt.exp: Likewise.
2030 * gdb.python/py-sync-interp.exp: Likewise.
2031 * gdb.server/ext-attach.exp: Likewise.
2032 * gdb.threads/attach-into-signal.exp (corefunc): Use
2033 spawn_wait_for_attach, spawn_id_get_pid and
2034 kill_wait_spawned_process.
2035 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2036 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2037 spawn_id_get_pid and kill_wait_spawned_process.
2038 * gdb.threads/attach-stopped.exp (corefunc): Use
2039 spawn_wait_for_attach, spawn_id_get_pid and
2040 kill_wait_spawned_process.
2041 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2042 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2043 kill_wait_spawned_process instead of explicit "kill -9".
2044 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2045 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2046 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2047 processes. Don't map cygwin/windows pids here. Now returns a
2050 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2052 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2053 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2056 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2058 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2060 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2063 2014-05-21 Mark Wielaard <mjw@redhat.com>
2065 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2067 2015-07-30 Pedro Alves <palves@redhat.com>
2069 * linux-low.c (handle_extended_wait): Set the child's last
2070 reported status to TARGET_WAITKIND_STOPPED.
2072 2015-07-30 Pedro Alves <palves@redhat.com>
2075 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2076 only shows inferior 1.
2078 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2079 Pedro Alves <palves@redhat.com>
2082 * gdb.threads/fork-plus-threads.c: New file.
2083 * gdb.threads/fork-plus-threads.exp: New file.
2085 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2087 * gdb.base/batch-preserve-term-settings.exp
2088 (test_terminal_settings_preserved_after_cli_exit): Use
2091 2015-07-29 Pedro Alves <palves@redhat.com>
2092 Don Breazeal <donb@codesourcery.com>
2094 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2095 output from both inferior_spawn_id and gdb_spawn_id.
2097 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2099 * gdb.threads/attach-into-signal.exp (corefunc): Use
2100 with_test_prefix on nested loops, uniquefying the test messages.
2102 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2104 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2107 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2109 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2111 (test_terminal_settings_preserved_after_sigterm): New test.
2113 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2115 * gdb.base/batch-preserve-term-settings.exp
2116 (test_terminal_settings_preserved_after_cli_exit): New test.
2118 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2120 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2121 manipulation of saved_gdbflags.
2122 (test_terminal_settings_preserved): Remove global declaration of
2123 the unused variable pagination_prompt. Remove manipulation of
2124 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2127 2015-07-29 Pedro Alves <palves@redhat.com>
2129 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2131 2015-07-29 Pedro Alves <palves@redhat.com>
2133 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2136 2015-07-29 Pedro Alves <palves@redhat.com>
2138 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2139 (main): Call gdb_unbuffer_output.
2140 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2141 (main): Call gdb_unbuffer_output.
2142 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2143 (main): Call gdb_unbuffer_output.
2144 * gdb.base/call-strs.exp: Adjust to step over the
2145 gdb_unbuffer_output call.
2146 * gdb.base/catch-gdb-caused-signals.c: Include
2147 "../lib/unbuffer_output.c".
2148 (main): Call gdb_unbuffer_output.
2149 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2150 (main): Call gdb_unbuffer_output.
2151 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2152 (main): Call gdb_unbuffer_output.
2153 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2154 (main): Call gdb_unbuffer_output.
2155 * gdb.base/shlib-call.exp: Adjust to step over the
2156 gdb_unbuffer_output call.
2157 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2158 (main): Call gdb_unbuffer_output.
2159 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2160 (main): Call gdb_unbuffer_output.
2161 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2162 (main): Rename to ...
2164 (main): Reimplement.
2165 * gdb.base/varargs.exp: Run to test instead of to main.
2166 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2167 (main): Call gdb_unbuffer_output.
2169 2015-07-29 Pedro Alves <palves@redhat.com>
2171 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2172 factore out from mi_continue_dprintf. For call-style dprintfs,
2173 expect dprintf output out of $inferior_spawn_id.
2174 (mi_continue_dprintf): Use mi_expect_dprintf.
2175 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2176 (main): Call gdb_unbuffer_output.
2178 2015-07-29 Pedro Alves <palves@redhat.com>
2180 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2181 (default_mi_gdb_start): Set inferior_spawn_id instead of
2182 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2184 (mi_gdb_test): Always expect inferior output from both
2185 $inferior_spawn_id and $gdb_spawn_id.
2187 2015-07-29 Pedro Alves <palves@redhat.com>
2189 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2190 send_inferior and $inferior_spawn_id.
2192 2015-07-29 Pedro Alves <palves@redhat.com>
2194 * gdb.gdb/complaints.exp (test_initial_complaints)
2195 (test_serial_complaints, test_short_complaints): Use
2197 (test_empty_complaint): Handle $inferior_spawn_id !=
2200 2015-07-29 Pedro Alves <palves@redhat.com>
2202 * gdb.base/varargs.exp: Use gdb_test_stdio.
2204 2015-07-29 Pedro Alves <palves@redhat.com>
2206 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2208 2015-07-29 Pedro Alves <palves@redhat.com>
2210 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2212 2015-07-29 Pedro Alves <palves@redhat.com>
2214 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2215 parameter into two new parameters, "inf_result" and "gdb_result".
2216 Expect inferior output and gdb output from $inferior_spawn_id and
2217 $gdb_spawn_id, respectively. Adjust all callers.
2219 2015-07-29 Pedro Alves <palves@redhat.com>
2221 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2222 of gdb_test_sequence.
2224 2015-07-29 Pedro Alves <palves@redhat.com>
2226 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2227 (saw_spurious_output): Expect inferior output from
2228 $inferior_spawn_id. Use gdb_test_stdio.
2230 2015-07-29 Pedro Alves <palves@redhat.com>
2232 * gdb.base/dprintf.exp: Use standard_testfile. Change
2233 prepare_for_testing call.
2234 (srcfile): Don't set.
2235 (restart): New procedure.
2236 (test_dprintf): New procecure, use to continue over dprintfs.
2237 (test_call, test_agent): New procedures, tests moved here.
2238 Restart gdb and recreate dprintfs. Adjust expected output.
2240 2015-07-29 Pedro Alves <palves@redhat.com>
2242 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2244 2015-07-29 Pedro Alves <palves@redhat.com>
2246 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2248 2015-07-29 Pedro Alves <palves@redhat.com>
2250 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2253 2015-07-29 Pedro Alves <palves@redhat.com>
2255 * lib/gdb.exp (gdb_test_stdio): New procedure.
2257 2015-07-29 Pedro Alves <palves@redhat.com>
2259 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2261 2015-07-29 Pedro Alves <palves@redhat.com>
2263 * gdb.base/call-signal-resume.exp: Remove check for
2264 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2265 * gdb.base/unwindonsignal.exp: Likewise.
2266 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2267 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2269 2015-07-29 Pedro Alves <palves@redhat.com>
2271 * gdb.base/siginfo-addr.c (pass): New function.
2272 (handler): Call it iff si_addr is correct.
2273 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2274 Set a breakpoint at "pass" and continue to it.
2276 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2278 * gdb.python/py-objfile.exp: Make some tests have unique names.
2279 * gdb.python/py-pp-registration.exp: Likewise.
2281 2015-07-28 Pedro Alves <palves@redhat.com>
2283 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2285 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2287 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2289 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2291 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2293 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2295 * gdb.base/gdb-sigterm-2.exp: New test.
2297 2015-07-25 Doug Evans <xdje42@gmail.com>
2300 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2301 (workers/%.worker, build-perf): New rule.
2302 (GDB_PERFTEST_MODE): New variable.
2303 (check-perf): Use it.
2304 (clean): Clean up gdb.perf parallel build subdirs.
2305 * lib/build-piece.exp: New file.
2306 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2307 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2309 (standard_temp_file): Ditto.
2310 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2313 2015-07-24 Doug Evans <dje@google.com>
2315 * gdb.perf/lib/perftest/utils.py: New file.
2316 * gdb.perf/gm-hello.cc: New file.
2317 * gdb.perf/gm-pervasive-typedef.cc: New file.
2318 * gdb.perf/gm-pervasive-typedef.h: New file.
2319 * gdb.perf/gm-std.cc: New file.
2320 * gdb.perf/gm-std.h: New file.
2321 * gdb.perf/gm-use-cerr.cc: New file.
2322 * gdb.perf/gm-utils.h: New file.
2323 * gdb.perf/gmonster-null-lookup.py: New file.
2324 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2325 * gdb.perf/gmonster-print-cerr.py: New file.
2326 * gdb.perf/gmonster-ptype-string.py: New file.
2327 * gdb.perf/gmonster-runto-main.py: New file.
2328 * gdb.perf/gmonster-select-file.py: New file.
2329 * gdb.perf/gmonster1-null-lookup.exp: New file.
2330 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2331 * gdb.perf/gmonster1-print-cerr.exp: New file.
2332 * gdb.perf/gmonster1-ptype-string.exp: New file.
2333 * gdb.perf/gmonster1-runto-main.exp: New file.
2334 * gdb.perf/gmonster1-select-file.exp: New file.
2335 * gdb.perf/gmonster1.cc: New file.
2336 * gdb.perf/gmonster1.exp: New file.
2337 * gdb.perf/gmonster2-null-lookup.exp: New file.
2338 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2339 * gdb.perf/gmonster2-print-cerr.exp: New file.
2340 * gdb.perf/gmonster2-ptype-string.exp: New file.
2341 * gdb.perf/gmonster2-runto-main.exp: New file.
2342 * gdb.perf/gmonster2-select-file.exp: New file.
2343 * gdb.perf/gmonster2.cc: New file.
2344 * gdb.perf/gmonster2.exp: New file.
2346 2015-07-24 Doug Evans <dje@google.com>
2348 * gdb.perf/README: New file.
2349 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2350 * lib/gen-perf-test.exp: New file.
2352 2015-07-24 Doug Evans <dje@google.com>
2354 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2355 (PerfTest::startup): New function.
2356 (PerfTest::run): Return result of calling body.
2357 (PerfTest::assemble): Rewrite.
2358 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2359 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2360 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2361 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2362 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2364 2015-07-24 Doug Evans <dje@google.com>
2366 * lib/gdb.exp (clean_restart): Make executable optional.
2368 2015-07-24 Doug Evans <dje@google.com>
2370 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2371 compiler_info references.
2372 * gdb.cp/temargs.exp: Ditto.
2373 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2374 (get_compiler_info): Early exit if already computed. Set compiler_info
2375 to "unknown" if there was a problem.
2376 (test_compiler_info): Add function comment. Call get_compiler_info.
2378 2015-07-24 Doug Evans <dje@google.com>
2380 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2381 (workers/%.worker, build-perf): New rule.
2382 (GDB_PERFTEST_MODE): New variable.
2383 (check-perf): Use it.
2384 (clean): Clean up gdb.perf parallel build subdirs.
2385 * lib/build-piece.exp: New file.
2386 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2387 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2389 (standard_temp_file): Ditto.
2390 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2393 2015-07-24 Doug Evans <dje@google.com>
2395 * lib/future.exp (gdb_default_target_compile): New option
2397 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2400 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2402 * gdb.base/catch-syscall.exp: Call gdb_exit before
2405 2015-07-24 Pedro Alves <palves@redhat.com>
2407 * gdb.python/py-events.exp: Accept output between the stop event
2409 * gdb.python/py-evsignal.exp: Likewise.
2410 * gdb.python/py-evthreads.exp: Likewise.
2412 2015-07-24 Pedro Alves <palves@redhat.com>
2415 * gdb.threads/non-ldr-exit.c: New file.
2416 * gdb.threads/non-ldr-exit.exp: New file.
2418 2015-07-24 Yao Qi <yao.qi@linaro.org>
2420 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2423 2015-07-24 Yao Qi <yao.qi@linaro.org>
2425 * gdb.server/ext-restart.exp: New file.
2427 2015-07-24 Yao Qi <yao.qi@linaro.org>
2429 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2431 * gdb.server/ext-wrapper.exp: New file.
2433 2015-07-23 Doug Evans <dje@google.com>
2435 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2436 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2438 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2440 * gdb.ada/var_arr_typedef.exp: New testcase.
2441 * gdb.ada/var_arr_typedef/pack.adb: New file.
2442 * gdb.ada/var_arr_typedef/pack.ads: New file.
2443 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2445 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2447 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2449 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2451 * gdb.arch/i386-biarch-core.exp: Replace istarget
2452 by "complete set gnutarget". Remove expectation for the "core-file"
2455 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2457 Revert the previous commit:
2458 Tests for validate symbol file using build-id.
2460 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2462 Tests for validate symbol file using build-id.
2463 * gdb.base/solib-mismatch-lib.c: New file.
2464 * gdb.base/solib-mismatch-libmod.c: New file.
2465 * gdb.base/solib-mismatch.c: New file.
2466 * gdb.base/solib-mismatch.exp: New file.
2468 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2470 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2472 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2473 * gdb.base/siginfo.exp: Likewise.
2474 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2476 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2478 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2480 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2482 * gdb.trace/range-stepping.exp: Check that the target supports
2485 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2487 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2489 2015-07-14 Pedro Alves <palves@redhat.com>
2491 * gdb.base/killed-outside.exp: New file.
2492 * gdb.base/killed-outside.c: New file.
2494 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2496 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2498 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2500 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2502 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2503 infcall tests instead of setting up for KFAIL.
2505 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2507 * gdb.btrace/record_goto-step.exp: New.
2509 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2512 * gdb.compile/compile.c (struct struct_type): Add volatile to
2514 * gdb.compile/compile.exp
2515 (compile code struct_object.selffield = &struct_object): Skip further
2516 struct_object tests if this one xfails.
2518 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2521 * gdb.trace/ax.exp: Add test.
2523 2015-07-07 Yao Qi <yao.qi@linaro.org>
2525 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2526 instead of istarget "aarch64*-*-*".
2527 * gdb.arch/aarch64-fp.exp: Likewise.
2528 * gdb.base/float.exp: Likewise.
2529 * gdb.reverse/aarch64.exp: Likewise.
2530 * lib/gdb.exp (is_aarch64_target): New proc.
2532 2015-07-07 Yao Qi <yao.qi@linaro.org>
2534 * lib/gdb.exp (is_aarch32_target): New proc.
2535 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2536 instead of "istarget "arm*-*-*"".
2537 * gdb.arch/arm-disp-step.exp: Likewise.
2538 * gdb.arch/thumb-bx-pc.exp: Likewise.
2539 * gdb.arch/thumb-prologue.exp: Likewise.
2540 * gdb.arch/thumb-singlestep.exp: Likewise.
2541 * gdb.base/disp-step-syscall.exp: Likewise.
2542 * gdb.base/float.exp: Likewise.
2544 2015-07-07 Yao Qi <yao.qi@linaro.org>
2546 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2547 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2549 2015-07-07 Yao Qi <yao.qi@linaro.org>
2551 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2552 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2554 * gdb.multi/multi-arch.exp: Likewise.
2556 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2558 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2561 2015-07-07 Yao Qi <yao.qi@linaro.org>
2563 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2565 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2567 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2568 '[' and ']' characters.
2570 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2572 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2574 2015-06-29 Pedro Alves <palves@redhat.com>
2577 * gdb.threads/hand-call-new-thread.c: New file.
2578 * gdb.threads/hand-call-new-thread.c: New file.
2580 2015-06-26 Keith Seitz <keiths@redhat.com>
2581 Doug Evans <dje@google.com>
2584 * gdb.cp/var-tag-2.cc: New file.
2585 * gdb.cp/var-tag-3.cc: New file.
2586 * gdb.cp/var-tag-4.cc: New file.
2587 * gdb.cp/var-tag.cc: New file.
2588 * gdb.cp/var-tag.exp: New file.
2590 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2592 * gdb.base/history-duplicates.exp: New test.
2594 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2596 * gdb.base/completion.exp: Test the completion of the "focus"
2599 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2601 * gdb.arch/amd64-prologue-skip.S: New file.
2602 * gdb.arch/amd64-prologue-skip.exp: New file.
2604 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2606 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2607 is_address_zero_readable check.
2609 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2611 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2612 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2614 2015-06-24 Yao Qi <yao.qi@linaro.org>
2616 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2619 2015-06-24 Yao Qi <yao.qi@linaro.org>
2621 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2622 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2623 * gdb.base/siginfo-thread.exp: Likewise.
2625 2015-06-22 Yao Qi <yao.qi@linaro.org>
2627 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2629 2015-06-22 Yao Qi <yao.qi@linaro.org>
2631 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2633 (skip_hw_watchpoint_tests): Likewise.
2635 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2637 * gdb.base/gdbinit-history.exp: Test the interaction between
2638 setting GDBHISTSIZE and setting the history size via .gdbinit.
2640 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2643 * gdb.base/gdbhistsize-history.exp: New test.
2645 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2647 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2649 * gdb.base/readline.exp: Likewise.
2651 2015-06-17 Yao Qi <yao.qi@linaro.org>
2653 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2656 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2658 * gdb.base/gdbinit-history.exp: Add test case to check that
2659 an unlimited history file does not get truncated on exit.
2661 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2663 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2664 (VECTOR): New macro. Use it...
2665 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2666 ...for these typedefs.
2667 (int8, char1, int1, double1): New typedefs.
2668 (struct just_int2, struct two_int2): New structures.
2669 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2670 (add_structvecs, add_singlevecs): New functions.
2671 (main): Call add_some_intvecs twice.
2672 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2673 the compile and exit upon failure. Try compiling for the "native"
2674 architecture. Test inferior function calls with vector arguments
2675 and vector return value handling with "finish" and "return".
2677 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2679 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2680 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2682 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2684 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2686 PR breakpoints/16465
2687 * gdb.mi/mi-dprintf-pending.c: New file.
2688 * gdb.mi/mi-dprintf-pending.exp: New test.
2689 * gdb.mi/mi-dprintf-pendshr.c: New file.
2691 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2692 Mircea Gherzan <mircea.gherzan@intel.com>
2694 * gdb.arch/i386-mpx-map.c: New file.
2695 * gdb.arch/i386-mpx-map.exp: New File.
2697 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2699 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2700 * gdb.arch/i386-mpx.exp: Indentation fixed.
2702 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2704 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2705 function and improved indentation.
2706 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2707 gdb_test_multiple. Added additional tests to skip the test.
2709 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2711 * gdb.arch/i386-avx512.c: Change path in include file.
2712 * gdb.arch/i386-avx512.exp: Change include dir path
2714 * gdb.arch/i386-mpx.c: Change path in include file.
2715 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2718 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2720 * gdb.compile/compile-print.exp (compile print *vararray@3)
2721 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2723 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2725 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2726 (do not keep jit in memory): ... this.
2727 (expect 5): Change it to ...
2728 (expect no 5): ... this.
2730 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2733 * gdb.mi/mi-detach.exp: New file.
2735 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2738 * gdb.arch/amd64-tailcall-self.S: New file.
2739 * gdb.arch/amd64-tailcall-self.c: New file.
2740 * gdb.arch/amd64-tailcall-self.exp: New file.
2742 2015-05-28 Don Breazeal <donb@codesourcery.com>
2744 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2745 tests for remote targets by checking is_target_gdbserver.
2747 2015-05-27 Doug Evans <dje@google.com>
2749 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2750 * gdb.dwarf2/opaque-type-lookup.c: New file.
2751 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2753 2015-05-26 Doug Evans <dje@google.com>
2755 * gdb.cp/iostream.cc: New file.
2756 * gdb.cp/iostream.exp: New file.
2758 2015-05-26 Doug Evans <dje@google.com>
2760 * gdb.dwarf2/dw2-op-call.exp: Update.
2761 * gdb.dwarf2/dw4-sig-types.exp: Update.
2762 * gdb.dwarf2/implptr.exp: Update.
2763 * gdb.mi/mi-cmd-param-changed.exp: Update.
2765 2015-05-26 Doug Evans <dje@google.com>
2767 * gdb.python/py-lazy-string.c: New file.
2768 * gdb.python/py-lazy-string.exp: New file.
2769 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2770 (main): Update. Add estring3.
2771 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2772 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2774 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2775 Yao Qi <yao.qi@linaro.org>
2777 * gdb.reverse/aarch64.c: New.
2778 * gdb.reverse/aarch64.exp: New.
2780 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2782 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2783 (supports_reverse): Likewise.
2785 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2787 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2788 Use with_test_prefix.
2790 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2792 * gdb.base/completion.exp: Add test for completion of layout
2795 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2797 * lib/gdb.exp (skip_tui_tests): New proc.
2798 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2800 2015-05-19 Pedro Alves <palves@redhat.com>
2802 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2803 Save the whole env array instead of just HOME. Unset HISTSIZE in
2804 the environment while testing. Restore whole environment
2807 2015-05-16 Doug Evans <xdje42@gmail.com>
2809 * gdb.guile/scm-ports.c: New file.
2810 * gdb.guile/scm-ports.exp: Add memory port tests.
2812 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2814 * gdb.compile/compile-print.c: New file.
2815 * gdb.compile/compile-print.exp: New file.
2817 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2819 * gdb.compile/compile-ops.exp: Cast param to void.
2820 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2821 (compile code struct_object.selffield = &struct_object): Add xfail.
2823 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2825 * gdb.ada/arr_enum_with_gap: New testcase.
2827 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2829 * gdb.ada/byte_packed_arr: New testcase.
2831 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2833 * gdb.ada/pckd_neg: New testcase.
2835 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2838 * gdb.base/gdbinit-history.exp: New test.
2839 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2840 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2842 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2844 * gdb.python/py-xmethods.cc: Enhance test case.
2845 * gdb.python/py-xmethods.exp: New tests.
2846 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2848 (B_indexoper): Likewise.
2849 (global_dm_list) : Add new xmethod worker functions.
2851 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2853 * gdb.base/coredump-filter.exp: Correctly unset
2854 "coredump_var_addr" array.
2856 2015-05-08 Pedro Alves <palves@redhat.com>
2858 * gdb.server/non-existing-program.exp: Unset spawn_id.
2860 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2863 * gdb.python/py-xmethods.exp: Add tests.
2865 2015-05-08 Yao Qi <yao.qi@linaro.org>
2868 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2869 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2870 function set_coredump_filter, and remove remote_exec call.
2871 Remove argument ipid. Callers update.
2872 (top level): Don't get inferior's PID.
2874 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2876 * gdb.base/watch_thread_num.exp: Skip test on targets without
2879 2015-05-06 Pedro Alves <palves@redhat.com>
2882 * gdb.server/non-existing-program.exp: New file.
2884 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2886 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2888 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2890 * gdb.ada/out_of_line_in_inlined: New testcase.
2892 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2894 * gdb.ada/var_rec_arr: New testcase.
2896 2015-04-30 Yao Qi <yao.qi@linaro.org>
2898 * gdb.base/break-idempotent.exp: If
2899 skip_hw_watchpoint_multi_tests returns true, skip the tests
2900 on "rwatch" and "awatch".
2902 2015-04-30 Yao Qi <yao.qi@linaro.org>
2904 * gdb.base/relativedebug.exp: Invoke gdb command
2905 "info sharedlibrary", and if libc.so doesn't have debug info,
2908 2015-04-29 Doug Evans <dje@google.com>
2910 * gdb.python/py-xmethods.exp: Add ptype tests.
2911 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2912 get_result_type method.
2914 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2916 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2917 the target does not support hardware watchpoints.
2919 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2921 * gdb.base/break-always.exp: Abort testing if writing to memory
2924 2015-04-28 Doug Evans <dje@google.com>
2926 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2927 * gdb.python/py-pp-registration.exp: ... here. New file.
2928 * gdb.python/py-pp-registration.c: New file.
2929 * gdb.python/py-pp-registration.py: New file.
2931 2015-04-28 Doug Evans <dje@google.com>
2933 * gdb.python/py-bad-printers.c: New file.
2934 * gdb.python/py-bad-printers.py: New file.
2935 * gdb.python/py-bad-printers.exp: New file.
2937 2015-04-28 Sasha Smundak <asmundak@google.com>
2939 * gdb.python/py-type.exp: New test.
2941 2015-04-28 Andy Wingo <wingo@igalia.com>
2943 * gdb.python/py-parameter.exp:
2944 * gdb.guile/scm-parameter.exp: Escape the path that we are
2945 matching against, as it might contain characters that are special
2946 to regular expressions.
2948 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2950 * gdb.ada/rec_comp: New testcase.
2952 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2954 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2957 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2959 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2960 new tests for verilog output.
2962 2015-04-24 Yao Qi <yao.qi@linaro.org>
2964 * boards/remote-gdbserver-on-localhost.exp: New file.
2966 2015-04-23 Pedro Alves <palves@redhat.com>
2968 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2969 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2970 "end of file", remove $inferior_spawn_id from the indirect list.
2972 2015-04-23 Pedro Alves <palves@redhat.com>
2974 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2976 2015-04-23 Pedro Alves <palves@redhat.com>
2978 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2979 on $any_spawn_id instead of only on $gdb_spawn_id.
2981 2015-04-21 Pierre Muller <muller@sourceware.org>
2984 * lib/pascal.exp (gpc_compile): Add new option "class".
2985 (fpc_compile): Likewise.
2986 * gdb.pascal/case-insensitive-symbols.pas: New file.
2987 * gdb.pascal/case-insensitive-symbols.exp: New file.
2989 2015-04-20 Gary Benson <gbenson@redhat.com>
2991 * gdb.base/attach.exp: Fix three extended remote failures.
2993 2015-04-17 Gary Benson <gbenson@redhat.com>
2995 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2996 the main executable over the remote protocol.
2998 2015-04-16 Pedro Alves <palves@redhat.com>
3000 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3001 a new gdbserver if gdbserver_reconnect_p is set.
3003 2015-04-16 Pedro Alves <palves@redhat.com>
3005 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3006 is set, don't exit gdbserver.
3008 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3010 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3011 appropriate .insn, such that an older assembler can be used.
3012 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3013 the z/Architecture instruction set on 31-bit targets as well.
3015 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3017 * gdb.go/handcall.exp: Remove all logic related to the first
3018 breakpoint and rely on go_runto_main instead.
3019 * gdb.go/strings.exp: Likewise.
3020 * gdb.go/unsafe.exp: Likewise.
3021 * gdb.go/hello.exp: Likewise. Also rename the remaining
3022 breakpoint marker to "breakpoint 1".
3023 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3024 * gdb.go/strings.go: Likewise.
3025 * gdb.go/unsafe.go: Likewise.
3026 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3027 "set breakpoint 2 here" and rename the remaining breakpoint marker
3030 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3032 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3033 if itertools.imap is not present.
3034 * gdb.python/py-objfile.exp: Add parentheses.
3035 * gdb.python/py-type.exp: Same.
3036 * gdb.python/py-unwind-maint.py: Same.
3038 2015-04-15 Yao Qi <yao.qi@linaro.org>
3040 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3041 of ":$ptr_size" and set its form explicitly.
3043 2015-04-15 Pedro Alves <palves@redhat.com>
3044 Yao Qi <yao.qi@linaro.org>
3046 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3047 timeout by factor of 4.
3048 (test_regular_watch): Likewise.
3049 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3050 * gdb.reverse/sigall-reverse.exp: Likewise.
3051 * gdb.reverse/until-precsave.exp: Likewise.
3052 * lib/gdb.exp (with_timeout_factor): New proc.
3053 (gdb_expect): Move some code to ...
3054 (get_largest_timeout): ... here. New procedure.
3056 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3058 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3060 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3062 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3063 to write to the .text section.
3065 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3067 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3068 Handle the case of targets that do not provide PID information.
3070 2015-04-13 Yao Qi <yao.qi@linaro.org>
3072 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3073 and use expect instead of gdb_expect.
3075 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3077 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3078 "coredump_var_addr" to avoid naming conflict with other testcases.
3080 2015-04-10 Pedro Alves <palves@redhat.com>
3082 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3083 gdb_test_sequence and gdb_assert.
3085 2015-04-10 Pedro Alves <palves@redhat.com>
3087 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3088 test messages that don't include the breakpoint address.
3090 2015-04-10 Yao Qi <yao.qi@linaro.org>
3092 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3093 false for some offset and width combinations which aren't
3094 supported by linux kernel.
3096 2015-04-10 Pedro Alves <palves@redhat.com>
3098 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3099 procedure, factored out from ...
3100 (top level): ... here. Add "set displaced-stepping" testing axis.
3101 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3102 parameter "displaced". Use it.
3103 (top level): Use foreach and add "set displaced-stepping" testing
3106 2015-04-10 Pedro Alves <palves@redhat.com>
3108 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3110 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3111 both the address of the instruction that triggers the watchpoint
3112 and the address of the instruction immediately after, and use
3113 those addresses for the test. Fix comment.
3115 2015-04-10 Pedro Alves <palves@redhat.com>
3117 * gdb.base/sigstep.exp (breakpoint_to_handler)
3118 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3119 Test "backtrace" in handler.
3120 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3121 (top level): Add new "displaced" test axis to
3122 breakpoint_to_handler, breakpoint_to_handler_entry and
3123 breakpoint_over_handler.
3125 2015-04-10 Pedro Alves <palves@redhat.com>
3128 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3130 2015-04-10 Yao Qi <yao.qi@linaro.org>
3132 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3133 (test_add_rn_pc): New function.
3134 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3135 (top level): Invoke test_add_rn_pc.
3137 2015-04-10 Pedro Alves <palves@redhat.com>
3140 * gdb.base/step-over-no-symbols.exp: New file.
3142 2015-04-09 Andy Wingo <wingo@igalia.com>
3144 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3145 after the Python tests.
3147 2015-04-08 Keith Seitz <keiths@redhat.com>
3150 * gdb.python/py-completion.exp: New tests for completion.
3151 * gdb.python/py-completion.py (CompleteLimit1): New class.
3152 (CompleteLimit2): Likewise.
3153 (CompleteLimit3): Likewise.
3154 (CompleteLimit4): Likewise.
3155 (CompleteLimit5): Likewise.
3156 (CompleteLimit6): Likewise.
3157 (CompleteLimit7): Likewise.
3159 2015-04-08 Pedro Alves <palves@redhat.com>
3163 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3165 (main): Install it as SIGUSR1 handler.
3166 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3167 parameter. Always use "setup" as prefix. Toggle "set
3168 displaced-stepping" off/on depending on global. Don't switch to
3170 (top level): Add displaced stepping "off/on" test axis. Update
3171 "setup" calls. Wrap each subtest with with_test_prefix. Test
3172 continuing with a queued signal in each thread.
3174 2015-04-08 Pedro Alves <palves@redhat.com>
3176 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3177 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3178 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3179 Return early if running to main fails.
3180 * gdb.trace/while-stepping.exp: Likewise.
3182 2015-04-07 Pedro Alves <palves@redhat.com>
3184 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3185 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3186 interact with inferior program.
3188 2015-04-07 Pedro Alves <palves@redhat.com>
3190 * lib/gdb.exp (inferior_spawn_id): New global.
3191 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3192 spawn id after processing the user code.
3193 (default_gdb_start): Set inferior_spawn_id.
3194 (send_inferior): New procedure.
3195 * lib/gdbserver-support.exp (gdbserver_start): Set
3197 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3199 2015-04-07 Pedro Alves <palves@redhat.com>
3201 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3202 * lib/gdbserver-support.exp (gdbserver_start): Make
3203 $server_spawn_id global.
3204 (gdbserver_start): Don't wait for gdbserver's spawn id with
3206 (close_gdbserver): New procedure.
3207 (gdb_exit): Rename the default version and reimplement.
3209 2015-04-07 Pedro Alves <palves@redhat.com>
3211 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3212 append the substituted item, not the original item.
3214 2015-04-07 Pedro Alves <palves@redhat.com>
3216 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3219 2015-04-07 Pedro Alves <palves@redhat.com>
3221 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3222 output appearing once only.
3224 2015-04-07 Pedro Alves <palves@redhat.com>
3226 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3227 that doesn't expect anything. Return early if running to main
3230 2015-04-07 Yao Qi <yao.qi@linaro.org>
3232 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3233 (child_function): Call alarm.
3234 (main): Move call to alarm into the loop.
3235 * gdb.threads/non-stop-fair-events.exp: Build program with
3238 2015-04-06 Doug Evans <xdje42@gmail.com>
3240 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3241 Fix dest parameter to board_info.
3242 (fpc_compile): Ditto.
3243 (gdb_compile_pascal): Rename dest arg to destfile.
3245 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3247 * gdb.ada/funcall_ref.exp: New file.
3248 * gdb.ada/funcall_ref/foo.adb: New file.
3250 2015-04-02 Yao Qi <yao.qi@linaro.org>
3252 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3255 2015-04-02 Gary Benson <gbenson@redhat.com>
3257 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3259 2015-04-01 Sasha Smundak <asmundak@google.com>
3261 * gdb.python/py-unwind-maint.c: New file.
3262 * gdb.python/py-unwind-maint.exp: New test.
3263 * gdb.python/py-unwind-maint.py: New file.
3264 * gdb.python/py-unwind.c: New file.
3265 * gdb.python/py-unwind.exp: New test.
3266 * gdb.python/py-unwind.py: New test.
3268 2015-04-01 Pedro Alves <palves@redhat.com>
3270 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3271 to fail instead of non-existent $test.
3273 2015-04-01 Pedro Alves <palves@redhat.com>
3275 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3276 GDBFLAGS if not empty.
3278 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3280 * gdb.ada/complete.exp: Remove "multi_line".
3281 * gdb.ada/info_exc.exp: Remove "multi_line".
3282 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3283 * gdb.ada/ptype_field.exp: Remove "multi_line".
3284 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3285 * gdb.ada/tagged.exp: Remove "multi_line".
3286 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3288 * gdb.btrace/delta.exp: Likewise.
3289 * gdb.btrace/exception.exp: Likewise.
3290 * gdb.btrace/function_call_history.exp: Likewise.
3291 * gdb.btrace/instruction_history.exp: Likewise.
3292 * gdb.btrace/nohist.exp: Likewise.
3293 * gdb.btrace/record_goto.exp: Likewise.
3294 * gdb.btrace/segv.exp: Likewise.
3295 * gdb.btrace/stepi.exp: Likewise.
3296 * gdb.btrace/tailcall.exp: Likewise.
3297 * gdb.btrace/unknown_functions.exp: Likewise.
3298 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3299 * lib/gdb.exp: Add the "multi_line" helper.
3301 2015-04-01 Pedro Alves <palves@redhat.com>
3303 * gdb.threads/tid-reuse.c: New file.
3304 * gdb.threads/tid-reuse.exp: New file.
3306 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3309 * gdb.base/coredump-filter.c: New file.
3310 * gdb.base/coredump-filter.exp: Likewise.
3312 2015-03-27 Petr Machata <pmachata@redhat.com>
3314 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3315 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3316 (Dwarf::assemble): Initialize them.
3317 (Dwarf::lines): New function.
3319 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3321 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3322 SYMBOL_PREFIX for x86_64-*-cygwin.
3324 2015-03-26 Andy Wingo <wingo@igalia.com>
3327 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3328 const_value but not a location.
3329 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3330 location defined in non-main CUs are visible.
3332 2015-03-26 Yao Qi <yao.qi@linaro.org>
3335 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3336 Add a line number entry for the same line.
3337 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3338 Add a line number entry for the same line.
3340 2015-03-26 Yao Qi <yao.qi@linaro.org>
3342 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3344 (func): Likewise. Add .Lfunc_1 label.
3346 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3351 2015-03-26 Yao Qi <yao.qi@linaro.org>
3353 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3354 Call gdb_compile instead to compile each .s files without debug
3357 2015-03-26 Yao Qi <yao.qi@linaro.org>
3359 * gdb.base/savedregs.exp (process_saved_regs): Make
3360 "Saved registers:" optional in the pattern.
3362 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3364 * gdb.btrace/next.exp: Merged into step.exp.
3365 * gdb.btrace/finish.exp: Merged into step.exp.
3366 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3367 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3368 "record goto" and checking the exact replay position.
3369 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3370 check for "Recording format" in "info record" output.
3371 * gdb.btrace/record_goto.exp: Choose test file based on target.
3372 * gdb.btrace/x86-record_goto.S: Renamed into ...
3373 * gdb.btrace/x86_64-record_goto.S: ... this.
3374 * gdb.btrace/i686-record_goto.S: New.
3375 * gdb.btrace/x86-tailcall.S: Renamed into ...
3376 * gdb.btrace/x86_64-tailcall.S: ... this.
3377 * gdb.btrace/i686-tailcall.S: New.
3378 * gdb.btrace/x86-tailcall.c: Renamed into ...
3379 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3380 separate statements. Update test.
3381 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3382 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3383 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3384 * gdb.btrace/tailcall.exp: Choose test file based on target.
3385 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3387 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3389 * gdb.btrace/exception.exp: Increase BTS buffer size.
3391 2015-03-24 Pedro Alves <palves@redhat.com>
3393 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3395 2015-03-24 Pedro Alves <palves@redhat.com>
3397 * gdb.threads/schedlock.exp (test_step): No longer expect that
3398 "set scheduler-locking step" with "next" over a function call runs
3401 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3403 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3405 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3407 PR breakpoints/16466
3408 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3409 * gdb.mi/mi-pending.c (thread_func): New function.
3410 (int main): Add threading support required.
3411 * gdb.mi/mi-pending.exp: Add tests for this issue.
3412 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3413 (pendfunc2): Remove stdio dependency.
3414 * gdb.mi/mi-pendshr2.c: New file.
3416 2015-03-23 Keith Seitz <keiths@redhat.com>
3418 * gdb.linespec/keywords.c: New file.
3419 * gdb.linespec/keywords.exp: New file.
3421 2015-03-23 Keith Seitz <keiths@redhat.com>
3424 * gdb.dwarf2/staticvirtual.exp: New test.
3426 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3428 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3429 * README: Remove HP-UX and gdb.hp.
3431 * configure: Regenerate.
3432 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3433 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3434 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3435 gdb.hp/gdb.defects/Makefile.
3436 * gdb.hp/Makefile.in: File deleted.
3437 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3438 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3439 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3440 * gdb.hp/gdb.aCC/run.c: File deleted.
3441 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3442 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3443 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3444 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3445 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3446 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3447 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3448 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3449 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3450 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3451 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3452 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3453 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3454 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3455 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3456 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3457 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3458 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3459 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3460 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3461 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3462 * gdb.hp/gdb.compat/average.c: File deleted.
3463 * gdb.hp/gdb.compat/sum.c: File deleted.
3464 * gdb.hp/gdb.compat/xdb.c: File deleted.
3465 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3466 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3467 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3468 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3469 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3470 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3471 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3472 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3473 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3474 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3475 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3476 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3477 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3478 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3479 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3480 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3481 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3482 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3483 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3484 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3485 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3486 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3487 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3488 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3489 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3490 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3491 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3492 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3493 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3494 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3495 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3496 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3497 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3498 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3499 * gdb.hp/tools/odump: File deleted.
3501 2015-03-19 Pedro Alves <palves@redhat.com>
3503 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3504 (saw_thread_3): New globals.
3505 (top level): Increment them when an event for the corresponding
3507 (no thread starvation): New test.
3509 2015-03-19 Pedro Alves <palves@redhat.com>
3511 * gdb.threads/continue-pending-status.c: New file.
3512 * gdb.threads/continue-pending-status.exp: New file.
3514 2015-03-18 Pedro Alves <palves@redhat.com>
3516 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3517 Use gdb_is_target_remote instead of is_remote. Use
3518 gdb_test_multiple instead of gdb_expect. Exit early if
3519 gdb_test_multiple hits its internal matches. Tighten stepi tests
3520 expected output. Fail on exit with any signal, instead of just
3523 2015-03-18 Yao Qi <yao.qi@linaro.org>
3526 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3528 * gdb.base/catch-syscall.exp: Don't skip it on
3529 aarch64*-*-linux* target. Remove elements in all_syscalls.
3530 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3532 (setup_all_syscalls): New proc.
3534 2015-03-16 Yao Qi <yao.qi@linaro.org>
3536 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3537 (top level): Skip tests if valid_addr_p returns false for
3540 2015-03-11 Andy Wingo <wingo@igalia.com>
3542 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3544 2015-03-11 Yao Qi <yao.qi@linaro.org>
3546 * gdb.base/catch-syscall.exp: Fix typo in comments.
3548 2015-03-11 Yao Qi <yao.qi@linaro.org>
3550 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3552 2015-03-09 Pedro Alves <palves@redhat.com>
3554 * dg-extract-results.py: Delete.
3556 2015-03-09 Pedro Alves <palves@redhat.com>
3558 Merge dg-extract-results.sh from GCC upstream (r218843).
3560 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3561 * dg-extract-results.sh: Use --text with grep to avoid issues with
3562 binary files. Fall back to cat -v, if that doesn't work.
3564 2015-03-05 Pedro Alves <palves@redhat.com>
3566 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3568 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3570 * lib/mi-support.exp (mi_expect_interrupt): Accept
3571 alternative event for when in all-stop mode.
3573 2015-03-04 Pedro Alves <palves@redhat.com>
3575 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3577 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3579 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3581 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3583 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3584 regexps for GDB's current line display, accept a hex address
3585 preceding the line number.
3587 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3589 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3590 the 'arch1' variable for "s390*-linux*" targets.
3592 2015-03-04 Pedro Alves <palves@redhat.com>
3594 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3595 (main): Pass missing retval argument to pthread_join call.
3597 2015-03-02 Pedro Alves <palves@redhat.com>
3599 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3600 (top level): Call do_test with non-stop as well.
3602 2015-03-02 Pedro Alves <palves@redhat.com>
3604 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3607 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3609 * gdb.arch/s390-vregs.exp: New test.
3610 * gdb.arch/s390-vregs.S: New file.
3612 2015-02-27 Pedro Alves <palves@redhat.com>
3614 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3615 call to catch_command_errors.
3616 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3617 catch_command_errors.
3619 2015-02-27 Pedro Alves <palves@redhat.com>
3621 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3622 "true" for boolean result.
3623 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3626 2015-02-27 Pedro Alves <palves@redhat.com>
3628 * lib/unbuffer_output.c: New file.
3629 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3630 (main): Call gdb_unbuffer_output.
3632 2015-02-27 Yao Qi <yao.qi@linaro.org>
3634 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3637 2015-02-26 Doug Evans <dje@google.com>
3639 * gdb.cp/class2.cc (Dbase, D): New classes.
3640 (main): New local delta.
3641 * gdb.cp/class2.exp: Test printing delta.
3642 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3643 (dynbar): New global.
3644 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3646 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3648 * gdb.compile/compile-ifunc.c: New file.
3649 * gdb.compile/compile-ifunc.exp: New file.
3651 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3653 * gdb.base/structs.exp: Check for correct struct on finish.
3655 2015-02-26 Yao Qi <yao.qi@linaro.org>
3657 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3660 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3662 * gdb.arch/cordic.ko.bz2: New file.
3663 * gdb.arch/cordic.ko.debug.bz2: New file.
3664 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3666 2015-02-25 Yao Qi <yao.qi@linaro.org>
3668 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3669 aarch64*-*-* target.
3671 2015-02-23 Pedro Alves <palves@redhat.com>
3673 * lib/gdb.exp (delete_breakpoints): Rewrite using
3676 2015-02-23 Pedro Alves <palves@redhat.com>
3678 * gdb.base/info-os.c: Include stdlib.h.
3680 2015-02-22 Doug Evans <xdje42@gmail.com>
3683 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3684 is read after symbols have been re-read.
3685 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3686 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3688 2015-02-21 Doug Evans <dje@google.com>
3690 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3692 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3695 * gdb.arch/i386-biarch-core.core.bz2: New file.
3696 * gdb.arch/i386-biarch-core.exp: New file.
3698 2015-02-21 Pedro Alves <palves@redhat.com>
3700 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3703 2015-02-20 Pedro Alves <palves@redhat.com>
3705 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3708 2015-02-20 Pedro Alves <palves@redhat.com>
3710 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3712 2015-02-20 Pedro Alves <palves@redhat.com>
3714 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3715 clean_restart before gdb_target_supports_trace.
3717 2015-02-20 Pedro Alves <palves@redhat.com>
3720 * gdb.threads/clone-thread_db.c: New file.
3721 * gdb.threads/clone-thread_db.exp: New file.
3723 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3725 PR breakpoints/16812
3726 * gdb.base/catch-gdb-caused-signals.c: New file.
3727 * gdb.base/catch-gdb-caused-signals.exp: New file.
3729 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3731 * configure: Regenerated.
3732 * configure.ac: Use GDB_AC_TRANSFORM.
3733 * aclocal.m4: sinclude ../transform.m4.
3735 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3737 * lib/dtrace.exp: New file.
3738 * gdb.base/dtrace-probe.exp: Likewise.
3739 * gdb.base/dtrace-probe.d: Likewise.
3740 * gdb.base/dtrace-probe.c: Likewise.
3741 * lib/pdtrace.in: Likewise.
3742 * configure.ac: Output variables with the transformed names of
3743 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3744 * configure: Regenerated.
3746 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3748 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3749 expected message when trying to access $_probe_* convenience
3750 variables while not on a probe.
3752 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3754 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3756 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3758 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3759 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3761 2015-02-10 Doug Evans <xdje42@gmail.com>
3763 * lib/gdb.exp (gdb_load): Always return a result.
3765 2015-02-10 Pedro Alves <palves@redhat.com>
3767 * gdb.threads/signal-sigtrap.c: New file.
3768 * gdb.threads/signal-sigtrap.exp: New file.
3770 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3772 * gdb.trace/no-attach-trace.c: New file.
3773 * gdb.trace/no-attach-trace.exp: New file.
3775 2015-02-09 Mark Wielaard <mjw@redhat.com>
3777 * gdb.dwarf2/atomic.c: New file.
3778 * gdb.dwarf2/atomic-type.exp: Likewise.
3780 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3782 * gdb.btrace/buffer-size.exp: Update "info record" output.
3783 * gdb.btrace/delta.exp: Update "info record" output.
3784 * gdb.btrace/enable.exp: Update "info record" output.
3785 * gdb.btrace/finish.exp: Update "info record" output.
3786 * gdb.btrace/instruction_history.exp: Update "info record" output.
3787 * gdb.btrace/next.exp: Update "info record" output.
3788 * gdb.btrace/nexti.exp: Update "info record" output.
3789 * gdb.btrace/step.exp: Update "info record" output.
3790 * gdb.btrace/stepi.exp: Update "info record" output.
3791 * gdb.btrace/nohist.exp: Update "info record" output.
3793 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3795 * gdb.btrace/buffer-size: New.
3797 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3799 * gdb.btrace/delta.exp: Update "info record" output.
3800 * gdb.btrace/enable.exp: Update "info record" output.
3801 * gdb.btrace/finish.exp: Update "info record" output.
3802 * gdb.btrace/instruction_history.exp: Update "info record" output.
3803 * gdb.btrace/next.exp: Update "info record" output.
3804 * gdb.btrace/nexti.exp: Update "info record" output.
3805 * gdb.btrace/step.exp: Update "info record" output.
3806 * gdb.btrace/stepi.exp: Update "info record" output.
3807 * gdb.btrace/nohist.exp: Update "info record" output.
3809 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3812 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3814 2015-02-06 Pedro Alves <palves@redhat.com>
3816 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3818 (seconds_left, again): New globals.
3819 (main): Wait seconds_left in a 1-second sleep loop instead of
3820 sleeping 180 seconds. If 'again' is set, reset the seconds
3822 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3823 'again' in the inferior before detaching. Print the seconds left.
3824 (options): New global.
3825 (top level): Build program with -DTIMEOUT=$timeout.
3827 2015-02-06 Pedro Alves <palves@redhat.com>
3829 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3830 determine how many seconds to pass to 'alarm'.
3831 * gdb.base/gdb-sigterm.exp (top level): Build program with
3833 (do_test): Return success/failure indication. Add more verbose
3834 logging. Don't fail if 200 single steps are seen. Instead, fail
3835 when the test times out.
3836 (passes): New global.
3837 (top level): Break the testing loop if testing fails on any
3838 iteration. Use gdb_assert.
3840 2015-02-04 Don Breazeal <donb@codesourcery.com>
3842 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3843 and initialize them.
3844 (ipc_cleanup): New function.
3845 (main): Don't declare shmid, semid, and msqid. Add a call to
3846 atexit so that we call ipc_cleanup on exit.
3848 2015-02-04 Pedro Alves <palves@redhat.com>
3850 * boards/native-extended-gdbserver.exp: Remove any target variant
3851 specifications from the board name before clearing the isremote
3852 flag from board_info.
3854 2015-01-31 Doug Evans <xdje42@gmail.com>
3856 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3858 2015-01-31 Gary Benson <gbenson@redhat.com>
3860 * gdb.base/completion.exp: Disable completion limiting for
3861 existing tests. Add new tests to check completion limiting.
3862 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3864 2015-01-31 Doug Evans <xdje42@gmail.com>
3866 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3868 2015-01-31 Doug Evans <xdje42@gmail.com>
3870 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3871 entries. Duplicate file section script entries.
3872 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3873 inlined entries. Add test for safe-path rejection.
3874 * gdb.python/py-section-script.c: Add duplicate inlined section script
3875 entries. Duplicate file section script entries.
3876 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3877 inlined entries. Add test for safe-path rejection.
3879 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3881 * gdb.ada/disc_arr_bound: New testcase.
3883 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3885 * gdb.ada/mi_var_array: New testcase.
3887 2015-01-27 Doug Evans <dje@google.com>
3889 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3890 Add test for objfile.filename, objfile.username after objfile
3893 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3895 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3896 the second test to print the name attribute of value
3897 returned by the call to gdb.lookup_type, and adjust
3898 the expected output accordingly.
3900 2015-01-25 Mark Wielaard <mjw@redhat.com>
3902 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3903 * gdb.base/disp-step-fork.c: Include unistd.h.
3904 * gdb.base/siginfo-obj.c: Include stdio.h.
3905 * gdb.base/siginfo-thread.c: Likewise.
3906 * gdb.mi/non-stop.c: Include unistd.h.
3907 * gdb.mi/nsthrexec.c: Include stdio.h.
3908 * gdb.mi/pthreads.c: Include unistd.h.
3909 * gdb.modula2/unbounded1.c (main): Declare returns int.
3910 * gdb.reverse/consecutive-reverse.c: Likewise.
3911 * gdb.threads/create-fail.c: Include unistd.h.
3912 * gdb.threads/killed.c: Likewise.
3913 * gdb.threads/linux-dp.c: Likewise.
3914 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3915 * gdb.threads/non-ldr-exc-2.c: Likewise.
3916 * gdb.threads/non-ldr-exc-3.c: Likewise.
3917 * gdb.threads/non-ldr-exc-4.c: Likewise.
3918 * gdb.threads/pthreads.c: Include unistd.h.
3919 (main): Declare returns int.
3920 * gdb.threads/tls-main.c (foo): New declaration.
3921 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3923 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3925 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3926 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3928 2015-01-15 Mark Wielaard <mjw@redhat.com>
3930 * gdb.base/noreturn-return.c: New file.
3931 * gdb.base/noreturn-return.exp: New file.
3932 * gdb.base/noreturn-finish.c: New file.
3933 * gdb.base/noreturn-finish.exp: New file.
3935 2015-01-23 Pedro Alves <palves@redhat.com>
3937 * gdb.threads/continue-pending-after-query.c: New file.
3938 * gdb.threads/continue-pending-after-query.exp: New file.
3940 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3941 Simon Marchi <simon.marchi@ericsson.com>
3943 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3944 * gdb.base/valgrind-db-attach.exp: Same.
3945 * gdb.base/valgrind-infcall.exp: Same.
3946 * lib/mi-support.exp (default_mi_gdb_start): Same.
3947 * lib/prompt.exp (default_prompt_gdb_start): Same.
3948 * lib/gdb.exp (default_gdb_spawn): Same.
3949 (gdb_interact): New.
3952 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3954 * gdb.compile/compile.exp (pointer to jit function): New test.
3956 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3958 * lib/gdb.exp (supports_process_record): Return true for
3960 (supports_reverse): Likewise.
3962 2015-01-15 Don Breazeal <donb@codesourcery.com>
3964 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3965 instead of checking whether the target board is remote and
3966 use spawn_wait_for_attach instead of exec/sleep.
3967 * gdb.base/attach-twice.exp: Likewise.
3969 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3971 * gdb.ada/var_arr_attrs: New testcase.
3973 2015-01-14 Pedro Alves <palves@redhat.com>
3974 Joel Brobecker <brobecker@adacore.com>
3977 * gdb.base/bp-cmds-execution-x-script.c: New file.
3978 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3979 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3981 2015-01-14 Pedro Alves <palves@redhat.com>
3984 * gdb.base/batch-preserve-term-settings.c: New file.
3985 * gdb.base/batch-preserve-term-settings.exp: New file.
3987 2015-01-13 Doug Evans <dje@google.com>
3989 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3992 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3994 * Makefile.in (clean mostlyclean): Do not delete *.py.
3996 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3998 * gdb.python/py-lookup-type.exp: New file.
4000 2015-01-12 Pedro Alves <palves@redhat.com>
4002 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4003 restore GDBFLAGS before returning.
4005 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4007 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4008 is_amd64_regs_target and is_x86_like_target.
4010 2015-01-11 Doug Evans <xdje42@gmail.com>
4012 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4013 is given without an explicit form.
4014 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4016 * gdb.dwarf/corrupt.exp: Ditto.
4017 * gdb.dwarf2/enum-type.exp: Ditto.
4018 * gdb.trace/entry-values.exp: Ditto.
4019 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4021 2015-01-11 Doug Evans <xdje42@gmail.com>
4024 * gdb.base/maint.exp: Remove references to "maint demangle".
4025 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4026 Add tests for explicitly specifying language to demangle.
4027 * gdb.dlang/demangle.exp: Ditto.
4029 2015-01-09 Pedro Alves <palves@redhat.com>
4031 * gdb.threads/non-stop-fair-events.c: New file.
4032 * gdb.threads/non-stop-fair-events.exp: New file.
4034 2015-01-09 Pedro Alves <palves@redhat.com>
4036 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4037 the global scope. Set a breakpoint after all threads are started
4038 rather than stepping over two source lines. Expect the prompt.
4039 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4042 (main): Use threads_started_barrier to wait for all threads to
4043 start. Main thread no longer calls thread_function. Exit after
4045 (loop): New function.
4046 (thread_function): Wait on threads_started_barrier barrier. Call
4047 'loop' at each iteration.
4048 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4049 threads have started, instead of hardcoding number of "next"
4050 steps. Use an access watchpoint instead of a write watchpoint.
4052 2015-01-09 Pedro Alves <palves@redhat.com>
4054 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4055 (thread_func): Wait on barrier.
4056 (main): Wait for all threads to start before stopping GDB.
4057 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4059 (thread1_func, thread2_func): Wait on barrier.
4060 (main): Wait for all threads to start before stopping GDB.
4061 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4063 (thread1_func, thread2_func): Wait on barrier.
4064 (main): Wait for all threads to start before stopping GDB.
4066 2015-01-09 Pedro Alves <palves@redhat.com>
4068 * gdb.threads/attach-many-short-lived-threads.c: New file.
4069 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4071 2014-01-09 Pedro Alves <palves@redhat.com>
4073 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4074 instead of to thread 2.
4075 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4076 Add barrier around each pthread_create call instead of around all
4078 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4079 Set a break on thread_function and have the child threads hit it
4082 2015-01-09 Pedro Alves <palves@redhat.com>
4084 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4085 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4087 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4088 checking whether the target board is remote.
4089 * gdb.multi/multi-attach.exp: Likewise.
4090 * gdb.python/py-sync-interp.exp: Likewise.
4091 * gdb.server/ext-attach.exp: Likewise.
4092 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4093 tests that need to attach, instead of checking whether the target
4094 board is remote at the top of the file.
4096 2015-01-08 Yao Qi <yao@codesourcery.com>
4098 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4100 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4102 Fix testcase compilation.
4103 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4105 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4107 * gdb.python/py-type.exp: Add a couple test about empty
4108 array creation, and negative-length array creation.
4110 2015-01-02 Doug Evans <xdje42@gmail.com>
4112 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4114 2015-01-02 Doug Evans <dje@google.com>
4116 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4118 2014-12-29 Yao Qi <yao@codesourcery.com>
4120 * gdb.trace/entry-values.exp: Update comments. Rename variable
4121 bar_call_foo to returned_from_foo.
4123 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4126 * gdb.linespec/break-asm-file.c: New file.
4127 * gdb.linespec/break-asm-file.exp: New file.
4128 * gdb.linespec/break-asm-file0.s: New file.
4129 * gdb.linespec/break-asm-file1.s: New file.
4131 2014-12-18 Nigel Stephens <nigel@mips.com>
4132 Maciej W. Rozycki <macro@codesourcery.com>
4134 * gdb.base/float.exp: Handle the new output from "info float" on
4137 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4139 Fix MinGW compilation.
4140 * gdb.compile/compile-ops.exp: Update untested message if
4141 !skip_compile_feature_tests.
4142 * gdb.compile/compile-setjmp.exp: Likewise.
4143 * gdb.compile/compile-tls.exp: Likewise.
4144 * gdb.compile/compile.exp: Likewise.
4145 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4146 supported on this host".
4148 2014-12-16 Doug Evans <xdje42@gmail.com>
4150 * boards/stabs.exp: New file.
4152 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4154 * gdb.base/completion.exp: Adjust to format changes of "maint
4155 print user-registers".
4157 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4160 * gdb.arch/aarch64-fp.c: New file.
4161 * gdb.arch/aarch64-fp.exp: New file.
4163 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4165 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4166 r210637, r210913, r211666, r215400, r215817).
4168 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4169 * dg-extract-results.py: New file.
4170 * dg-extract-results.sh: Use it if the environment seems
4173 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4175 * dg-extract-results.py (parse_run): Handle warnings that
4176 are printed before a test harness is run.
4178 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4180 * dg-extract-results.py (Named): Remove __cmp__ method.
4181 (output_variation): Use a key to sort variation.harnesses.
4183 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4185 * dg-extract-results.py: For Python 3, force sys.stdout to
4186 handle surrogate escape sequences.
4187 (safe_open): New function.
4188 (output_segment, main): Use it.
4190 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4192 * dg-extract-results.py (Prog.result_re): Include options
4195 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4197 * dg-extract-results.py (output_variation): Always sort if
4200 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4202 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4203 as long as we get pagination notifications.
4205 2014-12-15 Jason Merrill <jason@redhat.com>
4207 * Makefile.in (check-gdb.%): Restore.
4208 * README: Mention it.
4210 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4212 * gdb.ada/str_uninit: New testcase.
4214 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4217 * gdb.base/vla-stub-define.c: New file.
4218 * gdb.base/vla-stub.c: New file.
4219 * gdb.base/vla-stub.exp: New file.
4221 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4222 Jan Kratochvil <jan.kratochvil@redhat.com>
4223 Tom Tromey <tromey@redhat.com>
4225 * configure.ac: Add gdb.compile/.
4226 * configure: Regenerate.
4227 * gdb.compile/Makefile.in: New file.
4228 * gdb.compile/compile-ops.exp: New file.
4229 * gdb.compile/compile-ops.c: New file.
4230 * gdb.compile/compile-tls.c: New file.
4231 * gdb.compile/compile-tls.exp: New file.
4232 * gdb.compile/compile-constvar.S: New file.
4233 * gdb.compile/compile-constvar.c: New file.
4234 * gdb.compile/compile-mod.c: New file.
4235 * gdb.compile/compile-nodebug.c: New file.
4236 * gdb.compile/compile-setjmp-mod.c: New file.
4237 * gdb.compile/compile-setjmp.c: New file.
4238 * gdb.compile/compile-setjmp.exp: New file.
4239 * gdb.compile/compile-shlib.c: New file.
4240 * gdb.compile/compile.c: New file.
4241 * gdb.compile/compile.exp: New file.
4242 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4244 2014-12-12 Tom Tromey <tromey@redhat.com>
4246 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4247 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4249 2014-12-12 Doug Evans <dje@google.com>
4251 * lib/gdb-python.exp (get_python_valueof): New function.
4252 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4254 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4256 * gdb.base/completion.exp: Add test for completion of "info
4259 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4261 * gdb.base/func-ptrs.c: New file.
4262 * gdb.base/func-ptrs.exp: New file.
4264 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4266 PR breakpoints/17012
4267 * gdb.base/dprintf-detach.c: New file.
4268 * gdb.base/dprintf-detach.exp: New file.
4270 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4272 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4273 * lib/gdb.exp (target_is_gdbserver): New procedure.
4275 2014-12-08 Doug Evans <dje@google.com>
4277 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4279 2014-12-05 Yao Qi <yao@codesourcery.com>
4281 * gdb.guile/scm-error.exp: Remove the third argument to
4282 gdb_remote_download.
4283 * gdb.guile/scm-frame-args.exp: Likewise.
4284 * gdb.guile/scm-section-script.exp: Likewise.
4286 2014-12-05 Yao Qi <yao@codesourcery.com>
4288 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4290 2014-12-04 Doug Evans <dje@google.com>
4292 * gdb.python/py-objfile.exp: Add tests for
4293 objfile.add_separate_debug_file.
4295 2014-12-04 Doug Evans <dje@google.com>
4297 * lib/gdb.exp (get_build_id): New function.
4298 (build_id_debug_filename_get): Rewrite to use it.
4299 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4301 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4303 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4304 `method(long)', not just 0x0.
4305 * gdb.cp/nsalias.exp: Align code labels to 4.
4306 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4307 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4308 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4309 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4310 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4311 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4313 2014-12-02 Doug Evans <dje@google.com>
4316 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4317 * gdb.cp/anon-ns2.cc: ... here. New file.
4318 * gdb.cp/anon-ns.exp: Update.
4320 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4322 * gdb.python/py-events.py (inferior_call_handler): New.
4323 (register_changed_handler, memory_changed_handler): New.
4324 (test_events.invoke): Register new handlers.
4325 * gdb.python/py-events.exp: Add tests for inferior call,
4326 memory_changed and register_changed events.
4328 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4330 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4331 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4332 if the linker doesn't understand this.
4334 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4336 * gdb.python/python.exp: Change expected reply to help().
4338 2014-12-01 Yao Qi <yao@codesourcery.com>
4340 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4341 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4342 * configure: Re-generated.
4344 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4346 * gdb.cp/chained-calls.cc: New file.
4347 * gdb.cp/chained-calls.exp: New file.
4348 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4350 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4352 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4353 * gdb.dwarf2/symtab-producer.exp: Same.
4354 * gdb.gdb/python-interrupts.exp: Same.
4355 * gdb.gdb/python-selftest.exp: Same.
4356 * gdb.python/py-linetable.exp: Same.
4357 * gdb.python/py-type.exp: Same.
4358 * gdb.python/py-value-cc.exp: Same.
4359 * gdb.python/py-value.exp: Same.
4361 2014-11-28 Yao Qi <yao@codesourcery.com>
4363 * gdb.base/break-probes.exp: Match library name prefixed with
4366 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4368 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4369 test expected output. Add parentheses for the call to print.
4370 Remove L suffix from integers.
4372 2014-11-26 Doug Evans <dje@google.com>
4374 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4376 2014-11-22 Yao Qi <yao@codesourcery.com>
4378 * gdb.trace/entry-values.c: Remove asms.
4379 (foo): Add foo_label.
4380 (bar): Add bar_label.
4381 * gdb.trace/entry-values.exp: Remove code computing foo's
4382 length and bar's length.
4383 (Dwarf::assemble): Invoke function_range for bar and use
4384 MACRO_AT_func for foo.
4386 2014-11-22 Yao Qi <yao@codesourcery.com>
4388 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4389 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4390 Use .Lgcc43_procstart instead of gcc43.
4392 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4394 * gdb.ada/n_arr_bound: New testcase.
4396 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4398 PR breakpoints/10737
4399 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4400 test_catch_syscall_multi_arch.
4401 (test_catch_syscall_multi_arch): New function.
4403 2014-11-20 Doug Evans <xdje42@gmail.com>
4405 * gdb.base/maint.exp: Update expected output.
4407 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4409 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4410 4-byte instruction on S390.
4412 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4414 * gdb.ada/arr_arr: New testcase.
4416 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4418 * gdb.ada/pkd_arr_elem: New Testcase.
4420 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4422 * gdb.reverse/break-precsave: Expect completion message for
4424 * gdb.reverse/consecutive-precsave.exp: Likewise.
4425 * gdb.reverse/finish-precsave.exp: Likewise.
4426 * gdb.reverse/i386-precsave.exp: Likewise.
4427 * gdb.reverse/machinestate-precsave.exp: Likewise.
4428 * gdb.reverse/sigall-precsave.exp: Likewise.
4429 * gdb.reverse/solib-precsave.exp: Likewise.
4430 * gdb.reverse/step-precsave.exp: Likewise.
4431 * gdb.reverse/until-precsave.exp: Likewise.
4432 * gdb.reverse/watch-precsave.exp: Likewise.
4434 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4436 * gdb.base/bp-permanent.c: Include unistd.h.
4437 * gdb.python/py-framefilter-mi.c (main): Add return type.
4438 * gdb.python/py-framefilter.c (main): Likewise.
4439 * gdb.trace/actions-changed.c (main): Likewise.
4441 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4443 * gdb.mi/until.c: Add eye-catchers.
4444 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4447 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4449 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4450 function header variants in break1.c.
4451 * gdb.base/ena-dis-br.exp: Likewise.
4452 * gdb.base/hbreak2.exp: Likewise.
4453 * gdb.reverse/until-precsave.exp: Drop references to removed
4454 non-prototype function header variants in ur1.c.
4455 * gdb.reverse/until-reverse.exp: Likewise.
4457 2014-11-17 Petr Machata <pmachata@redhat.com>
4459 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4460 ${_cu_offset_size} bytes abbrev offset.
4462 2014-11-15 Doug Evans <xdje42@gmail.com>
4465 * gdb.base/line-symtabs.exp: New file.
4466 * gdb.base/line-symtabs.c: New file.
4467 * gdb.base/line-symtabs.h: New file.
4469 2014-11-14 Yao Qi <yao@codesourcery.com>
4471 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4472 (func): Add label func_label.
4473 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4474 Replace low_pc and high_pc with MACRO_AT_range.
4475 Replace name, low_pc and high_pc with MACRO_AT_func.
4477 2014-11-14 Yao Qi <yao@codesourcery.com>
4479 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4480 Replace name, low_pc and high_pc with MACRO_AT_func.
4482 2014-11-14 Yao Qi <yao@codesourcery.com>
4484 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4485 produce debug information.
4486 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4488 2014-11-14 Yao Qi <yao@codesourcery.com>
4490 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4491 object and get function length.
4492 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4494 (top-level): Replace gdb_compile and clean_restart with
4495 prepare_for_testing.
4496 * gdb.dwarf2/main.c (main): Add label main_label.
4498 2014-11-14 Yao Qi <yao@codesourcery.com>
4500 * lib/dwarf.exp (function_range): New procedure.
4501 (Dwarf::_handle_macro_at_func): New procedure.
4502 (Dwarf::_handle_macro_at_range): New procedure.
4503 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4505 2014-11-14 Yao Qi <yao@codesourcery.com>
4507 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4508 (_handle_attribute): New procedure.
4510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4512 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4513 * gdb.base/call-sc.c (zed): Likewise.
4514 * gdb.base/checkpoint.c (main): Likewise.
4515 * gdb.base/dump.c (main): Likewise.
4516 * gdb.base/gcore.c (main): Likewise.
4517 * gdb.base/huge.c (main): Likewise.
4518 * gdb.base/multi-forks.c (main): Likewise.
4519 * gdb.base/pr10179-a.c (main): Likewise.
4520 * gdb.base/savedregs.c (main): Likewise.
4521 * gdb.base/sigaltstack.c (main): Likewise.
4522 * gdb.base/siginfo.c (main): Likewise.
4523 * gdb.base/structs.c (zed): Likewise.
4524 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4525 * gdb.mi/mi-syn-frame.c (main): Likewise.
4526 * gdb.mi/until.c (foo, main): Likewise.
4527 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4528 * gdb.base/solib-weak.c (foo): Declare.
4529 * gdb.base/attach-twice.c: Include stdio.h.
4530 * gdb.base/weaklib1.c: Likewise.
4531 * gdb.base/weaklib2.c: Likewise.
4532 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4533 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4535 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4536 * gdb.mi/mi-exit-code.c: Likewise.
4537 * gdb.base/break-interp-lib.c: Include string.h.
4538 * gdb.base/coremaker.c: Likewise.
4539 * gdb.base/testenv.c: Likewise.
4540 * gdb.python/py-finish-breakpoint.c: Likewise.
4541 * gdb.base/inferior-died.c: Include sys/wait.h.
4542 * gdb.base/fileio.c: Include time.h.
4543 * gdb.base/async-shell.c: Include unistd.h.
4544 * gdb.base/dprintf-non-stop.c: Likewise.
4545 * gdb.base/info-os.c: Likewise.
4546 * gdb.mi/mi-console.c: Likewise.
4547 * gdb.mi/watch-nonstop.c: Likewise.
4548 * gdb.python/py-events.c: Likewise.
4549 * gdb.base/async.c (baz): Move up before its invocation.
4550 * gdb.base/code_elim2.c (my_global_func): Likewise.
4551 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4552 * gdb.base/advance.c (func2): Likewise.
4554 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4558 * gdb.base/annota3.c: Likewise.
4559 * gdb.base/async.c: Likewise.
4560 * gdb.base/average.c: Likewise.
4561 * gdb.base/call-ar-st.c: Likewise.
4562 * gdb.base/call-rt-st.c: Likewise.
4563 * gdb.base/call-sc.c: Likewise.
4564 * gdb.base/call-strs.c: Likewise.
4565 * gdb.base/ending-run.c: Likewise.
4566 * gdb.base/execd-prog.c: Likewise.
4567 * gdb.base/exprs.c: Likewise.
4568 * gdb.base/foll-exec.c: Likewise.
4569 * gdb.base/foll-fork.c: Likewise.
4570 * gdb.base/foll-vfork.c: Likewise.
4571 * gdb.base/funcargs.c: Likewise.
4572 * gdb.base/gcore.c: Likewise.
4573 * gdb.base/jump.c: Likewise.
4574 * gdb.base/langs0.c: Likewise.
4575 * gdb.base/langs1.c: Likewise.
4576 * gdb.base/langs2.c: Likewise.
4577 * gdb.base/mips_pro.c: Likewise.
4578 * gdb.base/nodebug.c: Likewise.
4579 * gdb.base/opaque0.c: Likewise.
4580 * gdb.base/opaque1.c: Likewise.
4581 * gdb.base/recurse.c: Likewise.
4582 * gdb.base/run.c: Likewise.
4583 * gdb.base/scope0.c: Likewise.
4584 * gdb.base/scope1.c: Likewise.
4585 * gdb.base/setshow.c: Likewise.
4586 * gdb.base/setvar.c: Likewise.
4587 * gdb.base/shmain.c: Likewise.
4588 * gdb.base/shr1.c: Likewise.
4589 * gdb.base/shr2.c: Likewise.
4590 * gdb.base/sigall.c: Likewise.
4591 * gdb.base/signals.c: Likewise.
4592 * gdb.base/so-indr-cl.c: Likewise.
4593 * gdb.base/solib2.c: Likewise.
4594 * gdb.base/structs.c: Likewise.
4595 * gdb.base/sum.c: Likewise.
4596 * gdb.base/vforked-prog.c: Likewise.
4597 * gdb.base/watchpoint.c: Likewise.
4598 * gdb.reverse/shr2.c: Likewise.
4599 * gdb.reverse/until-reverse.c: Likewise.
4600 * gdb.reverse/ur1.c: Likewise.
4601 * gdb.reverse/watch-reverse.c: Likewise.
4603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4607 * gdb.base/sepdebug.exp: Drop references to removed code.
4609 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4611 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4612 variant. Preserve original line numbering.
4613 * gdb.base/list1.c: Likewise.
4615 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4617 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4619 * gdb.base/break1.c: Likewise.
4620 * gdb.base/break.exp: Drop references to removed code.
4622 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4624 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4627 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4629 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4633 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4634 logic into perform_all_tests() and invoke it with and without
4635 function header prototypes.
4636 (do_function_calls): Remove conditional XFAIL for PR 5318.
4637 (rerun_and_prepare): Remove duplicate code.
4638 (perform_all_tests): New. Main logic moved here.
4640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4643 code guarded by #ifdef NO_PROTOTYPES.
4644 (t_double_many_args): Likewise.
4645 (DEF_FUNC_MANY_ARGS_1): Likewise.
4646 (DEF_FUNC_VALUES_1): Likewise.
4647 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4648 guarded by #ifdef PROTOTYPES.
4650 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652 * gdb.mi/mi-console.c: Add eye-catcher.
4653 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4654 instead of literal line number.
4656 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4658 * gdb.base/shr2.c: Add eye-catcher.
4659 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4662 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4664 * gdb.base/jump.c: Add eye-catchers.
4665 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4668 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4670 * gdb.base/execd-prog.c: Add eye-catchers.
4671 * gdb.base/foll-exec.c: Likewise.
4672 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4675 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4677 * gdb.base/ending-run.c: Add eye-catchers.
4678 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4679 literal line numbers.
4681 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4683 * gdb.base/call-rt-st.c: Add eye-catchers.
4684 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4685 literal line numbers.
4687 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4689 * gdb.base/call-ar-st.c: Add eye-catchers.
4690 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4691 literal line numbers.
4693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4695 * gdb.base/average.c: Add eye-catchers.
4696 * gdb.base/sum.c: Likewise.
4697 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4698 regexps dynamically.
4700 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4702 * gdb.base/solib1.c: Add eye-catchers.
4703 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4704 literal line numbers.
4706 2014-11-12 Pedro Alves <palves@redhat.com>
4708 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4711 2014-11-12 Pedro Alves <palves@redhat.com>
4713 * gdb.arch/i386-bp_permanent.c: New file.
4714 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4715 (srcfile): Set to i386-bp_permanent.c.
4716 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4717 that stepi does not execute the 'leave' instruction, instead of
4718 testing it does execute.
4719 * gdb.base/bp-permanent.c: New file.
4720 * gdb.base/bp-permanent.exp: New file.
4722 2014-11-10 Doug Evans <xdje42@gmail.com>
4725 * gdb.base/symtab-search-order.exp: New file.
4726 * gdb.base/symtab-search-order.c: New file.
4727 * gdb.base/symtab-search-order-1.c: New file.
4728 * gdb.base/symtab-search-order-shlib-1.c: New file.
4730 2014-11-07 Pedro Alves <palves@redhat.com>
4733 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4736 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4739 * gdb.cp/pr17494.cc: New file.
4740 * gdb.cp/pr17494.exp: New file.
4742 2014-11-02 Yao Qi <yao@codesourcery.com>
4744 * gdb.python/python.exp: Get working directory and match the
4745 output of "set extended-prompt \\w " with it.
4747 2014-10-30 Doug Evans <dje@google.com>
4749 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4751 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4754 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4756 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4757 * gdb.base/realname-expand.exp: Likewise.
4758 * gdb.linespec/macro-relative.exp: Likewise.
4760 2014-10-29 Pedro Alves <palves@redhat.com>
4763 * gdb.threads/schedlock.c (some_function): New function.
4764 (call_function): New global.
4765 (MAYBE_CALL_SOME_FUNCTION): New macro.
4766 (thread_function): Call it.
4767 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4768 and use it instead of a global counter. Adjust all callers.
4769 (get_current_thread): Use "find current thread" for test message
4770 here rather than having all callers pass down the same string.
4771 (goto_loop): New procedure, factored out from ...
4772 (my_continue): ... this.
4773 (step_ten_loops): Change parameter from test message to command to
4775 (list_count): Delete global.
4776 (check_result): New procedure, factored out from duplicate top
4778 (continue tests): Wrap in with_test_prefix.
4779 (test_step): New procedure, factored out from duplicate top level
4781 (top level): Test "step" in combination with all scheduler-locking
4782 modes. Test "next" in combination with all scheduler-locking
4783 modes, and in combination with stepping over a function call or
4785 * gdb.threads/next-bp-other-thread.c: New file.
4786 * gdb.threads/next-bp-other-thread.exp: New file.
4788 2014-10-29 Pedro Alves <palves@redhat.com>
4791 * gdb.python/python.exp: Test a multi-line command that spawns
4793 * gdb.base/multi-line-starts-subshell.exp: New file.
4795 2014-10-29 Yao Qi <yao@codesourcery.com>
4797 * gdb.base/fileio.exp: Make directories on host.
4799 2014-10-29 Yao Qi <yao@codesourcery.com>
4801 * gdb.base/fileio.c (test_write): Close the file.
4803 2014-10-28 Pedro Alves <palves@redhat.com>
4806 * gdb.base/sigstep.c (no_handler): New global.
4807 (main): If 'no_handler is true, set the signal handlers to
4809 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4810 with_sw_watch and no_handler parameters. Handle them.
4811 (top level) <stepping over handler when stopped at a breakpoint
4812 test>: Add a test axis for testing with a software watchpoint, and
4813 another for testing with the signal handler set to SIG_IGN.
4814 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4815 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4817 2014-10-28 Pedro Alves <palves@redhat.com>
4820 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4821 * gdb.base/sigstep.exp (other_handler_location): New global.
4822 (advance): Support stepping into the signal handler, and running
4823 commands while in the handler.
4824 (in_handler_map): New global.
4825 (top level): In the advance test, add combinations for getting
4826 into the handler with stepping commands, and for running commands
4827 in the handler. Add comment descripting the advancei tests.
4829 2014-10-28 Pedro Alves <palves@redhat.com>
4831 * gdb.base/sigstep.exp: Use build_executable instead of
4832 prepare_for_testing.
4833 (top level): Move code that starts GDB, runs to main and creates a
4835 (restart): ... this new procedure.
4836 (top level): Move backtrace from signal handler test to ...
4837 (validate_backtrace): ... this new procedure.
4838 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4839 with_test_prefix. Always restart GDB.
4840 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4841 with_test_prefix. Always restart GDB. No need to delete
4842 breakpoints after the test.
4843 (test_skip_handler): Remove prefix parameter.
4844 (skip_over_handler, breakpoint_to_handler)
4845 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4846 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4847 restart GDB. No need to delete breakpoints after the test.
4848 (top level): Use foreach to call the test procedures with
4851 2014-10-28 Pedro Alves <palves@redhat.com>
4853 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4854 instead of GNATS numbers.
4855 * gdb.base/sigbpt.exp: Likewise.
4856 * gdb.base/siginfo.exp: Likewise.
4857 * gdb.base/sigstep.exp: Likewise.
4859 2014-10-27 Pedro Alves <palves@redhat.com>
4861 * gdb.base/sigstep.c (dummy): New global.
4862 (main): Issue a couple writes to the new global.
4863 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4865 (skip_over_handler): Use test_skip_handler.
4866 (top level): Call skip_over_handler for stepi and nexti too.
4867 (breakpoint_over_handler): Use test_skip_handler.
4868 (top level): Call breakpoint_over_handler for stepi and nexti too.
4870 2014-10-27 Yao Qi <yao@codesourcery.com>
4872 * gdb.trace/tfile.c (adjust_function_address)
4873 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4874 function descriptor.
4876 2014-10-24 Don Breazeal <donb@codesourcery.com>
4878 * gdb.base/foll-fork.exp (test_follow_fork,
4879 catch_fork_child_follow): Check for updated fork messages emitted
4881 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4882 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4883 vfork_and_exec_child_follow_through_step): Check for updated vfork
4884 messages emitted from infrun.c.
4886 2014-10-24 Pedro Alves <palves@redhat.com>
4888 * gdb.base/corefile.exp: Remove references to ultrix.
4889 * gdb.base/interrupt.exp: Likewise.
4890 * gdb.base/whatis.exp: Likewise.
4891 * gdb.gdb/selftest.exp: Likewise.
4892 * gdb.threads/manythreads.exp: Likewise.
4893 * gdb.threads/print-threads.exp: Likewise.
4894 * gdb.threads/pthreads.exp:: Likewise.
4895 * gdb.threads/schedlock.exp: Likewise.
4897 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4899 * gdb.cp/non-trivial-retval.cc: Add a test case.
4900 * gdb.cp/non-trivial-retval.exp: Add a test.
4902 2014-10-20 Yao Qi <yao@codesourcery.com>
4904 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4905 * gdb.python/py-objfile-script-gdb.py: New file.
4906 * gdb.python/py-objfile-script.exp: Update reference to
4907 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4908 of remote_download. Remove the dest file.
4910 2014-10-20 Yao Qi <yao@codesourcery.com>
4912 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4913 * gdb.base/step-line.exp: Likewise.
4914 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4915 * gdb.dwarf2/dw2-basic.exp: Likewise.
4916 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4917 * gdb.dwarf2/dw2-filename.exp: Likewise.
4918 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4919 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4920 * gdb.dwarf2/dw2-producer.exp: Likewise.
4921 * gdb.dwarf2/mac-fileno.exp: Likewise.
4922 * gdb.python/py-frame-args.exp: Likewise.
4923 * gdb.python/py-framefilter.exp: Likewise.
4924 * gdb.python/py-mi.exp: Likewise.
4925 * gdb.python/py-objfile-script.exp: Likewise
4926 * gdb.python/py-pp-integral.exp: Likewise.
4927 * gdb.python/py-pp-re-notag.exp: Likewise.
4928 * gdb.python/py-prettyprint.exp: Likewise.
4929 * gdb.python/py-section-script.exp: Likewise.
4930 * gdb.python/py-typeprint.exp: Likewise.
4931 * gdb.python/py-xmethods.exp: Likewise.
4932 * gdb.stabs/weird.exp: Likewise.
4933 * gdb.xml/tdesc-regs.exp: Likewise.
4935 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4937 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4938 (out_cu): Use addr_len for the size of addresses.
4939 (out_line): Likewise. Size DW_LNE_set_address instruction
4940 according to addr_len.
4941 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4942 (FUNC): Add START_INSNS to definition.
4944 2014-10-18 Yao Qi <yao@codesourcery.com>
4946 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4947 gdb_has_argv0 return true.
4948 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4949 check [target_info exists noargs], check [gdb_has_argv0]
4951 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4952 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4955 2014-10-17 Doug Evans <dje@google.com>
4957 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4959 * gdb.python/py-events.py: Add clear_objfiles event.
4961 2014-10-17 Doug Evans <dje@google.com>
4963 * gdb.python/py-objfile.exp: Test progspace attribute.
4965 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4967 * gdb.guile/scm-breakpoint.exp: Do not assume any
4968 directory separators when matching source file paths.
4969 * gdb.python/py-breakpoint.exp: Likewise.
4970 * gdb.reverse/break-precsave.exp: Likewise.
4971 * gdb.reverse/break-reverse.exp: Likewise.
4972 * gdb.reverse/consecutive-precsave.exp: Likewise.
4973 * gdb.reverse/finish-precsave.exp: Likewise.
4974 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4975 * gdb.reverse/finish-reverse.exp: Likewise.
4976 * gdb.reverse/i386-precsave.exp: Likewise.
4977 * gdb.reverse/i387-env-reverse.exp: Likewise.
4978 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4979 * gdb.reverse/machinestate-precsave.exp: Likewise.
4980 * gdb.reverse/machinestate.exp: Likewise.
4981 * gdb.reverse/sigall-precsave.exp: Likewise.
4982 * gdb.reverse/solib-precsave.exp: Likewise.
4983 * gdb.reverse/step-precsave.exp: Likewise.
4984 * gdb.reverse/until-precsave.exp: Likewise.
4985 * gdb.reverse/watch-precsave.exp: Likewise.
4986 * gdb.reverse/watch-reverse.exp: Likewise.
4988 2014-10-17 Yao Qi <yao@codesourcery.com>
4990 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4991 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4993 2014-10-17 Pedro Alves <palves@redhat.com>
4996 * gdb.base/bg-execution-repeat.c: New file.
4997 * gdb.base/bg-execution-repeat.exp: New file.
4999 2014-10-17 Pedro Alves <palves@redhat.com>
5002 * gdb.base/continue-all-already-running.c: New file.
5003 * gdb.base/continue-all-already-running.exp: New file.
5005 2014-10-17 Pedro Alves <palves@redhat.com>
5008 * gdb.base/annota-input-while-running.c: New file.
5009 * gdb.base/annota-input-while-running.exp: New file.
5011 2014-10-17 Pedro Alves <palves@redhat.com>
5013 * gdb.base/callfuncs.exp: emove references to osf.
5014 * gdb.base/sigall.exp: Likewise.
5015 * gdb.gdb/selftest.exp: Likewise.
5016 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5017 * gdb.mi/non-stop.c: Likewise.
5018 * gdb.mi/pthreads.c: Likewise.
5019 * gdb.reverse/sigall-precsave.exp: Likewise.
5020 * gdb.reverse/sigall-reverse.exp: Likewise.
5021 * gdb.threads/pthreads.c: Likewise.
5022 * gdb.threads/pthreads.exp: Likewise.
5024 2014-10-17 Yao Qi <yao@codesourcery.com>
5026 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5027 check 'target_info exists noargs'.
5028 (test_command_prompt_position): Likewise.
5029 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5031 (progvar_simple_while_test): Likewise.
5032 (progvar_complex_if_while_test): Likewise.
5033 (if_while_breakpoint_command_test): Likewise.
5034 (infrun_breakpoint_command_test): Likewise.
5035 (breakpoint_command_test): Likewise.
5036 (watchpoint_command_test): Likewise.
5037 (bp_deleted_in_command_test): Likewise.
5038 (temporary_breakpoint_commands): Likewise.
5040 2014-10-16 Yao Qi <yao@codesourcery.com>
5042 * gdb.base/remotetimeout.exp: Remove noargs checking.
5044 2014-10-15 Pedro Alves <palves@redhat.com>
5047 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5048 * gdb.base/breakpoint-in-ro-region.exp
5049 (probe_target_hardware_step): New procedure.
5050 (top level): Probe hardware stepping and hardware breakpoint
5051 support. Test stepping through a read-only region, with both
5052 "breakpoint auto-hw" on and off and both "always-inserted" on and
5055 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5057 * gdb.dlang/demangle.exp: Update for demangling changes.
5059 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5061 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5062 * gdb.cp/non-trivial-retval.exp: Add new tests.
5064 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5068 * gdb.cp/non-trivial-retval.cc: New file.
5069 * gdb.cp/non-trivial-retval.exp: New file.
5071 2014-10-15 Yao Qi <yao@codesourcery.com>
5073 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5076 2014-10-15 Yao Qi <yao@codesourcery.com>
5078 * gdb.python/py-symbol.exp: Match file base name if host is
5079 remote, otherwise match file name with dir name.
5080 * gdb.python/py-symtab.exp: Likewise.
5081 * gdb.python/python.exp: Likewise.
5083 2014-10-15 Yao Qi <yao@codesourcery.com>
5085 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5087 * gdb.python/py-symtab.exp: Likewise.
5088 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5091 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5093 * gdb.ada/addr_arith: New testcase.
5095 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5097 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5098 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5099 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5100 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5102 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5104 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5105 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5106 * gdb.arch/stap-eval-lang-ada.exp: New file.
5108 2014-10-14 Yao Qi <yao@codesourcery.com>
5110 * gdb.mi/mi-var-child.c (nothing1): New function.
5111 (nothing2): New function.
5112 (do_children_tests): Set function pointers by nothing1 and
5114 * gdb.mi/mi-var-child.exp: Step over new added statements.
5115 Update test to match the new output.
5116 * gdb.mi/var-cmd.c (nothing1): New function.
5117 (nothing2): New function.
5118 (do_children_tests): Set function pointers by nothing1 and
5120 * gdb.mi/mi-var-display.exp: Update test to match output.
5121 Step to the line specified by $line_dct_nothing.
5122 Increase the number of lines to step.
5124 2014-10-14 Yao Qi <yao@codesourcery.com>
5126 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5128 * gdb.mi/mi2-var-child.exp: Likewise.
5130 2014-10-13 Doug Evans <dje@google.com>
5132 * gdb.python/py-objfile.exp: Change name of file name test.
5134 2014-10-13 Doug Evans <dje@google.com>
5136 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5137 from the start of the CU.
5139 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5140 Yao Qi <yao@codesourcery.com>
5142 Fix "save breakpoints" for "catch" command.
5143 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5144 Remove -nonewline. Match also the added "main" line.
5146 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5148 Fix "save breakpoints" for "disable $bpnum" command.
5149 * gdb.base/save-bp.c (main): Add label.
5150 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5152 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5156 2014-10-11 Yao Qi <yao@codesourcery.com>
5158 * gdb.server/server-kill.exp: Execute command
5159 "set remote trace-status-packet on" before "tstatus".
5161 2014-10-11 Yao Qi <yao@codesourcery.com>
5163 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5164 (main): Call getppid.
5165 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5166 and continue to it. Read variable "server_pid".
5168 2014-10-11 Yao Qi <yao@codesourcery.com>
5170 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5172 2014-10-11 Yao Qi <yao@codesourcery.com>
5174 * gdb.threads/thread-find.exp: Don't execute command
5176 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5177 * gdb.threads/linux-dp.exp: Don't check the condition
5178 $threads_created equals to zero.
5180 2014-10-10 Pedro Alves <palves@redhat.com>
5182 * gdb.base/bigcore.exp: Remove references to IRIX.
5183 * gdb.base/funcargs.exp: Likewise.
5184 * gdb.base/interrupt.exp: Likewise.
5185 * gdb.base/mips_pro.exp: Likewise.
5186 * gdb.base/nodebug.exp: Likewise.
5187 * gdb.base/setvar.exp: Likewise.
5188 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5190 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5191 Pedro Alves <palves@redhat.com>
5194 * gdb.base/vdso-warning.c: New file.
5195 * gdb.base/vdso-warning.exp: New file.
5197 2014-10-02 Doug Evans <dje@google.com>
5199 * gdb.base/structs.c (main): Don't run forever.
5201 2014-10-02 Pedro Alves <palves@redhat.com>
5203 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5204 (top level) <stop threads 1, stop threads 2>: Use it.
5206 2014-10-02 Pedro Alves <palves@redhat.com>
5208 * gdb.threads/break-while-running.exp (test): Add new
5209 'update_thread_list' argument. Skip "info threads" if false.
5210 (top level): Add new 'update_thread_list' axis.
5212 2014-10-02 Pedro Alves <palves@redhat.com>
5214 PR breakpoints/17431
5215 * gdb.base/execl-update-breakpoints.c: New file.
5216 * gdb.base/execl-update-breakpoints.exp: New file.
5218 2014-10-01 Pedro Alves <palves@redhat.com>
5220 * gdb.base/breakpoint-in-ro-region.c: New file.
5221 * gdb.base/breakpoint-in-ro-region.exp: New file.
5223 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5225 * gdb.mi/mi-exit-code.exp: New file.
5226 * gdb.mi/mi-exit-code.c: New file.
5228 2014-09-30 Yao Qi <yao@codesourcery.com>
5230 * lib/prelink-support.exp (build_executable_own_libs): Error if
5231 the target isn't native.
5233 2014-09-30 Yao Qi <yao@codesourcery.com>
5235 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5238 2014-09-22 Pedro Alves <palves@redhat.com>
5240 * gdb.threads/break-while-running.exp: New file.
5241 * gdb.threads/break-while-running.c: New file.
5243 2014-09-19 Yao Qi <yao@codesourcery.com>
5245 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5246 Invoke test. Restart GDB with --readnow and invoke test again.
5248 2014-09-19 Yao Qi <yao@codesourcery.com>
5250 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5251 proc set_breakpoint_on_gcd_function. Invoke
5252 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5253 invoke set_breakpoint_on_gcd_function again.
5255 2014-09-18 Doug Evans <dje@google.com>
5257 * gdb.dwarf2/symtab-producer.exp: New file.
5259 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5261 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5262 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5263 * gdb.base/global-var-nested-by-dso.c: Likewise.
5264 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5266 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5267 Pedro Alves <palves@redhat.com>
5269 * gdb.base/watch-bitfields.exp: Pass string other than test file
5270 name to prepare_for_testing.
5271 (watch): New procedure.
5272 (expect_watchpoint): Use with_test_prefix.
5273 (top level): Factor out tests to ...
5274 (test_watch_location, test_regular_watch): ... these new
5275 procedures, and use with_test_prefix and gdb_continue_to_end.
5277 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5279 PR breakpoints/12526
5280 * gdb.base/watch-bitfields.exp: New file.
5281 * gdb.base/watch-bitfields.c: New file.
5283 2014-09-16 Pedro Alves <palves@redhat.com>
5285 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5286 software and hardware addresses, not software address against
5289 2014-09-16 Pedro Alves <palves@redhat.com>
5291 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5292 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5294 2014-09-16 Pedro Alves <palves@redhat.com>
5296 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5298 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5299 "*-*-vxworks*" throughout.
5300 * gdb.base/break.exp: Likewise.
5301 * gdb.base/default.exp: Likewise.
5302 * gdb.base/scope.exp: Likewise.
5303 * gdb.base/sepdebug.exp: Likewise.
5304 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5306 * gdb.base/run.c: Likewise.
5307 * gdb.base/sepdebug.c: Likewise.
5308 * gdb.hp/gdb.aCC/run.c: Likewise.
5309 * gdb.reverse/until-reverse.c: Likewise.
5310 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5312 2014-09-16 Yao Qi <yao@codesourcery.com>
5314 * boards/local-remote-host-native.exp: New file.
5316 2014-09-14 Doug Evans <xdje42@gmail.com>
5318 * gdb.threads/queue-signal.c (thread_count): New variable.
5319 (thread_count_mutex, thread_count_condvar): New variables.
5320 (incr_thread_count, wait_all_threads_running): New functions.
5321 (main): Wait for all threads to be in their thread functions.
5323 2014-09-13 Doug Evans <xdje42@gmail.com>
5325 * gdb.threads/queue-signal.c: New file.
5326 * gdb.threads/queue-signal.exp: New file.
5328 2014-09-13 Doug Evans <xdje42@gmail.com>
5330 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5331 be consistent with what default_gdb_init uses.
5332 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5333 the plain text of the prompt. Add some logging printfs.
5334 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5336 2014-09-12 Pedro Alves <palves@redhat.com>
5338 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5339 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5340 * gdb.arch/i386-size-overlap.exp: Likewise.
5341 * gdb.arch/i386-size.exp: Likewise.
5342 * gdb.arch/i386-unwind.exp: Likewise.
5343 * gdb.base/a2-run.exp: Likewise.
5344 * gdb.base/break.exp: Likewise.
5345 * gdb.base/charset.exp: Likewise.
5346 * gdb.base/chng-syms.exp: Likewise.
5347 * gdb.base/commands.exp: Likewise.
5348 * gdb.base/dbx.exp: Likewise.
5349 * gdb.base/find.exp: Likewise.
5350 * gdb.base/funcargs.exp: Likewise.
5351 * gdb.base/jit-simple.exp: Likewise.
5352 * gdb.base/reread.exp: Likewise.
5353 * gdb.base/sepdebug.exp: Likewise.
5354 * gdb.base/step-bt.exp: Likewise.
5355 * gdb.cp/mb-inline.exp: Likewise.
5356 * gdb.cp/mb-templates.exp: Likewise.
5357 * gdb.objc/basicclass.exp: Likewise.
5358 * gdb.threads/killed.exp: Likewise.
5360 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5363 * gdb.arch/powerpc-stackless.S: New file.
5364 * gdb.arch/powerpc-stackless.exp: New file.
5366 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5368 * gdb.base/attach.c: Include unistd.h.
5369 (main): Call alarm. Add label postloop.
5370 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5371 gdb_breakpoint, gdb_continue_to_breakpoint.
5372 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5374 2014-09-11 Pedro Alves <palves@redhat.com>
5377 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5378 * gdb.base/attach.exp (test_command_line_attach_run): New
5380 (top level): Call it.
5382 2014-09-11 Pedro Alves <palves@redhat.com>
5384 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5385 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5386 (do_command_attach_tests): Use spawn_wait_for_attach.
5387 * gdb.base/solib-overlap.exp: Likewise.
5388 * gdb.multi/multi-attach.exp: Likewise.
5389 * gdb.python/py-prompt.exp: Likewise.
5390 * gdb.python/py-sync-interp.exp: Likewise.
5391 * gdb.server/ext-attach.exp: Likewise.
5393 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5395 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5396 command in testcase. Simplify testcase.
5398 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5400 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5402 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5404 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5406 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5408 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5410 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5412 * gdb.dwarf2/dynarr-ptr.c: New file.
5413 * gdb.dwarf2/dynarr-ptr.exp: New file.
5415 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5417 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5418 of 30 rather than hardcoding 120 for a slow test case. Take the
5419 `gdb,timeout' target setting into account for this calculation.
5420 Don't extend the timeout for the test cases that don't need it.
5422 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5424 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5425 a factor of 2 for a slow test case. Take the `gdb,timeout'
5426 target setting into account for this calculation.
5427 * gdb.reverse/until-precsave.exp: Increase the timeout by
5428 a factor of 15 and 3 respectively rather than adding 120
5429 for a pair of slow test cases. Take the `gdb,timeout'
5430 target setting into account for this calculation.
5432 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5434 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5435 timeout, don't pass one down to gdb_expect.
5436 (gdb_expect): Rework timeout selection.
5438 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5440 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5441 exception on timeout.
5442 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5443 (gdbserver_start_extended): Catch any `gdbserver_start' error
5445 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5446 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5447 `gdbserver_gdb_load' error exceptions.
5449 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5451 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5452 120 on waiting for the TCP socket to open.
5454 2014-09-09 Doug Evans <xdje42@gmail.com>
5456 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5457 _caller_matches, _any_caller_is, _any_caller_matches.
5459 2014-09-09 Doug Evans <xdje42@gmail.com>
5461 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5463 2014-09-09 Yao Qi <yao@codesourcery.com>
5465 * gdb.mi/mi-var-display.exp: Set print symbol off.
5467 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5470 * gdb.base/commands.exp: Add tests to verify user-defined
5471 commands with empty bodies.
5472 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5473 python commands in `show user command`.
5474 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5475 scheme commands in `show user command`.
5477 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5480 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5481 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5482 * gdb.python/py-framefilter-invalidarg.exp: New file.
5483 * gdb.python/py-framefilter-invalidarg.py: New file.
5485 2014-09-06 Doug Evans <xdje42@gmail.com>
5488 * gdb.python/py-caller-is.c: New file.
5489 * gdb.python/py-caller-is.exp: New file.
5491 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5494 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5495 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5497 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5500 * gdb.fortran/print-formatted.exp: New file.
5501 * gdb.fortran/print-formatted.f90: Likewise.
5503 2014-09-03 Sasha Smundak <asmundak@google.com>
5505 * gdb.python/py-frame.exp: Test Frame.read_register.
5507 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5510 * gdb.python/py-completion.exp: New file.
5511 * gdb.python/py-completion.py: Likewise.
5513 2014-08-28 Doug Evans <dje@google.com>
5515 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5516 eax,etc. are live with values set by gdb and thus the compiler can't
5518 * gdb.arch/i386-pseudo.c (main): Ditto.
5520 2014-08-27 Doug Evans <dje@google.com>
5522 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5524 2014-08-25 Doug Evans <dje@google.com>
5526 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5529 2014-08-25 Doug Evans <dje@google.com>
5531 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5533 2014-08-24 Yao Qi <yao@codesourcery.com>
5535 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5537 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5539 2014-08-22 Doug Evans <dje@google.com>
5542 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5543 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5544 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5546 2014-08-22 Yao Qi <yao@codesourcery.com>
5548 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5549 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5550 * gdb.python/python.exp: Likewise. Use .py file on the host
5551 instead of the build.
5553 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5555 * gdb.threads/gcore-stale-thread.c: New file.
5556 * gdb.threads/gcore-stale-thread.exp: New file.
5558 2014-08-21 Pedro Alves <palves@redhat.com>
5560 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5561 * gdb.base/gcore-relro-pie.exp: Likewise.
5562 * gdb.base/gcore-relro.exp: Likewise.
5563 * gdb.base/gcore.exp: Likewise.
5564 * gdb.base/print-symbol-loading.exp: Likewise.
5565 * gdb.threads/gcore-thread.exp: Likewise.
5566 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5568 2014-08-20 Pedro Alves <palves@redhat.com>
5569 Jan Kratochvil <jan.kratochvil@redhat.com>
5571 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5573 (EXPECT): Handle READ1 being set.
5574 (all): Depend on EXTRA_RULES.
5575 (check-read1, expect-read1, read1.so, read1): New rules.
5576 * README (Testsuite Parameters): Document the READ1 make variable.
5577 (Race detection): New section.
5578 * configure: Regenerate.
5579 * configure.ac: If build==host==target, and running under a
5580 GNU/glibc system, add read1 to the extra Makefile rules.
5581 (EXTRA_RULES): AC_SUBST it.
5582 * lib/read1.c: New file.
5584 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5586 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5587 the handling of variables declared as a typedef to an array
5588 which a DW_AT_data_location attribute.
5590 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5591 Pedro Alves <palves@redhat.com>
5595 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5598 2014-08-19 Pedro Alves <palves@redhat.com>
5600 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5602 2014-08-19 Yao Qi <yao@codesourcery.com>
5604 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5607 2014-08-18 David Blaikie <dblaikie@gmail.com>
5609 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5611 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5613 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5614 attribute in array range.
5616 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5618 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5620 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5623 * gdb.cp/pr17132.cc: New file.
5624 * gdb.cp/pr17132.exp: New file.
5626 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5628 * gdb.python/py-xmethods.py (A_getarrayind)
5629 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5630 Use 'print' with function call syntax.
5631 (E_method_matcher.match): Fix tab vs space indentation mixup.
5633 2014-08-15 Yao Qi <yao@codesourcery.com>
5635 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5638 2014-08-15 Yao Qi <yao@codesourcery.com>
5640 * gdb.cp/casts.exp: Set print symbol off.
5641 * gdb.cp/class2.exp: Likewise.
5642 * gdb.cp/overload.exp: Likewise.
5643 * gdb.cp/templates.exp: Likewise.
5645 2014-08-11 Doug Evans <dje@google.com>
5647 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5648 (test_load_shlib): Update.
5650 2014-08-09 Yao Qi <yao@codesourcery.com>
5652 * gdb.base/display.exp: Invoke is_address_zero_readable.
5653 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5654 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5655 * gdb.base/hbreak-unmapped.exp: Return if
5656 is_address_zero_readable returns true.
5657 * gdb.base/signest.exp: Likewise.
5658 * gdb.base/signull.exp: Likewise.
5659 * gdb.base/sigbpt.exp: Likewise.
5660 * gdb.guile/scm-disasm.exp: Do the test if
5661 is_address_zero_readable returns false.
5662 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5663 * gdb.python/py-arch.exp: Likewise.
5664 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5665 * lib/gdb.exp (is_address_zero_readable): New proc.
5667 2014-08-09 Yao Qi <yao@codesourcery.com>
5670 * gdb.mi/mi-var-display.exp: Make test messages unique.
5672 2014-08-04 Tom Tromey <tromey@redhat.com>
5674 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5677 2014-08-04 Tom Tromey <tromey@redhat.com>
5679 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5682 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5684 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5685 inner_vla_struct_object_size.
5686 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5689 2014-07-30 Pedro Alves <palves@redhat.com>
5691 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5694 2014-07-29 Yao Qi <yao@codesourcery.com>
5697 * gdb.base/until-nodebug.exp: New.
5699 2014-07-28 Doug Evans <xdje42@gmail.com>
5702 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5703 previously existing parameter, and previously ambiguously spelled
5706 2014-07-28 Will Newton <will.newton@linaro.org>
5708 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5710 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5711 Doug Evans <xdje42@gmail.com>
5714 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5716 2014-07-25 Pedro Alves <palves@redhat.com>
5718 * gdb.threads/signal-command-handle-nopass.c: New file.
5719 * gdb.threads/signal-command-handle-nopass.exp: New file.
5720 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5721 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5722 * gdb.threads/signal-delivered-right-thread.c: New file.
5723 * gdb.threads/signal-delivered-right-thread.exp: New file.
5725 2014-07-25 Pedro Alves <palves@redhat.com>
5727 * gdb.base/double-prompt-target-event-error.exp
5728 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5730 (cancel_pagination_in_target_event): Rework double prompt
5732 * gdb.base/paginate-after-ctrl-c-running.exp
5733 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5735 * gdb.base/paginate-bg-execution.exp
5736 (test_bg_execution_pagination_return)
5737 (test_bg_execution_pagination_cancel): Remove '-notransfer
5739 * gdb.base/paginate-execution-startup.exp
5740 (test_fg_execution_pagination_return)
5741 (test_fg_execution_pagination_cancel): Remove '-notransfer
5743 * gdb.base/paginate-inferior-exit.exp
5744 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5746 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5747 * lib/gdb.exp (pagination_prompt): Run text through
5749 (gdb_test_multiple): Match $pagination_prompt instead of
5751 (string_to_regexp): Move to lib/gdb-utils.exp.
5753 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5755 * gdb.arch/amd64-entry-value-paramref.S: New file.
5756 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5757 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5758 * gdb.arch/amd64-optimout-repeat.S: New file.
5759 * gdb.arch/amd64-optimout-repeat.c: New file.
5760 * gdb.arch/amd64-optimout-repeat.exp: New file.
5762 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5765 * gdb.base/statistics.exp: New file.
5767 2014-07-17 Doug Evans <dje@google.com>
5770 * gdb.base/maint.exp: Update testing of per-command stats.
5772 2014-07-16 Pedro Alves <palves@redhat.com>
5774 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5775 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5776 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5777 (tfile_write_buf): New functions.
5778 (add_memory_block): Rewrite using the above.
5779 (adjust_function_address): New function.
5780 (FUNCTION_ADDRESS): New macro.
5781 (write_basic_trace_file): Remove short_x local, and use
5782 tfile_write_16. Change type of func_addr local to unsigned long
5783 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5784 here. Cast argument of add_memory_block to char pointer.
5785 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5786 (main): Remove parameters.
5787 * gdb.trace/tfile.exp: Remove nowarnings.
5789 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5791 * gdb.base/debug-expr.exp: Test string evaluation with
5792 "debug expression" on.
5794 2014-07-15 Pedro Alves <palves@redhat.com>
5796 * gdb.base/reread.exp: Use clean_restart.
5798 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5800 * gdb.arch/avr-flash-qualifer.c: New.
5801 * gdb.arch/avr-flash-qualifer.exp: New.
5803 2014-07-14 Pedro Alves <palves@redhat.com>
5805 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5806 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5808 2014-07-14 Pedro Alves <palves@redhat.com>
5810 * gdb.base/double-prompt-target-event-error.c: New file.
5811 * gdb.base/double-prompt-target-event-error.exp: New file.
5813 2014-07-14 Pedro Alves <palves@redhat.com>
5816 * gdb.base/paginate-inferior-exit.c: New file.
5817 * gdb.base/paginate-inferior-exit.exp: New file.
5819 2014-07-14 Pedro Alves <palves@redhat.com>
5822 * gdb.base/paginate-bg-execution.c: New file.
5823 * gdb.base/paginate-bg-execution.exp: New file.
5825 2014-07-14 Pedro Alves <palves@redhat.com>
5828 * gdb.base/paginate-execution-startup.c: New file.
5829 * gdb.base/paginate-execution-startup.exp: New file.
5830 * lib/gdb.exp (pagination_prompt): New global.
5831 (default_gdb_spawn): New procedure, factored out from
5833 (default_gdb_start): Adjust to call default_gdb_spawn.
5834 (gdb_spawn): New procedure.
5836 2014-07-14 Pedro Alves <palves@redhat.com>
5838 * lib/gdb.exp (gdb_assert): New procedure.
5839 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5841 2014-07-14 Pedro Alves <palves@redhat.com>
5843 * gdb.base/execution-termios.c: New file.
5844 * gdb.base/execution-termios.exp: New file.
5846 2014-07-14 Tom Tromey <tromey@redhat.com>
5848 * gdb.cp/vla-cxx.cc: New file.
5849 * gdb.cp/vla-cxx.exp: New file.
5851 2014-07-14 Tom Tromey <tromey@redhat.com>
5853 * gdb.reverse/rerun-prec.c: New file.
5854 * gdb.reverse/rerun-prec.exp: New file.
5856 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5857 Maciej W. Rozycki <macro@codesourcery.com>
5859 * lib/gdb-utils.exp: New file.
5860 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5861 inline `gdb_init_command' processing.
5862 (gdb_start_cmd): Likewise.
5863 * lib/mi-support.exp (mi_run_cmd): Likewise.
5864 * README: Document `gdb_init_command' and `gdb_init_commands'.
5866 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5868 Fix false FAIL running under a very long directory name.
5869 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5870 and "set print elements 10000". Twice.
5872 2014-07-11 Yao Qi <yao@codesourcery.com>
5874 * gdb.base/exprs.exp: "set print symbol off".
5876 2014-07-11 Pedro Alves <palves@redhat.com>
5878 * gdb.threads/kill.c: New file.
5879 * gdb.threads/kill.exp: New file.
5881 2014-07-10 Yao Qi <yao@codesourcery.com>
5883 * gdb.trace/tfile.c (write_basic_trace_file)
5884 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5885 address written to trace file.
5887 2014-07-09 Pedro Alves <palves@redhat.com>
5889 * gdb.base/attach-wait-input.exp: New file.
5890 * gdb.base/attach-wait-input.c: New file.
5892 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5894 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5895 setting up test structures.
5896 (main): Call new test function.
5897 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5898 test function, continue into test function and walk test
5901 2014-07-02 Yao Qi <yao@codesourcery.com>
5903 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5904 'bar_start' at the beginning of functions 'foo' and 'bar'
5906 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5907 instead of 'foo' and 'bar'.
5909 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5911 * gdb.btrace/segv.exp: New.
5912 * gdb.btrace/segv.c: New.
5914 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5916 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5919 2014-06-30 Mark Wielaard <mjw@redhat.com>
5921 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5922 vulture, vilify, villar): New volatile array constants.
5923 (vindictive, vegetation): New const volatile array constants.
5924 * gdb.base/volatile.exp: Test volatile and const volatile array
5927 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5930 target lacks support for awatch, rwatch, or hbreak.
5932 2014-06-27 Yao Qi <yao@codesourcery.com>
5934 * gdb.multi/dummy-frame-restore.exp: New.
5935 * gdb.multi/dummy-frame-restore.c: New.
5937 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5939 * gdb.btrace/gcore.exp: New.
5941 2014-06-23 Pedro Alves <palves@redhat.com>
5943 * gdb.base/watchpoint-reuse-slot.c: New file.
5944 * gdb.base/watchpoint-reuse-slot.exp: New file.
5946 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5948 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5949 progspace's filename in 'info', 'enable' and 'disable' command
5952 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5954 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5955 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5956 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5958 2014-06-20 Gary Benson <gbenson@redhat.com>
5960 * gdb.arch/i386-avx.exp: Fix include file location.
5961 * gdb.arch/i386-sse.exp: Likewise.
5963 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5965 * gdb.dlang/expression.exp: New file.
5967 2014-06-19 Pedro Alves <palves@redhat.com>
5969 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5971 (top level): ... here. Iterate running tests under different
5972 scheduler-locking settings.
5974 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5976 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5977 to DW_FORM_addr and use non-zero addresses.
5979 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5982 * gdb.python/py-xmethods.cc: Add global function call counters and
5983 increment them in their respective functions. Remove "cout"
5985 * gdb.python/py-xmethods.exp: Make tests check the global function
5986 call counters instead of depending on inferior IO.
5988 2014-06-18 Don Breazeal <donb@codesourcery.com>
5990 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5992 (explicit_fork_parent_follow): Deleted procedure.
5993 (explicit_fork_child_follow): Deleted procedure.
5994 (test_follow_fork): New procedure.
5995 (do_fork_tests): Replace calls to deleted procedures with
5996 calls to test_follow_fork and reset GDB for subsequent
5999 2014-06-17 Yao Qi <yao@codesourcery.com>
6001 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6004 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6006 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6007 Initialize ptr and S explicitly.
6008 (skip_type_update_when_not_use_rtti_test): Likewise.
6010 2014-06-16 Keith Seitz <keiths@redhat.com>
6013 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6014 the inferior is started.
6016 2014-06-16 Pedro Alves <palves@redhat.com>
6018 * gdb.base/break-main-file-remove-fail.c: New file.
6019 * gdb.base/break-main-file-remove-fail.exp: New file.
6020 * gdb.base/break-unload-file.exp: Use build_executable instead of
6021 prepare_for_testing.
6022 (test_break): New parameter "initial_load". Handle it.
6023 (top level): Add initial_load cmdline/file axis.
6025 2014-06-12 Tom Tromey <tromey@redhat.com>
6027 * gdb.base/completion.exp: Don't use directory name in test.
6029 2014-06-09 Gary Benson <gbenson@redhat.com>
6031 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6032 separate the always-available ANSI-standard signals from the
6033 signals that require checking.
6035 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6039 2014-06-07 Keith Seitz <keiths@redhat.com>
6043 * gdb.cp/var-tag.cc: New file.
6044 * gdb.cp/var-tag.exp: New file.
6045 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6046 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6047 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6048 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6050 2014-06-06 Doug Evans <xdje42@gmail.com>
6052 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6054 2014-06-06 Pedro Alves <palves@redhat.com>
6056 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6057 in target debug output instead of looking at RSP packets,
6058 disabling the test on any target that uses hardware stepping.
6061 2014-06-06 Pedro Alves <palves@redhat.com>
6063 * gdb.base/break-unload-file.exp: Fix typo.
6065 2014-06-06 Yao Qi <yao@codesourcery.com>
6067 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6068 from "jit_function" to "^jit_function".
6070 2014-06-06 Yao Qi <yao@codesourcery.com>
6072 * gdb.base/async.c (foo): Add one statement.
6073 * gdb.base/async.exp: Get the next instruction address and
6074 match the output of "nexti" by instruction address. Match
6075 the hex address in the output of "finish".
6077 2014-06-06 Gary Benson <gbenson@redhat.com>
6079 * gdb.base/call-signals.c: Remove preprocessor conditionals
6080 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6081 SIGSEGV and SIGTERM.
6082 * gdb.base/sigall.c: Likewise.
6083 * gdb.base/unwindonsignal.c: Likewise.
6084 * gdb.reverse/sigall-reverse.c: Likewise.
6086 2014-06-06 Yao Qi <yao@codesourcery.com>
6088 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6089 readable, skip the test.
6091 2014-06-06 Yao Qi <yao@codesourcery.com>
6093 * gdb.threads/staticthreads.c (thread_function): Move the line
6094 setting breakpoint on forward.
6095 * gdb.threads/staticthreads.exp: Update comments.
6097 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6099 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6100 "history-append! type error".
6102 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6104 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6105 erroneous dprintf expected input.
6107 2014-06-04 Doug Evans <xdje42@gmail.com>
6109 * gdb.guile/scm-generics.exp: Delete.
6111 2014-06-04 Doug Evans <xdje42@gmail.com>
6113 * gdb.guile/scm-breakpoint.exp: Update.
6114 Add tests for breakpoint registration.
6116 2014-06-04 Tom Tromey <tromey@redhat.com>
6118 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6120 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6121 inner_vla_struct, vla_union types. Initialize objects of those
6122 types and compute their sizes.
6124 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6125 Hui Zhu <hui@codesourcery.com>
6127 * gdb.base/fileio.exp: Add test for shell not available as well as
6129 * gdb.base/fileio.c (test_system): Check for shell twice.
6131 2014-06-04 Yao Qi <yao@codesourcery.com>
6133 * gdb.base/auto-connect-native-target.exp: Remove redundant
6134 space from the regexp pattern.
6136 2014-06-04 Yao Qi <yao@codesourcery.com>
6138 * gdb.base/default.exp: Replace "child" with "native" in
6141 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6143 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6144 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6145 * gdb.python/py-xmethods.py: Python script supporting the
6146 new testcase and tests.
6148 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6149 Pedro Alves <palves@redhat.com>
6151 PR breakpoints/17000
6152 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6153 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6155 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6157 * gdb.base/subst.exp: Add tests to verify partial path matching
6160 2014-06-03 Pedro Alves <palves@redhat.com>
6162 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6163 target that doesn't use software single-stepping.
6165 2014-06-03 Pedro Alves <palves@redhat.com>
6167 PR breakpoints/17000
6168 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6169 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6171 2014-06-02 Doug Evans <xdje42@gmail.com>
6173 * gdb.guile/scm-parameter.exp: New file.
6175 2014-06-02 Doug Evans <xdje42@gmail.com>
6177 * gdb.guile/scm-cmd.c: New file.
6178 * gdb.guile/scm-cmd.exp: New file.
6180 2014-06-02 Doug Evans <xdje42@gmail.com>
6182 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6183 pretty-printer lookup.
6184 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6185 (make-pp_s-printer): Call it.
6186 (make-pretty-printer-from-dict): New function.
6187 (lookup-pretty-printer-maker-from-dict): New function.
6188 (*pretty-printer*): Simplify.
6189 (make-objfile-pp_s-printer): New function.
6190 (install-objfile-pretty-printers!): New function.
6191 (make-progspace-pp_s-printer): New function.
6192 (install-progspace-pretty-printers!): New function.
6193 * gdb.guile/scm-progspace.c: New file.
6194 * gdb.guile/scm-progspace.exp: New file.
6196 2014-06-02 Pedro Alves <palves@redhat.com>
6198 * gdb.base/dprintf-bp-same-addr.c: New file.
6199 * gdb.base/dprintf-bp-same-addr.exp: New file.
6201 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6203 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6204 * gdb.arch/powerpc-power.s: Likewise.
6206 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6208 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6210 2014-06-01 Yao Qi <yao@codesourcery.com>
6212 * gdb.base/watchpoint.exp (test_watch_location): Check null
6213 pointer can be dereferenced. If not, do the test, otherwise
6216 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6218 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6220 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6222 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6224 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6225 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6226 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6227 * gdb.arch/amd64-invalid-stack-top.c: New file.
6228 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6230 2014-05-30 Pedro Alves <palves@redhat.com>
6232 PR breakpoints/17000
6233 * gdb.base/sss-bp-on-user-bp.c: New file.
6234 * gdb.base/sss-bp-on-user-bp.exp: New file.
6236 2014-05-30 David Blaikie <dblaikie@gmail.com>
6238 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6239 gnu_inline semantics via attribute.
6240 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6241 source explicitly specifies the required semantics.
6243 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6245 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6247 2014-05-29 Pedro Alves <palves@redhat.com>
6248 Tom Tromey <tromey@redhat.com>
6250 * gdb.base/async-shell.exp: Don't enable target-async.
6251 * gdb.base/async.exp
6252 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6254 (top level): Don't test with "target-async".
6255 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6256 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6257 * gdb.base/inferior-died.exp: Don't enable target-async.
6258 * gdb.base/interrupt-noterm.exp: Likewise.
6259 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6260 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6261 * gdb.mi/mi-nonstop.exp: Likewise.
6262 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6263 * gdb.mi/mi-nsintrall.exp: Likewise.
6264 * gdb.mi/mi-nsmoribund.exp: Likewise.
6265 * gdb.mi/mi-nsthrexec.exp: Likewise.
6266 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6267 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6268 * gdb.python/py-evsignal.exp: Don't enable target-async.
6269 * gdb.python/py-evthreads.exp: Likewise.
6270 * gdb.python/py-prompt.exp: Likewise.
6271 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6272 * gdb.server/solib-list.exp: Don't enable target-async.
6273 * gdb.threads/thread-specific-bp.exp: Likewise.
6274 * lib/mi-support.exp: Adjust to use mi-async.
6276 2014-05-29 Pedro Alves <palves@redhat.com>
6279 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6280 reason, even in sync mode.
6282 2014-05-29 Pedro Alves <palves@redhat.com>
6283 Hui Zhu <hui@codesourcery.com>
6286 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6287 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6288 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6289 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6291 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6293 * config/monitor.exp (gdb_target_monitor): Replace use of
6294 "set remotebaud" by "set serial baud".
6296 2014-05-26 Andy Wingo <wingo@igalia.com>
6298 * gdb.guile/scm-breakpoint.exp:
6299 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6300 properties instead of gdb-object-properties.
6302 2014-05-26 Yao Qi <yao@codesourcery.com>
6304 * gdb.server/no-thread-db.exp: Specify source file name
6305 explicitly when setting a breakpoint.
6307 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6309 * gdb.btrace/vdso.c: New.
6310 * gdb.btrace/vdso.exp: New.
6312 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6314 * gdb.base/gcore.exp (capture_command_output): Move ...
6315 * lib/gdb.exp (capture_command_output): ... here.
6317 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6319 * gdb.btrace/data.exp: Test memory access during btrace replay.
6321 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6323 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6325 2014-05-21 Pedro Alves <palves@redhat.com>
6328 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6329 (top level): Test that output related to execution commands is
6330 sent to the console with CLI commands, but not with MI commands.
6331 Test that breakpoint events are always mirrored to the console.
6332 Also expect the new source line to be output after a "next" in
6333 async mode too. Make it a pass/fail test.
6334 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6336 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6338 2014-05-21 Pedro Alves <palves@redhat.com>
6340 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6341 Use them to test variations of "list" after reaching a breakpoint.
6342 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6343 Test "list" with listsize 10 after reaching a breakpoint.
6344 * gdb.python/python.exp (decode_line current location line
6345 number): Adjust expected line number.
6347 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6349 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6350 behavior for $args, pass it directly to "run".
6352 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6354 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6357 2014-05-21 Pedro Alves <palves@redhat.com>
6359 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6360 auto-connect-native-target off".
6361 * gdb.base/auto-connect-native-target.c: New file.
6362 * gdb.base/auto-connect-native-target.exp: New file.
6364 2014-05-21 Pedro Alves <palves@redhat.com>
6366 * gdb.base/default.exp: Test "target native" instead of "target
6369 2014-05-21 Mark Wielaard <mjw@redhat.com>
6371 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6373 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6375 Fix TLS access for -static -pthread.
6376 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6377 <HAVE_TLS> (thread_function, main): Initialize it.
6378 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6380 <$have_tls != "">: Check TLSVAR.
6382 2014-05-21 Pedro Alves <palves@redhat.com>
6384 * gdb.base/dcache-line-read-error.c: New.
6385 * gdb.base/dcache-line-read-error.exp: New.
6387 2014-05-20 Pedro Alves <palves@redhat.com>
6389 * gdb.base/compare-sections.c: New file.
6390 * gdb.base/compare-sections.exp: New file.
6392 2014-05-20 Pedro Alves <palves@redhat.com>
6394 * gdb.base/break-idempotent.c: New file.
6395 * gdb.base/break-idempotent.exp: New file.
6397 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6399 * gdb.btrace/nohist.exp: New.
6401 2014-05-20 Yao Qi <yao@codesourcery.com>
6403 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6404 gdb.reverse directory and gdb_reverse_timeout exists in board
6406 * README: Document gdb_reverse_timeout.
6408 2014-05-20 Yao Qi <yao@codesourcery.com>
6410 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6411 'test_file_name'. Treat args as a string instead of a list.
6412 (gdb_init): Rename argument 'args' by 'test_file_name'.
6414 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6416 * gdb.arch/powerpc-power.exp: New file.
6417 * gdb.arch/powerpc-power.s: New file.
6419 2014-05-16 Doug Evans <dje@google.com>
6421 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6422 * gdb.base/completion.exp: Check that all expected files exist
6423 before doing file completion.
6425 2014-05-16 Doug Evans <dje@google.com>
6427 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6429 (do_syscall_tests_without_xml): Update.
6431 2014-05-16 Pedro Alves <palves@redhat.com>
6433 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6434 instead of "unknown output after running".
6436 2014-05-16 Yao Qi <yao@codesourcery.com>
6438 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6439 file1.txt from host at the end.
6440 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6442 2014-05-15 Doug Evans <dje@google.com>
6444 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6445 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6446 loading file. Add test for TU lookup.
6448 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6450 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6451 calling "-exec-arguments" or "set args" before running the
6454 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6456 * lib/mi-support.exp (mi_expect_stop): Expect message for
6457 inferiors that exit with non-zero exit code.
6459 2014-05-14 Yao Qi <yao@codesourcery.com>
6461 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6462 match absolute path on remote host.
6463 (test_file_list_exec_source_files): Remove "/" from the
6466 2014-05-14 Yao Qi <yao@codesourcery.com>
6468 * boards/local-remote-host-notty.exp (${board}_file): New
6471 2014-05-07 Kyle McMartin <kyle@redhat.com>
6473 Pushed by Joel Brobecker <brobecker@adacore.com>.
6474 * gdb.arch/aarch64-atomic-inst.c: New file.
6475 * gdb.arch/aarch64-atomic-inst.exp: New file.
6477 2014-05-07 Yao Qi <yao@codesourcery.com>
6479 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6480 in current context" too.
6482 2014-05-05 Keith Seitz <keiths@redhat.com>
6484 * gdb.linespec/ls-dollar.exp: Add test for linespec
6485 file:convenience_variable.
6487 2014-05-05 Yao Qi <yao@codesourcery.com>
6489 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6490 traceframes into tfile and ctf trace files. Read data from
6491 trace file and test collected data.
6492 (gdb_collect_locals_test): Likewise.
6493 (gdb_unavailable_registers_test): Likewise.
6494 (gdb_unavailable_floats): Likewise.
6495 (gdb_collect_globals_test): Likewise.
6496 (top-level): Append "ctf" to trace_file_targets if GDB
6499 2014-05-05 Yao Qi <yao@codesourcery.com>
6501 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6503 (gdb_collect_args_test_1): ... it. New proc.
6504 (gdb_collect_locals_test): Move some code to ...
6505 (gdb_collect_locals_test_1): ... it. New proc.
6506 (gdb_unavailable_registers_test): Move some code to ...
6507 (gdb_unavailable_registers_test_1): ... it. New proc.
6508 (gdb_unavailable_floats): Move some code to ...
6509 (gdb_unavailable_floats_1): ... it. New proc.
6511 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6513 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6514 probes to test for bitness recognition.
6515 * gdb.arch/amd64-stap-optional-prefix.exp
6516 (test_probe_value_without_reg): New procedure.
6517 Add code to test for different kinds of bitness.
6519 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6521 PR breakpoints/16889
6522 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6523 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6525 2014-05-01 Pedro Alves <palves@redhat.com>
6527 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6528 gdb_file_cmd if no file is specified.
6529 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6530 last_loaded_file to set the remote exec-file.
6532 2014-05-01 Pedro Alves <palves@redhat.com>
6534 * boards/local-remote-host.exp: New file.
6536 2014-05-01 Pedro Alves <palves@redhat.com>
6538 * boards/local-remote-host.exp: Rename to ...
6539 * boards/local-remote-host-notty.exp: ... this.
6541 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6543 * gdb.ada/dyn_arrayidx: New testcase.
6545 2014-04-26 Yao Qi <yao@codesourcery.com>
6547 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6548 and compute the length of function main. Save it in
6550 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6551 (top-level): Use gdb_compile to compile objects into
6552 executable and restart GDB. Remove invocation to
6553 prepare_for_testing.
6555 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6556 Pedro Alves <palves@redhat.com>
6559 * gdb.multi/multi-attach.c: New file.
6560 * gdb.multi/multi-attach.exp: New file.
6562 2014-04-25 Pedro Alves <palves@redhat.com>
6564 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6566 (top level): Test that "set remote conditional-breakpoints-packet
6567 off" works as intended.
6568 * gdb.base/dprintf.exp: Test that "set remote
6569 breakpoint-commands-packet off" works as intended.
6570 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6572 (top level): Call it.
6573 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6574 remote fast-tracepoints-packet off" works as intended.
6575 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6576 * lib/gdb.exp (gdb_is_target_remote): ... here.
6578 2014-04-24 David Blaikie <dblaikie@gmail.com>
6580 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6581 ensure clang would not discard them.
6582 * gdb.base/gdbvars.c: Ditto.
6583 * gdb.base/memattr.c: Ditto.
6584 * gdb.base/whatis.c: Ditto.
6585 * gdb.python/py-prettyprint.c: Ditto.
6586 * gdb.trace/actions.c: Ditto.
6587 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6588 ensure clang would not discard it.
6590 2014-04-24 David Blaikie <dblaikie@gmail.com>
6592 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6593 clang to emit the full definition of type required by the test
6594 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6596 2014-04-24 David Blaikie <dblaikie@gmail.com>
6598 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6599 coax Clang into emitting the definition of the type.
6600 * gdb.cp/pr10728-x.h (y): Ditto.
6601 * gdb.cp/pr10728-y.cc (y): Ditto.
6603 2014-04-24 David Blaikie <dblaikie@gmail.com>
6605 * gdb.base/label.exp: XFAIL label related tests under Clang.
6606 * gdb.cp/cplabel.exp: Ditto.
6607 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6608 under Clang those using labels.
6610 2014-04-25 Yao Qi <yao@codesourcery.com>
6612 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6614 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6615 partial_label and double_label.
6617 2014-04-24 David Blaikie <dblaikie@gmail.com>
6619 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6621 2014-04-24 David Blaikie <dblaikie@gmail.com>
6623 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6624 of the function to work across GCC and Clang.
6625 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6626 pointer types (const void ** const V void **).
6628 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6629 Walfred Tedeschi <walfred.tedeschi@intel.com>
6631 * Makefile.in (EXECUTABLES): Added i386-avx512.
6632 * gdb.arch/i386-avx512.c: New file.
6633 * gdb.arch/i386-avx512.exp: Likewise.
6635 2014-04-23 Keith Seitz <keiths@redhat.com>
6637 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6638 (mi_make_breakpoint_table): New procedure.
6639 (mi_create_breakpoint): Use mi_make_breakpoint
6640 and return the result.
6641 (mi_make_breakpoint): New procedure.
6642 (mi_build_kv_pairs): New procedure.
6644 * gdb.mi/mi-break.exp: Remove unused globals,
6645 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6646 All callers updated.
6647 * gdb.mi/mi-dprintf.exp: Use variable to track command
6649 Update all callers of mi_create_breakpoint and use
6650 mi_make_breakpoint_table.
6651 Remove any unused global variables.
6652 * gdb.mi/mi-nonstop.exp: Likewise.
6653 * gdb.mi/mi-nsintrall.exp: Likewise.
6654 * gdb.mi/mi-nsmoribund.exp: Likewise.
6655 * gdb.mi/mi-nsthrexec.exp: Likewise.
6656 * gdb.mi/mi-reverse.exp: Likewise.
6657 * gdb.mi/mi-simplerun.exp: Likewise.
6658 * gdb.mi/mi-stepn.exp: Likewise.
6659 * gdb.mi/mi-syn-frame.exp: Likewise.
6660 * gdb.mi/mi-until.exp: Likewise.
6661 * gdb.mi/mi-var-cp.exp: Likewise.
6662 * gdb.mi/mi-var-display.exp: Likewise.
6663 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6664 * gdb.mi/mi2-var-child.exp: Likewise.
6665 * gdb.mi/mi-vla-c99.exp: Likewise.
6666 * lib/mi-support.exp: Likewise.
6668 From Ian Lance Taylor <iant@cygnus.com>:
6669 * lib/gdb.exp (parse_args): New procedure.
6671 2014-04-23 Pedro Alves <palves@redhat.com>
6673 * gdb.base/break-unload-file.c: New file.
6674 * gdb.base/break-unload-file.exp: New file.
6675 * gdb.base/sym-file-lib.c (baz): New function.
6676 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6678 (load): Store the segment's mapped size.
6679 (unload): New function.
6680 (unload_shlib): New function.
6681 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6682 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6683 set a breakpoint at baz, and call it.
6684 * gdb.base/sym-file.exp: New tests for stale breakpoint
6687 2014-04-23 Pedro Alves <palves@redhat.com>
6689 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6690 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6691 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6692 * gdb.base/hbreak-unmapped.c: New file.
6693 * gdb.base/hbreak-unmapped.exp: New file.
6694 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6695 * lib/gdb.exp (gdb_is_target_remote): ... here.
6697 2014-04-22 Pedro Alves <palves@redhat.com>
6699 * gdb.base/consecutive-step-over.c: New file.
6700 * gdb.base/consecutive-step-over.exp: New file.
6702 2014-04-22 Pedro Alves <palves@redhat.com>
6704 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6705 instead of send_gdb/gdb_expect.
6707 2014-04-22 Yao Qi <yao@codesourcery.com>
6709 * lib/trace-support.exp (generate_tracefile): New procedure.
6710 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6712 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6713 if generate_tracefile returns 1.
6715 2014-04-18 Tom Tromey <palves@redhat.com>
6716 Pedro alves <tromey@redhat.com>
6719 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6720 with a backtrace limit.
6721 * gdb.python/py-frame-inline.exp: Test running to an inline
6722 function with a backtrace limit, and printing the newest frame.
6723 * gdb.python/py-frame-inline.c (main): Call f.
6725 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6727 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6729 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6731 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6732 Drop prefix from unsupported source file path.
6734 2014-04-17 Yao Qi <yao@codesourcery.com>
6736 * lib/gdb.exp (with_target_charset): New proc.
6737 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6738 with_target_charset.
6739 (test_print_strings): Likewise.
6740 (test_repeat_bytes): Likewise.
6741 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6744 2014-04-16 Keith Seitz <keiths@redhat.com>
6747 * gdb.dwarf2/corrupt.c: New file.
6748 * gdb.dwarf2/corrupt.exp: New file.
6750 2014-04-16 Keith Seitz <keiths@redhat.com>
6753 * gdb.cp/namelessclass.cc: New file.
6754 * gdb.cp/namelessclass.exp: New file.
6755 * gdb.cp/namelessclass.S: New file.
6757 2014-04-16 Doug Evans <dje@google.com>
6759 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6761 (gdbserver_default_get_comm_port): New function.
6762 (gdbserver_start): Check if board file provided
6763 "gdbserver,get_comm_port" and use it if so.
6764 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6765 (gdb,socketport): Set to "stdio".
6766 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6767 (stdio_gdbserver_template): Delete.
6768 (${board}_get_remote_address): Update.
6769 (${board}_build_remote_cmd): Delete.
6770 (${board}_get_comm_port): New function.
6771 (${board}_spawn): Update.
6772 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6774 (${board}_get_remote_address): Update.
6775 (${board}_get_comm_port): New function.
6777 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6779 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6780 appearing in any order.
6782 2014-04-15 Doug Evans <dje@google.com>
6784 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6785 uninitialized value of "description".
6787 2014-04-15 Keith Seitz <keiths@redhat.com>
6789 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6790 Remove unused globals.
6791 (test_running_the_program): Likewise.
6792 (test_controlled_execution): Likewise.
6793 (test_controlling_breakpoints): Likewise.
6794 (test_program_termination): Likewise.
6796 2014-04-15 Keith Seitz <keiths@redhat.com>
6798 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6800 (test_rbreak_creation_and_listing): Likewise.
6801 (test_ignore_count): Likewise.
6802 (test_error): Likewise.
6804 2014-04-15 Pedro Alves <palves@redhat.com>
6806 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6807 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6809 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6810 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6811 to sym-file-loader.c.
6812 (struct library): Forward declare.
6813 (load_shlib, lookup_function): Change prototypes.
6814 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6815 (translate_offset): Remove declarations.
6816 (get_text_addr): New declaration.
6817 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6818 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6820 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6821 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6822 here from sym-file-loader.h.
6823 (struct library): New structure.
6824 (load_shlib, lookup_function): Change prototypes and adjust to
6825 work with a struct library.
6826 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6827 (translate_offset): Make static.
6828 (get_text_addr): New function.
6829 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6831 2014-04-15 Pedro Alves <palves@redhat.com>
6833 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6835 2014-04-15 Pedro Alves <palves@redhat.com>
6837 * gdb.base/sym-file-loader.c: Include <limits.h>.
6838 (SELF_LINK): New define.
6839 (get_origin): New function.
6840 (load_shlib): Use it.
6841 * gdb.base/sym-file.exp: Don't early return if the target is
6842 remote. Use runto_main, and issue fail is that fails. Use
6844 (shlib_name): Delete.
6845 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6847 2014-04-15 Pedro Alves <palves@redhat.com>
6849 * gdb.base/sym-file.exp: Remove regex characters from test
6850 message. Don't refer to breakpoint numbers in test messages.
6852 2014-04-14 Keith Seitz <keiths@redhat.com>
6855 * gdb.cp/var-tag.cc: New file.
6856 * gdb.cp/var-tag.exp: New file.
6857 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6858 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6859 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6860 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6862 2014-04-14 Tom Tromey <tromey@redhat.com>
6864 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6865 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6867 * gdb.cp/enum-class.exp: New file.
6868 * gdb.cp/enum-class.cc: New file.
6870 2014-04-14 Tom Tromey <tromey@redhat.com>
6872 * gdb.dwarf2/enum-type.exp: New file.
6874 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6876 * gdb.mi/mi-vla-c99.exp: New file.
6877 * gdb.mi/vla.c: New file.
6879 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6881 * gdb.base/vla-datatypes.c: New file.
6882 * gdb.base/vla-datatypes.exp: New file.
6884 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6886 * gdb.base/vla-ptr.c: New file.
6887 * gdb.base/vla-ptr.exp: New file.
6889 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6891 * gdb.dwarf2/count.exp: New file.
6893 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6895 * gdb.base/vla-sideeffect.c: New file.
6896 * gdb.base/vla-sideeffect.exp: New file.
6898 2014-04-14 David Blaikie <dblaikie@gmail.com>
6900 * gdb.mi/non-stop.c: Add return value for non-void function return
6902 * gdb.threads/staticthreads.c: Ditto.
6904 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6905 Doug Evans <xdje42@gmail.com>
6907 * gdb.guile/scm-value.c: Improve test case.
6908 * gdb.guile/scm-value.exp: Add new test.
6910 2014-04-11 David Blaikie <dblaikie@gmail.com>
6912 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6913 override Clang's default.
6915 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6917 Revert the following changes (regressions):
6919 * gdb.base/vla-sideeffect.c: New file.
6920 * gdb.base/vla-sideeffect.exp: New file.
6922 * gdb.dwarf2/count.exp: New file.
6924 * gdb.base/vla-multi.c: New file.
6925 * gdb.base/vla-multi.exp: New file.
6927 * gdb.base/vla-ptr.c: New file.
6928 * gdb.base/vla-ptr.exp: New file.
6930 * gdb.base/vla-datatypes.c: New file.
6931 * gdb.base/vla-datatypes.exp: New file.
6933 * gdb.mi/mi-vla-c99.exp: New file.
6934 * gdb.mi/vla.c: New file.
6936 2014-04-11 Keith Seitz <keiths@redhat.com>
6939 * gdb.cp/cpsizeof.exp: New file.
6940 * gdb.cp/cpsizeof.cc: New file.
6942 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6944 * gdb.mi/mi-vla-c99.exp: New file.
6945 * gdb.mi/vla.c: New file.
6947 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6949 * gdb.base/vla-datatypes.c: New file.
6950 * gdb.base/vla-datatypes.exp: New file.
6952 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6954 * gdb.base/vla-ptr.c: New file.
6955 * gdb.base/vla-ptr.exp: New file.
6957 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6959 * gdb.base/vla-multi.c: New file.
6960 * gdb.base/vla-multi.exp: New file.
6962 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6964 * gdb.dwarf2/count.exp: New file.
6966 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6968 * gdb.base/vla-sideeffect.c: New file.
6969 * gdb.base/vla-sideeffect.exp: New file.
6971 2014-04-11 Yao Qi <yao@codesourcery.com>
6973 * gdb.base/completion.exp: Check file exists before running tests
6976 2014-04-10 Pedro Alves <palves@redhat.com>
6978 * gdb.base/cond-eval-mode.c: New file.
6979 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6980 prepare_for_testing to build the new file. Check result of
6982 (test_break, test_watch): New procedures.
6983 (top level): Use them.
6985 2014-04-08 Pierre Muller <muller@sourceware.org>
6987 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6988 Ctrl-V use for mingw hosts.
6990 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6992 * gdb.python/py-value.c: Improve test case.
6993 * gdb.python/py-value.exp: Add new test.
6995 2014-04-07 David Blaikie <dblaikie@gmail.com>
6997 * lib/compiler.c: Identify the clang compiler.
6998 * lib/compiler.cc: Ditto.
7000 2014-04-03 Yao Qi <yao@codesourcery.com>
7002 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7004 2014-04-01 Anton Blanchard <anton@samba.org>
7006 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7009 2014-04-01 Anton Blanchard <anton@samba.org>
7011 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7012 prepare_for_testing.
7014 2014-04-01 Anton Blanchard <anton@samba.org>
7016 * gdb.arch/ppc64-atomic-inst.c: Remove.
7017 * gdb.arch/ppc64-atomic-inst.S: New file.
7018 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7020 2014-03-31 Doug Evans <dje@google.com>
7022 * gdb.base/print-symbol-loading-lib.c: New file.
7023 * gdb.base/print-symbol-loading-main.c: New file.
7024 * gdb.base/print-symbol-loading.exp: New file.
7026 2014-03-31 Yao Qi <yao@codesourcery.com>
7028 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7030 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7032 * gdb.ada/mi_dyn_arr: New testcase.
7034 2014-03-27 Doug Evans <dje@google.com>
7036 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7038 2014-03-27 Yao Qi <yao@codesourcery.com>
7040 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7041 if target is nios2-*-*.
7043 2014-03-26 Yao Qi <yao@codesourcery.com>
7045 * lib/gdb.exp (readline_is_used): New proc.
7046 * gdb.base/completion.exp: Move tests on command complete up.
7047 Skip the rest of tests if readline is not used.
7048 * gdb.ada/complete.exp: Skp the test if readline is not
7050 * gdb.base/filesym.exp: Likewise.
7051 * gdb.base/macscp.exp: Likewise.
7052 * gdb.base/readline-ask.exp: Likewise.
7053 * gdb.base/readline.exp: Likewise.
7054 * gdb.python/py-cmd.exp: Likewise.
7055 * gdb.trace/tfile.exp: Likewise.
7057 2014-03-26 Yao Qi <yao@codesourcery.com>
7059 * gdb.base/macscp.exp: Fix code format issues.
7061 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7063 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7064 * gdb.asm/powerpc64le.inc: New file.
7066 2014-03-25 Pedro Alves <palves@redhat.com>
7067 Doug Evans <dje@google.com>
7069 * gdb.base/source-execution.c: New file.
7070 * gdb.base/source-execution.exp: New file.
7071 * gdb.base/source-execution.gdb: New file.
7073 2014-03-24 Doug Evans <dje@google.com>
7075 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7078 2014-03-24 Hui Zhu <hui@codesourcery.com>
7079 Pedro Alves <palves@redhat.com>
7081 PR breakpoints/16101
7082 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7083 test pass/fail messages. Detect missing support for dprintf when
7084 breakpoints are actually inserted.
7085 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7086 breakpoints are actually inserted.
7087 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7090 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7092 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7094 2014-03-22 Doug Evans <xdje42@gmail.com>
7096 * gdb.python/python.exp (python not supported): Verify multi-line
7097 python command issues an error.
7098 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7099 guile command issues an error.
7101 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7103 * gdb.threads/thread-specific.exp: Handle the lack of usable
7104 $this_breakpoint and $this_thread.
7106 2014-03-21 Hui Zhu <hui@codesourcery.com>
7108 * gdb.base/attach.exp (do_command_attach_tests): New.
7110 2014-03-20 Tom Tromey <tromey@redhat.com>
7111 Pedro Alves <palves@redhat.com>
7114 * gdb.base/condbreak-call-false.c: New file.
7115 * gdb.base/condbreak-call-false.exp: New file.
7117 2014-03-20 Pedro Alves <palves@redhat.com>
7119 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7121 (block_signals, unblock_signals): Delete.
7122 (child_function_2, main): Remove references to deleted variable
7125 2014-03-20 Pedro Alves <palves@redhat.com>
7127 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7128 Use pthread_kill to signal thread 2.
7129 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7130 Adjust to make the test send itself a signal rather than using the
7131 host's "kill" command.
7133 2014-03-20 Pedro Alves <palves@redhat.com>
7135 * gdb.threads/multiple-step-overs.c: New file.
7136 * gdb.threads/multiple-step-overs.exp: New file.
7137 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7138 Adjust expected infrun debug output.
7140 2014-03-20 Pedro Alves <palves@redhat.com>
7142 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7143 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7145 2014-03-20 Pedro Alves <palves@redhat.com>
7148 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7149 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7150 of gdb_test_multiple.
7151 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7152 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7154 2014-03-20 Pedro Alves <palves@redhat.com>
7156 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7157 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7159 2014-03-19 Pedro Alves <palves@redhat.com>
7161 * gdb.base/async.exp: Remove early return.
7163 2014-03-19 Pedro Alves <palves@redhat.com>
7165 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7167 2014-03-19 Pedro Alves <palves@redhat.com>
7169 * gdb.base/async.exp (test_background): Expect \r\n after
7170 "completed." in the fail pattern.
7172 2014-03-19 Pedro Alves <palves@redhat.com>
7174 * gdb.base/async.exp (test_background): New procedure.
7175 Use it for all background execution command tests.
7177 2014-03-19 Pedro Alves <palves@redhat.com>
7179 * gdb.base/async.exp: Use prepare_for_testing.
7181 2014-03-19 Pedro Alves <palves@redhat.com>
7183 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7186 2014-03-19 Pedro Alves <palves@redhat.com>
7188 * gdb.base/async.c (main): Add "jump here" and "until here" line
7190 * gdb.base/async.exp (jump_here): New global.
7191 (jump& test): Use it.
7192 (until_here): New global.
7193 (until& test): Use it.
7195 2014-03-19 Pedro Alves <palves@redhat.com>
7197 * gdb.base/async.exp: Don't frob gdb_protocol.
7199 2014-03-18 Doug Evans <xdje42@gmail.com>
7201 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7202 Fix spelling of exec-done-display.
7204 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7207 * gdb.base/gdb-sigterm.c: New file.
7208 * gdb.base/gdb-sigterm.exp: New file.
7210 2014-03-18 Pedro Alves <palves@redhat.com>
7213 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7214 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7217 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7219 * gdb.ada/pckd_arr_ren: New testcase.
7221 2014-03-13 Doug Evans <xdje42@gmail.com>
7224 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7225 collect after discarding symbols.
7227 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7228 Doug Evans <xdje42@gmail.com>
7230 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7231 to history survives a gc.
7233 2014-03-13 Pedro Alves <palves@redhat.com>
7235 * gdb.base/default.exp: Don't test "target procfs".
7237 2014-03-13 Pedro Alves <palves@redhat.com>
7239 * gdb.base/default.exp: Update "target child" and "target procfs"
7240 tests to not expect "Unix".
7242 2014-03-12 Tom Tromey <tromey@redhat.com>
7244 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7245 New procs. Add target-async tests.
7246 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7247 Add target-async tests.
7249 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7251 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7252 'func_start' and 'func_end' for the beginning and end of the
7253 function code, respectively.
7254 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7255 'func_end' instead of 'func' and 'main'.
7257 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7259 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7260 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7261 generate the debug info assembler source.
7263 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7265 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7266 * gdb.dwarf2/arr-subrange.exp: Likewise.
7267 * gdb.dwarf2/dwz.exp: Likewise.
7268 * gdb.dwarf2/method-ptr.exp: Likewise.
7269 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7270 * gdb.dwarf2/subrange.exp: Likewise.
7271 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7272 * gdb.dwarf2/implptrpiece.exp: Likewise.
7273 * gdb.dwarf2/nostaticblock.exp: Likewise.
7275 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7277 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7278 directory to absolute path name arguments.
7280 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7282 * gdb.ada/tagged_access: New testcase.
7284 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7286 * gdb.btrace/data.exp: Update expected output.
7288 2014-03-06 Yao Qi <yao@codesourcery.com>
7290 * gdb.trace/pr16508.exp: New file.
7292 2014-03-05 Pedro Alves <palves@redhat.com>
7295 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7297 (top level): Adjust to use it. Add tests that exercise breakpoint
7298 interaction with the code-cache.
7300 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7302 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7303 test for 'history-append!'.
7305 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7307 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7308 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7309 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7310 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7311 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7312 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7314 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7316 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7317 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7318 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7320 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7322 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7324 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7326 * gdb.dwarf2/arr-stride.c: New file.
7327 * gdb.dwarf2/arr-stride.exp: New file.
7329 2014-02-26 Pedro Alves <palves@redhat.com>
7331 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7332 that won't ever trigger. Make sure that GDB reports the correct
7333 breakpoint that caused the stop.
7335 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7338 * gdb.base/auto-load-script: New file.
7339 * gdb.base/auto-load.c: New file.
7340 * gdb.base/auto-load.exp: New file.
7343 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7345 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7347 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7348 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7350 2014-02-24 Doug Evans <dje@google.com>
7352 * lib/gdb.exp (run_on_host): Log error output if program fails.
7354 2014-02-21 Pedro Alves <palves@redhat.com>
7356 * gdb.threads/step-after-sr-lock.c: Rename to ...
7357 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7358 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7359 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7362 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7365 * gdb.arch/amd64-stap-special-operands.exp: New file.
7366 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7367 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7368 * gdb.arch/amd64-stap-triplet.S: Likewise.
7369 * gdb.arch/amd64-stap-triplet.c: Likewise.
7371 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7373 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7374 in .section pseudo-op.
7376 2014-02-20 lin zuojian <manjian2006@gmail.com>
7377 Joel Brobecker <brobecker@adacore.com>
7378 Doug Evans <xdje42@gmail.com>
7381 * gdb.dwarf2/dw2-icycle.S: New file.
7382 * gdb.dwarf2/dw2-icycle.c: New file.
7383 * gdb.dwarf2/dw2-icycle.exp: New file.
7385 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7387 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7388 operations on gdb.Value objects.
7389 * gdb.python/py-value-cc.exp: Add new test to test operations on
7392 2014-02-18 Doug Evans <dje@google.com>
7394 * Makefile.in (TESTS): New variable.
7395 (expanded_tests, expanded_tests_or_none): New variables
7396 (check-single): Pass $(expanded_tests_or_none) to runtest.
7397 (check-parallel): Only run tests in $(TESTS) if non-empty.
7398 (check/no-matching-tests-found): New rule.
7399 * README: Document TESTS makefile variable.
7401 2014-02-18 Doug Evans <dje@google.com>
7403 * Makefile.in (check-parallel): rm -rf outputs temp.
7405 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7407 Fix "ERROR: no fileid for" in the testsuite.
7408 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7410 2014-02-12 Doug Evans <dje@google.com>
7412 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7413 (MISCELLANEOUS): New variable.
7414 (clean): rm -rf $(MISCELLANEOUS).
7415 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7416 dwp live in the same directory as symlinks, with each symlink pointed
7417 to a differently named file in a different directory.
7419 2014-02-11 Doug Evans <dje@google.com>
7421 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7422 of Tcl file commands.
7424 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7426 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7429 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7431 * gdb.ada/tick_length_array_enum_idx: New testcase.
7433 2014-02-10 Doug Evans <xdje42@gmail.com>
7435 * configure.ac (AC_OUTPUT): Add gdb.guile.
7436 * configure: Regenerate.
7437 * lib/gdb-guile.exp: New file.
7438 * lib/gdb.exp (get_target_charset): New function.
7439 * gdb.base/help.exp: Update expected output from "apropos apropos".
7440 * gdb.guile/Makefile.in: New file.
7441 * gdb.guile/guile.exp: New file.
7442 * gdb.guile/scm-arch.c: New file.
7443 * gdb.guile/scm-arch.exp: New file.
7444 * gdb.guile/scm-block.c: New file.
7445 * gdb.guile/scm-block.exp: New file.
7446 * gdb.guile/scm-breakpoint.c: New file.
7447 * gdb.guile/scm-breakpoint.exp: New file.
7448 * gdb.guile/scm-disasm.c: New file.
7449 * gdb.guile/scm-disasm.exp: New file.
7450 * gdb.guile/scm-equal.c: New file.
7451 * gdb.guile/scm-equal.exp: New file.
7452 * gdb.guile/scm-error.exp: New file.
7453 * gdb.guile/scm-error.scm: New file.
7454 * gdb.guile/scm-frame-args.c: New file.
7455 * gdb.guile/scm-frame-args.exp: New file.
7456 * gdb.guile/scm-frame-args.scm: New file.
7457 * gdb.guile/scm-frame-inline.c: New file.
7458 * gdb.guile/scm-frame-inline.exp: New file.
7459 * gdb.guile/scm-frame.c: New file.
7460 * gdb.guile/scm-frame.exp: New file.
7461 * gdb.guile/scm-generics.exp: New file.
7462 * gdb.guile/scm-gsmob.exp: New file.
7463 * gdb.guile/scm-iterator.c: New file.
7464 * gdb.guile/scm-iterator.exp: New file.
7465 * gdb.guile/scm-math.c: New file.
7466 * gdb.guile/scm-math.exp: New file.
7467 * gdb.guile/scm-objfile-script-gdb.in: New file.
7468 * gdb.guile/scm-objfile-script.c: New file.
7469 * gdb.guile/scm-objfile-script.exp: New file.
7470 * gdb.guile/scm-objfile.c: New file.
7471 * gdb.guile/scm-objfile.exp: New file.
7472 * gdb.guile/scm-ports.exp: New file.
7473 * gdb.guile/scm-pretty-print.c: New file.
7474 * gdb.guile/scm-pretty-print.exp: New file.
7475 * gdb.guile/scm-pretty-print.scm: New file.
7476 * gdb.guile/scm-section-script.c: New file.
7477 * gdb.guile/scm-section-script.exp: New file.
7478 * gdb.guile/scm-section-script.scm: New file.
7479 * gdb.guile/scm-symbol.c: New file.
7480 * gdb.guile/scm-symbol.exp: New file.
7481 * gdb.guile/scm-symtab-2.c: New file.
7482 * gdb.guile/scm-symtab.c: New file.
7483 * gdb.guile/scm-symtab.exp: New file.
7484 * gdb.guile/scm-type.c: New file.
7485 * gdb.guile/scm-type.exp: New file.
7486 * gdb.guile/scm-value-cc.cc: New file.
7487 * gdb.guile/scm-value-cc.exp: New file.
7488 * gdb.guile/scm-value.c: New file.
7489 * gdb.guile/scm-value.exp: New file.
7490 * gdb.guile/source2.scm: New file.
7491 * gdb.guile/types-module.cc: New file.
7492 * gdb.guile/types-module.exp: New file.
7494 2014-02-10 Yao Qi <yao@codesourcery.com>
7497 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7498 * configure: Regenerated.
7499 * Makefile.in: New file.
7501 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7503 * gdb.python/py-framefilter.exp: Fix typo.
7505 2014-02-08 Yao Qi <yao@codesourcery.com>
7507 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7508 that no =breakpoint-modified is emitted when breakpoints are
7509 modified through MI commands.
7511 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7512 Pedro Alves <palves@redhat.com>
7514 * gdb.threads/step-after-sr-lock.c: New file.
7515 * gdb.threads/step-after-sr-lock.exp: New file.
7517 2014-02-07 Pedro Alves <palves@redhat.com>
7519 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7521 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7523 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7524 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7526 2014-02-06 Doug Evans <xdje42@gmail.com>
7528 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7531 * gdb.gdb/python-interrupts.exp: New file.
7533 2014-02-05 Yao Qi <yao@codesourcery.com>
7535 * gdb.trace/report.exp (use_collected_data): Test the output
7536 of "info threads" and "info inferiors".
7538 2014-02-05 Yao Qi <yao@codesourcery.com>
7542 2013-05-24 Yao Qi <yao@codesourcery.com>
7544 * gdb.trace/tfile.exp: Test inferior and thread.
7546 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7548 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7550 * gdb.base/step-bt.c: Call hello via function pointer to make
7551 sure its first instruction is executed on powerpc64le-linux.
7553 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7555 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7557 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7559 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7560 of the test patterns for use on little-endian systems.
7562 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7564 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7565 (decimal_vector): Fix for little-endian.
7567 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7569 * gdb.arch/sparc-sysstep.exp: New file.
7570 * gdb.arch/sparc-sysstep.c: Likewise.
7572 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7574 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7576 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7578 2014-01-23 Tom Tromey <tromey@redhat.com>
7580 * gdb.ada/array_char_idx: New testcase.
7582 2014-01-23 Tom Tromey <tromey@redhat.com>
7585 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7586 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7589 2014-01-23 Tom Tromey <tromey@redhat.com>
7592 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7593 string from an inferior frame.
7594 * gdb.python/py-framefilter-mi.exp: Update.
7596 2014-01-22 Doug Evans <dje@google.com>
7598 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7600 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7602 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7604 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7606 * gdb.trace/entry-values.exp: Remove excess space character from
7607 regex patterns. Handle s390 call instruction.
7609 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7611 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7612 define "*_start" label. Make "name" static.
7613 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7614 ${name} by references to ${name}_start.
7616 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7618 * gdb.base/info-macros.exp: Remove "debug" from the compile
7621 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7623 * gdb.dlang/demangle.exp: New file.
7625 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7627 * gdb.dlang/primitive-types.exp: New file.
7629 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7631 * configure.ac: Create gdb.dlang/Makefile.
7632 * configure: Regenerate.
7633 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7634 * gdb.dlang/Makefile.in: New file.
7635 * lib/d-support.exp: New file.
7636 * lib/gdb.exp (skip_d_tests): New proc.
7638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7640 * gdb.btrace/delta.exp: Check reverse stepi.
7641 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7642 * gdb.btrace/finish.exp: New.
7643 * gdb.btrace/next.exp: New.
7644 * gdb.btrace/nexti.exp: New.
7645 * gdb.btrace/record_goto.c: Add comments.
7646 * gdb.btrace/step.exp: New.
7647 * gdb.btrace/stepi.exp: New.
7648 * gdb.btrace/multi-thread-step.c: New.
7649 * gdb.btrace/multi-thread-step.exp: New.
7650 * gdb.btrace/rn-dl-bind.c: New.
7651 * gdb.btrace/rn-dl-bind.exp: New.
7652 * gdb.btrace/data.c: New.
7653 * gdb.btrace/data.exp: New.
7654 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7658 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7659 * gdb.btrace/exception.exp: Update.
7660 * gdb.btrace/instruction_history.exp: Update.
7661 * gdb.btrace/record_goto.exp: Update.
7662 * gdb.btrace/tailcall.exp: Update.
7663 * gdb.btrace/unknown_functions.exp: Update.
7664 * gdb.btrace/delta.exp: New.
7666 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7668 * gdb.btrace/record_goto.exp: Add backtrace test.
7669 * gdb.btrace/tailcall.exp: Add backtrace test.
7671 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7673 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7674 * gdb.btrace/record_goto.c: New.
7675 * gdb.btrace/record_goto.exp: New.
7676 * gdb.btrace/x86-record_goto.S: New.
7678 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7680 * gdb.btrace/function_call_history.exp: Update tests.
7681 * gdb.btrace/instruction_history.exp: Update tests.
7683 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7685 * gdb.btrace/function_call_history.exp: Fix expected field
7686 order for "record function-call-history".
7687 Add new tests for "record function-call-history /c".
7688 * gdb.btrace/exception.cc: New.
7689 * gdb.btrace/exception.exp: New.
7690 * gdb.btrace/tailcall.exp: New.
7691 * gdb.btrace/x86-tailcall.S: New.
7692 * gdb.btrace/x86-tailcall.c: New.
7693 * gdb.btrace/unknown_functions.c: New.
7694 * gdb.btrace/unknown_functions.exp: New.
7695 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7699 * gdb.btrace/instruction_history.exp: Update.
7700 * gdb.btrace/function_call_history.exp: Update.
7702 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7704 * gdb.btrace/function_call_history.exp: Fix expected function
7706 * gdb.btrace/instruction_history.exp: Initialize traced.
7707 Remove traced_functions.
7709 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7711 * gdb.btrace/function_call_history.exp: Update
7712 * gdb.btrace/instruction_history.exp: Update.
7714 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7716 * gdb.btrace/enable.exp: Update expected text.
7718 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7720 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7723 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7725 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7727 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7729 * lib/gdb.exp (supports_process_record): Return true for
7730 arm*-linux*. (supports_reverse): Likewise.
7732 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7736 * gdb.python/py-type.c: Enhance test case.
7737 * gdb.python/py-value-cc.cc: Likewise
7738 * gdb.python/py-type.exp: Add new tests.
7739 * gdb.python/py-value-cc.exp: Likewise
7741 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7742 Pedro Alves <palves@redhat.com>
7744 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7746 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7747 references to ${name}_start by references to ${name}.
7749 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7751 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7753 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7755 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7757 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7758 Pedro Alves <palves@redhat.com>
7760 * gdb.mi/mi-info-os.exp: Connect to the target with
7763 2014-01-08 Pedro Alves <palves@redhat.com>
7765 * gdb.threads/reconnect-signal.c: New file.
7766 * gdb.threads/reconnect-signal.exp: New file.
7768 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7770 * gdb.base/source-dir.exp: New file.
7772 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7774 * gdb.ada/mi_interface: New testcase.
7776 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7778 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7779 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7780 gdb.ada/pp-rec-component/pck.ads: New files.
7782 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7784 * gdb.python/py-pp-integral.c: New file.
7785 * gdb.python/py-pp-integral.py: New file.
7786 * gdb.python/py-pp-integral.exp: New file.
7788 For older changes see ChangeLog-1993-2013.
7794 ;; version-control: never
7797 Copyright 2014-2016 Free Software Foundation, Inc.
7798 Copying and distribution of this file, with or without modification,
7799 are permitted provided the copyright notice and this notice are preserved.