1 2016-02-09 Keith Seitz <keiths@redhat.com>
3 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4 (toplevel): Call test_bkpt_address.
6 2016-02-09 Keith Seitz <keiths@redhat.com>
9 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10 (toplevel): Call test_bkpt_address.
12 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16 * configure: Regenerate.
18 2016-02-09 Pedro Alves <palves@redhat.com>
21 * gdb.base/execl-update-breakpoints.c (some_function): New
24 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
25 Tighten expected GDB output.
27 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
29 * Makefile.in (ALL_SUBDIRS): Remove.
30 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
31 (distclean maintainer-clean realclean): Likewise.
32 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
33 * configure: Regenerate.
34 * gdb.ada/Makefile.in: Delete.
35 * gdb.arch/Makefile.in: Likewise.
36 * gdb.asm/Makefile.in: Likewise.
37 * gdb.base/Makefile.in: Likewise.
38 * gdb.btrace/Makefile.in: Likewise.
39 * gdb.cell/Makefile.in: Likewise.
40 * gdb.compile/Makefile.in: Likewise.
41 * gdb.cp/Makefile.in: Likewise.
42 * gdb.disasm/Makefile.in: Likewise.
43 * gdb.dlang/Makefile.in: Likewise.
44 * gdb.dwarf2/Makefile.in: Likewise.
45 * gdb.fortran/Makefile.in: Likewise.
46 * gdb.gdb/Makefile.in: Likewise.
47 * gdb.go/Makefile.in: Likewise.
48 * gdb.guile/Makefile.in: Likewise.
49 * gdb.java/Makefile.in: Likewise.
50 * gdb.linespec/Makefile.in: Likewise.
51 * gdb.mi/Makefile.in: Likewise.
52 * gdb.modula2/Makefile.in: Likewise.
53 * gdb.multi/Makefile.in: Likewise.
54 * gdb.objc/Makefile.in: Likewise.
55 * gdb.opencl/Makefile.in: Likewise.
56 * gdb.opt/Makefile.in: Likewise.
57 * gdb.pascal/Makefile.in: Likewise.
58 * gdb.perf/Makefile.in: Likewise.
59 * gdb.python/Makefile.in: Likewise.
60 * gdb.reverse/Makefile.in: Likewise.
61 * gdb.server/Makefile.in: Likewise.
62 * gdb.stabs/Makefile.in: Likewise.
63 * gdb.threads/Makefile.in: Likewise.
64 * gdb.trace/Makefile.in: Likewise.
65 * gdb.xml/Makefile.in: Likewise.
66 * lib/gdb.exp (make_gdb_parallel_path): Add check for
68 (standard_output_file): Remove check for GDB_PARALLEL, always
69 return path in outputs/$subdir/$testname.
71 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
73 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
74 (site.exp): Assign abs_srcdir to tcl's srcdir.
76 2016-02-04 Yao Qi <yao.qi@linaro.org>
78 * gdb.base/foll-exec-mode.c: Include limits.h.
79 (main): Add parameters argc and argv. Get directory from
81 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
83 * gdb.base/foll-exec.c: Include limits.h.
84 (main): Add parameters argc and argv.
85 Get directory from argv[0].
86 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
87 Adjust tests on the number of lines as source code changed.
88 * gdb.base/foll-vfork-exit.c: Include limits.h.
89 (main): Add one line of statement before vfork.
90 * gdb.base/foll-vfork.c: Include limits.h and string.h.
91 (main): Add parameters argc and argv. Get directory from
93 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
94 (setup_gdb): Set tbreak to skip some source lines.
95 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
96 (main): Add parameters argc and argv. Get directory from
98 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
100 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
101 (main): Add parameters argc and argv. Get directory from
103 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
106 2016-02-01 Doug Evans <dje@google.com>
108 * gdb.base/skip.exp: Clean up multiple references to same test name.
110 2016-02-01 Pedro Alves <palves@redhat.com>
113 * gdb.threads/forking-threads-plus-breakpoint.exp
114 (displaced_stepping_supported): New global.
115 (probe_displaced_stepping_support): New procedure.
116 (do_test): Add 'displaced' parameter, and use it.
117 (top level): Check for displaced stepping support. Add displaced
118 stepping on/off testing axis.
120 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
122 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
123 pointer. Don't perform further tests on the unassociated pointer
124 if the first test fails.
126 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
128 * gdb.base/max-value-size.c: New file.
129 * gdb.base/max-value-size.exp: New file.
130 * gdb.base/huge.exp: Disable max-value-size for this test.
132 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
134 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
136 2016-01-28 Yao Qi <yao.qi@linaro.org>
138 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
140 2016-01-25 Pedro Alves <palves@redhat.com>
143 * gdb.base/fork-running-state.c: New file.
144 * gdb.base/fork-running-state.exp: New file.
146 2016-01-25 Pedro Alves <palves@redhat.com>
149 * gdb.base/catch-fork-kill.c: New file.
150 * gdb.base/catch-fork-kill.exp: New file.
152 2016-01-25 Pedro Alves <palves@redhat.com>
154 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
155 Delete, moved to lib/gdb.exp.
156 * gdb.threads/forking-threads-plus-breakpoint.exp
157 (foreach_with_prefix): Likewise.
158 * gdb.threads/process-dies-while-handling-bp.exp
159 (foreach_with_prefix): Likewise.
160 * lib/gdb.exp (foreach_with_prefix): New procedure.
162 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
164 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
165 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
167 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
169 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
172 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
173 Pedro Alves <palves@redhat.com>
175 Fix testsuite compatibility with Guile.
176 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
179 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
181 Fix testsuite compatibility with Guile.
182 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
183 (thread 1): New test for backtrace through signal handler.
185 2016-01-22 Yao Qi <yao.qi@linaro.org>
188 * gdb.base/multi-forks.c: Include
189 ../lib/unbuffer_output.c
190 (main): Call gdb_unbuffer_output.
192 2016-01-21 Doug Evans <dje@google.com>
194 * lib/ada.exp (gdb_compile_ada): Fix typo.
196 2016-01-21 Joel Brobecker <brobecker@adacore.com>
198 * gdb.base/break-fun-addr.exp: New file.
199 * gdb.base/break-fun-addr1.c: New file.
200 * gdb.base/break-fun-addr2.c: New file.
202 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
204 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
205 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
208 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
210 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
211 when GDB can not set the vector return value. Add more comments
214 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
216 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
219 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
221 * Makefile.in (DO_RUNTEST): Add --status and update usages.
223 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
225 * Makefile.in (check-single): Pass --status to runtest.
226 (check/%.exp): Likewise.
228 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
230 * Makefile.in (check-parallel): Propagate return code from make
233 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
235 * gdb.trace/ftrace.exp: Fix expected message on continue.
236 * gdb.trace/pending.exp: Fix expected message on continue.
237 * gdb.trace/trace-break.exp: Fix expected message on continue.
239 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
241 * lib/gdb.exp (gdb_test): Remove unused global references.
243 2016-01-18 Pedro Alves <palves@redhat.com>
245 * gdb.base/async-shell.exp: Adjust expected output.
246 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
247 * gdb.base/siginfo-thread.exp: Adjust expected output.
248 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
249 * gdb.java/jnpe.exp: Adjust expected output.
250 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
251 * gdb.threads/continue-pending-status.exp: Adjust expected output.
252 * gdb.threads/leader-exit.exp: Adjust expected output.
253 * gdb.threads/manythreads.exp: Adjust expected output.
254 * gdb.threads/pthreads.exp: Adjust expected output.
255 * gdb.threads/schedlock.exp: Adjust expected output.
256 * gdb.threads/siginfo-threads.exp: Adjust expected output.
257 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
259 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
261 * gdb.threads/sigthread.exp: Adjust expected output.
262 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
264 2016-01-18 Yao Qi <yao.qi@linaro.org>
266 * gdb.guile/scm-section-script.c: Replace @progbits with
268 * gdb.python/py-section-script.c: Likewise.
270 2016-01-15 Pedro Alves <palves@redhat.com>
272 * gdb.multi/tids.exp: Test star wildcard ranges.
274 2016-01-15 Pedro Alves <palves@redhat.com>
276 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
277 command from "thread apply" invocation.
278 (thr_apply_info_thr_invalid): Default the expected output to the
280 (top level): Add tests that use convenience variables. Add tests
281 for "thread apply" with a valid TID list, but missing the command.
283 2016-01-13 Pedro Alves <palves@redhat.com>
285 * gdb.base/default.exp: Expect $_gthread as well.
286 * gdb.multi/tids.exp: Test $_gthread.
287 * gdb.threads/thread-specific.exp: Test $_gthread.
289 2016-01-13 Pedro Alves <palves@redhat.com>
291 * gdb.multi/tids.exp: Test "info threads -gid".
293 2016-01-13 Pedro Alves <palves@redhat.com>
295 * gdb.multi/tids.exp: Test InferiorThread.global_num and
297 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
299 2016-01-07 Pedro Alves <palves@redhat.com>
301 * gdb.base/break.exp: Adjust to output changes.
302 * gdb.base/hbreak2.exp: Likewise.
303 * gdb.base/sepdebug.exp: Likewise.
304 * gdb.base/watch_thread_num.exp: Likewise.
305 * gdb.linespec/keywords.exp: Likewise.
306 * gdb.multi/info-threads.exp: Likewise.
307 * gdb.threads/thread-find.exp: Likewise.
308 * gdb.multi/tids.c: New file.
309 * gdb.multi/tids.exp: New file.
311 2016-01-13 Pedro Alves <palves@redhat.com>
313 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
315 2016-01-13 Pedro Alves <palves@redhat.com>
317 * gdb.base/default.exp: Expect $_inferior as well.
318 * gdb.multi/base.exp: Test $_inferior.
320 2016-01-13 Pedro Alves <palves@redhat.com>
323 * gdb.base/catch-signal-siginfo-cond.c: New file.
324 * gdb.base/catch-signal-siginfo-cond.exp: New file.
326 2016-01-12 Josh Stone <jistone@redhat.com>
327 Philippe Waroquiers <philippe.waroquiers@skynet.be>
329 * gdb.base/catch-syscall.c (do_execve): New variable.
330 (main): Conditionally trigger an execve.
331 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
332 (test_catch_syscall_execve): New, check entry/return across execve.
333 (do_syscall_tests): Call test_catch_syscall_execve.
335 2016-01-12 Pedro Alves <palves@redhat.com>
337 * gdb.base/random-signal.exp (do_test): New procedure, with body
338 of testcase moved in.
340 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
341 Pedro Alves <palves@redhat.com>
343 * gdb.base/funcargs.exp (finish from indirectly called function):
344 Reintroduce the case for 'First'.
346 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
347 Pedro Alves <palves@redhat.com>
349 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
350 (tcatch_vfork_then_child_follow_exec)
351 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
354 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
356 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
357 and repeats to unlimited.
358 * gdb.python/py-value.exp: Likewise.
359 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
360 and repeats to unlimited.
362 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
364 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
365 and reordering the functions.
366 * gdb.multi/hangout.c: Likewise.
367 * gdb.multi/hello.c: Likewise.
369 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
371 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
373 (SingleStatisticTestResult.report): Use dict.keys instead of
376 2016-01-06 Pedro Alves <palves@redhat.com>
378 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
380 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
382 * gdb.btrace/dlopen.exp: New.
383 * gdb.btrace/dlopen.c: New.
384 * gdb.btrace/dlopen-dso.c: New.
386 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
388 * lib/gdb.exp (gdb_test): Update comments to clarify that the
389 PATTERN argument is optional.
391 2015-12-24 Joel Brobecker <brobecker@adacore.com>
393 * lib/ada.exp (target_compile_ada_from_dir): New function.
394 (gdb_compile_ada): Reimplement avoiding the use of project files.
395 * gdb.ada/gnat_ada.gpr: Delete.
396 * gdb.ada/cond_lang.exp: Adjust test to make path before
398 * gdb.ada/small_reg_param.exp: Likewise.
400 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
402 * gdb.base/foll-vork.exp: Remove HP-UX special case.
404 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
406 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
409 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
411 * gdb.base/break.exp: Remove dead code.
412 * gdb.base/sepdebug.exp: Likewise.
414 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
416 * gdb.asm/asm-source.exp: Remove HP-UX references.
417 * gdb.base/annota1.exp: Likewise.
418 * gdb.base/annota3.exp: Likewise.
419 * gdb.base/attach.exp: Likewise.
420 * gdb.base/bigcore.exp: Likewise.
421 * gdb.base/break.exp: Likewise.
422 * gdb.base/call-ar-st.exp: Likewise.
423 * gdb.base/callfuncs.exp: Likewise.
424 * gdb.base/catch-fork-static.exp: Likewise.
425 * gdb.base/display.exp: Likewise.
426 * gdb.base/foll-exec-mode.exp: Likewise.
427 * gdb.base/foll-exec.exp: Likewise.
428 * gdb.base/foll-fork.exp: Likewise.
429 * gdb.base/foll-vfork.exp: Likewise.
430 * gdb.base/funcargs.exp: Likewise.
431 * gdb.base/hbreak2.exp: Likewise.
432 * gdb.base/inferior-died.exp: Likewise.
433 * gdb.base/interrupt.exp: Likewise.
434 * gdb.base/multi-forks.exp: Likewise.
435 * gdb.base/nodebug.exp: Likewise.
436 * gdb.base/sepdebug.exp: Likewise.
437 * gdb.base/solib1.c: Likewise.
438 * gdb.base/step-test.exp: Likewise.
439 * gdb.mi/non-stop.c: Likewise.
440 * gdb.mi/pthreads.c: Likewise.
441 * gdb.multi/bkpt-multi-exec.ex: Likewise.
442 * gdb.threads/pthreads.c: Likewise.
443 * gdb.threads/staticthreads.exp: Likewise.
444 * lib/future.exp: Likewise.
445 * lib/gdb.exp: Likewise.
446 * gdb.base/so-indr-cl.c: Remove.
447 * gdb.base/so-indr-cl.exp: Likewise.
448 * gdb.base/solib.c: Likewise.
449 * gdb.base/solib.exp: Likewise.
450 * gdb.base/solib2.c: Likewise.
452 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
454 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
455 * gdb.base/call-ar-st.exp: Likewise.
456 * gdb.base/callfuncs.exp: Likewise.
457 * gdb.base/condbreak.exp: Likewise.
458 * gdb.base/constvars.exp: Likewise.
459 * gdb.base/hbreak2.exp: Likewise.
460 * gdb.base/langs.exp: Likewise.
461 * gdb.base/list.exp: Likewise.
462 * gdb.base/long_long.exp: Likewise.
463 * gdb.base/ptype.exp: Likewise.
464 * gdb.base/scope.exp: Likewise.
465 * gdb.base/signals.exp: Likewise.
466 * gdb.base/so-impl-ld.exp: Likewise.
467 * gdb.base/varargs.exp: Likewise.
468 * gdb.base/volatile.exp: Likewise.
469 * gdb.base/whatis.exp: Likewise.
470 * gdb.cp/cplusfuncs.exp: Likewise.
471 * gdb.cp/inherit.exp: Likewise.
472 * gdb.cp/local.exp: Likewise.
473 * gdb.cp/member-ptr.exp: Likewise.
474 * gdb.cp/method.exp: Likewise.
475 * gdb.cp/overload.exp: Likewise.
476 * gdb.cp/templates.exp: Likewise.
477 * gdb.stabs/weird.exp: Likewise.
478 * lib/compiler.c: Likewise.
479 * lib/compiler.cc: Likewise.
480 * lib/cp-support.exp: Likewise.
481 * lib/gdb.exp: Likewise.
483 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
485 * configure.ac: Remove HP-UX case.
486 * configure: Regenerate.
488 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
490 * lib/gdb.exp (gdb_compile): Add function doc.
492 2015-12-17 Pedro Alves <palves@redhat.com>
495 * gdb.multi/info-threads.exp: New file.
497 2015-12-15 Yao Qi <yao.qi@linaro.org>
499 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
502 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
504 * gdb.base/history-duplicates.exp: Skip if no readline support.
506 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
508 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
510 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
512 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
514 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
516 * gdb.base/completion.exp: Skip tests that interrupt GDB with
517 ctrl-C if nointerrupts target property is set.
518 * gdb.base/double-prompt-target-event-error.exp: Likewise.
519 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
520 * gdb.base/paginate-bg-execution.exp: Likewise.
521 * gdb.base/paginate-execution-startup.exp: Likewise.
522 * gdb.base/random-signal.exp: Likewise.
523 * gdb.base/range-stepping.exp: Likewise.
524 * gdb.cp/annota2.exp: Likewise.
525 * gdb.cp/annota3.exp: Likewise.
526 * gdb.gdb/selftest.exp: Likewise.
527 * gdb.threads/continue-pending-status.exp: Likewise.
528 * gdb.threads/leader-exit.exp: Likewise.
529 * gdb.threads/manythreads.exp: Likewise.
530 * gdb.threads/pthreads.exp: Likewise.
531 * gdb.threads/schedlock.exp: Likewise.
532 * gdb.threads/sigthread.exp: Likewise.
534 2015-12-11 Don Breazeal <donb@codesourcery.com>
536 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
538 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
539 * gdb.base/foll-exec.exp (main): Enable for target remote.
540 * gdb.base/foll-fork.exp (main): Likewise.
541 * gdb.base/foll-vfork.exp (main): Likewise.
542 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
543 (proc continue_to_exit_bp_loc): Use clean_restart.
544 * gdb.base/pie-execl.exp (main): Disable for target remote.
545 * gdb.base/watch-vfork.exp (main): Enable for target remote.
546 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
547 * gdb.threads/execl.exp (main): Likewise.
548 * gdb.threads/fork-child-threads.exp (main): Likewise.
549 * gdb.threads/fork-plus-threads.exp (main): Disable for target
551 * gdb.threads/fork-thread-pending.exp (main): Enable for target
553 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
554 pid.tid style ptids, instead of just tid.
555 * gdb.threads/thread-execl.exp (main): Enable for target remote.
556 * gdb.threads/watchpoint-fork.exp (main): Likewise.
557 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
558 ptids, instead of just tid.
560 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
562 * gdb.base/list.exp (test_list_forward): Add end of file error
564 (test_repeat_list_command): Add end of file error test.
565 (test_list_backwards): Add beginning of file error test.
567 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
569 * gdb.base/list.exp (test_list_invalid_args): New function,
572 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
574 * gdb.base/list.exp (test_list): Make test names unique.
576 2015-12-11 Yao Qi <yao.qi@linaro.org>
578 * gdb.base/coremaker2.c: Remove.
580 2015-12-10 Pedro Alves <palves@redhat.com>
582 * gdb.multi/base.exp: Remove stale "spaces" references.
584 2015-12-10 Pedro Alves <palves@redhat.com>
586 * gdb.multi/base.exp: Don't use nowarnings.
587 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
588 * gdb.multi/hangout.c: Include stdio.h.
589 * gdb.multi/hello.c: Include stdlib.h.
590 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
591 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
592 * gdb.multi/multi-arch.exp: Don't use nowarnings.
594 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
596 * gdb.dwarf2/dw2-ranges-base.c: New file.
597 * gdb.dwarf2/dw2-ranges-base.exp: New file.
598 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
599 support additional line table, and debug ranges generation.
600 (Dwarf::ranges): New function, generate .debug_ranges.
601 (Dwarf::lines): Support generating simple line table programs.
602 (Dwarf::assemble): Initialise new namespace variables.
604 2015-12-09 Kevin Buettner <kevinb@redhat.com>
606 * gdb.base/async.exp (proc test_background): Add case for
607 asynchronous execution not supported.
609 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
611 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
612 format and change test names to make them unique.
614 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
615 Pedro Alves <pedro@redhat.com>
618 Add checking of floatformats setup on x86_64 hosts.
619 * gdb.arch/i386-float.S (main): Load bigval and smallval.
620 (smallval, bigval): New labels/constants.
621 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
622 float" after loading bigval and smallval.
624 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
626 * gdb.ada/fun_overload_menu.exp: New testcase.
627 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
629 2015-12-04 Josh Stone <jistone@redhat.com>
631 * gdb.base/catch-fork-static.exp: New.
633 2015-12-03 Yao Qi <yao.qi@linaro.org>
635 * gdb.base/sizeof.c: Don't include stdio.h and
636 ../lib/unbuffer_output.c.
637 (main): New variable 'size' and 'value'. Remove printf and
638 gdb_unbuffer_output. Assign return value to size and value.
639 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
641 (check_sizeof): Check the result by printing variable 'size'.
642 (check_valueof): Check the result by printing variable 'value'.
644 2015-12-01 Yao Qi <yao.qi@linaro.org>
646 * gdb.base/disp-step-syscall.exp: Define syscall instruction
647 for aarch64*-*-linux* target.
649 2015-11-30 Pedro Alves <palves@redhat.com>
651 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
653 2015-11-30 Pedro Alves <palves@redhat.com>
655 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
656 Handle non-stop mode vCont replies.
658 2015-11-30 Pedro Alves <palves@redhat.com>
660 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
661 prepare_for_testing. Start gdb with "set non-stop on" appended to
662 GDBFLAGS. Lax expected stop output.
664 2015-11-27 Yao Qi <yao.qi@linaro.org>
666 * gdb.arch/arm-neon.exp: New.
667 * gdb.arch/arm-neon.c: New.
669 2015-11-27 Yao Qi <yao.qi@linaro.org>
671 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
673 2015-11-27 Yao Qi <yao.qi@linaro.org>
675 * gdb.cp/annota2.exp: Allow multiple occurrences of the
676 frames-invalid annotation.
678 2015-11-27 Yao Qi <yao.qi@linaro.org>
680 * gdb.cp/annota2.exp: Use ${frames_invalid}.
682 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
684 * gdb.threads/names.exp: New file.
685 * gdb.threads/names.c: New file.
686 * README: Mention gdb,no_thread_names.
688 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
691 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
694 2015-11-24 Pedro Alves <palves@redhat.com>
697 * gdb.base/display.exp: Expect displays to be sorted in ascending
698 order. Use multi_line.
699 * gdb.base/solib-display.exp: Likewise.
701 2015-11-24 Pedro Alves <palves@redhat.com>
704 * gdb.base/display.exp: Expect displays to be sorted in ascending
705 order. Use multi_line.
706 * gdb.base/solib-display.exp: Likewise.
708 2015-11-24 Pedro Alves <palves@redhat.com>
711 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
712 threads in ascending order.
713 * gdb.base/foll-fork.exp: Likewise.
714 * gdb.base/foll-vfork.exp: Likewise.
715 * gdb.base/multi-forks.exp: Likewise.
716 * gdb.mi/mi-nonstop.exp: Likewise.
717 * gdb.mi/mi-nsintrall.exp: Likewise.
718 * gdb.multi/base.exp: Likewise.
719 * gdb.multi/multi-arch.exp: Likewise.
720 * gdb.python/py-inferior.exp: Likewise.
721 * gdb.threads/break-while-running.exp: Likewise.
722 * gdb.threads/execl.exp: Likewise.
723 * gdb.threads/gcore-thread.exp: Likewise.
724 * gdb.threads/info-threads-cur-sal.exp: Likewise.
725 * gdb.threads/kill.exp: Likewise.
726 * gdb.threads/linux-dp.exp: Likewise.
727 * gdb.threads/multiple-step-overs.exp: Likewise.
728 * gdb.threads/next-bp-other-thread.exp: Likewise.
729 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
730 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
731 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
732 * gdb.threads/thread-find.exp: Likewise.
733 * gdb.threads/tls.exp: Likewise.
734 * lib/mi-support.exp (mi_reverse_list): Delete.
735 (mi_check_thread_states): No longer reverse list.
737 2015-11-24 Pedro Alves <palves@redhat.com>
739 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
742 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
744 * gdb.trace/actions.c: Include trace-common.h.
745 (main): Add a location for a fast tracepoint.
746 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
747 the normal tracepoints.
748 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
750 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
752 * save-trace.exp: Factor out code to these...
753 (gdb_save_tracepoints): New.
754 (gdb_load_tracepoints): New.
755 (do_save_load_test): New.
757 2015-11-23 Kevin Buettner <kevinb@redhat.com>
759 * gdb.base/asmlabel.exp: New test.
760 * gdb.base/asmlabel.c: New test case.
762 2015-11-23 Joel Brobecker <brobecker@adacore.com>
764 * gdb.base/wrong_frame_bt_full-main.c: New file.
765 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
766 * gdb.base/wrong_frame_bt_full.exp: New file.
768 2015-11-23 Joel Brobecker <brobecker@adacore.com>
770 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
772 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
774 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
775 pstate register when comparing registers values in
776 sparc64-*-linux-gnu targets to avoid spurious differences.
778 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
780 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
782 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
784 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
785 as type argument to gdb_compile.
786 * gdb.base/nested-subp2.exp: Likewise.
787 * gdb.base/nested-subp3.exp: Likewise.
789 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
791 * lib/dwarf.exp (_note): Fix left shift of negative value.
792 * gdb.trace/trace-condition.exp: Likewise.
794 2015-11-13 Yao Qi <yao.qi@linaro.org>
796 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
798 (test_scalar_returns): Likewise.
799 * gdb.base/d10v.ld: Remove.
800 * gdb.base/overlays.exp: Remove the target triplet checking for
802 * gdb.base/structs.exp (test_struct_returns): Remove the
804 (test_struct_calls): Likewise.
806 2015-11-13 Yao Qi <yao.qi@linaro.org>
808 * gdb.base/gnu_vector.exp: Check the return value by "p res".
809 * gdb.base/gnu_vector.c: Don't include stdio.h.
810 (main): Don't print res and call add_some_intvecs.
812 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
814 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
817 (func4): Use FAST_TRACEPOINT_LABEL.
818 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
821 (thread_function): Use FAST_TRACEPOINT_LABEL.
822 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
824 (marker): Use FAST_TRACEPOINT_LABEL.
825 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
827 (pendfunc): Use FAST_TRACEPOINT_LABEL.
828 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
830 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
831 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
834 (marker): Use FAST_TRACEPOINT_LABEL.
835 * gdb.trace/trace-common.h: New header.
836 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
839 (marker): Use FAST_TRACEPOINT_LABEL.
840 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
842 (thread_function): Use FAST_TRACEPOINT_LABEL.
844 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
846 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
848 * gdb.trace/change-loc.exp: Use global pcreg definition.
849 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
850 * gdb.trace/entry-values.exp: Use global spreg definition, add $
852 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
853 * gdb.trace/pending.exp: Likewise.
854 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
855 * gdb.trace/trace-break.exp: Likewise.
856 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
858 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
859 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
861 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
863 2015-11-09 Joel Brobecker <brobecker@adacore.com>
865 * gdb.ada/fin_fun_out: New testcase.
867 2015-11-07 Kevin Buettner <kevinb@redhat.com>
869 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
870 value associated with DW_AT_byte_size.
871 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
872 constants for DW_AT_byte_size, DW_AT_lower_bound, and
875 2015-11-07 Kevin Buettner <kevinb@redhat.com>
877 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
878 (gdb_target_symbol_prefix_flags): Define in terms of _asm
880 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
881 gdb.dwarf2/dw2-canonicalize-type.exp,
882 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
883 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
884 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
885 provided by gdb_target_symbol_prefix_flags_asm.
886 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
887 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
888 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
889 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
890 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
891 macros where needed). Use this macro for symbols which require
892 the prefix provided by SYMBOL_PREFIX.
894 2015-11-05 Kevin Buettner <kevinb@redhat.com>
896 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
898 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
899 representing expressions, of more than one list element.
900 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
901 to prepend linker symbol prefix to f.
902 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
904 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
905 Likewise, for f and g.
906 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
908 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
910 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
911 table_1_ptr and table_2_ptr.
913 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
914 Joel Brobecker <brobecker@adacore.com>
916 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
918 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
920 * gdb.reverse/s390-mvcle.c: New test.
921 * gdb.reverse/s390-mvcle.exp: New file.
922 * lib/gdb.exp: Enable reverse tests on s390*-linux.
924 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
926 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
928 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
930 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
932 * gdb.reverse/getresuid-reverse.exp: Likewise.
933 * gdb.reverse/pipe-reverse.exp: Likewise.
934 * gdb.reverse/readv-reverse.exp: Likewise.
935 * gdb.reverse/recvmsg-reverse.exp: Likewise.
936 * gdb.reverse/time-reverse.exp: Likewise.
937 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
939 2015-10-30 Yao Qi <yao.qi@linaro.org>
941 * gdb.threads/wp-replication.c (watch_count_done): Remove.
942 (empty_cycle): Remove.
943 (main): Don't call empty_cycle. Don't use watch_count_done.
944 * gdb.threads/wp-replication.exp: Don't set breakpoint on
945 empty_cycle. Rewrite the code counting HW watchpoints.
947 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
949 * gdb.reverse/fstatat-reverse.c: New test.
950 * gdb.reverse/fstatat-reverse.exp: New file.
951 * gdb.reverse/getresuid-reverse.c: New test.
952 * gdb.reverse/getresuid-reverse.exp: New file.
953 * gdb.reverse/pipe-reverse.c: New test.
954 * gdb.reverse/pipe-reverse.exp: New file.
955 * gdb.reverse/readv-reverse.c: New test.
956 * gdb.reverse/readv-reverse.exp: New file.
957 * gdb.reverse/recvmsg-reverse.c: New test.
958 * gdb.reverse/recvmsg-reverse.exp: New file.
959 * gdb.reverse/time-reverse.c: New test.
960 * gdb.reverse/time-reverse.exp: New file.
961 * gdb.reverse/waitpid-reverse.c: New test.
962 * gdb.reverse/waitpid-reverse.exp: New file.
964 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
966 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
968 2015-10-26 Doug Evans <dje@google.com>
971 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
972 * gdb.dwarf2/bad-regnum.c: New file.
973 * gdb.dwarf2/bad-regnum.exp: New file.
975 2015-10-26 Doug Evans <dje@google.com>
978 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
981 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
983 * gdb.compile/compile.exp (compile code globalvar): Update expectation
984 for a change by "Mention language in compile error message".
986 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
989 * gdb.python/py-type.c (C::a_method): New.
990 (C::a_const_method): New.
991 (C::a_static_method): New.
993 * gdb.python/py-type.exp (test_fields): Test getting fields
994 from function and method.
996 2015-10-21 Keven Boell <keven.boell@intel.com>
998 * gdb.fortran/vla-alloc-assoc.exp: New file.
999 * gdb.fortran/vla-datatypes.exp: New file.
1000 * gdb.fortran/vla-datatypes.f90: New file.
1001 * gdb.fortran/vla-history.exp: New file.
1002 * gdb.fortran/vla-ptype-sub.exp: New file.
1003 * gdb.fortran/vla-ptype.exp: New file.
1004 * gdb.fortran/vla-sizeof.exp: New file.
1005 * gdb.fortran/vla-sub.f90: New file.
1006 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1007 * gdb.fortran/vla-value-sub-finish.exp: New file.
1008 * gdb.fortran/vla-value-sub.exp: New file.
1009 * gdb.fortran/vla-value.exp: New file.
1010 * gdb.fortran/vla-ptr-info.exp: New file.
1011 * gdb.mi/mi-vla-fortran.exp: New file.
1012 * gdb.mi/vla.f90: New file.
1014 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1016 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1017 of hardwired timeout value.
1019 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1020 Pedro Alves <palves@redhat.com>
1022 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1023 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1025 2015-10-19 Josh Stone <jistone@redhat.com>
1027 * gdb.base/catch-syscall.c: Include <sched.h>.
1028 (unknown_syscall): New variable.
1029 (main): Trigger a vfork and an unknown syscall.
1030 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1031 (unknown_syscall_number): Likewise.
1032 (check_call_to_syscall): Accept an optional syscall pattern.
1033 (check_return_from_syscall): Likewise.
1034 (check_continue): Likewise.
1035 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1036 (test_catch_syscall_skipping_return): New test toggling off 'catch
1037 syscall' to step over the syscall return, then toggling back on.
1038 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1039 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1040 (do_syscall_tests): Call test_catch_syscall_without_args and
1041 test_catch_syscall_mid_vfork.
1042 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1043 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1045 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1047 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1048 print g_vE): Add new pass patterns.
1049 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1050 print various symbol names for vptr fields.
1052 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1054 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1057 2015-10-12 Yao Qi <yao.qi@linaro.org>
1059 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1061 2015-10-12 Yao Qi <yao.qi@linaro.org>
1063 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1064 is aarch64*-*-linux*.
1066 2015-10-12 Yao Qi <yao.qi@linaro.org>
1068 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1069 (can_relocate_bcond_true): ... it.
1070 (can_relocate_bcond_false): New function.
1072 (can_relocate_bl): Likewise.
1073 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1076 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1078 * gdb.base/nested-addr.c: New file.
1079 * gdb.base/nested-addr.exp: New testcase.
1081 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1083 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1084 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1085 its output. Ignore the output of "record goto begin" and instead
1086 check that GDB is replaying.
1088 2015-10-09 Pedro Alves <palves@redhat.com>
1090 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1091 (top level): Use it in the run with no args test.
1093 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1095 * gdb.dlang/properties.exp: New file.
1097 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1099 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1100 whether or not address 0x1000 is mapped on the target.
1102 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1104 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1107 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1109 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1110 instruction-history test.
1112 2015-09-28 Doug Evans <dje@google.com>
1114 * gdb.base/gcore.c (array_func): Add reference to static_array.
1116 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1118 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1121 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1123 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1124 short or char as base type.
1126 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1128 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1129 to allow any size enum.
1131 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1133 * gdb.ada/array_ptr_renaming.exp: New testcase.
1134 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1135 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1137 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1139 * gdb.trace/ftrace-lock.c: New file.
1140 * gdb.trace/ftrace-lock.exp: New file.
1142 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1144 * gdb.arch/insn-reloc.c: New file.
1145 * gdb.arch/ftrace-insn-reloc.exp: New file.
1147 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1149 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1151 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1152 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1153 * gdb.trace/range-stepping.c: Likewise.
1154 * gdb.trace/trace-break.c: Likewise.
1155 * gdb.trace/trace-mt.c (thread_function): Likewise.
1156 * gdb.trace/ftrace.c (marker): Likewise.
1157 * gdb.trace/trace-condition.c (marker): Likewise.
1158 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1159 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1162 2015-09-18 Doug Evans <xdje42@gmail.com>
1164 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1165 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1167 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1169 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1172 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1174 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1175 the pending breakpoint. Remove timeout override for "Run till
1176 MI pending breakpoint on pendfunc3 on thread 2" test.
1178 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1180 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1183 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1185 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1186 in breakpoint filename pattern.
1188 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1190 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1192 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1194 * gdb.linespec/explicit.exp: Check for readline support for
1195 tab-completion tests. Fix obvious typo.
1197 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1199 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1202 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1204 * gdb.btrace/non-stop.c: New.
1205 * gdb.btrace/non-stop.exp: New.
1207 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1208 Yao Qi <yao.qi@linaro.org>
1210 * gdb.trace/trace-condition.c: New file.
1211 * gdb.trace/trace-condition.exp: New file.
1213 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1215 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1216 for testing bytecode compilation.
1218 2015-09-16 Pedro Alves <palves@redhat.com>
1219 Sandra Loosemore <sandra@codesourcery.com>
1221 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1222 (SECONDS): Redefine.
1223 (main): Call pthread_kill and alarm early.
1224 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1226 (test): If the target can't hardware step and doesn't support
1227 displaced stepping, increase the timeout.
1229 2015-09-16 Pedro Alves <palves@redhat.com>
1231 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1232 (enable_debug): New procedures.
1233 (test): Use them. Bail out if waiting for threads fails.
1234 (top level): Bail out if a test fails.
1236 2015-09-16 Yao Qi <yao.qi@linaro.org>
1238 * gdb.asm/asm-source.exp: Set asm-arch for
1239 aarch64*-*-* target.
1240 * gdb.asm/aarch64.inc: New file.
1242 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1244 * gdb.ada/array_of_variable_length.exp: New testcase.
1245 * gdb.ada/array_of_variable_length/foo.adb: New file.
1246 * gdb.ada/array_of_variable_length/pck.adb: New file.
1247 * gdb.ada/array_of_variable_length/pck.ads: New file.
1249 2015-09-15 Doug Evans <dje@google.com>
1251 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1252 of function static local variable.
1254 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1256 * gdb.threads/tls-so_extern.exp: New test file.
1257 * gdb.threads/tls-so_extern.c: New test file.
1258 * gdb.threads/tls-so_extern_main.c: New test file.
1260 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1262 * gdb.opt/solib-intra-step-lib.c: New file.
1263 * gdb.opt/solib-intra-step-main.c: New file.
1264 * gdb.opt/solib-intra-step.exp: New file.
1266 2015-09-15 Pedro Alves <palves@redhat.com>
1268 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1269 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1271 2015-09-14 Pedro Alves <palves@redhat.com>
1273 * gdb.base/hook-stop-continue.c: Delete.
1274 * gdb.base/hook-stop-continue.exp: Delete.
1275 * gdb.base/hook-stop-frame.c: Delete.
1276 * gdb.base/hook-stop-frame.exp: Delete.
1277 * gdb.base/hook-stop.c: New file.
1278 * gdb.base/hook-stop.exp: New file.
1280 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1282 * gdb.ada/access_to_packed_array.exp: New testcase.
1283 * gdb.ada/access_to_packed_array/foo.adb: New file.
1284 * gdb.ada/access_to_packed_array/pack.adb: New file.
1285 * gdb.ada/access_to_packed_array/pack.ads: New file.
1287 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1289 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1292 2015-09-11 Don Breazeal <donb@codesourcery.com>
1294 * gdb.base/foll-exec.c: Add copyright header. Fix
1296 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1297 (do_exec_tests): Use clean_restart in place of zap_session,
1298 and for test initialization. Fix formatting issues. Use
1299 fail in place of perror.
1300 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1301 an expect statement to match an expression with output from
1302 the program under debug.
1303 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1304 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1305 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1306 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1307 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1309 2015-09-09 Doug Evans <dje@google.com>
1311 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1313 2015-09-09 Doug Evans <dje@google.com>
1315 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1317 2015-09-09 Doug Evans <dje@google.com>
1319 * gdb.base/savedregs.exp: Fix typo.
1321 2015-09-09 Pedro Alves <palves@redhat.com>
1323 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1325 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1327 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1328 command actually switches threads. Give up on remaining
1329 tests if target fails to stop at breakpoint.
1331 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1333 * gdb.ada/funcall_char.exp: New testcase.
1334 * gdb.ada/funcall_char/foo.adb: New file.
1336 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1338 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1339 expected outputs. Add two testcases for completing ambiguous
1341 * gdb.ada/complete/aux_pck.adb: New file.
1342 * gdb.ada/complete/aux_pck.ads: New file.
1343 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1344 Ambiguous_Func functions.
1345 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1346 * gdb.ada/complete/pck.adb: Likewise.
1348 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1350 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1351 failures to run the test program under GDB.
1353 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1355 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1358 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1360 * gdb.base/run-after-attach.exp: New test file.
1361 * gdb.base/run-after-attach.c: New test file.
1363 2015-08-26 Don Breazeal <donb@codesourcery.com>
1365 * gdb.base/foll-exec-2.c: New test program.
1366 * gdb.base/foll-exec-2.exp: New test.
1368 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1370 * gdb.base/nested-subp1.exp: New file.
1371 * gdb.base/nested-subp1.c: New file.
1372 * gdb.base/nested-subp2.exp: New file.
1373 * gdb.base/nested-subp2.c: New file.
1374 * gdb.base/nested-subp3.exp: New file.
1375 * gdb.base/nested-subp3.c: New file.
1377 2015-08-24 Pedro Alves <palves@redhat.com>
1379 * gdb.server/connect-without-multi-process.c: New file.
1380 * gdb.server/connect-without-multi-process.exp: New file.
1382 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1384 * gdb.opt/inline-markers.c: Make z int.
1386 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1388 * gdb.opt/inline-markers.c: Make z volatile.
1390 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1392 * gdb.opt/inline-bt.c: New volatile global z.
1393 * gdb.opt/inline-cmds.c: Likewise.
1394 * gdb.opt/inline-locals.c: Likewise.
1395 * gdb.opt/inline-markers.c: New extern global z.
1397 (inline_fn): Likewise.
1399 2015-08-24 Pedro Alves <palves@redhat.com>
1401 * config/m32r-stub.exp: Remove file.
1402 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1403 * gdb.base/call-rt-st.exp: Likewise.
1404 * gdb.base/call-strs.exp: Likewise.
1405 * gdb.base/default.exp: Remove references to h8300-*-hms and
1407 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1409 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1411 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1412 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1413 and "return" use KFAIL when GDB can not read/write the vector
1416 2015-08-21 Gary Benson <gbenson@redhat.com>
1418 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1420 2015-08-20 Pedro Alves <palves@redhat.com>
1422 * gdb.server/solib-list.exp: No longer expect an interior stop in
1425 2015-08-20 Pedro Alves <palves@redhat.com>
1427 * gdb.server/connect-stopped-target.c: New file.
1428 * gdb.server/connect-stopped-target.exp: New file.
1430 2015-08-20 Pedro Alves <palves@redhat.com>
1432 * gdb.dwarf2/comp-unit-lang.exp: New file.
1433 * gdb.dwarf2/comp-unit-lang.c: New file.
1435 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1437 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1438 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1440 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1442 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1443 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1445 2015-08-18 Doug Evans <dje@google.com>
1446 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1448 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1449 skip_python_tests. New arg prompt_regexp.
1450 (skip_python_tests): New function.
1451 * lib/mi-support.exp (mi_skip_python_tests): New function.
1452 * gdb.python/py-mi-objfile-gdb.py: New file.
1453 * gdb.python/py-mi-objfile.c: New file.
1454 * gdb.python/py-mi-objfile.exp: New file.
1456 2015-08-17 Keith Seitz <keiths@redhat.com>
1458 * gdb.linespec/explicit.exp: Move strace test from here ...
1459 * gdb.trace/strace.exp: ... to here.
1461 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1463 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1464 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1466 2015-08-14 Doug Evans <xdje42@gmail.com>
1468 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1469 inferior before selecting a new file.
1471 2015-08-14 Doug Evans <xdje42@gmail.com>
1473 * gdb.mi/mi-disassemble.exp: Update.
1474 * gdb.base/disasm-optim.S: New file.
1475 * gdb.base/disasm-optim.c: New file.
1476 * gdb.base/disasm-optim.h: New file.
1477 * gdb.base/disasm-optim.exp: New file.
1479 2015-08-14 Keith Seitz <keiths@redhat.com>
1481 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1484 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1486 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1488 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1490 * gdb.ada/fun_renaming.exp: New testcase.
1491 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1492 * gdb.ada/fun_renaming/pack.adb: New file.
1493 * gdb.ada/fun_renaming/pack.ads: New file.
1495 2015-08-12 Keith Seitz <keiths@redhat.com>
1497 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1498 gdb_get_line_number.
1500 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1502 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1503 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1504 gdb.base/dso2dso.exp: New files.
1506 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1507 Pedro Alves <palves@redhat.com>
1508 Keith Seitz <keiths@redhat.com>
1510 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1513 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1515 * gdb.base/gdbhistsize-history.exp
1516 (test_histsize_history_setting): Use save_vars.
1517 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1519 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1520 * gdb.base/readline.exp: Use save_vars.
1522 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1524 * lib/gdb.exp (save_vars): New proc.
1526 2015-08-11 Keith Seitz <keiths@redhat.com>
1528 * gdb.base/help.exp: Update help_breakpoint_text.
1530 2015-08-11 Keith Seitz <keiths@redhat.com>
1532 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1533 (at toplevel): Call test_explicit_breakpoints.
1534 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1536 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1537 breakpoint conditions, "-cond".
1539 2015-08-11 Keith Seitz <keiths@redhat.com>
1541 * gdb.linespec/3explicit.c: New file.
1542 * gdb.linespec/cpexplicit.cc: New file.
1543 * gdb.linespec/cpexplicit.exp: New file.
1544 * gdb.linespec/explicit.c: New file.
1545 * gdb.linespec/explicit.exp: New file.
1546 * gdb.linespec/explicit2.c: New file.
1547 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1548 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1549 before using in the matching pattern.
1550 Clarify that `prefix' is a regular expression.
1552 2015-08-11 Keith Seitz <keiths@redhat.com>
1554 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1556 Add tests for missing ",FMT" and ",".
1558 2015-08-10 Doug Evans <dje@google.com>
1559 Keith Seitz <keiths@redhat.com>
1562 * gdb.base/completion.exp: Add location completer tests.
1564 2015-08-07 Pedro Alves <palves@redhat.com>
1566 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1568 (top level): Run do_test with and without displaced stepping.
1570 2015-08-07 Pedro Alves <palves@redhat.com>
1572 * gdb.base/valgrind-disp-step.c: New file.
1573 * gdb.base/valgrind-disp-step.exp: New file.
1575 2015-08-07 Pedro Alves <palves@redhat.com>
1577 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1579 (main): Add alarm. Run an infinite loop instead of calling
1581 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1583 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1585 (main): Add alarm. Run an infinite loop instead of calling
1587 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1590 2015-08-07 Pedro Alves <palves@redhat.com>
1592 * gdb.base/checkpoint-ns.exp: New file.
1593 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1596 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1598 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1599 * gdb.btrace/instruction_history.exp: Update.
1600 * gdb.btrace/tsx.exp: New.
1601 * gdb.btrace/tsx.c: New.
1603 2015-08-06 Pedro Alves <palves@redhat.com>
1605 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1607 * gdb.reverse/until-precsave.exp: Bump timeouts.
1609 2015-08-06 Pedro Alves <palves@redhat.com>
1611 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1613 2015-08-06 Pedro Alves <palves@redhat.com>
1616 * gdb.threads/process-dies-while-handling-bp.c: New file.
1617 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1619 2015-08-06 Pedro Alves <palves@redhat.com>
1621 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1622 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1624 2015-08-05 Pedro Alves <palves@redhat.com>
1626 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1627 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1629 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1631 * gdb.base/bp-permanent.exp: Report test as unsupported if
1632 the target cannot stop at the permanent breakpoint.
1634 2015-08-03 Doug Evans <dje@google.com>
1636 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1639 2015-08-03 Doug Evans <dje@google.com>
1641 * Makefile.in (workers/%.worker, build-perf): New rule.
1642 (GDB_PERFTEST_MODE): New variable.
1643 (check-perf): Use it.
1644 (clean): Clean up gdb.perf parallel build subdirs.
1645 * lib/build-piece.exp: New file.
1646 * lib/gdb.exp (make_gdb_parallel_path): New function
1647 (standard_output_file, standard_temp_file): Call it.
1648 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1650 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1652 2015-08-03 Doug Evans <dje@google.com>
1654 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1655 (LOG_FILE_NAME): New global.
1656 (TextReporter.__init__): Initialize self.txt_sum.
1657 (TextReporter.report): Add support for multiple data-points.
1658 Move report to perftest.sum, put raw data in perftest.log.
1659 (TextReporter.start): Open sum and log files.
1660 (TextReporter.end): Close sum and log files.
1661 * gdb.perf/lib/perftest/testresult.py
1662 (SingleStatisticTestResult.record): Handle multiple data-points.
1664 2015-07-31 Pedro Alves <palves@redhat.com>
1666 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1667 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1668 kill_wait_spawned_process instead of explicit "kill -9".
1669 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1670 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1671 kill_wait_spawned_process.
1672 * gdb.base/attach-twice.exp: Likewise.
1673 * gdb.base/attach.exp: Likewise.
1674 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1676 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1677 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1678 kill_wait_spawned_process.
1679 * gdb.base/valgrind-infcall.exp: Likewise.
1680 * gdb.multi/multi-attach.exp: Likewise.
1681 * gdb.python/py-prompt.exp: Likewise.
1682 * gdb.python/py-sync-interp.exp: Likewise.
1683 * gdb.server/ext-attach.exp: Likewise.
1684 * gdb.threads/attach-into-signal.exp (corefunc): Use
1685 spawn_wait_for_attach, spawn_id_get_pid and
1686 kill_wait_spawned_process.
1687 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1688 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1689 spawn_id_get_pid and kill_wait_spawned_process.
1690 * gdb.threads/attach-stopped.exp (corefunc): Use
1691 spawn_wait_for_attach, spawn_id_get_pid and
1692 kill_wait_spawned_process.
1693 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1694 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1695 kill_wait_spawned_process instead of explicit "kill -9".
1696 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1697 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1698 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1699 processes. Don't map cygwin/windows pids here. Now returns a
1702 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1704 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1705 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1708 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1710 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1712 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1715 2014-05-21 Mark Wielaard <mjw@redhat.com>
1717 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1719 2015-07-30 Pedro Alves <palves@redhat.com>
1721 * linux-low.c (handle_extended_wait): Set the child's last
1722 reported status to TARGET_WAITKIND_STOPPED.
1724 2015-07-30 Pedro Alves <palves@redhat.com>
1727 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1728 only shows inferior 1.
1730 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1731 Pedro Alves <palves@redhat.com>
1734 * gdb.threads/fork-plus-threads.c: New file.
1735 * gdb.threads/fork-plus-threads.exp: New file.
1737 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1739 * gdb.base/batch-preserve-term-settings.exp
1740 (test_terminal_settings_preserved_after_cli_exit): Use
1743 2015-07-29 Pedro Alves <palves@redhat.com>
1744 Don Breazeal <donb@codesourcery.com>
1746 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1747 output from both inferior_spawn_id and gdb_spawn_id.
1749 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1751 * gdb.threads/attach-into-signal.exp (corefunc): Use
1752 with_test_prefix on nested loops, uniquefying the test messages.
1754 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1756 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1759 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1761 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1763 (test_terminal_settings_preserved_after_sigterm): New test.
1765 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1767 * gdb.base/batch-preserve-term-settings.exp
1768 (test_terminal_settings_preserved_after_cli_exit): New test.
1770 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1772 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1773 manipulation of saved_gdbflags.
1774 (test_terminal_settings_preserved): Remove global declaration of
1775 the unused variable pagination_prompt. Remove manipulation of
1776 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1779 2015-07-29 Pedro Alves <palves@redhat.com>
1781 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1783 2015-07-29 Pedro Alves <palves@redhat.com>
1785 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1788 2015-07-29 Pedro Alves <palves@redhat.com>
1790 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1791 (main): Call gdb_unbuffer_output.
1792 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1793 (main): Call gdb_unbuffer_output.
1794 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1795 (main): Call gdb_unbuffer_output.
1796 * gdb.base/call-strs.exp: Adjust to step over the
1797 gdb_unbuffer_output call.
1798 * gdb.base/catch-gdb-caused-signals.c: Include
1799 "../lib/unbuffer_output.c".
1800 (main): Call gdb_unbuffer_output.
1801 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1802 (main): Call gdb_unbuffer_output.
1803 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1804 (main): Call gdb_unbuffer_output.
1805 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1806 (main): Call gdb_unbuffer_output.
1807 * gdb.base/shlib-call.exp: Adjust to step over the
1808 gdb_unbuffer_output call.
1809 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1810 (main): Call gdb_unbuffer_output.
1811 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1812 (main): Call gdb_unbuffer_output.
1813 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1814 (main): Rename to ...
1816 (main): Reimplement.
1817 * gdb.base/varargs.exp: Run to test instead of to main.
1818 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1819 (main): Call gdb_unbuffer_output.
1821 2015-07-29 Pedro Alves <palves@redhat.com>
1823 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1824 factore out from mi_continue_dprintf. For call-style dprintfs,
1825 expect dprintf output out of $inferior_spawn_id.
1826 (mi_continue_dprintf): Use mi_expect_dprintf.
1827 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1828 (main): Call gdb_unbuffer_output.
1830 2015-07-29 Pedro Alves <palves@redhat.com>
1832 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1833 (default_mi_gdb_start): Set inferior_spawn_id instead of
1834 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1836 (mi_gdb_test): Always expect inferior output from both
1837 $inferior_spawn_id and $gdb_spawn_id.
1839 2015-07-29 Pedro Alves <palves@redhat.com>
1841 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1842 send_inferior and $inferior_spawn_id.
1844 2015-07-29 Pedro Alves <palves@redhat.com>
1846 * gdb.gdb/complaints.exp (test_initial_complaints)
1847 (test_serial_complaints, test_short_complaints): Use
1849 (test_empty_complaint): Handle $inferior_spawn_id !=
1852 2015-07-29 Pedro Alves <palves@redhat.com>
1854 * gdb.base/varargs.exp: Use gdb_test_stdio.
1856 2015-07-29 Pedro Alves <palves@redhat.com>
1858 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1860 2015-07-29 Pedro Alves <palves@redhat.com>
1862 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1864 2015-07-29 Pedro Alves <palves@redhat.com>
1866 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1867 parameter into two new parameters, "inf_result" and "gdb_result".
1868 Expect inferior output and gdb output from $inferior_spawn_id and
1869 $gdb_spawn_id, respectively. Adjust all callers.
1871 2015-07-29 Pedro Alves <palves@redhat.com>
1873 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1874 of gdb_test_sequence.
1876 2015-07-29 Pedro Alves <palves@redhat.com>
1878 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1879 (saw_spurious_output): Expect inferior output from
1880 $inferior_spawn_id. Use gdb_test_stdio.
1882 2015-07-29 Pedro Alves <palves@redhat.com>
1884 * gdb.base/dprintf.exp: Use standard_testfile. Change
1885 prepare_for_testing call.
1886 (srcfile): Don't set.
1887 (restart): New procedure.
1888 (test_dprintf): New procecure, use to continue over dprintfs.
1889 (test_call, test_agent): New procedures, tests moved here.
1890 Restart gdb and recreate dprintfs. Adjust expected output.
1892 2015-07-29 Pedro Alves <palves@redhat.com>
1894 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1896 2015-07-29 Pedro Alves <palves@redhat.com>
1898 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1900 2015-07-29 Pedro Alves <palves@redhat.com>
1902 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1905 2015-07-29 Pedro Alves <palves@redhat.com>
1907 * lib/gdb.exp (gdb_test_stdio): New procedure.
1909 2015-07-29 Pedro Alves <palves@redhat.com>
1911 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1913 2015-07-29 Pedro Alves <palves@redhat.com>
1915 * gdb.base/call-signal-resume.exp: Remove check for
1916 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1917 * gdb.base/unwindonsignal.exp: Likewise.
1918 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1919 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1921 2015-07-29 Pedro Alves <palves@redhat.com>
1923 * gdb.base/siginfo-addr.c (pass): New function.
1924 (handler): Call it iff si_addr is correct.
1925 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1926 Set a breakpoint at "pass" and continue to it.
1928 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1930 * gdb.python/py-objfile.exp: Make some tests have unique names.
1931 * gdb.python/py-pp-registration.exp: Likewise.
1933 2015-07-28 Pedro Alves <palves@redhat.com>
1935 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1937 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1939 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1941 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1943 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1945 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1947 * gdb.base/gdb-sigterm-2.exp: New test.
1949 2015-07-25 Doug Evans <xdje42@gmail.com>
1952 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1953 (workers/%.worker, build-perf): New rule.
1954 (GDB_PERFTEST_MODE): New variable.
1955 (check-perf): Use it.
1956 (clean): Clean up gdb.perf parallel build subdirs.
1957 * lib/build-piece.exp: New file.
1958 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1959 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1961 (standard_temp_file): Ditto.
1962 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1965 2015-07-24 Doug Evans <dje@google.com>
1967 * gdb.perf/lib/perftest/utils.py: New file.
1968 * gdb.perf/gm-hello.cc: New file.
1969 * gdb.perf/gm-pervasive-typedef.cc: New file.
1970 * gdb.perf/gm-pervasive-typedef.h: New file.
1971 * gdb.perf/gm-std.cc: New file.
1972 * gdb.perf/gm-std.h: New file.
1973 * gdb.perf/gm-use-cerr.cc: New file.
1974 * gdb.perf/gm-utils.h: New file.
1975 * gdb.perf/gmonster-null-lookup.py: New file.
1976 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1977 * gdb.perf/gmonster-print-cerr.py: New file.
1978 * gdb.perf/gmonster-ptype-string.py: New file.
1979 * gdb.perf/gmonster-runto-main.py: New file.
1980 * gdb.perf/gmonster-select-file.py: New file.
1981 * gdb.perf/gmonster1-null-lookup.exp: New file.
1982 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1983 * gdb.perf/gmonster1-print-cerr.exp: New file.
1984 * gdb.perf/gmonster1-ptype-string.exp: New file.
1985 * gdb.perf/gmonster1-runto-main.exp: New file.
1986 * gdb.perf/gmonster1-select-file.exp: New file.
1987 * gdb.perf/gmonster1.cc: New file.
1988 * gdb.perf/gmonster1.exp: New file.
1989 * gdb.perf/gmonster2-null-lookup.exp: New file.
1990 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1991 * gdb.perf/gmonster2-print-cerr.exp: New file.
1992 * gdb.perf/gmonster2-ptype-string.exp: New file.
1993 * gdb.perf/gmonster2-runto-main.exp: New file.
1994 * gdb.perf/gmonster2-select-file.exp: New file.
1995 * gdb.perf/gmonster2.cc: New file.
1996 * gdb.perf/gmonster2.exp: New file.
1998 2015-07-24 Doug Evans <dje@google.com>
2000 * gdb.perf/README: New file.
2001 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2002 * lib/gen-perf-test.exp: New file.
2004 2015-07-24 Doug Evans <dje@google.com>
2006 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2007 (PerfTest::startup): New function.
2008 (PerfTest::run): Return result of calling body.
2009 (PerfTest::assemble): Rewrite.
2010 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2011 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2012 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2013 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2014 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2016 2015-07-24 Doug Evans <dje@google.com>
2018 * lib/gdb.exp (clean_restart): Make executable optional.
2020 2015-07-24 Doug Evans <dje@google.com>
2022 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2023 compiler_info references.
2024 * gdb.cp/temargs.exp: Ditto.
2025 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2026 (get_compiler_info): Early exit if already computed. Set compiler_info
2027 to "unknown" if there was a problem.
2028 (test_compiler_info): Add function comment. Call get_compiler_info.
2030 2015-07-24 Doug Evans <dje@google.com>
2032 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2033 (workers/%.worker, build-perf): New rule.
2034 (GDB_PERFTEST_MODE): New variable.
2035 (check-perf): Use it.
2036 (clean): Clean up gdb.perf parallel build subdirs.
2037 * lib/build-piece.exp: New file.
2038 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2039 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2041 (standard_temp_file): Ditto.
2042 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2045 2015-07-24 Doug Evans <dje@google.com>
2047 * lib/future.exp (gdb_default_target_compile): New option
2049 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2052 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2054 * gdb.base/catch-syscall.exp: Call gdb_exit before
2057 2015-07-24 Pedro Alves <palves@redhat.com>
2059 * gdb.python/py-events.exp: Accept output between the stop event
2061 * gdb.python/py-evsignal.exp: Likewise.
2062 * gdb.python/py-evthreads.exp: Likewise.
2064 2015-07-24 Pedro Alves <palves@redhat.com>
2067 * gdb.threads/non-ldr-exit.c: New file.
2068 * gdb.threads/non-ldr-exit.exp: New file.
2070 2015-07-24 Yao Qi <yao.qi@linaro.org>
2072 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2075 2015-07-24 Yao Qi <yao.qi@linaro.org>
2077 * gdb.server/ext-restart.exp: New file.
2079 2015-07-24 Yao Qi <yao.qi@linaro.org>
2081 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2083 * gdb.server/ext-wrapper.exp: New file.
2085 2015-07-23 Doug Evans <dje@google.com>
2087 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2088 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2090 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2092 * gdb.ada/var_arr_typedef.exp: New testcase.
2093 * gdb.ada/var_arr_typedef/pack.adb: New file.
2094 * gdb.ada/var_arr_typedef/pack.ads: New file.
2095 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2097 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2099 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2101 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2103 * gdb.arch/i386-biarch-core.exp: Replace istarget
2104 by "complete set gnutarget". Remove expectation for the "core-file"
2107 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2109 Revert the previous commit:
2110 Tests for validate symbol file using build-id.
2112 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2114 Tests for validate symbol file using build-id.
2115 * gdb.base/solib-mismatch-lib.c: New file.
2116 * gdb.base/solib-mismatch-libmod.c: New file.
2117 * gdb.base/solib-mismatch.c: New file.
2118 * gdb.base/solib-mismatch.exp: New file.
2120 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2122 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2124 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2125 * gdb.base/siginfo.exp: Likewise.
2126 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2128 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2130 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2132 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2134 * gdb.trace/range-stepping.exp: Check that the target supports
2137 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2139 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2141 2015-07-14 Pedro Alves <palves@redhat.com>
2143 * gdb.base/killed-outside.exp: New file.
2144 * gdb.base/killed-outside.c: New file.
2146 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2148 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2150 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2152 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2154 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2155 infcall tests instead of setting up for KFAIL.
2157 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2159 * gdb.btrace/record_goto-step.exp: New.
2161 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2164 * gdb.compile/compile.c (struct struct_type): Add volatile to
2166 * gdb.compile/compile.exp
2167 (compile code struct_object.selffield = &struct_object): Skip further
2168 struct_object tests if this one xfails.
2170 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2173 * gdb.trace/ax.exp: Add test.
2175 2015-07-07 Yao Qi <yao.qi@linaro.org>
2177 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2178 instead of istarget "aarch64*-*-*".
2179 * gdb.arch/aarch64-fp.exp: Likewise.
2180 * gdb.base/float.exp: Likewise.
2181 * gdb.reverse/aarch64.exp: Likewise.
2182 * lib/gdb.exp (is_aarch64_target): New proc.
2184 2015-07-07 Yao Qi <yao.qi@linaro.org>
2186 * lib/gdb.exp (is_aarch32_target): New proc.
2187 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2188 instead of "istarget "arm*-*-*"".
2189 * gdb.arch/arm-disp-step.exp: Likewise.
2190 * gdb.arch/thumb-bx-pc.exp: Likewise.
2191 * gdb.arch/thumb-prologue.exp: Likewise.
2192 * gdb.arch/thumb-singlestep.exp: Likewise.
2193 * gdb.base/disp-step-syscall.exp: Likewise.
2194 * gdb.base/float.exp: Likewise.
2196 2015-07-07 Yao Qi <yao.qi@linaro.org>
2198 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2199 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2201 2015-07-07 Yao Qi <yao.qi@linaro.org>
2203 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2204 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2206 * gdb.multi/multi-arch.exp: Likewise.
2208 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2210 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2213 2015-07-07 Yao Qi <yao.qi@linaro.org>
2215 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2217 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2219 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2220 '[' and ']' characters.
2222 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2224 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2226 2015-06-29 Pedro Alves <palves@redhat.com>
2229 * gdb.threads/hand-call-new-thread.c: New file.
2230 * gdb.threads/hand-call-new-thread.c: New file.
2232 2015-06-26 Keith Seitz <keiths@redhat.com>
2233 Doug Evans <dje@google.com>
2236 * gdb.cp/var-tag-2.cc: New file.
2237 * gdb.cp/var-tag-3.cc: New file.
2238 * gdb.cp/var-tag-4.cc: New file.
2239 * gdb.cp/var-tag.cc: New file.
2240 * gdb.cp/var-tag.exp: New file.
2242 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2244 * gdb.base/history-duplicates.exp: New test.
2246 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2248 * gdb.base/completion.exp: Test the completion of the "focus"
2251 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2253 * gdb.arch/amd64-prologue-skip.S: New file.
2254 * gdb.arch/amd64-prologue-skip.exp: New file.
2256 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2258 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2259 is_address_zero_readable check.
2261 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2263 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2264 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2266 2015-06-24 Yao Qi <yao.qi@linaro.org>
2268 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2271 2015-06-24 Yao Qi <yao.qi@linaro.org>
2273 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2274 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2275 * gdb.base/siginfo-thread.exp: Likewise.
2277 2015-06-22 Yao Qi <yao.qi@linaro.org>
2279 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2281 2015-06-22 Yao Qi <yao.qi@linaro.org>
2283 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2285 (skip_hw_watchpoint_tests): Likewise.
2287 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2289 * gdb.base/gdbinit-history.exp: Test the interaction between
2290 setting GDBHISTSIZE and setting the history size via .gdbinit.
2292 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2295 * gdb.base/gdbhistsize-history.exp: New test.
2297 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2299 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2301 * gdb.base/readline.exp: Likewise.
2303 2015-06-17 Yao Qi <yao.qi@linaro.org>
2305 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2308 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2310 * gdb.base/gdbinit-history.exp: Add test case to check that
2311 an unlimited history file does not get truncated on exit.
2313 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2315 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2316 (VECTOR): New macro. Use it...
2317 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2318 ...for these typedefs.
2319 (int8, char1, int1, double1): New typedefs.
2320 (struct just_int2, struct two_int2): New structures.
2321 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2322 (add_structvecs, add_singlevecs): New functions.
2323 (main): Call add_some_intvecs twice.
2324 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2325 the compile and exit upon failure. Try compiling for the "native"
2326 architecture. Test inferior function calls with vector arguments
2327 and vector return value handling with "finish" and "return".
2329 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2331 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2332 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2334 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2336 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2338 PR breakpoints/16465
2339 * gdb.mi/mi-dprintf-pending.c: New file.
2340 * gdb.mi/mi-dprintf-pending.exp: New test.
2341 * gdb.mi/mi-dprintf-pendshr.c: New file.
2343 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2344 Mircea Gherzan <mircea.gherzan@intel.com>
2346 * gdb.arch/i386-mpx-map.c: New file.
2347 * gdb.arch/i386-mpx-map.exp: New File.
2349 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2351 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2352 * gdb.arch/i386-mpx.exp: Indentation fixed.
2354 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2356 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2357 function and improved indentation.
2358 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2359 gdb_test_multiple. Added additional tests to skip the test.
2361 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2363 * gdb.arch/i386-avx512.c: Change path in include file.
2364 * gdb.arch/i386-avx512.exp: Change include dir path
2366 * gdb.arch/i386-mpx.c: Change path in include file.
2367 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2370 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2372 * gdb.compile/compile-print.exp (compile print *vararray@3)
2373 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2375 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2377 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2378 (do not keep jit in memory): ... this.
2379 (expect 5): Change it to ...
2380 (expect no 5): ... this.
2382 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2385 * gdb.mi/mi-detach.exp: New file.
2387 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2390 * gdb.arch/amd64-tailcall-self.S: New file.
2391 * gdb.arch/amd64-tailcall-self.c: New file.
2392 * gdb.arch/amd64-tailcall-self.exp: New file.
2394 2015-05-28 Don Breazeal <donb@codesourcery.com>
2396 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2397 tests for remote targets by checking is_target_gdbserver.
2399 2015-05-27 Doug Evans <dje@google.com>
2401 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2402 * gdb.dwarf2/opaque-type-lookup.c: New file.
2403 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2405 2015-05-26 Doug Evans <dje@google.com>
2407 * gdb.cp/iostream.cc: New file.
2408 * gdb.cp/iostream.exp: New file.
2410 2015-05-26 Doug Evans <dje@google.com>
2412 * gdb.dwarf2/dw2-op-call.exp: Update.
2413 * gdb.dwarf2/dw4-sig-types.exp: Update.
2414 * gdb.dwarf2/implptr.exp: Update.
2415 * gdb.mi/mi-cmd-param-changed.exp: Update.
2417 2015-05-26 Doug Evans <dje@google.com>
2419 * gdb.python/py-lazy-string.c: New file.
2420 * gdb.python/py-lazy-string.exp: New file.
2421 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2422 (main): Update. Add estring3.
2423 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2424 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2426 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2427 Yao Qi <yao.qi@linaro.org>
2429 * gdb.reverse/aarch64.c: New.
2430 * gdb.reverse/aarch64.exp: New.
2432 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2434 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2435 (supports_reverse): Likewise.
2437 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2439 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2440 Use with_test_prefix.
2442 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2444 * gdb.base/completion.exp: Add test for completion of layout
2447 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2449 * lib/gdb.exp (skip_tui_tests): New proc.
2450 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2452 2015-05-19 Pedro Alves <palves@redhat.com>
2454 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2455 Save the whole env array instead of just HOME. Unset HISTSIZE in
2456 the environment while testing. Restore whole environment
2459 2015-05-16 Doug Evans <xdje42@gmail.com>
2461 * gdb.guile/scm-ports.c: New file.
2462 * gdb.guile/scm-ports.exp: Add memory port tests.
2464 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2466 * gdb.compile/compile-print.c: New file.
2467 * gdb.compile/compile-print.exp: New file.
2469 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2471 * gdb.compile/compile-ops.exp: Cast param to void.
2472 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2473 (compile code struct_object.selffield = &struct_object): Add xfail.
2475 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2477 * gdb.ada/arr_enum_with_gap: New testcase.
2479 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2481 * gdb.ada/byte_packed_arr: New testcase.
2483 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2485 * gdb.ada/pckd_neg: New testcase.
2487 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2490 * gdb.base/gdbinit-history.exp: New test.
2491 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2492 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2494 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2496 * gdb.python/py-xmethods.cc: Enhance test case.
2497 * gdb.python/py-xmethods.exp: New tests.
2498 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2500 (B_indexoper): Likewise.
2501 (global_dm_list) : Add new xmethod worker functions.
2503 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2505 * gdb.base/coredump-filter.exp: Correctly unset
2506 "coredump_var_addr" array.
2508 2015-05-08 Pedro Alves <palves@redhat.com>
2510 * gdb.server/non-existing-program.exp: Unset spawn_id.
2512 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2515 * gdb.python/py-xmethods.exp: Add tests.
2517 2015-05-08 Yao Qi <yao.qi@linaro.org>
2520 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2521 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2522 function set_coredump_filter, and remove remote_exec call.
2523 Remove argument ipid. Callers update.
2524 (top level): Don't get inferior's PID.
2526 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2528 * gdb.base/watch_thread_num.exp: Skip test on targets without
2531 2015-05-06 Pedro Alves <palves@redhat.com>
2534 * gdb.server/non-existing-program.exp: New file.
2536 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2538 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2540 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2542 * gdb.ada/out_of_line_in_inlined: New testcase.
2544 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2546 * gdb.ada/var_rec_arr: New testcase.
2548 2015-04-30 Yao Qi <yao.qi@linaro.org>
2550 * gdb.base/break-idempotent.exp: If
2551 skip_hw_watchpoint_multi_tests returns true, skip the tests
2552 on "rwatch" and "awatch".
2554 2015-04-30 Yao Qi <yao.qi@linaro.org>
2556 * gdb.base/relativedebug.exp: Invoke gdb command
2557 "info sharedlibrary", and if libc.so doesn't have debug info,
2560 2015-04-29 Doug Evans <dje@google.com>
2562 * gdb.python/py-xmethods.exp: Add ptype tests.
2563 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2564 get_result_type method.
2566 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2568 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2569 the target does not support hardware watchpoints.
2571 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2573 * gdb.base/break-always.exp: Abort testing if writing to memory
2576 2015-04-28 Doug Evans <dje@google.com>
2578 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2579 * gdb.python/py-pp-registration.exp: ... here. New file.
2580 * gdb.python/py-pp-registration.c: New file.
2581 * gdb.python/py-pp-registration.py: New file.
2583 2015-04-28 Doug Evans <dje@google.com>
2585 * gdb.python/py-bad-printers.c: New file.
2586 * gdb.python/py-bad-printers.py: New file.
2587 * gdb.python/py-bad-printers.exp: New file.
2589 2015-04-28 Sasha Smundak <asmundak@google.com>
2591 * gdb.python/py-type.exp: New test.
2593 2015-04-28 Andy Wingo <wingo@igalia.com>
2595 * gdb.python/py-parameter.exp:
2596 * gdb.guile/scm-parameter.exp: Escape the path that we are
2597 matching against, as it might contain characters that are special
2598 to regular expressions.
2600 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2602 * gdb.ada/rec_comp: New testcase.
2604 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2606 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2609 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2611 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2612 new tests for verilog output.
2614 2015-04-24 Yao Qi <yao.qi@linaro.org>
2616 * boards/remote-gdbserver-on-localhost.exp: New file.
2618 2015-04-23 Pedro Alves <palves@redhat.com>
2620 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2621 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2622 "end of file", remove $inferior_spawn_id from the indirect list.
2624 2015-04-23 Pedro Alves <palves@redhat.com>
2626 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2628 2015-04-23 Pedro Alves <palves@redhat.com>
2630 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2631 on $any_spawn_id instead of only on $gdb_spawn_id.
2633 2015-04-21 Pierre Muller <muller@sourceware.org>
2636 * lib/pascal.exp (gpc_compile): Add new option "class".
2637 (fpc_compile): Likewise.
2638 * gdb.pascal/case-insensitive-symbols.pas: New file.
2639 * gdb.pascal/case-insensitive-symbols.exp: New file.
2641 2015-04-20 Gary Benson <gbenson@redhat.com>
2643 * gdb.base/attach.exp: Fix three extended remote failures.
2645 2015-04-17 Gary Benson <gbenson@redhat.com>
2647 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2648 the main executable over the remote protocol.
2650 2015-04-16 Pedro Alves <palves@redhat.com>
2652 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2653 a new gdbserver if gdbserver_reconnect_p is set.
2655 2015-04-16 Pedro Alves <palves@redhat.com>
2657 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2658 is set, don't exit gdbserver.
2660 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2662 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2663 appropriate .insn, such that an older assembler can be used.
2664 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2665 the z/Architecture instruction set on 31-bit targets as well.
2667 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2669 * gdb.go/handcall.exp: Remove all logic related to the first
2670 breakpoint and rely on go_runto_main instead.
2671 * gdb.go/strings.exp: Likewise.
2672 * gdb.go/unsafe.exp: Likewise.
2673 * gdb.go/hello.exp: Likewise. Also rename the remaining
2674 breakpoint marker to "breakpoint 1".
2675 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2676 * gdb.go/strings.go: Likewise.
2677 * gdb.go/unsafe.go: Likewise.
2678 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2679 "set breakpoint 2 here" and rename the remaining breakpoint marker
2682 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2684 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2685 if itertools.imap is not present.
2686 * gdb.python/py-objfile.exp: Add parentheses.
2687 * gdb.python/py-type.exp: Same.
2688 * gdb.python/py-unwind-maint.py: Same.
2690 2015-04-15 Yao Qi <yao.qi@linaro.org>
2692 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2693 of ":$ptr_size" and set its form explicitly.
2695 2015-04-15 Pedro Alves <palves@redhat.com>
2696 Yao Qi <yao.qi@linaro.org>
2698 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2699 timeout by factor of 4.
2700 (test_regular_watch): Likewise.
2701 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2702 * gdb.reverse/sigall-reverse.exp: Likewise.
2703 * gdb.reverse/until-precsave.exp: Likewise.
2704 * lib/gdb.exp (with_timeout_factor): New proc.
2705 (gdb_expect): Move some code to ...
2706 (get_largest_timeout): ... here. New procedure.
2708 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2710 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2712 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2714 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2715 to write to the .text section.
2717 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2719 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2720 Handle the case of targets that do not provide PID information.
2722 2015-04-13 Yao Qi <yao.qi@linaro.org>
2724 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2725 and use expect instead of gdb_expect.
2727 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2729 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2730 "coredump_var_addr" to avoid naming conflict with other testcases.
2732 2015-04-10 Pedro Alves <palves@redhat.com>
2734 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2735 gdb_test_sequence and gdb_assert.
2737 2015-04-10 Pedro Alves <palves@redhat.com>
2739 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2740 test messages that don't include the breakpoint address.
2742 2015-04-10 Yao Qi <yao.qi@linaro.org>
2744 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2745 false for some offset and width combinations which aren't
2746 supported by linux kernel.
2748 2015-04-10 Pedro Alves <palves@redhat.com>
2750 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2751 procedure, factored out from ...
2752 (top level): ... here. Add "set displaced-stepping" testing axis.
2753 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2754 parameter "displaced". Use it.
2755 (top level): Use foreach and add "set displaced-stepping" testing
2758 2015-04-10 Pedro Alves <palves@redhat.com>
2760 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2762 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2763 both the address of the instruction that triggers the watchpoint
2764 and the address of the instruction immediately after, and use
2765 those addresses for the test. Fix comment.
2767 2015-04-10 Pedro Alves <palves@redhat.com>
2769 * gdb.base/sigstep.exp (breakpoint_to_handler)
2770 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2771 Test "backtrace" in handler.
2772 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2773 (top level): Add new "displaced" test axis to
2774 breakpoint_to_handler, breakpoint_to_handler_entry and
2775 breakpoint_over_handler.
2777 2015-04-10 Pedro Alves <palves@redhat.com>
2780 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2782 2015-04-10 Yao Qi <yao.qi@linaro.org>
2784 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2785 (test_add_rn_pc): New function.
2786 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2787 (top level): Invoke test_add_rn_pc.
2789 2015-04-10 Pedro Alves <palves@redhat.com>
2792 * gdb.base/step-over-no-symbols.exp: New file.
2794 2015-04-09 Andy Wingo <wingo@igalia.com>
2796 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2797 after the Python tests.
2799 2015-04-08 Keith Seitz <keiths@redhat.com>
2802 * gdb.python/py-completion.exp: New tests for completion.
2803 * gdb.python/py-completion.py (CompleteLimit1): New class.
2804 (CompleteLimit2): Likewise.
2805 (CompleteLimit3): Likewise.
2806 (CompleteLimit4): Likewise.
2807 (CompleteLimit5): Likewise.
2808 (CompleteLimit6): Likewise.
2809 (CompleteLimit7): Likewise.
2811 2015-04-08 Pedro Alves <palves@redhat.com>
2815 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2817 (main): Install it as SIGUSR1 handler.
2818 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2819 parameter. Always use "setup" as prefix. Toggle "set
2820 displaced-stepping" off/on depending on global. Don't switch to
2822 (top level): Add displaced stepping "off/on" test axis. Update
2823 "setup" calls. Wrap each subtest with with_test_prefix. Test
2824 continuing with a queued signal in each thread.
2826 2015-04-08 Pedro Alves <palves@redhat.com>
2828 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2829 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2830 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2831 Return early if running to main fails.
2832 * gdb.trace/while-stepping.exp: Likewise.
2834 2015-04-07 Pedro Alves <palves@redhat.com>
2836 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2837 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2838 interact with inferior program.
2840 2015-04-07 Pedro Alves <palves@redhat.com>
2842 * lib/gdb.exp (inferior_spawn_id): New global.
2843 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2844 spawn id after processing the user code.
2845 (default_gdb_start): Set inferior_spawn_id.
2846 (send_inferior): New procedure.
2847 * lib/gdbserver-support.exp (gdbserver_start): Set
2849 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2851 2015-04-07 Pedro Alves <palves@redhat.com>
2853 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2854 * lib/gdbserver-support.exp (gdbserver_start): Make
2855 $server_spawn_id global.
2856 (gdbserver_start): Don't wait for gdbserver's spawn id with
2858 (close_gdbserver): New procedure.
2859 (gdb_exit): Rename the default version and reimplement.
2861 2015-04-07 Pedro Alves <palves@redhat.com>
2863 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2864 append the substituted item, not the original item.
2866 2015-04-07 Pedro Alves <palves@redhat.com>
2868 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2871 2015-04-07 Pedro Alves <palves@redhat.com>
2873 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2874 output appearing once only.
2876 2015-04-07 Pedro Alves <palves@redhat.com>
2878 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2879 that doesn't expect anything. Return early if running to main
2882 2015-04-07 Yao Qi <yao.qi@linaro.org>
2884 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2885 (child_function): Call alarm.
2886 (main): Move call to alarm into the loop.
2887 * gdb.threads/non-stop-fair-events.exp: Build program with
2890 2015-04-06 Doug Evans <xdje42@gmail.com>
2892 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2893 Fix dest parameter to board_info.
2894 (fpc_compile): Ditto.
2895 (gdb_compile_pascal): Rename dest arg to destfile.
2897 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2899 * gdb.ada/funcall_ref.exp: New file.
2900 * gdb.ada/funcall_ref/foo.adb: New file.
2902 2015-04-02 Yao Qi <yao.qi@linaro.org>
2904 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2907 2015-04-02 Gary Benson <gbenson@redhat.com>
2909 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2911 2015-04-01 Sasha Smundak <asmundak@google.com>
2913 * gdb.python/py-unwind-maint.c: New file.
2914 * gdb.python/py-unwind-maint.exp: New test.
2915 * gdb.python/py-unwind-maint.py: New file.
2916 * gdb.python/py-unwind.c: New file.
2917 * gdb.python/py-unwind.exp: New test.
2918 * gdb.python/py-unwind.py: New test.
2920 2015-04-01 Pedro Alves <palves@redhat.com>
2922 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2923 to fail instead of non-existent $test.
2925 2015-04-01 Pedro Alves <palves@redhat.com>
2927 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2928 GDBFLAGS if not empty.
2930 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2932 * gdb.ada/complete.exp: Remove "multi_line".
2933 * gdb.ada/info_exc.exp: Remove "multi_line".
2934 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2935 * gdb.ada/ptype_field.exp: Remove "multi_line".
2936 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2937 * gdb.ada/tagged.exp: Remove "multi_line".
2938 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2940 * gdb.btrace/delta.exp: Likewise.
2941 * gdb.btrace/exception.exp: Likewise.
2942 * gdb.btrace/function_call_history.exp: Likewise.
2943 * gdb.btrace/instruction_history.exp: Likewise.
2944 * gdb.btrace/nohist.exp: Likewise.
2945 * gdb.btrace/record_goto.exp: Likewise.
2946 * gdb.btrace/segv.exp: Likewise.
2947 * gdb.btrace/stepi.exp: Likewise.
2948 * gdb.btrace/tailcall.exp: Likewise.
2949 * gdb.btrace/unknown_functions.exp: Likewise.
2950 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2951 * lib/gdb.exp: Add the "multi_line" helper.
2953 2015-04-01 Pedro Alves <palves@redhat.com>
2955 * gdb.threads/tid-reuse.c: New file.
2956 * gdb.threads/tid-reuse.exp: New file.
2958 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2961 * gdb.base/coredump-filter.c: New file.
2962 * gdb.base/coredump-filter.exp: Likewise.
2964 2015-03-27 Petr Machata <pmachata@redhat.com>
2966 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2967 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2968 (Dwarf::assemble): Initialize them.
2969 (Dwarf::lines): New function.
2971 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2973 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2974 SYMBOL_PREFIX for x86_64-*-cygwin.
2976 2015-03-26 Andy Wingo <wingo@igalia.com>
2979 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2980 const_value but not a location.
2981 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2982 location defined in non-main CUs are visible.
2984 2015-03-26 Yao Qi <yao.qi@linaro.org>
2987 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2988 Add a line number entry for the same line.
2989 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2990 Add a line number entry for the same line.
2992 2015-03-26 Yao Qi <yao.qi@linaro.org>
2994 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2996 (func): Likewise. Add .Lfunc_1 label.
2998 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3003 2015-03-26 Yao Qi <yao.qi@linaro.org>
3005 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3006 Call gdb_compile instead to compile each .s files without debug
3009 2015-03-26 Yao Qi <yao.qi@linaro.org>
3011 * gdb.base/savedregs.exp (process_saved_regs): Make
3012 "Saved registers:" optional in the pattern.
3014 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3016 * gdb.btrace/next.exp: Merged into step.exp.
3017 * gdb.btrace/finish.exp: Merged into step.exp.
3018 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3019 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3020 "record goto" and checking the exact replay position.
3021 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3022 check for "Recording format" in "info record" output.
3023 * gdb.btrace/record_goto.exp: Choose test file based on target.
3024 * gdb.btrace/x86-record_goto.S: Renamed into ...
3025 * gdb.btrace/x86_64-record_goto.S: ... this.
3026 * gdb.btrace/i686-record_goto.S: New.
3027 * gdb.btrace/x86-tailcall.S: Renamed into ...
3028 * gdb.btrace/x86_64-tailcall.S: ... this.
3029 * gdb.btrace/i686-tailcall.S: New.
3030 * gdb.btrace/x86-tailcall.c: Renamed into ...
3031 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3032 separate statements. Update test.
3033 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3034 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3035 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3036 * gdb.btrace/tailcall.exp: Choose test file based on target.
3037 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3039 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3041 * gdb.btrace/exception.exp: Increase BTS buffer size.
3043 2015-03-24 Pedro Alves <palves@redhat.com>
3045 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3047 2015-03-24 Pedro Alves <palves@redhat.com>
3049 * gdb.threads/schedlock.exp (test_step): No longer expect that
3050 "set scheduler-locking step" with "next" over a function call runs
3053 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3055 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3057 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3059 PR breakpoints/16466
3060 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3061 * gdb.mi/mi-pending.c (thread_func): New function.
3062 (int main): Add threading support required.
3063 * gdb.mi/mi-pending.exp: Add tests for this issue.
3064 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3065 (pendfunc2): Remove stdio dependency.
3066 * gdb.mi/mi-pendshr2.c: New file.
3068 2015-03-23 Keith Seitz <keiths@redhat.com>
3070 * gdb.linespec/keywords.c: New file.
3071 * gdb.linespec/keywords.exp: New file.
3073 2015-03-23 Keith Seitz <keiths@redhat.com>
3076 * gdb.dwarf2/staticvirtual.exp: New test.
3078 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3080 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3081 * README: Remove HP-UX and gdb.hp.
3083 * configure: Regenerate.
3084 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3085 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3086 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3087 gdb.hp/gdb.defects/Makefile.
3088 * gdb.hp/Makefile.in: File deleted.
3089 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3090 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3091 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3092 * gdb.hp/gdb.aCC/run.c: File deleted.
3093 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3094 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3095 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3096 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3097 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3098 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3099 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3100 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3101 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3102 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3103 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3104 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3105 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3106 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3107 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3108 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3109 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3110 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3111 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3112 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3113 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3114 * gdb.hp/gdb.compat/average.c: File deleted.
3115 * gdb.hp/gdb.compat/sum.c: File deleted.
3116 * gdb.hp/gdb.compat/xdb.c: File deleted.
3117 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3118 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3119 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3120 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3121 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3122 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3123 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3124 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3125 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3126 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3127 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3128 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3129 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3130 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3131 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3132 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3133 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3134 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3135 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3136 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3137 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3138 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3139 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3140 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3141 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3142 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3143 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3144 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3145 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3146 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3147 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3148 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3149 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3150 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3151 * gdb.hp/tools/odump: File deleted.
3153 2015-03-19 Pedro Alves <palves@redhat.com>
3155 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3156 (saw_thread_3): New globals.
3157 (top level): Increment them when an event for the corresponding
3159 (no thread starvation): New test.
3161 2015-03-19 Pedro Alves <palves@redhat.com>
3163 * gdb.threads/continue-pending-status.c: New file.
3164 * gdb.threads/continue-pending-status.exp: New file.
3166 2015-03-18 Pedro Alves <palves@redhat.com>
3168 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3169 Use gdb_is_target_remote instead of is_remote. Use
3170 gdb_test_multiple instead of gdb_expect. Exit early if
3171 gdb_test_multiple hits its internal matches. Tighten stepi tests
3172 expected output. Fail on exit with any signal, instead of just
3175 2015-03-18 Yao Qi <yao.qi@linaro.org>
3178 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3180 * gdb.base/catch-syscall.exp: Don't skip it on
3181 aarch64*-*-linux* target. Remove elements in all_syscalls.
3182 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3184 (setup_all_syscalls): New proc.
3186 2015-03-16 Yao Qi <yao.qi@linaro.org>
3188 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3189 (top level): Skip tests if valid_addr_p returns false for
3192 2015-03-11 Andy Wingo <wingo@igalia.com>
3194 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3196 2015-03-11 Yao Qi <yao.qi@linaro.org>
3198 * gdb.base/catch-syscall.exp: Fix typo in comments.
3200 2015-03-11 Yao Qi <yao.qi@linaro.org>
3202 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3204 2015-03-09 Pedro Alves <palves@redhat.com>
3206 * dg-extract-results.py: Delete.
3208 2015-03-09 Pedro Alves <palves@redhat.com>
3210 Merge dg-extract-results.sh from GCC upstream (r218843).
3212 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3213 * dg-extract-results.sh: Use --text with grep to avoid issues with
3214 binary files. Fall back to cat -v, if that doesn't work.
3216 2015-03-05 Pedro Alves <palves@redhat.com>
3218 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3220 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3222 * lib/mi-support.exp (mi_expect_interrupt): Accept
3223 alternative event for when in all-stop mode.
3225 2015-03-04 Pedro Alves <palves@redhat.com>
3227 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3229 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3231 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3233 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3235 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3236 regexps for GDB's current line display, accept a hex address
3237 preceding the line number.
3239 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3241 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3242 the 'arch1' variable for "s390*-linux*" targets.
3244 2015-03-04 Pedro Alves <palves@redhat.com>
3246 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3247 (main): Pass missing retval argument to pthread_join call.
3249 2015-03-02 Pedro Alves <palves@redhat.com>
3251 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3252 (top level): Call do_test with non-stop as well.
3254 2015-03-02 Pedro Alves <palves@redhat.com>
3256 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3259 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3261 * gdb.arch/s390-vregs.exp: New test.
3262 * gdb.arch/s390-vregs.S: New file.
3264 2015-02-27 Pedro Alves <palves@redhat.com>
3266 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3267 call to catch_command_errors.
3268 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3269 catch_command_errors.
3271 2015-02-27 Pedro Alves <palves@redhat.com>
3273 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3274 "true" for boolean result.
3275 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3278 2015-02-27 Pedro Alves <palves@redhat.com>
3280 * lib/unbuffer_output.c: New file.
3281 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3282 (main): Call gdb_unbuffer_output.
3284 2015-02-27 Yao Qi <yao.qi@linaro.org>
3286 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3289 2015-02-26 Doug Evans <dje@google.com>
3291 * gdb.cp/class2.cc (Dbase, D): New classes.
3292 (main): New local delta.
3293 * gdb.cp/class2.exp: Test printing delta.
3294 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3295 (dynbar): New global.
3296 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3298 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3300 * gdb.compile/compile-ifunc.c: New file.
3301 * gdb.compile/compile-ifunc.exp: New file.
3303 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3305 * gdb.base/structs.exp: Check for correct struct on finish.
3307 2015-02-26 Yao Qi <yao.qi@linaro.org>
3309 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3312 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3314 * gdb.arch/cordic.ko.bz2: New file.
3315 * gdb.arch/cordic.ko.debug.bz2: New file.
3316 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3318 2015-02-25 Yao Qi <yao.qi@linaro.org>
3320 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3321 aarch64*-*-* target.
3323 2015-02-23 Pedro Alves <palves@redhat.com>
3325 * lib/gdb.exp (delete_breakpoints): Rewrite using
3328 2015-02-23 Pedro Alves <palves@redhat.com>
3330 * gdb.base/info-os.c: Include stdlib.h.
3332 2015-02-22 Doug Evans <xdje42@gmail.com>
3335 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3336 is read after symbols have been re-read.
3337 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3338 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3340 2015-02-21 Doug Evans <dje@google.com>
3342 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3344 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3347 * gdb.arch/i386-biarch-core.core.bz2: New file.
3348 * gdb.arch/i386-biarch-core.exp: New file.
3350 2015-02-21 Pedro Alves <palves@redhat.com>
3352 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3355 2015-02-20 Pedro Alves <palves@redhat.com>
3357 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3360 2015-02-20 Pedro Alves <palves@redhat.com>
3362 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3364 2015-02-20 Pedro Alves <palves@redhat.com>
3366 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3367 clean_restart before gdb_target_supports_trace.
3369 2015-02-20 Pedro Alves <palves@redhat.com>
3372 * gdb.threads/clone-thread_db.c: New file.
3373 * gdb.threads/clone-thread_db.exp: New file.
3375 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3377 PR breakpoints/16812
3378 * gdb.base/catch-gdb-caused-signals.c: New file.
3379 * gdb.base/catch-gdb-caused-signals.exp: New file.
3381 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3383 * configure: Regenerated.
3384 * configure.ac: Use GDB_AC_TRANSFORM.
3385 * aclocal.m4: sinclude ../transform.m4.
3387 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3389 * lib/dtrace.exp: New file.
3390 * gdb.base/dtrace-probe.exp: Likewise.
3391 * gdb.base/dtrace-probe.d: Likewise.
3392 * gdb.base/dtrace-probe.c: Likewise.
3393 * lib/pdtrace.in: Likewise.
3394 * configure.ac: Output variables with the transformed names of
3395 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3396 * configure: Regenerated.
3398 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3400 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3401 expected message when trying to access $_probe_* convenience
3402 variables while not on a probe.
3404 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3406 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3408 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3410 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3411 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3413 2015-02-10 Doug Evans <xdje42@gmail.com>
3415 * lib/gdb.exp (gdb_load): Always return a result.
3417 2015-02-10 Pedro Alves <palves@redhat.com>
3419 * gdb.threads/signal-sigtrap.c: New file.
3420 * gdb.threads/signal-sigtrap.exp: New file.
3422 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3424 * gdb.trace/no-attach-trace.c: New file.
3425 * gdb.trace/no-attach-trace.exp: New file.
3427 2015-02-09 Mark Wielaard <mjw@redhat.com>
3429 * gdb.dwarf2/atomic.c: New file.
3430 * gdb.dwarf2/atomic-type.exp: Likewise.
3432 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3434 * gdb.btrace/buffer-size.exp: Update "info record" output.
3435 * gdb.btrace/delta.exp: Update "info record" output.
3436 * gdb.btrace/enable.exp: Update "info record" output.
3437 * gdb.btrace/finish.exp: Update "info record" output.
3438 * gdb.btrace/instruction_history.exp: Update "info record" output.
3439 * gdb.btrace/next.exp: Update "info record" output.
3440 * gdb.btrace/nexti.exp: Update "info record" output.
3441 * gdb.btrace/step.exp: Update "info record" output.
3442 * gdb.btrace/stepi.exp: Update "info record" output.
3443 * gdb.btrace/nohist.exp: Update "info record" output.
3445 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3447 * gdb.btrace/buffer-size: New.
3449 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3451 * gdb.btrace/delta.exp: Update "info record" output.
3452 * gdb.btrace/enable.exp: Update "info record" output.
3453 * gdb.btrace/finish.exp: Update "info record" output.
3454 * gdb.btrace/instruction_history.exp: Update "info record" output.
3455 * gdb.btrace/next.exp: Update "info record" output.
3456 * gdb.btrace/nexti.exp: Update "info record" output.
3457 * gdb.btrace/step.exp: Update "info record" output.
3458 * gdb.btrace/stepi.exp: Update "info record" output.
3459 * gdb.btrace/nohist.exp: Update "info record" output.
3461 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3464 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3466 2015-02-06 Pedro Alves <palves@redhat.com>
3468 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3470 (seconds_left, again): New globals.
3471 (main): Wait seconds_left in a 1-second sleep loop instead of
3472 sleeping 180 seconds. If 'again' is set, reset the seconds
3474 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3475 'again' in the inferior before detaching. Print the seconds left.
3476 (options): New global.
3477 (top level): Build program with -DTIMEOUT=$timeout.
3479 2015-02-06 Pedro Alves <palves@redhat.com>
3481 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3482 determine how many seconds to pass to 'alarm'.
3483 * gdb.base/gdb-sigterm.exp (top level): Build program with
3485 (do_test): Return success/failure indication. Add more verbose
3486 logging. Don't fail if 200 single steps are seen. Instead, fail
3487 when the test times out.
3488 (passes): New global.
3489 (top level): Break the testing loop if testing fails on any
3490 iteration. Use gdb_assert.
3492 2015-02-04 Don Breazeal <donb@codesourcery.com>
3494 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3495 and initialize them.
3496 (ipc_cleanup): New function.
3497 (main): Don't declare shmid, semid, and msqid. Add a call to
3498 atexit so that we call ipc_cleanup on exit.
3500 2015-02-04 Pedro Alves <palves@redhat.com>
3502 * boards/native-extended-gdbserver.exp: Remove any target variant
3503 specifications from the board name before clearing the isremote
3504 flag from board_info.
3506 2015-01-31 Doug Evans <xdje42@gmail.com>
3508 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3510 2015-01-31 Gary Benson <gbenson@redhat.com>
3512 * gdb.base/completion.exp: Disable completion limiting for
3513 existing tests. Add new tests to check completion limiting.
3514 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3516 2015-01-31 Doug Evans <xdje42@gmail.com>
3518 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3520 2015-01-31 Doug Evans <xdje42@gmail.com>
3522 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3523 entries. Duplicate file section script entries.
3524 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3525 inlined entries. Add test for safe-path rejection.
3526 * gdb.python/py-section-script.c: Add duplicate inlined section script
3527 entries. Duplicate file section script entries.
3528 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3529 inlined entries. Add test for safe-path rejection.
3531 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3533 * gdb.ada/disc_arr_bound: New testcase.
3535 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3537 * gdb.ada/mi_var_array: New testcase.
3539 2015-01-27 Doug Evans <dje@google.com>
3541 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3542 Add test for objfile.filename, objfile.username after objfile
3545 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3547 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3548 the second test to print the name attribute of value
3549 returned by the call to gdb.lookup_type, and adjust
3550 the expected output accordingly.
3552 2015-01-25 Mark Wielaard <mjw@redhat.com>
3554 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3555 * gdb.base/disp-step-fork.c: Include unistd.h.
3556 * gdb.base/siginfo-obj.c: Include stdio.h.
3557 * gdb.base/siginfo-thread.c: Likewise.
3558 * gdb.mi/non-stop.c: Include unistd.h.
3559 * gdb.mi/nsthrexec.c: Include stdio.h.
3560 * gdb.mi/pthreads.c: Include unistd.h.
3561 * gdb.modula2/unbounded1.c (main): Declare returns int.
3562 * gdb.reverse/consecutive-reverse.c: Likewise.
3563 * gdb.threads/create-fail.c: Include unistd.h.
3564 * gdb.threads/killed.c: Likewise.
3565 * gdb.threads/linux-dp.c: Likewise.
3566 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3567 * gdb.threads/non-ldr-exc-2.c: Likewise.
3568 * gdb.threads/non-ldr-exc-3.c: Likewise.
3569 * gdb.threads/non-ldr-exc-4.c: Likewise.
3570 * gdb.threads/pthreads.c: Include unistd.h.
3571 (main): Declare returns int.
3572 * gdb.threads/tls-main.c (foo): New declaration.
3573 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3575 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3577 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3578 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3580 2015-01-15 Mark Wielaard <mjw@redhat.com>
3582 * gdb.base/noreturn-return.c: New file.
3583 * gdb.base/noreturn-return.exp: New file.
3584 * gdb.base/noreturn-finish.c: New file.
3585 * gdb.base/noreturn-finish.exp: New file.
3587 2015-01-23 Pedro Alves <palves@redhat.com>
3589 * gdb.threads/continue-pending-after-query.c: New file.
3590 * gdb.threads/continue-pending-after-query.exp: New file.
3592 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3593 Simon Marchi <simon.marchi@ericsson.com>
3595 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3596 * gdb.base/valgrind-db-attach.exp: Same.
3597 * gdb.base/valgrind-infcall.exp: Same.
3598 * lib/mi-support.exp (default_mi_gdb_start): Same.
3599 * lib/prompt.exp (default_prompt_gdb_start): Same.
3600 * lib/gdb.exp (default_gdb_spawn): Same.
3601 (gdb_interact): New.
3604 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3606 * gdb.compile/compile.exp (pointer to jit function): New test.
3608 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3610 * lib/gdb.exp (supports_process_record): Return true for
3612 (supports_reverse): Likewise.
3614 2015-01-15 Don Breazeal <donb@codesourcery.com>
3616 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3617 instead of checking whether the target board is remote and
3618 use spawn_wait_for_attach instead of exec/sleep.
3619 * gdb.base/attach-twice.exp: Likewise.
3621 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3623 * gdb.ada/var_arr_attrs: New testcase.
3625 2015-01-14 Pedro Alves <palves@redhat.com>
3626 Joel Brobecker <brobecker@adacore.com>
3629 * gdb.base/bp-cmds-execution-x-script.c: New file.
3630 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3631 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3633 2015-01-14 Pedro Alves <palves@redhat.com>
3636 * gdb.base/batch-preserve-term-settings.c: New file.
3637 * gdb.base/batch-preserve-term-settings.exp: New file.
3639 2015-01-13 Doug Evans <dje@google.com>
3641 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3644 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3646 * Makefile.in (clean mostlyclean): Do not delete *.py.
3648 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3650 * gdb.python/py-lookup-type.exp: New file.
3652 2015-01-12 Pedro Alves <palves@redhat.com>
3654 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3655 restore GDBFLAGS before returning.
3657 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3659 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3660 is_amd64_regs_target and is_x86_like_target.
3662 2015-01-11 Doug Evans <xdje42@gmail.com>
3664 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3665 is given without an explicit form.
3666 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3668 * gdb.dwarf/corrupt.exp: Ditto.
3669 * gdb.dwarf2/enum-type.exp: Ditto.
3670 * gdb.trace/entry-values.exp: Ditto.
3671 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3673 2015-01-11 Doug Evans <xdje42@gmail.com>
3676 * gdb.base/maint.exp: Remove references to "maint demangle".
3677 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3678 Add tests for explicitly specifying language to demangle.
3679 * gdb.dlang/demangle.exp: Ditto.
3681 2015-01-09 Pedro Alves <palves@redhat.com>
3683 * gdb.threads/non-stop-fair-events.c: New file.
3684 * gdb.threads/non-stop-fair-events.exp: New file.
3686 2015-01-09 Pedro Alves <palves@redhat.com>
3688 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3689 the global scope. Set a breakpoint after all threads are started
3690 rather than stepping over two source lines. Expect the prompt.
3691 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3694 (main): Use threads_started_barrier to wait for all threads to
3695 start. Main thread no longer calls thread_function. Exit after
3697 (loop): New function.
3698 (thread_function): Wait on threads_started_barrier barrier. Call
3699 'loop' at each iteration.
3700 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3701 threads have started, instead of hardcoding number of "next"
3702 steps. Use an access watchpoint instead of a write watchpoint.
3704 2015-01-09 Pedro Alves <palves@redhat.com>
3706 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3707 (thread_func): Wait on barrier.
3708 (main): Wait for all threads to start before stopping GDB.
3709 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3711 (thread1_func, thread2_func): Wait on barrier.
3712 (main): Wait for all threads to start before stopping GDB.
3713 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3715 (thread1_func, thread2_func): Wait on barrier.
3716 (main): Wait for all threads to start before stopping GDB.
3718 2015-01-09 Pedro Alves <palves@redhat.com>
3720 * gdb.threads/attach-many-short-lived-threads.c: New file.
3721 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3723 2014-01-09 Pedro Alves <palves@redhat.com>
3725 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3726 instead of to thread 2.
3727 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3728 Add barrier around each pthread_create call instead of around all
3730 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3731 Set a break on thread_function and have the child threads hit it
3734 2015-01-09 Pedro Alves <palves@redhat.com>
3736 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3737 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3739 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3740 checking whether the target board is remote.
3741 * gdb.multi/multi-attach.exp: Likewise.
3742 * gdb.python/py-sync-interp.exp: Likewise.
3743 * gdb.server/ext-attach.exp: Likewise.
3744 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3745 tests that need to attach, instead of checking whether the target
3746 board is remote at the top of the file.
3748 2015-01-08 Yao Qi <yao@codesourcery.com>
3750 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3752 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3754 Fix testcase compilation.
3755 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3757 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3759 * gdb.python/py-type.exp: Add a couple test about empty
3760 array creation, and negative-length array creation.
3762 2015-01-02 Doug Evans <xdje42@gmail.com>
3764 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3766 2015-01-02 Doug Evans <dje@google.com>
3768 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3770 2014-12-29 Yao Qi <yao@codesourcery.com>
3772 * gdb.trace/entry-values.exp: Update comments. Rename variable
3773 bar_call_foo to returned_from_foo.
3775 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3778 * gdb.linespec/break-asm-file.c: New file.
3779 * gdb.linespec/break-asm-file.exp: New file.
3780 * gdb.linespec/break-asm-file0.s: New file.
3781 * gdb.linespec/break-asm-file1.s: New file.
3783 2014-12-18 Nigel Stephens <nigel@mips.com>
3784 Maciej W. Rozycki <macro@codesourcery.com>
3786 * gdb.base/float.exp: Handle the new output from "info float" on
3789 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3791 Fix MinGW compilation.
3792 * gdb.compile/compile-ops.exp: Update untested message if
3793 !skip_compile_feature_tests.
3794 * gdb.compile/compile-setjmp.exp: Likewise.
3795 * gdb.compile/compile-tls.exp: Likewise.
3796 * gdb.compile/compile.exp: Likewise.
3797 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3798 supported on this host".
3800 2014-12-16 Doug Evans <xdje42@gmail.com>
3802 * boards/stabs.exp: New file.
3804 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3806 * gdb.base/completion.exp: Adjust to format changes of "maint
3807 print user-registers".
3809 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3812 * gdb.arch/aarch64-fp.c: New file.
3813 * gdb.arch/aarch64-fp.exp: New file.
3815 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3817 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3818 r210637, r210913, r211666, r215400, r215817).
3820 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3821 * dg-extract-results.py: New file.
3822 * dg-extract-results.sh: Use it if the environment seems
3825 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3827 * dg-extract-results.py (parse_run): Handle warnings that
3828 are printed before a test harness is run.
3830 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3832 * dg-extract-results.py (Named): Remove __cmp__ method.
3833 (output_variation): Use a key to sort variation.harnesses.
3835 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3837 * dg-extract-results.py: For Python 3, force sys.stdout to
3838 handle surrogate escape sequences.
3839 (safe_open): New function.
3840 (output_segment, main): Use it.
3842 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3844 * dg-extract-results.py (Prog.result_re): Include options
3847 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3849 * dg-extract-results.py (output_variation): Always sort if
3852 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3854 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3855 as long as we get pagination notifications.
3857 2014-12-15 Jason Merrill <jason@redhat.com>
3859 * Makefile.in (check-gdb.%): Restore.
3860 * README: Mention it.
3862 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3864 * gdb.ada/str_uninit: New testcase.
3866 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3869 * gdb.base/vla-stub-define.c: New file.
3870 * gdb.base/vla-stub.c: New file.
3871 * gdb.base/vla-stub.exp: New file.
3873 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3874 Jan Kratochvil <jan.kratochvil@redhat.com>
3875 Tom Tromey <tromey@redhat.com>
3877 * configure.ac: Add gdb.compile/.
3878 * configure: Regenerate.
3879 * gdb.compile/Makefile.in: New file.
3880 * gdb.compile/compile-ops.exp: New file.
3881 * gdb.compile/compile-ops.c: New file.
3882 * gdb.compile/compile-tls.c: New file.
3883 * gdb.compile/compile-tls.exp: New file.
3884 * gdb.compile/compile-constvar.S: New file.
3885 * gdb.compile/compile-constvar.c: New file.
3886 * gdb.compile/compile-mod.c: New file.
3887 * gdb.compile/compile-nodebug.c: New file.
3888 * gdb.compile/compile-setjmp-mod.c: New file.
3889 * gdb.compile/compile-setjmp.c: New file.
3890 * gdb.compile/compile-setjmp.exp: New file.
3891 * gdb.compile/compile-shlib.c: New file.
3892 * gdb.compile/compile.c: New file.
3893 * gdb.compile/compile.exp: New file.
3894 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3896 2014-12-12 Tom Tromey <tromey@redhat.com>
3898 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3899 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3901 2014-12-12 Doug Evans <dje@google.com>
3903 * lib/gdb-python.exp (get_python_valueof): New function.
3904 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3906 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3908 * gdb.base/completion.exp: Add test for completion of "info
3911 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3913 * gdb.base/func-ptrs.c: New file.
3914 * gdb.base/func-ptrs.exp: New file.
3916 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3918 PR breakpoints/17012
3919 * gdb.base/dprintf-detach.c: New file.
3920 * gdb.base/dprintf-detach.exp: New file.
3922 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3924 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3925 * lib/gdb.exp (target_is_gdbserver): New procedure.
3927 2014-12-08 Doug Evans <dje@google.com>
3929 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3931 2014-12-05 Yao Qi <yao@codesourcery.com>
3933 * gdb.guile/scm-error.exp: Remove the third argument to
3934 gdb_remote_download.
3935 * gdb.guile/scm-frame-args.exp: Likewise.
3936 * gdb.guile/scm-section-script.exp: Likewise.
3938 2014-12-05 Yao Qi <yao@codesourcery.com>
3940 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3942 2014-12-04 Doug Evans <dje@google.com>
3944 * gdb.python/py-objfile.exp: Add tests for
3945 objfile.add_separate_debug_file.
3947 2014-12-04 Doug Evans <dje@google.com>
3949 * lib/gdb.exp (get_build_id): New function.
3950 (build_id_debug_filename_get): Rewrite to use it.
3951 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3953 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3955 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3956 `method(long)', not just 0x0.
3957 * gdb.cp/nsalias.exp: Align code labels to 4.
3958 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3959 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3960 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3961 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3962 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3963 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3965 2014-12-02 Doug Evans <dje@google.com>
3968 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3969 * gdb.cp/anon-ns2.cc: ... here. New file.
3970 * gdb.cp/anon-ns.exp: Update.
3972 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3974 * gdb.python/py-events.py (inferior_call_handler): New.
3975 (register_changed_handler, memory_changed_handler): New.
3976 (test_events.invoke): Register new handlers.
3977 * gdb.python/py-events.exp: Add tests for inferior call,
3978 memory_changed and register_changed events.
3980 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3982 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3983 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3984 if the linker doesn't understand this.
3986 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3988 * gdb.python/python.exp: Change expected reply to help().
3990 2014-12-01 Yao Qi <yao@codesourcery.com>
3992 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3993 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3994 * configure: Re-generated.
3996 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3998 * gdb.cp/chained-calls.cc: New file.
3999 * gdb.cp/chained-calls.exp: New file.
4000 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4002 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4004 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4005 * gdb.dwarf2/symtab-producer.exp: Same.
4006 * gdb.gdb/python-interrupts.exp: Same.
4007 * gdb.gdb/python-selftest.exp: Same.
4008 * gdb.python/py-linetable.exp: Same.
4009 * gdb.python/py-type.exp: Same.
4010 * gdb.python/py-value-cc.exp: Same.
4011 * gdb.python/py-value.exp: Same.
4013 2014-11-28 Yao Qi <yao@codesourcery.com>
4015 * gdb.base/break-probes.exp: Match library name prefixed with
4018 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4020 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4021 test expected output. Add parentheses for the call to print.
4022 Remove L suffix from integers.
4024 2014-11-26 Doug Evans <dje@google.com>
4026 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4028 2014-11-22 Yao Qi <yao@codesourcery.com>
4030 * gdb.trace/entry-values.c: Remove asms.
4031 (foo): Add foo_label.
4032 (bar): Add bar_label.
4033 * gdb.trace/entry-values.exp: Remove code computing foo's
4034 length and bar's length.
4035 (Dwarf::assemble): Invoke function_range for bar and use
4036 MACRO_AT_func for foo.
4038 2014-11-22 Yao Qi <yao@codesourcery.com>
4040 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4041 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4042 Use .Lgcc43_procstart instead of gcc43.
4044 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4046 * gdb.ada/n_arr_bound: New testcase.
4048 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4050 PR breakpoints/10737
4051 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4052 test_catch_syscall_multi_arch.
4053 (test_catch_syscall_multi_arch): New function.
4055 2014-11-20 Doug Evans <xdje42@gmail.com>
4057 * gdb.base/maint.exp: Update expected output.
4059 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4061 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4062 4-byte instruction on S390.
4064 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4066 * gdb.ada/arr_arr: New testcase.
4068 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4070 * gdb.ada/pkd_arr_elem: New Testcase.
4072 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4074 * gdb.reverse/break-precsave: Expect completion message for
4076 * gdb.reverse/consecutive-precsave.exp: Likewise.
4077 * gdb.reverse/finish-precsave.exp: Likewise.
4078 * gdb.reverse/i386-precsave.exp: Likewise.
4079 * gdb.reverse/machinestate-precsave.exp: Likewise.
4080 * gdb.reverse/sigall-precsave.exp: Likewise.
4081 * gdb.reverse/solib-precsave.exp: Likewise.
4082 * gdb.reverse/step-precsave.exp: Likewise.
4083 * gdb.reverse/until-precsave.exp: Likewise.
4084 * gdb.reverse/watch-precsave.exp: Likewise.
4086 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4088 * gdb.base/bp-permanent.c: Include unistd.h.
4089 * gdb.python/py-framefilter-mi.c (main): Add return type.
4090 * gdb.python/py-framefilter.c (main): Likewise.
4091 * gdb.trace/actions-changed.c (main): Likewise.
4093 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4095 * gdb.mi/until.c: Add eye-catchers.
4096 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4099 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4101 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4102 function header variants in break1.c.
4103 * gdb.base/ena-dis-br.exp: Likewise.
4104 * gdb.base/hbreak2.exp: Likewise.
4105 * gdb.reverse/until-precsave.exp: Drop references to removed
4106 non-prototype function header variants in ur1.c.
4107 * gdb.reverse/until-reverse.exp: Likewise.
4109 2014-11-17 Petr Machata <pmachata@redhat.com>
4111 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4112 ${_cu_offset_size} bytes abbrev offset.
4114 2014-11-15 Doug Evans <xdje42@gmail.com>
4117 * gdb.base/line-symtabs.exp: New file.
4118 * gdb.base/line-symtabs.c: New file.
4119 * gdb.base/line-symtabs.h: New file.
4121 2014-11-14 Yao Qi <yao@codesourcery.com>
4123 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4124 (func): Add label func_label.
4125 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4126 Replace low_pc and high_pc with MACRO_AT_range.
4127 Replace name, low_pc and high_pc with MACRO_AT_func.
4129 2014-11-14 Yao Qi <yao@codesourcery.com>
4131 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4132 Replace name, low_pc and high_pc with MACRO_AT_func.
4134 2014-11-14 Yao Qi <yao@codesourcery.com>
4136 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4137 produce debug information.
4138 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4140 2014-11-14 Yao Qi <yao@codesourcery.com>
4142 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4143 object and get function length.
4144 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4146 (top-level): Replace gdb_compile and clean_restart with
4147 prepare_for_testing.
4148 * gdb.dwarf2/main.c (main): Add label main_label.
4150 2014-11-14 Yao Qi <yao@codesourcery.com>
4152 * lib/dwarf.exp (function_range): New procedure.
4153 (Dwarf::_handle_macro_at_func): New procedure.
4154 (Dwarf::_handle_macro_at_range): New procedure.
4155 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4157 2014-11-14 Yao Qi <yao@codesourcery.com>
4159 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4160 (_handle_attribute): New procedure.
4162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4164 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4165 * gdb.base/call-sc.c (zed): Likewise.
4166 * gdb.base/checkpoint.c (main): Likewise.
4167 * gdb.base/dump.c (main): Likewise.
4168 * gdb.base/gcore.c (main): Likewise.
4169 * gdb.base/huge.c (main): Likewise.
4170 * gdb.base/multi-forks.c (main): Likewise.
4171 * gdb.base/pr10179-a.c (main): Likewise.
4172 * gdb.base/savedregs.c (main): Likewise.
4173 * gdb.base/sigaltstack.c (main): Likewise.
4174 * gdb.base/siginfo.c (main): Likewise.
4175 * gdb.base/structs.c (zed): Likewise.
4176 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4177 * gdb.mi/mi-syn-frame.c (main): Likewise.
4178 * gdb.mi/until.c (foo, main): Likewise.
4179 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4180 * gdb.base/solib-weak.c (foo): Declare.
4181 * gdb.base/attach-twice.c: Include stdio.h.
4182 * gdb.base/weaklib1.c: Likewise.
4183 * gdb.base/weaklib2.c: Likewise.
4184 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4185 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4187 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4188 * gdb.mi/mi-exit-code.c: Likewise.
4189 * gdb.base/break-interp-lib.c: Include string.h.
4190 * gdb.base/coremaker.c: Likewise.
4191 * gdb.base/testenv.c: Likewise.
4192 * gdb.python/py-finish-breakpoint.c: Likewise.
4193 * gdb.base/inferior-died.c: Include sys/wait.h.
4194 * gdb.base/fileio.c: Include time.h.
4195 * gdb.base/async-shell.c: Include unistd.h.
4196 * gdb.base/dprintf-non-stop.c: Likewise.
4197 * gdb.base/info-os.c: Likewise.
4198 * gdb.mi/mi-console.c: Likewise.
4199 * gdb.mi/watch-nonstop.c: Likewise.
4200 * gdb.python/py-events.c: Likewise.
4201 * gdb.base/async.c (baz): Move up before its invocation.
4202 * gdb.base/code_elim2.c (my_global_func): Likewise.
4203 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4204 * gdb.base/advance.c (func2): Likewise.
4206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4210 * gdb.base/annota3.c: Likewise.
4211 * gdb.base/async.c: Likewise.
4212 * gdb.base/average.c: Likewise.
4213 * gdb.base/call-ar-st.c: Likewise.
4214 * gdb.base/call-rt-st.c: Likewise.
4215 * gdb.base/call-sc.c: Likewise.
4216 * gdb.base/call-strs.c: Likewise.
4217 * gdb.base/ending-run.c: Likewise.
4218 * gdb.base/execd-prog.c: Likewise.
4219 * gdb.base/exprs.c: Likewise.
4220 * gdb.base/foll-exec.c: Likewise.
4221 * gdb.base/foll-fork.c: Likewise.
4222 * gdb.base/foll-vfork.c: Likewise.
4223 * gdb.base/funcargs.c: Likewise.
4224 * gdb.base/gcore.c: Likewise.
4225 * gdb.base/jump.c: Likewise.
4226 * gdb.base/langs0.c: Likewise.
4227 * gdb.base/langs1.c: Likewise.
4228 * gdb.base/langs2.c: Likewise.
4229 * gdb.base/mips_pro.c: Likewise.
4230 * gdb.base/nodebug.c: Likewise.
4231 * gdb.base/opaque0.c: Likewise.
4232 * gdb.base/opaque1.c: Likewise.
4233 * gdb.base/recurse.c: Likewise.
4234 * gdb.base/run.c: Likewise.
4235 * gdb.base/scope0.c: Likewise.
4236 * gdb.base/scope1.c: Likewise.
4237 * gdb.base/setshow.c: Likewise.
4238 * gdb.base/setvar.c: Likewise.
4239 * gdb.base/shmain.c: Likewise.
4240 * gdb.base/shr1.c: Likewise.
4241 * gdb.base/shr2.c: Likewise.
4242 * gdb.base/sigall.c: Likewise.
4243 * gdb.base/signals.c: Likewise.
4244 * gdb.base/so-indr-cl.c: Likewise.
4245 * gdb.base/solib2.c: Likewise.
4246 * gdb.base/structs.c: Likewise.
4247 * gdb.base/sum.c: Likewise.
4248 * gdb.base/vforked-prog.c: Likewise.
4249 * gdb.base/watchpoint.c: Likewise.
4250 * gdb.reverse/shr2.c: Likewise.
4251 * gdb.reverse/until-reverse.c: Likewise.
4252 * gdb.reverse/ur1.c: Likewise.
4253 * gdb.reverse/watch-reverse.c: Likewise.
4255 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4257 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4259 * gdb.base/sepdebug.exp: Drop references to removed code.
4261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4263 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4264 variant. Preserve original line numbering.
4265 * gdb.base/list1.c: Likewise.
4267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4269 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4271 * gdb.base/break1.c: Likewise.
4272 * gdb.base/break.exp: Drop references to removed code.
4274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4276 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4281 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4283 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4285 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4286 logic into perform_all_tests() and invoke it with and without
4287 function header prototypes.
4288 (do_function_calls): Remove conditional XFAIL for PR 5318.
4289 (rerun_and_prepare): Remove duplicate code.
4290 (perform_all_tests): New. Main logic moved here.
4292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4294 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4295 code guarded by #ifdef NO_PROTOTYPES.
4296 (t_double_many_args): Likewise.
4297 (DEF_FUNC_MANY_ARGS_1): Likewise.
4298 (DEF_FUNC_VALUES_1): Likewise.
4299 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4300 guarded by #ifdef PROTOTYPES.
4302 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4304 * gdb.mi/mi-console.c: Add eye-catcher.
4305 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4306 instead of literal line number.
4308 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4310 * gdb.base/shr2.c: Add eye-catcher.
4311 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4314 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4316 * gdb.base/jump.c: Add eye-catchers.
4317 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4320 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4322 * gdb.base/execd-prog.c: Add eye-catchers.
4323 * gdb.base/foll-exec.c: Likewise.
4324 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4327 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4329 * gdb.base/ending-run.c: Add eye-catchers.
4330 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4331 literal line numbers.
4333 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335 * gdb.base/call-rt-st.c: Add eye-catchers.
4336 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4337 literal line numbers.
4339 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341 * gdb.base/call-ar-st.c: Add eye-catchers.
4342 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4343 literal line numbers.
4345 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4347 * gdb.base/average.c: Add eye-catchers.
4348 * gdb.base/sum.c: Likewise.
4349 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4350 regexps dynamically.
4352 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * gdb.base/solib1.c: Add eye-catchers.
4355 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4356 literal line numbers.
4358 2014-11-12 Pedro Alves <palves@redhat.com>
4360 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4363 2014-11-12 Pedro Alves <palves@redhat.com>
4365 * gdb.arch/i386-bp_permanent.c: New file.
4366 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4367 (srcfile): Set to i386-bp_permanent.c.
4368 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4369 that stepi does not execute the 'leave' instruction, instead of
4370 testing it does execute.
4371 * gdb.base/bp-permanent.c: New file.
4372 * gdb.base/bp-permanent.exp: New file.
4374 2014-11-10 Doug Evans <xdje42@gmail.com>
4377 * gdb.base/symtab-search-order.exp: New file.
4378 * gdb.base/symtab-search-order.c: New file.
4379 * gdb.base/symtab-search-order-1.c: New file.
4380 * gdb.base/symtab-search-order-shlib-1.c: New file.
4382 2014-11-07 Pedro Alves <palves@redhat.com>
4385 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4388 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4391 * gdb.cp/pr17494.cc: New file.
4392 * gdb.cp/pr17494.exp: New file.
4394 2014-11-02 Yao Qi <yao@codesourcery.com>
4396 * gdb.python/python.exp: Get working directory and match the
4397 output of "set extended-prompt \\w " with it.
4399 2014-10-30 Doug Evans <dje@google.com>
4401 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4403 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4406 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4408 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4409 * gdb.base/realname-expand.exp: Likewise.
4410 * gdb.linespec/macro-relative.exp: Likewise.
4412 2014-10-29 Pedro Alves <palves@redhat.com>
4415 * gdb.threads/schedlock.c (some_function): New function.
4416 (call_function): New global.
4417 (MAYBE_CALL_SOME_FUNCTION): New macro.
4418 (thread_function): Call it.
4419 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4420 and use it instead of a global counter. Adjust all callers.
4421 (get_current_thread): Use "find current thread" for test message
4422 here rather than having all callers pass down the same string.
4423 (goto_loop): New procedure, factored out from ...
4424 (my_continue): ... this.
4425 (step_ten_loops): Change parameter from test message to command to
4427 (list_count): Delete global.
4428 (check_result): New procedure, factored out from duplicate top
4430 (continue tests): Wrap in with_test_prefix.
4431 (test_step): New procedure, factored out from duplicate top level
4433 (top level): Test "step" in combination with all scheduler-locking
4434 modes. Test "next" in combination with all scheduler-locking
4435 modes, and in combination with stepping over a function call or
4437 * gdb.threads/next-bp-other-thread.c: New file.
4438 * gdb.threads/next-bp-other-thread.exp: New file.
4440 2014-10-29 Pedro Alves <palves@redhat.com>
4443 * gdb.python/python.exp: Test a multi-line command that spawns
4445 * gdb.base/multi-line-starts-subshell.exp: New file.
4447 2014-10-29 Yao Qi <yao@codesourcery.com>
4449 * gdb.base/fileio.exp: Make directories on host.
4451 2014-10-29 Yao Qi <yao@codesourcery.com>
4453 * gdb.base/fileio.c (test_write): Close the file.
4455 2014-10-28 Pedro Alves <palves@redhat.com>
4458 * gdb.base/sigstep.c (no_handler): New global.
4459 (main): If 'no_handler is true, set the signal handlers to
4461 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4462 with_sw_watch and no_handler parameters. Handle them.
4463 (top level) <stepping over handler when stopped at a breakpoint
4464 test>: Add a test axis for testing with a software watchpoint, and
4465 another for testing with the signal handler set to SIG_IGN.
4466 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4467 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4469 2014-10-28 Pedro Alves <palves@redhat.com>
4472 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4473 * gdb.base/sigstep.exp (other_handler_location): New global.
4474 (advance): Support stepping into the signal handler, and running
4475 commands while in the handler.
4476 (in_handler_map): New global.
4477 (top level): In the advance test, add combinations for getting
4478 into the handler with stepping commands, and for running commands
4479 in the handler. Add comment descripting the advancei tests.
4481 2014-10-28 Pedro Alves <palves@redhat.com>
4483 * gdb.base/sigstep.exp: Use build_executable instead of
4484 prepare_for_testing.
4485 (top level): Move code that starts GDB, runs to main and creates a
4487 (restart): ... this new procedure.
4488 (top level): Move backtrace from signal handler test to ...
4489 (validate_backtrace): ... this new procedure.
4490 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4491 with_test_prefix. Always restart GDB.
4492 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4493 with_test_prefix. Always restart GDB. No need to delete
4494 breakpoints after the test.
4495 (test_skip_handler): Remove prefix parameter.
4496 (skip_over_handler, breakpoint_to_handler)
4497 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4498 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4499 restart GDB. No need to delete breakpoints after the test.
4500 (top level): Use foreach to call the test procedures with
4503 2014-10-28 Pedro Alves <palves@redhat.com>
4505 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4506 instead of GNATS numbers.
4507 * gdb.base/sigbpt.exp: Likewise.
4508 * gdb.base/siginfo.exp: Likewise.
4509 * gdb.base/sigstep.exp: Likewise.
4511 2014-10-27 Pedro Alves <palves@redhat.com>
4513 * gdb.base/sigstep.c (dummy): New global.
4514 (main): Issue a couple writes to the new global.
4515 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4517 (skip_over_handler): Use test_skip_handler.
4518 (top level): Call skip_over_handler for stepi and nexti too.
4519 (breakpoint_over_handler): Use test_skip_handler.
4520 (top level): Call breakpoint_over_handler for stepi and nexti too.
4522 2014-10-27 Yao Qi <yao@codesourcery.com>
4524 * gdb.trace/tfile.c (adjust_function_address)
4525 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4526 function descriptor.
4528 2014-10-24 Don Breazeal <donb@codesourcery.com>
4530 * gdb.base/foll-fork.exp (test_follow_fork,
4531 catch_fork_child_follow): Check for updated fork messages emitted
4533 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4534 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4535 vfork_and_exec_child_follow_through_step): Check for updated vfork
4536 messages emitted from infrun.c.
4538 2014-10-24 Pedro Alves <palves@redhat.com>
4540 * gdb.base/corefile.exp: Remove references to ultrix.
4541 * gdb.base/interrupt.exp: Likewise.
4542 * gdb.base/whatis.exp: Likewise.
4543 * gdb.gdb/selftest.exp: Likewise.
4544 * gdb.threads/manythreads.exp: Likewise.
4545 * gdb.threads/print-threads.exp: Likewise.
4546 * gdb.threads/pthreads.exp:: Likewise.
4547 * gdb.threads/schedlock.exp: Likewise.
4549 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4551 * gdb.cp/non-trivial-retval.cc: Add a test case.
4552 * gdb.cp/non-trivial-retval.exp: Add a test.
4554 2014-10-20 Yao Qi <yao@codesourcery.com>
4556 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4557 * gdb.python/py-objfile-script-gdb.py: New file.
4558 * gdb.python/py-objfile-script.exp: Update reference to
4559 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4560 of remote_download. Remove the dest file.
4562 2014-10-20 Yao Qi <yao@codesourcery.com>
4564 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4565 * gdb.base/step-line.exp: Likewise.
4566 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4567 * gdb.dwarf2/dw2-basic.exp: Likewise.
4568 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4569 * gdb.dwarf2/dw2-filename.exp: Likewise.
4570 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4571 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4572 * gdb.dwarf2/dw2-producer.exp: Likewise.
4573 * gdb.dwarf2/mac-fileno.exp: Likewise.
4574 * gdb.python/py-frame-args.exp: Likewise.
4575 * gdb.python/py-framefilter.exp: Likewise.
4576 * gdb.python/py-mi.exp: Likewise.
4577 * gdb.python/py-objfile-script.exp: Likewise
4578 * gdb.python/py-pp-integral.exp: Likewise.
4579 * gdb.python/py-pp-re-notag.exp: Likewise.
4580 * gdb.python/py-prettyprint.exp: Likewise.
4581 * gdb.python/py-section-script.exp: Likewise.
4582 * gdb.python/py-typeprint.exp: Likewise.
4583 * gdb.python/py-xmethods.exp: Likewise.
4584 * gdb.stabs/weird.exp: Likewise.
4585 * gdb.xml/tdesc-regs.exp: Likewise.
4587 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4589 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4590 (out_cu): Use addr_len for the size of addresses.
4591 (out_line): Likewise. Size DW_LNE_set_address instruction
4592 according to addr_len.
4593 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4594 (FUNC): Add START_INSNS to definition.
4596 2014-10-18 Yao Qi <yao@codesourcery.com>
4598 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4599 gdb_has_argv0 return true.
4600 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4601 check [target_info exists noargs], check [gdb_has_argv0]
4603 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4604 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4607 2014-10-17 Doug Evans <dje@google.com>
4609 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4611 * gdb.python/py-events.py: Add clear_objfiles event.
4613 2014-10-17 Doug Evans <dje@google.com>
4615 * gdb.python/py-objfile.exp: Test progspace attribute.
4617 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4619 * gdb.guile/scm-breakpoint.exp: Do not assume any
4620 directory separators when matching source file paths.
4621 * gdb.python/py-breakpoint.exp: Likewise.
4622 * gdb.reverse/break-precsave.exp: Likewise.
4623 * gdb.reverse/break-reverse.exp: Likewise.
4624 * gdb.reverse/consecutive-precsave.exp: Likewise.
4625 * gdb.reverse/finish-precsave.exp: Likewise.
4626 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4627 * gdb.reverse/finish-reverse.exp: Likewise.
4628 * gdb.reverse/i386-precsave.exp: Likewise.
4629 * gdb.reverse/i387-env-reverse.exp: Likewise.
4630 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4631 * gdb.reverse/machinestate-precsave.exp: Likewise.
4632 * gdb.reverse/machinestate.exp: Likewise.
4633 * gdb.reverse/sigall-precsave.exp: Likewise.
4634 * gdb.reverse/solib-precsave.exp: Likewise.
4635 * gdb.reverse/step-precsave.exp: Likewise.
4636 * gdb.reverse/until-precsave.exp: Likewise.
4637 * gdb.reverse/watch-precsave.exp: Likewise.
4638 * gdb.reverse/watch-reverse.exp: Likewise.
4640 2014-10-17 Yao Qi <yao@codesourcery.com>
4642 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4643 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4645 2014-10-17 Pedro Alves <palves@redhat.com>
4648 * gdb.base/bg-execution-repeat.c: New file.
4649 * gdb.base/bg-execution-repeat.exp: New file.
4651 2014-10-17 Pedro Alves <palves@redhat.com>
4654 * gdb.base/continue-all-already-running.c: New file.
4655 * gdb.base/continue-all-already-running.exp: New file.
4657 2014-10-17 Pedro Alves <palves@redhat.com>
4660 * gdb.base/annota-input-while-running.c: New file.
4661 * gdb.base/annota-input-while-running.exp: New file.
4663 2014-10-17 Pedro Alves <palves@redhat.com>
4665 * gdb.base/callfuncs.exp: emove references to osf.
4666 * gdb.base/sigall.exp: Likewise.
4667 * gdb.gdb/selftest.exp: Likewise.
4668 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4669 * gdb.mi/non-stop.c: Likewise.
4670 * gdb.mi/pthreads.c: Likewise.
4671 * gdb.reverse/sigall-precsave.exp: Likewise.
4672 * gdb.reverse/sigall-reverse.exp: Likewise.
4673 * gdb.threads/pthreads.c: Likewise.
4674 * gdb.threads/pthreads.exp: Likewise.
4676 2014-10-17 Yao Qi <yao@codesourcery.com>
4678 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4679 check 'target_info exists noargs'.
4680 (test_command_prompt_position): Likewise.
4681 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4683 (progvar_simple_while_test): Likewise.
4684 (progvar_complex_if_while_test): Likewise.
4685 (if_while_breakpoint_command_test): Likewise.
4686 (infrun_breakpoint_command_test): Likewise.
4687 (breakpoint_command_test): Likewise.
4688 (watchpoint_command_test): Likewise.
4689 (bp_deleted_in_command_test): Likewise.
4690 (temporary_breakpoint_commands): Likewise.
4692 2014-10-16 Yao Qi <yao@codesourcery.com>
4694 * gdb.base/remotetimeout.exp: Remove noargs checking.
4696 2014-10-15 Pedro Alves <palves@redhat.com>
4699 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4700 * gdb.base/breakpoint-in-ro-region.exp
4701 (probe_target_hardware_step): New procedure.
4702 (top level): Probe hardware stepping and hardware breakpoint
4703 support. Test stepping through a read-only region, with both
4704 "breakpoint auto-hw" on and off and both "always-inserted" on and
4707 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4709 * gdb.dlang/demangle.exp: Update for demangling changes.
4711 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4713 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4714 * gdb.cp/non-trivial-retval.exp: Add new tests.
4716 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4720 * gdb.cp/non-trivial-retval.cc: New file.
4721 * gdb.cp/non-trivial-retval.exp: New file.
4723 2014-10-15 Yao Qi <yao@codesourcery.com>
4725 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4728 2014-10-15 Yao Qi <yao@codesourcery.com>
4730 * gdb.python/py-symbol.exp: Match file base name if host is
4731 remote, otherwise match file name with dir name.
4732 * gdb.python/py-symtab.exp: Likewise.
4733 * gdb.python/python.exp: Likewise.
4735 2014-10-15 Yao Qi <yao@codesourcery.com>
4737 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4739 * gdb.python/py-symtab.exp: Likewise.
4740 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4743 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4745 * gdb.ada/addr_arith: New testcase.
4747 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4749 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4750 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4751 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4752 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4754 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4756 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4757 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4758 * gdb.arch/stap-eval-lang-ada.exp: New file.
4760 2014-10-14 Yao Qi <yao@codesourcery.com>
4762 * gdb.mi/mi-var-child.c (nothing1): New function.
4763 (nothing2): New function.
4764 (do_children_tests): Set function pointers by nothing1 and
4766 * gdb.mi/mi-var-child.exp: Step over new added statements.
4767 Update test to match the new output.
4768 * gdb.mi/var-cmd.c (nothing1): New function.
4769 (nothing2): New function.
4770 (do_children_tests): Set function pointers by nothing1 and
4772 * gdb.mi/mi-var-display.exp: Update test to match output.
4773 Step to the line specified by $line_dct_nothing.
4774 Increase the number of lines to step.
4776 2014-10-14 Yao Qi <yao@codesourcery.com>
4778 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4780 * gdb.mi/mi2-var-child.exp: Likewise.
4782 2014-10-13 Doug Evans <dje@google.com>
4784 * gdb.python/py-objfile.exp: Change name of file name test.
4786 2014-10-13 Doug Evans <dje@google.com>
4788 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4789 from the start of the CU.
4791 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4792 Yao Qi <yao@codesourcery.com>
4794 Fix "save breakpoints" for "catch" command.
4795 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4796 Remove -nonewline. Match also the added "main" line.
4798 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4800 Fix "save breakpoints" for "disable $bpnum" command.
4801 * gdb.base/save-bp.c (main): Add label.
4802 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4804 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4806 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4808 2014-10-11 Yao Qi <yao@codesourcery.com>
4810 * gdb.server/server-kill.exp: Execute command
4811 "set remote trace-status-packet on" before "tstatus".
4813 2014-10-11 Yao Qi <yao@codesourcery.com>
4815 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4816 (main): Call getppid.
4817 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4818 and continue to it. Read variable "server_pid".
4820 2014-10-11 Yao Qi <yao@codesourcery.com>
4822 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4824 2014-10-11 Yao Qi <yao@codesourcery.com>
4826 * gdb.threads/thread-find.exp: Don't execute command
4828 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4829 * gdb.threads/linux-dp.exp: Don't check the condition
4830 $threads_created equals to zero.
4832 2014-10-10 Pedro Alves <palves@redhat.com>
4834 * gdb.base/bigcore.exp: Remove references to IRIX.
4835 * gdb.base/funcargs.exp: Likewise.
4836 * gdb.base/interrupt.exp: Likewise.
4837 * gdb.base/mips_pro.exp: Likewise.
4838 * gdb.base/nodebug.exp: Likewise.
4839 * gdb.base/setvar.exp: Likewise.
4840 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4842 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4843 Pedro Alves <palves@redhat.com>
4846 * gdb.base/vdso-warning.c: New file.
4847 * gdb.base/vdso-warning.exp: New file.
4849 2014-10-02 Doug Evans <dje@google.com>
4851 * gdb.base/structs.c (main): Don't run forever.
4853 2014-10-02 Pedro Alves <palves@redhat.com>
4855 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4856 (top level) <stop threads 1, stop threads 2>: Use it.
4858 2014-10-02 Pedro Alves <palves@redhat.com>
4860 * gdb.threads/break-while-running.exp (test): Add new
4861 'update_thread_list' argument. Skip "info threads" if false.
4862 (top level): Add new 'update_thread_list' axis.
4864 2014-10-02 Pedro Alves <palves@redhat.com>
4866 PR breakpoints/17431
4867 * gdb.base/execl-update-breakpoints.c: New file.
4868 * gdb.base/execl-update-breakpoints.exp: New file.
4870 2014-10-01 Pedro Alves <palves@redhat.com>
4872 * gdb.base/breakpoint-in-ro-region.c: New file.
4873 * gdb.base/breakpoint-in-ro-region.exp: New file.
4875 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4877 * gdb.mi/mi-exit-code.exp: New file.
4878 * gdb.mi/mi-exit-code.c: New file.
4880 2014-09-30 Yao Qi <yao@codesourcery.com>
4882 * lib/prelink-support.exp (build_executable_own_libs): Error if
4883 the target isn't native.
4885 2014-09-30 Yao Qi <yao@codesourcery.com>
4887 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4890 2014-09-22 Pedro Alves <palves@redhat.com>
4892 * gdb.threads/break-while-running.exp: New file.
4893 * gdb.threads/break-while-running.c: New file.
4895 2014-09-19 Yao Qi <yao@codesourcery.com>
4897 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4898 Invoke test. Restart GDB with --readnow and invoke test again.
4900 2014-09-19 Yao Qi <yao@codesourcery.com>
4902 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4903 proc set_breakpoint_on_gcd_function. Invoke
4904 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4905 invoke set_breakpoint_on_gcd_function again.
4907 2014-09-18 Doug Evans <dje@google.com>
4909 * gdb.dwarf2/symtab-producer.exp: New file.
4911 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4913 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4914 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4915 * gdb.base/global-var-nested-by-dso.c: Likewise.
4916 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4918 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4919 Pedro Alves <palves@redhat.com>
4921 * gdb.base/watch-bitfields.exp: Pass string other than test file
4922 name to prepare_for_testing.
4923 (watch): New procedure.
4924 (expect_watchpoint): Use with_test_prefix.
4925 (top level): Factor out tests to ...
4926 (test_watch_location, test_regular_watch): ... these new
4927 procedures, and use with_test_prefix and gdb_continue_to_end.
4929 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4931 PR breakpoints/12526
4932 * gdb.base/watch-bitfields.exp: New file.
4933 * gdb.base/watch-bitfields.c: New file.
4935 2014-09-16 Pedro Alves <palves@redhat.com>
4937 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4938 software and hardware addresses, not software address against
4941 2014-09-16 Pedro Alves <palves@redhat.com>
4943 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4944 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4946 2014-09-16 Pedro Alves <palves@redhat.com>
4948 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4950 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4951 "*-*-vxworks*" throughout.
4952 * gdb.base/break.exp: Likewise.
4953 * gdb.base/default.exp: Likewise.
4954 * gdb.base/scope.exp: Likewise.
4955 * gdb.base/sepdebug.exp: Likewise.
4956 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4958 * gdb.base/run.c: Likewise.
4959 * gdb.base/sepdebug.c: Likewise.
4960 * gdb.hp/gdb.aCC/run.c: Likewise.
4961 * gdb.reverse/until-reverse.c: Likewise.
4962 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4964 2014-09-16 Yao Qi <yao@codesourcery.com>
4966 * boards/local-remote-host-native.exp: New file.
4968 2014-09-14 Doug Evans <xdje42@gmail.com>
4970 * gdb.threads/queue-signal.c (thread_count): New variable.
4971 (thread_count_mutex, thread_count_condvar): New variables.
4972 (incr_thread_count, wait_all_threads_running): New functions.
4973 (main): Wait for all threads to be in their thread functions.
4975 2014-09-13 Doug Evans <xdje42@gmail.com>
4977 * gdb.threads/queue-signal.c: New file.
4978 * gdb.threads/queue-signal.exp: New file.
4980 2014-09-13 Doug Evans <xdje42@gmail.com>
4982 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4983 be consistent with what default_gdb_init uses.
4984 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4985 the plain text of the prompt. Add some logging printfs.
4986 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4988 2014-09-12 Pedro Alves <palves@redhat.com>
4990 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4991 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4992 * gdb.arch/i386-size-overlap.exp: Likewise.
4993 * gdb.arch/i386-size.exp: Likewise.
4994 * gdb.arch/i386-unwind.exp: Likewise.
4995 * gdb.base/a2-run.exp: Likewise.
4996 * gdb.base/break.exp: Likewise.
4997 * gdb.base/charset.exp: Likewise.
4998 * gdb.base/chng-syms.exp: Likewise.
4999 * gdb.base/commands.exp: Likewise.
5000 * gdb.base/dbx.exp: Likewise.
5001 * gdb.base/find.exp: Likewise.
5002 * gdb.base/funcargs.exp: Likewise.
5003 * gdb.base/jit-simple.exp: Likewise.
5004 * gdb.base/reread.exp: Likewise.
5005 * gdb.base/sepdebug.exp: Likewise.
5006 * gdb.base/step-bt.exp: Likewise.
5007 * gdb.cp/mb-inline.exp: Likewise.
5008 * gdb.cp/mb-templates.exp: Likewise.
5009 * gdb.objc/basicclass.exp: Likewise.
5010 * gdb.threads/killed.exp: Likewise.
5012 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5015 * gdb.arch/powerpc-stackless.S: New file.
5016 * gdb.arch/powerpc-stackless.exp: New file.
5018 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5020 * gdb.base/attach.c: Include unistd.h.
5021 (main): Call alarm. Add label postloop.
5022 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5023 gdb_breakpoint, gdb_continue_to_breakpoint.
5024 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5026 2014-09-11 Pedro Alves <palves@redhat.com>
5029 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5030 * gdb.base/attach.exp (test_command_line_attach_run): New
5032 (top level): Call it.
5034 2014-09-11 Pedro Alves <palves@redhat.com>
5036 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5037 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5038 (do_command_attach_tests): Use spawn_wait_for_attach.
5039 * gdb.base/solib-overlap.exp: Likewise.
5040 * gdb.multi/multi-attach.exp: Likewise.
5041 * gdb.python/py-prompt.exp: Likewise.
5042 * gdb.python/py-sync-interp.exp: Likewise.
5043 * gdb.server/ext-attach.exp: Likewise.
5045 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5047 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5048 command in testcase. Simplify testcase.
5050 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5052 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5054 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5056 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5058 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5060 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5062 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5064 * gdb.dwarf2/dynarr-ptr.c: New file.
5065 * gdb.dwarf2/dynarr-ptr.exp: New file.
5067 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5069 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5070 of 30 rather than hardcoding 120 for a slow test case. Take the
5071 `gdb,timeout' target setting into account for this calculation.
5072 Don't extend the timeout for the test cases that don't need it.
5074 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5076 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5077 a factor of 2 for a slow test case. Take the `gdb,timeout'
5078 target setting into account for this calculation.
5079 * gdb.reverse/until-precsave.exp: Increase the timeout by
5080 a factor of 15 and 3 respectively rather than adding 120
5081 for a pair of slow test cases. Take the `gdb,timeout'
5082 target setting into account for this calculation.
5084 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5086 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5087 timeout, don't pass one down to gdb_expect.
5088 (gdb_expect): Rework timeout selection.
5090 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5092 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5093 exception on timeout.
5094 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5095 (gdbserver_start_extended): Catch any `gdbserver_start' error
5097 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5098 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5099 `gdbserver_gdb_load' error exceptions.
5101 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5103 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5104 120 on waiting for the TCP socket to open.
5106 2014-09-09 Doug Evans <xdje42@gmail.com>
5108 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5109 _caller_matches, _any_caller_is, _any_caller_matches.
5111 2014-09-09 Doug Evans <xdje42@gmail.com>
5113 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5115 2014-09-09 Yao Qi <yao@codesourcery.com>
5117 * gdb.mi/mi-var-display.exp: Set print symbol off.
5119 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5122 * gdb.base/commands.exp: Add tests to verify user-defined
5123 commands with empty bodies.
5124 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5125 python commands in `show user command`.
5126 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5127 scheme commands in `show user command`.
5129 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5132 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5133 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5134 * gdb.python/py-framefilter-invalidarg.exp: New file.
5135 * gdb.python/py-framefilter-invalidarg.py: New file.
5137 2014-09-06 Doug Evans <xdje42@gmail.com>
5140 * gdb.python/py-caller-is.c: New file.
5141 * gdb.python/py-caller-is.exp: New file.
5143 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5146 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5147 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5149 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5152 * gdb.fortran/print-formatted.exp: New file.
5153 * gdb.fortran/print-formatted.f90: Likewise.
5155 2014-09-03 Sasha Smundak <asmundak@google.com>
5157 * gdb.python/py-frame.exp: Test Frame.read_register.
5159 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5162 * gdb.python/py-completion.exp: New file.
5163 * gdb.python/py-completion.py: Likewise.
5165 2014-08-28 Doug Evans <dje@google.com>
5167 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5168 eax,etc. are live with values set by gdb and thus the compiler can't
5170 * gdb.arch/i386-pseudo.c (main): Ditto.
5172 2014-08-27 Doug Evans <dje@google.com>
5174 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5176 2014-08-25 Doug Evans <dje@google.com>
5178 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5181 2014-08-25 Doug Evans <dje@google.com>
5183 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5185 2014-08-24 Yao Qi <yao@codesourcery.com>
5187 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5189 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5191 2014-08-22 Doug Evans <dje@google.com>
5194 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5195 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5196 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5198 2014-08-22 Yao Qi <yao@codesourcery.com>
5200 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5201 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5202 * gdb.python/python.exp: Likewise. Use .py file on the host
5203 instead of the build.
5205 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5207 * gdb.threads/gcore-stale-thread.c: New file.
5208 * gdb.threads/gcore-stale-thread.exp: New file.
5210 2014-08-21 Pedro Alves <palves@redhat.com>
5212 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5213 * gdb.base/gcore-relro-pie.exp: Likewise.
5214 * gdb.base/gcore-relro.exp: Likewise.
5215 * gdb.base/gcore.exp: Likewise.
5216 * gdb.base/print-symbol-loading.exp: Likewise.
5217 * gdb.threads/gcore-thread.exp: Likewise.
5218 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5220 2014-08-20 Pedro Alves <palves@redhat.com>
5221 Jan Kratochvil <jan.kratochvil@redhat.com>
5223 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5225 (EXPECT): Handle READ1 being set.
5226 (all): Depend on EXTRA_RULES.
5227 (check-read1, expect-read1, read1.so, read1): New rules.
5228 * README (Testsuite Parameters): Document the READ1 make variable.
5229 (Race detection): New section.
5230 * configure: Regenerate.
5231 * configure.ac: If build==host==target, and running under a
5232 GNU/glibc system, add read1 to the extra Makefile rules.
5233 (EXTRA_RULES): AC_SUBST it.
5234 * lib/read1.c: New file.
5236 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5238 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5239 the handling of variables declared as a typedef to an array
5240 which a DW_AT_data_location attribute.
5242 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5243 Pedro Alves <palves@redhat.com>
5247 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5250 2014-08-19 Pedro Alves <palves@redhat.com>
5252 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5254 2014-08-19 Yao Qi <yao@codesourcery.com>
5256 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5259 2014-08-18 David Blaikie <dblaikie@gmail.com>
5261 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5263 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5265 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5266 attribute in array range.
5268 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5270 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5272 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5275 * gdb.cp/pr17132.cc: New file.
5276 * gdb.cp/pr17132.exp: New file.
5278 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5280 * gdb.python/py-xmethods.py (A_getarrayind)
5281 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5282 Use 'print' with function call syntax.
5283 (E_method_matcher.match): Fix tab vs space indentation mixup.
5285 2014-08-15 Yao Qi <yao@codesourcery.com>
5287 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5290 2014-08-15 Yao Qi <yao@codesourcery.com>
5292 * gdb.cp/casts.exp: Set print symbol off.
5293 * gdb.cp/class2.exp: Likewise.
5294 * gdb.cp/overload.exp: Likewise.
5295 * gdb.cp/templates.exp: Likewise.
5297 2014-08-11 Doug Evans <dje@google.com>
5299 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5300 (test_load_shlib): Update.
5302 2014-08-09 Yao Qi <yao@codesourcery.com>
5304 * gdb.base/display.exp: Invoke is_address_zero_readable.
5305 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5306 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5307 * gdb.base/hbreak-unmapped.exp: Return if
5308 is_address_zero_readable returns true.
5309 * gdb.base/signest.exp: Likewise.
5310 * gdb.base/signull.exp: Likewise.
5311 * gdb.base/sigbpt.exp: Likewise.
5312 * gdb.guile/scm-disasm.exp: Do the test if
5313 is_address_zero_readable returns false.
5314 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5315 * gdb.python/py-arch.exp: Likewise.
5316 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5317 * lib/gdb.exp (is_address_zero_readable): New proc.
5319 2014-08-09 Yao Qi <yao@codesourcery.com>
5322 * gdb.mi/mi-var-display.exp: Make test messages unique.
5324 2014-08-04 Tom Tromey <tromey@redhat.com>
5326 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5329 2014-08-04 Tom Tromey <tromey@redhat.com>
5331 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5334 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5336 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5337 inner_vla_struct_object_size.
5338 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5341 2014-07-30 Pedro Alves <palves@redhat.com>
5343 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5346 2014-07-29 Yao Qi <yao@codesourcery.com>
5349 * gdb.base/until-nodebug.exp: New.
5351 2014-07-28 Doug Evans <xdje42@gmail.com>
5354 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5355 previously existing parameter, and previously ambiguously spelled
5358 2014-07-28 Will Newton <will.newton@linaro.org>
5360 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5362 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5363 Doug Evans <xdje42@gmail.com>
5366 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5368 2014-07-25 Pedro Alves <palves@redhat.com>
5370 * gdb.threads/signal-command-handle-nopass.c: New file.
5371 * gdb.threads/signal-command-handle-nopass.exp: New file.
5372 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5373 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5374 * gdb.threads/signal-delivered-right-thread.c: New file.
5375 * gdb.threads/signal-delivered-right-thread.exp: New file.
5377 2014-07-25 Pedro Alves <palves@redhat.com>
5379 * gdb.base/double-prompt-target-event-error.exp
5380 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5382 (cancel_pagination_in_target_event): Rework double prompt
5384 * gdb.base/paginate-after-ctrl-c-running.exp
5385 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5387 * gdb.base/paginate-bg-execution.exp
5388 (test_bg_execution_pagination_return)
5389 (test_bg_execution_pagination_cancel): Remove '-notransfer
5391 * gdb.base/paginate-execution-startup.exp
5392 (test_fg_execution_pagination_return)
5393 (test_fg_execution_pagination_cancel): Remove '-notransfer
5395 * gdb.base/paginate-inferior-exit.exp
5396 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5398 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5399 * lib/gdb.exp (pagination_prompt): Run text through
5401 (gdb_test_multiple): Match $pagination_prompt instead of
5403 (string_to_regexp): Move to lib/gdb-utils.exp.
5405 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5407 * gdb.arch/amd64-entry-value-paramref.S: New file.
5408 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5409 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5410 * gdb.arch/amd64-optimout-repeat.S: New file.
5411 * gdb.arch/amd64-optimout-repeat.c: New file.
5412 * gdb.arch/amd64-optimout-repeat.exp: New file.
5414 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5417 * gdb.base/statistics.exp: New file.
5419 2014-07-17 Doug Evans <dje@google.com>
5422 * gdb.base/maint.exp: Update testing of per-command stats.
5424 2014-07-16 Pedro Alves <palves@redhat.com>
5426 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5427 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5428 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5429 (tfile_write_buf): New functions.
5430 (add_memory_block): Rewrite using the above.
5431 (adjust_function_address): New function.
5432 (FUNCTION_ADDRESS): New macro.
5433 (write_basic_trace_file): Remove short_x local, and use
5434 tfile_write_16. Change type of func_addr local to unsigned long
5435 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5436 here. Cast argument of add_memory_block to char pointer.
5437 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5438 (main): Remove parameters.
5439 * gdb.trace/tfile.exp: Remove nowarnings.
5441 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5443 * gdb.base/debug-expr.exp: Test string evaluation with
5444 "debug expression" on.
5446 2014-07-15 Pedro Alves <palves@redhat.com>
5448 * gdb.base/reread.exp: Use clean_restart.
5450 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5452 * gdb.arch/avr-flash-qualifer.c: New.
5453 * gdb.arch/avr-flash-qualifer.exp: New.
5455 2014-07-14 Pedro Alves <palves@redhat.com>
5457 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5458 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5460 2014-07-14 Pedro Alves <palves@redhat.com>
5462 * gdb.base/double-prompt-target-event-error.c: New file.
5463 * gdb.base/double-prompt-target-event-error.exp: New file.
5465 2014-07-14 Pedro Alves <palves@redhat.com>
5468 * gdb.base/paginate-inferior-exit.c: New file.
5469 * gdb.base/paginate-inferior-exit.exp: New file.
5471 2014-07-14 Pedro Alves <palves@redhat.com>
5474 * gdb.base/paginate-bg-execution.c: New file.
5475 * gdb.base/paginate-bg-execution.exp: New file.
5477 2014-07-14 Pedro Alves <palves@redhat.com>
5480 * gdb.base/paginate-execution-startup.c: New file.
5481 * gdb.base/paginate-execution-startup.exp: New file.
5482 * lib/gdb.exp (pagination_prompt): New global.
5483 (default_gdb_spawn): New procedure, factored out from
5485 (default_gdb_start): Adjust to call default_gdb_spawn.
5486 (gdb_spawn): New procedure.
5488 2014-07-14 Pedro Alves <palves@redhat.com>
5490 * lib/gdb.exp (gdb_assert): New procedure.
5491 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5493 2014-07-14 Pedro Alves <palves@redhat.com>
5495 * gdb.base/execution-termios.c: New file.
5496 * gdb.base/execution-termios.exp: New file.
5498 2014-07-14 Tom Tromey <tromey@redhat.com>
5500 * gdb.cp/vla-cxx.cc: New file.
5501 * gdb.cp/vla-cxx.exp: New file.
5503 2014-07-14 Tom Tromey <tromey@redhat.com>
5505 * gdb.reverse/rerun-prec.c: New file.
5506 * gdb.reverse/rerun-prec.exp: New file.
5508 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5509 Maciej W. Rozycki <macro@codesourcery.com>
5511 * lib/gdb-utils.exp: New file.
5512 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5513 inline `gdb_init_command' processing.
5514 (gdb_start_cmd): Likewise.
5515 * lib/mi-support.exp (mi_run_cmd): Likewise.
5516 * README: Document `gdb_init_command' and `gdb_init_commands'.
5518 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5520 Fix false FAIL running under a very long directory name.
5521 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5522 and "set print elements 10000". Twice.
5524 2014-07-11 Yao Qi <yao@codesourcery.com>
5526 * gdb.base/exprs.exp: "set print symbol off".
5528 2014-07-11 Pedro Alves <palves@redhat.com>
5530 * gdb.threads/kill.c: New file.
5531 * gdb.threads/kill.exp: New file.
5533 2014-07-10 Yao Qi <yao@codesourcery.com>
5535 * gdb.trace/tfile.c (write_basic_trace_file)
5536 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5537 address written to trace file.
5539 2014-07-09 Pedro Alves <palves@redhat.com>
5541 * gdb.base/attach-wait-input.exp: New file.
5542 * gdb.base/attach-wait-input.c: New file.
5544 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5546 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5547 setting up test structures.
5548 (main): Call new test function.
5549 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5550 test function, continue into test function and walk test
5553 2014-07-02 Yao Qi <yao@codesourcery.com>
5555 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5556 'bar_start' at the beginning of functions 'foo' and 'bar'
5558 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5559 instead of 'foo' and 'bar'.
5561 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5563 * gdb.btrace/segv.exp: New.
5564 * gdb.btrace/segv.c: New.
5566 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5568 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5571 2014-06-30 Mark Wielaard <mjw@redhat.com>
5573 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5574 vulture, vilify, villar): New volatile array constants.
5575 (vindictive, vegetation): New const volatile array constants.
5576 * gdb.base/volatile.exp: Test volatile and const volatile array
5579 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5581 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5582 target lacks support for awatch, rwatch, or hbreak.
5584 2014-06-27 Yao Qi <yao@codesourcery.com>
5586 * gdb.multi/dummy-frame-restore.exp: New.
5587 * gdb.multi/dummy-frame-restore.c: New.
5589 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5591 * gdb.btrace/gcore.exp: New.
5593 2014-06-23 Pedro Alves <palves@redhat.com>
5595 * gdb.base/watchpoint-reuse-slot.c: New file.
5596 * gdb.base/watchpoint-reuse-slot.exp: New file.
5598 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5600 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5601 progspace's filename in 'info', 'enable' and 'disable' command
5604 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5606 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5607 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5608 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5610 2014-06-20 Gary Benson <gbenson@redhat.com>
5612 * gdb.arch/i386-avx.exp: Fix include file location.
5613 * gdb.arch/i386-sse.exp: Likewise.
5615 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5617 * gdb.dlang/expression.exp: New file.
5619 2014-06-19 Pedro Alves <palves@redhat.com>
5621 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5623 (top level): ... here. Iterate running tests under different
5624 scheduler-locking settings.
5626 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5628 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5629 to DW_FORM_addr and use non-zero addresses.
5631 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5634 * gdb.python/py-xmethods.cc: Add global function call counters and
5635 increment them in their respective functions. Remove "cout"
5637 * gdb.python/py-xmethods.exp: Make tests check the global function
5638 call counters instead of depending on inferior IO.
5640 2014-06-18 Don Breazeal <donb@codesourcery.com>
5642 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5644 (explicit_fork_parent_follow): Deleted procedure.
5645 (explicit_fork_child_follow): Deleted procedure.
5646 (test_follow_fork): New procedure.
5647 (do_fork_tests): Replace calls to deleted procedures with
5648 calls to test_follow_fork and reset GDB for subsequent
5651 2014-06-17 Yao Qi <yao@codesourcery.com>
5653 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5656 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5658 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5659 Initialize ptr and S explicitly.
5660 (skip_type_update_when_not_use_rtti_test): Likewise.
5662 2014-06-16 Keith Seitz <keiths@redhat.com>
5665 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5666 the inferior is started.
5668 2014-06-16 Pedro Alves <palves@redhat.com>
5670 * gdb.base/break-main-file-remove-fail.c: New file.
5671 * gdb.base/break-main-file-remove-fail.exp: New file.
5672 * gdb.base/break-unload-file.exp: Use build_executable instead of
5673 prepare_for_testing.
5674 (test_break): New parameter "initial_load". Handle it.
5675 (top level): Add initial_load cmdline/file axis.
5677 2014-06-12 Tom Tromey <tromey@redhat.com>
5679 * gdb.base/completion.exp: Don't use directory name in test.
5681 2014-06-09 Gary Benson <gbenson@redhat.com>
5683 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5684 separate the always-available ANSI-standard signals from the
5685 signals that require checking.
5687 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5691 2014-06-07 Keith Seitz <keiths@redhat.com>
5695 * gdb.cp/var-tag.cc: New file.
5696 * gdb.cp/var-tag.exp: New file.
5697 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5698 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5699 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5700 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5702 2014-06-06 Doug Evans <xdje42@gmail.com>
5704 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5706 2014-06-06 Pedro Alves <palves@redhat.com>
5708 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5709 in target debug output instead of looking at RSP packets,
5710 disabling the test on any target that uses hardware stepping.
5713 2014-06-06 Pedro Alves <palves@redhat.com>
5715 * gdb.base/break-unload-file.exp: Fix typo.
5717 2014-06-06 Yao Qi <yao@codesourcery.com>
5719 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5720 from "jit_function" to "^jit_function".
5722 2014-06-06 Yao Qi <yao@codesourcery.com>
5724 * gdb.base/async.c (foo): Add one statement.
5725 * gdb.base/async.exp: Get the next instruction address and
5726 match the output of "nexti" by instruction address. Match
5727 the hex address in the output of "finish".
5729 2014-06-06 Gary Benson <gbenson@redhat.com>
5731 * gdb.base/call-signals.c: Remove preprocessor conditionals
5732 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5733 SIGSEGV and SIGTERM.
5734 * gdb.base/sigall.c: Likewise.
5735 * gdb.base/unwindonsignal.c: Likewise.
5736 * gdb.reverse/sigall-reverse.c: Likewise.
5738 2014-06-06 Yao Qi <yao@codesourcery.com>
5740 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5741 readable, skip the test.
5743 2014-06-06 Yao Qi <yao@codesourcery.com>
5745 * gdb.threads/staticthreads.c (thread_function): Move the line
5746 setting breakpoint on forward.
5747 * gdb.threads/staticthreads.exp: Update comments.
5749 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
5751 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5752 "history-append! type error".
5754 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5756 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5757 erroneous dprintf expected input.
5759 2014-06-04 Doug Evans <xdje42@gmail.com>
5761 * gdb.guile/scm-generics.exp: Delete.
5763 2014-06-04 Doug Evans <xdje42@gmail.com>
5765 * gdb.guile/scm-breakpoint.exp: Update.
5766 Add tests for breakpoint registration.
5768 2014-06-04 Tom Tromey <tromey@redhat.com>
5770 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5772 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5773 inner_vla_struct, vla_union types. Initialize objects of those
5774 types and compute their sizes.
5776 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5777 Hui Zhu <hui@codesourcery.com>
5779 * gdb.base/fileio.exp: Add test for shell not available as well as
5781 * gdb.base/fileio.c (test_system): Check for shell twice.
5783 2014-06-04 Yao Qi <yao@codesourcery.com>
5785 * gdb.base/auto-connect-native-target.exp: Remove redundant
5786 space from the regexp pattern.
5788 2014-06-04 Yao Qi <yao@codesourcery.com>
5790 * gdb.base/default.exp: Replace "child" with "native" in
5793 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5795 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5796 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5797 * gdb.python/py-xmethods.py: Python script supporting the
5798 new testcase and tests.
5800 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5801 Pedro Alves <palves@redhat.com>
5803 PR breakpoints/17000
5804 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5805 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5807 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5809 * gdb.base/subst.exp: Add tests to verify partial path matching
5812 2014-06-03 Pedro Alves <palves@redhat.com>
5814 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5815 target that doesn't use software single-stepping.
5817 2014-06-03 Pedro Alves <palves@redhat.com>
5819 PR breakpoints/17000
5820 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5821 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5823 2014-06-02 Doug Evans <xdje42@gmail.com>
5825 * gdb.guile/scm-parameter.exp: New file.
5827 2014-06-02 Doug Evans <xdje42@gmail.com>
5829 * gdb.guile/scm-cmd.c: New file.
5830 * gdb.guile/scm-cmd.exp: New file.
5832 2014-06-02 Doug Evans <xdje42@gmail.com>
5834 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5835 pretty-printer lookup.
5836 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5837 (make-pp_s-printer): Call it.
5838 (make-pretty-printer-from-dict): New function.
5839 (lookup-pretty-printer-maker-from-dict): New function.
5840 (*pretty-printer*): Simplify.
5841 (make-objfile-pp_s-printer): New function.
5842 (install-objfile-pretty-printers!): New function.
5843 (make-progspace-pp_s-printer): New function.
5844 (install-progspace-pretty-printers!): New function.
5845 * gdb.guile/scm-progspace.c: New file.
5846 * gdb.guile/scm-progspace.exp: New file.
5848 2014-06-02 Pedro Alves <palves@redhat.com>
5850 * gdb.base/dprintf-bp-same-addr.c: New file.
5851 * gdb.base/dprintf-bp-same-addr.exp: New file.
5853 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5855 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5856 * gdb.arch/powerpc-power.s: Likewise.
5858 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5860 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5862 2014-06-01 Yao Qi <yao@codesourcery.com>
5864 * gdb.base/watchpoint.exp (test_watch_location): Check null
5865 pointer can be dereferenced. If not, do the test, otherwise
5868 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5870 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5872 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5874 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5876 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5877 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5878 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5879 * gdb.arch/amd64-invalid-stack-top.c: New file.
5880 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5882 2014-05-30 Pedro Alves <palves@redhat.com>
5884 PR breakpoints/17000
5885 * gdb.base/sss-bp-on-user-bp.c: New file.
5886 * gdb.base/sss-bp-on-user-bp.exp: New file.
5888 2014-05-30 David Blaikie <dblaikie@gmail.com>
5890 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5891 gnu_inline semantics via attribute.
5892 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5893 source explicitly specifies the required semantics.
5895 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5897 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5899 2014-05-29 Pedro Alves <palves@redhat.com>
5900 Tom Tromey <tromey@redhat.com>
5902 * gdb.base/async-shell.exp: Don't enable target-async.
5903 * gdb.base/async.exp
5904 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5906 (top level): Don't test with "target-async".
5907 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5908 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5909 * gdb.base/inferior-died.exp: Don't enable target-async.
5910 * gdb.base/interrupt-noterm.exp: Likewise.
5911 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5912 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5913 * gdb.mi/mi-nonstop.exp: Likewise.
5914 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5915 * gdb.mi/mi-nsintrall.exp: Likewise.
5916 * gdb.mi/mi-nsmoribund.exp: Likewise.
5917 * gdb.mi/mi-nsthrexec.exp: Likewise.
5918 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5919 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5920 * gdb.python/py-evsignal.exp: Don't enable target-async.
5921 * gdb.python/py-evthreads.exp: Likewise.
5922 * gdb.python/py-prompt.exp: Likewise.
5923 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5924 * gdb.server/solib-list.exp: Don't enable target-async.
5925 * gdb.threads/thread-specific-bp.exp: Likewise.
5926 * lib/mi-support.exp: Adjust to use mi-async.
5928 2014-05-29 Pedro Alves <palves@redhat.com>
5931 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5932 reason, even in sync mode.
5934 2014-05-29 Pedro Alves <palves@redhat.com>
5935 Hui Zhu <hui@codesourcery.com>
5938 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5939 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5940 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5941 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5943 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5945 * config/monitor.exp (gdb_target_monitor): Replace use of
5946 "set remotebaud" by "set serial baud".
5948 2014-05-26 Andy Wingo <wingo@igalia.com>
5950 * gdb.guile/scm-breakpoint.exp:
5951 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5952 properties instead of gdb-object-properties.
5954 2014-05-26 Yao Qi <yao@codesourcery.com>
5956 * gdb.server/no-thread-db.exp: Specify source file name
5957 explicitly when setting a breakpoint.
5959 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5961 * gdb.btrace/vdso.c: New.
5962 * gdb.btrace/vdso.exp: New.
5964 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5966 * gdb.base/gcore.exp (capture_command_output): Move ...
5967 * lib/gdb.exp (capture_command_output): ... here.
5969 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5971 * gdb.btrace/data.exp: Test memory access during btrace replay.
5973 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5975 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5977 2014-05-21 Pedro Alves <palves@redhat.com>
5980 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5981 (top level): Test that output related to execution commands is
5982 sent to the console with CLI commands, but not with MI commands.
5983 Test that breakpoint events are always mirrored to the console.
5984 Also expect the new source line to be output after a "next" in
5985 async mode too. Make it a pass/fail test.
5986 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5988 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5990 2014-05-21 Pedro Alves <palves@redhat.com>
5992 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5993 Use them to test variations of "list" after reaching a breakpoint.
5994 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5995 Test "list" with listsize 10 after reaching a breakpoint.
5996 * gdb.python/python.exp (decode_line current location line
5997 number): Adjust expected line number.
5999 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6001 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6002 behavior for $args, pass it directly to "run".
6004 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6006 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6009 2014-05-21 Pedro Alves <palves@redhat.com>
6011 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6012 auto-connect-native-target off".
6013 * gdb.base/auto-connect-native-target.c: New file.
6014 * gdb.base/auto-connect-native-target.exp: New file.
6016 2014-05-21 Pedro Alves <palves@redhat.com>
6018 * gdb.base/default.exp: Test "target native" instead of "target
6021 2014-05-21 Mark Wielaard <mjw@redhat.com>
6023 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6025 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6027 Fix TLS access for -static -pthread.
6028 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6029 <HAVE_TLS> (thread_function, main): Initialize it.
6030 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6032 <$have_tls != "">: Check TLSVAR.
6034 2014-05-21 Pedro Alves <palves@redhat.com>
6036 * gdb.base/dcache-line-read-error.c: New.
6037 * gdb.base/dcache-line-read-error.exp: New.
6039 2014-05-20 Pedro Alves <palves@redhat.com>
6041 * gdb.base/compare-sections.c: New file.
6042 * gdb.base/compare-sections.exp: New file.
6044 2014-05-20 Pedro Alves <palves@redhat.com>
6046 * gdb.base/break-idempotent.c: New file.
6047 * gdb.base/break-idempotent.exp: New file.
6049 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6051 * gdb.btrace/nohist.exp: New.
6053 2014-05-20 Yao Qi <yao@codesourcery.com>
6055 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6056 gdb.reverse directory and gdb_reverse_timeout exists in board
6058 * README: Document gdb_reverse_timeout.
6060 2014-05-20 Yao Qi <yao@codesourcery.com>
6062 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6063 'test_file_name'. Treat args as a string instead of a list.
6064 (gdb_init): Rename argument 'args' by 'test_file_name'.
6066 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6068 * gdb.arch/powerpc-power.exp: New file.
6069 * gdb.arch/powerpc-power.s: New file.
6071 2014-05-16 Doug Evans <dje@google.com>
6073 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6074 * gdb.base/completion.exp: Check that all expected files exist
6075 before doing file completion.
6077 2014-05-16 Doug Evans <dje@google.com>
6079 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6081 (do_syscall_tests_without_xml): Update.
6083 2014-05-16 Pedro Alves <palves@redhat.com>
6085 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6086 instead of "unknown output after running".
6088 2014-05-16 Yao Qi <yao@codesourcery.com>
6090 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6091 file1.txt from host at the end.
6092 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6094 2014-05-15 Doug Evans <dje@google.com>
6096 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6097 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6098 loading file. Add test for TU lookup.
6100 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6102 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6103 calling "-exec-arguments" or "set args" before running the
6106 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6108 * lib/mi-support.exp (mi_expect_stop): Expect message for
6109 inferiors that exit with non-zero exit code.
6111 2014-05-14 Yao Qi <yao@codesourcery.com>
6113 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6114 match absolute path on remote host.
6115 (test_file_list_exec_source_files): Remove "/" from the
6118 2014-05-14 Yao Qi <yao@codesourcery.com>
6120 * boards/local-remote-host-notty.exp (${board}_file): New
6123 2014-05-07 Kyle McMartin <kyle@redhat.com>
6125 Pushed by Joel Brobecker <brobecker@adacore.com>.
6126 * gdb.arch/aarch64-atomic-inst.c: New file.
6127 * gdb.arch/aarch64-atomic-inst.exp: New file.
6129 2014-05-07 Yao Qi <yao@codesourcery.com>
6131 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6132 in current context" too.
6134 2014-05-05 Keith Seitz <keiths@redhat.com>
6136 * gdb.linespec/ls-dollar.exp: Add test for linespec
6137 file:convenience_variable.
6139 2014-05-05 Yao Qi <yao@codesourcery.com>
6141 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6142 traceframes into tfile and ctf trace files. Read data from
6143 trace file and test collected data.
6144 (gdb_collect_locals_test): Likewise.
6145 (gdb_unavailable_registers_test): Likewise.
6146 (gdb_unavailable_floats): Likewise.
6147 (gdb_collect_globals_test): Likewise.
6148 (top-level): Append "ctf" to trace_file_targets if GDB
6151 2014-05-05 Yao Qi <yao@codesourcery.com>
6153 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6155 (gdb_collect_args_test_1): ... it. New proc.
6156 (gdb_collect_locals_test): Move some code to ...
6157 (gdb_collect_locals_test_1): ... it. New proc.
6158 (gdb_unavailable_registers_test): Move some code to ...
6159 (gdb_unavailable_registers_test_1): ... it. New proc.
6160 (gdb_unavailable_floats): Move some code to ...
6161 (gdb_unavailable_floats_1): ... it. New proc.
6163 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6165 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6166 probes to test for bitness recognition.
6167 * gdb.arch/amd64-stap-optional-prefix.exp
6168 (test_probe_value_without_reg): New procedure.
6169 Add code to test for different kinds of bitness.
6171 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6173 PR breakpoints/16889
6174 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6175 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6177 2014-05-01 Pedro Alves <palves@redhat.com>
6179 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6180 gdb_file_cmd if no file is specified.
6181 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6182 last_loaded_file to set the remote exec-file.
6184 2014-05-01 Pedro Alves <palves@redhat.com>
6186 * boards/local-remote-host.exp: New file.
6188 2014-05-01 Pedro Alves <palves@redhat.com>
6190 * boards/local-remote-host.exp: Rename to ...
6191 * boards/local-remote-host-notty.exp: ... this.
6193 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6195 * gdb.ada/dyn_arrayidx: New testcase.
6197 2014-04-26 Yao Qi <yao@codesourcery.com>
6199 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6200 and compute the length of function main. Save it in
6202 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6203 (top-level): Use gdb_compile to compile objects into
6204 executable and restart GDB. Remove invocation to
6205 prepare_for_testing.
6207 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6208 Pedro Alves <palves@redhat.com>
6211 * gdb.multi/multi-attach.c: New file.
6212 * gdb.multi/multi-attach.exp: New file.
6214 2014-04-25 Pedro Alves <palves@redhat.com>
6216 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6218 (top level): Test that "set remote conditional-breakpoints-packet
6219 off" works as intended.
6220 * gdb.base/dprintf.exp: Test that "set remote
6221 breakpoint-commands-packet off" works as intended.
6222 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6224 (top level): Call it.
6225 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6226 remote fast-tracepoints-packet off" works as intended.
6227 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6228 * lib/gdb.exp (gdb_is_target_remote): ... here.
6230 2014-04-24 David Blaikie <dblaikie@gmail.com>
6232 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6233 ensure clang would not discard them.
6234 * gdb.base/gdbvars.c: Ditto.
6235 * gdb.base/memattr.c: Ditto.
6236 * gdb.base/whatis.c: Ditto.
6237 * gdb.python/py-prettyprint.c: Ditto.
6238 * gdb.trace/actions.c: Ditto.
6239 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6240 ensure clang would not discard it.
6242 2014-04-24 David Blaikie <dblaikie@gmail.com>
6244 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6245 clang to emit the full definition of type required by the test
6246 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6248 2014-04-24 David Blaikie <dblaikie@gmail.com>
6250 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6251 coax Clang into emitting the definition of the type.
6252 * gdb.cp/pr10728-x.h (y): Ditto.
6253 * gdb.cp/pr10728-y.cc (y): Ditto.
6255 2014-04-24 David Blaikie <dblaikie@gmail.com>
6257 * gdb.base/label.exp: XFAIL label related tests under Clang.
6258 * gdb.cp/cplabel.exp: Ditto.
6259 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6260 under Clang those using labels.
6262 2014-04-25 Yao Qi <yao@codesourcery.com>
6264 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6266 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6267 partial_label and double_label.
6269 2014-04-24 David Blaikie <dblaikie@gmail.com>
6271 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6273 2014-04-24 David Blaikie <dblaikie@gmail.com>
6275 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6276 of the function to work across GCC and Clang.
6277 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6278 pointer types (const void ** const V void **).
6280 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6281 Walfred Tedeschi <walfred.tedeschi@intel.com>
6283 * Makefile.in (EXECUTABLES): Added i386-avx512.
6284 * gdb.arch/i386-avx512.c: New file.
6285 * gdb.arch/i386-avx512.exp: Likewise.
6287 2014-04-23 Keith Seitz <keiths@redhat.com>
6289 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6290 (mi_make_breakpoint_table): New procedure.
6291 (mi_create_breakpoint): Use mi_make_breakpoint
6292 and return the result.
6293 (mi_make_breakpoint): New procedure.
6294 (mi_build_kv_pairs): New procedure.
6296 * gdb.mi/mi-break.exp: Remove unused globals,
6297 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6298 All callers updated.
6299 * gdb.mi/mi-dprintf.exp: Use variable to track command
6301 Update all callers of mi_create_breakpoint and use
6302 mi_make_breakpoint_table.
6303 Remove any unused global variables.
6304 * gdb.mi/mi-nonstop.exp: Likewise.
6305 * gdb.mi/mi-nsintrall.exp: Likewise.
6306 * gdb.mi/mi-nsmoribund.exp: Likewise.
6307 * gdb.mi/mi-nsthrexec.exp: Likewise.
6308 * gdb.mi/mi-reverse.exp: Likewise.
6309 * gdb.mi/mi-simplerun.exp: Likewise.
6310 * gdb.mi/mi-stepn.exp: Likewise.
6311 * gdb.mi/mi-syn-frame.exp: Likewise.
6312 * gdb.mi/mi-until.exp: Likewise.
6313 * gdb.mi/mi-var-cp.exp: Likewise.
6314 * gdb.mi/mi-var-display.exp: Likewise.
6315 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6316 * gdb.mi/mi2-var-child.exp: Likewise.
6317 * gdb.mi/mi-vla-c99.exp: Likewise.
6318 * lib/mi-support.exp: Likewise.
6320 From Ian Lance Taylor <iant@cygnus.com>:
6321 * lib/gdb.exp (parse_args): New procedure.
6323 2014-04-23 Pedro Alves <palves@redhat.com>
6325 * gdb.base/break-unload-file.c: New file.
6326 * gdb.base/break-unload-file.exp: New file.
6327 * gdb.base/sym-file-lib.c (baz): New function.
6328 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6330 (load): Store the segment's mapped size.
6331 (unload): New function.
6332 (unload_shlib): New function.
6333 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6334 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6335 set a breakpoint at baz, and call it.
6336 * gdb.base/sym-file.exp: New tests for stale breakpoint
6339 2014-04-23 Pedro Alves <palves@redhat.com>
6341 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6342 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6343 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6344 * gdb.base/hbreak-unmapped.c: New file.
6345 * gdb.base/hbreak-unmapped.exp: New file.
6346 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6347 * lib/gdb.exp (gdb_is_target_remote): ... here.
6349 2014-04-22 Pedro Alves <palves@redhat.com>
6351 * gdb.base/consecutive-step-over.c: New file.
6352 * gdb.base/consecutive-step-over.exp: New file.
6354 2014-04-22 Pedro Alves <palves@redhat.com>
6356 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6357 instead of send_gdb/gdb_expect.
6359 2014-04-22 Yao Qi <yao@codesourcery.com>
6361 * lib/trace-support.exp (generate_tracefile): New procedure.
6362 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6364 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6365 if generate_tracefile returns 1.
6367 2014-04-18 Tom Tromey <palves@redhat.com>
6368 Pedro alves <tromey@redhat.com>
6371 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6372 with a backtrace limit.
6373 * gdb.python/py-frame-inline.exp: Test running to an inline
6374 function with a backtrace limit, and printing the newest frame.
6375 * gdb.python/py-frame-inline.c (main): Call f.
6377 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6379 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6381 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6383 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6384 Drop prefix from unsupported source file path.
6386 2014-04-17 Yao Qi <yao@codesourcery.com>
6388 * lib/gdb.exp (with_target_charset): New proc.
6389 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6390 with_target_charset.
6391 (test_print_strings): Likewise.
6392 (test_repeat_bytes): Likewise.
6393 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6396 2014-04-16 Keith Seitz <keiths@redhat.com>
6399 * gdb.dwarf2/corrupt.c: New file.
6400 * gdb.dwarf2/corrupt.exp: New file.
6402 2014-04-16 Keith Seitz <keiths@redhat.com>
6405 * gdb.cp/namelessclass.cc: New file.
6406 * gdb.cp/namelessclass.exp: New file.
6407 * gdb.cp/namelessclass.S: New file.
6409 2014-04-16 Doug Evans <dje@google.com>
6411 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6413 (gdbserver_default_get_comm_port): New function.
6414 (gdbserver_start): Check if board file provided
6415 "gdbserver,get_comm_port" and use it if so.
6416 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6417 (gdb,socketport): Set to "stdio".
6418 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6419 (stdio_gdbserver_template): Delete.
6420 (${board}_get_remote_address): Update.
6421 (${board}_build_remote_cmd): Delete.
6422 (${board}_get_comm_port): New function.
6423 (${board}_spawn): Update.
6424 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6426 (${board}_get_remote_address): Update.
6427 (${board}_get_comm_port): New function.
6429 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6431 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6432 appearing in any order.
6434 2014-04-15 Doug Evans <dje@google.com>
6436 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6437 uninitialized value of "description".
6439 2014-04-15 Keith Seitz <keiths@redhat.com>
6441 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6442 Remove unused globals.
6443 (test_running_the_program): Likewise.
6444 (test_controlled_execution): Likewise.
6445 (test_controlling_breakpoints): Likewise.
6446 (test_program_termination): Likewise.
6448 2014-04-15 Keith Seitz <keiths@redhat.com>
6450 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6452 (test_rbreak_creation_and_listing): Likewise.
6453 (test_ignore_count): Likewise.
6454 (test_error): Likewise.
6456 2014-04-15 Pedro Alves <palves@redhat.com>
6458 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6459 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6461 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6462 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6463 to sym-file-loader.c.
6464 (struct library): Forward declare.
6465 (load_shlib, lookup_function): Change prototypes.
6466 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6467 (translate_offset): Remove declarations.
6468 (get_text_addr): New declaration.
6469 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6470 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6472 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6473 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6474 here from sym-file-loader.h.
6475 (struct library): New structure.
6476 (load_shlib, lookup_function): Change prototypes and adjust to
6477 work with a struct library.
6478 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6479 (translate_offset): Make static.
6480 (get_text_addr): New function.
6481 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6483 2014-04-15 Pedro Alves <palves@redhat.com>
6485 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6487 2014-04-15 Pedro Alves <palves@redhat.com>
6489 * gdb.base/sym-file-loader.c: Include <limits.h>.
6490 (SELF_LINK): New define.
6491 (get_origin): New function.
6492 (load_shlib): Use it.
6493 * gdb.base/sym-file.exp: Don't early return if the target is
6494 remote. Use runto_main, and issue fail is that fails. Use
6496 (shlib_name): Delete.
6497 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6499 2014-04-15 Pedro Alves <palves@redhat.com>
6501 * gdb.base/sym-file.exp: Remove regex characters from test
6502 message. Don't refer to breakpoint numbers in test messages.
6504 2014-04-14 Keith Seitz <keiths@redhat.com>
6507 * gdb.cp/var-tag.cc: New file.
6508 * gdb.cp/var-tag.exp: New file.
6509 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6510 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6511 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6512 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6514 2014-04-14 Tom Tromey <tromey@redhat.com>
6516 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6517 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6519 * gdb.cp/enum-class.exp: New file.
6520 * gdb.cp/enum-class.cc: New file.
6522 2014-04-14 Tom Tromey <tromey@redhat.com>
6524 * gdb.dwarf2/enum-type.exp: New file.
6526 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6528 * gdb.mi/mi-vla-c99.exp: New file.
6529 * gdb.mi/vla.c: New file.
6531 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6533 * gdb.base/vla-datatypes.c: New file.
6534 * gdb.base/vla-datatypes.exp: New file.
6536 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6538 * gdb.base/vla-ptr.c: New file.
6539 * gdb.base/vla-ptr.exp: New file.
6541 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6543 * gdb.dwarf2/count.exp: New file.
6545 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6547 * gdb.base/vla-sideeffect.c: New file.
6548 * gdb.base/vla-sideeffect.exp: New file.
6550 2014-04-14 David Blaikie <dblaikie@gmail.com>
6552 * gdb.mi/non-stop.c: Add return value for non-void function return
6554 * gdb.threads/staticthreads.c: Ditto.
6556 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6557 Doug Evans <xdje42@gmail.com>
6559 * gdb.guile/scm-value.c: Improve test case.
6560 * gdb.guile/scm-value.exp: Add new test.
6562 2014-04-11 David Blaikie <dblaikie@gmail.com>
6564 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6565 override Clang's default.
6567 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6569 Revert the following changes (regressions):
6571 * gdb.base/vla-sideeffect.c: New file.
6572 * gdb.base/vla-sideeffect.exp: New file.
6574 * gdb.dwarf2/count.exp: New file.
6576 * gdb.base/vla-multi.c: New file.
6577 * gdb.base/vla-multi.exp: New file.
6579 * gdb.base/vla-ptr.c: New file.
6580 * gdb.base/vla-ptr.exp: New file.
6582 * gdb.base/vla-datatypes.c: New file.
6583 * gdb.base/vla-datatypes.exp: New file.
6585 * gdb.mi/mi-vla-c99.exp: New file.
6586 * gdb.mi/vla.c: New file.
6588 2014-04-11 Keith Seitz <keiths@redhat.com>
6591 * gdb.cp/cpsizeof.exp: New file.
6592 * gdb.cp/cpsizeof.cc: New file.
6594 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6596 * gdb.mi/mi-vla-c99.exp: New file.
6597 * gdb.mi/vla.c: New file.
6599 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6601 * gdb.base/vla-datatypes.c: New file.
6602 * gdb.base/vla-datatypes.exp: New file.
6604 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6606 * gdb.base/vla-ptr.c: New file.
6607 * gdb.base/vla-ptr.exp: New file.
6609 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6611 * gdb.base/vla-multi.c: New file.
6612 * gdb.base/vla-multi.exp: New file.
6614 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6616 * gdb.dwarf2/count.exp: New file.
6618 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6620 * gdb.base/vla-sideeffect.c: New file.
6621 * gdb.base/vla-sideeffect.exp: New file.
6623 2014-04-11 Yao Qi <yao@codesourcery.com>
6625 * gdb.base/completion.exp: Check file exists before running tests
6628 2014-04-10 Pedro Alves <palves@redhat.com>
6630 * gdb.base/cond-eval-mode.c: New file.
6631 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6632 prepare_for_testing to build the new file. Check result of
6634 (test_break, test_watch): New procedures.
6635 (top level): Use them.
6637 2014-04-08 Pierre Muller <muller@sourceware.org>
6639 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6640 Ctrl-V use for mingw hosts.
6642 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6644 * gdb.python/py-value.c: Improve test case.
6645 * gdb.python/py-value.exp: Add new test.
6647 2014-04-07 David Blaikie <dblaikie@gmail.com>
6649 * lib/compiler.c: Identify the clang compiler.
6650 * lib/compiler.cc: Ditto.
6652 2014-04-03 Yao Qi <yao@codesourcery.com>
6654 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6656 2014-04-01 Anton Blanchard <anton@samba.org>
6658 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6661 2014-04-01 Anton Blanchard <anton@samba.org>
6663 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6664 prepare_for_testing.
6666 2014-04-01 Anton Blanchard <anton@samba.org>
6668 * gdb.arch/ppc64-atomic-inst.c: Remove.
6669 * gdb.arch/ppc64-atomic-inst.S: New file.
6670 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6672 2014-03-31 Doug Evans <dje@google.com>
6674 * gdb.base/print-symbol-loading-lib.c: New file.
6675 * gdb.base/print-symbol-loading-main.c: New file.
6676 * gdb.base/print-symbol-loading.exp: New file.
6678 2014-03-31 Yao Qi <yao@codesourcery.com>
6680 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6682 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6684 * gdb.ada/mi_dyn_arr: New testcase.
6686 2014-03-27 Doug Evans <dje@google.com>
6688 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6690 2014-03-27 Yao Qi <yao@codesourcery.com>
6692 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6693 if target is nios2-*-*.
6695 2014-03-26 Yao Qi <yao@codesourcery.com>
6697 * lib/gdb.exp (readline_is_used): New proc.
6698 * gdb.base/completion.exp: Move tests on command complete up.
6699 Skip the rest of tests if readline is not used.
6700 * gdb.ada/complete.exp: Skp the test if readline is not
6702 * gdb.base/filesym.exp: Likewise.
6703 * gdb.base/macscp.exp: Likewise.
6704 * gdb.base/readline-ask.exp: Likewise.
6705 * gdb.base/readline.exp: Likewise.
6706 * gdb.python/py-cmd.exp: Likewise.
6707 * gdb.trace/tfile.exp: Likewise.
6709 2014-03-26 Yao Qi <yao@codesourcery.com>
6711 * gdb.base/macscp.exp: Fix code format issues.
6713 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6715 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6716 * gdb.asm/powerpc64le.inc: New file.
6718 2014-03-25 Pedro Alves <palves@redhat.com>
6719 Doug Evans <dje@google.com>
6721 * gdb.base/source-execution.c: New file.
6722 * gdb.base/source-execution.exp: New file.
6723 * gdb.base/source-execution.gdb: New file.
6725 2014-03-24 Doug Evans <dje@google.com>
6727 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6730 2014-03-24 Hui Zhu <hui@codesourcery.com>
6731 Pedro Alves <palves@redhat.com>
6733 PR breakpoints/16101
6734 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6735 test pass/fail messages. Detect missing support for dprintf when
6736 breakpoints are actually inserted.
6737 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6738 breakpoints are actually inserted.
6739 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6742 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6744 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6746 2014-03-22 Doug Evans <xdje42@gmail.com>
6748 * gdb.python/python.exp (python not supported): Verify multi-line
6749 python command issues an error.
6750 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6751 guile command issues an error.
6753 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6755 * gdb.threads/thread-specific.exp: Handle the lack of usable
6756 $this_breakpoint and $this_thread.
6758 2014-03-21 Hui Zhu <hui@codesourcery.com>
6760 * gdb.base/attach.exp (do_command_attach_tests): New.
6762 2014-03-20 Tom Tromey <tromey@redhat.com>
6763 Pedro Alves <palves@redhat.com>
6766 * gdb.base/condbreak-call-false.c: New file.
6767 * gdb.base/condbreak-call-false.exp: New file.
6769 2014-03-20 Pedro Alves <palves@redhat.com>
6771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6773 (block_signals, unblock_signals): Delete.
6774 (child_function_2, main): Remove references to deleted variable
6777 2014-03-20 Pedro Alves <palves@redhat.com>
6779 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6780 Use pthread_kill to signal thread 2.
6781 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6782 Adjust to make the test send itself a signal rather than using the
6783 host's "kill" command.
6785 2014-03-20 Pedro Alves <palves@redhat.com>
6787 * gdb.threads/multiple-step-overs.c: New file.
6788 * gdb.threads/multiple-step-overs.exp: New file.
6789 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6790 Adjust expected infrun debug output.
6792 2014-03-20 Pedro Alves <palves@redhat.com>
6794 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6795 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6797 2014-03-20 Pedro Alves <palves@redhat.com>
6800 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6801 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6802 of gdb_test_multiple.
6803 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6804 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6806 2014-03-20 Pedro Alves <palves@redhat.com>
6808 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6809 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6811 2014-03-19 Pedro Alves <palves@redhat.com>
6813 * gdb.base/async.exp: Remove early return.
6815 2014-03-19 Pedro Alves <palves@redhat.com>
6817 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6819 2014-03-19 Pedro Alves <palves@redhat.com>
6821 * gdb.base/async.exp (test_background): Expect \r\n after
6822 "completed." in the fail pattern.
6824 2014-03-19 Pedro Alves <palves@redhat.com>
6826 * gdb.base/async.exp (test_background): New procedure.
6827 Use it for all background execution command tests.
6829 2014-03-19 Pedro Alves <palves@redhat.com>
6831 * gdb.base/async.exp: Use prepare_for_testing.
6833 2014-03-19 Pedro Alves <palves@redhat.com>
6835 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6838 2014-03-19 Pedro Alves <palves@redhat.com>
6840 * gdb.base/async.c (main): Add "jump here" and "until here" line
6842 * gdb.base/async.exp (jump_here): New global.
6843 (jump& test): Use it.
6844 (until_here): New global.
6845 (until& test): Use it.
6847 2014-03-19 Pedro Alves <palves@redhat.com>
6849 * gdb.base/async.exp: Don't frob gdb_protocol.
6851 2014-03-18 Doug Evans <xdje42@gmail.com>
6853 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6854 Fix spelling of exec-done-display.
6856 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6859 * gdb.base/gdb-sigterm.c: New file.
6860 * gdb.base/gdb-sigterm.exp: New file.
6862 2014-03-18 Pedro Alves <palves@redhat.com>
6865 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6866 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6869 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6871 * gdb.ada/pckd_arr_ren: New testcase.
6873 2014-03-13 Doug Evans <xdje42@gmail.com>
6876 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6877 collect after discarding symbols.
6879 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
6880 Doug Evans <xdje42@gmail.com>
6882 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6883 to history survives a gc.
6885 2014-03-13 Pedro Alves <palves@redhat.com>
6887 * gdb.base/default.exp: Don't test "target procfs".
6889 2014-03-13 Pedro Alves <palves@redhat.com>
6891 * gdb.base/default.exp: Update "target child" and "target procfs"
6892 tests to not expect "Unix".
6894 2014-03-12 Tom Tromey <tromey@redhat.com>
6896 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6897 New procs. Add target-async tests.
6898 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6899 Add target-async tests.
6901 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6903 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6904 'func_start' and 'func_end' for the beginning and end of the
6905 function code, respectively.
6906 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6907 'func_end' instead of 'func' and 'main'.
6909 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6911 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6912 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6913 generate the debug info assembler source.
6915 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6917 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6918 * gdb.dwarf2/arr-subrange.exp: Likewise.
6919 * gdb.dwarf2/dwz.exp: Likewise.
6920 * gdb.dwarf2/method-ptr.exp: Likewise.
6921 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6922 * gdb.dwarf2/subrange.exp: Likewise.
6923 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6924 * gdb.dwarf2/implptrpiece.exp: Likewise.
6925 * gdb.dwarf2/nostaticblock.exp: Likewise.
6927 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6929 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6930 directory to absolute path name arguments.
6932 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6934 * gdb.ada/tagged_access: New testcase.
6936 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6938 * gdb.btrace/data.exp: Update expected output.
6940 2014-03-06 Yao Qi <yao@codesourcery.com>
6942 * gdb.trace/pr16508.exp: New file.
6944 2014-03-05 Pedro Alves <palves@redhat.com>
6947 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6949 (top level): Adjust to use it. Add tests that exercise breakpoint
6950 interaction with the code-cache.
6952 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
6954 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6955 test for 'history-append!'.
6957 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6959 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6960 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6961 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6962 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6963 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6964 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6966 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6968 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6969 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6970 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6972 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6974 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6976 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6978 * gdb.dwarf2/arr-stride.c: New file.
6979 * gdb.dwarf2/arr-stride.exp: New file.
6981 2014-02-26 Pedro Alves <palves@redhat.com>
6983 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6984 that won't ever trigger. Make sure that GDB reports the correct
6985 breakpoint that caused the stop.
6987 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6990 * gdb.base/auto-load-script: New file.
6991 * gdb.base/auto-load.c: New file.
6992 * gdb.base/auto-load.exp: New file.
6995 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6997 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6999 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7000 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7002 2014-02-24 Doug Evans <dje@google.com>
7004 * lib/gdb.exp (run_on_host): Log error output if program fails.
7006 2014-02-21 Pedro Alves <palves@redhat.com>
7008 * gdb.threads/step-after-sr-lock.c: Rename to ...
7009 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7010 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7011 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7014 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7017 * gdb.arch/amd64-stap-special-operands.exp: New file.
7018 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7019 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7020 * gdb.arch/amd64-stap-triplet.S: Likewise.
7021 * gdb.arch/amd64-stap-triplet.c: Likewise.
7023 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7025 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7026 in .section pseudo-op.
7028 2014-02-20 lin zuojian <manjian2006@gmail.com>
7029 Joel Brobecker <brobecker@adacore.com>
7030 Doug Evans <xdje42@gmail.com>
7033 * gdb.dwarf2/dw2-icycle.S: New file.
7034 * gdb.dwarf2/dw2-icycle.c: New file.
7035 * gdb.dwarf2/dw2-icycle.exp: New file.
7037 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7039 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7040 operations on gdb.Value objects.
7041 * gdb.python/py-value-cc.exp: Add new test to test operations on
7044 2014-02-18 Doug Evans <dje@google.com>
7046 * Makefile.in (TESTS): New variable.
7047 (expanded_tests, expanded_tests_or_none): New variables
7048 (check-single): Pass $(expanded_tests_or_none) to runtest.
7049 (check-parallel): Only run tests in $(TESTS) if non-empty.
7050 (check/no-matching-tests-found): New rule.
7051 * README: Document TESTS makefile variable.
7053 2014-02-18 Doug Evans <dje@google.com>
7055 * Makefile.in (check-parallel): rm -rf outputs temp.
7057 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7059 Fix "ERROR: no fileid for" in the testsuite.
7060 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7062 2014-02-12 Doug Evans <dje@google.com>
7064 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7065 (MISCELLANEOUS): New variable.
7066 (clean): rm -rf $(MISCELLANEOUS).
7067 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7068 dwp live in the same directory as symlinks, with each symlink pointed
7069 to a differently named file in a different directory.
7071 2014-02-11 Doug Evans <dje@google.com>
7073 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7074 of Tcl file commands.
7076 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7078 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7081 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7083 * gdb.ada/tick_length_array_enum_idx: New testcase.
7085 2014-02-10 Doug Evans <xdje42@gmail.com>
7087 * configure.ac (AC_OUTPUT): Add gdb.guile.
7088 * configure: Regenerate.
7089 * lib/gdb-guile.exp: New file.
7090 * lib/gdb.exp (get_target_charset): New function.
7091 * gdb.base/help.exp: Update expected output from "apropos apropos".
7092 * gdb.guile/Makefile.in: New file.
7093 * gdb.guile/guile.exp: New file.
7094 * gdb.guile/scm-arch.c: New file.
7095 * gdb.guile/scm-arch.exp: New file.
7096 * gdb.guile/scm-block.c: New file.
7097 * gdb.guile/scm-block.exp: New file.
7098 * gdb.guile/scm-breakpoint.c: New file.
7099 * gdb.guile/scm-breakpoint.exp: New file.
7100 * gdb.guile/scm-disasm.c: New file.
7101 * gdb.guile/scm-disasm.exp: New file.
7102 * gdb.guile/scm-equal.c: New file.
7103 * gdb.guile/scm-equal.exp: New file.
7104 * gdb.guile/scm-error.exp: New file.
7105 * gdb.guile/scm-error.scm: New file.
7106 * gdb.guile/scm-frame-args.c: New file.
7107 * gdb.guile/scm-frame-args.exp: New file.
7108 * gdb.guile/scm-frame-args.scm: New file.
7109 * gdb.guile/scm-frame-inline.c: New file.
7110 * gdb.guile/scm-frame-inline.exp: New file.
7111 * gdb.guile/scm-frame.c: New file.
7112 * gdb.guile/scm-frame.exp: New file.
7113 * gdb.guile/scm-generics.exp: New file.
7114 * gdb.guile/scm-gsmob.exp: New file.
7115 * gdb.guile/scm-iterator.c: New file.
7116 * gdb.guile/scm-iterator.exp: New file.
7117 * gdb.guile/scm-math.c: New file.
7118 * gdb.guile/scm-math.exp: New file.
7119 * gdb.guile/scm-objfile-script-gdb.in: New file.
7120 * gdb.guile/scm-objfile-script.c: New file.
7121 * gdb.guile/scm-objfile-script.exp: New file.
7122 * gdb.guile/scm-objfile.c: New file.
7123 * gdb.guile/scm-objfile.exp: New file.
7124 * gdb.guile/scm-ports.exp: New file.
7125 * gdb.guile/scm-pretty-print.c: New file.
7126 * gdb.guile/scm-pretty-print.exp: New file.
7127 * gdb.guile/scm-pretty-print.scm: New file.
7128 * gdb.guile/scm-section-script.c: New file.
7129 * gdb.guile/scm-section-script.exp: New file.
7130 * gdb.guile/scm-section-script.scm: New file.
7131 * gdb.guile/scm-symbol.c: New file.
7132 * gdb.guile/scm-symbol.exp: New file.
7133 * gdb.guile/scm-symtab-2.c: New file.
7134 * gdb.guile/scm-symtab.c: New file.
7135 * gdb.guile/scm-symtab.exp: New file.
7136 * gdb.guile/scm-type.c: New file.
7137 * gdb.guile/scm-type.exp: New file.
7138 * gdb.guile/scm-value-cc.cc: New file.
7139 * gdb.guile/scm-value-cc.exp: New file.
7140 * gdb.guile/scm-value.c: New file.
7141 * gdb.guile/scm-value.exp: New file.
7142 * gdb.guile/source2.scm: New file.
7143 * gdb.guile/types-module.cc: New file.
7144 * gdb.guile/types-module.exp: New file.
7146 2014-02-10 Yao Qi <yao@codesourcery.com>
7149 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7150 * configure: Regenerated.
7151 * Makefile.in: New file.
7153 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7155 * gdb.python/py-framefilter.exp: Fix typo.
7157 2014-02-08 Yao Qi <yao@codesourcery.com>
7159 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7160 that no =breakpoint-modified is emitted when breakpoints are
7161 modified through MI commands.
7163 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7164 Pedro Alves <palves@redhat.com>
7166 * gdb.threads/step-after-sr-lock.c: New file.
7167 * gdb.threads/step-after-sr-lock.exp: New file.
7169 2014-02-07 Pedro Alves <palves@redhat.com>
7171 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7173 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7175 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7176 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7178 2014-02-06 Doug Evans <xdje42@gmail.com>
7180 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7183 * gdb.gdb/python-interrupts.exp: New file.
7185 2014-02-05 Yao Qi <yao@codesourcery.com>
7187 * gdb.trace/report.exp (use_collected_data): Test the output
7188 of "info threads" and "info inferiors".
7190 2014-02-05 Yao Qi <yao@codesourcery.com>
7194 2013-05-24 Yao Qi <yao@codesourcery.com>
7196 * gdb.trace/tfile.exp: Test inferior and thread.
7198 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7200 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7202 * gdb.base/step-bt.c: Call hello via function pointer to make
7203 sure its first instruction is executed on powerpc64le-linux.
7205 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7207 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7209 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7211 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7212 of the test patterns for use on little-endian systems.
7214 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7216 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7217 (decimal_vector): Fix for little-endian.
7219 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7221 * gdb.arch/sparc-sysstep.exp: New file.
7222 * gdb.arch/sparc-sysstep.c: Likewise.
7224 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7226 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7228 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7230 2014-01-23 Tom Tromey <tromey@redhat.com>
7232 * gdb.ada/array_char_idx: New testcase.
7234 2014-01-23 Tom Tromey <tromey@redhat.com>
7237 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7238 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7241 2014-01-23 Tom Tromey <tromey@redhat.com>
7244 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7245 string from an inferior frame.
7246 * gdb.python/py-framefilter-mi.exp: Update.
7248 2014-01-22 Doug Evans <dje@google.com>
7250 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7252 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7254 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7256 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7258 * gdb.trace/entry-values.exp: Remove excess space character from
7259 regex patterns. Handle s390 call instruction.
7261 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7263 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7264 define "*_start" label. Make "name" static.
7265 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7266 ${name} by references to ${name}_start.
7268 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7270 * gdb.base/info-macros.exp: Remove "debug" from the compile
7273 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7275 * gdb.dlang/demangle.exp: New file.
7277 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7279 * gdb.dlang/primitive-types.exp: New file.
7281 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7283 * configure.ac: Create gdb.dlang/Makefile.
7284 * configure: Regenerate.
7285 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7286 * gdb.dlang/Makefile.in: New file.
7287 * lib/d-support.exp: New file.
7288 * lib/gdb.exp (skip_d_tests): New proc.
7290 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7292 * gdb.btrace/delta.exp: Check reverse stepi.
7293 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7294 * gdb.btrace/finish.exp: New.
7295 * gdb.btrace/next.exp: New.
7296 * gdb.btrace/nexti.exp: New.
7297 * gdb.btrace/record_goto.c: Add comments.
7298 * gdb.btrace/step.exp: New.
7299 * gdb.btrace/stepi.exp: New.
7300 * gdb.btrace/multi-thread-step.c: New.
7301 * gdb.btrace/multi-thread-step.exp: New.
7302 * gdb.btrace/rn-dl-bind.c: New.
7303 * gdb.btrace/rn-dl-bind.exp: New.
7304 * gdb.btrace/data.c: New.
7305 * gdb.btrace/data.exp: New.
7306 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7308 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7310 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7311 * gdb.btrace/exception.exp: Update.
7312 * gdb.btrace/instruction_history.exp: Update.
7313 * gdb.btrace/record_goto.exp: Update.
7314 * gdb.btrace/tailcall.exp: Update.
7315 * gdb.btrace/unknown_functions.exp: Update.
7316 * gdb.btrace/delta.exp: New.
7318 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7320 * gdb.btrace/record_goto.exp: Add backtrace test.
7321 * gdb.btrace/tailcall.exp: Add backtrace test.
7323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7325 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7326 * gdb.btrace/record_goto.c: New.
7327 * gdb.btrace/record_goto.exp: New.
7328 * gdb.btrace/x86-record_goto.S: New.
7330 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7332 * gdb.btrace/function_call_history.exp: Update tests.
7333 * gdb.btrace/instruction_history.exp: Update tests.
7335 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7337 * gdb.btrace/function_call_history.exp: Fix expected field
7338 order for "record function-call-history".
7339 Add new tests for "record function-call-history /c".
7340 * gdb.btrace/exception.cc: New.
7341 * gdb.btrace/exception.exp: New.
7342 * gdb.btrace/tailcall.exp: New.
7343 * gdb.btrace/x86-tailcall.S: New.
7344 * gdb.btrace/x86-tailcall.c: New.
7345 * gdb.btrace/unknown_functions.c: New.
7346 * gdb.btrace/unknown_functions.exp: New.
7347 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7349 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7351 * gdb.btrace/instruction_history.exp: Update.
7352 * gdb.btrace/function_call_history.exp: Update.
7354 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7356 * gdb.btrace/function_call_history.exp: Fix expected function
7358 * gdb.btrace/instruction_history.exp: Initialize traced.
7359 Remove traced_functions.
7361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7363 * gdb.btrace/function_call_history.exp: Update
7364 * gdb.btrace/instruction_history.exp: Update.
7366 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7368 * gdb.btrace/enable.exp: Update expected text.
7370 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7372 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7375 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7377 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7379 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7381 * lib/gdb.exp (supports_process_record): Return true for
7382 arm*-linux*. (supports_reverse): Likewise.
7384 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7388 * gdb.python/py-type.c: Enhance test case.
7389 * gdb.python/py-value-cc.cc: Likewise
7390 * gdb.python/py-type.exp: Add new tests.
7391 * gdb.python/py-value-cc.exp: Likewise
7393 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7394 Pedro Alves <palves@redhat.com>
7396 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7398 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7399 references to ${name}_start by references to ${name}.
7401 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7403 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7405 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7407 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7409 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7410 Pedro Alves <palves@redhat.com>
7412 * gdb.mi/mi-info-os.exp: Connect to the target with
7415 2014-01-08 Pedro Alves <palves@redhat.com>
7417 * gdb.threads/reconnect-signal.c: New file.
7418 * gdb.threads/reconnect-signal.exp: New file.
7420 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7422 * gdb.base/source-dir.exp: New file.
7424 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7426 * gdb.ada/mi_interface: New testcase.
7428 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7430 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7431 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7432 gdb.ada/pp-rec-component/pck.ads: New files.
7434 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7436 * gdb.python/py-pp-integral.c: New file.
7437 * gdb.python/py-pp-integral.py: New file.
7438 * gdb.python/py-pp-integral.exp: New file.
7440 For older changes see ChangeLog-1993-2013.
7446 ;; version-control: never
7449 Copyright 2014-2016 Free Software Foundation, Inc.
7450 Copying and distribution of this file, with or without modification,
7451 are permitted provided the copyright notice and this notice are preserved.