1 2016-03-03 Doug Evans <dje@google.com>
3 * gdb.base/skip.exp: Use with_test_prefix.
5 2016-03-03 Yao Qi <yao.qi@linaro.org>
7 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8 Invoke step_over_syscall "clone" and break_cond_on_syscall
10 * gdb.base/step-over-clone.c: New file.
12 2016-03-03 Yao Qi <yao.qi@linaro.org>
14 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
17 2016-03-03 Yao Qi <yao.qi@linaro.org>
19 * gdb.base/disp-step-fork.c: Rename to ...
20 * gdb.base/step-over-fork.c: ... it. New file.
21 * gdb.base/disp-step-vfork.c: Rename to ...
22 * gdb.base/step-over-vfork.c: ... it. New file.
23 * gdb.base/disp-step-syscall.exp: Rename to ...
24 * gdb.base/step-over-syscall.exp: ... it. New file.
25 (disp_step_cross_syscall): Rename to ...
26 (step_over_syscall): ... it.
28 2016-03-03 Yao Qi <yao.qi@linaro.org>
30 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
31 If target supports condition evaluation on target, invoke
32 break_cond_on_syscall for fork and vfork.
34 2016-03-03 Yao Qi <yao.qi@linaro.org>
36 * gdb.base/disp-step-syscall.exp: Don't invoke
37 support_displaced_stepping.
38 (disp_step_cross_syscall): Test with displaced stepping off and
41 2016-03-03 Yao Qi <yao.qi@linaro.org>
43 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
46 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
49 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
51 * gdb.fortran/vla-history.exp: Remove breakpoint.
53 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
55 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
57 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
59 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
61 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
63 * gdb.mi/vla.f90: Nullify pointer after declaration.
65 2016-03-01 Pedro Alves <palves@redhat.com>
67 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
69 2016-03-01 Pedro Alves <palves@redhat.com>
71 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
73 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
75 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
77 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
79 2016-03-01 Pedro Alves <palves@redhat.com>
81 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
83 2016-03-01 Yao Qi <yao.qi@linaro.org>
85 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
88 2016-03-01 Yao Qi <yao.qi@linaro.org>
90 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
92 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
94 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
95 manually constructing the output path.
97 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
99 * gdb.arch/s390-stackless.S: New.
100 * gdb.arch/s390-stackless.exp: New.
102 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
104 * gdb.dlang/circular.c: New file.
105 * gdb.dlang/circular.exp: New file.
107 2016-02-26 Yao Qi <yao.qi@linaro.org>
109 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
110 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
113 2016-02-26 Yao Qi <yao.qi@linaro.org>
115 * gdb.reverse/aarch64.c: Rename to ...
116 * gdb.reverse/insn-reverse.c: ... it.
117 * gdb.reverse/aarch64.exp: Rename to ...
118 * gdb.reverse/insn-reverse.exp: ... it.
120 2016-02-26 Yao Qi <yao.qi@linaro.org>
122 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
123 (testcase_ftype): New.
124 (testcases): New array.
126 (main): Call each element in testcases.
127 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
128 (read_testcase): New.
129 Do the tests in a loop.
131 2016-02-25 Yao Qi <yao.qi@linaro.org>
133 * gdb.base/branches.c: Remove.
135 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
138 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
140 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
142 * gdb.trace/ftrace.exp: Remove unnecessary target check.
144 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
146 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
147 change x86_64 call_insn to 'callq'.
149 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
151 * gdb.trace/tfile-avx.c: Move to...
152 * gdb.trace/tracefile-pseudo-reg.c: Here.
153 * gdb.trace/tfile-avx.exp: Move to...
154 * gdb.trace/tracefile-pseudo-reg.exp: Here.
156 2016-02-24 Gary Benson <gbenson@redhat.com>
158 * gdb.base/attach-pie-noexec.exp: Do not expect an error
161 2016-02-23 Doug Evans <dje@google.com>
163 * gdb.base/skip.c (test_skip): New function.
164 (end_test_skip_file_and_function): New function.
165 (test_skip_file_and_function): New function.
166 * gdb.base/skip1.c (test_skip): New function.
167 (skip1_test_skip_file_and_function): New function.
168 * gdb.base/skip.exp: Add tests for new skip options.
169 * gdb.base/skip-solib.exp: Update expected output.
170 * gdb.perf/skip-command.cc: New file.
171 * gdb.perf/skip-command.exp: New file.
172 * gdb.perf/skip-command.py: New file.
174 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
176 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
177 info registers pattern.
179 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
181 * lib/future.exp: Add D support.
182 (gdb_find_gdc): New proc.
183 (gdb_default_target_compile): Add D support.
185 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
187 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
189 (trace_speed_test): Determine the iteration count for a time
190 between 15..30 seconds.
192 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
194 * gdb.arch/i386-mpx-sigsegv.c: New file.
195 * gdb.arch/i386-mpx-sigsegv.exp: New file.
196 * gdb.arch/i386-mpx-simple_segv.c: New file.
197 * gdb.arch/i386-mpx-simple_segv.exp: New file.
199 2016-02-18 Yao Qi <yao.qi@linaro.org>
201 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
202 Don't call setup_kfail.
204 2016-02-18 Yao Qi <yao.qi@linaro.org>
206 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
207 Set "set breakpoint condition-evaluation" per $cond_bp_target.
209 2016-02-16 Doug Evans <dje@google.com>
211 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
212 * gdb.base/skip1.c: Ditto.
213 * gdb.base/skip.exp: Whitespace cleanup.
215 2016-02-16 Don Breazeal <donb@codesourcery.com>
218 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
219 Remove kfail for PR remote/19496.
221 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
223 * lib/gdb.exp (standard_temp_file): Return a path specific to
224 the runtest invocation.
226 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
228 * gdb.trace/save-trace.exp: Change relative path to be in the
229 standard output directory.
231 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
233 * gdb.arch/i386-prologue.c: Add missing prototypes.
235 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
237 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
238 * gdb.arch/i386-prologue.exp: Likewise.
239 * gdb.arch/i386-size.exp: Likewise.
241 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
243 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
244 define object file path.
245 * gdb.btrace/gcore.exp: Use standard_output_file to define core
247 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
248 standard_output_file to define binfile.
250 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
252 Fix compatibility with recent gfortran-5.3.1.
253 * gdb.fortran/vla-history.exp (print vla1 allocated)
254 (print vla2 allocated, print $2, print $3): Remove
255 (print $4): Rename to ...
256 (print $2): ... here.
257 (print $9): Rename to ...
258 (print $5): ... here.
259 (print $10): Rename to ...
260 (print $6): ... here.
261 * gdb.fortran/vla.f90: Add pvla initialization.
263 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
265 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
267 * gdb.fortran/vla-value-sub.exp: Likewise.
269 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
271 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
273 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
275 * i386-biarch-core.exp: Define corefile using
276 standard_output_file.
278 2016-02-12 Yao Qi <yao.qi@linaro.org>
280 * gdb.arch/arm-single-step-kernel-helper.c: New.
281 * gdb.arch/arm-single-step-kernel-helper.exp: New.
283 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
285 * gdb.btrace/tailcall-only.exp: New.
286 * gdb.btrace/tailcall-only.c: New.
287 * gdb.btrace/x86_64-tailcall-only.S: New.
288 * gdb.btrace/i686-tailcall-only.S: New.
290 2016-02-11 Pedro Alves <palves@redhat.com>
292 * README (Parallel testing): Add missing double quotes.
294 2016-02-11 Pedro Alves <palves@redhat.com>
296 * README (Parallel testing): New section.
297 (GDB_PARALLEL): Rewrite.
298 (FORCE_PARALLEL): Document.
300 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
302 * gdb.trace/tfile-avx.c: New test.
303 * gdb.trace/tfile-avx.exp: New test.
305 2016-02-09 Keith Seitz <keiths@redhat.com>
308 * gdb.base/infcall-exec.c: New file.
309 * gdb.base/infcall-exec2.c: New file.
310 * gdb.base/infcall-exec.exp: New file.
312 2016-02-09 Keith Seitz <keiths@redhat.com>
314 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
315 (toplevel): Call test_bkpt_address.
317 2016-02-09 Keith Seitz <keiths@redhat.com>
320 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
321 (toplevel): Call test_bkpt_address.
323 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
325 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
327 * configure: Regenerate.
329 2016-02-09 Pedro Alves <palves@redhat.com>
332 * gdb.base/execl-update-breakpoints.c (some_function): New
335 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
336 Tighten expected GDB output.
338 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
340 * Makefile.in (ALL_SUBDIRS): Remove.
341 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
342 (distclean maintainer-clean realclean): Likewise.
343 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
344 * configure: Regenerate.
345 * gdb.ada/Makefile.in: Delete.
346 * gdb.arch/Makefile.in: Likewise.
347 * gdb.asm/Makefile.in: Likewise.
348 * gdb.base/Makefile.in: Likewise.
349 * gdb.btrace/Makefile.in: Likewise.
350 * gdb.cell/Makefile.in: Likewise.
351 * gdb.compile/Makefile.in: Likewise.
352 * gdb.cp/Makefile.in: Likewise.
353 * gdb.disasm/Makefile.in: Likewise.
354 * gdb.dlang/Makefile.in: Likewise.
355 * gdb.dwarf2/Makefile.in: Likewise.
356 * gdb.fortran/Makefile.in: Likewise.
357 * gdb.gdb/Makefile.in: Likewise.
358 * gdb.go/Makefile.in: Likewise.
359 * gdb.guile/Makefile.in: Likewise.
360 * gdb.java/Makefile.in: Likewise.
361 * gdb.linespec/Makefile.in: Likewise.
362 * gdb.mi/Makefile.in: Likewise.
363 * gdb.modula2/Makefile.in: Likewise.
364 * gdb.multi/Makefile.in: Likewise.
365 * gdb.objc/Makefile.in: Likewise.
366 * gdb.opencl/Makefile.in: Likewise.
367 * gdb.opt/Makefile.in: Likewise.
368 * gdb.pascal/Makefile.in: Likewise.
369 * gdb.perf/Makefile.in: Likewise.
370 * gdb.python/Makefile.in: Likewise.
371 * gdb.reverse/Makefile.in: Likewise.
372 * gdb.server/Makefile.in: Likewise.
373 * gdb.stabs/Makefile.in: Likewise.
374 * gdb.threads/Makefile.in: Likewise.
375 * gdb.trace/Makefile.in: Likewise.
376 * gdb.xml/Makefile.in: Likewise.
377 * lib/gdb.exp (make_gdb_parallel_path): Add check for
379 (standard_output_file): Remove check for GDB_PARALLEL, always
380 return path in outputs/$subdir/$testname.
382 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
384 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
385 (site.exp): Assign abs_srcdir to tcl's srcdir.
387 2016-02-04 Yao Qi <yao.qi@linaro.org>
389 * gdb.base/foll-exec-mode.c: Include limits.h.
390 (main): Add parameters argc and argv. Get directory from
392 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
394 * gdb.base/foll-exec.c: Include limits.h.
395 (main): Add parameters argc and argv.
396 Get directory from argv[0].
397 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
398 Adjust tests on the number of lines as source code changed.
399 * gdb.base/foll-vfork-exit.c: Include limits.h.
400 (main): Add one line of statement before vfork.
401 * gdb.base/foll-vfork.c: Include limits.h and string.h.
402 (main): Add parameters argc and argv. Get directory from
404 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
405 (setup_gdb): Set tbreak to skip some source lines.
406 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
407 (main): Add parameters argc and argv. Get directory from
409 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
411 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
412 (main): Add parameters argc and argv. Get directory from
414 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
417 2016-02-01 Doug Evans <dje@google.com>
419 * gdb.base/skip.exp: Clean up multiple references to same test name.
421 2016-02-01 Pedro Alves <palves@redhat.com>
424 * gdb.threads/forking-threads-plus-breakpoint.exp
425 (displaced_stepping_supported): New global.
426 (probe_displaced_stepping_support): New procedure.
427 (do_test): Add 'displaced' parameter, and use it.
428 (top level): Check for displaced stepping support. Add displaced
429 stepping on/off testing axis.
431 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
433 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
434 pointer. Don't perform further tests on the unassociated pointer
435 if the first test fails.
437 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
439 * gdb.base/max-value-size.c: New file.
440 * gdb.base/max-value-size.exp: New file.
441 * gdb.base/huge.exp: Disable max-value-size for this test.
443 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
445 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
447 2016-01-28 Yao Qi <yao.qi@linaro.org>
449 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
451 2016-01-25 Pedro Alves <palves@redhat.com>
454 * gdb.base/fork-running-state.c: New file.
455 * gdb.base/fork-running-state.exp: New file.
457 2016-01-25 Pedro Alves <palves@redhat.com>
460 * gdb.base/catch-fork-kill.c: New file.
461 * gdb.base/catch-fork-kill.exp: New file.
463 2016-01-25 Pedro Alves <palves@redhat.com>
465 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
466 Delete, moved to lib/gdb.exp.
467 * gdb.threads/forking-threads-plus-breakpoint.exp
468 (foreach_with_prefix): Likewise.
469 * gdb.threads/process-dies-while-handling-bp.exp
470 (foreach_with_prefix): Likewise.
471 * lib/gdb.exp (foreach_with_prefix): New procedure.
473 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
475 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
476 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
478 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
480 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
483 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
484 Pedro Alves <palves@redhat.com>
486 Fix testsuite compatibility with Guile.
487 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
490 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
492 Fix testsuite compatibility with Guile.
493 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
494 (thread 1): New test for backtrace through signal handler.
496 2016-01-22 Yao Qi <yao.qi@linaro.org>
499 * gdb.base/multi-forks.c: Include
500 ../lib/unbuffer_output.c
501 (main): Call gdb_unbuffer_output.
503 2016-01-21 Doug Evans <dje@google.com>
505 * lib/ada.exp (gdb_compile_ada): Fix typo.
507 2016-01-21 Joel Brobecker <brobecker@adacore.com>
509 * gdb.base/break-fun-addr.exp: New file.
510 * gdb.base/break-fun-addr1.c: New file.
511 * gdb.base/break-fun-addr2.c: New file.
513 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
515 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
516 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
519 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
521 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
522 when GDB can not set the vector return value. Add more comments
525 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
527 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
530 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
532 * Makefile.in (DO_RUNTEST): Add --status and update usages.
534 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
536 * Makefile.in (check-single): Pass --status to runtest.
537 (check/%.exp): Likewise.
539 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
541 * Makefile.in (check-parallel): Propagate return code from make
544 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
546 * gdb.trace/ftrace.exp: Fix expected message on continue.
547 * gdb.trace/pending.exp: Fix expected message on continue.
548 * gdb.trace/trace-break.exp: Fix expected message on continue.
550 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
552 * lib/gdb.exp (gdb_test): Remove unused global references.
554 2016-01-18 Pedro Alves <palves@redhat.com>
556 * gdb.base/async-shell.exp: Adjust expected output.
557 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
558 * gdb.base/siginfo-thread.exp: Adjust expected output.
559 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
560 * gdb.java/jnpe.exp: Adjust expected output.
561 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
562 * gdb.threads/continue-pending-status.exp: Adjust expected output.
563 * gdb.threads/leader-exit.exp: Adjust expected output.
564 * gdb.threads/manythreads.exp: Adjust expected output.
565 * gdb.threads/pthreads.exp: Adjust expected output.
566 * gdb.threads/schedlock.exp: Adjust expected output.
567 * gdb.threads/siginfo-threads.exp: Adjust expected output.
568 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
570 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
572 * gdb.threads/sigthread.exp: Adjust expected output.
573 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
575 2016-01-18 Yao Qi <yao.qi@linaro.org>
577 * gdb.guile/scm-section-script.c: Replace @progbits with
579 * gdb.python/py-section-script.c: Likewise.
581 2016-01-15 Pedro Alves <palves@redhat.com>
583 * gdb.multi/tids.exp: Test star wildcard ranges.
585 2016-01-15 Pedro Alves <palves@redhat.com>
587 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
588 command from "thread apply" invocation.
589 (thr_apply_info_thr_invalid): Default the expected output to the
591 (top level): Add tests that use convenience variables. Add tests
592 for "thread apply" with a valid TID list, but missing the command.
594 2016-01-13 Pedro Alves <palves@redhat.com>
596 * gdb.base/default.exp: Expect $_gthread as well.
597 * gdb.multi/tids.exp: Test $_gthread.
598 * gdb.threads/thread-specific.exp: Test $_gthread.
600 2016-01-13 Pedro Alves <palves@redhat.com>
602 * gdb.multi/tids.exp: Test "info threads -gid".
604 2016-01-13 Pedro Alves <palves@redhat.com>
606 * gdb.multi/tids.exp: Test InferiorThread.global_num and
608 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
610 2016-01-07 Pedro Alves <palves@redhat.com>
612 * gdb.base/break.exp: Adjust to output changes.
613 * gdb.base/hbreak2.exp: Likewise.
614 * gdb.base/sepdebug.exp: Likewise.
615 * gdb.base/watch_thread_num.exp: Likewise.
616 * gdb.linespec/keywords.exp: Likewise.
617 * gdb.multi/info-threads.exp: Likewise.
618 * gdb.threads/thread-find.exp: Likewise.
619 * gdb.multi/tids.c: New file.
620 * gdb.multi/tids.exp: New file.
622 2016-01-13 Pedro Alves <palves@redhat.com>
624 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
626 2016-01-13 Pedro Alves <palves@redhat.com>
628 * gdb.base/default.exp: Expect $_inferior as well.
629 * gdb.multi/base.exp: Test $_inferior.
631 2016-01-13 Pedro Alves <palves@redhat.com>
634 * gdb.base/catch-signal-siginfo-cond.c: New file.
635 * gdb.base/catch-signal-siginfo-cond.exp: New file.
637 2016-01-12 Josh Stone <jistone@redhat.com>
638 Philippe Waroquiers <philippe.waroquiers@skynet.be>
640 * gdb.base/catch-syscall.c (do_execve): New variable.
641 (main): Conditionally trigger an execve.
642 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
643 (test_catch_syscall_execve): New, check entry/return across execve.
644 (do_syscall_tests): Call test_catch_syscall_execve.
646 2016-01-12 Pedro Alves <palves@redhat.com>
648 * gdb.base/random-signal.exp (do_test): New procedure, with body
649 of testcase moved in.
651 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
652 Pedro Alves <palves@redhat.com>
654 * gdb.base/funcargs.exp (finish from indirectly called function):
655 Reintroduce the case for 'First'.
657 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
658 Pedro Alves <palves@redhat.com>
660 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
661 (tcatch_vfork_then_child_follow_exec)
662 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
665 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
667 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
668 and repeats to unlimited.
669 * gdb.python/py-value.exp: Likewise.
670 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
671 and repeats to unlimited.
673 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
675 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
676 and reordering the functions.
677 * gdb.multi/hangout.c: Likewise.
678 * gdb.multi/hello.c: Likewise.
680 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
682 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
684 (SingleStatisticTestResult.report): Use dict.keys instead of
687 2016-01-06 Pedro Alves <palves@redhat.com>
689 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
691 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
693 * gdb.btrace/dlopen.exp: New.
694 * gdb.btrace/dlopen.c: New.
695 * gdb.btrace/dlopen-dso.c: New.
697 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
699 * lib/gdb.exp (gdb_test): Update comments to clarify that the
700 PATTERN argument is optional.
702 2015-12-24 Joel Brobecker <brobecker@adacore.com>
704 * lib/ada.exp (target_compile_ada_from_dir): New function.
705 (gdb_compile_ada): Reimplement avoiding the use of project files.
706 * gdb.ada/gnat_ada.gpr: Delete.
707 * gdb.ada/cond_lang.exp: Adjust test to make path before
709 * gdb.ada/small_reg_param.exp: Likewise.
711 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
713 * gdb.base/foll-vork.exp: Remove HP-UX special case.
715 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
717 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
720 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
722 * gdb.base/break.exp: Remove dead code.
723 * gdb.base/sepdebug.exp: Likewise.
725 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
727 * gdb.asm/asm-source.exp: Remove HP-UX references.
728 * gdb.base/annota1.exp: Likewise.
729 * gdb.base/annota3.exp: Likewise.
730 * gdb.base/attach.exp: Likewise.
731 * gdb.base/bigcore.exp: Likewise.
732 * gdb.base/break.exp: Likewise.
733 * gdb.base/call-ar-st.exp: Likewise.
734 * gdb.base/callfuncs.exp: Likewise.
735 * gdb.base/catch-fork-static.exp: Likewise.
736 * gdb.base/display.exp: Likewise.
737 * gdb.base/foll-exec-mode.exp: Likewise.
738 * gdb.base/foll-exec.exp: Likewise.
739 * gdb.base/foll-fork.exp: Likewise.
740 * gdb.base/foll-vfork.exp: Likewise.
741 * gdb.base/funcargs.exp: Likewise.
742 * gdb.base/hbreak2.exp: Likewise.
743 * gdb.base/inferior-died.exp: Likewise.
744 * gdb.base/interrupt.exp: Likewise.
745 * gdb.base/multi-forks.exp: Likewise.
746 * gdb.base/nodebug.exp: Likewise.
747 * gdb.base/sepdebug.exp: Likewise.
748 * gdb.base/solib1.c: Likewise.
749 * gdb.base/step-test.exp: Likewise.
750 * gdb.mi/non-stop.c: Likewise.
751 * gdb.mi/pthreads.c: Likewise.
752 * gdb.multi/bkpt-multi-exec.ex: Likewise.
753 * gdb.threads/pthreads.c: Likewise.
754 * gdb.threads/staticthreads.exp: Likewise.
755 * lib/future.exp: Likewise.
756 * lib/gdb.exp: Likewise.
757 * gdb.base/so-indr-cl.c: Remove.
758 * gdb.base/so-indr-cl.exp: Likewise.
759 * gdb.base/solib.c: Likewise.
760 * gdb.base/solib.exp: Likewise.
761 * gdb.base/solib2.c: Likewise.
763 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
765 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
766 * gdb.base/call-ar-st.exp: Likewise.
767 * gdb.base/callfuncs.exp: Likewise.
768 * gdb.base/condbreak.exp: Likewise.
769 * gdb.base/constvars.exp: Likewise.
770 * gdb.base/hbreak2.exp: Likewise.
771 * gdb.base/langs.exp: Likewise.
772 * gdb.base/list.exp: Likewise.
773 * gdb.base/long_long.exp: Likewise.
774 * gdb.base/ptype.exp: Likewise.
775 * gdb.base/scope.exp: Likewise.
776 * gdb.base/signals.exp: Likewise.
777 * gdb.base/so-impl-ld.exp: Likewise.
778 * gdb.base/varargs.exp: Likewise.
779 * gdb.base/volatile.exp: Likewise.
780 * gdb.base/whatis.exp: Likewise.
781 * gdb.cp/cplusfuncs.exp: Likewise.
782 * gdb.cp/inherit.exp: Likewise.
783 * gdb.cp/local.exp: Likewise.
784 * gdb.cp/member-ptr.exp: Likewise.
785 * gdb.cp/method.exp: Likewise.
786 * gdb.cp/overload.exp: Likewise.
787 * gdb.cp/templates.exp: Likewise.
788 * gdb.stabs/weird.exp: Likewise.
789 * lib/compiler.c: Likewise.
790 * lib/compiler.cc: Likewise.
791 * lib/cp-support.exp: Likewise.
792 * lib/gdb.exp: Likewise.
794 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
796 * configure.ac: Remove HP-UX case.
797 * configure: Regenerate.
799 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
801 * lib/gdb.exp (gdb_compile): Add function doc.
803 2015-12-17 Pedro Alves <palves@redhat.com>
806 * gdb.multi/info-threads.exp: New file.
808 2015-12-15 Yao Qi <yao.qi@linaro.org>
810 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
813 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
815 * gdb.base/history-duplicates.exp: Skip if no readline support.
817 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
819 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
821 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
823 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
825 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
827 * gdb.base/completion.exp: Skip tests that interrupt GDB with
828 ctrl-C if nointerrupts target property is set.
829 * gdb.base/double-prompt-target-event-error.exp: Likewise.
830 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
831 * gdb.base/paginate-bg-execution.exp: Likewise.
832 * gdb.base/paginate-execution-startup.exp: Likewise.
833 * gdb.base/random-signal.exp: Likewise.
834 * gdb.base/range-stepping.exp: Likewise.
835 * gdb.cp/annota2.exp: Likewise.
836 * gdb.cp/annota3.exp: Likewise.
837 * gdb.gdb/selftest.exp: Likewise.
838 * gdb.threads/continue-pending-status.exp: Likewise.
839 * gdb.threads/leader-exit.exp: Likewise.
840 * gdb.threads/manythreads.exp: Likewise.
841 * gdb.threads/pthreads.exp: Likewise.
842 * gdb.threads/schedlock.exp: Likewise.
843 * gdb.threads/sigthread.exp: Likewise.
845 2015-12-11 Don Breazeal <donb@codesourcery.com>
847 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
849 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
850 * gdb.base/foll-exec.exp (main): Enable for target remote.
851 * gdb.base/foll-fork.exp (main): Likewise.
852 * gdb.base/foll-vfork.exp (main): Likewise.
853 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
854 (proc continue_to_exit_bp_loc): Use clean_restart.
855 * gdb.base/pie-execl.exp (main): Disable for target remote.
856 * gdb.base/watch-vfork.exp (main): Enable for target remote.
857 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
858 * gdb.threads/execl.exp (main): Likewise.
859 * gdb.threads/fork-child-threads.exp (main): Likewise.
860 * gdb.threads/fork-plus-threads.exp (main): Disable for target
862 * gdb.threads/fork-thread-pending.exp (main): Enable for target
864 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
865 pid.tid style ptids, instead of just tid.
866 * gdb.threads/thread-execl.exp (main): Enable for target remote.
867 * gdb.threads/watchpoint-fork.exp (main): Likewise.
868 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
869 ptids, instead of just tid.
871 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
873 * gdb.base/list.exp (test_list_forward): Add end of file error
875 (test_repeat_list_command): Add end of file error test.
876 (test_list_backwards): Add beginning of file error test.
878 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
880 * gdb.base/list.exp (test_list_invalid_args): New function,
883 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
885 * gdb.base/list.exp (test_list): Make test names unique.
887 2015-12-11 Yao Qi <yao.qi@linaro.org>
889 * gdb.base/coremaker2.c: Remove.
891 2015-12-10 Pedro Alves <palves@redhat.com>
893 * gdb.multi/base.exp: Remove stale "spaces" references.
895 2015-12-10 Pedro Alves <palves@redhat.com>
897 * gdb.multi/base.exp: Don't use nowarnings.
898 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
899 * gdb.multi/hangout.c: Include stdio.h.
900 * gdb.multi/hello.c: Include stdlib.h.
901 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
902 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
903 * gdb.multi/multi-arch.exp: Don't use nowarnings.
905 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
907 * gdb.dwarf2/dw2-ranges-base.c: New file.
908 * gdb.dwarf2/dw2-ranges-base.exp: New file.
909 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
910 support additional line table, and debug ranges generation.
911 (Dwarf::ranges): New function, generate .debug_ranges.
912 (Dwarf::lines): Support generating simple line table programs.
913 (Dwarf::assemble): Initialise new namespace variables.
915 2015-12-09 Kevin Buettner <kevinb@redhat.com>
917 * gdb.base/async.exp (proc test_background): Add case for
918 asynchronous execution not supported.
920 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
922 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
923 format and change test names to make them unique.
925 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
926 Pedro Alves <pedro@redhat.com>
929 Add checking of floatformats setup on x86_64 hosts.
930 * gdb.arch/i386-float.S (main): Load bigval and smallval.
931 (smallval, bigval): New labels/constants.
932 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
933 float" after loading bigval and smallval.
935 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
937 * gdb.ada/fun_overload_menu.exp: New testcase.
938 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
940 2015-12-04 Josh Stone <jistone@redhat.com>
942 * gdb.base/catch-fork-static.exp: New.
944 2015-12-03 Yao Qi <yao.qi@linaro.org>
946 * gdb.base/sizeof.c: Don't include stdio.h and
947 ../lib/unbuffer_output.c.
948 (main): New variable 'size' and 'value'. Remove printf and
949 gdb_unbuffer_output. Assign return value to size and value.
950 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
952 (check_sizeof): Check the result by printing variable 'size'.
953 (check_valueof): Check the result by printing variable 'value'.
955 2015-12-01 Yao Qi <yao.qi@linaro.org>
957 * gdb.base/disp-step-syscall.exp: Define syscall instruction
958 for aarch64*-*-linux* target.
960 2015-11-30 Pedro Alves <palves@redhat.com>
962 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
964 2015-11-30 Pedro Alves <palves@redhat.com>
966 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
967 Handle non-stop mode vCont replies.
969 2015-11-30 Pedro Alves <palves@redhat.com>
971 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
972 prepare_for_testing. Start gdb with "set non-stop on" appended to
973 GDBFLAGS. Lax expected stop output.
975 2015-11-27 Yao Qi <yao.qi@linaro.org>
977 * gdb.arch/arm-neon.exp: New.
978 * gdb.arch/arm-neon.c: New.
980 2015-11-27 Yao Qi <yao.qi@linaro.org>
982 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
984 2015-11-27 Yao Qi <yao.qi@linaro.org>
986 * gdb.cp/annota2.exp: Allow multiple occurrences of the
987 frames-invalid annotation.
989 2015-11-27 Yao Qi <yao.qi@linaro.org>
991 * gdb.cp/annota2.exp: Use ${frames_invalid}.
993 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
995 * gdb.threads/names.exp: New file.
996 * gdb.threads/names.c: New file.
997 * README: Mention gdb,no_thread_names.
999 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1002 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1005 2015-11-24 Pedro Alves <palves@redhat.com>
1008 * gdb.base/display.exp: Expect displays to be sorted in ascending
1009 order. Use multi_line.
1010 * gdb.base/solib-display.exp: Likewise.
1012 2015-11-24 Pedro Alves <palves@redhat.com>
1015 * gdb.base/display.exp: Expect displays to be sorted in ascending
1016 order. Use multi_line.
1017 * gdb.base/solib-display.exp: Likewise.
1019 2015-11-24 Pedro Alves <palves@redhat.com>
1022 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1023 threads in ascending order.
1024 * gdb.base/foll-fork.exp: Likewise.
1025 * gdb.base/foll-vfork.exp: Likewise.
1026 * gdb.base/multi-forks.exp: Likewise.
1027 * gdb.mi/mi-nonstop.exp: Likewise.
1028 * gdb.mi/mi-nsintrall.exp: Likewise.
1029 * gdb.multi/base.exp: Likewise.
1030 * gdb.multi/multi-arch.exp: Likewise.
1031 * gdb.python/py-inferior.exp: Likewise.
1032 * gdb.threads/break-while-running.exp: Likewise.
1033 * gdb.threads/execl.exp: Likewise.
1034 * gdb.threads/gcore-thread.exp: Likewise.
1035 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1036 * gdb.threads/kill.exp: Likewise.
1037 * gdb.threads/linux-dp.exp: Likewise.
1038 * gdb.threads/multiple-step-overs.exp: Likewise.
1039 * gdb.threads/next-bp-other-thread.exp: Likewise.
1040 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1041 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1042 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1043 * gdb.threads/thread-find.exp: Likewise.
1044 * gdb.threads/tls.exp: Likewise.
1045 * lib/mi-support.exp (mi_reverse_list): Delete.
1046 (mi_check_thread_states): No longer reverse list.
1048 2015-11-24 Pedro Alves <palves@redhat.com>
1050 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1053 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1055 * gdb.trace/actions.c: Include trace-common.h.
1056 (main): Add a location for a fast tracepoint.
1057 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1058 the normal tracepoints.
1059 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1061 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1063 * save-trace.exp: Factor out code to these...
1064 (gdb_save_tracepoints): New.
1065 (gdb_load_tracepoints): New.
1066 (do_save_load_test): New.
1068 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1070 * gdb.base/asmlabel.exp: New test.
1071 * gdb.base/asmlabel.c: New test case.
1073 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.base/wrong_frame_bt_full-main.c: New file.
1076 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1077 * gdb.base/wrong_frame_bt_full.exp: New file.
1079 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1081 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1083 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1085 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1086 pstate register when comparing registers values in
1087 sparc64-*-linux-gnu targets to avoid spurious differences.
1089 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1091 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1093 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1095 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1096 as type argument to gdb_compile.
1097 * gdb.base/nested-subp2.exp: Likewise.
1098 * gdb.base/nested-subp3.exp: Likewise.
1100 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1102 * lib/dwarf.exp (_note): Fix left shift of negative value.
1103 * gdb.trace/trace-condition.exp: Likewise.
1105 2015-11-13 Yao Qi <yao.qi@linaro.org>
1107 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1108 comments about d10v.
1109 (test_scalar_returns): Likewise.
1110 * gdb.base/d10v.ld: Remove.
1111 * gdb.base/overlays.exp: Remove the target triplet checking for
1113 * gdb.base/structs.exp (test_struct_returns): Remove the
1114 comments about d10v.
1115 (test_struct_calls): Likewise.
1117 2015-11-13 Yao Qi <yao.qi@linaro.org>
1119 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1120 * gdb.base/gnu_vector.c: Don't include stdio.h.
1121 (main): Don't print res and call add_some_intvecs.
1123 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1125 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1128 (func4): Use FAST_TRACEPOINT_LABEL.
1129 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1132 (thread_function): Use FAST_TRACEPOINT_LABEL.
1133 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1135 (marker): Use FAST_TRACEPOINT_LABEL.
1136 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1137 (pendfunc1): Remove.
1138 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1139 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1141 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1142 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1145 (marker): Use FAST_TRACEPOINT_LABEL.
1146 * gdb.trace/trace-common.h: New header.
1147 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1150 (marker): Use FAST_TRACEPOINT_LABEL.
1151 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1153 (thread_function): Use FAST_TRACEPOINT_LABEL.
1155 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1157 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1159 * gdb.trace/change-loc.exp: Use global pcreg definition.
1160 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1161 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1163 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1164 * gdb.trace/pending.exp: Likewise.
1165 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1166 * gdb.trace/trace-break.exp: Likewise.
1167 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1169 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1170 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1172 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1174 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1176 * gdb.ada/fin_fun_out: New testcase.
1178 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1180 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1181 value associated with DW_AT_byte_size.
1182 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1183 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1186 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1188 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1189 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1191 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1192 gdb.dwarf2/dw2-canonicalize-type.exp,
1193 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1194 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1195 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1196 provided by gdb_target_symbol_prefix_flags_asm.
1197 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1198 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1199 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1200 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1201 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1202 macros where needed). Use this macro for symbols which require
1203 the prefix provided by SYMBOL_PREFIX.
1205 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1207 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1209 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1210 representing expressions, of more than one list element.
1211 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1212 to prepend linker symbol prefix to f.
1213 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1214 table_1 and table_2.
1215 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1216 Likewise, for f and g.
1217 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1219 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1221 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1222 table_1_ptr and table_2_ptr.
1224 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1225 Joel Brobecker <brobecker@adacore.com>
1227 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1229 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1231 * gdb.reverse/s390-mvcle.c: New test.
1232 * gdb.reverse/s390-mvcle.exp: New file.
1233 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1235 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1237 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1239 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1241 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1243 * gdb.reverse/getresuid-reverse.exp: Likewise.
1244 * gdb.reverse/pipe-reverse.exp: Likewise.
1245 * gdb.reverse/readv-reverse.exp: Likewise.
1246 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1247 * gdb.reverse/time-reverse.exp: Likewise.
1248 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1250 2015-10-30 Yao Qi <yao.qi@linaro.org>
1252 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1253 (empty_cycle): Remove.
1254 (main): Don't call empty_cycle. Don't use watch_count_done.
1255 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1256 empty_cycle. Rewrite the code counting HW watchpoints.
1258 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1260 * gdb.reverse/fstatat-reverse.c: New test.
1261 * gdb.reverse/fstatat-reverse.exp: New file.
1262 * gdb.reverse/getresuid-reverse.c: New test.
1263 * gdb.reverse/getresuid-reverse.exp: New file.
1264 * gdb.reverse/pipe-reverse.c: New test.
1265 * gdb.reverse/pipe-reverse.exp: New file.
1266 * gdb.reverse/readv-reverse.c: New test.
1267 * gdb.reverse/readv-reverse.exp: New file.
1268 * gdb.reverse/recvmsg-reverse.c: New test.
1269 * gdb.reverse/recvmsg-reverse.exp: New file.
1270 * gdb.reverse/time-reverse.c: New test.
1271 * gdb.reverse/time-reverse.exp: New file.
1272 * gdb.reverse/waitpid-reverse.c: New test.
1273 * gdb.reverse/waitpid-reverse.exp: New file.
1275 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1277 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1279 2015-10-26 Doug Evans <dje@google.com>
1282 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1283 * gdb.dwarf2/bad-regnum.c: New file.
1284 * gdb.dwarf2/bad-regnum.exp: New file.
1286 2015-10-26 Doug Evans <dje@google.com>
1289 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1292 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1295 for a change by "Mention language in compile error message".
1297 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1300 * gdb.python/py-type.c (C::a_method): New.
1301 (C::a_const_method): New.
1302 (C::a_static_method): New.
1304 * gdb.python/py-type.exp (test_fields): Test getting fields
1305 from function and method.
1307 2015-10-21 Keven Boell <keven.boell@intel.com>
1309 * gdb.fortran/vla-alloc-assoc.exp: New file.
1310 * gdb.fortran/vla-datatypes.exp: New file.
1311 * gdb.fortran/vla-datatypes.f90: New file.
1312 * gdb.fortran/vla-history.exp: New file.
1313 * gdb.fortran/vla-ptype-sub.exp: New file.
1314 * gdb.fortran/vla-ptype.exp: New file.
1315 * gdb.fortran/vla-sizeof.exp: New file.
1316 * gdb.fortran/vla-sub.f90: New file.
1317 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1318 * gdb.fortran/vla-value-sub-finish.exp: New file.
1319 * gdb.fortran/vla-value-sub.exp: New file.
1320 * gdb.fortran/vla-value.exp: New file.
1321 * gdb.fortran/vla-ptr-info.exp: New file.
1322 * gdb.mi/mi-vla-fortran.exp: New file.
1323 * gdb.mi/vla.f90: New file.
1325 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1327 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1328 of hardwired timeout value.
1330 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 Pedro Alves <palves@redhat.com>
1333 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1334 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1336 2015-10-19 Josh Stone <jistone@redhat.com>
1338 * gdb.base/catch-syscall.c: Include <sched.h>.
1339 (unknown_syscall): New variable.
1340 (main): Trigger a vfork and an unknown syscall.
1341 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1342 (unknown_syscall_number): Likewise.
1343 (check_call_to_syscall): Accept an optional syscall pattern.
1344 (check_return_from_syscall): Likewise.
1345 (check_continue): Likewise.
1346 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1347 (test_catch_syscall_skipping_return): New test toggling off 'catch
1348 syscall' to step over the syscall return, then toggling back on.
1349 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1350 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1351 (do_syscall_tests): Call test_catch_syscall_without_args and
1352 test_catch_syscall_mid_vfork.
1353 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1354 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1356 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1358 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1359 print g_vE): Add new pass patterns.
1360 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1361 print various symbol names for vptr fields.
1363 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1365 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1368 2015-10-12 Yao Qi <yao.qi@linaro.org>
1370 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1372 2015-10-12 Yao Qi <yao.qi@linaro.org>
1374 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1375 is aarch64*-*-linux*.
1377 2015-10-12 Yao Qi <yao.qi@linaro.org>
1379 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1380 (can_relocate_bcond_true): ... it.
1381 (can_relocate_bcond_false): New function.
1383 (can_relocate_bl): Likewise.
1384 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1387 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1389 * gdb.base/nested-addr.c: New file.
1390 * gdb.base/nested-addr.exp: New testcase.
1392 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1394 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1395 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1396 its output. Ignore the output of "record goto begin" and instead
1397 check that GDB is replaying.
1399 2015-10-09 Pedro Alves <palves@redhat.com>
1401 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1402 (top level): Use it in the run with no args test.
1404 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1406 * gdb.dlang/properties.exp: New file.
1408 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1410 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1411 whether or not address 0x1000 is mapped on the target.
1413 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1415 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1418 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1420 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1421 instruction-history test.
1423 2015-09-28 Doug Evans <dje@google.com>
1425 * gdb.base/gcore.c (array_func): Add reference to static_array.
1427 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1429 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1432 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1434 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1435 short or char as base type.
1437 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1439 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1440 to allow any size enum.
1442 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1444 * gdb.ada/array_ptr_renaming.exp: New testcase.
1445 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1446 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1448 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1450 * gdb.trace/ftrace-lock.c: New file.
1451 * gdb.trace/ftrace-lock.exp: New file.
1453 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1455 * gdb.arch/insn-reloc.c: New file.
1456 * gdb.arch/ftrace-insn-reloc.exp: New file.
1458 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1460 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1462 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1463 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1464 * gdb.trace/range-stepping.c: Likewise.
1465 * gdb.trace/trace-break.c: Likewise.
1466 * gdb.trace/trace-mt.c (thread_function): Likewise.
1467 * gdb.trace/ftrace.c (marker): Likewise.
1468 * gdb.trace/trace-condition.c (marker): Likewise.
1469 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1470 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1473 2015-09-18 Doug Evans <xdje42@gmail.com>
1475 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1476 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1478 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1480 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1483 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1485 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1486 the pending breakpoint. Remove timeout override for "Run till
1487 MI pending breakpoint on pendfunc3 on thread 2" test.
1489 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1491 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1494 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1496 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1497 in breakpoint filename pattern.
1499 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1501 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1503 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1505 * gdb.linespec/explicit.exp: Check for readline support for
1506 tab-completion tests. Fix obvious typo.
1508 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1510 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1513 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1515 * gdb.btrace/non-stop.c: New.
1516 * gdb.btrace/non-stop.exp: New.
1518 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1519 Yao Qi <yao.qi@linaro.org>
1521 * gdb.trace/trace-condition.c: New file.
1522 * gdb.trace/trace-condition.exp: New file.
1524 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1526 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1527 for testing bytecode compilation.
1529 2015-09-16 Pedro Alves <palves@redhat.com>
1530 Sandra Loosemore <sandra@codesourcery.com>
1532 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1533 (SECONDS): Redefine.
1534 (main): Call pthread_kill and alarm early.
1535 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1537 (test): If the target can't hardware step and doesn't support
1538 displaced stepping, increase the timeout.
1540 2015-09-16 Pedro Alves <palves@redhat.com>
1542 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1543 (enable_debug): New procedures.
1544 (test): Use them. Bail out if waiting for threads fails.
1545 (top level): Bail out if a test fails.
1547 2015-09-16 Yao Qi <yao.qi@linaro.org>
1549 * gdb.asm/asm-source.exp: Set asm-arch for
1550 aarch64*-*-* target.
1551 * gdb.asm/aarch64.inc: New file.
1553 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1555 * gdb.ada/array_of_variable_length.exp: New testcase.
1556 * gdb.ada/array_of_variable_length/foo.adb: New file.
1557 * gdb.ada/array_of_variable_length/pck.adb: New file.
1558 * gdb.ada/array_of_variable_length/pck.ads: New file.
1560 2015-09-15 Doug Evans <dje@google.com>
1562 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1563 of function static local variable.
1565 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1567 * gdb.threads/tls-so_extern.exp: New test file.
1568 * gdb.threads/tls-so_extern.c: New test file.
1569 * gdb.threads/tls-so_extern_main.c: New test file.
1571 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1573 * gdb.opt/solib-intra-step-lib.c: New file.
1574 * gdb.opt/solib-intra-step-main.c: New file.
1575 * gdb.opt/solib-intra-step.exp: New file.
1577 2015-09-15 Pedro Alves <palves@redhat.com>
1579 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1580 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1582 2015-09-14 Pedro Alves <palves@redhat.com>
1584 * gdb.base/hook-stop-continue.c: Delete.
1585 * gdb.base/hook-stop-continue.exp: Delete.
1586 * gdb.base/hook-stop-frame.c: Delete.
1587 * gdb.base/hook-stop-frame.exp: Delete.
1588 * gdb.base/hook-stop.c: New file.
1589 * gdb.base/hook-stop.exp: New file.
1591 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1593 * gdb.ada/access_to_packed_array.exp: New testcase.
1594 * gdb.ada/access_to_packed_array/foo.adb: New file.
1595 * gdb.ada/access_to_packed_array/pack.adb: New file.
1596 * gdb.ada/access_to_packed_array/pack.ads: New file.
1598 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1600 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1603 2015-09-11 Don Breazeal <donb@codesourcery.com>
1605 * gdb.base/foll-exec.c: Add copyright header. Fix
1607 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1608 (do_exec_tests): Use clean_restart in place of zap_session,
1609 and for test initialization. Fix formatting issues. Use
1610 fail in place of perror.
1611 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1612 an expect statement to match an expression with output from
1613 the program under debug.
1614 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1615 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1616 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1617 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1618 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1620 2015-09-09 Doug Evans <dje@google.com>
1622 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1624 2015-09-09 Doug Evans <dje@google.com>
1626 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1628 2015-09-09 Doug Evans <dje@google.com>
1630 * gdb.base/savedregs.exp: Fix typo.
1632 2015-09-09 Pedro Alves <palves@redhat.com>
1634 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1636 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1638 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1639 command actually switches threads. Give up on remaining
1640 tests if target fails to stop at breakpoint.
1642 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1644 * gdb.ada/funcall_char.exp: New testcase.
1645 * gdb.ada/funcall_char/foo.adb: New file.
1647 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1649 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1650 expected outputs. Add two testcases for completing ambiguous
1652 * gdb.ada/complete/aux_pck.adb: New file.
1653 * gdb.ada/complete/aux_pck.ads: New file.
1654 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1655 Ambiguous_Func functions.
1656 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1657 * gdb.ada/complete/pck.adb: Likewise.
1659 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1661 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1662 failures to run the test program under GDB.
1664 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1666 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1669 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1671 * gdb.base/run-after-attach.exp: New test file.
1672 * gdb.base/run-after-attach.c: New test file.
1674 2015-08-26 Don Breazeal <donb@codesourcery.com>
1676 * gdb.base/foll-exec-2.c: New test program.
1677 * gdb.base/foll-exec-2.exp: New test.
1679 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1681 * gdb.base/nested-subp1.exp: New file.
1682 * gdb.base/nested-subp1.c: New file.
1683 * gdb.base/nested-subp2.exp: New file.
1684 * gdb.base/nested-subp2.c: New file.
1685 * gdb.base/nested-subp3.exp: New file.
1686 * gdb.base/nested-subp3.c: New file.
1688 2015-08-24 Pedro Alves <palves@redhat.com>
1690 * gdb.server/connect-without-multi-process.c: New file.
1691 * gdb.server/connect-without-multi-process.exp: New file.
1693 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1695 * gdb.opt/inline-markers.c: Make z int.
1697 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1699 * gdb.opt/inline-markers.c: Make z volatile.
1701 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1703 * gdb.opt/inline-bt.c: New volatile global z.
1704 * gdb.opt/inline-cmds.c: Likewise.
1705 * gdb.opt/inline-locals.c: Likewise.
1706 * gdb.opt/inline-markers.c: New extern global z.
1708 (inline_fn): Likewise.
1710 2015-08-24 Pedro Alves <palves@redhat.com>
1712 * config/m32r-stub.exp: Remove file.
1713 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1714 * gdb.base/call-rt-st.exp: Likewise.
1715 * gdb.base/call-strs.exp: Likewise.
1716 * gdb.base/default.exp: Remove references to h8300-*-hms and
1718 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1720 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1722 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1723 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1724 and "return" use KFAIL when GDB can not read/write the vector
1727 2015-08-21 Gary Benson <gbenson@redhat.com>
1729 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1731 2015-08-20 Pedro Alves <palves@redhat.com>
1733 * gdb.server/solib-list.exp: No longer expect an interior stop in
1736 2015-08-20 Pedro Alves <palves@redhat.com>
1738 * gdb.server/connect-stopped-target.c: New file.
1739 * gdb.server/connect-stopped-target.exp: New file.
1741 2015-08-20 Pedro Alves <palves@redhat.com>
1743 * gdb.dwarf2/comp-unit-lang.exp: New file.
1744 * gdb.dwarf2/comp-unit-lang.c: New file.
1746 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1748 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1749 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1751 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1753 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1754 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1756 2015-08-18 Doug Evans <dje@google.com>
1757 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1759 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1760 skip_python_tests. New arg prompt_regexp.
1761 (skip_python_tests): New function.
1762 * lib/mi-support.exp (mi_skip_python_tests): New function.
1763 * gdb.python/py-mi-objfile-gdb.py: New file.
1764 * gdb.python/py-mi-objfile.c: New file.
1765 * gdb.python/py-mi-objfile.exp: New file.
1767 2015-08-17 Keith Seitz <keiths@redhat.com>
1769 * gdb.linespec/explicit.exp: Move strace test from here ...
1770 * gdb.trace/strace.exp: ... to here.
1772 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1774 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1775 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1777 2015-08-14 Doug Evans <xdje42@gmail.com>
1779 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1780 inferior before selecting a new file.
1782 2015-08-14 Doug Evans <xdje42@gmail.com>
1784 * gdb.mi/mi-disassemble.exp: Update.
1785 * gdb.base/disasm-optim.S: New file.
1786 * gdb.base/disasm-optim.c: New file.
1787 * gdb.base/disasm-optim.h: New file.
1788 * gdb.base/disasm-optim.exp: New file.
1790 2015-08-14 Keith Seitz <keiths@redhat.com>
1792 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1795 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1797 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1799 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1801 * gdb.ada/fun_renaming.exp: New testcase.
1802 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1803 * gdb.ada/fun_renaming/pack.adb: New file.
1804 * gdb.ada/fun_renaming/pack.ads: New file.
1806 2015-08-12 Keith Seitz <keiths@redhat.com>
1808 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1809 gdb_get_line_number.
1811 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1813 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1814 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1815 gdb.base/dso2dso.exp: New files.
1817 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1818 Pedro Alves <palves@redhat.com>
1819 Keith Seitz <keiths@redhat.com>
1821 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1824 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1826 * gdb.base/gdbhistsize-history.exp
1827 (test_histsize_history_setting): Use save_vars.
1828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1830 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1831 * gdb.base/readline.exp: Use save_vars.
1833 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1835 * lib/gdb.exp (save_vars): New proc.
1837 2015-08-11 Keith Seitz <keiths@redhat.com>
1839 * gdb.base/help.exp: Update help_breakpoint_text.
1841 2015-08-11 Keith Seitz <keiths@redhat.com>
1843 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1844 (at toplevel): Call test_explicit_breakpoints.
1845 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1847 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1848 breakpoint conditions, "-cond".
1850 2015-08-11 Keith Seitz <keiths@redhat.com>
1852 * gdb.linespec/3explicit.c: New file.
1853 * gdb.linespec/cpexplicit.cc: New file.
1854 * gdb.linespec/cpexplicit.exp: New file.
1855 * gdb.linespec/explicit.c: New file.
1856 * gdb.linespec/explicit.exp: New file.
1857 * gdb.linespec/explicit2.c: New file.
1858 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1859 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1860 before using in the matching pattern.
1861 Clarify that `prefix' is a regular expression.
1863 2015-08-11 Keith Seitz <keiths@redhat.com>
1865 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1867 Add tests for missing ",FMT" and ",".
1869 2015-08-10 Doug Evans <dje@google.com>
1870 Keith Seitz <keiths@redhat.com>
1873 * gdb.base/completion.exp: Add location completer tests.
1875 2015-08-07 Pedro Alves <palves@redhat.com>
1877 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1879 (top level): Run do_test with and without displaced stepping.
1881 2015-08-07 Pedro Alves <palves@redhat.com>
1883 * gdb.base/valgrind-disp-step.c: New file.
1884 * gdb.base/valgrind-disp-step.exp: New file.
1886 2015-08-07 Pedro Alves <palves@redhat.com>
1888 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1890 (main): Add alarm. Run an infinite loop instead of calling
1892 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1894 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1896 (main): Add alarm. Run an infinite loop instead of calling
1898 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1901 2015-08-07 Pedro Alves <palves@redhat.com>
1903 * gdb.base/checkpoint-ns.exp: New file.
1904 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1907 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1909 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1910 * gdb.btrace/instruction_history.exp: Update.
1911 * gdb.btrace/tsx.exp: New.
1912 * gdb.btrace/tsx.c: New.
1914 2015-08-06 Pedro Alves <palves@redhat.com>
1916 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1918 * gdb.reverse/until-precsave.exp: Bump timeouts.
1920 2015-08-06 Pedro Alves <palves@redhat.com>
1922 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1924 2015-08-06 Pedro Alves <palves@redhat.com>
1927 * gdb.threads/process-dies-while-handling-bp.c: New file.
1928 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1930 2015-08-06 Pedro Alves <palves@redhat.com>
1932 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1933 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1935 2015-08-05 Pedro Alves <palves@redhat.com>
1937 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1938 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1940 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1942 * gdb.base/bp-permanent.exp: Report test as unsupported if
1943 the target cannot stop at the permanent breakpoint.
1945 2015-08-03 Doug Evans <dje@google.com>
1947 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1950 2015-08-03 Doug Evans <dje@google.com>
1952 * Makefile.in (workers/%.worker, build-perf): New rule.
1953 (GDB_PERFTEST_MODE): New variable.
1954 (check-perf): Use it.
1955 (clean): Clean up gdb.perf parallel build subdirs.
1956 * lib/build-piece.exp: New file.
1957 * lib/gdb.exp (make_gdb_parallel_path): New function
1958 (standard_output_file, standard_temp_file): Call it.
1959 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1961 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1963 2015-08-03 Doug Evans <dje@google.com>
1965 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1966 (LOG_FILE_NAME): New global.
1967 (TextReporter.__init__): Initialize self.txt_sum.
1968 (TextReporter.report): Add support for multiple data-points.
1969 Move report to perftest.sum, put raw data in perftest.log.
1970 (TextReporter.start): Open sum and log files.
1971 (TextReporter.end): Close sum and log files.
1972 * gdb.perf/lib/perftest/testresult.py
1973 (SingleStatisticTestResult.record): Handle multiple data-points.
1975 2015-07-31 Pedro Alves <palves@redhat.com>
1977 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1978 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1979 kill_wait_spawned_process instead of explicit "kill -9".
1980 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1981 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1982 kill_wait_spawned_process.
1983 * gdb.base/attach-twice.exp: Likewise.
1984 * gdb.base/attach.exp: Likewise.
1985 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1987 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1988 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1989 kill_wait_spawned_process.
1990 * gdb.base/valgrind-infcall.exp: Likewise.
1991 * gdb.multi/multi-attach.exp: Likewise.
1992 * gdb.python/py-prompt.exp: Likewise.
1993 * gdb.python/py-sync-interp.exp: Likewise.
1994 * gdb.server/ext-attach.exp: Likewise.
1995 * gdb.threads/attach-into-signal.exp (corefunc): Use
1996 spawn_wait_for_attach, spawn_id_get_pid and
1997 kill_wait_spawned_process.
1998 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1999 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2000 spawn_id_get_pid and kill_wait_spawned_process.
2001 * gdb.threads/attach-stopped.exp (corefunc): Use
2002 spawn_wait_for_attach, spawn_id_get_pid and
2003 kill_wait_spawned_process.
2004 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2005 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2006 kill_wait_spawned_process instead of explicit "kill -9".
2007 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2008 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2009 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2010 processes. Don't map cygwin/windows pids here. Now returns a
2013 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2015 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2016 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2019 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2021 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2023 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2026 2014-05-21 Mark Wielaard <mjw@redhat.com>
2028 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2030 2015-07-30 Pedro Alves <palves@redhat.com>
2032 * linux-low.c (handle_extended_wait): Set the child's last
2033 reported status to TARGET_WAITKIND_STOPPED.
2035 2015-07-30 Pedro Alves <palves@redhat.com>
2038 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2039 only shows inferior 1.
2041 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2042 Pedro Alves <palves@redhat.com>
2045 * gdb.threads/fork-plus-threads.c: New file.
2046 * gdb.threads/fork-plus-threads.exp: New file.
2048 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2050 * gdb.base/batch-preserve-term-settings.exp
2051 (test_terminal_settings_preserved_after_cli_exit): Use
2054 2015-07-29 Pedro Alves <palves@redhat.com>
2055 Don Breazeal <donb@codesourcery.com>
2057 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2058 output from both inferior_spawn_id and gdb_spawn_id.
2060 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2062 * gdb.threads/attach-into-signal.exp (corefunc): Use
2063 with_test_prefix on nested loops, uniquefying the test messages.
2065 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2067 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2070 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2072 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2074 (test_terminal_settings_preserved_after_sigterm): New test.
2076 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2078 * gdb.base/batch-preserve-term-settings.exp
2079 (test_terminal_settings_preserved_after_cli_exit): New test.
2081 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2083 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2084 manipulation of saved_gdbflags.
2085 (test_terminal_settings_preserved): Remove global declaration of
2086 the unused variable pagination_prompt. Remove manipulation of
2087 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2090 2015-07-29 Pedro Alves <palves@redhat.com>
2092 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2094 2015-07-29 Pedro Alves <palves@redhat.com>
2096 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2099 2015-07-29 Pedro Alves <palves@redhat.com>
2101 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2102 (main): Call gdb_unbuffer_output.
2103 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2104 (main): Call gdb_unbuffer_output.
2105 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2106 (main): Call gdb_unbuffer_output.
2107 * gdb.base/call-strs.exp: Adjust to step over the
2108 gdb_unbuffer_output call.
2109 * gdb.base/catch-gdb-caused-signals.c: Include
2110 "../lib/unbuffer_output.c".
2111 (main): Call gdb_unbuffer_output.
2112 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2113 (main): Call gdb_unbuffer_output.
2114 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2115 (main): Call gdb_unbuffer_output.
2116 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2117 (main): Call gdb_unbuffer_output.
2118 * gdb.base/shlib-call.exp: Adjust to step over the
2119 gdb_unbuffer_output call.
2120 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2121 (main): Call gdb_unbuffer_output.
2122 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2123 (main): Call gdb_unbuffer_output.
2124 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2125 (main): Rename to ...
2127 (main): Reimplement.
2128 * gdb.base/varargs.exp: Run to test instead of to main.
2129 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2130 (main): Call gdb_unbuffer_output.
2132 2015-07-29 Pedro Alves <palves@redhat.com>
2134 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2135 factore out from mi_continue_dprintf. For call-style dprintfs,
2136 expect dprintf output out of $inferior_spawn_id.
2137 (mi_continue_dprintf): Use mi_expect_dprintf.
2138 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2139 (main): Call gdb_unbuffer_output.
2141 2015-07-29 Pedro Alves <palves@redhat.com>
2143 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2144 (default_mi_gdb_start): Set inferior_spawn_id instead of
2145 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2147 (mi_gdb_test): Always expect inferior output from both
2148 $inferior_spawn_id and $gdb_spawn_id.
2150 2015-07-29 Pedro Alves <palves@redhat.com>
2152 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2153 send_inferior and $inferior_spawn_id.
2155 2015-07-29 Pedro Alves <palves@redhat.com>
2157 * gdb.gdb/complaints.exp (test_initial_complaints)
2158 (test_serial_complaints, test_short_complaints): Use
2160 (test_empty_complaint): Handle $inferior_spawn_id !=
2163 2015-07-29 Pedro Alves <palves@redhat.com>
2165 * gdb.base/varargs.exp: Use gdb_test_stdio.
2167 2015-07-29 Pedro Alves <palves@redhat.com>
2169 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2171 2015-07-29 Pedro Alves <palves@redhat.com>
2173 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2175 2015-07-29 Pedro Alves <palves@redhat.com>
2177 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2178 parameter into two new parameters, "inf_result" and "gdb_result".
2179 Expect inferior output and gdb output from $inferior_spawn_id and
2180 $gdb_spawn_id, respectively. Adjust all callers.
2182 2015-07-29 Pedro Alves <palves@redhat.com>
2184 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2185 of gdb_test_sequence.
2187 2015-07-29 Pedro Alves <palves@redhat.com>
2189 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2190 (saw_spurious_output): Expect inferior output from
2191 $inferior_spawn_id. Use gdb_test_stdio.
2193 2015-07-29 Pedro Alves <palves@redhat.com>
2195 * gdb.base/dprintf.exp: Use standard_testfile. Change
2196 prepare_for_testing call.
2197 (srcfile): Don't set.
2198 (restart): New procedure.
2199 (test_dprintf): New procecure, use to continue over dprintfs.
2200 (test_call, test_agent): New procedures, tests moved here.
2201 Restart gdb and recreate dprintfs. Adjust expected output.
2203 2015-07-29 Pedro Alves <palves@redhat.com>
2205 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2207 2015-07-29 Pedro Alves <palves@redhat.com>
2209 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2211 2015-07-29 Pedro Alves <palves@redhat.com>
2213 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2216 2015-07-29 Pedro Alves <palves@redhat.com>
2218 * lib/gdb.exp (gdb_test_stdio): New procedure.
2220 2015-07-29 Pedro Alves <palves@redhat.com>
2222 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2224 2015-07-29 Pedro Alves <palves@redhat.com>
2226 * gdb.base/call-signal-resume.exp: Remove check for
2227 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2228 * gdb.base/unwindonsignal.exp: Likewise.
2229 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2230 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2232 2015-07-29 Pedro Alves <palves@redhat.com>
2234 * gdb.base/siginfo-addr.c (pass): New function.
2235 (handler): Call it iff si_addr is correct.
2236 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2237 Set a breakpoint at "pass" and continue to it.
2239 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2241 * gdb.python/py-objfile.exp: Make some tests have unique names.
2242 * gdb.python/py-pp-registration.exp: Likewise.
2244 2015-07-28 Pedro Alves <palves@redhat.com>
2246 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2248 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2250 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2252 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2254 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2256 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2258 * gdb.base/gdb-sigterm-2.exp: New test.
2260 2015-07-25 Doug Evans <xdje42@gmail.com>
2263 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2264 (workers/%.worker, build-perf): New rule.
2265 (GDB_PERFTEST_MODE): New variable.
2266 (check-perf): Use it.
2267 (clean): Clean up gdb.perf parallel build subdirs.
2268 * lib/build-piece.exp: New file.
2269 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2270 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2272 (standard_temp_file): Ditto.
2273 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2276 2015-07-24 Doug Evans <dje@google.com>
2278 * gdb.perf/lib/perftest/utils.py: New file.
2279 * gdb.perf/gm-hello.cc: New file.
2280 * gdb.perf/gm-pervasive-typedef.cc: New file.
2281 * gdb.perf/gm-pervasive-typedef.h: New file.
2282 * gdb.perf/gm-std.cc: New file.
2283 * gdb.perf/gm-std.h: New file.
2284 * gdb.perf/gm-use-cerr.cc: New file.
2285 * gdb.perf/gm-utils.h: New file.
2286 * gdb.perf/gmonster-null-lookup.py: New file.
2287 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2288 * gdb.perf/gmonster-print-cerr.py: New file.
2289 * gdb.perf/gmonster-ptype-string.py: New file.
2290 * gdb.perf/gmonster-runto-main.py: New file.
2291 * gdb.perf/gmonster-select-file.py: New file.
2292 * gdb.perf/gmonster1-null-lookup.exp: New file.
2293 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2294 * gdb.perf/gmonster1-print-cerr.exp: New file.
2295 * gdb.perf/gmonster1-ptype-string.exp: New file.
2296 * gdb.perf/gmonster1-runto-main.exp: New file.
2297 * gdb.perf/gmonster1-select-file.exp: New file.
2298 * gdb.perf/gmonster1.cc: New file.
2299 * gdb.perf/gmonster1.exp: New file.
2300 * gdb.perf/gmonster2-null-lookup.exp: New file.
2301 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2302 * gdb.perf/gmonster2-print-cerr.exp: New file.
2303 * gdb.perf/gmonster2-ptype-string.exp: New file.
2304 * gdb.perf/gmonster2-runto-main.exp: New file.
2305 * gdb.perf/gmonster2-select-file.exp: New file.
2306 * gdb.perf/gmonster2.cc: New file.
2307 * gdb.perf/gmonster2.exp: New file.
2309 2015-07-24 Doug Evans <dje@google.com>
2311 * gdb.perf/README: New file.
2312 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2313 * lib/gen-perf-test.exp: New file.
2315 2015-07-24 Doug Evans <dje@google.com>
2317 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2318 (PerfTest::startup): New function.
2319 (PerfTest::run): Return result of calling body.
2320 (PerfTest::assemble): Rewrite.
2321 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2322 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2323 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2324 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2325 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2327 2015-07-24 Doug Evans <dje@google.com>
2329 * lib/gdb.exp (clean_restart): Make executable optional.
2331 2015-07-24 Doug Evans <dje@google.com>
2333 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2334 compiler_info references.
2335 * gdb.cp/temargs.exp: Ditto.
2336 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2337 (get_compiler_info): Early exit if already computed. Set compiler_info
2338 to "unknown" if there was a problem.
2339 (test_compiler_info): Add function comment. Call get_compiler_info.
2341 2015-07-24 Doug Evans <dje@google.com>
2343 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2344 (workers/%.worker, build-perf): New rule.
2345 (GDB_PERFTEST_MODE): New variable.
2346 (check-perf): Use it.
2347 (clean): Clean up gdb.perf parallel build subdirs.
2348 * lib/build-piece.exp: New file.
2349 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2350 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2352 (standard_temp_file): Ditto.
2353 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2356 2015-07-24 Doug Evans <dje@google.com>
2358 * lib/future.exp (gdb_default_target_compile): New option
2360 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2363 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2365 * gdb.base/catch-syscall.exp: Call gdb_exit before
2368 2015-07-24 Pedro Alves <palves@redhat.com>
2370 * gdb.python/py-events.exp: Accept output between the stop event
2372 * gdb.python/py-evsignal.exp: Likewise.
2373 * gdb.python/py-evthreads.exp: Likewise.
2375 2015-07-24 Pedro Alves <palves@redhat.com>
2378 * gdb.threads/non-ldr-exit.c: New file.
2379 * gdb.threads/non-ldr-exit.exp: New file.
2381 2015-07-24 Yao Qi <yao.qi@linaro.org>
2383 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2386 2015-07-24 Yao Qi <yao.qi@linaro.org>
2388 * gdb.server/ext-restart.exp: New file.
2390 2015-07-24 Yao Qi <yao.qi@linaro.org>
2392 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2394 * gdb.server/ext-wrapper.exp: New file.
2396 2015-07-23 Doug Evans <dje@google.com>
2398 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2399 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2401 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2403 * gdb.ada/var_arr_typedef.exp: New testcase.
2404 * gdb.ada/var_arr_typedef/pack.adb: New file.
2405 * gdb.ada/var_arr_typedef/pack.ads: New file.
2406 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2408 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2410 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2412 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2414 * gdb.arch/i386-biarch-core.exp: Replace istarget
2415 by "complete set gnutarget". Remove expectation for the "core-file"
2418 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2420 Revert the previous commit:
2421 Tests for validate symbol file using build-id.
2423 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2425 Tests for validate symbol file using build-id.
2426 * gdb.base/solib-mismatch-lib.c: New file.
2427 * gdb.base/solib-mismatch-libmod.c: New file.
2428 * gdb.base/solib-mismatch.c: New file.
2429 * gdb.base/solib-mismatch.exp: New file.
2431 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2433 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2435 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2436 * gdb.base/siginfo.exp: Likewise.
2437 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2439 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2441 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2443 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2445 * gdb.trace/range-stepping.exp: Check that the target supports
2448 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2450 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2452 2015-07-14 Pedro Alves <palves@redhat.com>
2454 * gdb.base/killed-outside.exp: New file.
2455 * gdb.base/killed-outside.c: New file.
2457 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2459 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2461 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2463 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2465 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2466 infcall tests instead of setting up for KFAIL.
2468 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2470 * gdb.btrace/record_goto-step.exp: New.
2472 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2475 * gdb.compile/compile.c (struct struct_type): Add volatile to
2477 * gdb.compile/compile.exp
2478 (compile code struct_object.selffield = &struct_object): Skip further
2479 struct_object tests if this one xfails.
2481 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2484 * gdb.trace/ax.exp: Add test.
2486 2015-07-07 Yao Qi <yao.qi@linaro.org>
2488 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2489 instead of istarget "aarch64*-*-*".
2490 * gdb.arch/aarch64-fp.exp: Likewise.
2491 * gdb.base/float.exp: Likewise.
2492 * gdb.reverse/aarch64.exp: Likewise.
2493 * lib/gdb.exp (is_aarch64_target): New proc.
2495 2015-07-07 Yao Qi <yao.qi@linaro.org>
2497 * lib/gdb.exp (is_aarch32_target): New proc.
2498 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2499 instead of "istarget "arm*-*-*"".
2500 * gdb.arch/arm-disp-step.exp: Likewise.
2501 * gdb.arch/thumb-bx-pc.exp: Likewise.
2502 * gdb.arch/thumb-prologue.exp: Likewise.
2503 * gdb.arch/thumb-singlestep.exp: Likewise.
2504 * gdb.base/disp-step-syscall.exp: Likewise.
2505 * gdb.base/float.exp: Likewise.
2507 2015-07-07 Yao Qi <yao.qi@linaro.org>
2509 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2510 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2512 2015-07-07 Yao Qi <yao.qi@linaro.org>
2514 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2515 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2517 * gdb.multi/multi-arch.exp: Likewise.
2519 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2521 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2524 2015-07-07 Yao Qi <yao.qi@linaro.org>
2526 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2528 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2530 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2531 '[' and ']' characters.
2533 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2535 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2537 2015-06-29 Pedro Alves <palves@redhat.com>
2540 * gdb.threads/hand-call-new-thread.c: New file.
2541 * gdb.threads/hand-call-new-thread.c: New file.
2543 2015-06-26 Keith Seitz <keiths@redhat.com>
2544 Doug Evans <dje@google.com>
2547 * gdb.cp/var-tag-2.cc: New file.
2548 * gdb.cp/var-tag-3.cc: New file.
2549 * gdb.cp/var-tag-4.cc: New file.
2550 * gdb.cp/var-tag.cc: New file.
2551 * gdb.cp/var-tag.exp: New file.
2553 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2555 * gdb.base/history-duplicates.exp: New test.
2557 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2559 * gdb.base/completion.exp: Test the completion of the "focus"
2562 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2564 * gdb.arch/amd64-prologue-skip.S: New file.
2565 * gdb.arch/amd64-prologue-skip.exp: New file.
2567 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2569 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2570 is_address_zero_readable check.
2572 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2574 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2575 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2577 2015-06-24 Yao Qi <yao.qi@linaro.org>
2579 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2582 2015-06-24 Yao Qi <yao.qi@linaro.org>
2584 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2585 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2586 * gdb.base/siginfo-thread.exp: Likewise.
2588 2015-06-22 Yao Qi <yao.qi@linaro.org>
2590 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2592 2015-06-22 Yao Qi <yao.qi@linaro.org>
2594 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2596 (skip_hw_watchpoint_tests): Likewise.
2598 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2600 * gdb.base/gdbinit-history.exp: Test the interaction between
2601 setting GDBHISTSIZE and setting the history size via .gdbinit.
2603 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2606 * gdb.base/gdbhistsize-history.exp: New test.
2608 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2610 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2612 * gdb.base/readline.exp: Likewise.
2614 2015-06-17 Yao Qi <yao.qi@linaro.org>
2616 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2619 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2621 * gdb.base/gdbinit-history.exp: Add test case to check that
2622 an unlimited history file does not get truncated on exit.
2624 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2626 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2627 (VECTOR): New macro. Use it...
2628 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2629 ...for these typedefs.
2630 (int8, char1, int1, double1): New typedefs.
2631 (struct just_int2, struct two_int2): New structures.
2632 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2633 (add_structvecs, add_singlevecs): New functions.
2634 (main): Call add_some_intvecs twice.
2635 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2636 the compile and exit upon failure. Try compiling for the "native"
2637 architecture. Test inferior function calls with vector arguments
2638 and vector return value handling with "finish" and "return".
2640 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2642 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2643 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2645 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2647 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2649 PR breakpoints/16465
2650 * gdb.mi/mi-dprintf-pending.c: New file.
2651 * gdb.mi/mi-dprintf-pending.exp: New test.
2652 * gdb.mi/mi-dprintf-pendshr.c: New file.
2654 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2655 Mircea Gherzan <mircea.gherzan@intel.com>
2657 * gdb.arch/i386-mpx-map.c: New file.
2658 * gdb.arch/i386-mpx-map.exp: New File.
2660 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2662 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2663 * gdb.arch/i386-mpx.exp: Indentation fixed.
2665 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2667 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2668 function and improved indentation.
2669 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2670 gdb_test_multiple. Added additional tests to skip the test.
2672 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2674 * gdb.arch/i386-avx512.c: Change path in include file.
2675 * gdb.arch/i386-avx512.exp: Change include dir path
2677 * gdb.arch/i386-mpx.c: Change path in include file.
2678 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2681 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2683 * gdb.compile/compile-print.exp (compile print *vararray@3)
2684 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2686 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2688 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2689 (do not keep jit in memory): ... this.
2690 (expect 5): Change it to ...
2691 (expect no 5): ... this.
2693 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2696 * gdb.mi/mi-detach.exp: New file.
2698 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2701 * gdb.arch/amd64-tailcall-self.S: New file.
2702 * gdb.arch/amd64-tailcall-self.c: New file.
2703 * gdb.arch/amd64-tailcall-self.exp: New file.
2705 2015-05-28 Don Breazeal <donb@codesourcery.com>
2707 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2708 tests for remote targets by checking is_target_gdbserver.
2710 2015-05-27 Doug Evans <dje@google.com>
2712 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2713 * gdb.dwarf2/opaque-type-lookup.c: New file.
2714 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2716 2015-05-26 Doug Evans <dje@google.com>
2718 * gdb.cp/iostream.cc: New file.
2719 * gdb.cp/iostream.exp: New file.
2721 2015-05-26 Doug Evans <dje@google.com>
2723 * gdb.dwarf2/dw2-op-call.exp: Update.
2724 * gdb.dwarf2/dw4-sig-types.exp: Update.
2725 * gdb.dwarf2/implptr.exp: Update.
2726 * gdb.mi/mi-cmd-param-changed.exp: Update.
2728 2015-05-26 Doug Evans <dje@google.com>
2730 * gdb.python/py-lazy-string.c: New file.
2731 * gdb.python/py-lazy-string.exp: New file.
2732 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2733 (main): Update. Add estring3.
2734 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2735 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2737 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2738 Yao Qi <yao.qi@linaro.org>
2740 * gdb.reverse/aarch64.c: New.
2741 * gdb.reverse/aarch64.exp: New.
2743 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2745 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2746 (supports_reverse): Likewise.
2748 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2750 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2751 Use with_test_prefix.
2753 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2755 * gdb.base/completion.exp: Add test for completion of layout
2758 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2760 * lib/gdb.exp (skip_tui_tests): New proc.
2761 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2763 2015-05-19 Pedro Alves <palves@redhat.com>
2765 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2766 Save the whole env array instead of just HOME. Unset HISTSIZE in
2767 the environment while testing. Restore whole environment
2770 2015-05-16 Doug Evans <xdje42@gmail.com>
2772 * gdb.guile/scm-ports.c: New file.
2773 * gdb.guile/scm-ports.exp: Add memory port tests.
2775 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2777 * gdb.compile/compile-print.c: New file.
2778 * gdb.compile/compile-print.exp: New file.
2780 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2782 * gdb.compile/compile-ops.exp: Cast param to void.
2783 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2784 (compile code struct_object.selffield = &struct_object): Add xfail.
2786 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2788 * gdb.ada/arr_enum_with_gap: New testcase.
2790 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2792 * gdb.ada/byte_packed_arr: New testcase.
2794 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2796 * gdb.ada/pckd_neg: New testcase.
2798 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2801 * gdb.base/gdbinit-history.exp: New test.
2802 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2803 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2805 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2807 * gdb.python/py-xmethods.cc: Enhance test case.
2808 * gdb.python/py-xmethods.exp: New tests.
2809 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2811 (B_indexoper): Likewise.
2812 (global_dm_list) : Add new xmethod worker functions.
2814 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2816 * gdb.base/coredump-filter.exp: Correctly unset
2817 "coredump_var_addr" array.
2819 2015-05-08 Pedro Alves <palves@redhat.com>
2821 * gdb.server/non-existing-program.exp: Unset spawn_id.
2823 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2826 * gdb.python/py-xmethods.exp: Add tests.
2828 2015-05-08 Yao Qi <yao.qi@linaro.org>
2831 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2832 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2833 function set_coredump_filter, and remove remote_exec call.
2834 Remove argument ipid. Callers update.
2835 (top level): Don't get inferior's PID.
2837 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2839 * gdb.base/watch_thread_num.exp: Skip test on targets without
2842 2015-05-06 Pedro Alves <palves@redhat.com>
2845 * gdb.server/non-existing-program.exp: New file.
2847 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2849 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2851 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2853 * gdb.ada/out_of_line_in_inlined: New testcase.
2855 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2857 * gdb.ada/var_rec_arr: New testcase.
2859 2015-04-30 Yao Qi <yao.qi@linaro.org>
2861 * gdb.base/break-idempotent.exp: If
2862 skip_hw_watchpoint_multi_tests returns true, skip the tests
2863 on "rwatch" and "awatch".
2865 2015-04-30 Yao Qi <yao.qi@linaro.org>
2867 * gdb.base/relativedebug.exp: Invoke gdb command
2868 "info sharedlibrary", and if libc.so doesn't have debug info,
2871 2015-04-29 Doug Evans <dje@google.com>
2873 * gdb.python/py-xmethods.exp: Add ptype tests.
2874 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2875 get_result_type method.
2877 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2879 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2880 the target does not support hardware watchpoints.
2882 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2884 * gdb.base/break-always.exp: Abort testing if writing to memory
2887 2015-04-28 Doug Evans <dje@google.com>
2889 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2890 * gdb.python/py-pp-registration.exp: ... here. New file.
2891 * gdb.python/py-pp-registration.c: New file.
2892 * gdb.python/py-pp-registration.py: New file.
2894 2015-04-28 Doug Evans <dje@google.com>
2896 * gdb.python/py-bad-printers.c: New file.
2897 * gdb.python/py-bad-printers.py: New file.
2898 * gdb.python/py-bad-printers.exp: New file.
2900 2015-04-28 Sasha Smundak <asmundak@google.com>
2902 * gdb.python/py-type.exp: New test.
2904 2015-04-28 Andy Wingo <wingo@igalia.com>
2906 * gdb.python/py-parameter.exp:
2907 * gdb.guile/scm-parameter.exp: Escape the path that we are
2908 matching against, as it might contain characters that are special
2909 to regular expressions.
2911 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2913 * gdb.ada/rec_comp: New testcase.
2915 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2917 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2920 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2922 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2923 new tests for verilog output.
2925 2015-04-24 Yao Qi <yao.qi@linaro.org>
2927 * boards/remote-gdbserver-on-localhost.exp: New file.
2929 2015-04-23 Pedro Alves <palves@redhat.com>
2931 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2932 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2933 "end of file", remove $inferior_spawn_id from the indirect list.
2935 2015-04-23 Pedro Alves <palves@redhat.com>
2937 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2939 2015-04-23 Pedro Alves <palves@redhat.com>
2941 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2942 on $any_spawn_id instead of only on $gdb_spawn_id.
2944 2015-04-21 Pierre Muller <muller@sourceware.org>
2947 * lib/pascal.exp (gpc_compile): Add new option "class".
2948 (fpc_compile): Likewise.
2949 * gdb.pascal/case-insensitive-symbols.pas: New file.
2950 * gdb.pascal/case-insensitive-symbols.exp: New file.
2952 2015-04-20 Gary Benson <gbenson@redhat.com>
2954 * gdb.base/attach.exp: Fix three extended remote failures.
2956 2015-04-17 Gary Benson <gbenson@redhat.com>
2958 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2959 the main executable over the remote protocol.
2961 2015-04-16 Pedro Alves <palves@redhat.com>
2963 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2964 a new gdbserver if gdbserver_reconnect_p is set.
2966 2015-04-16 Pedro Alves <palves@redhat.com>
2968 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2969 is set, don't exit gdbserver.
2971 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2973 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2974 appropriate .insn, such that an older assembler can be used.
2975 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2976 the z/Architecture instruction set on 31-bit targets as well.
2978 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2980 * gdb.go/handcall.exp: Remove all logic related to the first
2981 breakpoint and rely on go_runto_main instead.
2982 * gdb.go/strings.exp: Likewise.
2983 * gdb.go/unsafe.exp: Likewise.
2984 * gdb.go/hello.exp: Likewise. Also rename the remaining
2985 breakpoint marker to "breakpoint 1".
2986 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2987 * gdb.go/strings.go: Likewise.
2988 * gdb.go/unsafe.go: Likewise.
2989 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2990 "set breakpoint 2 here" and rename the remaining breakpoint marker
2993 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2995 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2996 if itertools.imap is not present.
2997 * gdb.python/py-objfile.exp: Add parentheses.
2998 * gdb.python/py-type.exp: Same.
2999 * gdb.python/py-unwind-maint.py: Same.
3001 2015-04-15 Yao Qi <yao.qi@linaro.org>
3003 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3004 of ":$ptr_size" and set its form explicitly.
3006 2015-04-15 Pedro Alves <palves@redhat.com>
3007 Yao Qi <yao.qi@linaro.org>
3009 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3010 timeout by factor of 4.
3011 (test_regular_watch): Likewise.
3012 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3013 * gdb.reverse/sigall-reverse.exp: Likewise.
3014 * gdb.reverse/until-precsave.exp: Likewise.
3015 * lib/gdb.exp (with_timeout_factor): New proc.
3016 (gdb_expect): Move some code to ...
3017 (get_largest_timeout): ... here. New procedure.
3019 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3021 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3023 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3025 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3026 to write to the .text section.
3028 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3030 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3031 Handle the case of targets that do not provide PID information.
3033 2015-04-13 Yao Qi <yao.qi@linaro.org>
3035 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3036 and use expect instead of gdb_expect.
3038 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3040 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3041 "coredump_var_addr" to avoid naming conflict with other testcases.
3043 2015-04-10 Pedro Alves <palves@redhat.com>
3045 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3046 gdb_test_sequence and gdb_assert.
3048 2015-04-10 Pedro Alves <palves@redhat.com>
3050 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3051 test messages that don't include the breakpoint address.
3053 2015-04-10 Yao Qi <yao.qi@linaro.org>
3055 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3056 false for some offset and width combinations which aren't
3057 supported by linux kernel.
3059 2015-04-10 Pedro Alves <palves@redhat.com>
3061 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3062 procedure, factored out from ...
3063 (top level): ... here. Add "set displaced-stepping" testing axis.
3064 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3065 parameter "displaced". Use it.
3066 (top level): Use foreach and add "set displaced-stepping" testing
3069 2015-04-10 Pedro Alves <palves@redhat.com>
3071 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3073 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3074 both the address of the instruction that triggers the watchpoint
3075 and the address of the instruction immediately after, and use
3076 those addresses for the test. Fix comment.
3078 2015-04-10 Pedro Alves <palves@redhat.com>
3080 * gdb.base/sigstep.exp (breakpoint_to_handler)
3081 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3082 Test "backtrace" in handler.
3083 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3084 (top level): Add new "displaced" test axis to
3085 breakpoint_to_handler, breakpoint_to_handler_entry and
3086 breakpoint_over_handler.
3088 2015-04-10 Pedro Alves <palves@redhat.com>
3091 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3093 2015-04-10 Yao Qi <yao.qi@linaro.org>
3095 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3096 (test_add_rn_pc): New function.
3097 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3098 (top level): Invoke test_add_rn_pc.
3100 2015-04-10 Pedro Alves <palves@redhat.com>
3103 * gdb.base/step-over-no-symbols.exp: New file.
3105 2015-04-09 Andy Wingo <wingo@igalia.com>
3107 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3108 after the Python tests.
3110 2015-04-08 Keith Seitz <keiths@redhat.com>
3113 * gdb.python/py-completion.exp: New tests for completion.
3114 * gdb.python/py-completion.py (CompleteLimit1): New class.
3115 (CompleteLimit2): Likewise.
3116 (CompleteLimit3): Likewise.
3117 (CompleteLimit4): Likewise.
3118 (CompleteLimit5): Likewise.
3119 (CompleteLimit6): Likewise.
3120 (CompleteLimit7): Likewise.
3122 2015-04-08 Pedro Alves <palves@redhat.com>
3126 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3128 (main): Install it as SIGUSR1 handler.
3129 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3130 parameter. Always use "setup" as prefix. Toggle "set
3131 displaced-stepping" off/on depending on global. Don't switch to
3133 (top level): Add displaced stepping "off/on" test axis. Update
3134 "setup" calls. Wrap each subtest with with_test_prefix. Test
3135 continuing with a queued signal in each thread.
3137 2015-04-08 Pedro Alves <palves@redhat.com>
3139 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3140 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3141 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3142 Return early if running to main fails.
3143 * gdb.trace/while-stepping.exp: Likewise.
3145 2015-04-07 Pedro Alves <palves@redhat.com>
3147 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3148 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3149 interact with inferior program.
3151 2015-04-07 Pedro Alves <palves@redhat.com>
3153 * lib/gdb.exp (inferior_spawn_id): New global.
3154 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3155 spawn id after processing the user code.
3156 (default_gdb_start): Set inferior_spawn_id.
3157 (send_inferior): New procedure.
3158 * lib/gdbserver-support.exp (gdbserver_start): Set
3160 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3162 2015-04-07 Pedro Alves <palves@redhat.com>
3164 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3165 * lib/gdbserver-support.exp (gdbserver_start): Make
3166 $server_spawn_id global.
3167 (gdbserver_start): Don't wait for gdbserver's spawn id with
3169 (close_gdbserver): New procedure.
3170 (gdb_exit): Rename the default version and reimplement.
3172 2015-04-07 Pedro Alves <palves@redhat.com>
3174 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3175 append the substituted item, not the original item.
3177 2015-04-07 Pedro Alves <palves@redhat.com>
3179 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3182 2015-04-07 Pedro Alves <palves@redhat.com>
3184 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3185 output appearing once only.
3187 2015-04-07 Pedro Alves <palves@redhat.com>
3189 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3190 that doesn't expect anything. Return early if running to main
3193 2015-04-07 Yao Qi <yao.qi@linaro.org>
3195 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3196 (child_function): Call alarm.
3197 (main): Move call to alarm into the loop.
3198 * gdb.threads/non-stop-fair-events.exp: Build program with
3201 2015-04-06 Doug Evans <xdje42@gmail.com>
3203 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3204 Fix dest parameter to board_info.
3205 (fpc_compile): Ditto.
3206 (gdb_compile_pascal): Rename dest arg to destfile.
3208 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3210 * gdb.ada/funcall_ref.exp: New file.
3211 * gdb.ada/funcall_ref/foo.adb: New file.
3213 2015-04-02 Yao Qi <yao.qi@linaro.org>
3215 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3218 2015-04-02 Gary Benson <gbenson@redhat.com>
3220 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3222 2015-04-01 Sasha Smundak <asmundak@google.com>
3224 * gdb.python/py-unwind-maint.c: New file.
3225 * gdb.python/py-unwind-maint.exp: New test.
3226 * gdb.python/py-unwind-maint.py: New file.
3227 * gdb.python/py-unwind.c: New file.
3228 * gdb.python/py-unwind.exp: New test.
3229 * gdb.python/py-unwind.py: New test.
3231 2015-04-01 Pedro Alves <palves@redhat.com>
3233 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3234 to fail instead of non-existent $test.
3236 2015-04-01 Pedro Alves <palves@redhat.com>
3238 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3239 GDBFLAGS if not empty.
3241 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3243 * gdb.ada/complete.exp: Remove "multi_line".
3244 * gdb.ada/info_exc.exp: Remove "multi_line".
3245 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3246 * gdb.ada/ptype_field.exp: Remove "multi_line".
3247 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3248 * gdb.ada/tagged.exp: Remove "multi_line".
3249 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3251 * gdb.btrace/delta.exp: Likewise.
3252 * gdb.btrace/exception.exp: Likewise.
3253 * gdb.btrace/function_call_history.exp: Likewise.
3254 * gdb.btrace/instruction_history.exp: Likewise.
3255 * gdb.btrace/nohist.exp: Likewise.
3256 * gdb.btrace/record_goto.exp: Likewise.
3257 * gdb.btrace/segv.exp: Likewise.
3258 * gdb.btrace/stepi.exp: Likewise.
3259 * gdb.btrace/tailcall.exp: Likewise.
3260 * gdb.btrace/unknown_functions.exp: Likewise.
3261 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3262 * lib/gdb.exp: Add the "multi_line" helper.
3264 2015-04-01 Pedro Alves <palves@redhat.com>
3266 * gdb.threads/tid-reuse.c: New file.
3267 * gdb.threads/tid-reuse.exp: New file.
3269 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3272 * gdb.base/coredump-filter.c: New file.
3273 * gdb.base/coredump-filter.exp: Likewise.
3275 2015-03-27 Petr Machata <pmachata@redhat.com>
3277 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3278 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3279 (Dwarf::assemble): Initialize them.
3280 (Dwarf::lines): New function.
3282 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3284 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3285 SYMBOL_PREFIX for x86_64-*-cygwin.
3287 2015-03-26 Andy Wingo <wingo@igalia.com>
3290 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3291 const_value but not a location.
3292 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3293 location defined in non-main CUs are visible.
3295 2015-03-26 Yao Qi <yao.qi@linaro.org>
3298 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3299 Add a line number entry for the same line.
3300 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3301 Add a line number entry for the same line.
3303 2015-03-26 Yao Qi <yao.qi@linaro.org>
3305 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3307 (func): Likewise. Add .Lfunc_1 label.
3309 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3314 2015-03-26 Yao Qi <yao.qi@linaro.org>
3316 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3317 Call gdb_compile instead to compile each .s files without debug
3320 2015-03-26 Yao Qi <yao.qi@linaro.org>
3322 * gdb.base/savedregs.exp (process_saved_regs): Make
3323 "Saved registers:" optional in the pattern.
3325 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3327 * gdb.btrace/next.exp: Merged into step.exp.
3328 * gdb.btrace/finish.exp: Merged into step.exp.
3329 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3330 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3331 "record goto" and checking the exact replay position.
3332 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3333 check for "Recording format" in "info record" output.
3334 * gdb.btrace/record_goto.exp: Choose test file based on target.
3335 * gdb.btrace/x86-record_goto.S: Renamed into ...
3336 * gdb.btrace/x86_64-record_goto.S: ... this.
3337 * gdb.btrace/i686-record_goto.S: New.
3338 * gdb.btrace/x86-tailcall.S: Renamed into ...
3339 * gdb.btrace/x86_64-tailcall.S: ... this.
3340 * gdb.btrace/i686-tailcall.S: New.
3341 * gdb.btrace/x86-tailcall.c: Renamed into ...
3342 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3343 separate statements. Update test.
3344 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3345 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3346 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3347 * gdb.btrace/tailcall.exp: Choose test file based on target.
3348 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3350 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3352 * gdb.btrace/exception.exp: Increase BTS buffer size.
3354 2015-03-24 Pedro Alves <palves@redhat.com>
3356 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3358 2015-03-24 Pedro Alves <palves@redhat.com>
3360 * gdb.threads/schedlock.exp (test_step): No longer expect that
3361 "set scheduler-locking step" with "next" over a function call runs
3364 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3366 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3368 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3370 PR breakpoints/16466
3371 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3372 * gdb.mi/mi-pending.c (thread_func): New function.
3373 (int main): Add threading support required.
3374 * gdb.mi/mi-pending.exp: Add tests for this issue.
3375 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3376 (pendfunc2): Remove stdio dependency.
3377 * gdb.mi/mi-pendshr2.c: New file.
3379 2015-03-23 Keith Seitz <keiths@redhat.com>
3381 * gdb.linespec/keywords.c: New file.
3382 * gdb.linespec/keywords.exp: New file.
3384 2015-03-23 Keith Seitz <keiths@redhat.com>
3387 * gdb.dwarf2/staticvirtual.exp: New test.
3389 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3391 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3392 * README: Remove HP-UX and gdb.hp.
3394 * configure: Regenerate.
3395 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3396 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3397 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3398 gdb.hp/gdb.defects/Makefile.
3399 * gdb.hp/Makefile.in: File deleted.
3400 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3401 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3402 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3403 * gdb.hp/gdb.aCC/run.c: File deleted.
3404 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3405 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3406 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3407 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3408 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3409 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3410 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3411 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3412 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3413 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3414 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3415 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3416 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3417 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3418 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3419 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3420 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3421 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3422 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3423 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3424 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3425 * gdb.hp/gdb.compat/average.c: File deleted.
3426 * gdb.hp/gdb.compat/sum.c: File deleted.
3427 * gdb.hp/gdb.compat/xdb.c: File deleted.
3428 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3429 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3430 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3431 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3432 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3433 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3434 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3435 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3436 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3437 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3438 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3439 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3440 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3441 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3442 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3443 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3444 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3445 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3446 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3447 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3448 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3449 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3450 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3451 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3452 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3453 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3454 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3455 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3456 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3457 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3458 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3459 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3460 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3461 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3462 * gdb.hp/tools/odump: File deleted.
3464 2015-03-19 Pedro Alves <palves@redhat.com>
3466 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3467 (saw_thread_3): New globals.
3468 (top level): Increment them when an event for the corresponding
3470 (no thread starvation): New test.
3472 2015-03-19 Pedro Alves <palves@redhat.com>
3474 * gdb.threads/continue-pending-status.c: New file.
3475 * gdb.threads/continue-pending-status.exp: New file.
3477 2015-03-18 Pedro Alves <palves@redhat.com>
3479 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3480 Use gdb_is_target_remote instead of is_remote. Use
3481 gdb_test_multiple instead of gdb_expect. Exit early if
3482 gdb_test_multiple hits its internal matches. Tighten stepi tests
3483 expected output. Fail on exit with any signal, instead of just
3486 2015-03-18 Yao Qi <yao.qi@linaro.org>
3489 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3491 * gdb.base/catch-syscall.exp: Don't skip it on
3492 aarch64*-*-linux* target. Remove elements in all_syscalls.
3493 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3495 (setup_all_syscalls): New proc.
3497 2015-03-16 Yao Qi <yao.qi@linaro.org>
3499 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3500 (top level): Skip tests if valid_addr_p returns false for
3503 2015-03-11 Andy Wingo <wingo@igalia.com>
3505 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3507 2015-03-11 Yao Qi <yao.qi@linaro.org>
3509 * gdb.base/catch-syscall.exp: Fix typo in comments.
3511 2015-03-11 Yao Qi <yao.qi@linaro.org>
3513 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3515 2015-03-09 Pedro Alves <palves@redhat.com>
3517 * dg-extract-results.py: Delete.
3519 2015-03-09 Pedro Alves <palves@redhat.com>
3521 Merge dg-extract-results.sh from GCC upstream (r218843).
3523 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3524 * dg-extract-results.sh: Use --text with grep to avoid issues with
3525 binary files. Fall back to cat -v, if that doesn't work.
3527 2015-03-05 Pedro Alves <palves@redhat.com>
3529 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3531 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3533 * lib/mi-support.exp (mi_expect_interrupt): Accept
3534 alternative event for when in all-stop mode.
3536 2015-03-04 Pedro Alves <palves@redhat.com>
3538 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3540 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3542 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3544 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3546 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3547 regexps for GDB's current line display, accept a hex address
3548 preceding the line number.
3550 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3552 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3553 the 'arch1' variable for "s390*-linux*" targets.
3555 2015-03-04 Pedro Alves <palves@redhat.com>
3557 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3558 (main): Pass missing retval argument to pthread_join call.
3560 2015-03-02 Pedro Alves <palves@redhat.com>
3562 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3563 (top level): Call do_test with non-stop as well.
3565 2015-03-02 Pedro Alves <palves@redhat.com>
3567 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3570 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3572 * gdb.arch/s390-vregs.exp: New test.
3573 * gdb.arch/s390-vregs.S: New file.
3575 2015-02-27 Pedro Alves <palves@redhat.com>
3577 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3578 call to catch_command_errors.
3579 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3580 catch_command_errors.
3582 2015-02-27 Pedro Alves <palves@redhat.com>
3584 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3585 "true" for boolean result.
3586 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3589 2015-02-27 Pedro Alves <palves@redhat.com>
3591 * lib/unbuffer_output.c: New file.
3592 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3593 (main): Call gdb_unbuffer_output.
3595 2015-02-27 Yao Qi <yao.qi@linaro.org>
3597 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3600 2015-02-26 Doug Evans <dje@google.com>
3602 * gdb.cp/class2.cc (Dbase, D): New classes.
3603 (main): New local delta.
3604 * gdb.cp/class2.exp: Test printing delta.
3605 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3606 (dynbar): New global.
3607 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3609 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3611 * gdb.compile/compile-ifunc.c: New file.
3612 * gdb.compile/compile-ifunc.exp: New file.
3614 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3616 * gdb.base/structs.exp: Check for correct struct on finish.
3618 2015-02-26 Yao Qi <yao.qi@linaro.org>
3620 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3623 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3625 * gdb.arch/cordic.ko.bz2: New file.
3626 * gdb.arch/cordic.ko.debug.bz2: New file.
3627 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3629 2015-02-25 Yao Qi <yao.qi@linaro.org>
3631 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3632 aarch64*-*-* target.
3634 2015-02-23 Pedro Alves <palves@redhat.com>
3636 * lib/gdb.exp (delete_breakpoints): Rewrite using
3639 2015-02-23 Pedro Alves <palves@redhat.com>
3641 * gdb.base/info-os.c: Include stdlib.h.
3643 2015-02-22 Doug Evans <xdje42@gmail.com>
3646 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3647 is read after symbols have been re-read.
3648 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3649 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3651 2015-02-21 Doug Evans <dje@google.com>
3653 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3655 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3658 * gdb.arch/i386-biarch-core.core.bz2: New file.
3659 * gdb.arch/i386-biarch-core.exp: New file.
3661 2015-02-21 Pedro Alves <palves@redhat.com>
3663 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3666 2015-02-20 Pedro Alves <palves@redhat.com>
3668 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3671 2015-02-20 Pedro Alves <palves@redhat.com>
3673 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3675 2015-02-20 Pedro Alves <palves@redhat.com>
3677 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3678 clean_restart before gdb_target_supports_trace.
3680 2015-02-20 Pedro Alves <palves@redhat.com>
3683 * gdb.threads/clone-thread_db.c: New file.
3684 * gdb.threads/clone-thread_db.exp: New file.
3686 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3688 PR breakpoints/16812
3689 * gdb.base/catch-gdb-caused-signals.c: New file.
3690 * gdb.base/catch-gdb-caused-signals.exp: New file.
3692 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3694 * configure: Regenerated.
3695 * configure.ac: Use GDB_AC_TRANSFORM.
3696 * aclocal.m4: sinclude ../transform.m4.
3698 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3700 * lib/dtrace.exp: New file.
3701 * gdb.base/dtrace-probe.exp: Likewise.
3702 * gdb.base/dtrace-probe.d: Likewise.
3703 * gdb.base/dtrace-probe.c: Likewise.
3704 * lib/pdtrace.in: Likewise.
3705 * configure.ac: Output variables with the transformed names of
3706 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3707 * configure: Regenerated.
3709 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3711 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3712 expected message when trying to access $_probe_* convenience
3713 variables while not on a probe.
3715 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3717 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3719 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3721 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3722 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3724 2015-02-10 Doug Evans <xdje42@gmail.com>
3726 * lib/gdb.exp (gdb_load): Always return a result.
3728 2015-02-10 Pedro Alves <palves@redhat.com>
3730 * gdb.threads/signal-sigtrap.c: New file.
3731 * gdb.threads/signal-sigtrap.exp: New file.
3733 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3735 * gdb.trace/no-attach-trace.c: New file.
3736 * gdb.trace/no-attach-trace.exp: New file.
3738 2015-02-09 Mark Wielaard <mjw@redhat.com>
3740 * gdb.dwarf2/atomic.c: New file.
3741 * gdb.dwarf2/atomic-type.exp: Likewise.
3743 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3745 * gdb.btrace/buffer-size.exp: Update "info record" output.
3746 * gdb.btrace/delta.exp: Update "info record" output.
3747 * gdb.btrace/enable.exp: Update "info record" output.
3748 * gdb.btrace/finish.exp: Update "info record" output.
3749 * gdb.btrace/instruction_history.exp: Update "info record" output.
3750 * gdb.btrace/next.exp: Update "info record" output.
3751 * gdb.btrace/nexti.exp: Update "info record" output.
3752 * gdb.btrace/step.exp: Update "info record" output.
3753 * gdb.btrace/stepi.exp: Update "info record" output.
3754 * gdb.btrace/nohist.exp: Update "info record" output.
3756 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3758 * gdb.btrace/buffer-size: New.
3760 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3762 * gdb.btrace/delta.exp: Update "info record" output.
3763 * gdb.btrace/enable.exp: Update "info record" output.
3764 * gdb.btrace/finish.exp: Update "info record" output.
3765 * gdb.btrace/instruction_history.exp: Update "info record" output.
3766 * gdb.btrace/next.exp: Update "info record" output.
3767 * gdb.btrace/nexti.exp: Update "info record" output.
3768 * gdb.btrace/step.exp: Update "info record" output.
3769 * gdb.btrace/stepi.exp: Update "info record" output.
3770 * gdb.btrace/nohist.exp: Update "info record" output.
3772 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3775 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3777 2015-02-06 Pedro Alves <palves@redhat.com>
3779 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3781 (seconds_left, again): New globals.
3782 (main): Wait seconds_left in a 1-second sleep loop instead of
3783 sleeping 180 seconds. If 'again' is set, reset the seconds
3785 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3786 'again' in the inferior before detaching. Print the seconds left.
3787 (options): New global.
3788 (top level): Build program with -DTIMEOUT=$timeout.
3790 2015-02-06 Pedro Alves <palves@redhat.com>
3792 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3793 determine how many seconds to pass to 'alarm'.
3794 * gdb.base/gdb-sigterm.exp (top level): Build program with
3796 (do_test): Return success/failure indication. Add more verbose
3797 logging. Don't fail if 200 single steps are seen. Instead, fail
3798 when the test times out.
3799 (passes): New global.
3800 (top level): Break the testing loop if testing fails on any
3801 iteration. Use gdb_assert.
3803 2015-02-04 Don Breazeal <donb@codesourcery.com>
3805 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3806 and initialize them.
3807 (ipc_cleanup): New function.
3808 (main): Don't declare shmid, semid, and msqid. Add a call to
3809 atexit so that we call ipc_cleanup on exit.
3811 2015-02-04 Pedro Alves <palves@redhat.com>
3813 * boards/native-extended-gdbserver.exp: Remove any target variant
3814 specifications from the board name before clearing the isremote
3815 flag from board_info.
3817 2015-01-31 Doug Evans <xdje42@gmail.com>
3819 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3821 2015-01-31 Gary Benson <gbenson@redhat.com>
3823 * gdb.base/completion.exp: Disable completion limiting for
3824 existing tests. Add new tests to check completion limiting.
3825 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3827 2015-01-31 Doug Evans <xdje42@gmail.com>
3829 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3831 2015-01-31 Doug Evans <xdje42@gmail.com>
3833 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3834 entries. Duplicate file section script entries.
3835 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3836 inlined entries. Add test for safe-path rejection.
3837 * gdb.python/py-section-script.c: Add duplicate inlined section script
3838 entries. Duplicate file section script entries.
3839 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3840 inlined entries. Add test for safe-path rejection.
3842 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3844 * gdb.ada/disc_arr_bound: New testcase.
3846 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3848 * gdb.ada/mi_var_array: New testcase.
3850 2015-01-27 Doug Evans <dje@google.com>
3852 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3853 Add test for objfile.filename, objfile.username after objfile
3856 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3858 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3859 the second test to print the name attribute of value
3860 returned by the call to gdb.lookup_type, and adjust
3861 the expected output accordingly.
3863 2015-01-25 Mark Wielaard <mjw@redhat.com>
3865 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3866 * gdb.base/disp-step-fork.c: Include unistd.h.
3867 * gdb.base/siginfo-obj.c: Include stdio.h.
3868 * gdb.base/siginfo-thread.c: Likewise.
3869 * gdb.mi/non-stop.c: Include unistd.h.
3870 * gdb.mi/nsthrexec.c: Include stdio.h.
3871 * gdb.mi/pthreads.c: Include unistd.h.
3872 * gdb.modula2/unbounded1.c (main): Declare returns int.
3873 * gdb.reverse/consecutive-reverse.c: Likewise.
3874 * gdb.threads/create-fail.c: Include unistd.h.
3875 * gdb.threads/killed.c: Likewise.
3876 * gdb.threads/linux-dp.c: Likewise.
3877 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3878 * gdb.threads/non-ldr-exc-2.c: Likewise.
3879 * gdb.threads/non-ldr-exc-3.c: Likewise.
3880 * gdb.threads/non-ldr-exc-4.c: Likewise.
3881 * gdb.threads/pthreads.c: Include unistd.h.
3882 (main): Declare returns int.
3883 * gdb.threads/tls-main.c (foo): New declaration.
3884 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3886 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3888 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3889 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3891 2015-01-15 Mark Wielaard <mjw@redhat.com>
3893 * gdb.base/noreturn-return.c: New file.
3894 * gdb.base/noreturn-return.exp: New file.
3895 * gdb.base/noreturn-finish.c: New file.
3896 * gdb.base/noreturn-finish.exp: New file.
3898 2015-01-23 Pedro Alves <palves@redhat.com>
3900 * gdb.threads/continue-pending-after-query.c: New file.
3901 * gdb.threads/continue-pending-after-query.exp: New file.
3903 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3904 Simon Marchi <simon.marchi@ericsson.com>
3906 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3907 * gdb.base/valgrind-db-attach.exp: Same.
3908 * gdb.base/valgrind-infcall.exp: Same.
3909 * lib/mi-support.exp (default_mi_gdb_start): Same.
3910 * lib/prompt.exp (default_prompt_gdb_start): Same.
3911 * lib/gdb.exp (default_gdb_spawn): Same.
3912 (gdb_interact): New.
3915 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3917 * gdb.compile/compile.exp (pointer to jit function): New test.
3919 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3921 * lib/gdb.exp (supports_process_record): Return true for
3923 (supports_reverse): Likewise.
3925 2015-01-15 Don Breazeal <donb@codesourcery.com>
3927 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3928 instead of checking whether the target board is remote and
3929 use spawn_wait_for_attach instead of exec/sleep.
3930 * gdb.base/attach-twice.exp: Likewise.
3932 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3934 * gdb.ada/var_arr_attrs: New testcase.
3936 2015-01-14 Pedro Alves <palves@redhat.com>
3937 Joel Brobecker <brobecker@adacore.com>
3940 * gdb.base/bp-cmds-execution-x-script.c: New file.
3941 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3942 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3944 2015-01-14 Pedro Alves <palves@redhat.com>
3947 * gdb.base/batch-preserve-term-settings.c: New file.
3948 * gdb.base/batch-preserve-term-settings.exp: New file.
3950 2015-01-13 Doug Evans <dje@google.com>
3952 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3955 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3957 * Makefile.in (clean mostlyclean): Do not delete *.py.
3959 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3961 * gdb.python/py-lookup-type.exp: New file.
3963 2015-01-12 Pedro Alves <palves@redhat.com>
3965 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3966 restore GDBFLAGS before returning.
3968 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3970 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3971 is_amd64_regs_target and is_x86_like_target.
3973 2015-01-11 Doug Evans <xdje42@gmail.com>
3975 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3976 is given without an explicit form.
3977 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3979 * gdb.dwarf/corrupt.exp: Ditto.
3980 * gdb.dwarf2/enum-type.exp: Ditto.
3981 * gdb.trace/entry-values.exp: Ditto.
3982 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3984 2015-01-11 Doug Evans <xdje42@gmail.com>
3987 * gdb.base/maint.exp: Remove references to "maint demangle".
3988 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3989 Add tests for explicitly specifying language to demangle.
3990 * gdb.dlang/demangle.exp: Ditto.
3992 2015-01-09 Pedro Alves <palves@redhat.com>
3994 * gdb.threads/non-stop-fair-events.c: New file.
3995 * gdb.threads/non-stop-fair-events.exp: New file.
3997 2015-01-09 Pedro Alves <palves@redhat.com>
3999 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4000 the global scope. Set a breakpoint after all threads are started
4001 rather than stepping over two source lines. Expect the prompt.
4002 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4005 (main): Use threads_started_barrier to wait for all threads to
4006 start. Main thread no longer calls thread_function. Exit after
4008 (loop): New function.
4009 (thread_function): Wait on threads_started_barrier barrier. Call
4010 'loop' at each iteration.
4011 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4012 threads have started, instead of hardcoding number of "next"
4013 steps. Use an access watchpoint instead of a write watchpoint.
4015 2015-01-09 Pedro Alves <palves@redhat.com>
4017 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4018 (thread_func): Wait on barrier.
4019 (main): Wait for all threads to start before stopping GDB.
4020 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4022 (thread1_func, thread2_func): Wait on barrier.
4023 (main): Wait for all threads to start before stopping GDB.
4024 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4026 (thread1_func, thread2_func): Wait on barrier.
4027 (main): Wait for all threads to start before stopping GDB.
4029 2015-01-09 Pedro Alves <palves@redhat.com>
4031 * gdb.threads/attach-many-short-lived-threads.c: New file.
4032 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4034 2014-01-09 Pedro Alves <palves@redhat.com>
4036 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4037 instead of to thread 2.
4038 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4039 Add barrier around each pthread_create call instead of around all
4041 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4042 Set a break on thread_function and have the child threads hit it
4045 2015-01-09 Pedro Alves <palves@redhat.com>
4047 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4048 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4050 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4051 checking whether the target board is remote.
4052 * gdb.multi/multi-attach.exp: Likewise.
4053 * gdb.python/py-sync-interp.exp: Likewise.
4054 * gdb.server/ext-attach.exp: Likewise.
4055 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4056 tests that need to attach, instead of checking whether the target
4057 board is remote at the top of the file.
4059 2015-01-08 Yao Qi <yao@codesourcery.com>
4061 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4063 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4065 Fix testcase compilation.
4066 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4068 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4070 * gdb.python/py-type.exp: Add a couple test about empty
4071 array creation, and negative-length array creation.
4073 2015-01-02 Doug Evans <xdje42@gmail.com>
4075 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4077 2015-01-02 Doug Evans <dje@google.com>
4079 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4081 2014-12-29 Yao Qi <yao@codesourcery.com>
4083 * gdb.trace/entry-values.exp: Update comments. Rename variable
4084 bar_call_foo to returned_from_foo.
4086 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4089 * gdb.linespec/break-asm-file.c: New file.
4090 * gdb.linespec/break-asm-file.exp: New file.
4091 * gdb.linespec/break-asm-file0.s: New file.
4092 * gdb.linespec/break-asm-file1.s: New file.
4094 2014-12-18 Nigel Stephens <nigel@mips.com>
4095 Maciej W. Rozycki <macro@codesourcery.com>
4097 * gdb.base/float.exp: Handle the new output from "info float" on
4100 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4102 Fix MinGW compilation.
4103 * gdb.compile/compile-ops.exp: Update untested message if
4104 !skip_compile_feature_tests.
4105 * gdb.compile/compile-setjmp.exp: Likewise.
4106 * gdb.compile/compile-tls.exp: Likewise.
4107 * gdb.compile/compile.exp: Likewise.
4108 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4109 supported on this host".
4111 2014-12-16 Doug Evans <xdje42@gmail.com>
4113 * boards/stabs.exp: New file.
4115 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4117 * gdb.base/completion.exp: Adjust to format changes of "maint
4118 print user-registers".
4120 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4123 * gdb.arch/aarch64-fp.c: New file.
4124 * gdb.arch/aarch64-fp.exp: New file.
4126 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4128 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4129 r210637, r210913, r211666, r215400, r215817).
4131 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4132 * dg-extract-results.py: New file.
4133 * dg-extract-results.sh: Use it if the environment seems
4136 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4138 * dg-extract-results.py (parse_run): Handle warnings that
4139 are printed before a test harness is run.
4141 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4143 * dg-extract-results.py (Named): Remove __cmp__ method.
4144 (output_variation): Use a key to sort variation.harnesses.
4146 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4148 * dg-extract-results.py: For Python 3, force sys.stdout to
4149 handle surrogate escape sequences.
4150 (safe_open): New function.
4151 (output_segment, main): Use it.
4153 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4155 * dg-extract-results.py (Prog.result_re): Include options
4158 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4160 * dg-extract-results.py (output_variation): Always sort if
4163 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4165 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4166 as long as we get pagination notifications.
4168 2014-12-15 Jason Merrill <jason@redhat.com>
4170 * Makefile.in (check-gdb.%): Restore.
4171 * README: Mention it.
4173 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4175 * gdb.ada/str_uninit: New testcase.
4177 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4180 * gdb.base/vla-stub-define.c: New file.
4181 * gdb.base/vla-stub.c: New file.
4182 * gdb.base/vla-stub.exp: New file.
4184 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4185 Jan Kratochvil <jan.kratochvil@redhat.com>
4186 Tom Tromey <tromey@redhat.com>
4188 * configure.ac: Add gdb.compile/.
4189 * configure: Regenerate.
4190 * gdb.compile/Makefile.in: New file.
4191 * gdb.compile/compile-ops.exp: New file.
4192 * gdb.compile/compile-ops.c: New file.
4193 * gdb.compile/compile-tls.c: New file.
4194 * gdb.compile/compile-tls.exp: New file.
4195 * gdb.compile/compile-constvar.S: New file.
4196 * gdb.compile/compile-constvar.c: New file.
4197 * gdb.compile/compile-mod.c: New file.
4198 * gdb.compile/compile-nodebug.c: New file.
4199 * gdb.compile/compile-setjmp-mod.c: New file.
4200 * gdb.compile/compile-setjmp.c: New file.
4201 * gdb.compile/compile-setjmp.exp: New file.
4202 * gdb.compile/compile-shlib.c: New file.
4203 * gdb.compile/compile.c: New file.
4204 * gdb.compile/compile.exp: New file.
4205 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4207 2014-12-12 Tom Tromey <tromey@redhat.com>
4209 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4210 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4212 2014-12-12 Doug Evans <dje@google.com>
4214 * lib/gdb-python.exp (get_python_valueof): New function.
4215 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4217 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4219 * gdb.base/completion.exp: Add test for completion of "info
4222 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4224 * gdb.base/func-ptrs.c: New file.
4225 * gdb.base/func-ptrs.exp: New file.
4227 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4229 PR breakpoints/17012
4230 * gdb.base/dprintf-detach.c: New file.
4231 * gdb.base/dprintf-detach.exp: New file.
4233 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4235 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4236 * lib/gdb.exp (target_is_gdbserver): New procedure.
4238 2014-12-08 Doug Evans <dje@google.com>
4240 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4242 2014-12-05 Yao Qi <yao@codesourcery.com>
4244 * gdb.guile/scm-error.exp: Remove the third argument to
4245 gdb_remote_download.
4246 * gdb.guile/scm-frame-args.exp: Likewise.
4247 * gdb.guile/scm-section-script.exp: Likewise.
4249 2014-12-05 Yao Qi <yao@codesourcery.com>
4251 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4253 2014-12-04 Doug Evans <dje@google.com>
4255 * gdb.python/py-objfile.exp: Add tests for
4256 objfile.add_separate_debug_file.
4258 2014-12-04 Doug Evans <dje@google.com>
4260 * lib/gdb.exp (get_build_id): New function.
4261 (build_id_debug_filename_get): Rewrite to use it.
4262 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4264 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4266 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4267 `method(long)', not just 0x0.
4268 * gdb.cp/nsalias.exp: Align code labels to 4.
4269 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4270 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4271 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4272 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4273 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4274 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4276 2014-12-02 Doug Evans <dje@google.com>
4279 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4280 * gdb.cp/anon-ns2.cc: ... here. New file.
4281 * gdb.cp/anon-ns.exp: Update.
4283 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4285 * gdb.python/py-events.py (inferior_call_handler): New.
4286 (register_changed_handler, memory_changed_handler): New.
4287 (test_events.invoke): Register new handlers.
4288 * gdb.python/py-events.exp: Add tests for inferior call,
4289 memory_changed and register_changed events.
4291 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4294 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4295 if the linker doesn't understand this.
4297 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4299 * gdb.python/python.exp: Change expected reply to help().
4301 2014-12-01 Yao Qi <yao@codesourcery.com>
4303 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4304 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4305 * configure: Re-generated.
4307 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4309 * gdb.cp/chained-calls.cc: New file.
4310 * gdb.cp/chained-calls.exp: New file.
4311 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4313 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4315 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4316 * gdb.dwarf2/symtab-producer.exp: Same.
4317 * gdb.gdb/python-interrupts.exp: Same.
4318 * gdb.gdb/python-selftest.exp: Same.
4319 * gdb.python/py-linetable.exp: Same.
4320 * gdb.python/py-type.exp: Same.
4321 * gdb.python/py-value-cc.exp: Same.
4322 * gdb.python/py-value.exp: Same.
4324 2014-11-28 Yao Qi <yao@codesourcery.com>
4326 * gdb.base/break-probes.exp: Match library name prefixed with
4329 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4331 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4332 test expected output. Add parentheses for the call to print.
4333 Remove L suffix from integers.
4335 2014-11-26 Doug Evans <dje@google.com>
4337 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4339 2014-11-22 Yao Qi <yao@codesourcery.com>
4341 * gdb.trace/entry-values.c: Remove asms.
4342 (foo): Add foo_label.
4343 (bar): Add bar_label.
4344 * gdb.trace/entry-values.exp: Remove code computing foo's
4345 length and bar's length.
4346 (Dwarf::assemble): Invoke function_range for bar and use
4347 MACRO_AT_func for foo.
4349 2014-11-22 Yao Qi <yao@codesourcery.com>
4351 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4352 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4353 Use .Lgcc43_procstart instead of gcc43.
4355 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4357 * gdb.ada/n_arr_bound: New testcase.
4359 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4361 PR breakpoints/10737
4362 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4363 test_catch_syscall_multi_arch.
4364 (test_catch_syscall_multi_arch): New function.
4366 2014-11-20 Doug Evans <xdje42@gmail.com>
4368 * gdb.base/maint.exp: Update expected output.
4370 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4372 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4373 4-byte instruction on S390.
4375 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4377 * gdb.ada/arr_arr: New testcase.
4379 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4381 * gdb.ada/pkd_arr_elem: New Testcase.
4383 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4385 * gdb.reverse/break-precsave: Expect completion message for
4387 * gdb.reverse/consecutive-precsave.exp: Likewise.
4388 * gdb.reverse/finish-precsave.exp: Likewise.
4389 * gdb.reverse/i386-precsave.exp: Likewise.
4390 * gdb.reverse/machinestate-precsave.exp: Likewise.
4391 * gdb.reverse/sigall-precsave.exp: Likewise.
4392 * gdb.reverse/solib-precsave.exp: Likewise.
4393 * gdb.reverse/step-precsave.exp: Likewise.
4394 * gdb.reverse/until-precsave.exp: Likewise.
4395 * gdb.reverse/watch-precsave.exp: Likewise.
4397 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4399 * gdb.base/bp-permanent.c: Include unistd.h.
4400 * gdb.python/py-framefilter-mi.c (main): Add return type.
4401 * gdb.python/py-framefilter.c (main): Likewise.
4402 * gdb.trace/actions-changed.c (main): Likewise.
4404 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4406 * gdb.mi/until.c: Add eye-catchers.
4407 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4410 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4412 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4413 function header variants in break1.c.
4414 * gdb.base/ena-dis-br.exp: Likewise.
4415 * gdb.base/hbreak2.exp: Likewise.
4416 * gdb.reverse/until-precsave.exp: Drop references to removed
4417 non-prototype function header variants in ur1.c.
4418 * gdb.reverse/until-reverse.exp: Likewise.
4420 2014-11-17 Petr Machata <pmachata@redhat.com>
4422 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4423 ${_cu_offset_size} bytes abbrev offset.
4425 2014-11-15 Doug Evans <xdje42@gmail.com>
4428 * gdb.base/line-symtabs.exp: New file.
4429 * gdb.base/line-symtabs.c: New file.
4430 * gdb.base/line-symtabs.h: New file.
4432 2014-11-14 Yao Qi <yao@codesourcery.com>
4434 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4435 (func): Add label func_label.
4436 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4437 Replace low_pc and high_pc with MACRO_AT_range.
4438 Replace name, low_pc and high_pc with MACRO_AT_func.
4440 2014-11-14 Yao Qi <yao@codesourcery.com>
4442 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4443 Replace name, low_pc and high_pc with MACRO_AT_func.
4445 2014-11-14 Yao Qi <yao@codesourcery.com>
4447 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4448 produce debug information.
4449 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4451 2014-11-14 Yao Qi <yao@codesourcery.com>
4453 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4454 object and get function length.
4455 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4457 (top-level): Replace gdb_compile and clean_restart with
4458 prepare_for_testing.
4459 * gdb.dwarf2/main.c (main): Add label main_label.
4461 2014-11-14 Yao Qi <yao@codesourcery.com>
4463 * lib/dwarf.exp (function_range): New procedure.
4464 (Dwarf::_handle_macro_at_func): New procedure.
4465 (Dwarf::_handle_macro_at_range): New procedure.
4466 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4468 2014-11-14 Yao Qi <yao@codesourcery.com>
4470 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4471 (_handle_attribute): New procedure.
4473 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4475 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4476 * gdb.base/call-sc.c (zed): Likewise.
4477 * gdb.base/checkpoint.c (main): Likewise.
4478 * gdb.base/dump.c (main): Likewise.
4479 * gdb.base/gcore.c (main): Likewise.
4480 * gdb.base/huge.c (main): Likewise.
4481 * gdb.base/multi-forks.c (main): Likewise.
4482 * gdb.base/pr10179-a.c (main): Likewise.
4483 * gdb.base/savedregs.c (main): Likewise.
4484 * gdb.base/sigaltstack.c (main): Likewise.
4485 * gdb.base/siginfo.c (main): Likewise.
4486 * gdb.base/structs.c (zed): Likewise.
4487 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4488 * gdb.mi/mi-syn-frame.c (main): Likewise.
4489 * gdb.mi/until.c (foo, main): Likewise.
4490 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4491 * gdb.base/solib-weak.c (foo): Declare.
4492 * gdb.base/attach-twice.c: Include stdio.h.
4493 * gdb.base/weaklib1.c: Likewise.
4494 * gdb.base/weaklib2.c: Likewise.
4495 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4496 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4498 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4499 * gdb.mi/mi-exit-code.c: Likewise.
4500 * gdb.base/break-interp-lib.c: Include string.h.
4501 * gdb.base/coremaker.c: Likewise.
4502 * gdb.base/testenv.c: Likewise.
4503 * gdb.python/py-finish-breakpoint.c: Likewise.
4504 * gdb.base/inferior-died.c: Include sys/wait.h.
4505 * gdb.base/fileio.c: Include time.h.
4506 * gdb.base/async-shell.c: Include unistd.h.
4507 * gdb.base/dprintf-non-stop.c: Likewise.
4508 * gdb.base/info-os.c: Likewise.
4509 * gdb.mi/mi-console.c: Likewise.
4510 * gdb.mi/watch-nonstop.c: Likewise.
4511 * gdb.python/py-events.c: Likewise.
4512 * gdb.base/async.c (baz): Move up before its invocation.
4513 * gdb.base/code_elim2.c (my_global_func): Likewise.
4514 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4515 * gdb.base/advance.c (func2): Likewise.
4517 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4519 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4521 * gdb.base/annota3.c: Likewise.
4522 * gdb.base/async.c: Likewise.
4523 * gdb.base/average.c: Likewise.
4524 * gdb.base/call-ar-st.c: Likewise.
4525 * gdb.base/call-rt-st.c: Likewise.
4526 * gdb.base/call-sc.c: Likewise.
4527 * gdb.base/call-strs.c: Likewise.
4528 * gdb.base/ending-run.c: Likewise.
4529 * gdb.base/execd-prog.c: Likewise.
4530 * gdb.base/exprs.c: Likewise.
4531 * gdb.base/foll-exec.c: Likewise.
4532 * gdb.base/foll-fork.c: Likewise.
4533 * gdb.base/foll-vfork.c: Likewise.
4534 * gdb.base/funcargs.c: Likewise.
4535 * gdb.base/gcore.c: Likewise.
4536 * gdb.base/jump.c: Likewise.
4537 * gdb.base/langs0.c: Likewise.
4538 * gdb.base/langs1.c: Likewise.
4539 * gdb.base/langs2.c: Likewise.
4540 * gdb.base/mips_pro.c: Likewise.
4541 * gdb.base/nodebug.c: Likewise.
4542 * gdb.base/opaque0.c: Likewise.
4543 * gdb.base/opaque1.c: Likewise.
4544 * gdb.base/recurse.c: Likewise.
4545 * gdb.base/run.c: Likewise.
4546 * gdb.base/scope0.c: Likewise.
4547 * gdb.base/scope1.c: Likewise.
4548 * gdb.base/setshow.c: Likewise.
4549 * gdb.base/setvar.c: Likewise.
4550 * gdb.base/shmain.c: Likewise.
4551 * gdb.base/shr1.c: Likewise.
4552 * gdb.base/shr2.c: Likewise.
4553 * gdb.base/sigall.c: Likewise.
4554 * gdb.base/signals.c: Likewise.
4555 * gdb.base/so-indr-cl.c: Likewise.
4556 * gdb.base/solib2.c: Likewise.
4557 * gdb.base/structs.c: Likewise.
4558 * gdb.base/sum.c: Likewise.
4559 * gdb.base/vforked-prog.c: Likewise.
4560 * gdb.base/watchpoint.c: Likewise.
4561 * gdb.reverse/shr2.c: Likewise.
4562 * gdb.reverse/until-reverse.c: Likewise.
4563 * gdb.reverse/ur1.c: Likewise.
4564 * gdb.reverse/watch-reverse.c: Likewise.
4566 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4568 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4570 * gdb.base/sepdebug.exp: Drop references to removed code.
4572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4574 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4575 variant. Preserve original line numbering.
4576 * gdb.base/list1.c: Likewise.
4578 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4582 * gdb.base/break1.c: Likewise.
4583 * gdb.base/break.exp: Drop references to removed code.
4585 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4587 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4590 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4592 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4597 logic into perform_all_tests() and invoke it with and without
4598 function header prototypes.
4599 (do_function_calls): Remove conditional XFAIL for PR 5318.
4600 (rerun_and_prepare): Remove duplicate code.
4601 (perform_all_tests): New. Main logic moved here.
4603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4606 code guarded by #ifdef NO_PROTOTYPES.
4607 (t_double_many_args): Likewise.
4608 (DEF_FUNC_MANY_ARGS_1): Likewise.
4609 (DEF_FUNC_VALUES_1): Likewise.
4610 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4611 guarded by #ifdef PROTOTYPES.
4613 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615 * gdb.mi/mi-console.c: Add eye-catcher.
4616 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4617 instead of literal line number.
4619 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4621 * gdb.base/shr2.c: Add eye-catcher.
4622 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4625 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4627 * gdb.base/jump.c: Add eye-catchers.
4628 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4633 * gdb.base/execd-prog.c: Add eye-catchers.
4634 * gdb.base/foll-exec.c: Likewise.
4635 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4638 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4640 * gdb.base/ending-run.c: Add eye-catchers.
4641 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4642 literal line numbers.
4644 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4646 * gdb.base/call-rt-st.c: Add eye-catchers.
4647 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4648 literal line numbers.
4650 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652 * gdb.base/call-ar-st.c: Add eye-catchers.
4653 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4654 literal line numbers.
4656 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4658 * gdb.base/average.c: Add eye-catchers.
4659 * gdb.base/sum.c: Likewise.
4660 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4661 regexps dynamically.
4663 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4665 * gdb.base/solib1.c: Add eye-catchers.
4666 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4667 literal line numbers.
4669 2014-11-12 Pedro Alves <palves@redhat.com>
4671 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4674 2014-11-12 Pedro Alves <palves@redhat.com>
4676 * gdb.arch/i386-bp_permanent.c: New file.
4677 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4678 (srcfile): Set to i386-bp_permanent.c.
4679 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4680 that stepi does not execute the 'leave' instruction, instead of
4681 testing it does execute.
4682 * gdb.base/bp-permanent.c: New file.
4683 * gdb.base/bp-permanent.exp: New file.
4685 2014-11-10 Doug Evans <xdje42@gmail.com>
4688 * gdb.base/symtab-search-order.exp: New file.
4689 * gdb.base/symtab-search-order.c: New file.
4690 * gdb.base/symtab-search-order-1.c: New file.
4691 * gdb.base/symtab-search-order-shlib-1.c: New file.
4693 2014-11-07 Pedro Alves <palves@redhat.com>
4696 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4699 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4702 * gdb.cp/pr17494.cc: New file.
4703 * gdb.cp/pr17494.exp: New file.
4705 2014-11-02 Yao Qi <yao@codesourcery.com>
4707 * gdb.python/python.exp: Get working directory and match the
4708 output of "set extended-prompt \\w " with it.
4710 2014-10-30 Doug Evans <dje@google.com>
4712 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4714 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4717 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4719 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4720 * gdb.base/realname-expand.exp: Likewise.
4721 * gdb.linespec/macro-relative.exp: Likewise.
4723 2014-10-29 Pedro Alves <palves@redhat.com>
4726 * gdb.threads/schedlock.c (some_function): New function.
4727 (call_function): New global.
4728 (MAYBE_CALL_SOME_FUNCTION): New macro.
4729 (thread_function): Call it.
4730 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4731 and use it instead of a global counter. Adjust all callers.
4732 (get_current_thread): Use "find current thread" for test message
4733 here rather than having all callers pass down the same string.
4734 (goto_loop): New procedure, factored out from ...
4735 (my_continue): ... this.
4736 (step_ten_loops): Change parameter from test message to command to
4738 (list_count): Delete global.
4739 (check_result): New procedure, factored out from duplicate top
4741 (continue tests): Wrap in with_test_prefix.
4742 (test_step): New procedure, factored out from duplicate top level
4744 (top level): Test "step" in combination with all scheduler-locking
4745 modes. Test "next" in combination with all scheduler-locking
4746 modes, and in combination with stepping over a function call or
4748 * gdb.threads/next-bp-other-thread.c: New file.
4749 * gdb.threads/next-bp-other-thread.exp: New file.
4751 2014-10-29 Pedro Alves <palves@redhat.com>
4754 * gdb.python/python.exp: Test a multi-line command that spawns
4756 * gdb.base/multi-line-starts-subshell.exp: New file.
4758 2014-10-29 Yao Qi <yao@codesourcery.com>
4760 * gdb.base/fileio.exp: Make directories on host.
4762 2014-10-29 Yao Qi <yao@codesourcery.com>
4764 * gdb.base/fileio.c (test_write): Close the file.
4766 2014-10-28 Pedro Alves <palves@redhat.com>
4769 * gdb.base/sigstep.c (no_handler): New global.
4770 (main): If 'no_handler is true, set the signal handlers to
4772 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4773 with_sw_watch and no_handler parameters. Handle them.
4774 (top level) <stepping over handler when stopped at a breakpoint
4775 test>: Add a test axis for testing with a software watchpoint, and
4776 another for testing with the signal handler set to SIG_IGN.
4777 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4778 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4780 2014-10-28 Pedro Alves <palves@redhat.com>
4783 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4784 * gdb.base/sigstep.exp (other_handler_location): New global.
4785 (advance): Support stepping into the signal handler, and running
4786 commands while in the handler.
4787 (in_handler_map): New global.
4788 (top level): In the advance test, add combinations for getting
4789 into the handler with stepping commands, and for running commands
4790 in the handler. Add comment descripting the advancei tests.
4792 2014-10-28 Pedro Alves <palves@redhat.com>
4794 * gdb.base/sigstep.exp: Use build_executable instead of
4795 prepare_for_testing.
4796 (top level): Move code that starts GDB, runs to main and creates a
4798 (restart): ... this new procedure.
4799 (top level): Move backtrace from signal handler test to ...
4800 (validate_backtrace): ... this new procedure.
4801 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4802 with_test_prefix. Always restart GDB.
4803 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4804 with_test_prefix. Always restart GDB. No need to delete
4805 breakpoints after the test.
4806 (test_skip_handler): Remove prefix parameter.
4807 (skip_over_handler, breakpoint_to_handler)
4808 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4809 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4810 restart GDB. No need to delete breakpoints after the test.
4811 (top level): Use foreach to call the test procedures with
4814 2014-10-28 Pedro Alves <palves@redhat.com>
4816 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4817 instead of GNATS numbers.
4818 * gdb.base/sigbpt.exp: Likewise.
4819 * gdb.base/siginfo.exp: Likewise.
4820 * gdb.base/sigstep.exp: Likewise.
4822 2014-10-27 Pedro Alves <palves@redhat.com>
4824 * gdb.base/sigstep.c (dummy): New global.
4825 (main): Issue a couple writes to the new global.
4826 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4828 (skip_over_handler): Use test_skip_handler.
4829 (top level): Call skip_over_handler for stepi and nexti too.
4830 (breakpoint_over_handler): Use test_skip_handler.
4831 (top level): Call breakpoint_over_handler for stepi and nexti too.
4833 2014-10-27 Yao Qi <yao@codesourcery.com>
4835 * gdb.trace/tfile.c (adjust_function_address)
4836 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4837 function descriptor.
4839 2014-10-24 Don Breazeal <donb@codesourcery.com>
4841 * gdb.base/foll-fork.exp (test_follow_fork,
4842 catch_fork_child_follow): Check for updated fork messages emitted
4844 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4845 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4846 vfork_and_exec_child_follow_through_step): Check for updated vfork
4847 messages emitted from infrun.c.
4849 2014-10-24 Pedro Alves <palves@redhat.com>
4851 * gdb.base/corefile.exp: Remove references to ultrix.
4852 * gdb.base/interrupt.exp: Likewise.
4853 * gdb.base/whatis.exp: Likewise.
4854 * gdb.gdb/selftest.exp: Likewise.
4855 * gdb.threads/manythreads.exp: Likewise.
4856 * gdb.threads/print-threads.exp: Likewise.
4857 * gdb.threads/pthreads.exp:: Likewise.
4858 * gdb.threads/schedlock.exp: Likewise.
4860 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4862 * gdb.cp/non-trivial-retval.cc: Add a test case.
4863 * gdb.cp/non-trivial-retval.exp: Add a test.
4865 2014-10-20 Yao Qi <yao@codesourcery.com>
4867 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4868 * gdb.python/py-objfile-script-gdb.py: New file.
4869 * gdb.python/py-objfile-script.exp: Update reference to
4870 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4871 of remote_download. Remove the dest file.
4873 2014-10-20 Yao Qi <yao@codesourcery.com>
4875 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4876 * gdb.base/step-line.exp: Likewise.
4877 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4878 * gdb.dwarf2/dw2-basic.exp: Likewise.
4879 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4880 * gdb.dwarf2/dw2-filename.exp: Likewise.
4881 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4882 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4883 * gdb.dwarf2/dw2-producer.exp: Likewise.
4884 * gdb.dwarf2/mac-fileno.exp: Likewise.
4885 * gdb.python/py-frame-args.exp: Likewise.
4886 * gdb.python/py-framefilter.exp: Likewise.
4887 * gdb.python/py-mi.exp: Likewise.
4888 * gdb.python/py-objfile-script.exp: Likewise
4889 * gdb.python/py-pp-integral.exp: Likewise.
4890 * gdb.python/py-pp-re-notag.exp: Likewise.
4891 * gdb.python/py-prettyprint.exp: Likewise.
4892 * gdb.python/py-section-script.exp: Likewise.
4893 * gdb.python/py-typeprint.exp: Likewise.
4894 * gdb.python/py-xmethods.exp: Likewise.
4895 * gdb.stabs/weird.exp: Likewise.
4896 * gdb.xml/tdesc-regs.exp: Likewise.
4898 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4900 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4901 (out_cu): Use addr_len for the size of addresses.
4902 (out_line): Likewise. Size DW_LNE_set_address instruction
4903 according to addr_len.
4904 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4905 (FUNC): Add START_INSNS to definition.
4907 2014-10-18 Yao Qi <yao@codesourcery.com>
4909 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4910 gdb_has_argv0 return true.
4911 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4912 check [target_info exists noargs], check [gdb_has_argv0]
4914 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4915 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4918 2014-10-17 Doug Evans <dje@google.com>
4920 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4922 * gdb.python/py-events.py: Add clear_objfiles event.
4924 2014-10-17 Doug Evans <dje@google.com>
4926 * gdb.python/py-objfile.exp: Test progspace attribute.
4928 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4930 * gdb.guile/scm-breakpoint.exp: Do not assume any
4931 directory separators when matching source file paths.
4932 * gdb.python/py-breakpoint.exp: Likewise.
4933 * gdb.reverse/break-precsave.exp: Likewise.
4934 * gdb.reverse/break-reverse.exp: Likewise.
4935 * gdb.reverse/consecutive-precsave.exp: Likewise.
4936 * gdb.reverse/finish-precsave.exp: Likewise.
4937 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4938 * gdb.reverse/finish-reverse.exp: Likewise.
4939 * gdb.reverse/i386-precsave.exp: Likewise.
4940 * gdb.reverse/i387-env-reverse.exp: Likewise.
4941 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4942 * gdb.reverse/machinestate-precsave.exp: Likewise.
4943 * gdb.reverse/machinestate.exp: Likewise.
4944 * gdb.reverse/sigall-precsave.exp: Likewise.
4945 * gdb.reverse/solib-precsave.exp: Likewise.
4946 * gdb.reverse/step-precsave.exp: Likewise.
4947 * gdb.reverse/until-precsave.exp: Likewise.
4948 * gdb.reverse/watch-precsave.exp: Likewise.
4949 * gdb.reverse/watch-reverse.exp: Likewise.
4951 2014-10-17 Yao Qi <yao@codesourcery.com>
4953 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4954 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4956 2014-10-17 Pedro Alves <palves@redhat.com>
4959 * gdb.base/bg-execution-repeat.c: New file.
4960 * gdb.base/bg-execution-repeat.exp: New file.
4962 2014-10-17 Pedro Alves <palves@redhat.com>
4965 * gdb.base/continue-all-already-running.c: New file.
4966 * gdb.base/continue-all-already-running.exp: New file.
4968 2014-10-17 Pedro Alves <palves@redhat.com>
4971 * gdb.base/annota-input-while-running.c: New file.
4972 * gdb.base/annota-input-while-running.exp: New file.
4974 2014-10-17 Pedro Alves <palves@redhat.com>
4976 * gdb.base/callfuncs.exp: emove references to osf.
4977 * gdb.base/sigall.exp: Likewise.
4978 * gdb.gdb/selftest.exp: Likewise.
4979 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4980 * gdb.mi/non-stop.c: Likewise.
4981 * gdb.mi/pthreads.c: Likewise.
4982 * gdb.reverse/sigall-precsave.exp: Likewise.
4983 * gdb.reverse/sigall-reverse.exp: Likewise.
4984 * gdb.threads/pthreads.c: Likewise.
4985 * gdb.threads/pthreads.exp: Likewise.
4987 2014-10-17 Yao Qi <yao@codesourcery.com>
4989 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4990 check 'target_info exists noargs'.
4991 (test_command_prompt_position): Likewise.
4992 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4994 (progvar_simple_while_test): Likewise.
4995 (progvar_complex_if_while_test): Likewise.
4996 (if_while_breakpoint_command_test): Likewise.
4997 (infrun_breakpoint_command_test): Likewise.
4998 (breakpoint_command_test): Likewise.
4999 (watchpoint_command_test): Likewise.
5000 (bp_deleted_in_command_test): Likewise.
5001 (temporary_breakpoint_commands): Likewise.
5003 2014-10-16 Yao Qi <yao@codesourcery.com>
5005 * gdb.base/remotetimeout.exp: Remove noargs checking.
5007 2014-10-15 Pedro Alves <palves@redhat.com>
5010 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5011 * gdb.base/breakpoint-in-ro-region.exp
5012 (probe_target_hardware_step): New procedure.
5013 (top level): Probe hardware stepping and hardware breakpoint
5014 support. Test stepping through a read-only region, with both
5015 "breakpoint auto-hw" on and off and both "always-inserted" on and
5018 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5020 * gdb.dlang/demangle.exp: Update for demangling changes.
5022 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5024 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5025 * gdb.cp/non-trivial-retval.exp: Add new tests.
5027 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5031 * gdb.cp/non-trivial-retval.cc: New file.
5032 * gdb.cp/non-trivial-retval.exp: New file.
5034 2014-10-15 Yao Qi <yao@codesourcery.com>
5036 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5039 2014-10-15 Yao Qi <yao@codesourcery.com>
5041 * gdb.python/py-symbol.exp: Match file base name if host is
5042 remote, otherwise match file name with dir name.
5043 * gdb.python/py-symtab.exp: Likewise.
5044 * gdb.python/python.exp: Likewise.
5046 2014-10-15 Yao Qi <yao@codesourcery.com>
5048 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5050 * gdb.python/py-symtab.exp: Likewise.
5051 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5054 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5056 * gdb.ada/addr_arith: New testcase.
5058 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5060 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5061 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5062 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5063 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5065 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5067 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5068 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5069 * gdb.arch/stap-eval-lang-ada.exp: New file.
5071 2014-10-14 Yao Qi <yao@codesourcery.com>
5073 * gdb.mi/mi-var-child.c (nothing1): New function.
5074 (nothing2): New function.
5075 (do_children_tests): Set function pointers by nothing1 and
5077 * gdb.mi/mi-var-child.exp: Step over new added statements.
5078 Update test to match the new output.
5079 * gdb.mi/var-cmd.c (nothing1): New function.
5080 (nothing2): New function.
5081 (do_children_tests): Set function pointers by nothing1 and
5083 * gdb.mi/mi-var-display.exp: Update test to match output.
5084 Step to the line specified by $line_dct_nothing.
5085 Increase the number of lines to step.
5087 2014-10-14 Yao Qi <yao@codesourcery.com>
5089 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5091 * gdb.mi/mi2-var-child.exp: Likewise.
5093 2014-10-13 Doug Evans <dje@google.com>
5095 * gdb.python/py-objfile.exp: Change name of file name test.
5097 2014-10-13 Doug Evans <dje@google.com>
5099 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5100 from the start of the CU.
5102 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5103 Yao Qi <yao@codesourcery.com>
5105 Fix "save breakpoints" for "catch" command.
5106 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5107 Remove -nonewline. Match also the added "main" line.
5109 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5111 Fix "save breakpoints" for "disable $bpnum" command.
5112 * gdb.base/save-bp.c (main): Add label.
5113 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5115 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5117 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5119 2014-10-11 Yao Qi <yao@codesourcery.com>
5121 * gdb.server/server-kill.exp: Execute command
5122 "set remote trace-status-packet on" before "tstatus".
5124 2014-10-11 Yao Qi <yao@codesourcery.com>
5126 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5127 (main): Call getppid.
5128 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5129 and continue to it. Read variable "server_pid".
5131 2014-10-11 Yao Qi <yao@codesourcery.com>
5133 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5135 2014-10-11 Yao Qi <yao@codesourcery.com>
5137 * gdb.threads/thread-find.exp: Don't execute command
5139 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5140 * gdb.threads/linux-dp.exp: Don't check the condition
5141 $threads_created equals to zero.
5143 2014-10-10 Pedro Alves <palves@redhat.com>
5145 * gdb.base/bigcore.exp: Remove references to IRIX.
5146 * gdb.base/funcargs.exp: Likewise.
5147 * gdb.base/interrupt.exp: Likewise.
5148 * gdb.base/mips_pro.exp: Likewise.
5149 * gdb.base/nodebug.exp: Likewise.
5150 * gdb.base/setvar.exp: Likewise.
5151 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5153 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 Pedro Alves <palves@redhat.com>
5157 * gdb.base/vdso-warning.c: New file.
5158 * gdb.base/vdso-warning.exp: New file.
5160 2014-10-02 Doug Evans <dje@google.com>
5162 * gdb.base/structs.c (main): Don't run forever.
5164 2014-10-02 Pedro Alves <palves@redhat.com>
5166 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5167 (top level) <stop threads 1, stop threads 2>: Use it.
5169 2014-10-02 Pedro Alves <palves@redhat.com>
5171 * gdb.threads/break-while-running.exp (test): Add new
5172 'update_thread_list' argument. Skip "info threads" if false.
5173 (top level): Add new 'update_thread_list' axis.
5175 2014-10-02 Pedro Alves <palves@redhat.com>
5177 PR breakpoints/17431
5178 * gdb.base/execl-update-breakpoints.c: New file.
5179 * gdb.base/execl-update-breakpoints.exp: New file.
5181 2014-10-01 Pedro Alves <palves@redhat.com>
5183 * gdb.base/breakpoint-in-ro-region.c: New file.
5184 * gdb.base/breakpoint-in-ro-region.exp: New file.
5186 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5188 * gdb.mi/mi-exit-code.exp: New file.
5189 * gdb.mi/mi-exit-code.c: New file.
5191 2014-09-30 Yao Qi <yao@codesourcery.com>
5193 * lib/prelink-support.exp (build_executable_own_libs): Error if
5194 the target isn't native.
5196 2014-09-30 Yao Qi <yao@codesourcery.com>
5198 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5201 2014-09-22 Pedro Alves <palves@redhat.com>
5203 * gdb.threads/break-while-running.exp: New file.
5204 * gdb.threads/break-while-running.c: New file.
5206 2014-09-19 Yao Qi <yao@codesourcery.com>
5208 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5209 Invoke test. Restart GDB with --readnow and invoke test again.
5211 2014-09-19 Yao Qi <yao@codesourcery.com>
5213 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5214 proc set_breakpoint_on_gcd_function. Invoke
5215 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5216 invoke set_breakpoint_on_gcd_function again.
5218 2014-09-18 Doug Evans <dje@google.com>
5220 * gdb.dwarf2/symtab-producer.exp: New file.
5222 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5224 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5225 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5226 * gdb.base/global-var-nested-by-dso.c: Likewise.
5227 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5229 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5230 Pedro Alves <palves@redhat.com>
5232 * gdb.base/watch-bitfields.exp: Pass string other than test file
5233 name to prepare_for_testing.
5234 (watch): New procedure.
5235 (expect_watchpoint): Use with_test_prefix.
5236 (top level): Factor out tests to ...
5237 (test_watch_location, test_regular_watch): ... these new
5238 procedures, and use with_test_prefix and gdb_continue_to_end.
5240 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5242 PR breakpoints/12526
5243 * gdb.base/watch-bitfields.exp: New file.
5244 * gdb.base/watch-bitfields.c: New file.
5246 2014-09-16 Pedro Alves <palves@redhat.com>
5248 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5249 software and hardware addresses, not software address against
5252 2014-09-16 Pedro Alves <palves@redhat.com>
5254 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5255 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5257 2014-09-16 Pedro Alves <palves@redhat.com>
5259 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5261 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5262 "*-*-vxworks*" throughout.
5263 * gdb.base/break.exp: Likewise.
5264 * gdb.base/default.exp: Likewise.
5265 * gdb.base/scope.exp: Likewise.
5266 * gdb.base/sepdebug.exp: Likewise.
5267 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5269 * gdb.base/run.c: Likewise.
5270 * gdb.base/sepdebug.c: Likewise.
5271 * gdb.hp/gdb.aCC/run.c: Likewise.
5272 * gdb.reverse/until-reverse.c: Likewise.
5273 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5275 2014-09-16 Yao Qi <yao@codesourcery.com>
5277 * boards/local-remote-host-native.exp: New file.
5279 2014-09-14 Doug Evans <xdje42@gmail.com>
5281 * gdb.threads/queue-signal.c (thread_count): New variable.
5282 (thread_count_mutex, thread_count_condvar): New variables.
5283 (incr_thread_count, wait_all_threads_running): New functions.
5284 (main): Wait for all threads to be in their thread functions.
5286 2014-09-13 Doug Evans <xdje42@gmail.com>
5288 * gdb.threads/queue-signal.c: New file.
5289 * gdb.threads/queue-signal.exp: New file.
5291 2014-09-13 Doug Evans <xdje42@gmail.com>
5293 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5294 be consistent with what default_gdb_init uses.
5295 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5296 the plain text of the prompt. Add some logging printfs.
5297 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5299 2014-09-12 Pedro Alves <palves@redhat.com>
5301 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5302 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5303 * gdb.arch/i386-size-overlap.exp: Likewise.
5304 * gdb.arch/i386-size.exp: Likewise.
5305 * gdb.arch/i386-unwind.exp: Likewise.
5306 * gdb.base/a2-run.exp: Likewise.
5307 * gdb.base/break.exp: Likewise.
5308 * gdb.base/charset.exp: Likewise.
5309 * gdb.base/chng-syms.exp: Likewise.
5310 * gdb.base/commands.exp: Likewise.
5311 * gdb.base/dbx.exp: Likewise.
5312 * gdb.base/find.exp: Likewise.
5313 * gdb.base/funcargs.exp: Likewise.
5314 * gdb.base/jit-simple.exp: Likewise.
5315 * gdb.base/reread.exp: Likewise.
5316 * gdb.base/sepdebug.exp: Likewise.
5317 * gdb.base/step-bt.exp: Likewise.
5318 * gdb.cp/mb-inline.exp: Likewise.
5319 * gdb.cp/mb-templates.exp: Likewise.
5320 * gdb.objc/basicclass.exp: Likewise.
5321 * gdb.threads/killed.exp: Likewise.
5323 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5326 * gdb.arch/powerpc-stackless.S: New file.
5327 * gdb.arch/powerpc-stackless.exp: New file.
5329 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 * gdb.base/attach.c: Include unistd.h.
5332 (main): Call alarm. Add label postloop.
5333 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5334 gdb_breakpoint, gdb_continue_to_breakpoint.
5335 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5337 2014-09-11 Pedro Alves <palves@redhat.com>
5340 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5341 * gdb.base/attach.exp (test_command_line_attach_run): New
5343 (top level): Call it.
5345 2014-09-11 Pedro Alves <palves@redhat.com>
5347 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5348 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5349 (do_command_attach_tests): Use spawn_wait_for_attach.
5350 * gdb.base/solib-overlap.exp: Likewise.
5351 * gdb.multi/multi-attach.exp: Likewise.
5352 * gdb.python/py-prompt.exp: Likewise.
5353 * gdb.python/py-sync-interp.exp: Likewise.
5354 * gdb.server/ext-attach.exp: Likewise.
5356 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5358 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5359 command in testcase. Simplify testcase.
5361 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5363 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5367 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5369 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5371 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5373 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5375 * gdb.dwarf2/dynarr-ptr.c: New file.
5376 * gdb.dwarf2/dynarr-ptr.exp: New file.
5378 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5380 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5381 of 30 rather than hardcoding 120 for a slow test case. Take the
5382 `gdb,timeout' target setting into account for this calculation.
5383 Don't extend the timeout for the test cases that don't need it.
5385 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5387 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5388 a factor of 2 for a slow test case. Take the `gdb,timeout'
5389 target setting into account for this calculation.
5390 * gdb.reverse/until-precsave.exp: Increase the timeout by
5391 a factor of 15 and 3 respectively rather than adding 120
5392 for a pair of slow test cases. Take the `gdb,timeout'
5393 target setting into account for this calculation.
5395 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5397 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5398 timeout, don't pass one down to gdb_expect.
5399 (gdb_expect): Rework timeout selection.
5401 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5403 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5404 exception on timeout.
5405 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5406 (gdbserver_start_extended): Catch any `gdbserver_start' error
5408 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5409 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5410 `gdbserver_gdb_load' error exceptions.
5412 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5414 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5415 120 on waiting for the TCP socket to open.
5417 2014-09-09 Doug Evans <xdje42@gmail.com>
5419 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5420 _caller_matches, _any_caller_is, _any_caller_matches.
5422 2014-09-09 Doug Evans <xdje42@gmail.com>
5424 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5426 2014-09-09 Yao Qi <yao@codesourcery.com>
5428 * gdb.mi/mi-var-display.exp: Set print symbol off.
5430 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5433 * gdb.base/commands.exp: Add tests to verify user-defined
5434 commands with empty bodies.
5435 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5436 python commands in `show user command`.
5437 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5438 scheme commands in `show user command`.
5440 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5443 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5444 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5445 * gdb.python/py-framefilter-invalidarg.exp: New file.
5446 * gdb.python/py-framefilter-invalidarg.py: New file.
5448 2014-09-06 Doug Evans <xdje42@gmail.com>
5451 * gdb.python/py-caller-is.c: New file.
5452 * gdb.python/py-caller-is.exp: New file.
5454 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5457 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5458 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5460 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5463 * gdb.fortran/print-formatted.exp: New file.
5464 * gdb.fortran/print-formatted.f90: Likewise.
5466 2014-09-03 Sasha Smundak <asmundak@google.com>
5468 * gdb.python/py-frame.exp: Test Frame.read_register.
5470 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5473 * gdb.python/py-completion.exp: New file.
5474 * gdb.python/py-completion.py: Likewise.
5476 2014-08-28 Doug Evans <dje@google.com>
5478 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5479 eax,etc. are live with values set by gdb and thus the compiler can't
5481 * gdb.arch/i386-pseudo.c (main): Ditto.
5483 2014-08-27 Doug Evans <dje@google.com>
5485 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5487 2014-08-25 Doug Evans <dje@google.com>
5489 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5492 2014-08-25 Doug Evans <dje@google.com>
5494 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5496 2014-08-24 Yao Qi <yao@codesourcery.com>
5498 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5500 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5502 2014-08-22 Doug Evans <dje@google.com>
5505 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5506 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5507 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5509 2014-08-22 Yao Qi <yao@codesourcery.com>
5511 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5512 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5513 * gdb.python/python.exp: Likewise. Use .py file on the host
5514 instead of the build.
5516 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5518 * gdb.threads/gcore-stale-thread.c: New file.
5519 * gdb.threads/gcore-stale-thread.exp: New file.
5521 2014-08-21 Pedro Alves <palves@redhat.com>
5523 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5524 * gdb.base/gcore-relro-pie.exp: Likewise.
5525 * gdb.base/gcore-relro.exp: Likewise.
5526 * gdb.base/gcore.exp: Likewise.
5527 * gdb.base/print-symbol-loading.exp: Likewise.
5528 * gdb.threads/gcore-thread.exp: Likewise.
5529 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5531 2014-08-20 Pedro Alves <palves@redhat.com>
5532 Jan Kratochvil <jan.kratochvil@redhat.com>
5534 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5536 (EXPECT): Handle READ1 being set.
5537 (all): Depend on EXTRA_RULES.
5538 (check-read1, expect-read1, read1.so, read1): New rules.
5539 * README (Testsuite Parameters): Document the READ1 make variable.
5540 (Race detection): New section.
5541 * configure: Regenerate.
5542 * configure.ac: If build==host==target, and running under a
5543 GNU/glibc system, add read1 to the extra Makefile rules.
5544 (EXTRA_RULES): AC_SUBST it.
5545 * lib/read1.c: New file.
5547 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5549 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5550 the handling of variables declared as a typedef to an array
5551 which a DW_AT_data_location attribute.
5553 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5554 Pedro Alves <palves@redhat.com>
5558 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5561 2014-08-19 Pedro Alves <palves@redhat.com>
5563 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5565 2014-08-19 Yao Qi <yao@codesourcery.com>
5567 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5570 2014-08-18 David Blaikie <dblaikie@gmail.com>
5572 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5574 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5576 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5577 attribute in array range.
5579 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5581 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5583 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5586 * gdb.cp/pr17132.cc: New file.
5587 * gdb.cp/pr17132.exp: New file.
5589 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5591 * gdb.python/py-xmethods.py (A_getarrayind)
5592 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5593 Use 'print' with function call syntax.
5594 (E_method_matcher.match): Fix tab vs space indentation mixup.
5596 2014-08-15 Yao Qi <yao@codesourcery.com>
5598 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5601 2014-08-15 Yao Qi <yao@codesourcery.com>
5603 * gdb.cp/casts.exp: Set print symbol off.
5604 * gdb.cp/class2.exp: Likewise.
5605 * gdb.cp/overload.exp: Likewise.
5606 * gdb.cp/templates.exp: Likewise.
5608 2014-08-11 Doug Evans <dje@google.com>
5610 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5611 (test_load_shlib): Update.
5613 2014-08-09 Yao Qi <yao@codesourcery.com>
5615 * gdb.base/display.exp: Invoke is_address_zero_readable.
5616 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5617 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5618 * gdb.base/hbreak-unmapped.exp: Return if
5619 is_address_zero_readable returns true.
5620 * gdb.base/signest.exp: Likewise.
5621 * gdb.base/signull.exp: Likewise.
5622 * gdb.base/sigbpt.exp: Likewise.
5623 * gdb.guile/scm-disasm.exp: Do the test if
5624 is_address_zero_readable returns false.
5625 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5626 * gdb.python/py-arch.exp: Likewise.
5627 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5628 * lib/gdb.exp (is_address_zero_readable): New proc.
5630 2014-08-09 Yao Qi <yao@codesourcery.com>
5633 * gdb.mi/mi-var-display.exp: Make test messages unique.
5635 2014-08-04 Tom Tromey <tromey@redhat.com>
5637 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5640 2014-08-04 Tom Tromey <tromey@redhat.com>
5642 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5645 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5647 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5648 inner_vla_struct_object_size.
5649 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5652 2014-07-30 Pedro Alves <palves@redhat.com>
5654 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5657 2014-07-29 Yao Qi <yao@codesourcery.com>
5660 * gdb.base/until-nodebug.exp: New.
5662 2014-07-28 Doug Evans <xdje42@gmail.com>
5665 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5666 previously existing parameter, and previously ambiguously spelled
5669 2014-07-28 Will Newton <will.newton@linaro.org>
5671 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5673 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5674 Doug Evans <xdje42@gmail.com>
5677 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5679 2014-07-25 Pedro Alves <palves@redhat.com>
5681 * gdb.threads/signal-command-handle-nopass.c: New file.
5682 * gdb.threads/signal-command-handle-nopass.exp: New file.
5683 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5684 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5685 * gdb.threads/signal-delivered-right-thread.c: New file.
5686 * gdb.threads/signal-delivered-right-thread.exp: New file.
5688 2014-07-25 Pedro Alves <palves@redhat.com>
5690 * gdb.base/double-prompt-target-event-error.exp
5691 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5693 (cancel_pagination_in_target_event): Rework double prompt
5695 * gdb.base/paginate-after-ctrl-c-running.exp
5696 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5698 * gdb.base/paginate-bg-execution.exp
5699 (test_bg_execution_pagination_return)
5700 (test_bg_execution_pagination_cancel): Remove '-notransfer
5702 * gdb.base/paginate-execution-startup.exp
5703 (test_fg_execution_pagination_return)
5704 (test_fg_execution_pagination_cancel): Remove '-notransfer
5706 * gdb.base/paginate-inferior-exit.exp
5707 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5709 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5710 * lib/gdb.exp (pagination_prompt): Run text through
5712 (gdb_test_multiple): Match $pagination_prompt instead of
5714 (string_to_regexp): Move to lib/gdb-utils.exp.
5716 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5718 * gdb.arch/amd64-entry-value-paramref.S: New file.
5719 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5720 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5721 * gdb.arch/amd64-optimout-repeat.S: New file.
5722 * gdb.arch/amd64-optimout-repeat.c: New file.
5723 * gdb.arch/amd64-optimout-repeat.exp: New file.
5725 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5728 * gdb.base/statistics.exp: New file.
5730 2014-07-17 Doug Evans <dje@google.com>
5733 * gdb.base/maint.exp: Update testing of per-command stats.
5735 2014-07-16 Pedro Alves <palves@redhat.com>
5737 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5738 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5739 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5740 (tfile_write_buf): New functions.
5741 (add_memory_block): Rewrite using the above.
5742 (adjust_function_address): New function.
5743 (FUNCTION_ADDRESS): New macro.
5744 (write_basic_trace_file): Remove short_x local, and use
5745 tfile_write_16. Change type of func_addr local to unsigned long
5746 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5747 here. Cast argument of add_memory_block to char pointer.
5748 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5749 (main): Remove parameters.
5750 * gdb.trace/tfile.exp: Remove nowarnings.
5752 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5754 * gdb.base/debug-expr.exp: Test string evaluation with
5755 "debug expression" on.
5757 2014-07-15 Pedro Alves <palves@redhat.com>
5759 * gdb.base/reread.exp: Use clean_restart.
5761 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5763 * gdb.arch/avr-flash-qualifer.c: New.
5764 * gdb.arch/avr-flash-qualifer.exp: New.
5766 2014-07-14 Pedro Alves <palves@redhat.com>
5768 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5769 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5771 2014-07-14 Pedro Alves <palves@redhat.com>
5773 * gdb.base/double-prompt-target-event-error.c: New file.
5774 * gdb.base/double-prompt-target-event-error.exp: New file.
5776 2014-07-14 Pedro Alves <palves@redhat.com>
5779 * gdb.base/paginate-inferior-exit.c: New file.
5780 * gdb.base/paginate-inferior-exit.exp: New file.
5782 2014-07-14 Pedro Alves <palves@redhat.com>
5785 * gdb.base/paginate-bg-execution.c: New file.
5786 * gdb.base/paginate-bg-execution.exp: New file.
5788 2014-07-14 Pedro Alves <palves@redhat.com>
5791 * gdb.base/paginate-execution-startup.c: New file.
5792 * gdb.base/paginate-execution-startup.exp: New file.
5793 * lib/gdb.exp (pagination_prompt): New global.
5794 (default_gdb_spawn): New procedure, factored out from
5796 (default_gdb_start): Adjust to call default_gdb_spawn.
5797 (gdb_spawn): New procedure.
5799 2014-07-14 Pedro Alves <palves@redhat.com>
5801 * lib/gdb.exp (gdb_assert): New procedure.
5802 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5804 2014-07-14 Pedro Alves <palves@redhat.com>
5806 * gdb.base/execution-termios.c: New file.
5807 * gdb.base/execution-termios.exp: New file.
5809 2014-07-14 Tom Tromey <tromey@redhat.com>
5811 * gdb.cp/vla-cxx.cc: New file.
5812 * gdb.cp/vla-cxx.exp: New file.
5814 2014-07-14 Tom Tromey <tromey@redhat.com>
5816 * gdb.reverse/rerun-prec.c: New file.
5817 * gdb.reverse/rerun-prec.exp: New file.
5819 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5820 Maciej W. Rozycki <macro@codesourcery.com>
5822 * lib/gdb-utils.exp: New file.
5823 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5824 inline `gdb_init_command' processing.
5825 (gdb_start_cmd): Likewise.
5826 * lib/mi-support.exp (mi_run_cmd): Likewise.
5827 * README: Document `gdb_init_command' and `gdb_init_commands'.
5829 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5831 Fix false FAIL running under a very long directory name.
5832 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5833 and "set print elements 10000". Twice.
5835 2014-07-11 Yao Qi <yao@codesourcery.com>
5837 * gdb.base/exprs.exp: "set print symbol off".
5839 2014-07-11 Pedro Alves <palves@redhat.com>
5841 * gdb.threads/kill.c: New file.
5842 * gdb.threads/kill.exp: New file.
5844 2014-07-10 Yao Qi <yao@codesourcery.com>
5846 * gdb.trace/tfile.c (write_basic_trace_file)
5847 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5848 address written to trace file.
5850 2014-07-09 Pedro Alves <palves@redhat.com>
5852 * gdb.base/attach-wait-input.exp: New file.
5853 * gdb.base/attach-wait-input.c: New file.
5855 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5857 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5858 setting up test structures.
5859 (main): Call new test function.
5860 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5861 test function, continue into test function and walk test
5864 2014-07-02 Yao Qi <yao@codesourcery.com>
5866 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5867 'bar_start' at the beginning of functions 'foo' and 'bar'
5869 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5870 instead of 'foo' and 'bar'.
5872 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5874 * gdb.btrace/segv.exp: New.
5875 * gdb.btrace/segv.c: New.
5877 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5879 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5882 2014-06-30 Mark Wielaard <mjw@redhat.com>
5884 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5885 vulture, vilify, villar): New volatile array constants.
5886 (vindictive, vegetation): New const volatile array constants.
5887 * gdb.base/volatile.exp: Test volatile and const volatile array
5890 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5892 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5893 target lacks support for awatch, rwatch, or hbreak.
5895 2014-06-27 Yao Qi <yao@codesourcery.com>
5897 * gdb.multi/dummy-frame-restore.exp: New.
5898 * gdb.multi/dummy-frame-restore.c: New.
5900 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5902 * gdb.btrace/gcore.exp: New.
5904 2014-06-23 Pedro Alves <palves@redhat.com>
5906 * gdb.base/watchpoint-reuse-slot.c: New file.
5907 * gdb.base/watchpoint-reuse-slot.exp: New file.
5909 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5911 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5912 progspace's filename in 'info', 'enable' and 'disable' command
5915 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5917 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5918 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5919 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5921 2014-06-20 Gary Benson <gbenson@redhat.com>
5923 * gdb.arch/i386-avx.exp: Fix include file location.
5924 * gdb.arch/i386-sse.exp: Likewise.
5926 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5928 * gdb.dlang/expression.exp: New file.
5930 2014-06-19 Pedro Alves <palves@redhat.com>
5932 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5934 (top level): ... here. Iterate running tests under different
5935 scheduler-locking settings.
5937 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5939 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5940 to DW_FORM_addr and use non-zero addresses.
5942 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5945 * gdb.python/py-xmethods.cc: Add global function call counters and
5946 increment them in their respective functions. Remove "cout"
5948 * gdb.python/py-xmethods.exp: Make tests check the global function
5949 call counters instead of depending on inferior IO.
5951 2014-06-18 Don Breazeal <donb@codesourcery.com>
5953 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5955 (explicit_fork_parent_follow): Deleted procedure.
5956 (explicit_fork_child_follow): Deleted procedure.
5957 (test_follow_fork): New procedure.
5958 (do_fork_tests): Replace calls to deleted procedures with
5959 calls to test_follow_fork and reset GDB for subsequent
5962 2014-06-17 Yao Qi <yao@codesourcery.com>
5964 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5967 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5969 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5970 Initialize ptr and S explicitly.
5971 (skip_type_update_when_not_use_rtti_test): Likewise.
5973 2014-06-16 Keith Seitz <keiths@redhat.com>
5976 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5977 the inferior is started.
5979 2014-06-16 Pedro Alves <palves@redhat.com>
5981 * gdb.base/break-main-file-remove-fail.c: New file.
5982 * gdb.base/break-main-file-remove-fail.exp: New file.
5983 * gdb.base/break-unload-file.exp: Use build_executable instead of
5984 prepare_for_testing.
5985 (test_break): New parameter "initial_load". Handle it.
5986 (top level): Add initial_load cmdline/file axis.
5988 2014-06-12 Tom Tromey <tromey@redhat.com>
5990 * gdb.base/completion.exp: Don't use directory name in test.
5992 2014-06-09 Gary Benson <gbenson@redhat.com>
5994 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5995 separate the always-available ANSI-standard signals from the
5996 signals that require checking.
5998 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6002 2014-06-07 Keith Seitz <keiths@redhat.com>
6006 * gdb.cp/var-tag.cc: New file.
6007 * gdb.cp/var-tag.exp: New file.
6008 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6009 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6010 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6011 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6013 2014-06-06 Doug Evans <xdje42@gmail.com>
6015 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6017 2014-06-06 Pedro Alves <palves@redhat.com>
6019 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6020 in target debug output instead of looking at RSP packets,
6021 disabling the test on any target that uses hardware stepping.
6024 2014-06-06 Pedro Alves <palves@redhat.com>
6026 * gdb.base/break-unload-file.exp: Fix typo.
6028 2014-06-06 Yao Qi <yao@codesourcery.com>
6030 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6031 from "jit_function" to "^jit_function".
6033 2014-06-06 Yao Qi <yao@codesourcery.com>
6035 * gdb.base/async.c (foo): Add one statement.
6036 * gdb.base/async.exp: Get the next instruction address and
6037 match the output of "nexti" by instruction address. Match
6038 the hex address in the output of "finish".
6040 2014-06-06 Gary Benson <gbenson@redhat.com>
6042 * gdb.base/call-signals.c: Remove preprocessor conditionals
6043 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6044 SIGSEGV and SIGTERM.
6045 * gdb.base/sigall.c: Likewise.
6046 * gdb.base/unwindonsignal.c: Likewise.
6047 * gdb.reverse/sigall-reverse.c: Likewise.
6049 2014-06-06 Yao Qi <yao@codesourcery.com>
6051 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6052 readable, skip the test.
6054 2014-06-06 Yao Qi <yao@codesourcery.com>
6056 * gdb.threads/staticthreads.c (thread_function): Move the line
6057 setting breakpoint on forward.
6058 * gdb.threads/staticthreads.exp: Update comments.
6060 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6062 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6063 "history-append! type error".
6065 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6067 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6068 erroneous dprintf expected input.
6070 2014-06-04 Doug Evans <xdje42@gmail.com>
6072 * gdb.guile/scm-generics.exp: Delete.
6074 2014-06-04 Doug Evans <xdje42@gmail.com>
6076 * gdb.guile/scm-breakpoint.exp: Update.
6077 Add tests for breakpoint registration.
6079 2014-06-04 Tom Tromey <tromey@redhat.com>
6081 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6083 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6084 inner_vla_struct, vla_union types. Initialize objects of those
6085 types and compute their sizes.
6087 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6088 Hui Zhu <hui@codesourcery.com>
6090 * gdb.base/fileio.exp: Add test for shell not available as well as
6092 * gdb.base/fileio.c (test_system): Check for shell twice.
6094 2014-06-04 Yao Qi <yao@codesourcery.com>
6096 * gdb.base/auto-connect-native-target.exp: Remove redundant
6097 space from the regexp pattern.
6099 2014-06-04 Yao Qi <yao@codesourcery.com>
6101 * gdb.base/default.exp: Replace "child" with "native" in
6104 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6106 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6107 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6108 * gdb.python/py-xmethods.py: Python script supporting the
6109 new testcase and tests.
6111 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6112 Pedro Alves <palves@redhat.com>
6114 PR breakpoints/17000
6115 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6116 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6118 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6120 * gdb.base/subst.exp: Add tests to verify partial path matching
6123 2014-06-03 Pedro Alves <palves@redhat.com>
6125 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6126 target that doesn't use software single-stepping.
6128 2014-06-03 Pedro Alves <palves@redhat.com>
6130 PR breakpoints/17000
6131 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6132 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6134 2014-06-02 Doug Evans <xdje42@gmail.com>
6136 * gdb.guile/scm-parameter.exp: New file.
6138 2014-06-02 Doug Evans <xdje42@gmail.com>
6140 * gdb.guile/scm-cmd.c: New file.
6141 * gdb.guile/scm-cmd.exp: New file.
6143 2014-06-02 Doug Evans <xdje42@gmail.com>
6145 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6146 pretty-printer lookup.
6147 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6148 (make-pp_s-printer): Call it.
6149 (make-pretty-printer-from-dict): New function.
6150 (lookup-pretty-printer-maker-from-dict): New function.
6151 (*pretty-printer*): Simplify.
6152 (make-objfile-pp_s-printer): New function.
6153 (install-objfile-pretty-printers!): New function.
6154 (make-progspace-pp_s-printer): New function.
6155 (install-progspace-pretty-printers!): New function.
6156 * gdb.guile/scm-progspace.c: New file.
6157 * gdb.guile/scm-progspace.exp: New file.
6159 2014-06-02 Pedro Alves <palves@redhat.com>
6161 * gdb.base/dprintf-bp-same-addr.c: New file.
6162 * gdb.base/dprintf-bp-same-addr.exp: New file.
6164 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6166 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6167 * gdb.arch/powerpc-power.s: Likewise.
6169 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6171 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6173 2014-06-01 Yao Qi <yao@codesourcery.com>
6175 * gdb.base/watchpoint.exp (test_watch_location): Check null
6176 pointer can be dereferenced. If not, do the test, otherwise
6179 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6181 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6183 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6185 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6187 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6188 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6189 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6190 * gdb.arch/amd64-invalid-stack-top.c: New file.
6191 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6193 2014-05-30 Pedro Alves <palves@redhat.com>
6195 PR breakpoints/17000
6196 * gdb.base/sss-bp-on-user-bp.c: New file.
6197 * gdb.base/sss-bp-on-user-bp.exp: New file.
6199 2014-05-30 David Blaikie <dblaikie@gmail.com>
6201 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6202 gnu_inline semantics via attribute.
6203 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6204 source explicitly specifies the required semantics.
6206 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6208 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6210 2014-05-29 Pedro Alves <palves@redhat.com>
6211 Tom Tromey <tromey@redhat.com>
6213 * gdb.base/async-shell.exp: Don't enable target-async.
6214 * gdb.base/async.exp
6215 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6217 (top level): Don't test with "target-async".
6218 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6219 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6220 * gdb.base/inferior-died.exp: Don't enable target-async.
6221 * gdb.base/interrupt-noterm.exp: Likewise.
6222 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6223 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6224 * gdb.mi/mi-nonstop.exp: Likewise.
6225 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6226 * gdb.mi/mi-nsintrall.exp: Likewise.
6227 * gdb.mi/mi-nsmoribund.exp: Likewise.
6228 * gdb.mi/mi-nsthrexec.exp: Likewise.
6229 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6230 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6231 * gdb.python/py-evsignal.exp: Don't enable target-async.
6232 * gdb.python/py-evthreads.exp: Likewise.
6233 * gdb.python/py-prompt.exp: Likewise.
6234 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6235 * gdb.server/solib-list.exp: Don't enable target-async.
6236 * gdb.threads/thread-specific-bp.exp: Likewise.
6237 * lib/mi-support.exp: Adjust to use mi-async.
6239 2014-05-29 Pedro Alves <palves@redhat.com>
6242 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6243 reason, even in sync mode.
6245 2014-05-29 Pedro Alves <palves@redhat.com>
6246 Hui Zhu <hui@codesourcery.com>
6249 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6250 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6251 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6252 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6254 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6256 * config/monitor.exp (gdb_target_monitor): Replace use of
6257 "set remotebaud" by "set serial baud".
6259 2014-05-26 Andy Wingo <wingo@igalia.com>
6261 * gdb.guile/scm-breakpoint.exp:
6262 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6263 properties instead of gdb-object-properties.
6265 2014-05-26 Yao Qi <yao@codesourcery.com>
6267 * gdb.server/no-thread-db.exp: Specify source file name
6268 explicitly when setting a breakpoint.
6270 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6272 * gdb.btrace/vdso.c: New.
6273 * gdb.btrace/vdso.exp: New.
6275 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6277 * gdb.base/gcore.exp (capture_command_output): Move ...
6278 * lib/gdb.exp (capture_command_output): ... here.
6280 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6282 * gdb.btrace/data.exp: Test memory access during btrace replay.
6284 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6286 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6288 2014-05-21 Pedro Alves <palves@redhat.com>
6291 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6292 (top level): Test that output related to execution commands is
6293 sent to the console with CLI commands, but not with MI commands.
6294 Test that breakpoint events are always mirrored to the console.
6295 Also expect the new source line to be output after a "next" in
6296 async mode too. Make it a pass/fail test.
6297 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6299 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6301 2014-05-21 Pedro Alves <palves@redhat.com>
6303 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6304 Use them to test variations of "list" after reaching a breakpoint.
6305 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6306 Test "list" with listsize 10 after reaching a breakpoint.
6307 * gdb.python/python.exp (decode_line current location line
6308 number): Adjust expected line number.
6310 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6312 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6313 behavior for $args, pass it directly to "run".
6315 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6317 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6320 2014-05-21 Pedro Alves <palves@redhat.com>
6322 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6323 auto-connect-native-target off".
6324 * gdb.base/auto-connect-native-target.c: New file.
6325 * gdb.base/auto-connect-native-target.exp: New file.
6327 2014-05-21 Pedro Alves <palves@redhat.com>
6329 * gdb.base/default.exp: Test "target native" instead of "target
6332 2014-05-21 Mark Wielaard <mjw@redhat.com>
6334 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6336 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6338 Fix TLS access for -static -pthread.
6339 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6340 <HAVE_TLS> (thread_function, main): Initialize it.
6341 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6343 <$have_tls != "">: Check TLSVAR.
6345 2014-05-21 Pedro Alves <palves@redhat.com>
6347 * gdb.base/dcache-line-read-error.c: New.
6348 * gdb.base/dcache-line-read-error.exp: New.
6350 2014-05-20 Pedro Alves <palves@redhat.com>
6352 * gdb.base/compare-sections.c: New file.
6353 * gdb.base/compare-sections.exp: New file.
6355 2014-05-20 Pedro Alves <palves@redhat.com>
6357 * gdb.base/break-idempotent.c: New file.
6358 * gdb.base/break-idempotent.exp: New file.
6360 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6362 * gdb.btrace/nohist.exp: New.
6364 2014-05-20 Yao Qi <yao@codesourcery.com>
6366 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6367 gdb.reverse directory and gdb_reverse_timeout exists in board
6369 * README: Document gdb_reverse_timeout.
6371 2014-05-20 Yao Qi <yao@codesourcery.com>
6373 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6374 'test_file_name'. Treat args as a string instead of a list.
6375 (gdb_init): Rename argument 'args' by 'test_file_name'.
6377 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6379 * gdb.arch/powerpc-power.exp: New file.
6380 * gdb.arch/powerpc-power.s: New file.
6382 2014-05-16 Doug Evans <dje@google.com>
6384 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6385 * gdb.base/completion.exp: Check that all expected files exist
6386 before doing file completion.
6388 2014-05-16 Doug Evans <dje@google.com>
6390 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6392 (do_syscall_tests_without_xml): Update.
6394 2014-05-16 Pedro Alves <palves@redhat.com>
6396 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6397 instead of "unknown output after running".
6399 2014-05-16 Yao Qi <yao@codesourcery.com>
6401 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6402 file1.txt from host at the end.
6403 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6405 2014-05-15 Doug Evans <dje@google.com>
6407 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6408 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6409 loading file. Add test for TU lookup.
6411 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6413 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6414 calling "-exec-arguments" or "set args" before running the
6417 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6419 * lib/mi-support.exp (mi_expect_stop): Expect message for
6420 inferiors that exit with non-zero exit code.
6422 2014-05-14 Yao Qi <yao@codesourcery.com>
6424 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6425 match absolute path on remote host.
6426 (test_file_list_exec_source_files): Remove "/" from the
6429 2014-05-14 Yao Qi <yao@codesourcery.com>
6431 * boards/local-remote-host-notty.exp (${board}_file): New
6434 2014-05-07 Kyle McMartin <kyle@redhat.com>
6436 Pushed by Joel Brobecker <brobecker@adacore.com>.
6437 * gdb.arch/aarch64-atomic-inst.c: New file.
6438 * gdb.arch/aarch64-atomic-inst.exp: New file.
6440 2014-05-07 Yao Qi <yao@codesourcery.com>
6442 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6443 in current context" too.
6445 2014-05-05 Keith Seitz <keiths@redhat.com>
6447 * gdb.linespec/ls-dollar.exp: Add test for linespec
6448 file:convenience_variable.
6450 2014-05-05 Yao Qi <yao@codesourcery.com>
6452 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6453 traceframes into tfile and ctf trace files. Read data from
6454 trace file and test collected data.
6455 (gdb_collect_locals_test): Likewise.
6456 (gdb_unavailable_registers_test): Likewise.
6457 (gdb_unavailable_floats): Likewise.
6458 (gdb_collect_globals_test): Likewise.
6459 (top-level): Append "ctf" to trace_file_targets if GDB
6462 2014-05-05 Yao Qi <yao@codesourcery.com>
6464 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6466 (gdb_collect_args_test_1): ... it. New proc.
6467 (gdb_collect_locals_test): Move some code to ...
6468 (gdb_collect_locals_test_1): ... it. New proc.
6469 (gdb_unavailable_registers_test): Move some code to ...
6470 (gdb_unavailable_registers_test_1): ... it. New proc.
6471 (gdb_unavailable_floats): Move some code to ...
6472 (gdb_unavailable_floats_1): ... it. New proc.
6474 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6476 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6477 probes to test for bitness recognition.
6478 * gdb.arch/amd64-stap-optional-prefix.exp
6479 (test_probe_value_without_reg): New procedure.
6480 Add code to test for different kinds of bitness.
6482 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6484 PR breakpoints/16889
6485 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6486 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6488 2014-05-01 Pedro Alves <palves@redhat.com>
6490 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6491 gdb_file_cmd if no file is specified.
6492 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6493 last_loaded_file to set the remote exec-file.
6495 2014-05-01 Pedro Alves <palves@redhat.com>
6497 * boards/local-remote-host.exp: New file.
6499 2014-05-01 Pedro Alves <palves@redhat.com>
6501 * boards/local-remote-host.exp: Rename to ...
6502 * boards/local-remote-host-notty.exp: ... this.
6504 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6506 * gdb.ada/dyn_arrayidx: New testcase.
6508 2014-04-26 Yao Qi <yao@codesourcery.com>
6510 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6511 and compute the length of function main. Save it in
6513 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6514 (top-level): Use gdb_compile to compile objects into
6515 executable and restart GDB. Remove invocation to
6516 prepare_for_testing.
6518 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6519 Pedro Alves <palves@redhat.com>
6522 * gdb.multi/multi-attach.c: New file.
6523 * gdb.multi/multi-attach.exp: New file.
6525 2014-04-25 Pedro Alves <palves@redhat.com>
6527 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6529 (top level): Test that "set remote conditional-breakpoints-packet
6530 off" works as intended.
6531 * gdb.base/dprintf.exp: Test that "set remote
6532 breakpoint-commands-packet off" works as intended.
6533 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6535 (top level): Call it.
6536 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6537 remote fast-tracepoints-packet off" works as intended.
6538 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6539 * lib/gdb.exp (gdb_is_target_remote): ... here.
6541 2014-04-24 David Blaikie <dblaikie@gmail.com>
6543 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6544 ensure clang would not discard them.
6545 * gdb.base/gdbvars.c: Ditto.
6546 * gdb.base/memattr.c: Ditto.
6547 * gdb.base/whatis.c: Ditto.
6548 * gdb.python/py-prettyprint.c: Ditto.
6549 * gdb.trace/actions.c: Ditto.
6550 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6551 ensure clang would not discard it.
6553 2014-04-24 David Blaikie <dblaikie@gmail.com>
6555 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6556 clang to emit the full definition of type required by the test
6557 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6559 2014-04-24 David Blaikie <dblaikie@gmail.com>
6561 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6562 coax Clang into emitting the definition of the type.
6563 * gdb.cp/pr10728-x.h (y): Ditto.
6564 * gdb.cp/pr10728-y.cc (y): Ditto.
6566 2014-04-24 David Blaikie <dblaikie@gmail.com>
6568 * gdb.base/label.exp: XFAIL label related tests under Clang.
6569 * gdb.cp/cplabel.exp: Ditto.
6570 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6571 under Clang those using labels.
6573 2014-04-25 Yao Qi <yao@codesourcery.com>
6575 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6577 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6578 partial_label and double_label.
6580 2014-04-24 David Blaikie <dblaikie@gmail.com>
6582 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6584 2014-04-24 David Blaikie <dblaikie@gmail.com>
6586 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6587 of the function to work across GCC and Clang.
6588 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6589 pointer types (const void ** const V void **).
6591 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6592 Walfred Tedeschi <walfred.tedeschi@intel.com>
6594 * Makefile.in (EXECUTABLES): Added i386-avx512.
6595 * gdb.arch/i386-avx512.c: New file.
6596 * gdb.arch/i386-avx512.exp: Likewise.
6598 2014-04-23 Keith Seitz <keiths@redhat.com>
6600 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6601 (mi_make_breakpoint_table): New procedure.
6602 (mi_create_breakpoint): Use mi_make_breakpoint
6603 and return the result.
6604 (mi_make_breakpoint): New procedure.
6605 (mi_build_kv_pairs): New procedure.
6607 * gdb.mi/mi-break.exp: Remove unused globals,
6608 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6609 All callers updated.
6610 * gdb.mi/mi-dprintf.exp: Use variable to track command
6612 Update all callers of mi_create_breakpoint and use
6613 mi_make_breakpoint_table.
6614 Remove any unused global variables.
6615 * gdb.mi/mi-nonstop.exp: Likewise.
6616 * gdb.mi/mi-nsintrall.exp: Likewise.
6617 * gdb.mi/mi-nsmoribund.exp: Likewise.
6618 * gdb.mi/mi-nsthrexec.exp: Likewise.
6619 * gdb.mi/mi-reverse.exp: Likewise.
6620 * gdb.mi/mi-simplerun.exp: Likewise.
6621 * gdb.mi/mi-stepn.exp: Likewise.
6622 * gdb.mi/mi-syn-frame.exp: Likewise.
6623 * gdb.mi/mi-until.exp: Likewise.
6624 * gdb.mi/mi-var-cp.exp: Likewise.
6625 * gdb.mi/mi-var-display.exp: Likewise.
6626 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6627 * gdb.mi/mi2-var-child.exp: Likewise.
6628 * gdb.mi/mi-vla-c99.exp: Likewise.
6629 * lib/mi-support.exp: Likewise.
6631 From Ian Lance Taylor <iant@cygnus.com>:
6632 * lib/gdb.exp (parse_args): New procedure.
6634 2014-04-23 Pedro Alves <palves@redhat.com>
6636 * gdb.base/break-unload-file.c: New file.
6637 * gdb.base/break-unload-file.exp: New file.
6638 * gdb.base/sym-file-lib.c (baz): New function.
6639 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6641 (load): Store the segment's mapped size.
6642 (unload): New function.
6643 (unload_shlib): New function.
6644 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6645 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6646 set a breakpoint at baz, and call it.
6647 * gdb.base/sym-file.exp: New tests for stale breakpoint
6650 2014-04-23 Pedro Alves <palves@redhat.com>
6652 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6653 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6654 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6655 * gdb.base/hbreak-unmapped.c: New file.
6656 * gdb.base/hbreak-unmapped.exp: New file.
6657 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6658 * lib/gdb.exp (gdb_is_target_remote): ... here.
6660 2014-04-22 Pedro Alves <palves@redhat.com>
6662 * gdb.base/consecutive-step-over.c: New file.
6663 * gdb.base/consecutive-step-over.exp: New file.
6665 2014-04-22 Pedro Alves <palves@redhat.com>
6667 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6668 instead of send_gdb/gdb_expect.
6670 2014-04-22 Yao Qi <yao@codesourcery.com>
6672 * lib/trace-support.exp (generate_tracefile): New procedure.
6673 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6675 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6676 if generate_tracefile returns 1.
6678 2014-04-18 Tom Tromey <palves@redhat.com>
6679 Pedro alves <tromey@redhat.com>
6682 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6683 with a backtrace limit.
6684 * gdb.python/py-frame-inline.exp: Test running to an inline
6685 function with a backtrace limit, and printing the newest frame.
6686 * gdb.python/py-frame-inline.c (main): Call f.
6688 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6690 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6692 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6694 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6695 Drop prefix from unsupported source file path.
6697 2014-04-17 Yao Qi <yao@codesourcery.com>
6699 * lib/gdb.exp (with_target_charset): New proc.
6700 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6701 with_target_charset.
6702 (test_print_strings): Likewise.
6703 (test_repeat_bytes): Likewise.
6704 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6707 2014-04-16 Keith Seitz <keiths@redhat.com>
6710 * gdb.dwarf2/corrupt.c: New file.
6711 * gdb.dwarf2/corrupt.exp: New file.
6713 2014-04-16 Keith Seitz <keiths@redhat.com>
6716 * gdb.cp/namelessclass.cc: New file.
6717 * gdb.cp/namelessclass.exp: New file.
6718 * gdb.cp/namelessclass.S: New file.
6720 2014-04-16 Doug Evans <dje@google.com>
6722 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6724 (gdbserver_default_get_comm_port): New function.
6725 (gdbserver_start): Check if board file provided
6726 "gdbserver,get_comm_port" and use it if so.
6727 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6728 (gdb,socketport): Set to "stdio".
6729 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6730 (stdio_gdbserver_template): Delete.
6731 (${board}_get_remote_address): Update.
6732 (${board}_build_remote_cmd): Delete.
6733 (${board}_get_comm_port): New function.
6734 (${board}_spawn): Update.
6735 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6737 (${board}_get_remote_address): Update.
6738 (${board}_get_comm_port): New function.
6740 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6742 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6743 appearing in any order.
6745 2014-04-15 Doug Evans <dje@google.com>
6747 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6748 uninitialized value of "description".
6750 2014-04-15 Keith Seitz <keiths@redhat.com>
6752 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6753 Remove unused globals.
6754 (test_running_the_program): Likewise.
6755 (test_controlled_execution): Likewise.
6756 (test_controlling_breakpoints): Likewise.
6757 (test_program_termination): Likewise.
6759 2014-04-15 Keith Seitz <keiths@redhat.com>
6761 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6763 (test_rbreak_creation_and_listing): Likewise.
6764 (test_ignore_count): Likewise.
6765 (test_error): Likewise.
6767 2014-04-15 Pedro Alves <palves@redhat.com>
6769 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6770 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6772 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6773 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6774 to sym-file-loader.c.
6775 (struct library): Forward declare.
6776 (load_shlib, lookup_function): Change prototypes.
6777 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6778 (translate_offset): Remove declarations.
6779 (get_text_addr): New declaration.
6780 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6781 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6783 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6784 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6785 here from sym-file-loader.h.
6786 (struct library): New structure.
6787 (load_shlib, lookup_function): Change prototypes and adjust to
6788 work with a struct library.
6789 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6790 (translate_offset): Make static.
6791 (get_text_addr): New function.
6792 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6794 2014-04-15 Pedro Alves <palves@redhat.com>
6796 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6798 2014-04-15 Pedro Alves <palves@redhat.com>
6800 * gdb.base/sym-file-loader.c: Include <limits.h>.
6801 (SELF_LINK): New define.
6802 (get_origin): New function.
6803 (load_shlib): Use it.
6804 * gdb.base/sym-file.exp: Don't early return if the target is
6805 remote. Use runto_main, and issue fail is that fails. Use
6807 (shlib_name): Delete.
6808 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6810 2014-04-15 Pedro Alves <palves@redhat.com>
6812 * gdb.base/sym-file.exp: Remove regex characters from test
6813 message. Don't refer to breakpoint numbers in test messages.
6815 2014-04-14 Keith Seitz <keiths@redhat.com>
6818 * gdb.cp/var-tag.cc: New file.
6819 * gdb.cp/var-tag.exp: New file.
6820 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6821 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6822 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6823 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6825 2014-04-14 Tom Tromey <tromey@redhat.com>
6827 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6828 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6830 * gdb.cp/enum-class.exp: New file.
6831 * gdb.cp/enum-class.cc: New file.
6833 2014-04-14 Tom Tromey <tromey@redhat.com>
6835 * gdb.dwarf2/enum-type.exp: New file.
6837 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6839 * gdb.mi/mi-vla-c99.exp: New file.
6840 * gdb.mi/vla.c: New file.
6842 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6844 * gdb.base/vla-datatypes.c: New file.
6845 * gdb.base/vla-datatypes.exp: New file.
6847 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6849 * gdb.base/vla-ptr.c: New file.
6850 * gdb.base/vla-ptr.exp: New file.
6852 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6854 * gdb.dwarf2/count.exp: New file.
6856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6858 * gdb.base/vla-sideeffect.c: New file.
6859 * gdb.base/vla-sideeffect.exp: New file.
6861 2014-04-14 David Blaikie <dblaikie@gmail.com>
6863 * gdb.mi/non-stop.c: Add return value for non-void function return
6865 * gdb.threads/staticthreads.c: Ditto.
6867 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6868 Doug Evans <xdje42@gmail.com>
6870 * gdb.guile/scm-value.c: Improve test case.
6871 * gdb.guile/scm-value.exp: Add new test.
6873 2014-04-11 David Blaikie <dblaikie@gmail.com>
6875 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6876 override Clang's default.
6878 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6880 Revert the following changes (regressions):
6882 * gdb.base/vla-sideeffect.c: New file.
6883 * gdb.base/vla-sideeffect.exp: New file.
6885 * gdb.dwarf2/count.exp: New file.
6887 * gdb.base/vla-multi.c: New file.
6888 * gdb.base/vla-multi.exp: New file.
6890 * gdb.base/vla-ptr.c: New file.
6891 * gdb.base/vla-ptr.exp: New file.
6893 * gdb.base/vla-datatypes.c: New file.
6894 * gdb.base/vla-datatypes.exp: New file.
6896 * gdb.mi/mi-vla-c99.exp: New file.
6897 * gdb.mi/vla.c: New file.
6899 2014-04-11 Keith Seitz <keiths@redhat.com>
6902 * gdb.cp/cpsizeof.exp: New file.
6903 * gdb.cp/cpsizeof.cc: New file.
6905 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6907 * gdb.mi/mi-vla-c99.exp: New file.
6908 * gdb.mi/vla.c: New file.
6910 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6912 * gdb.base/vla-datatypes.c: New file.
6913 * gdb.base/vla-datatypes.exp: New file.
6915 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6917 * gdb.base/vla-ptr.c: New file.
6918 * gdb.base/vla-ptr.exp: New file.
6920 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6922 * gdb.base/vla-multi.c: New file.
6923 * gdb.base/vla-multi.exp: New file.
6925 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6927 * gdb.dwarf2/count.exp: New file.
6929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6931 * gdb.base/vla-sideeffect.c: New file.
6932 * gdb.base/vla-sideeffect.exp: New file.
6934 2014-04-11 Yao Qi <yao@codesourcery.com>
6936 * gdb.base/completion.exp: Check file exists before running tests
6939 2014-04-10 Pedro Alves <palves@redhat.com>
6941 * gdb.base/cond-eval-mode.c: New file.
6942 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6943 prepare_for_testing to build the new file. Check result of
6945 (test_break, test_watch): New procedures.
6946 (top level): Use them.
6948 2014-04-08 Pierre Muller <muller@sourceware.org>
6950 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6951 Ctrl-V use for mingw hosts.
6953 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6955 * gdb.python/py-value.c: Improve test case.
6956 * gdb.python/py-value.exp: Add new test.
6958 2014-04-07 David Blaikie <dblaikie@gmail.com>
6960 * lib/compiler.c: Identify the clang compiler.
6961 * lib/compiler.cc: Ditto.
6963 2014-04-03 Yao Qi <yao@codesourcery.com>
6965 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6967 2014-04-01 Anton Blanchard <anton@samba.org>
6969 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6972 2014-04-01 Anton Blanchard <anton@samba.org>
6974 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6975 prepare_for_testing.
6977 2014-04-01 Anton Blanchard <anton@samba.org>
6979 * gdb.arch/ppc64-atomic-inst.c: Remove.
6980 * gdb.arch/ppc64-atomic-inst.S: New file.
6981 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6983 2014-03-31 Doug Evans <dje@google.com>
6985 * gdb.base/print-symbol-loading-lib.c: New file.
6986 * gdb.base/print-symbol-loading-main.c: New file.
6987 * gdb.base/print-symbol-loading.exp: New file.
6989 2014-03-31 Yao Qi <yao@codesourcery.com>
6991 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6993 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6995 * gdb.ada/mi_dyn_arr: New testcase.
6997 2014-03-27 Doug Evans <dje@google.com>
6999 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7001 2014-03-27 Yao Qi <yao@codesourcery.com>
7003 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7004 if target is nios2-*-*.
7006 2014-03-26 Yao Qi <yao@codesourcery.com>
7008 * lib/gdb.exp (readline_is_used): New proc.
7009 * gdb.base/completion.exp: Move tests on command complete up.
7010 Skip the rest of tests if readline is not used.
7011 * gdb.ada/complete.exp: Skp the test if readline is not
7013 * gdb.base/filesym.exp: Likewise.
7014 * gdb.base/macscp.exp: Likewise.
7015 * gdb.base/readline-ask.exp: Likewise.
7016 * gdb.base/readline.exp: Likewise.
7017 * gdb.python/py-cmd.exp: Likewise.
7018 * gdb.trace/tfile.exp: Likewise.
7020 2014-03-26 Yao Qi <yao@codesourcery.com>
7022 * gdb.base/macscp.exp: Fix code format issues.
7024 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7026 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7027 * gdb.asm/powerpc64le.inc: New file.
7029 2014-03-25 Pedro Alves <palves@redhat.com>
7030 Doug Evans <dje@google.com>
7032 * gdb.base/source-execution.c: New file.
7033 * gdb.base/source-execution.exp: New file.
7034 * gdb.base/source-execution.gdb: New file.
7036 2014-03-24 Doug Evans <dje@google.com>
7038 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7041 2014-03-24 Hui Zhu <hui@codesourcery.com>
7042 Pedro Alves <palves@redhat.com>
7044 PR breakpoints/16101
7045 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7046 test pass/fail messages. Detect missing support for dprintf when
7047 breakpoints are actually inserted.
7048 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7049 breakpoints are actually inserted.
7050 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7053 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7055 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7057 2014-03-22 Doug Evans <xdje42@gmail.com>
7059 * gdb.python/python.exp (python not supported): Verify multi-line
7060 python command issues an error.
7061 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7062 guile command issues an error.
7064 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7066 * gdb.threads/thread-specific.exp: Handle the lack of usable
7067 $this_breakpoint and $this_thread.
7069 2014-03-21 Hui Zhu <hui@codesourcery.com>
7071 * gdb.base/attach.exp (do_command_attach_tests): New.
7073 2014-03-20 Tom Tromey <tromey@redhat.com>
7074 Pedro Alves <palves@redhat.com>
7077 * gdb.base/condbreak-call-false.c: New file.
7078 * gdb.base/condbreak-call-false.exp: New file.
7080 2014-03-20 Pedro Alves <palves@redhat.com>
7082 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7084 (block_signals, unblock_signals): Delete.
7085 (child_function_2, main): Remove references to deleted variable
7088 2014-03-20 Pedro Alves <palves@redhat.com>
7090 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7091 Use pthread_kill to signal thread 2.
7092 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7093 Adjust to make the test send itself a signal rather than using the
7094 host's "kill" command.
7096 2014-03-20 Pedro Alves <palves@redhat.com>
7098 * gdb.threads/multiple-step-overs.c: New file.
7099 * gdb.threads/multiple-step-overs.exp: New file.
7100 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7101 Adjust expected infrun debug output.
7103 2014-03-20 Pedro Alves <palves@redhat.com>
7105 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7106 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7108 2014-03-20 Pedro Alves <palves@redhat.com>
7111 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7112 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7113 of gdb_test_multiple.
7114 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7115 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7117 2014-03-20 Pedro Alves <palves@redhat.com>
7119 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7120 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7122 2014-03-19 Pedro Alves <palves@redhat.com>
7124 * gdb.base/async.exp: Remove early return.
7126 2014-03-19 Pedro Alves <palves@redhat.com>
7128 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7130 2014-03-19 Pedro Alves <palves@redhat.com>
7132 * gdb.base/async.exp (test_background): Expect \r\n after
7133 "completed." in the fail pattern.
7135 2014-03-19 Pedro Alves <palves@redhat.com>
7137 * gdb.base/async.exp (test_background): New procedure.
7138 Use it for all background execution command tests.
7140 2014-03-19 Pedro Alves <palves@redhat.com>
7142 * gdb.base/async.exp: Use prepare_for_testing.
7144 2014-03-19 Pedro Alves <palves@redhat.com>
7146 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7149 2014-03-19 Pedro Alves <palves@redhat.com>
7151 * gdb.base/async.c (main): Add "jump here" and "until here" line
7153 * gdb.base/async.exp (jump_here): New global.
7154 (jump& test): Use it.
7155 (until_here): New global.
7156 (until& test): Use it.
7158 2014-03-19 Pedro Alves <palves@redhat.com>
7160 * gdb.base/async.exp: Don't frob gdb_protocol.
7162 2014-03-18 Doug Evans <xdje42@gmail.com>
7164 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7165 Fix spelling of exec-done-display.
7167 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7170 * gdb.base/gdb-sigterm.c: New file.
7171 * gdb.base/gdb-sigterm.exp: New file.
7173 2014-03-18 Pedro Alves <palves@redhat.com>
7176 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7177 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7180 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7182 * gdb.ada/pckd_arr_ren: New testcase.
7184 2014-03-13 Doug Evans <xdje42@gmail.com>
7187 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7188 collect after discarding symbols.
7190 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7191 Doug Evans <xdje42@gmail.com>
7193 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7194 to history survives a gc.
7196 2014-03-13 Pedro Alves <palves@redhat.com>
7198 * gdb.base/default.exp: Don't test "target procfs".
7200 2014-03-13 Pedro Alves <palves@redhat.com>
7202 * gdb.base/default.exp: Update "target child" and "target procfs"
7203 tests to not expect "Unix".
7205 2014-03-12 Tom Tromey <tromey@redhat.com>
7207 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7208 New procs. Add target-async tests.
7209 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7210 Add target-async tests.
7212 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7214 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7215 'func_start' and 'func_end' for the beginning and end of the
7216 function code, respectively.
7217 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7218 'func_end' instead of 'func' and 'main'.
7220 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7222 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7223 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7224 generate the debug info assembler source.
7226 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7228 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7229 * gdb.dwarf2/arr-subrange.exp: Likewise.
7230 * gdb.dwarf2/dwz.exp: Likewise.
7231 * gdb.dwarf2/method-ptr.exp: Likewise.
7232 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7233 * gdb.dwarf2/subrange.exp: Likewise.
7234 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7235 * gdb.dwarf2/implptrpiece.exp: Likewise.
7236 * gdb.dwarf2/nostaticblock.exp: Likewise.
7238 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7240 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7241 directory to absolute path name arguments.
7243 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7245 * gdb.ada/tagged_access: New testcase.
7247 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7249 * gdb.btrace/data.exp: Update expected output.
7251 2014-03-06 Yao Qi <yao@codesourcery.com>
7253 * gdb.trace/pr16508.exp: New file.
7255 2014-03-05 Pedro Alves <palves@redhat.com>
7258 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7260 (top level): Adjust to use it. Add tests that exercise breakpoint
7261 interaction with the code-cache.
7263 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7265 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7266 test for 'history-append!'.
7268 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7270 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7271 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7272 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7273 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7274 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7275 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7277 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7279 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7280 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7281 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7283 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7285 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7287 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7289 * gdb.dwarf2/arr-stride.c: New file.
7290 * gdb.dwarf2/arr-stride.exp: New file.
7292 2014-02-26 Pedro Alves <palves@redhat.com>
7294 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7295 that won't ever trigger. Make sure that GDB reports the correct
7296 breakpoint that caused the stop.
7298 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7301 * gdb.base/auto-load-script: New file.
7302 * gdb.base/auto-load.c: New file.
7303 * gdb.base/auto-load.exp: New file.
7306 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7308 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7310 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7311 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7313 2014-02-24 Doug Evans <dje@google.com>
7315 * lib/gdb.exp (run_on_host): Log error output if program fails.
7317 2014-02-21 Pedro Alves <palves@redhat.com>
7319 * gdb.threads/step-after-sr-lock.c: Rename to ...
7320 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7321 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7322 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7325 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7328 * gdb.arch/amd64-stap-special-operands.exp: New file.
7329 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7330 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7331 * gdb.arch/amd64-stap-triplet.S: Likewise.
7332 * gdb.arch/amd64-stap-triplet.c: Likewise.
7334 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7336 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7337 in .section pseudo-op.
7339 2014-02-20 lin zuojian <manjian2006@gmail.com>
7340 Joel Brobecker <brobecker@adacore.com>
7341 Doug Evans <xdje42@gmail.com>
7344 * gdb.dwarf2/dw2-icycle.S: New file.
7345 * gdb.dwarf2/dw2-icycle.c: New file.
7346 * gdb.dwarf2/dw2-icycle.exp: New file.
7348 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7350 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7351 operations on gdb.Value objects.
7352 * gdb.python/py-value-cc.exp: Add new test to test operations on
7355 2014-02-18 Doug Evans <dje@google.com>
7357 * Makefile.in (TESTS): New variable.
7358 (expanded_tests, expanded_tests_or_none): New variables
7359 (check-single): Pass $(expanded_tests_or_none) to runtest.
7360 (check-parallel): Only run tests in $(TESTS) if non-empty.
7361 (check/no-matching-tests-found): New rule.
7362 * README: Document TESTS makefile variable.
7364 2014-02-18 Doug Evans <dje@google.com>
7366 * Makefile.in (check-parallel): rm -rf outputs temp.
7368 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7370 Fix "ERROR: no fileid for" in the testsuite.
7371 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7373 2014-02-12 Doug Evans <dje@google.com>
7375 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7376 (MISCELLANEOUS): New variable.
7377 (clean): rm -rf $(MISCELLANEOUS).
7378 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7379 dwp live in the same directory as symlinks, with each symlink pointed
7380 to a differently named file in a different directory.
7382 2014-02-11 Doug Evans <dje@google.com>
7384 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7385 of Tcl file commands.
7387 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7389 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7392 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7394 * gdb.ada/tick_length_array_enum_idx: New testcase.
7396 2014-02-10 Doug Evans <xdje42@gmail.com>
7398 * configure.ac (AC_OUTPUT): Add gdb.guile.
7399 * configure: Regenerate.
7400 * lib/gdb-guile.exp: New file.
7401 * lib/gdb.exp (get_target_charset): New function.
7402 * gdb.base/help.exp: Update expected output from "apropos apropos".
7403 * gdb.guile/Makefile.in: New file.
7404 * gdb.guile/guile.exp: New file.
7405 * gdb.guile/scm-arch.c: New file.
7406 * gdb.guile/scm-arch.exp: New file.
7407 * gdb.guile/scm-block.c: New file.
7408 * gdb.guile/scm-block.exp: New file.
7409 * gdb.guile/scm-breakpoint.c: New file.
7410 * gdb.guile/scm-breakpoint.exp: New file.
7411 * gdb.guile/scm-disasm.c: New file.
7412 * gdb.guile/scm-disasm.exp: New file.
7413 * gdb.guile/scm-equal.c: New file.
7414 * gdb.guile/scm-equal.exp: New file.
7415 * gdb.guile/scm-error.exp: New file.
7416 * gdb.guile/scm-error.scm: New file.
7417 * gdb.guile/scm-frame-args.c: New file.
7418 * gdb.guile/scm-frame-args.exp: New file.
7419 * gdb.guile/scm-frame-args.scm: New file.
7420 * gdb.guile/scm-frame-inline.c: New file.
7421 * gdb.guile/scm-frame-inline.exp: New file.
7422 * gdb.guile/scm-frame.c: New file.
7423 * gdb.guile/scm-frame.exp: New file.
7424 * gdb.guile/scm-generics.exp: New file.
7425 * gdb.guile/scm-gsmob.exp: New file.
7426 * gdb.guile/scm-iterator.c: New file.
7427 * gdb.guile/scm-iterator.exp: New file.
7428 * gdb.guile/scm-math.c: New file.
7429 * gdb.guile/scm-math.exp: New file.
7430 * gdb.guile/scm-objfile-script-gdb.in: New file.
7431 * gdb.guile/scm-objfile-script.c: New file.
7432 * gdb.guile/scm-objfile-script.exp: New file.
7433 * gdb.guile/scm-objfile.c: New file.
7434 * gdb.guile/scm-objfile.exp: New file.
7435 * gdb.guile/scm-ports.exp: New file.
7436 * gdb.guile/scm-pretty-print.c: New file.
7437 * gdb.guile/scm-pretty-print.exp: New file.
7438 * gdb.guile/scm-pretty-print.scm: New file.
7439 * gdb.guile/scm-section-script.c: New file.
7440 * gdb.guile/scm-section-script.exp: New file.
7441 * gdb.guile/scm-section-script.scm: New file.
7442 * gdb.guile/scm-symbol.c: New file.
7443 * gdb.guile/scm-symbol.exp: New file.
7444 * gdb.guile/scm-symtab-2.c: New file.
7445 * gdb.guile/scm-symtab.c: New file.
7446 * gdb.guile/scm-symtab.exp: New file.
7447 * gdb.guile/scm-type.c: New file.
7448 * gdb.guile/scm-type.exp: New file.
7449 * gdb.guile/scm-value-cc.cc: New file.
7450 * gdb.guile/scm-value-cc.exp: New file.
7451 * gdb.guile/scm-value.c: New file.
7452 * gdb.guile/scm-value.exp: New file.
7453 * gdb.guile/source2.scm: New file.
7454 * gdb.guile/types-module.cc: New file.
7455 * gdb.guile/types-module.exp: New file.
7457 2014-02-10 Yao Qi <yao@codesourcery.com>
7460 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7461 * configure: Regenerated.
7462 * Makefile.in: New file.
7464 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7466 * gdb.python/py-framefilter.exp: Fix typo.
7468 2014-02-08 Yao Qi <yao@codesourcery.com>
7470 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7471 that no =breakpoint-modified is emitted when breakpoints are
7472 modified through MI commands.
7474 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7475 Pedro Alves <palves@redhat.com>
7477 * gdb.threads/step-after-sr-lock.c: New file.
7478 * gdb.threads/step-after-sr-lock.exp: New file.
7480 2014-02-07 Pedro Alves <palves@redhat.com>
7482 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7484 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7486 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7487 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7489 2014-02-06 Doug Evans <xdje42@gmail.com>
7491 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7494 * gdb.gdb/python-interrupts.exp: New file.
7496 2014-02-05 Yao Qi <yao@codesourcery.com>
7498 * gdb.trace/report.exp (use_collected_data): Test the output
7499 of "info threads" and "info inferiors".
7501 2014-02-05 Yao Qi <yao@codesourcery.com>
7505 2013-05-24 Yao Qi <yao@codesourcery.com>
7507 * gdb.trace/tfile.exp: Test inferior and thread.
7509 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7511 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7513 * gdb.base/step-bt.c: Call hello via function pointer to make
7514 sure its first instruction is executed on powerpc64le-linux.
7516 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7518 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7522 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7523 of the test patterns for use on little-endian systems.
7525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7527 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7528 (decimal_vector): Fix for little-endian.
7530 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7532 * gdb.arch/sparc-sysstep.exp: New file.
7533 * gdb.arch/sparc-sysstep.c: Likewise.
7535 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7537 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7539 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7541 2014-01-23 Tom Tromey <tromey@redhat.com>
7543 * gdb.ada/array_char_idx: New testcase.
7545 2014-01-23 Tom Tromey <tromey@redhat.com>
7548 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7549 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7552 2014-01-23 Tom Tromey <tromey@redhat.com>
7555 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7556 string from an inferior frame.
7557 * gdb.python/py-framefilter-mi.exp: Update.
7559 2014-01-22 Doug Evans <dje@google.com>
7561 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7563 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7565 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7569 * gdb.trace/entry-values.exp: Remove excess space character from
7570 regex patterns. Handle s390 call instruction.
7572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7574 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7575 define "*_start" label. Make "name" static.
7576 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7577 ${name} by references to ${name}_start.
7579 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7581 * gdb.base/info-macros.exp: Remove "debug" from the compile
7584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7586 * gdb.dlang/demangle.exp: New file.
7588 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7590 * gdb.dlang/primitive-types.exp: New file.
7592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7594 * configure.ac: Create gdb.dlang/Makefile.
7595 * configure: Regenerate.
7596 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7597 * gdb.dlang/Makefile.in: New file.
7598 * lib/d-support.exp: New file.
7599 * lib/gdb.exp (skip_d_tests): New proc.
7601 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7603 * gdb.btrace/delta.exp: Check reverse stepi.
7604 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7605 * gdb.btrace/finish.exp: New.
7606 * gdb.btrace/next.exp: New.
7607 * gdb.btrace/nexti.exp: New.
7608 * gdb.btrace/record_goto.c: Add comments.
7609 * gdb.btrace/step.exp: New.
7610 * gdb.btrace/stepi.exp: New.
7611 * gdb.btrace/multi-thread-step.c: New.
7612 * gdb.btrace/multi-thread-step.exp: New.
7613 * gdb.btrace/rn-dl-bind.c: New.
7614 * gdb.btrace/rn-dl-bind.exp: New.
7615 * gdb.btrace/data.c: New.
7616 * gdb.btrace/data.exp: New.
7617 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7621 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7622 * gdb.btrace/exception.exp: Update.
7623 * gdb.btrace/instruction_history.exp: Update.
7624 * gdb.btrace/record_goto.exp: Update.
7625 * gdb.btrace/tailcall.exp: Update.
7626 * gdb.btrace/unknown_functions.exp: Update.
7627 * gdb.btrace/delta.exp: New.
7629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7631 * gdb.btrace/record_goto.exp: Add backtrace test.
7632 * gdb.btrace/tailcall.exp: Add backtrace test.
7634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7636 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7637 * gdb.btrace/record_goto.c: New.
7638 * gdb.btrace/record_goto.exp: New.
7639 * gdb.btrace/x86-record_goto.S: New.
7641 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7643 * gdb.btrace/function_call_history.exp: Update tests.
7644 * gdb.btrace/instruction_history.exp: Update tests.
7646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7648 * gdb.btrace/function_call_history.exp: Fix expected field
7649 order for "record function-call-history".
7650 Add new tests for "record function-call-history /c".
7651 * gdb.btrace/exception.cc: New.
7652 * gdb.btrace/exception.exp: New.
7653 * gdb.btrace/tailcall.exp: New.
7654 * gdb.btrace/x86-tailcall.S: New.
7655 * gdb.btrace/x86-tailcall.c: New.
7656 * gdb.btrace/unknown_functions.c: New.
7657 * gdb.btrace/unknown_functions.exp: New.
7658 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7662 * gdb.btrace/instruction_history.exp: Update.
7663 * gdb.btrace/function_call_history.exp: Update.
7665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7667 * gdb.btrace/function_call_history.exp: Fix expected function
7669 * gdb.btrace/instruction_history.exp: Initialize traced.
7670 Remove traced_functions.
7672 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7674 * gdb.btrace/function_call_history.exp: Update
7675 * gdb.btrace/instruction_history.exp: Update.
7677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7679 * gdb.btrace/enable.exp: Update expected text.
7681 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7683 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7686 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7688 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7690 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7692 * lib/gdb.exp (supports_process_record): Return true for
7693 arm*-linux*. (supports_reverse): Likewise.
7695 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7699 * gdb.python/py-type.c: Enhance test case.
7700 * gdb.python/py-value-cc.cc: Likewise
7701 * gdb.python/py-type.exp: Add new tests.
7702 * gdb.python/py-value-cc.exp: Likewise
7704 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7705 Pedro Alves <palves@redhat.com>
7707 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7709 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7710 references to ${name}_start by references to ${name}.
7712 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7714 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7716 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7718 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7720 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7721 Pedro Alves <palves@redhat.com>
7723 * gdb.mi/mi-info-os.exp: Connect to the target with
7726 2014-01-08 Pedro Alves <palves@redhat.com>
7728 * gdb.threads/reconnect-signal.c: New file.
7729 * gdb.threads/reconnect-signal.exp: New file.
7731 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7733 * gdb.base/source-dir.exp: New file.
7735 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7737 * gdb.ada/mi_interface: New testcase.
7739 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7741 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7742 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7743 gdb.ada/pp-rec-component/pck.ads: New files.
7745 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7747 * gdb.python/py-pp-integral.c: New file.
7748 * gdb.python/py-pp-integral.py: New file.
7749 * gdb.python/py-pp-integral.exp: New file.
7751 For older changes see ChangeLog-1993-2013.
7757 ;; version-control: never
7760 Copyright 2014-2016 Free Software Foundation, Inc.
7761 Copying and distribution of this file, with or without modification,
7762 are permitted provided the copyright notice and this notice are preserved.