1 2016-02-09 Keith Seitz <keiths@redhat.com>
4 * gdb.base/infcall-exec.c: New file.
5 * gdb.base/infcall-exec2.c: New file.
6 * gdb.base/infcall-exec.exp: New file.
8 2016-02-09 Keith Seitz <keiths@redhat.com>
10 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11 (toplevel): Call test_bkpt_address.
13 2016-02-09 Keith Seitz <keiths@redhat.com>
16 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17 (toplevel): Call test_bkpt_address.
19 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
21 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
23 * configure: Regenerate.
25 2016-02-09 Pedro Alves <palves@redhat.com>
28 * gdb.base/execl-update-breakpoints.c (some_function): New
31 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
32 Tighten expected GDB output.
34 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
36 * Makefile.in (ALL_SUBDIRS): Remove.
37 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
38 (distclean maintainer-clean realclean): Likewise.
39 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
40 * configure: Regenerate.
41 * gdb.ada/Makefile.in: Delete.
42 * gdb.arch/Makefile.in: Likewise.
43 * gdb.asm/Makefile.in: Likewise.
44 * gdb.base/Makefile.in: Likewise.
45 * gdb.btrace/Makefile.in: Likewise.
46 * gdb.cell/Makefile.in: Likewise.
47 * gdb.compile/Makefile.in: Likewise.
48 * gdb.cp/Makefile.in: Likewise.
49 * gdb.disasm/Makefile.in: Likewise.
50 * gdb.dlang/Makefile.in: Likewise.
51 * gdb.dwarf2/Makefile.in: Likewise.
52 * gdb.fortran/Makefile.in: Likewise.
53 * gdb.gdb/Makefile.in: Likewise.
54 * gdb.go/Makefile.in: Likewise.
55 * gdb.guile/Makefile.in: Likewise.
56 * gdb.java/Makefile.in: Likewise.
57 * gdb.linespec/Makefile.in: Likewise.
58 * gdb.mi/Makefile.in: Likewise.
59 * gdb.modula2/Makefile.in: Likewise.
60 * gdb.multi/Makefile.in: Likewise.
61 * gdb.objc/Makefile.in: Likewise.
62 * gdb.opencl/Makefile.in: Likewise.
63 * gdb.opt/Makefile.in: Likewise.
64 * gdb.pascal/Makefile.in: Likewise.
65 * gdb.perf/Makefile.in: Likewise.
66 * gdb.python/Makefile.in: Likewise.
67 * gdb.reverse/Makefile.in: Likewise.
68 * gdb.server/Makefile.in: Likewise.
69 * gdb.stabs/Makefile.in: Likewise.
70 * gdb.threads/Makefile.in: Likewise.
71 * gdb.trace/Makefile.in: Likewise.
72 * gdb.xml/Makefile.in: Likewise.
73 * lib/gdb.exp (make_gdb_parallel_path): Add check for
75 (standard_output_file): Remove check for GDB_PARALLEL, always
76 return path in outputs/$subdir/$testname.
78 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
80 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
81 (site.exp): Assign abs_srcdir to tcl's srcdir.
83 2016-02-04 Yao Qi <yao.qi@linaro.org>
85 * gdb.base/foll-exec-mode.c: Include limits.h.
86 (main): Add parameters argc and argv. Get directory from
88 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
90 * gdb.base/foll-exec.c: Include limits.h.
91 (main): Add parameters argc and argv.
92 Get directory from argv[0].
93 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
94 Adjust tests on the number of lines as source code changed.
95 * gdb.base/foll-vfork-exit.c: Include limits.h.
96 (main): Add one line of statement before vfork.
97 * gdb.base/foll-vfork.c: Include limits.h and string.h.
98 (main): Add parameters argc and argv. Get directory from
100 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
101 (setup_gdb): Set tbreak to skip some source lines.
102 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
103 (main): Add parameters argc and argv. Get directory from
105 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
107 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
108 (main): Add parameters argc and argv. Get directory from
110 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
113 2016-02-01 Doug Evans <dje@google.com>
115 * gdb.base/skip.exp: Clean up multiple references to same test name.
117 2016-02-01 Pedro Alves <palves@redhat.com>
120 * gdb.threads/forking-threads-plus-breakpoint.exp
121 (displaced_stepping_supported): New global.
122 (probe_displaced_stepping_support): New procedure.
123 (do_test): Add 'displaced' parameter, and use it.
124 (top level): Check for displaced stepping support. Add displaced
125 stepping on/off testing axis.
127 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
129 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
130 pointer. Don't perform further tests on the unassociated pointer
131 if the first test fails.
133 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
135 * gdb.base/max-value-size.c: New file.
136 * gdb.base/max-value-size.exp: New file.
137 * gdb.base/huge.exp: Disable max-value-size for this test.
139 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
141 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
143 2016-01-28 Yao Qi <yao.qi@linaro.org>
145 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
147 2016-01-25 Pedro Alves <palves@redhat.com>
150 * gdb.base/fork-running-state.c: New file.
151 * gdb.base/fork-running-state.exp: New file.
153 2016-01-25 Pedro Alves <palves@redhat.com>
156 * gdb.base/catch-fork-kill.c: New file.
157 * gdb.base/catch-fork-kill.exp: New file.
159 2016-01-25 Pedro Alves <palves@redhat.com>
161 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
162 Delete, moved to lib/gdb.exp.
163 * gdb.threads/forking-threads-plus-breakpoint.exp
164 (foreach_with_prefix): Likewise.
165 * gdb.threads/process-dies-while-handling-bp.exp
166 (foreach_with_prefix): Likewise.
167 * lib/gdb.exp (foreach_with_prefix): New procedure.
169 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
171 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
172 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
174 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
176 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
179 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
180 Pedro Alves <palves@redhat.com>
182 Fix testsuite compatibility with Guile.
183 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
186 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
188 Fix testsuite compatibility with Guile.
189 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
190 (thread 1): New test for backtrace through signal handler.
192 2016-01-22 Yao Qi <yao.qi@linaro.org>
195 * gdb.base/multi-forks.c: Include
196 ../lib/unbuffer_output.c
197 (main): Call gdb_unbuffer_output.
199 2016-01-21 Doug Evans <dje@google.com>
201 * lib/ada.exp (gdb_compile_ada): Fix typo.
203 2016-01-21 Joel Brobecker <brobecker@adacore.com>
205 * gdb.base/break-fun-addr.exp: New file.
206 * gdb.base/break-fun-addr1.c: New file.
207 * gdb.base/break-fun-addr2.c: New file.
209 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
211 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
212 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
215 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
217 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
218 when GDB can not set the vector return value. Add more comments
221 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
223 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
226 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
228 * Makefile.in (DO_RUNTEST): Add --status and update usages.
230 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
232 * Makefile.in (check-single): Pass --status to runtest.
233 (check/%.exp): Likewise.
235 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
237 * Makefile.in (check-parallel): Propagate return code from make
240 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
242 * gdb.trace/ftrace.exp: Fix expected message on continue.
243 * gdb.trace/pending.exp: Fix expected message on continue.
244 * gdb.trace/trace-break.exp: Fix expected message on continue.
246 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
248 * lib/gdb.exp (gdb_test): Remove unused global references.
250 2016-01-18 Pedro Alves <palves@redhat.com>
252 * gdb.base/async-shell.exp: Adjust expected output.
253 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
254 * gdb.base/siginfo-thread.exp: Adjust expected output.
255 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
256 * gdb.java/jnpe.exp: Adjust expected output.
257 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
258 * gdb.threads/continue-pending-status.exp: Adjust expected output.
259 * gdb.threads/leader-exit.exp: Adjust expected output.
260 * gdb.threads/manythreads.exp: Adjust expected output.
261 * gdb.threads/pthreads.exp: Adjust expected output.
262 * gdb.threads/schedlock.exp: Adjust expected output.
263 * gdb.threads/siginfo-threads.exp: Adjust expected output.
264 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
266 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
268 * gdb.threads/sigthread.exp: Adjust expected output.
269 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
271 2016-01-18 Yao Qi <yao.qi@linaro.org>
273 * gdb.guile/scm-section-script.c: Replace @progbits with
275 * gdb.python/py-section-script.c: Likewise.
277 2016-01-15 Pedro Alves <palves@redhat.com>
279 * gdb.multi/tids.exp: Test star wildcard ranges.
281 2016-01-15 Pedro Alves <palves@redhat.com>
283 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
284 command from "thread apply" invocation.
285 (thr_apply_info_thr_invalid): Default the expected output to the
287 (top level): Add tests that use convenience variables. Add tests
288 for "thread apply" with a valid TID list, but missing the command.
290 2016-01-13 Pedro Alves <palves@redhat.com>
292 * gdb.base/default.exp: Expect $_gthread as well.
293 * gdb.multi/tids.exp: Test $_gthread.
294 * gdb.threads/thread-specific.exp: Test $_gthread.
296 2016-01-13 Pedro Alves <palves@redhat.com>
298 * gdb.multi/tids.exp: Test "info threads -gid".
300 2016-01-13 Pedro Alves <palves@redhat.com>
302 * gdb.multi/tids.exp: Test InferiorThread.global_num and
304 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
306 2016-01-07 Pedro Alves <palves@redhat.com>
308 * gdb.base/break.exp: Adjust to output changes.
309 * gdb.base/hbreak2.exp: Likewise.
310 * gdb.base/sepdebug.exp: Likewise.
311 * gdb.base/watch_thread_num.exp: Likewise.
312 * gdb.linespec/keywords.exp: Likewise.
313 * gdb.multi/info-threads.exp: Likewise.
314 * gdb.threads/thread-find.exp: Likewise.
315 * gdb.multi/tids.c: New file.
316 * gdb.multi/tids.exp: New file.
318 2016-01-13 Pedro Alves <palves@redhat.com>
320 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
322 2016-01-13 Pedro Alves <palves@redhat.com>
324 * gdb.base/default.exp: Expect $_inferior as well.
325 * gdb.multi/base.exp: Test $_inferior.
327 2016-01-13 Pedro Alves <palves@redhat.com>
330 * gdb.base/catch-signal-siginfo-cond.c: New file.
331 * gdb.base/catch-signal-siginfo-cond.exp: New file.
333 2016-01-12 Josh Stone <jistone@redhat.com>
334 Philippe Waroquiers <philippe.waroquiers@skynet.be>
336 * gdb.base/catch-syscall.c (do_execve): New variable.
337 (main): Conditionally trigger an execve.
338 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
339 (test_catch_syscall_execve): New, check entry/return across execve.
340 (do_syscall_tests): Call test_catch_syscall_execve.
342 2016-01-12 Pedro Alves <palves@redhat.com>
344 * gdb.base/random-signal.exp (do_test): New procedure, with body
345 of testcase moved in.
347 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
348 Pedro Alves <palves@redhat.com>
350 * gdb.base/funcargs.exp (finish from indirectly called function):
351 Reintroduce the case for 'First'.
353 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
354 Pedro Alves <palves@redhat.com>
356 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
357 (tcatch_vfork_then_child_follow_exec)
358 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
361 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
363 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
364 and repeats to unlimited.
365 * gdb.python/py-value.exp: Likewise.
366 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
367 and repeats to unlimited.
369 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
371 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
372 and reordering the functions.
373 * gdb.multi/hangout.c: Likewise.
374 * gdb.multi/hello.c: Likewise.
376 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
378 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
380 (SingleStatisticTestResult.report): Use dict.keys instead of
383 2016-01-06 Pedro Alves <palves@redhat.com>
385 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
387 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
389 * gdb.btrace/dlopen.exp: New.
390 * gdb.btrace/dlopen.c: New.
391 * gdb.btrace/dlopen-dso.c: New.
393 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
395 * lib/gdb.exp (gdb_test): Update comments to clarify that the
396 PATTERN argument is optional.
398 2015-12-24 Joel Brobecker <brobecker@adacore.com>
400 * lib/ada.exp (target_compile_ada_from_dir): New function.
401 (gdb_compile_ada): Reimplement avoiding the use of project files.
402 * gdb.ada/gnat_ada.gpr: Delete.
403 * gdb.ada/cond_lang.exp: Adjust test to make path before
405 * gdb.ada/small_reg_param.exp: Likewise.
407 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
409 * gdb.base/foll-vork.exp: Remove HP-UX special case.
411 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
413 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
416 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
418 * gdb.base/break.exp: Remove dead code.
419 * gdb.base/sepdebug.exp: Likewise.
421 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
423 * gdb.asm/asm-source.exp: Remove HP-UX references.
424 * gdb.base/annota1.exp: Likewise.
425 * gdb.base/annota3.exp: Likewise.
426 * gdb.base/attach.exp: Likewise.
427 * gdb.base/bigcore.exp: Likewise.
428 * gdb.base/break.exp: Likewise.
429 * gdb.base/call-ar-st.exp: Likewise.
430 * gdb.base/callfuncs.exp: Likewise.
431 * gdb.base/catch-fork-static.exp: Likewise.
432 * gdb.base/display.exp: Likewise.
433 * gdb.base/foll-exec-mode.exp: Likewise.
434 * gdb.base/foll-exec.exp: Likewise.
435 * gdb.base/foll-fork.exp: Likewise.
436 * gdb.base/foll-vfork.exp: Likewise.
437 * gdb.base/funcargs.exp: Likewise.
438 * gdb.base/hbreak2.exp: Likewise.
439 * gdb.base/inferior-died.exp: Likewise.
440 * gdb.base/interrupt.exp: Likewise.
441 * gdb.base/multi-forks.exp: Likewise.
442 * gdb.base/nodebug.exp: Likewise.
443 * gdb.base/sepdebug.exp: Likewise.
444 * gdb.base/solib1.c: Likewise.
445 * gdb.base/step-test.exp: Likewise.
446 * gdb.mi/non-stop.c: Likewise.
447 * gdb.mi/pthreads.c: Likewise.
448 * gdb.multi/bkpt-multi-exec.ex: Likewise.
449 * gdb.threads/pthreads.c: Likewise.
450 * gdb.threads/staticthreads.exp: Likewise.
451 * lib/future.exp: Likewise.
452 * lib/gdb.exp: Likewise.
453 * gdb.base/so-indr-cl.c: Remove.
454 * gdb.base/so-indr-cl.exp: Likewise.
455 * gdb.base/solib.c: Likewise.
456 * gdb.base/solib.exp: Likewise.
457 * gdb.base/solib2.c: Likewise.
459 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
461 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
462 * gdb.base/call-ar-st.exp: Likewise.
463 * gdb.base/callfuncs.exp: Likewise.
464 * gdb.base/condbreak.exp: Likewise.
465 * gdb.base/constvars.exp: Likewise.
466 * gdb.base/hbreak2.exp: Likewise.
467 * gdb.base/langs.exp: Likewise.
468 * gdb.base/list.exp: Likewise.
469 * gdb.base/long_long.exp: Likewise.
470 * gdb.base/ptype.exp: Likewise.
471 * gdb.base/scope.exp: Likewise.
472 * gdb.base/signals.exp: Likewise.
473 * gdb.base/so-impl-ld.exp: Likewise.
474 * gdb.base/varargs.exp: Likewise.
475 * gdb.base/volatile.exp: Likewise.
476 * gdb.base/whatis.exp: Likewise.
477 * gdb.cp/cplusfuncs.exp: Likewise.
478 * gdb.cp/inherit.exp: Likewise.
479 * gdb.cp/local.exp: Likewise.
480 * gdb.cp/member-ptr.exp: Likewise.
481 * gdb.cp/method.exp: Likewise.
482 * gdb.cp/overload.exp: Likewise.
483 * gdb.cp/templates.exp: Likewise.
484 * gdb.stabs/weird.exp: Likewise.
485 * lib/compiler.c: Likewise.
486 * lib/compiler.cc: Likewise.
487 * lib/cp-support.exp: Likewise.
488 * lib/gdb.exp: Likewise.
490 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
492 * configure.ac: Remove HP-UX case.
493 * configure: Regenerate.
495 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
497 * lib/gdb.exp (gdb_compile): Add function doc.
499 2015-12-17 Pedro Alves <palves@redhat.com>
502 * gdb.multi/info-threads.exp: New file.
504 2015-12-15 Yao Qi <yao.qi@linaro.org>
506 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
509 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
511 * gdb.base/history-duplicates.exp: Skip if no readline support.
513 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
515 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
517 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
519 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
521 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
523 * gdb.base/completion.exp: Skip tests that interrupt GDB with
524 ctrl-C if nointerrupts target property is set.
525 * gdb.base/double-prompt-target-event-error.exp: Likewise.
526 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
527 * gdb.base/paginate-bg-execution.exp: Likewise.
528 * gdb.base/paginate-execution-startup.exp: Likewise.
529 * gdb.base/random-signal.exp: Likewise.
530 * gdb.base/range-stepping.exp: Likewise.
531 * gdb.cp/annota2.exp: Likewise.
532 * gdb.cp/annota3.exp: Likewise.
533 * gdb.gdb/selftest.exp: Likewise.
534 * gdb.threads/continue-pending-status.exp: Likewise.
535 * gdb.threads/leader-exit.exp: Likewise.
536 * gdb.threads/manythreads.exp: Likewise.
537 * gdb.threads/pthreads.exp: Likewise.
538 * gdb.threads/schedlock.exp: Likewise.
539 * gdb.threads/sigthread.exp: Likewise.
541 2015-12-11 Don Breazeal <donb@codesourcery.com>
543 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
545 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
546 * gdb.base/foll-exec.exp (main): Enable for target remote.
547 * gdb.base/foll-fork.exp (main): Likewise.
548 * gdb.base/foll-vfork.exp (main): Likewise.
549 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
550 (proc continue_to_exit_bp_loc): Use clean_restart.
551 * gdb.base/pie-execl.exp (main): Disable for target remote.
552 * gdb.base/watch-vfork.exp (main): Enable for target remote.
553 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
554 * gdb.threads/execl.exp (main): Likewise.
555 * gdb.threads/fork-child-threads.exp (main): Likewise.
556 * gdb.threads/fork-plus-threads.exp (main): Disable for target
558 * gdb.threads/fork-thread-pending.exp (main): Enable for target
560 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
561 pid.tid style ptids, instead of just tid.
562 * gdb.threads/thread-execl.exp (main): Enable for target remote.
563 * gdb.threads/watchpoint-fork.exp (main): Likewise.
564 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
565 ptids, instead of just tid.
567 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
569 * gdb.base/list.exp (test_list_forward): Add end of file error
571 (test_repeat_list_command): Add end of file error test.
572 (test_list_backwards): Add beginning of file error test.
574 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
576 * gdb.base/list.exp (test_list_invalid_args): New function,
579 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
581 * gdb.base/list.exp (test_list): Make test names unique.
583 2015-12-11 Yao Qi <yao.qi@linaro.org>
585 * gdb.base/coremaker2.c: Remove.
587 2015-12-10 Pedro Alves <palves@redhat.com>
589 * gdb.multi/base.exp: Remove stale "spaces" references.
591 2015-12-10 Pedro Alves <palves@redhat.com>
593 * gdb.multi/base.exp: Don't use nowarnings.
594 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
595 * gdb.multi/hangout.c: Include stdio.h.
596 * gdb.multi/hello.c: Include stdlib.h.
597 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
598 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
599 * gdb.multi/multi-arch.exp: Don't use nowarnings.
601 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
603 * gdb.dwarf2/dw2-ranges-base.c: New file.
604 * gdb.dwarf2/dw2-ranges-base.exp: New file.
605 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
606 support additional line table, and debug ranges generation.
607 (Dwarf::ranges): New function, generate .debug_ranges.
608 (Dwarf::lines): Support generating simple line table programs.
609 (Dwarf::assemble): Initialise new namespace variables.
611 2015-12-09 Kevin Buettner <kevinb@redhat.com>
613 * gdb.base/async.exp (proc test_background): Add case for
614 asynchronous execution not supported.
616 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
618 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
619 format and change test names to make them unique.
621 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
622 Pedro Alves <pedro@redhat.com>
625 Add checking of floatformats setup on x86_64 hosts.
626 * gdb.arch/i386-float.S (main): Load bigval and smallval.
627 (smallval, bigval): New labels/constants.
628 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
629 float" after loading bigval and smallval.
631 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
633 * gdb.ada/fun_overload_menu.exp: New testcase.
634 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
636 2015-12-04 Josh Stone <jistone@redhat.com>
638 * gdb.base/catch-fork-static.exp: New.
640 2015-12-03 Yao Qi <yao.qi@linaro.org>
642 * gdb.base/sizeof.c: Don't include stdio.h and
643 ../lib/unbuffer_output.c.
644 (main): New variable 'size' and 'value'. Remove printf and
645 gdb_unbuffer_output. Assign return value to size and value.
646 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
648 (check_sizeof): Check the result by printing variable 'size'.
649 (check_valueof): Check the result by printing variable 'value'.
651 2015-12-01 Yao Qi <yao.qi@linaro.org>
653 * gdb.base/disp-step-syscall.exp: Define syscall instruction
654 for aarch64*-*-linux* target.
656 2015-11-30 Pedro Alves <palves@redhat.com>
658 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
660 2015-11-30 Pedro Alves <palves@redhat.com>
662 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
663 Handle non-stop mode vCont replies.
665 2015-11-30 Pedro Alves <palves@redhat.com>
667 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
668 prepare_for_testing. Start gdb with "set non-stop on" appended to
669 GDBFLAGS. Lax expected stop output.
671 2015-11-27 Yao Qi <yao.qi@linaro.org>
673 * gdb.arch/arm-neon.exp: New.
674 * gdb.arch/arm-neon.c: New.
676 2015-11-27 Yao Qi <yao.qi@linaro.org>
678 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
680 2015-11-27 Yao Qi <yao.qi@linaro.org>
682 * gdb.cp/annota2.exp: Allow multiple occurrences of the
683 frames-invalid annotation.
685 2015-11-27 Yao Qi <yao.qi@linaro.org>
687 * gdb.cp/annota2.exp: Use ${frames_invalid}.
689 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
691 * gdb.threads/names.exp: New file.
692 * gdb.threads/names.c: New file.
693 * README: Mention gdb,no_thread_names.
695 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
698 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
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/display.exp: Expect displays to be sorted in ascending
712 order. Use multi_line.
713 * gdb.base/solib-display.exp: Likewise.
715 2015-11-24 Pedro Alves <palves@redhat.com>
718 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
719 threads in ascending order.
720 * gdb.base/foll-fork.exp: Likewise.
721 * gdb.base/foll-vfork.exp: Likewise.
722 * gdb.base/multi-forks.exp: Likewise.
723 * gdb.mi/mi-nonstop.exp: Likewise.
724 * gdb.mi/mi-nsintrall.exp: Likewise.
725 * gdb.multi/base.exp: Likewise.
726 * gdb.multi/multi-arch.exp: Likewise.
727 * gdb.python/py-inferior.exp: Likewise.
728 * gdb.threads/break-while-running.exp: Likewise.
729 * gdb.threads/execl.exp: Likewise.
730 * gdb.threads/gcore-thread.exp: Likewise.
731 * gdb.threads/info-threads-cur-sal.exp: Likewise.
732 * gdb.threads/kill.exp: Likewise.
733 * gdb.threads/linux-dp.exp: Likewise.
734 * gdb.threads/multiple-step-overs.exp: Likewise.
735 * gdb.threads/next-bp-other-thread.exp: Likewise.
736 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
737 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
738 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
739 * gdb.threads/thread-find.exp: Likewise.
740 * gdb.threads/tls.exp: Likewise.
741 * lib/mi-support.exp (mi_reverse_list): Delete.
742 (mi_check_thread_states): No longer reverse list.
744 2015-11-24 Pedro Alves <palves@redhat.com>
746 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
749 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
751 * gdb.trace/actions.c: Include trace-common.h.
752 (main): Add a location for a fast tracepoint.
753 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
754 the normal tracepoints.
755 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
757 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
759 * save-trace.exp: Factor out code to these...
760 (gdb_save_tracepoints): New.
761 (gdb_load_tracepoints): New.
762 (do_save_load_test): New.
764 2015-11-23 Kevin Buettner <kevinb@redhat.com>
766 * gdb.base/asmlabel.exp: New test.
767 * gdb.base/asmlabel.c: New test case.
769 2015-11-23 Joel Brobecker <brobecker@adacore.com>
771 * gdb.base/wrong_frame_bt_full-main.c: New file.
772 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
773 * gdb.base/wrong_frame_bt_full.exp: New file.
775 2015-11-23 Joel Brobecker <brobecker@adacore.com>
777 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
779 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
781 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
782 pstate register when comparing registers values in
783 sparc64-*-linux-gnu targets to avoid spurious differences.
785 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
787 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
789 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
791 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
792 as type argument to gdb_compile.
793 * gdb.base/nested-subp2.exp: Likewise.
794 * gdb.base/nested-subp3.exp: Likewise.
796 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
798 * lib/dwarf.exp (_note): Fix left shift of negative value.
799 * gdb.trace/trace-condition.exp: Likewise.
801 2015-11-13 Yao Qi <yao.qi@linaro.org>
803 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
805 (test_scalar_returns): Likewise.
806 * gdb.base/d10v.ld: Remove.
807 * gdb.base/overlays.exp: Remove the target triplet checking for
809 * gdb.base/structs.exp (test_struct_returns): Remove the
811 (test_struct_calls): Likewise.
813 2015-11-13 Yao Qi <yao.qi@linaro.org>
815 * gdb.base/gnu_vector.exp: Check the return value by "p res".
816 * gdb.base/gnu_vector.c: Don't include stdio.h.
817 (main): Don't print res and call add_some_intvecs.
819 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
821 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
824 (func4): Use FAST_TRACEPOINT_LABEL.
825 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
828 (thread_function): Use FAST_TRACEPOINT_LABEL.
829 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
831 (marker): Use FAST_TRACEPOINT_LABEL.
832 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
834 (pendfunc): Use FAST_TRACEPOINT_LABEL.
835 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
837 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
838 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
841 (marker): Use FAST_TRACEPOINT_LABEL.
842 * gdb.trace/trace-common.h: New header.
843 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
846 (marker): Use FAST_TRACEPOINT_LABEL.
847 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
849 (thread_function): Use FAST_TRACEPOINT_LABEL.
851 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
853 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
855 * gdb.trace/change-loc.exp: Use global pcreg definition.
856 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
857 * gdb.trace/entry-values.exp: Use global spreg definition, add $
859 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
860 * gdb.trace/pending.exp: Likewise.
861 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
862 * gdb.trace/trace-break.exp: Likewise.
863 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
865 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
866 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
868 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
870 2015-11-09 Joel Brobecker <brobecker@adacore.com>
872 * gdb.ada/fin_fun_out: New testcase.
874 2015-11-07 Kevin Buettner <kevinb@redhat.com>
876 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
877 value associated with DW_AT_byte_size.
878 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
879 constants for DW_AT_byte_size, DW_AT_lower_bound, and
882 2015-11-07 Kevin Buettner <kevinb@redhat.com>
884 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
885 (gdb_target_symbol_prefix_flags): Define in terms of _asm
887 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
888 gdb.dwarf2/dw2-canonicalize-type.exp,
889 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
890 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
891 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
892 provided by gdb_target_symbol_prefix_flags_asm.
893 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
894 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
895 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
896 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
897 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
898 macros where needed). Use this macro for symbols which require
899 the prefix provided by SYMBOL_PREFIX.
901 2015-11-05 Kevin Buettner <kevinb@redhat.com>
903 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
905 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
906 representing expressions, of more than one list element.
907 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
908 to prepend linker symbol prefix to f.
909 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
911 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
912 Likewise, for f and g.
913 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
915 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
917 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
918 table_1_ptr and table_2_ptr.
920 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
921 Joel Brobecker <brobecker@adacore.com>
923 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
925 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
927 * gdb.reverse/s390-mvcle.c: New test.
928 * gdb.reverse/s390-mvcle.exp: New file.
929 * lib/gdb.exp: Enable reverse tests on s390*-linux.
931 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
933 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
935 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
937 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
939 * gdb.reverse/getresuid-reverse.exp: Likewise.
940 * gdb.reverse/pipe-reverse.exp: Likewise.
941 * gdb.reverse/readv-reverse.exp: Likewise.
942 * gdb.reverse/recvmsg-reverse.exp: Likewise.
943 * gdb.reverse/time-reverse.exp: Likewise.
944 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
946 2015-10-30 Yao Qi <yao.qi@linaro.org>
948 * gdb.threads/wp-replication.c (watch_count_done): Remove.
949 (empty_cycle): Remove.
950 (main): Don't call empty_cycle. Don't use watch_count_done.
951 * gdb.threads/wp-replication.exp: Don't set breakpoint on
952 empty_cycle. Rewrite the code counting HW watchpoints.
954 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
956 * gdb.reverse/fstatat-reverse.c: New test.
957 * gdb.reverse/fstatat-reverse.exp: New file.
958 * gdb.reverse/getresuid-reverse.c: New test.
959 * gdb.reverse/getresuid-reverse.exp: New file.
960 * gdb.reverse/pipe-reverse.c: New test.
961 * gdb.reverse/pipe-reverse.exp: New file.
962 * gdb.reverse/readv-reverse.c: New test.
963 * gdb.reverse/readv-reverse.exp: New file.
964 * gdb.reverse/recvmsg-reverse.c: New test.
965 * gdb.reverse/recvmsg-reverse.exp: New file.
966 * gdb.reverse/time-reverse.c: New test.
967 * gdb.reverse/time-reverse.exp: New file.
968 * gdb.reverse/waitpid-reverse.c: New test.
969 * gdb.reverse/waitpid-reverse.exp: New file.
971 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
973 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
975 2015-10-26 Doug Evans <dje@google.com>
978 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
979 * gdb.dwarf2/bad-regnum.c: New file.
980 * gdb.dwarf2/bad-regnum.exp: New file.
982 2015-10-26 Doug Evans <dje@google.com>
985 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
988 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
990 * gdb.compile/compile.exp (compile code globalvar): Update expectation
991 for a change by "Mention language in compile error message".
993 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
996 * gdb.python/py-type.c (C::a_method): New.
997 (C::a_const_method): New.
998 (C::a_static_method): New.
1000 * gdb.python/py-type.exp (test_fields): Test getting fields
1001 from function and method.
1003 2015-10-21 Keven Boell <keven.boell@intel.com>
1005 * gdb.fortran/vla-alloc-assoc.exp: New file.
1006 * gdb.fortran/vla-datatypes.exp: New file.
1007 * gdb.fortran/vla-datatypes.f90: New file.
1008 * gdb.fortran/vla-history.exp: New file.
1009 * gdb.fortran/vla-ptype-sub.exp: New file.
1010 * gdb.fortran/vla-ptype.exp: New file.
1011 * gdb.fortran/vla-sizeof.exp: New file.
1012 * gdb.fortran/vla-sub.f90: New file.
1013 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1014 * gdb.fortran/vla-value-sub-finish.exp: New file.
1015 * gdb.fortran/vla-value-sub.exp: New file.
1016 * gdb.fortran/vla-value.exp: New file.
1017 * gdb.fortran/vla-ptr-info.exp: New file.
1018 * gdb.mi/mi-vla-fortran.exp: New file.
1019 * gdb.mi/vla.f90: New file.
1021 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1023 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1024 of hardwired timeout value.
1026 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1027 Pedro Alves <palves@redhat.com>
1029 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1030 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1032 2015-10-19 Josh Stone <jistone@redhat.com>
1034 * gdb.base/catch-syscall.c: Include <sched.h>.
1035 (unknown_syscall): New variable.
1036 (main): Trigger a vfork and an unknown syscall.
1037 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1038 (unknown_syscall_number): Likewise.
1039 (check_call_to_syscall): Accept an optional syscall pattern.
1040 (check_return_from_syscall): Likewise.
1041 (check_continue): Likewise.
1042 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1043 (test_catch_syscall_skipping_return): New test toggling off 'catch
1044 syscall' to step over the syscall return, then toggling back on.
1045 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1046 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1047 (do_syscall_tests): Call test_catch_syscall_without_args and
1048 test_catch_syscall_mid_vfork.
1049 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1050 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1052 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1054 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1055 print g_vE): Add new pass patterns.
1056 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1057 print various symbol names for vptr fields.
1059 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1061 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1064 2015-10-12 Yao Qi <yao.qi@linaro.org>
1066 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1068 2015-10-12 Yao Qi <yao.qi@linaro.org>
1070 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1071 is aarch64*-*-linux*.
1073 2015-10-12 Yao Qi <yao.qi@linaro.org>
1075 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1076 (can_relocate_bcond_true): ... it.
1077 (can_relocate_bcond_false): New function.
1079 (can_relocate_bl): Likewise.
1080 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1083 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1085 * gdb.base/nested-addr.c: New file.
1086 * gdb.base/nested-addr.exp: New testcase.
1088 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1090 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1091 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1092 its output. Ignore the output of "record goto begin" and instead
1093 check that GDB is replaying.
1095 2015-10-09 Pedro Alves <palves@redhat.com>
1097 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1098 (top level): Use it in the run with no args test.
1100 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1102 * gdb.dlang/properties.exp: New file.
1104 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1106 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1107 whether or not address 0x1000 is mapped on the target.
1109 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1111 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1114 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1116 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1117 instruction-history test.
1119 2015-09-28 Doug Evans <dje@google.com>
1121 * gdb.base/gcore.c (array_func): Add reference to static_array.
1123 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1125 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1128 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1130 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1131 short or char as base type.
1133 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1135 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1136 to allow any size enum.
1138 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1140 * gdb.ada/array_ptr_renaming.exp: New testcase.
1141 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1142 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1144 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1146 * gdb.trace/ftrace-lock.c: New file.
1147 * gdb.trace/ftrace-lock.exp: New file.
1149 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1151 * gdb.arch/insn-reloc.c: New file.
1152 * gdb.arch/ftrace-insn-reloc.exp: New file.
1154 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1156 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1158 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1159 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1160 * gdb.trace/range-stepping.c: Likewise.
1161 * gdb.trace/trace-break.c: Likewise.
1162 * gdb.trace/trace-mt.c (thread_function): Likewise.
1163 * gdb.trace/ftrace.c (marker): Likewise.
1164 * gdb.trace/trace-condition.c (marker): Likewise.
1165 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1166 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1169 2015-09-18 Doug Evans <xdje42@gmail.com>
1171 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1172 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1174 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1176 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1181 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1182 the pending breakpoint. Remove timeout override for "Run till
1183 MI pending breakpoint on pendfunc3 on thread 2" test.
1185 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1187 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1190 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1192 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1193 in breakpoint filename pattern.
1195 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1197 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1199 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1201 * gdb.linespec/explicit.exp: Check for readline support for
1202 tab-completion tests. Fix obvious typo.
1204 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1206 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1209 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1211 * gdb.btrace/non-stop.c: New.
1212 * gdb.btrace/non-stop.exp: New.
1214 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1215 Yao Qi <yao.qi@linaro.org>
1217 * gdb.trace/trace-condition.c: New file.
1218 * gdb.trace/trace-condition.exp: New file.
1220 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1222 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1223 for testing bytecode compilation.
1225 2015-09-16 Pedro Alves <palves@redhat.com>
1226 Sandra Loosemore <sandra@codesourcery.com>
1228 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1229 (SECONDS): Redefine.
1230 (main): Call pthread_kill and alarm early.
1231 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1233 (test): If the target can't hardware step and doesn't support
1234 displaced stepping, increase the timeout.
1236 2015-09-16 Pedro Alves <palves@redhat.com>
1238 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1239 (enable_debug): New procedures.
1240 (test): Use them. Bail out if waiting for threads fails.
1241 (top level): Bail out if a test fails.
1243 2015-09-16 Yao Qi <yao.qi@linaro.org>
1245 * gdb.asm/asm-source.exp: Set asm-arch for
1246 aarch64*-*-* target.
1247 * gdb.asm/aarch64.inc: New file.
1249 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1251 * gdb.ada/array_of_variable_length.exp: New testcase.
1252 * gdb.ada/array_of_variable_length/foo.adb: New file.
1253 * gdb.ada/array_of_variable_length/pck.adb: New file.
1254 * gdb.ada/array_of_variable_length/pck.ads: New file.
1256 2015-09-15 Doug Evans <dje@google.com>
1258 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1259 of function static local variable.
1261 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1263 * gdb.threads/tls-so_extern.exp: New test file.
1264 * gdb.threads/tls-so_extern.c: New test file.
1265 * gdb.threads/tls-so_extern_main.c: New test file.
1267 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1269 * gdb.opt/solib-intra-step-lib.c: New file.
1270 * gdb.opt/solib-intra-step-main.c: New file.
1271 * gdb.opt/solib-intra-step.exp: New file.
1273 2015-09-15 Pedro Alves <palves@redhat.com>
1275 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1276 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1278 2015-09-14 Pedro Alves <palves@redhat.com>
1280 * gdb.base/hook-stop-continue.c: Delete.
1281 * gdb.base/hook-stop-continue.exp: Delete.
1282 * gdb.base/hook-stop-frame.c: Delete.
1283 * gdb.base/hook-stop-frame.exp: Delete.
1284 * gdb.base/hook-stop.c: New file.
1285 * gdb.base/hook-stop.exp: New file.
1287 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1289 * gdb.ada/access_to_packed_array.exp: New testcase.
1290 * gdb.ada/access_to_packed_array/foo.adb: New file.
1291 * gdb.ada/access_to_packed_array/pack.adb: New file.
1292 * gdb.ada/access_to_packed_array/pack.ads: New file.
1294 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1296 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1299 2015-09-11 Don Breazeal <donb@codesourcery.com>
1301 * gdb.base/foll-exec.c: Add copyright header. Fix
1303 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1304 (do_exec_tests): Use clean_restart in place of zap_session,
1305 and for test initialization. Fix formatting issues. Use
1306 fail in place of perror.
1307 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1308 an expect statement to match an expression with output from
1309 the program under debug.
1310 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1311 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1312 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1313 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1314 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1316 2015-09-09 Doug Evans <dje@google.com>
1318 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1320 2015-09-09 Doug Evans <dje@google.com>
1322 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1324 2015-09-09 Doug Evans <dje@google.com>
1326 * gdb.base/savedregs.exp: Fix typo.
1328 2015-09-09 Pedro Alves <palves@redhat.com>
1330 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1332 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1334 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1335 command actually switches threads. Give up on remaining
1336 tests if target fails to stop at breakpoint.
1338 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1340 * gdb.ada/funcall_char.exp: New testcase.
1341 * gdb.ada/funcall_char/foo.adb: New file.
1343 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1345 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1346 expected outputs. Add two testcases for completing ambiguous
1348 * gdb.ada/complete/aux_pck.adb: New file.
1349 * gdb.ada/complete/aux_pck.ads: New file.
1350 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1351 Ambiguous_Func functions.
1352 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1353 * gdb.ada/complete/pck.adb: Likewise.
1355 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1357 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1358 failures to run the test program under GDB.
1360 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1362 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1365 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1367 * gdb.base/run-after-attach.exp: New test file.
1368 * gdb.base/run-after-attach.c: New test file.
1370 2015-08-26 Don Breazeal <donb@codesourcery.com>
1372 * gdb.base/foll-exec-2.c: New test program.
1373 * gdb.base/foll-exec-2.exp: New test.
1375 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1377 * gdb.base/nested-subp1.exp: New file.
1378 * gdb.base/nested-subp1.c: New file.
1379 * gdb.base/nested-subp2.exp: New file.
1380 * gdb.base/nested-subp2.c: New file.
1381 * gdb.base/nested-subp3.exp: New file.
1382 * gdb.base/nested-subp3.c: New file.
1384 2015-08-24 Pedro Alves <palves@redhat.com>
1386 * gdb.server/connect-without-multi-process.c: New file.
1387 * gdb.server/connect-without-multi-process.exp: New file.
1389 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1391 * gdb.opt/inline-markers.c: Make z int.
1393 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1395 * gdb.opt/inline-markers.c: Make z volatile.
1397 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1399 * gdb.opt/inline-bt.c: New volatile global z.
1400 * gdb.opt/inline-cmds.c: Likewise.
1401 * gdb.opt/inline-locals.c: Likewise.
1402 * gdb.opt/inline-markers.c: New extern global z.
1404 (inline_fn): Likewise.
1406 2015-08-24 Pedro Alves <palves@redhat.com>
1408 * config/m32r-stub.exp: Remove file.
1409 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1410 * gdb.base/call-rt-st.exp: Likewise.
1411 * gdb.base/call-strs.exp: Likewise.
1412 * gdb.base/default.exp: Remove references to h8300-*-hms and
1414 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1416 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1418 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1419 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1420 and "return" use KFAIL when GDB can not read/write the vector
1423 2015-08-21 Gary Benson <gbenson@redhat.com>
1425 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1427 2015-08-20 Pedro Alves <palves@redhat.com>
1429 * gdb.server/solib-list.exp: No longer expect an interior stop in
1432 2015-08-20 Pedro Alves <palves@redhat.com>
1434 * gdb.server/connect-stopped-target.c: New file.
1435 * gdb.server/connect-stopped-target.exp: New file.
1437 2015-08-20 Pedro Alves <palves@redhat.com>
1439 * gdb.dwarf2/comp-unit-lang.exp: New file.
1440 * gdb.dwarf2/comp-unit-lang.c: New file.
1442 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1444 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1445 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1447 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1449 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1450 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1452 2015-08-18 Doug Evans <dje@google.com>
1453 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1455 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1456 skip_python_tests. New arg prompt_regexp.
1457 (skip_python_tests): New function.
1458 * lib/mi-support.exp (mi_skip_python_tests): New function.
1459 * gdb.python/py-mi-objfile-gdb.py: New file.
1460 * gdb.python/py-mi-objfile.c: New file.
1461 * gdb.python/py-mi-objfile.exp: New file.
1463 2015-08-17 Keith Seitz <keiths@redhat.com>
1465 * gdb.linespec/explicit.exp: Move strace test from here ...
1466 * gdb.trace/strace.exp: ... to here.
1468 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1470 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1471 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1473 2015-08-14 Doug Evans <xdje42@gmail.com>
1475 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1476 inferior before selecting a new file.
1478 2015-08-14 Doug Evans <xdje42@gmail.com>
1480 * gdb.mi/mi-disassemble.exp: Update.
1481 * gdb.base/disasm-optim.S: New file.
1482 * gdb.base/disasm-optim.c: New file.
1483 * gdb.base/disasm-optim.h: New file.
1484 * gdb.base/disasm-optim.exp: New file.
1486 2015-08-14 Keith Seitz <keiths@redhat.com>
1488 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1491 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1493 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1495 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1497 * gdb.ada/fun_renaming.exp: New testcase.
1498 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1499 * gdb.ada/fun_renaming/pack.adb: New file.
1500 * gdb.ada/fun_renaming/pack.ads: New file.
1502 2015-08-12 Keith Seitz <keiths@redhat.com>
1504 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1505 gdb_get_line_number.
1507 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1509 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1510 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1511 gdb.base/dso2dso.exp: New files.
1513 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1514 Pedro Alves <palves@redhat.com>
1515 Keith Seitz <keiths@redhat.com>
1517 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1520 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1522 * gdb.base/gdbhistsize-history.exp
1523 (test_histsize_history_setting): Use save_vars.
1524 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1526 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1527 * gdb.base/readline.exp: Use save_vars.
1529 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1531 * lib/gdb.exp (save_vars): New proc.
1533 2015-08-11 Keith Seitz <keiths@redhat.com>
1535 * gdb.base/help.exp: Update help_breakpoint_text.
1537 2015-08-11 Keith Seitz <keiths@redhat.com>
1539 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1540 (at toplevel): Call test_explicit_breakpoints.
1541 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1543 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1544 breakpoint conditions, "-cond".
1546 2015-08-11 Keith Seitz <keiths@redhat.com>
1548 * gdb.linespec/3explicit.c: New file.
1549 * gdb.linespec/cpexplicit.cc: New file.
1550 * gdb.linespec/cpexplicit.exp: New file.
1551 * gdb.linespec/explicit.c: New file.
1552 * gdb.linespec/explicit.exp: New file.
1553 * gdb.linespec/explicit2.c: New file.
1554 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1555 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1556 before using in the matching pattern.
1557 Clarify that `prefix' is a regular expression.
1559 2015-08-11 Keith Seitz <keiths@redhat.com>
1561 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1563 Add tests for missing ",FMT" and ",".
1565 2015-08-10 Doug Evans <dje@google.com>
1566 Keith Seitz <keiths@redhat.com>
1569 * gdb.base/completion.exp: Add location completer tests.
1571 2015-08-07 Pedro Alves <palves@redhat.com>
1573 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1575 (top level): Run do_test with and without displaced stepping.
1577 2015-08-07 Pedro Alves <palves@redhat.com>
1579 * gdb.base/valgrind-disp-step.c: New file.
1580 * gdb.base/valgrind-disp-step.exp: New file.
1582 2015-08-07 Pedro Alves <palves@redhat.com>
1584 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1586 (main): Add alarm. Run an infinite loop instead of calling
1588 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1590 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1592 (main): Add alarm. Run an infinite loop instead of calling
1594 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1597 2015-08-07 Pedro Alves <palves@redhat.com>
1599 * gdb.base/checkpoint-ns.exp: New file.
1600 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1603 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1605 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1606 * gdb.btrace/instruction_history.exp: Update.
1607 * gdb.btrace/tsx.exp: New.
1608 * gdb.btrace/tsx.c: New.
1610 2015-08-06 Pedro Alves <palves@redhat.com>
1612 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1614 * gdb.reverse/until-precsave.exp: Bump timeouts.
1616 2015-08-06 Pedro Alves <palves@redhat.com>
1618 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1620 2015-08-06 Pedro Alves <palves@redhat.com>
1623 * gdb.threads/process-dies-while-handling-bp.c: New file.
1624 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1626 2015-08-06 Pedro Alves <palves@redhat.com>
1628 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1629 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1631 2015-08-05 Pedro Alves <palves@redhat.com>
1633 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1634 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1636 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1638 * gdb.base/bp-permanent.exp: Report test as unsupported if
1639 the target cannot stop at the permanent breakpoint.
1641 2015-08-03 Doug Evans <dje@google.com>
1643 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1646 2015-08-03 Doug Evans <dje@google.com>
1648 * Makefile.in (workers/%.worker, build-perf): New rule.
1649 (GDB_PERFTEST_MODE): New variable.
1650 (check-perf): Use it.
1651 (clean): Clean up gdb.perf parallel build subdirs.
1652 * lib/build-piece.exp: New file.
1653 * lib/gdb.exp (make_gdb_parallel_path): New function
1654 (standard_output_file, standard_temp_file): Call it.
1655 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1657 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1659 2015-08-03 Doug Evans <dje@google.com>
1661 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1662 (LOG_FILE_NAME): New global.
1663 (TextReporter.__init__): Initialize self.txt_sum.
1664 (TextReporter.report): Add support for multiple data-points.
1665 Move report to perftest.sum, put raw data in perftest.log.
1666 (TextReporter.start): Open sum and log files.
1667 (TextReporter.end): Close sum and log files.
1668 * gdb.perf/lib/perftest/testresult.py
1669 (SingleStatisticTestResult.record): Handle multiple data-points.
1671 2015-07-31 Pedro Alves <palves@redhat.com>
1673 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1674 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1675 kill_wait_spawned_process instead of explicit "kill -9".
1676 * gdb.base/attach-pie-noexec.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/attach-twice.exp: Likewise.
1680 * gdb.base/attach.exp: Likewise.
1681 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1683 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1684 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1685 kill_wait_spawned_process.
1686 * gdb.base/valgrind-infcall.exp: Likewise.
1687 * gdb.multi/multi-attach.exp: Likewise.
1688 * gdb.python/py-prompt.exp: Likewise.
1689 * gdb.python/py-sync-interp.exp: Likewise.
1690 * gdb.server/ext-attach.exp: Likewise.
1691 * gdb.threads/attach-into-signal.exp (corefunc): Use
1692 spawn_wait_for_attach, spawn_id_get_pid and
1693 kill_wait_spawned_process.
1694 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1695 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1696 spawn_id_get_pid and kill_wait_spawned_process.
1697 * gdb.threads/attach-stopped.exp (corefunc): Use
1698 spawn_wait_for_attach, spawn_id_get_pid and
1699 kill_wait_spawned_process.
1700 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1701 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1702 kill_wait_spawned_process instead of explicit "kill -9".
1703 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1704 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1705 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1706 processes. Don't map cygwin/windows pids here. Now returns a
1709 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1711 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1712 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1715 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1717 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1719 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1722 2014-05-21 Mark Wielaard <mjw@redhat.com>
1724 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1726 2015-07-30 Pedro Alves <palves@redhat.com>
1728 * linux-low.c (handle_extended_wait): Set the child's last
1729 reported status to TARGET_WAITKIND_STOPPED.
1731 2015-07-30 Pedro Alves <palves@redhat.com>
1734 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1735 only shows inferior 1.
1737 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1738 Pedro Alves <palves@redhat.com>
1741 * gdb.threads/fork-plus-threads.c: New file.
1742 * gdb.threads/fork-plus-threads.exp: New file.
1744 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1746 * gdb.base/batch-preserve-term-settings.exp
1747 (test_terminal_settings_preserved_after_cli_exit): Use
1750 2015-07-29 Pedro Alves <palves@redhat.com>
1751 Don Breazeal <donb@codesourcery.com>
1753 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1754 output from both inferior_spawn_id and gdb_spawn_id.
1756 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1758 * gdb.threads/attach-into-signal.exp (corefunc): Use
1759 with_test_prefix on nested loops, uniquefying the test messages.
1761 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1763 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1766 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1768 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1770 (test_terminal_settings_preserved_after_sigterm): New test.
1772 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1774 * gdb.base/batch-preserve-term-settings.exp
1775 (test_terminal_settings_preserved_after_cli_exit): New test.
1777 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1779 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1780 manipulation of saved_gdbflags.
1781 (test_terminal_settings_preserved): Remove global declaration of
1782 the unused variable pagination_prompt. Remove manipulation of
1783 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1786 2015-07-29 Pedro Alves <palves@redhat.com>
1788 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1790 2015-07-29 Pedro Alves <palves@redhat.com>
1792 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1795 2015-07-29 Pedro Alves <palves@redhat.com>
1797 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1798 (main): Call gdb_unbuffer_output.
1799 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1800 (main): Call gdb_unbuffer_output.
1801 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1802 (main): Call gdb_unbuffer_output.
1803 * gdb.base/call-strs.exp: Adjust to step over the
1804 gdb_unbuffer_output call.
1805 * gdb.base/catch-gdb-caused-signals.c: Include
1806 "../lib/unbuffer_output.c".
1807 (main): Call gdb_unbuffer_output.
1808 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1809 (main): Call gdb_unbuffer_output.
1810 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1811 (main): Call gdb_unbuffer_output.
1812 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1813 (main): Call gdb_unbuffer_output.
1814 * gdb.base/shlib-call.exp: Adjust to step over the
1815 gdb_unbuffer_output call.
1816 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1817 (main): Call gdb_unbuffer_output.
1818 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1819 (main): Call gdb_unbuffer_output.
1820 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1821 (main): Rename to ...
1823 (main): Reimplement.
1824 * gdb.base/varargs.exp: Run to test instead of to main.
1825 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1826 (main): Call gdb_unbuffer_output.
1828 2015-07-29 Pedro Alves <palves@redhat.com>
1830 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1831 factore out from mi_continue_dprintf. For call-style dprintfs,
1832 expect dprintf output out of $inferior_spawn_id.
1833 (mi_continue_dprintf): Use mi_expect_dprintf.
1834 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1835 (main): Call gdb_unbuffer_output.
1837 2015-07-29 Pedro Alves <palves@redhat.com>
1839 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1840 (default_mi_gdb_start): Set inferior_spawn_id instead of
1841 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1843 (mi_gdb_test): Always expect inferior output from both
1844 $inferior_spawn_id and $gdb_spawn_id.
1846 2015-07-29 Pedro Alves <palves@redhat.com>
1848 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1849 send_inferior and $inferior_spawn_id.
1851 2015-07-29 Pedro Alves <palves@redhat.com>
1853 * gdb.gdb/complaints.exp (test_initial_complaints)
1854 (test_serial_complaints, test_short_complaints): Use
1856 (test_empty_complaint): Handle $inferior_spawn_id !=
1859 2015-07-29 Pedro Alves <palves@redhat.com>
1861 * gdb.base/varargs.exp: Use gdb_test_stdio.
1863 2015-07-29 Pedro Alves <palves@redhat.com>
1865 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1867 2015-07-29 Pedro Alves <palves@redhat.com>
1869 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1871 2015-07-29 Pedro Alves <palves@redhat.com>
1873 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1874 parameter into two new parameters, "inf_result" and "gdb_result".
1875 Expect inferior output and gdb output from $inferior_spawn_id and
1876 $gdb_spawn_id, respectively. Adjust all callers.
1878 2015-07-29 Pedro Alves <palves@redhat.com>
1880 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1881 of gdb_test_sequence.
1883 2015-07-29 Pedro Alves <palves@redhat.com>
1885 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1886 (saw_spurious_output): Expect inferior output from
1887 $inferior_spawn_id. Use gdb_test_stdio.
1889 2015-07-29 Pedro Alves <palves@redhat.com>
1891 * gdb.base/dprintf.exp: Use standard_testfile. Change
1892 prepare_for_testing call.
1893 (srcfile): Don't set.
1894 (restart): New procedure.
1895 (test_dprintf): New procecure, use to continue over dprintfs.
1896 (test_call, test_agent): New procedures, tests moved here.
1897 Restart gdb and recreate dprintfs. Adjust expected output.
1899 2015-07-29 Pedro Alves <palves@redhat.com>
1901 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1903 2015-07-29 Pedro Alves <palves@redhat.com>
1905 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1907 2015-07-29 Pedro Alves <palves@redhat.com>
1909 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1912 2015-07-29 Pedro Alves <palves@redhat.com>
1914 * lib/gdb.exp (gdb_test_stdio): New procedure.
1916 2015-07-29 Pedro Alves <palves@redhat.com>
1918 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1920 2015-07-29 Pedro Alves <palves@redhat.com>
1922 * gdb.base/call-signal-resume.exp: Remove check for
1923 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1924 * gdb.base/unwindonsignal.exp: Likewise.
1925 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1926 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1928 2015-07-29 Pedro Alves <palves@redhat.com>
1930 * gdb.base/siginfo-addr.c (pass): New function.
1931 (handler): Call it iff si_addr is correct.
1932 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1933 Set a breakpoint at "pass" and continue to it.
1935 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1937 * gdb.python/py-objfile.exp: Make some tests have unique names.
1938 * gdb.python/py-pp-registration.exp: Likewise.
1940 2015-07-28 Pedro Alves <palves@redhat.com>
1942 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1944 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1946 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1948 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1950 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1952 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1954 * gdb.base/gdb-sigterm-2.exp: New test.
1956 2015-07-25 Doug Evans <xdje42@gmail.com>
1959 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1960 (workers/%.worker, build-perf): New rule.
1961 (GDB_PERFTEST_MODE): New variable.
1962 (check-perf): Use it.
1963 (clean): Clean up gdb.perf parallel build subdirs.
1964 * lib/build-piece.exp: New file.
1965 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1966 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1968 (standard_temp_file): Ditto.
1969 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1972 2015-07-24 Doug Evans <dje@google.com>
1974 * gdb.perf/lib/perftest/utils.py: New file.
1975 * gdb.perf/gm-hello.cc: New file.
1976 * gdb.perf/gm-pervasive-typedef.cc: New file.
1977 * gdb.perf/gm-pervasive-typedef.h: New file.
1978 * gdb.perf/gm-std.cc: New file.
1979 * gdb.perf/gm-std.h: New file.
1980 * gdb.perf/gm-use-cerr.cc: New file.
1981 * gdb.perf/gm-utils.h: New file.
1982 * gdb.perf/gmonster-null-lookup.py: New file.
1983 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1984 * gdb.perf/gmonster-print-cerr.py: New file.
1985 * gdb.perf/gmonster-ptype-string.py: New file.
1986 * gdb.perf/gmonster-runto-main.py: New file.
1987 * gdb.perf/gmonster-select-file.py: New file.
1988 * gdb.perf/gmonster1-null-lookup.exp: New file.
1989 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1990 * gdb.perf/gmonster1-print-cerr.exp: New file.
1991 * gdb.perf/gmonster1-ptype-string.exp: New file.
1992 * gdb.perf/gmonster1-runto-main.exp: New file.
1993 * gdb.perf/gmonster1-select-file.exp: New file.
1994 * gdb.perf/gmonster1.cc: New file.
1995 * gdb.perf/gmonster1.exp: New file.
1996 * gdb.perf/gmonster2-null-lookup.exp: New file.
1997 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1998 * gdb.perf/gmonster2-print-cerr.exp: New file.
1999 * gdb.perf/gmonster2-ptype-string.exp: New file.
2000 * gdb.perf/gmonster2-runto-main.exp: New file.
2001 * gdb.perf/gmonster2-select-file.exp: New file.
2002 * gdb.perf/gmonster2.cc: New file.
2003 * gdb.perf/gmonster2.exp: New file.
2005 2015-07-24 Doug Evans <dje@google.com>
2007 * gdb.perf/README: New file.
2008 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2009 * lib/gen-perf-test.exp: New file.
2011 2015-07-24 Doug Evans <dje@google.com>
2013 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2014 (PerfTest::startup): New function.
2015 (PerfTest::run): Return result of calling body.
2016 (PerfTest::assemble): Rewrite.
2017 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2018 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2019 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2020 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2021 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2023 2015-07-24 Doug Evans <dje@google.com>
2025 * lib/gdb.exp (clean_restart): Make executable optional.
2027 2015-07-24 Doug Evans <dje@google.com>
2029 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2030 compiler_info references.
2031 * gdb.cp/temargs.exp: Ditto.
2032 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2033 (get_compiler_info): Early exit if already computed. Set compiler_info
2034 to "unknown" if there was a problem.
2035 (test_compiler_info): Add function comment. Call get_compiler_info.
2037 2015-07-24 Doug Evans <dje@google.com>
2039 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2040 (workers/%.worker, build-perf): New rule.
2041 (GDB_PERFTEST_MODE): New variable.
2042 (check-perf): Use it.
2043 (clean): Clean up gdb.perf parallel build subdirs.
2044 * lib/build-piece.exp: New file.
2045 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2046 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2048 (standard_temp_file): Ditto.
2049 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2052 2015-07-24 Doug Evans <dje@google.com>
2054 * lib/future.exp (gdb_default_target_compile): New option
2056 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2059 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2061 * gdb.base/catch-syscall.exp: Call gdb_exit before
2064 2015-07-24 Pedro Alves <palves@redhat.com>
2066 * gdb.python/py-events.exp: Accept output between the stop event
2068 * gdb.python/py-evsignal.exp: Likewise.
2069 * gdb.python/py-evthreads.exp: Likewise.
2071 2015-07-24 Pedro Alves <palves@redhat.com>
2074 * gdb.threads/non-ldr-exit.c: New file.
2075 * gdb.threads/non-ldr-exit.exp: New file.
2077 2015-07-24 Yao Qi <yao.qi@linaro.org>
2079 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2082 2015-07-24 Yao Qi <yao.qi@linaro.org>
2084 * gdb.server/ext-restart.exp: New file.
2086 2015-07-24 Yao Qi <yao.qi@linaro.org>
2088 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2090 * gdb.server/ext-wrapper.exp: New file.
2092 2015-07-23 Doug Evans <dje@google.com>
2094 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2095 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2097 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2099 * gdb.ada/var_arr_typedef.exp: New testcase.
2100 * gdb.ada/var_arr_typedef/pack.adb: New file.
2101 * gdb.ada/var_arr_typedef/pack.ads: New file.
2102 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2104 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2106 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2108 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2110 * gdb.arch/i386-biarch-core.exp: Replace istarget
2111 by "complete set gnutarget". Remove expectation for the "core-file"
2114 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2116 Revert the previous commit:
2117 Tests for validate symbol file using build-id.
2119 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2121 Tests for validate symbol file using build-id.
2122 * gdb.base/solib-mismatch-lib.c: New file.
2123 * gdb.base/solib-mismatch-libmod.c: New file.
2124 * gdb.base/solib-mismatch.c: New file.
2125 * gdb.base/solib-mismatch.exp: New file.
2127 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2129 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2131 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2132 * gdb.base/siginfo.exp: Likewise.
2133 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2135 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2137 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2139 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2141 * gdb.trace/range-stepping.exp: Check that the target supports
2144 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2146 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2148 2015-07-14 Pedro Alves <palves@redhat.com>
2150 * gdb.base/killed-outside.exp: New file.
2151 * gdb.base/killed-outside.c: New file.
2153 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2155 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2157 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2159 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2161 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2162 infcall tests instead of setting up for KFAIL.
2164 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2166 * gdb.btrace/record_goto-step.exp: New.
2168 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2171 * gdb.compile/compile.c (struct struct_type): Add volatile to
2173 * gdb.compile/compile.exp
2174 (compile code struct_object.selffield = &struct_object): Skip further
2175 struct_object tests if this one xfails.
2177 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2180 * gdb.trace/ax.exp: Add test.
2182 2015-07-07 Yao Qi <yao.qi@linaro.org>
2184 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2185 instead of istarget "aarch64*-*-*".
2186 * gdb.arch/aarch64-fp.exp: Likewise.
2187 * gdb.base/float.exp: Likewise.
2188 * gdb.reverse/aarch64.exp: Likewise.
2189 * lib/gdb.exp (is_aarch64_target): New proc.
2191 2015-07-07 Yao Qi <yao.qi@linaro.org>
2193 * lib/gdb.exp (is_aarch32_target): New proc.
2194 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2195 instead of "istarget "arm*-*-*"".
2196 * gdb.arch/arm-disp-step.exp: Likewise.
2197 * gdb.arch/thumb-bx-pc.exp: Likewise.
2198 * gdb.arch/thumb-prologue.exp: Likewise.
2199 * gdb.arch/thumb-singlestep.exp: Likewise.
2200 * gdb.base/disp-step-syscall.exp: Likewise.
2201 * gdb.base/float.exp: Likewise.
2203 2015-07-07 Yao Qi <yao.qi@linaro.org>
2205 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2206 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2208 2015-07-07 Yao Qi <yao.qi@linaro.org>
2210 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2211 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2213 * gdb.multi/multi-arch.exp: Likewise.
2215 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2217 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2220 2015-07-07 Yao Qi <yao.qi@linaro.org>
2222 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2224 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2226 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2227 '[' and ']' characters.
2229 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2231 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2233 2015-06-29 Pedro Alves <palves@redhat.com>
2236 * gdb.threads/hand-call-new-thread.c: New file.
2237 * gdb.threads/hand-call-new-thread.c: New file.
2239 2015-06-26 Keith Seitz <keiths@redhat.com>
2240 Doug Evans <dje@google.com>
2243 * gdb.cp/var-tag-2.cc: New file.
2244 * gdb.cp/var-tag-3.cc: New file.
2245 * gdb.cp/var-tag-4.cc: New file.
2246 * gdb.cp/var-tag.cc: New file.
2247 * gdb.cp/var-tag.exp: New file.
2249 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2251 * gdb.base/history-duplicates.exp: New test.
2253 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2255 * gdb.base/completion.exp: Test the completion of the "focus"
2258 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2260 * gdb.arch/amd64-prologue-skip.S: New file.
2261 * gdb.arch/amd64-prologue-skip.exp: New file.
2263 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2265 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2266 is_address_zero_readable check.
2268 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2270 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2271 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2273 2015-06-24 Yao Qi <yao.qi@linaro.org>
2275 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2278 2015-06-24 Yao Qi <yao.qi@linaro.org>
2280 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2281 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2282 * gdb.base/siginfo-thread.exp: Likewise.
2284 2015-06-22 Yao Qi <yao.qi@linaro.org>
2286 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2288 2015-06-22 Yao Qi <yao.qi@linaro.org>
2290 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2292 (skip_hw_watchpoint_tests): Likewise.
2294 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2296 * gdb.base/gdbinit-history.exp: Test the interaction between
2297 setting GDBHISTSIZE and setting the history size via .gdbinit.
2299 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2302 * gdb.base/gdbhistsize-history.exp: New test.
2304 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2306 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2308 * gdb.base/readline.exp: Likewise.
2310 2015-06-17 Yao Qi <yao.qi@linaro.org>
2312 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2315 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2317 * gdb.base/gdbinit-history.exp: Add test case to check that
2318 an unlimited history file does not get truncated on exit.
2320 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2322 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2323 (VECTOR): New macro. Use it...
2324 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2325 ...for these typedefs.
2326 (int8, char1, int1, double1): New typedefs.
2327 (struct just_int2, struct two_int2): New structures.
2328 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2329 (add_structvecs, add_singlevecs): New functions.
2330 (main): Call add_some_intvecs twice.
2331 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2332 the compile and exit upon failure. Try compiling for the "native"
2333 architecture. Test inferior function calls with vector arguments
2334 and vector return value handling with "finish" and "return".
2336 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2338 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2339 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2341 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2343 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2345 PR breakpoints/16465
2346 * gdb.mi/mi-dprintf-pending.c: New file.
2347 * gdb.mi/mi-dprintf-pending.exp: New test.
2348 * gdb.mi/mi-dprintf-pendshr.c: New file.
2350 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2351 Mircea Gherzan <mircea.gherzan@intel.com>
2353 * gdb.arch/i386-mpx-map.c: New file.
2354 * gdb.arch/i386-mpx-map.exp: New File.
2356 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2358 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2359 * gdb.arch/i386-mpx.exp: Indentation fixed.
2361 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2363 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2364 function and improved indentation.
2365 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2366 gdb_test_multiple. Added additional tests to skip the test.
2368 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2370 * gdb.arch/i386-avx512.c: Change path in include file.
2371 * gdb.arch/i386-avx512.exp: Change include dir path
2373 * gdb.arch/i386-mpx.c: Change path in include file.
2374 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2377 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2379 * gdb.compile/compile-print.exp (compile print *vararray@3)
2380 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2382 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2384 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2385 (do not keep jit in memory): ... this.
2386 (expect 5): Change it to ...
2387 (expect no 5): ... this.
2389 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2392 * gdb.mi/mi-detach.exp: New file.
2394 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2397 * gdb.arch/amd64-tailcall-self.S: New file.
2398 * gdb.arch/amd64-tailcall-self.c: New file.
2399 * gdb.arch/amd64-tailcall-self.exp: New file.
2401 2015-05-28 Don Breazeal <donb@codesourcery.com>
2403 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2404 tests for remote targets by checking is_target_gdbserver.
2406 2015-05-27 Doug Evans <dje@google.com>
2408 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2409 * gdb.dwarf2/opaque-type-lookup.c: New file.
2410 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2412 2015-05-26 Doug Evans <dje@google.com>
2414 * gdb.cp/iostream.cc: New file.
2415 * gdb.cp/iostream.exp: New file.
2417 2015-05-26 Doug Evans <dje@google.com>
2419 * gdb.dwarf2/dw2-op-call.exp: Update.
2420 * gdb.dwarf2/dw4-sig-types.exp: Update.
2421 * gdb.dwarf2/implptr.exp: Update.
2422 * gdb.mi/mi-cmd-param-changed.exp: Update.
2424 2015-05-26 Doug Evans <dje@google.com>
2426 * gdb.python/py-lazy-string.c: New file.
2427 * gdb.python/py-lazy-string.exp: New file.
2428 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2429 (main): Update. Add estring3.
2430 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2431 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2433 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2434 Yao Qi <yao.qi@linaro.org>
2436 * gdb.reverse/aarch64.c: New.
2437 * gdb.reverse/aarch64.exp: New.
2439 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2441 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2442 (supports_reverse): Likewise.
2444 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2446 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2447 Use with_test_prefix.
2449 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2451 * gdb.base/completion.exp: Add test for completion of layout
2454 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2456 * lib/gdb.exp (skip_tui_tests): New proc.
2457 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2459 2015-05-19 Pedro Alves <palves@redhat.com>
2461 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2462 Save the whole env array instead of just HOME. Unset HISTSIZE in
2463 the environment while testing. Restore whole environment
2466 2015-05-16 Doug Evans <xdje42@gmail.com>
2468 * gdb.guile/scm-ports.c: New file.
2469 * gdb.guile/scm-ports.exp: Add memory port tests.
2471 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2473 * gdb.compile/compile-print.c: New file.
2474 * gdb.compile/compile-print.exp: New file.
2476 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2478 * gdb.compile/compile-ops.exp: Cast param to void.
2479 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2480 (compile code struct_object.selffield = &struct_object): Add xfail.
2482 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2484 * gdb.ada/arr_enum_with_gap: New testcase.
2486 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2488 * gdb.ada/byte_packed_arr: New testcase.
2490 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2492 * gdb.ada/pckd_neg: New testcase.
2494 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2497 * gdb.base/gdbinit-history.exp: New test.
2498 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2499 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2501 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2503 * gdb.python/py-xmethods.cc: Enhance test case.
2504 * gdb.python/py-xmethods.exp: New tests.
2505 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2507 (B_indexoper): Likewise.
2508 (global_dm_list) : Add new xmethod worker functions.
2510 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2512 * gdb.base/coredump-filter.exp: Correctly unset
2513 "coredump_var_addr" array.
2515 2015-05-08 Pedro Alves <palves@redhat.com>
2517 * gdb.server/non-existing-program.exp: Unset spawn_id.
2519 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2522 * gdb.python/py-xmethods.exp: Add tests.
2524 2015-05-08 Yao Qi <yao.qi@linaro.org>
2527 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2528 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2529 function set_coredump_filter, and remove remote_exec call.
2530 Remove argument ipid. Callers update.
2531 (top level): Don't get inferior's PID.
2533 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2535 * gdb.base/watch_thread_num.exp: Skip test on targets without
2538 2015-05-06 Pedro Alves <palves@redhat.com>
2541 * gdb.server/non-existing-program.exp: New file.
2543 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2545 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2547 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2549 * gdb.ada/out_of_line_in_inlined: New testcase.
2551 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2553 * gdb.ada/var_rec_arr: New testcase.
2555 2015-04-30 Yao Qi <yao.qi@linaro.org>
2557 * gdb.base/break-idempotent.exp: If
2558 skip_hw_watchpoint_multi_tests returns true, skip the tests
2559 on "rwatch" and "awatch".
2561 2015-04-30 Yao Qi <yao.qi@linaro.org>
2563 * gdb.base/relativedebug.exp: Invoke gdb command
2564 "info sharedlibrary", and if libc.so doesn't have debug info,
2567 2015-04-29 Doug Evans <dje@google.com>
2569 * gdb.python/py-xmethods.exp: Add ptype tests.
2570 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2571 get_result_type method.
2573 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2575 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2576 the target does not support hardware watchpoints.
2578 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2580 * gdb.base/break-always.exp: Abort testing if writing to memory
2583 2015-04-28 Doug Evans <dje@google.com>
2585 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2586 * gdb.python/py-pp-registration.exp: ... here. New file.
2587 * gdb.python/py-pp-registration.c: New file.
2588 * gdb.python/py-pp-registration.py: New file.
2590 2015-04-28 Doug Evans <dje@google.com>
2592 * gdb.python/py-bad-printers.c: New file.
2593 * gdb.python/py-bad-printers.py: New file.
2594 * gdb.python/py-bad-printers.exp: New file.
2596 2015-04-28 Sasha Smundak <asmundak@google.com>
2598 * gdb.python/py-type.exp: New test.
2600 2015-04-28 Andy Wingo <wingo@igalia.com>
2602 * gdb.python/py-parameter.exp:
2603 * gdb.guile/scm-parameter.exp: Escape the path that we are
2604 matching against, as it might contain characters that are special
2605 to regular expressions.
2607 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2609 * gdb.ada/rec_comp: New testcase.
2611 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2613 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2616 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2618 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2619 new tests for verilog output.
2621 2015-04-24 Yao Qi <yao.qi@linaro.org>
2623 * boards/remote-gdbserver-on-localhost.exp: New file.
2625 2015-04-23 Pedro Alves <palves@redhat.com>
2627 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2628 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2629 "end of file", remove $inferior_spawn_id from the indirect list.
2631 2015-04-23 Pedro Alves <palves@redhat.com>
2633 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2635 2015-04-23 Pedro Alves <palves@redhat.com>
2637 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2638 on $any_spawn_id instead of only on $gdb_spawn_id.
2640 2015-04-21 Pierre Muller <muller@sourceware.org>
2643 * lib/pascal.exp (gpc_compile): Add new option "class".
2644 (fpc_compile): Likewise.
2645 * gdb.pascal/case-insensitive-symbols.pas: New file.
2646 * gdb.pascal/case-insensitive-symbols.exp: New file.
2648 2015-04-20 Gary Benson <gbenson@redhat.com>
2650 * gdb.base/attach.exp: Fix three extended remote failures.
2652 2015-04-17 Gary Benson <gbenson@redhat.com>
2654 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2655 the main executable over the remote protocol.
2657 2015-04-16 Pedro Alves <palves@redhat.com>
2659 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2660 a new gdbserver if gdbserver_reconnect_p is set.
2662 2015-04-16 Pedro Alves <palves@redhat.com>
2664 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2665 is set, don't exit gdbserver.
2667 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2669 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2670 appropriate .insn, such that an older assembler can be used.
2671 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2672 the z/Architecture instruction set on 31-bit targets as well.
2674 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2676 * gdb.go/handcall.exp: Remove all logic related to the first
2677 breakpoint and rely on go_runto_main instead.
2678 * gdb.go/strings.exp: Likewise.
2679 * gdb.go/unsafe.exp: Likewise.
2680 * gdb.go/hello.exp: Likewise. Also rename the remaining
2681 breakpoint marker to "breakpoint 1".
2682 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2683 * gdb.go/strings.go: Likewise.
2684 * gdb.go/unsafe.go: Likewise.
2685 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2686 "set breakpoint 2 here" and rename the remaining breakpoint marker
2689 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2691 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2692 if itertools.imap is not present.
2693 * gdb.python/py-objfile.exp: Add parentheses.
2694 * gdb.python/py-type.exp: Same.
2695 * gdb.python/py-unwind-maint.py: Same.
2697 2015-04-15 Yao Qi <yao.qi@linaro.org>
2699 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2700 of ":$ptr_size" and set its form explicitly.
2702 2015-04-15 Pedro Alves <palves@redhat.com>
2703 Yao Qi <yao.qi@linaro.org>
2705 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2706 timeout by factor of 4.
2707 (test_regular_watch): Likewise.
2708 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2709 * gdb.reverse/sigall-reverse.exp: Likewise.
2710 * gdb.reverse/until-precsave.exp: Likewise.
2711 * lib/gdb.exp (with_timeout_factor): New proc.
2712 (gdb_expect): Move some code to ...
2713 (get_largest_timeout): ... here. New procedure.
2715 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2717 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2719 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2721 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2722 to write to the .text section.
2724 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2726 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2727 Handle the case of targets that do not provide PID information.
2729 2015-04-13 Yao Qi <yao.qi@linaro.org>
2731 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2732 and use expect instead of gdb_expect.
2734 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2736 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2737 "coredump_var_addr" to avoid naming conflict with other testcases.
2739 2015-04-10 Pedro Alves <palves@redhat.com>
2741 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2742 gdb_test_sequence and gdb_assert.
2744 2015-04-10 Pedro Alves <palves@redhat.com>
2746 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2747 test messages that don't include the breakpoint address.
2749 2015-04-10 Yao Qi <yao.qi@linaro.org>
2751 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2752 false for some offset and width combinations which aren't
2753 supported by linux kernel.
2755 2015-04-10 Pedro Alves <palves@redhat.com>
2757 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2758 procedure, factored out from ...
2759 (top level): ... here. Add "set displaced-stepping" testing axis.
2760 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2761 parameter "displaced". Use it.
2762 (top level): Use foreach and add "set displaced-stepping" testing
2765 2015-04-10 Pedro Alves <palves@redhat.com>
2767 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2769 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2770 both the address of the instruction that triggers the watchpoint
2771 and the address of the instruction immediately after, and use
2772 those addresses for the test. Fix comment.
2774 2015-04-10 Pedro Alves <palves@redhat.com>
2776 * gdb.base/sigstep.exp (breakpoint_to_handler)
2777 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2778 Test "backtrace" in handler.
2779 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2780 (top level): Add new "displaced" test axis to
2781 breakpoint_to_handler, breakpoint_to_handler_entry and
2782 breakpoint_over_handler.
2784 2015-04-10 Pedro Alves <palves@redhat.com>
2787 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2789 2015-04-10 Yao Qi <yao.qi@linaro.org>
2791 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2792 (test_add_rn_pc): New function.
2793 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2794 (top level): Invoke test_add_rn_pc.
2796 2015-04-10 Pedro Alves <palves@redhat.com>
2799 * gdb.base/step-over-no-symbols.exp: New file.
2801 2015-04-09 Andy Wingo <wingo@igalia.com>
2803 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2804 after the Python tests.
2806 2015-04-08 Keith Seitz <keiths@redhat.com>
2809 * gdb.python/py-completion.exp: New tests for completion.
2810 * gdb.python/py-completion.py (CompleteLimit1): New class.
2811 (CompleteLimit2): Likewise.
2812 (CompleteLimit3): Likewise.
2813 (CompleteLimit4): Likewise.
2814 (CompleteLimit5): Likewise.
2815 (CompleteLimit6): Likewise.
2816 (CompleteLimit7): Likewise.
2818 2015-04-08 Pedro Alves <palves@redhat.com>
2822 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2824 (main): Install it as SIGUSR1 handler.
2825 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2826 parameter. Always use "setup" as prefix. Toggle "set
2827 displaced-stepping" off/on depending on global. Don't switch to
2829 (top level): Add displaced stepping "off/on" test axis. Update
2830 "setup" calls. Wrap each subtest with with_test_prefix. Test
2831 continuing with a queued signal in each thread.
2833 2015-04-08 Pedro Alves <palves@redhat.com>
2835 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2836 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2837 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2838 Return early if running to main fails.
2839 * gdb.trace/while-stepping.exp: Likewise.
2841 2015-04-07 Pedro Alves <palves@redhat.com>
2843 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2844 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2845 interact with inferior program.
2847 2015-04-07 Pedro Alves <palves@redhat.com>
2849 * lib/gdb.exp (inferior_spawn_id): New global.
2850 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2851 spawn id after processing the user code.
2852 (default_gdb_start): Set inferior_spawn_id.
2853 (send_inferior): New procedure.
2854 * lib/gdbserver-support.exp (gdbserver_start): Set
2856 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2858 2015-04-07 Pedro Alves <palves@redhat.com>
2860 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2861 * lib/gdbserver-support.exp (gdbserver_start): Make
2862 $server_spawn_id global.
2863 (gdbserver_start): Don't wait for gdbserver's spawn id with
2865 (close_gdbserver): New procedure.
2866 (gdb_exit): Rename the default version and reimplement.
2868 2015-04-07 Pedro Alves <palves@redhat.com>
2870 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2871 append the substituted item, not the original item.
2873 2015-04-07 Pedro Alves <palves@redhat.com>
2875 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2878 2015-04-07 Pedro Alves <palves@redhat.com>
2880 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2881 output appearing once only.
2883 2015-04-07 Pedro Alves <palves@redhat.com>
2885 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2886 that doesn't expect anything. Return early if running to main
2889 2015-04-07 Yao Qi <yao.qi@linaro.org>
2891 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2892 (child_function): Call alarm.
2893 (main): Move call to alarm into the loop.
2894 * gdb.threads/non-stop-fair-events.exp: Build program with
2897 2015-04-06 Doug Evans <xdje42@gmail.com>
2899 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2900 Fix dest parameter to board_info.
2901 (fpc_compile): Ditto.
2902 (gdb_compile_pascal): Rename dest arg to destfile.
2904 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2906 * gdb.ada/funcall_ref.exp: New file.
2907 * gdb.ada/funcall_ref/foo.adb: New file.
2909 2015-04-02 Yao Qi <yao.qi@linaro.org>
2911 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2914 2015-04-02 Gary Benson <gbenson@redhat.com>
2916 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2918 2015-04-01 Sasha Smundak <asmundak@google.com>
2920 * gdb.python/py-unwind-maint.c: New file.
2921 * gdb.python/py-unwind-maint.exp: New test.
2922 * gdb.python/py-unwind-maint.py: New file.
2923 * gdb.python/py-unwind.c: New file.
2924 * gdb.python/py-unwind.exp: New test.
2925 * gdb.python/py-unwind.py: New test.
2927 2015-04-01 Pedro Alves <palves@redhat.com>
2929 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2930 to fail instead of non-existent $test.
2932 2015-04-01 Pedro Alves <palves@redhat.com>
2934 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2935 GDBFLAGS if not empty.
2937 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2939 * gdb.ada/complete.exp: Remove "multi_line".
2940 * gdb.ada/info_exc.exp: Remove "multi_line".
2941 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2942 * gdb.ada/ptype_field.exp: Remove "multi_line".
2943 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2944 * gdb.ada/tagged.exp: Remove "multi_line".
2945 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2947 * gdb.btrace/delta.exp: Likewise.
2948 * gdb.btrace/exception.exp: Likewise.
2949 * gdb.btrace/function_call_history.exp: Likewise.
2950 * gdb.btrace/instruction_history.exp: Likewise.
2951 * gdb.btrace/nohist.exp: Likewise.
2952 * gdb.btrace/record_goto.exp: Likewise.
2953 * gdb.btrace/segv.exp: Likewise.
2954 * gdb.btrace/stepi.exp: Likewise.
2955 * gdb.btrace/tailcall.exp: Likewise.
2956 * gdb.btrace/unknown_functions.exp: Likewise.
2957 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2958 * lib/gdb.exp: Add the "multi_line" helper.
2960 2015-04-01 Pedro Alves <palves@redhat.com>
2962 * gdb.threads/tid-reuse.c: New file.
2963 * gdb.threads/tid-reuse.exp: New file.
2965 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2968 * gdb.base/coredump-filter.c: New file.
2969 * gdb.base/coredump-filter.exp: Likewise.
2971 2015-03-27 Petr Machata <pmachata@redhat.com>
2973 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2974 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2975 (Dwarf::assemble): Initialize them.
2976 (Dwarf::lines): New function.
2978 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2980 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2981 SYMBOL_PREFIX for x86_64-*-cygwin.
2983 2015-03-26 Andy Wingo <wingo@igalia.com>
2986 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2987 const_value but not a location.
2988 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2989 location defined in non-main CUs are visible.
2991 2015-03-26 Yao Qi <yao.qi@linaro.org>
2994 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2995 Add a line number entry for the same line.
2996 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2997 Add a line number entry for the same line.
2999 2015-03-26 Yao Qi <yao.qi@linaro.org>
3001 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3003 (func): Likewise. Add .Lfunc_1 label.
3005 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3010 2015-03-26 Yao Qi <yao.qi@linaro.org>
3012 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3013 Call gdb_compile instead to compile each .s files without debug
3016 2015-03-26 Yao Qi <yao.qi@linaro.org>
3018 * gdb.base/savedregs.exp (process_saved_regs): Make
3019 "Saved registers:" optional in the pattern.
3021 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3023 * gdb.btrace/next.exp: Merged into step.exp.
3024 * gdb.btrace/finish.exp: Merged into step.exp.
3025 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3026 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3027 "record goto" and checking the exact replay position.
3028 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3029 check for "Recording format" in "info record" output.
3030 * gdb.btrace/record_goto.exp: Choose test file based on target.
3031 * gdb.btrace/x86-record_goto.S: Renamed into ...
3032 * gdb.btrace/x86_64-record_goto.S: ... this.
3033 * gdb.btrace/i686-record_goto.S: New.
3034 * gdb.btrace/x86-tailcall.S: Renamed into ...
3035 * gdb.btrace/x86_64-tailcall.S: ... this.
3036 * gdb.btrace/i686-tailcall.S: New.
3037 * gdb.btrace/x86-tailcall.c: Renamed into ...
3038 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3039 separate statements. Update test.
3040 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3041 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3042 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3043 * gdb.btrace/tailcall.exp: Choose test file based on target.
3044 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3046 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3048 * gdb.btrace/exception.exp: Increase BTS buffer size.
3050 2015-03-24 Pedro Alves <palves@redhat.com>
3052 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3054 2015-03-24 Pedro Alves <palves@redhat.com>
3056 * gdb.threads/schedlock.exp (test_step): No longer expect that
3057 "set scheduler-locking step" with "next" over a function call runs
3060 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3062 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3064 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3066 PR breakpoints/16466
3067 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3068 * gdb.mi/mi-pending.c (thread_func): New function.
3069 (int main): Add threading support required.
3070 * gdb.mi/mi-pending.exp: Add tests for this issue.
3071 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3072 (pendfunc2): Remove stdio dependency.
3073 * gdb.mi/mi-pendshr2.c: New file.
3075 2015-03-23 Keith Seitz <keiths@redhat.com>
3077 * gdb.linespec/keywords.c: New file.
3078 * gdb.linespec/keywords.exp: New file.
3080 2015-03-23 Keith Seitz <keiths@redhat.com>
3083 * gdb.dwarf2/staticvirtual.exp: New test.
3085 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3087 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3088 * README: Remove HP-UX and gdb.hp.
3090 * configure: Regenerate.
3091 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3092 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3093 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3094 gdb.hp/gdb.defects/Makefile.
3095 * gdb.hp/Makefile.in: File deleted.
3096 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3097 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3098 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3099 * gdb.hp/gdb.aCC/run.c: File deleted.
3100 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3101 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3102 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3103 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3104 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3105 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3106 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3107 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3108 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3109 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3110 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3111 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3112 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3113 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3114 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3115 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3116 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3117 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3118 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3119 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3120 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3121 * gdb.hp/gdb.compat/average.c: File deleted.
3122 * gdb.hp/gdb.compat/sum.c: File deleted.
3123 * gdb.hp/gdb.compat/xdb.c: File deleted.
3124 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3125 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3126 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3127 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3128 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3129 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3130 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3131 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3132 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3133 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3134 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3135 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3136 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3137 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3138 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3139 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3140 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3141 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3142 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3143 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3144 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3145 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3146 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3147 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3148 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3149 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3150 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3151 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3152 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3153 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3154 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3155 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3156 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3157 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3158 * gdb.hp/tools/odump: File deleted.
3160 2015-03-19 Pedro Alves <palves@redhat.com>
3162 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3163 (saw_thread_3): New globals.
3164 (top level): Increment them when an event for the corresponding
3166 (no thread starvation): New test.
3168 2015-03-19 Pedro Alves <palves@redhat.com>
3170 * gdb.threads/continue-pending-status.c: New file.
3171 * gdb.threads/continue-pending-status.exp: New file.
3173 2015-03-18 Pedro Alves <palves@redhat.com>
3175 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3176 Use gdb_is_target_remote instead of is_remote. Use
3177 gdb_test_multiple instead of gdb_expect. Exit early if
3178 gdb_test_multiple hits its internal matches. Tighten stepi tests
3179 expected output. Fail on exit with any signal, instead of just
3182 2015-03-18 Yao Qi <yao.qi@linaro.org>
3185 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3187 * gdb.base/catch-syscall.exp: Don't skip it on
3188 aarch64*-*-linux* target. Remove elements in all_syscalls.
3189 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3191 (setup_all_syscalls): New proc.
3193 2015-03-16 Yao Qi <yao.qi@linaro.org>
3195 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3196 (top level): Skip tests if valid_addr_p returns false for
3199 2015-03-11 Andy Wingo <wingo@igalia.com>
3201 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3203 2015-03-11 Yao Qi <yao.qi@linaro.org>
3205 * gdb.base/catch-syscall.exp: Fix typo in comments.
3207 2015-03-11 Yao Qi <yao.qi@linaro.org>
3209 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3211 2015-03-09 Pedro Alves <palves@redhat.com>
3213 * dg-extract-results.py: Delete.
3215 2015-03-09 Pedro Alves <palves@redhat.com>
3217 Merge dg-extract-results.sh from GCC upstream (r218843).
3219 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3220 * dg-extract-results.sh: Use --text with grep to avoid issues with
3221 binary files. Fall back to cat -v, if that doesn't work.
3223 2015-03-05 Pedro Alves <palves@redhat.com>
3225 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3227 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3229 * lib/mi-support.exp (mi_expect_interrupt): Accept
3230 alternative event for when in all-stop mode.
3232 2015-03-04 Pedro Alves <palves@redhat.com>
3234 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3236 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3238 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3240 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3242 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3243 regexps for GDB's current line display, accept a hex address
3244 preceding the line number.
3246 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3248 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3249 the 'arch1' variable for "s390*-linux*" targets.
3251 2015-03-04 Pedro Alves <palves@redhat.com>
3253 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3254 (main): Pass missing retval argument to pthread_join call.
3256 2015-03-02 Pedro Alves <palves@redhat.com>
3258 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3259 (top level): Call do_test with non-stop as well.
3261 2015-03-02 Pedro Alves <palves@redhat.com>
3263 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3266 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3268 * gdb.arch/s390-vregs.exp: New test.
3269 * gdb.arch/s390-vregs.S: New file.
3271 2015-02-27 Pedro Alves <palves@redhat.com>
3273 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3274 call to catch_command_errors.
3275 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3276 catch_command_errors.
3278 2015-02-27 Pedro Alves <palves@redhat.com>
3280 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3281 "true" for boolean result.
3282 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3285 2015-02-27 Pedro Alves <palves@redhat.com>
3287 * lib/unbuffer_output.c: New file.
3288 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3289 (main): Call gdb_unbuffer_output.
3291 2015-02-27 Yao Qi <yao.qi@linaro.org>
3293 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3296 2015-02-26 Doug Evans <dje@google.com>
3298 * gdb.cp/class2.cc (Dbase, D): New classes.
3299 (main): New local delta.
3300 * gdb.cp/class2.exp: Test printing delta.
3301 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3302 (dynbar): New global.
3303 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3305 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3307 * gdb.compile/compile-ifunc.c: New file.
3308 * gdb.compile/compile-ifunc.exp: New file.
3310 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3312 * gdb.base/structs.exp: Check for correct struct on finish.
3314 2015-02-26 Yao Qi <yao.qi@linaro.org>
3316 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3319 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3321 * gdb.arch/cordic.ko.bz2: New file.
3322 * gdb.arch/cordic.ko.debug.bz2: New file.
3323 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3325 2015-02-25 Yao Qi <yao.qi@linaro.org>
3327 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3328 aarch64*-*-* target.
3330 2015-02-23 Pedro Alves <palves@redhat.com>
3332 * lib/gdb.exp (delete_breakpoints): Rewrite using
3335 2015-02-23 Pedro Alves <palves@redhat.com>
3337 * gdb.base/info-os.c: Include stdlib.h.
3339 2015-02-22 Doug Evans <xdje42@gmail.com>
3342 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3343 is read after symbols have been re-read.
3344 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3345 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3347 2015-02-21 Doug Evans <dje@google.com>
3349 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3351 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3354 * gdb.arch/i386-biarch-core.core.bz2: New file.
3355 * gdb.arch/i386-biarch-core.exp: New file.
3357 2015-02-21 Pedro Alves <palves@redhat.com>
3359 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3362 2015-02-20 Pedro Alves <palves@redhat.com>
3364 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3367 2015-02-20 Pedro Alves <palves@redhat.com>
3369 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3371 2015-02-20 Pedro Alves <palves@redhat.com>
3373 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3374 clean_restart before gdb_target_supports_trace.
3376 2015-02-20 Pedro Alves <palves@redhat.com>
3379 * gdb.threads/clone-thread_db.c: New file.
3380 * gdb.threads/clone-thread_db.exp: New file.
3382 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3384 PR breakpoints/16812
3385 * gdb.base/catch-gdb-caused-signals.c: New file.
3386 * gdb.base/catch-gdb-caused-signals.exp: New file.
3388 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3390 * configure: Regenerated.
3391 * configure.ac: Use GDB_AC_TRANSFORM.
3392 * aclocal.m4: sinclude ../transform.m4.
3394 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3396 * lib/dtrace.exp: New file.
3397 * gdb.base/dtrace-probe.exp: Likewise.
3398 * gdb.base/dtrace-probe.d: Likewise.
3399 * gdb.base/dtrace-probe.c: Likewise.
3400 * lib/pdtrace.in: Likewise.
3401 * configure.ac: Output variables with the transformed names of
3402 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3403 * configure: Regenerated.
3405 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3407 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3408 expected message when trying to access $_probe_* convenience
3409 variables while not on a probe.
3411 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3413 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3415 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3417 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3418 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3420 2015-02-10 Doug Evans <xdje42@gmail.com>
3422 * lib/gdb.exp (gdb_load): Always return a result.
3424 2015-02-10 Pedro Alves <palves@redhat.com>
3426 * gdb.threads/signal-sigtrap.c: New file.
3427 * gdb.threads/signal-sigtrap.exp: New file.
3429 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3431 * gdb.trace/no-attach-trace.c: New file.
3432 * gdb.trace/no-attach-trace.exp: New file.
3434 2015-02-09 Mark Wielaard <mjw@redhat.com>
3436 * gdb.dwarf2/atomic.c: New file.
3437 * gdb.dwarf2/atomic-type.exp: Likewise.
3439 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3441 * gdb.btrace/buffer-size.exp: Update "info record" output.
3442 * gdb.btrace/delta.exp: Update "info record" output.
3443 * gdb.btrace/enable.exp: Update "info record" output.
3444 * gdb.btrace/finish.exp: Update "info record" output.
3445 * gdb.btrace/instruction_history.exp: Update "info record" output.
3446 * gdb.btrace/next.exp: Update "info record" output.
3447 * gdb.btrace/nexti.exp: Update "info record" output.
3448 * gdb.btrace/step.exp: Update "info record" output.
3449 * gdb.btrace/stepi.exp: Update "info record" output.
3450 * gdb.btrace/nohist.exp: Update "info record" output.
3452 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3454 * gdb.btrace/buffer-size: New.
3456 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3458 * gdb.btrace/delta.exp: Update "info record" output.
3459 * gdb.btrace/enable.exp: Update "info record" output.
3460 * gdb.btrace/finish.exp: Update "info record" output.
3461 * gdb.btrace/instruction_history.exp: Update "info record" output.
3462 * gdb.btrace/next.exp: Update "info record" output.
3463 * gdb.btrace/nexti.exp: Update "info record" output.
3464 * gdb.btrace/step.exp: Update "info record" output.
3465 * gdb.btrace/stepi.exp: Update "info record" output.
3466 * gdb.btrace/nohist.exp: Update "info record" output.
3468 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3471 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3473 2015-02-06 Pedro Alves <palves@redhat.com>
3475 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3477 (seconds_left, again): New globals.
3478 (main): Wait seconds_left in a 1-second sleep loop instead of
3479 sleeping 180 seconds. If 'again' is set, reset the seconds
3481 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3482 'again' in the inferior before detaching. Print the seconds left.
3483 (options): New global.
3484 (top level): Build program with -DTIMEOUT=$timeout.
3486 2015-02-06 Pedro Alves <palves@redhat.com>
3488 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3489 determine how many seconds to pass to 'alarm'.
3490 * gdb.base/gdb-sigterm.exp (top level): Build program with
3492 (do_test): Return success/failure indication. Add more verbose
3493 logging. Don't fail if 200 single steps are seen. Instead, fail
3494 when the test times out.
3495 (passes): New global.
3496 (top level): Break the testing loop if testing fails on any
3497 iteration. Use gdb_assert.
3499 2015-02-04 Don Breazeal <donb@codesourcery.com>
3501 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3502 and initialize them.
3503 (ipc_cleanup): New function.
3504 (main): Don't declare shmid, semid, and msqid. Add a call to
3505 atexit so that we call ipc_cleanup on exit.
3507 2015-02-04 Pedro Alves <palves@redhat.com>
3509 * boards/native-extended-gdbserver.exp: Remove any target variant
3510 specifications from the board name before clearing the isremote
3511 flag from board_info.
3513 2015-01-31 Doug Evans <xdje42@gmail.com>
3515 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3517 2015-01-31 Gary Benson <gbenson@redhat.com>
3519 * gdb.base/completion.exp: Disable completion limiting for
3520 existing tests. Add new tests to check completion limiting.
3521 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3523 2015-01-31 Doug Evans <xdje42@gmail.com>
3525 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3527 2015-01-31 Doug Evans <xdje42@gmail.com>
3529 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3530 entries. Duplicate file section script entries.
3531 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3532 inlined entries. Add test for safe-path rejection.
3533 * gdb.python/py-section-script.c: Add duplicate inlined section script
3534 entries. Duplicate file section script entries.
3535 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3536 inlined entries. Add test for safe-path rejection.
3538 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3540 * gdb.ada/disc_arr_bound: New testcase.
3542 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3544 * gdb.ada/mi_var_array: New testcase.
3546 2015-01-27 Doug Evans <dje@google.com>
3548 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3549 Add test for objfile.filename, objfile.username after objfile
3552 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3554 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3555 the second test to print the name attribute of value
3556 returned by the call to gdb.lookup_type, and adjust
3557 the expected output accordingly.
3559 2015-01-25 Mark Wielaard <mjw@redhat.com>
3561 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3562 * gdb.base/disp-step-fork.c: Include unistd.h.
3563 * gdb.base/siginfo-obj.c: Include stdio.h.
3564 * gdb.base/siginfo-thread.c: Likewise.
3565 * gdb.mi/non-stop.c: Include unistd.h.
3566 * gdb.mi/nsthrexec.c: Include stdio.h.
3567 * gdb.mi/pthreads.c: Include unistd.h.
3568 * gdb.modula2/unbounded1.c (main): Declare returns int.
3569 * gdb.reverse/consecutive-reverse.c: Likewise.
3570 * gdb.threads/create-fail.c: Include unistd.h.
3571 * gdb.threads/killed.c: Likewise.
3572 * gdb.threads/linux-dp.c: Likewise.
3573 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3574 * gdb.threads/non-ldr-exc-2.c: Likewise.
3575 * gdb.threads/non-ldr-exc-3.c: Likewise.
3576 * gdb.threads/non-ldr-exc-4.c: Likewise.
3577 * gdb.threads/pthreads.c: Include unistd.h.
3578 (main): Declare returns int.
3579 * gdb.threads/tls-main.c (foo): New declaration.
3580 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3582 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3584 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3585 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3587 2015-01-15 Mark Wielaard <mjw@redhat.com>
3589 * gdb.base/noreturn-return.c: New file.
3590 * gdb.base/noreturn-return.exp: New file.
3591 * gdb.base/noreturn-finish.c: New file.
3592 * gdb.base/noreturn-finish.exp: New file.
3594 2015-01-23 Pedro Alves <palves@redhat.com>
3596 * gdb.threads/continue-pending-after-query.c: New file.
3597 * gdb.threads/continue-pending-after-query.exp: New file.
3599 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3600 Simon Marchi <simon.marchi@ericsson.com>
3602 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3603 * gdb.base/valgrind-db-attach.exp: Same.
3604 * gdb.base/valgrind-infcall.exp: Same.
3605 * lib/mi-support.exp (default_mi_gdb_start): Same.
3606 * lib/prompt.exp (default_prompt_gdb_start): Same.
3607 * lib/gdb.exp (default_gdb_spawn): Same.
3608 (gdb_interact): New.
3611 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3613 * gdb.compile/compile.exp (pointer to jit function): New test.
3615 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3617 * lib/gdb.exp (supports_process_record): Return true for
3619 (supports_reverse): Likewise.
3621 2015-01-15 Don Breazeal <donb@codesourcery.com>
3623 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3624 instead of checking whether the target board is remote and
3625 use spawn_wait_for_attach instead of exec/sleep.
3626 * gdb.base/attach-twice.exp: Likewise.
3628 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3630 * gdb.ada/var_arr_attrs: New testcase.
3632 2015-01-14 Pedro Alves <palves@redhat.com>
3633 Joel Brobecker <brobecker@adacore.com>
3636 * gdb.base/bp-cmds-execution-x-script.c: New file.
3637 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3638 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3640 2015-01-14 Pedro Alves <palves@redhat.com>
3643 * gdb.base/batch-preserve-term-settings.c: New file.
3644 * gdb.base/batch-preserve-term-settings.exp: New file.
3646 2015-01-13 Doug Evans <dje@google.com>
3648 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3651 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3653 * Makefile.in (clean mostlyclean): Do not delete *.py.
3655 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3657 * gdb.python/py-lookup-type.exp: New file.
3659 2015-01-12 Pedro Alves <palves@redhat.com>
3661 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3662 restore GDBFLAGS before returning.
3664 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3667 is_amd64_regs_target and is_x86_like_target.
3669 2015-01-11 Doug Evans <xdje42@gmail.com>
3671 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3672 is given without an explicit form.
3673 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3675 * gdb.dwarf/corrupt.exp: Ditto.
3676 * gdb.dwarf2/enum-type.exp: Ditto.
3677 * gdb.trace/entry-values.exp: Ditto.
3678 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3680 2015-01-11 Doug Evans <xdje42@gmail.com>
3683 * gdb.base/maint.exp: Remove references to "maint demangle".
3684 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3685 Add tests for explicitly specifying language to demangle.
3686 * gdb.dlang/demangle.exp: Ditto.
3688 2015-01-09 Pedro Alves <palves@redhat.com>
3690 * gdb.threads/non-stop-fair-events.c: New file.
3691 * gdb.threads/non-stop-fair-events.exp: New file.
3693 2015-01-09 Pedro Alves <palves@redhat.com>
3695 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3696 the global scope. Set a breakpoint after all threads are started
3697 rather than stepping over two source lines. Expect the prompt.
3698 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3701 (main): Use threads_started_barrier to wait for all threads to
3702 start. Main thread no longer calls thread_function. Exit after
3704 (loop): New function.
3705 (thread_function): Wait on threads_started_barrier barrier. Call
3706 'loop' at each iteration.
3707 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3708 threads have started, instead of hardcoding number of "next"
3709 steps. Use an access watchpoint instead of a write watchpoint.
3711 2015-01-09 Pedro Alves <palves@redhat.com>
3713 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3714 (thread_func): Wait on barrier.
3715 (main): Wait for all threads to start before stopping GDB.
3716 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3718 (thread1_func, thread2_func): Wait on barrier.
3719 (main): Wait for all threads to start before stopping GDB.
3720 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3722 (thread1_func, thread2_func): Wait on barrier.
3723 (main): Wait for all threads to start before stopping GDB.
3725 2015-01-09 Pedro Alves <palves@redhat.com>
3727 * gdb.threads/attach-many-short-lived-threads.c: New file.
3728 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3730 2014-01-09 Pedro Alves <palves@redhat.com>
3732 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3733 instead of to thread 2.
3734 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3735 Add barrier around each pthread_create call instead of around all
3737 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3738 Set a break on thread_function and have the child threads hit it
3741 2015-01-09 Pedro Alves <palves@redhat.com>
3743 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3744 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3746 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3747 checking whether the target board is remote.
3748 * gdb.multi/multi-attach.exp: Likewise.
3749 * gdb.python/py-sync-interp.exp: Likewise.
3750 * gdb.server/ext-attach.exp: Likewise.
3751 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3752 tests that need to attach, instead of checking whether the target
3753 board is remote at the top of the file.
3755 2015-01-08 Yao Qi <yao@codesourcery.com>
3757 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3759 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3761 Fix testcase compilation.
3762 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3764 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3766 * gdb.python/py-type.exp: Add a couple test about empty
3767 array creation, and negative-length array creation.
3769 2015-01-02 Doug Evans <xdje42@gmail.com>
3771 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3773 2015-01-02 Doug Evans <dje@google.com>
3775 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3777 2014-12-29 Yao Qi <yao@codesourcery.com>
3779 * gdb.trace/entry-values.exp: Update comments. Rename variable
3780 bar_call_foo to returned_from_foo.
3782 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3785 * gdb.linespec/break-asm-file.c: New file.
3786 * gdb.linespec/break-asm-file.exp: New file.
3787 * gdb.linespec/break-asm-file0.s: New file.
3788 * gdb.linespec/break-asm-file1.s: New file.
3790 2014-12-18 Nigel Stephens <nigel@mips.com>
3791 Maciej W. Rozycki <macro@codesourcery.com>
3793 * gdb.base/float.exp: Handle the new output from "info float" on
3796 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3798 Fix MinGW compilation.
3799 * gdb.compile/compile-ops.exp: Update untested message if
3800 !skip_compile_feature_tests.
3801 * gdb.compile/compile-setjmp.exp: Likewise.
3802 * gdb.compile/compile-tls.exp: Likewise.
3803 * gdb.compile/compile.exp: Likewise.
3804 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3805 supported on this host".
3807 2014-12-16 Doug Evans <xdje42@gmail.com>
3809 * boards/stabs.exp: New file.
3811 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3813 * gdb.base/completion.exp: Adjust to format changes of "maint
3814 print user-registers".
3816 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3819 * gdb.arch/aarch64-fp.c: New file.
3820 * gdb.arch/aarch64-fp.exp: New file.
3822 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3824 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3825 r210637, r210913, r211666, r215400, r215817).
3827 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3828 * dg-extract-results.py: New file.
3829 * dg-extract-results.sh: Use it if the environment seems
3832 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3834 * dg-extract-results.py (parse_run): Handle warnings that
3835 are printed before a test harness is run.
3837 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3839 * dg-extract-results.py (Named): Remove __cmp__ method.
3840 (output_variation): Use a key to sort variation.harnesses.
3842 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3844 * dg-extract-results.py: For Python 3, force sys.stdout to
3845 handle surrogate escape sequences.
3846 (safe_open): New function.
3847 (output_segment, main): Use it.
3849 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3851 * dg-extract-results.py (Prog.result_re): Include options
3854 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3856 * dg-extract-results.py (output_variation): Always sort if
3859 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3861 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3862 as long as we get pagination notifications.
3864 2014-12-15 Jason Merrill <jason@redhat.com>
3866 * Makefile.in (check-gdb.%): Restore.
3867 * README: Mention it.
3869 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3871 * gdb.ada/str_uninit: New testcase.
3873 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3876 * gdb.base/vla-stub-define.c: New file.
3877 * gdb.base/vla-stub.c: New file.
3878 * gdb.base/vla-stub.exp: New file.
3880 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3881 Jan Kratochvil <jan.kratochvil@redhat.com>
3882 Tom Tromey <tromey@redhat.com>
3884 * configure.ac: Add gdb.compile/.
3885 * configure: Regenerate.
3886 * gdb.compile/Makefile.in: New file.
3887 * gdb.compile/compile-ops.exp: New file.
3888 * gdb.compile/compile-ops.c: New file.
3889 * gdb.compile/compile-tls.c: New file.
3890 * gdb.compile/compile-tls.exp: New file.
3891 * gdb.compile/compile-constvar.S: New file.
3892 * gdb.compile/compile-constvar.c: New file.
3893 * gdb.compile/compile-mod.c: New file.
3894 * gdb.compile/compile-nodebug.c: New file.
3895 * gdb.compile/compile-setjmp-mod.c: New file.
3896 * gdb.compile/compile-setjmp.c: New file.
3897 * gdb.compile/compile-setjmp.exp: New file.
3898 * gdb.compile/compile-shlib.c: New file.
3899 * gdb.compile/compile.c: New file.
3900 * gdb.compile/compile.exp: New file.
3901 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3903 2014-12-12 Tom Tromey <tromey@redhat.com>
3905 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3906 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3908 2014-12-12 Doug Evans <dje@google.com>
3910 * lib/gdb-python.exp (get_python_valueof): New function.
3911 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3913 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3915 * gdb.base/completion.exp: Add test for completion of "info
3918 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3920 * gdb.base/func-ptrs.c: New file.
3921 * gdb.base/func-ptrs.exp: New file.
3923 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3925 PR breakpoints/17012
3926 * gdb.base/dprintf-detach.c: New file.
3927 * gdb.base/dprintf-detach.exp: New file.
3929 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3931 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3932 * lib/gdb.exp (target_is_gdbserver): New procedure.
3934 2014-12-08 Doug Evans <dje@google.com>
3936 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3938 2014-12-05 Yao Qi <yao@codesourcery.com>
3940 * gdb.guile/scm-error.exp: Remove the third argument to
3941 gdb_remote_download.
3942 * gdb.guile/scm-frame-args.exp: Likewise.
3943 * gdb.guile/scm-section-script.exp: Likewise.
3945 2014-12-05 Yao Qi <yao@codesourcery.com>
3947 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3949 2014-12-04 Doug Evans <dje@google.com>
3951 * gdb.python/py-objfile.exp: Add tests for
3952 objfile.add_separate_debug_file.
3954 2014-12-04 Doug Evans <dje@google.com>
3956 * lib/gdb.exp (get_build_id): New function.
3957 (build_id_debug_filename_get): Rewrite to use it.
3958 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3960 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3962 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3963 `method(long)', not just 0x0.
3964 * gdb.cp/nsalias.exp: Align code labels to 4.
3965 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3966 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3967 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3968 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3969 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3970 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3972 2014-12-02 Doug Evans <dje@google.com>
3975 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3976 * gdb.cp/anon-ns2.cc: ... here. New file.
3977 * gdb.cp/anon-ns.exp: Update.
3979 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3981 * gdb.python/py-events.py (inferior_call_handler): New.
3982 (register_changed_handler, memory_changed_handler): New.
3983 (test_events.invoke): Register new handlers.
3984 * gdb.python/py-events.exp: Add tests for inferior call,
3985 memory_changed and register_changed events.
3987 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3989 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3990 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3991 if the linker doesn't understand this.
3993 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3995 * gdb.python/python.exp: Change expected reply to help().
3997 2014-12-01 Yao Qi <yao@codesourcery.com>
3999 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4000 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4001 * configure: Re-generated.
4003 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4005 * gdb.cp/chained-calls.cc: New file.
4006 * gdb.cp/chained-calls.exp: New file.
4007 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4009 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4011 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4012 * gdb.dwarf2/symtab-producer.exp: Same.
4013 * gdb.gdb/python-interrupts.exp: Same.
4014 * gdb.gdb/python-selftest.exp: Same.
4015 * gdb.python/py-linetable.exp: Same.
4016 * gdb.python/py-type.exp: Same.
4017 * gdb.python/py-value-cc.exp: Same.
4018 * gdb.python/py-value.exp: Same.
4020 2014-11-28 Yao Qi <yao@codesourcery.com>
4022 * gdb.base/break-probes.exp: Match library name prefixed with
4025 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4027 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4028 test expected output. Add parentheses for the call to print.
4029 Remove L suffix from integers.
4031 2014-11-26 Doug Evans <dje@google.com>
4033 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4035 2014-11-22 Yao Qi <yao@codesourcery.com>
4037 * gdb.trace/entry-values.c: Remove asms.
4038 (foo): Add foo_label.
4039 (bar): Add bar_label.
4040 * gdb.trace/entry-values.exp: Remove code computing foo's
4041 length and bar's length.
4042 (Dwarf::assemble): Invoke function_range for bar and use
4043 MACRO_AT_func for foo.
4045 2014-11-22 Yao Qi <yao@codesourcery.com>
4047 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4048 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4049 Use .Lgcc43_procstart instead of gcc43.
4051 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4053 * gdb.ada/n_arr_bound: New testcase.
4055 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4057 PR breakpoints/10737
4058 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4059 test_catch_syscall_multi_arch.
4060 (test_catch_syscall_multi_arch): New function.
4062 2014-11-20 Doug Evans <xdje42@gmail.com>
4064 * gdb.base/maint.exp: Update expected output.
4066 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4068 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4069 4-byte instruction on S390.
4071 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4073 * gdb.ada/arr_arr: New testcase.
4075 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4077 * gdb.ada/pkd_arr_elem: New Testcase.
4079 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4081 * gdb.reverse/break-precsave: Expect completion message for
4083 * gdb.reverse/consecutive-precsave.exp: Likewise.
4084 * gdb.reverse/finish-precsave.exp: Likewise.
4085 * gdb.reverse/i386-precsave.exp: Likewise.
4086 * gdb.reverse/machinestate-precsave.exp: Likewise.
4087 * gdb.reverse/sigall-precsave.exp: Likewise.
4088 * gdb.reverse/solib-precsave.exp: Likewise.
4089 * gdb.reverse/step-precsave.exp: Likewise.
4090 * gdb.reverse/until-precsave.exp: Likewise.
4091 * gdb.reverse/watch-precsave.exp: Likewise.
4093 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4095 * gdb.base/bp-permanent.c: Include unistd.h.
4096 * gdb.python/py-framefilter-mi.c (main): Add return type.
4097 * gdb.python/py-framefilter.c (main): Likewise.
4098 * gdb.trace/actions-changed.c (main): Likewise.
4100 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4102 * gdb.mi/until.c: Add eye-catchers.
4103 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4106 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4108 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4109 function header variants in break1.c.
4110 * gdb.base/ena-dis-br.exp: Likewise.
4111 * gdb.base/hbreak2.exp: Likewise.
4112 * gdb.reverse/until-precsave.exp: Drop references to removed
4113 non-prototype function header variants in ur1.c.
4114 * gdb.reverse/until-reverse.exp: Likewise.
4116 2014-11-17 Petr Machata <pmachata@redhat.com>
4118 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4119 ${_cu_offset_size} bytes abbrev offset.
4121 2014-11-15 Doug Evans <xdje42@gmail.com>
4124 * gdb.base/line-symtabs.exp: New file.
4125 * gdb.base/line-symtabs.c: New file.
4126 * gdb.base/line-symtabs.h: New file.
4128 2014-11-14 Yao Qi <yao@codesourcery.com>
4130 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4131 (func): Add label func_label.
4132 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4133 Replace low_pc and high_pc with MACRO_AT_range.
4134 Replace name, low_pc and high_pc with MACRO_AT_func.
4136 2014-11-14 Yao Qi <yao@codesourcery.com>
4138 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4139 Replace name, low_pc and high_pc with MACRO_AT_func.
4141 2014-11-14 Yao Qi <yao@codesourcery.com>
4143 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4144 produce debug information.
4145 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4147 2014-11-14 Yao Qi <yao@codesourcery.com>
4149 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4150 object and get function length.
4151 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4153 (top-level): Replace gdb_compile and clean_restart with
4154 prepare_for_testing.
4155 * gdb.dwarf2/main.c (main): Add label main_label.
4157 2014-11-14 Yao Qi <yao@codesourcery.com>
4159 * lib/dwarf.exp (function_range): New procedure.
4160 (Dwarf::_handle_macro_at_func): New procedure.
4161 (Dwarf::_handle_macro_at_range): New procedure.
4162 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4164 2014-11-14 Yao Qi <yao@codesourcery.com>
4166 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4167 (_handle_attribute): New procedure.
4169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4172 * gdb.base/call-sc.c (zed): Likewise.
4173 * gdb.base/checkpoint.c (main): Likewise.
4174 * gdb.base/dump.c (main): Likewise.
4175 * gdb.base/gcore.c (main): Likewise.
4176 * gdb.base/huge.c (main): Likewise.
4177 * gdb.base/multi-forks.c (main): Likewise.
4178 * gdb.base/pr10179-a.c (main): Likewise.
4179 * gdb.base/savedregs.c (main): Likewise.
4180 * gdb.base/sigaltstack.c (main): Likewise.
4181 * gdb.base/siginfo.c (main): Likewise.
4182 * gdb.base/structs.c (zed): Likewise.
4183 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4184 * gdb.mi/mi-syn-frame.c (main): Likewise.
4185 * gdb.mi/until.c (foo, main): Likewise.
4186 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4187 * gdb.base/solib-weak.c (foo): Declare.
4188 * gdb.base/attach-twice.c: Include stdio.h.
4189 * gdb.base/weaklib1.c: Likewise.
4190 * gdb.base/weaklib2.c: Likewise.
4191 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4192 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4194 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4195 * gdb.mi/mi-exit-code.c: Likewise.
4196 * gdb.base/break-interp-lib.c: Include string.h.
4197 * gdb.base/coremaker.c: Likewise.
4198 * gdb.base/testenv.c: Likewise.
4199 * gdb.python/py-finish-breakpoint.c: Likewise.
4200 * gdb.base/inferior-died.c: Include sys/wait.h.
4201 * gdb.base/fileio.c: Include time.h.
4202 * gdb.base/async-shell.c: Include unistd.h.
4203 * gdb.base/dprintf-non-stop.c: Likewise.
4204 * gdb.base/info-os.c: Likewise.
4205 * gdb.mi/mi-console.c: Likewise.
4206 * gdb.mi/watch-nonstop.c: Likewise.
4207 * gdb.python/py-events.c: Likewise.
4208 * gdb.base/async.c (baz): Move up before its invocation.
4209 * gdb.base/code_elim2.c (my_global_func): Likewise.
4210 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4211 * gdb.base/advance.c (func2): Likewise.
4213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4217 * gdb.base/annota3.c: Likewise.
4218 * gdb.base/async.c: Likewise.
4219 * gdb.base/average.c: Likewise.
4220 * gdb.base/call-ar-st.c: Likewise.
4221 * gdb.base/call-rt-st.c: Likewise.
4222 * gdb.base/call-sc.c: Likewise.
4223 * gdb.base/call-strs.c: Likewise.
4224 * gdb.base/ending-run.c: Likewise.
4225 * gdb.base/execd-prog.c: Likewise.
4226 * gdb.base/exprs.c: Likewise.
4227 * gdb.base/foll-exec.c: Likewise.
4228 * gdb.base/foll-fork.c: Likewise.
4229 * gdb.base/foll-vfork.c: Likewise.
4230 * gdb.base/funcargs.c: Likewise.
4231 * gdb.base/gcore.c: Likewise.
4232 * gdb.base/jump.c: Likewise.
4233 * gdb.base/langs0.c: Likewise.
4234 * gdb.base/langs1.c: Likewise.
4235 * gdb.base/langs2.c: Likewise.
4236 * gdb.base/mips_pro.c: Likewise.
4237 * gdb.base/nodebug.c: Likewise.
4238 * gdb.base/opaque0.c: Likewise.
4239 * gdb.base/opaque1.c: Likewise.
4240 * gdb.base/recurse.c: Likewise.
4241 * gdb.base/run.c: Likewise.
4242 * gdb.base/scope0.c: Likewise.
4243 * gdb.base/scope1.c: Likewise.
4244 * gdb.base/setshow.c: Likewise.
4245 * gdb.base/setvar.c: Likewise.
4246 * gdb.base/shmain.c: Likewise.
4247 * gdb.base/shr1.c: Likewise.
4248 * gdb.base/shr2.c: Likewise.
4249 * gdb.base/sigall.c: Likewise.
4250 * gdb.base/signals.c: Likewise.
4251 * gdb.base/so-indr-cl.c: Likewise.
4252 * gdb.base/solib2.c: Likewise.
4253 * gdb.base/structs.c: Likewise.
4254 * gdb.base/sum.c: Likewise.
4255 * gdb.base/vforked-prog.c: Likewise.
4256 * gdb.base/watchpoint.c: Likewise.
4257 * gdb.reverse/shr2.c: Likewise.
4258 * gdb.reverse/until-reverse.c: Likewise.
4259 * gdb.reverse/ur1.c: Likewise.
4260 * gdb.reverse/watch-reverse.c: Likewise.
4262 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4264 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4266 * gdb.base/sepdebug.exp: Drop references to removed code.
4268 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4270 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4271 variant. Preserve original line numbering.
4272 * gdb.base/list1.c: Likewise.
4274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4276 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4278 * gdb.base/break1.c: Likewise.
4279 * gdb.base/break.exp: Drop references to removed code.
4281 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4283 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4288 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4290 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4292 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4293 logic into perform_all_tests() and invoke it with and without
4294 function header prototypes.
4295 (do_function_calls): Remove conditional XFAIL for PR 5318.
4296 (rerun_and_prepare): Remove duplicate code.
4297 (perform_all_tests): New. Main logic moved here.
4299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4301 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4302 code guarded by #ifdef NO_PROTOTYPES.
4303 (t_double_many_args): Likewise.
4304 (DEF_FUNC_MANY_ARGS_1): Likewise.
4305 (DEF_FUNC_VALUES_1): Likewise.
4306 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4307 guarded by #ifdef PROTOTYPES.
4309 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4311 * gdb.mi/mi-console.c: Add eye-catcher.
4312 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4313 instead of literal line number.
4315 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4317 * gdb.base/shr2.c: Add eye-catcher.
4318 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4321 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4323 * gdb.base/jump.c: Add eye-catchers.
4324 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4327 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4329 * gdb.base/execd-prog.c: Add eye-catchers.
4330 * gdb.base/foll-exec.c: Likewise.
4331 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4334 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4336 * gdb.base/ending-run.c: Add eye-catchers.
4337 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4338 literal line numbers.
4340 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4342 * gdb.base/call-rt-st.c: Add eye-catchers.
4343 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4344 literal line numbers.
4346 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4348 * gdb.base/call-ar-st.c: Add eye-catchers.
4349 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4350 literal line numbers.
4352 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * gdb.base/average.c: Add eye-catchers.
4355 * gdb.base/sum.c: Likewise.
4356 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4357 regexps dynamically.
4359 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4361 * gdb.base/solib1.c: Add eye-catchers.
4362 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4363 literal line numbers.
4365 2014-11-12 Pedro Alves <palves@redhat.com>
4367 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4370 2014-11-12 Pedro Alves <palves@redhat.com>
4372 * gdb.arch/i386-bp_permanent.c: New file.
4373 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4374 (srcfile): Set to i386-bp_permanent.c.
4375 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4376 that stepi does not execute the 'leave' instruction, instead of
4377 testing it does execute.
4378 * gdb.base/bp-permanent.c: New file.
4379 * gdb.base/bp-permanent.exp: New file.
4381 2014-11-10 Doug Evans <xdje42@gmail.com>
4384 * gdb.base/symtab-search-order.exp: New file.
4385 * gdb.base/symtab-search-order.c: New file.
4386 * gdb.base/symtab-search-order-1.c: New file.
4387 * gdb.base/symtab-search-order-shlib-1.c: New file.
4389 2014-11-07 Pedro Alves <palves@redhat.com>
4392 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4395 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4398 * gdb.cp/pr17494.cc: New file.
4399 * gdb.cp/pr17494.exp: New file.
4401 2014-11-02 Yao Qi <yao@codesourcery.com>
4403 * gdb.python/python.exp: Get working directory and match the
4404 output of "set extended-prompt \\w " with it.
4406 2014-10-30 Doug Evans <dje@google.com>
4408 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4410 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4413 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4415 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4416 * gdb.base/realname-expand.exp: Likewise.
4417 * gdb.linespec/macro-relative.exp: Likewise.
4419 2014-10-29 Pedro Alves <palves@redhat.com>
4422 * gdb.threads/schedlock.c (some_function): New function.
4423 (call_function): New global.
4424 (MAYBE_CALL_SOME_FUNCTION): New macro.
4425 (thread_function): Call it.
4426 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4427 and use it instead of a global counter. Adjust all callers.
4428 (get_current_thread): Use "find current thread" for test message
4429 here rather than having all callers pass down the same string.
4430 (goto_loop): New procedure, factored out from ...
4431 (my_continue): ... this.
4432 (step_ten_loops): Change parameter from test message to command to
4434 (list_count): Delete global.
4435 (check_result): New procedure, factored out from duplicate top
4437 (continue tests): Wrap in with_test_prefix.
4438 (test_step): New procedure, factored out from duplicate top level
4440 (top level): Test "step" in combination with all scheduler-locking
4441 modes. Test "next" in combination with all scheduler-locking
4442 modes, and in combination with stepping over a function call or
4444 * gdb.threads/next-bp-other-thread.c: New file.
4445 * gdb.threads/next-bp-other-thread.exp: New file.
4447 2014-10-29 Pedro Alves <palves@redhat.com>
4450 * gdb.python/python.exp: Test a multi-line command that spawns
4452 * gdb.base/multi-line-starts-subshell.exp: New file.
4454 2014-10-29 Yao Qi <yao@codesourcery.com>
4456 * gdb.base/fileio.exp: Make directories on host.
4458 2014-10-29 Yao Qi <yao@codesourcery.com>
4460 * gdb.base/fileio.c (test_write): Close the file.
4462 2014-10-28 Pedro Alves <palves@redhat.com>
4465 * gdb.base/sigstep.c (no_handler): New global.
4466 (main): If 'no_handler is true, set the signal handlers to
4468 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4469 with_sw_watch and no_handler parameters. Handle them.
4470 (top level) <stepping over handler when stopped at a breakpoint
4471 test>: Add a test axis for testing with a software watchpoint, and
4472 another for testing with the signal handler set to SIG_IGN.
4473 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4474 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4476 2014-10-28 Pedro Alves <palves@redhat.com>
4479 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4480 * gdb.base/sigstep.exp (other_handler_location): New global.
4481 (advance): Support stepping into the signal handler, and running
4482 commands while in the handler.
4483 (in_handler_map): New global.
4484 (top level): In the advance test, add combinations for getting
4485 into the handler with stepping commands, and for running commands
4486 in the handler. Add comment descripting the advancei tests.
4488 2014-10-28 Pedro Alves <palves@redhat.com>
4490 * gdb.base/sigstep.exp: Use build_executable instead of
4491 prepare_for_testing.
4492 (top level): Move code that starts GDB, runs to main and creates a
4494 (restart): ... this new procedure.
4495 (top level): Move backtrace from signal handler test to ...
4496 (validate_backtrace): ... this new procedure.
4497 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4498 with_test_prefix. Always restart GDB.
4499 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4500 with_test_prefix. Always restart GDB. No need to delete
4501 breakpoints after the test.
4502 (test_skip_handler): Remove prefix parameter.
4503 (skip_over_handler, breakpoint_to_handler)
4504 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4505 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4506 restart GDB. No need to delete breakpoints after the test.
4507 (top level): Use foreach to call the test procedures with
4510 2014-10-28 Pedro Alves <palves@redhat.com>
4512 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4513 instead of GNATS numbers.
4514 * gdb.base/sigbpt.exp: Likewise.
4515 * gdb.base/siginfo.exp: Likewise.
4516 * gdb.base/sigstep.exp: Likewise.
4518 2014-10-27 Pedro Alves <palves@redhat.com>
4520 * gdb.base/sigstep.c (dummy): New global.
4521 (main): Issue a couple writes to the new global.
4522 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4524 (skip_over_handler): Use test_skip_handler.
4525 (top level): Call skip_over_handler for stepi and nexti too.
4526 (breakpoint_over_handler): Use test_skip_handler.
4527 (top level): Call breakpoint_over_handler for stepi and nexti too.
4529 2014-10-27 Yao Qi <yao@codesourcery.com>
4531 * gdb.trace/tfile.c (adjust_function_address)
4532 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4533 function descriptor.
4535 2014-10-24 Don Breazeal <donb@codesourcery.com>
4537 * gdb.base/foll-fork.exp (test_follow_fork,
4538 catch_fork_child_follow): Check for updated fork messages emitted
4540 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4541 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4542 vfork_and_exec_child_follow_through_step): Check for updated vfork
4543 messages emitted from infrun.c.
4545 2014-10-24 Pedro Alves <palves@redhat.com>
4547 * gdb.base/corefile.exp: Remove references to ultrix.
4548 * gdb.base/interrupt.exp: Likewise.
4549 * gdb.base/whatis.exp: Likewise.
4550 * gdb.gdb/selftest.exp: Likewise.
4551 * gdb.threads/manythreads.exp: Likewise.
4552 * gdb.threads/print-threads.exp: Likewise.
4553 * gdb.threads/pthreads.exp:: Likewise.
4554 * gdb.threads/schedlock.exp: Likewise.
4556 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4558 * gdb.cp/non-trivial-retval.cc: Add a test case.
4559 * gdb.cp/non-trivial-retval.exp: Add a test.
4561 2014-10-20 Yao Qi <yao@codesourcery.com>
4563 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4564 * gdb.python/py-objfile-script-gdb.py: New file.
4565 * gdb.python/py-objfile-script.exp: Update reference to
4566 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4567 of remote_download. Remove the dest file.
4569 2014-10-20 Yao Qi <yao@codesourcery.com>
4571 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4572 * gdb.base/step-line.exp: Likewise.
4573 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4574 * gdb.dwarf2/dw2-basic.exp: Likewise.
4575 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4576 * gdb.dwarf2/dw2-filename.exp: Likewise.
4577 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4578 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4579 * gdb.dwarf2/dw2-producer.exp: Likewise.
4580 * gdb.dwarf2/mac-fileno.exp: Likewise.
4581 * gdb.python/py-frame-args.exp: Likewise.
4582 * gdb.python/py-framefilter.exp: Likewise.
4583 * gdb.python/py-mi.exp: Likewise.
4584 * gdb.python/py-objfile-script.exp: Likewise
4585 * gdb.python/py-pp-integral.exp: Likewise.
4586 * gdb.python/py-pp-re-notag.exp: Likewise.
4587 * gdb.python/py-prettyprint.exp: Likewise.
4588 * gdb.python/py-section-script.exp: Likewise.
4589 * gdb.python/py-typeprint.exp: Likewise.
4590 * gdb.python/py-xmethods.exp: Likewise.
4591 * gdb.stabs/weird.exp: Likewise.
4592 * gdb.xml/tdesc-regs.exp: Likewise.
4594 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4596 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4597 (out_cu): Use addr_len for the size of addresses.
4598 (out_line): Likewise. Size DW_LNE_set_address instruction
4599 according to addr_len.
4600 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4601 (FUNC): Add START_INSNS to definition.
4603 2014-10-18 Yao Qi <yao@codesourcery.com>
4605 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4606 gdb_has_argv0 return true.
4607 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4608 check [target_info exists noargs], check [gdb_has_argv0]
4610 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4611 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4614 2014-10-17 Doug Evans <dje@google.com>
4616 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4618 * gdb.python/py-events.py: Add clear_objfiles event.
4620 2014-10-17 Doug Evans <dje@google.com>
4622 * gdb.python/py-objfile.exp: Test progspace attribute.
4624 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4626 * gdb.guile/scm-breakpoint.exp: Do not assume any
4627 directory separators when matching source file paths.
4628 * gdb.python/py-breakpoint.exp: Likewise.
4629 * gdb.reverse/break-precsave.exp: Likewise.
4630 * gdb.reverse/break-reverse.exp: Likewise.
4631 * gdb.reverse/consecutive-precsave.exp: Likewise.
4632 * gdb.reverse/finish-precsave.exp: Likewise.
4633 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4634 * gdb.reverse/finish-reverse.exp: Likewise.
4635 * gdb.reverse/i386-precsave.exp: Likewise.
4636 * gdb.reverse/i387-env-reverse.exp: Likewise.
4637 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4638 * gdb.reverse/machinestate-precsave.exp: Likewise.
4639 * gdb.reverse/machinestate.exp: Likewise.
4640 * gdb.reverse/sigall-precsave.exp: Likewise.
4641 * gdb.reverse/solib-precsave.exp: Likewise.
4642 * gdb.reverse/step-precsave.exp: Likewise.
4643 * gdb.reverse/until-precsave.exp: Likewise.
4644 * gdb.reverse/watch-precsave.exp: Likewise.
4645 * gdb.reverse/watch-reverse.exp: Likewise.
4647 2014-10-17 Yao Qi <yao@codesourcery.com>
4649 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4650 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4652 2014-10-17 Pedro Alves <palves@redhat.com>
4655 * gdb.base/bg-execution-repeat.c: New file.
4656 * gdb.base/bg-execution-repeat.exp: New file.
4658 2014-10-17 Pedro Alves <palves@redhat.com>
4661 * gdb.base/continue-all-already-running.c: New file.
4662 * gdb.base/continue-all-already-running.exp: New file.
4664 2014-10-17 Pedro Alves <palves@redhat.com>
4667 * gdb.base/annota-input-while-running.c: New file.
4668 * gdb.base/annota-input-while-running.exp: New file.
4670 2014-10-17 Pedro Alves <palves@redhat.com>
4672 * gdb.base/callfuncs.exp: emove references to osf.
4673 * gdb.base/sigall.exp: Likewise.
4674 * gdb.gdb/selftest.exp: Likewise.
4675 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4676 * gdb.mi/non-stop.c: Likewise.
4677 * gdb.mi/pthreads.c: Likewise.
4678 * gdb.reverse/sigall-precsave.exp: Likewise.
4679 * gdb.reverse/sigall-reverse.exp: Likewise.
4680 * gdb.threads/pthreads.c: Likewise.
4681 * gdb.threads/pthreads.exp: Likewise.
4683 2014-10-17 Yao Qi <yao@codesourcery.com>
4685 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4686 check 'target_info exists noargs'.
4687 (test_command_prompt_position): Likewise.
4688 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4690 (progvar_simple_while_test): Likewise.
4691 (progvar_complex_if_while_test): Likewise.
4692 (if_while_breakpoint_command_test): Likewise.
4693 (infrun_breakpoint_command_test): Likewise.
4694 (breakpoint_command_test): Likewise.
4695 (watchpoint_command_test): Likewise.
4696 (bp_deleted_in_command_test): Likewise.
4697 (temporary_breakpoint_commands): Likewise.
4699 2014-10-16 Yao Qi <yao@codesourcery.com>
4701 * gdb.base/remotetimeout.exp: Remove noargs checking.
4703 2014-10-15 Pedro Alves <palves@redhat.com>
4706 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4707 * gdb.base/breakpoint-in-ro-region.exp
4708 (probe_target_hardware_step): New procedure.
4709 (top level): Probe hardware stepping and hardware breakpoint
4710 support. Test stepping through a read-only region, with both
4711 "breakpoint auto-hw" on and off and both "always-inserted" on and
4714 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4716 * gdb.dlang/demangle.exp: Update for demangling changes.
4718 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4720 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4721 * gdb.cp/non-trivial-retval.exp: Add new tests.
4723 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4727 * gdb.cp/non-trivial-retval.cc: New file.
4728 * gdb.cp/non-trivial-retval.exp: New file.
4730 2014-10-15 Yao Qi <yao@codesourcery.com>
4732 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4735 2014-10-15 Yao Qi <yao@codesourcery.com>
4737 * gdb.python/py-symbol.exp: Match file base name if host is
4738 remote, otherwise match file name with dir name.
4739 * gdb.python/py-symtab.exp: Likewise.
4740 * gdb.python/python.exp: Likewise.
4742 2014-10-15 Yao Qi <yao@codesourcery.com>
4744 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4746 * gdb.python/py-symtab.exp: Likewise.
4747 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4750 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4752 * gdb.ada/addr_arith: New testcase.
4754 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4756 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4757 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4758 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4759 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4761 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4763 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4764 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4765 * gdb.arch/stap-eval-lang-ada.exp: New file.
4767 2014-10-14 Yao Qi <yao@codesourcery.com>
4769 * gdb.mi/mi-var-child.c (nothing1): New function.
4770 (nothing2): New function.
4771 (do_children_tests): Set function pointers by nothing1 and
4773 * gdb.mi/mi-var-child.exp: Step over new added statements.
4774 Update test to match the new output.
4775 * gdb.mi/var-cmd.c (nothing1): New function.
4776 (nothing2): New function.
4777 (do_children_tests): Set function pointers by nothing1 and
4779 * gdb.mi/mi-var-display.exp: Update test to match output.
4780 Step to the line specified by $line_dct_nothing.
4781 Increase the number of lines to step.
4783 2014-10-14 Yao Qi <yao@codesourcery.com>
4785 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4787 * gdb.mi/mi2-var-child.exp: Likewise.
4789 2014-10-13 Doug Evans <dje@google.com>
4791 * gdb.python/py-objfile.exp: Change name of file name test.
4793 2014-10-13 Doug Evans <dje@google.com>
4795 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4796 from the start of the CU.
4798 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4799 Yao Qi <yao@codesourcery.com>
4801 Fix "save breakpoints" for "catch" command.
4802 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4803 Remove -nonewline. Match also the added "main" line.
4805 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4807 Fix "save breakpoints" for "disable $bpnum" command.
4808 * gdb.base/save-bp.c (main): Add label.
4809 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4811 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4813 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4815 2014-10-11 Yao Qi <yao@codesourcery.com>
4817 * gdb.server/server-kill.exp: Execute command
4818 "set remote trace-status-packet on" before "tstatus".
4820 2014-10-11 Yao Qi <yao@codesourcery.com>
4822 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4823 (main): Call getppid.
4824 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4825 and continue to it. Read variable "server_pid".
4827 2014-10-11 Yao Qi <yao@codesourcery.com>
4829 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4831 2014-10-11 Yao Qi <yao@codesourcery.com>
4833 * gdb.threads/thread-find.exp: Don't execute command
4835 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4836 * gdb.threads/linux-dp.exp: Don't check the condition
4837 $threads_created equals to zero.
4839 2014-10-10 Pedro Alves <palves@redhat.com>
4841 * gdb.base/bigcore.exp: Remove references to IRIX.
4842 * gdb.base/funcargs.exp: Likewise.
4843 * gdb.base/interrupt.exp: Likewise.
4844 * gdb.base/mips_pro.exp: Likewise.
4845 * gdb.base/nodebug.exp: Likewise.
4846 * gdb.base/setvar.exp: Likewise.
4847 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4849 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4850 Pedro Alves <palves@redhat.com>
4853 * gdb.base/vdso-warning.c: New file.
4854 * gdb.base/vdso-warning.exp: New file.
4856 2014-10-02 Doug Evans <dje@google.com>
4858 * gdb.base/structs.c (main): Don't run forever.
4860 2014-10-02 Pedro Alves <palves@redhat.com>
4862 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4863 (top level) <stop threads 1, stop threads 2>: Use it.
4865 2014-10-02 Pedro Alves <palves@redhat.com>
4867 * gdb.threads/break-while-running.exp (test): Add new
4868 'update_thread_list' argument. Skip "info threads" if false.
4869 (top level): Add new 'update_thread_list' axis.
4871 2014-10-02 Pedro Alves <palves@redhat.com>
4873 PR breakpoints/17431
4874 * gdb.base/execl-update-breakpoints.c: New file.
4875 * gdb.base/execl-update-breakpoints.exp: New file.
4877 2014-10-01 Pedro Alves <palves@redhat.com>
4879 * gdb.base/breakpoint-in-ro-region.c: New file.
4880 * gdb.base/breakpoint-in-ro-region.exp: New file.
4882 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4884 * gdb.mi/mi-exit-code.exp: New file.
4885 * gdb.mi/mi-exit-code.c: New file.
4887 2014-09-30 Yao Qi <yao@codesourcery.com>
4889 * lib/prelink-support.exp (build_executable_own_libs): Error if
4890 the target isn't native.
4892 2014-09-30 Yao Qi <yao@codesourcery.com>
4894 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4897 2014-09-22 Pedro Alves <palves@redhat.com>
4899 * gdb.threads/break-while-running.exp: New file.
4900 * gdb.threads/break-while-running.c: New file.
4902 2014-09-19 Yao Qi <yao@codesourcery.com>
4904 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4905 Invoke test. Restart GDB with --readnow and invoke test again.
4907 2014-09-19 Yao Qi <yao@codesourcery.com>
4909 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4910 proc set_breakpoint_on_gcd_function. Invoke
4911 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4912 invoke set_breakpoint_on_gcd_function again.
4914 2014-09-18 Doug Evans <dje@google.com>
4916 * gdb.dwarf2/symtab-producer.exp: New file.
4918 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4920 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4921 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4922 * gdb.base/global-var-nested-by-dso.c: Likewise.
4923 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4925 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4926 Pedro Alves <palves@redhat.com>
4928 * gdb.base/watch-bitfields.exp: Pass string other than test file
4929 name to prepare_for_testing.
4930 (watch): New procedure.
4931 (expect_watchpoint): Use with_test_prefix.
4932 (top level): Factor out tests to ...
4933 (test_watch_location, test_regular_watch): ... these new
4934 procedures, and use with_test_prefix and gdb_continue_to_end.
4936 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4938 PR breakpoints/12526
4939 * gdb.base/watch-bitfields.exp: New file.
4940 * gdb.base/watch-bitfields.c: New file.
4942 2014-09-16 Pedro Alves <palves@redhat.com>
4944 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4945 software and hardware addresses, not software address against
4948 2014-09-16 Pedro Alves <palves@redhat.com>
4950 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4951 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4953 2014-09-16 Pedro Alves <palves@redhat.com>
4955 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4957 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4958 "*-*-vxworks*" throughout.
4959 * gdb.base/break.exp: Likewise.
4960 * gdb.base/default.exp: Likewise.
4961 * gdb.base/scope.exp: Likewise.
4962 * gdb.base/sepdebug.exp: Likewise.
4963 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4965 * gdb.base/run.c: Likewise.
4966 * gdb.base/sepdebug.c: Likewise.
4967 * gdb.hp/gdb.aCC/run.c: Likewise.
4968 * gdb.reverse/until-reverse.c: Likewise.
4969 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4971 2014-09-16 Yao Qi <yao@codesourcery.com>
4973 * boards/local-remote-host-native.exp: New file.
4975 2014-09-14 Doug Evans <xdje42@gmail.com>
4977 * gdb.threads/queue-signal.c (thread_count): New variable.
4978 (thread_count_mutex, thread_count_condvar): New variables.
4979 (incr_thread_count, wait_all_threads_running): New functions.
4980 (main): Wait for all threads to be in their thread functions.
4982 2014-09-13 Doug Evans <xdje42@gmail.com>
4984 * gdb.threads/queue-signal.c: New file.
4985 * gdb.threads/queue-signal.exp: New file.
4987 2014-09-13 Doug Evans <xdje42@gmail.com>
4989 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4990 be consistent with what default_gdb_init uses.
4991 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4992 the plain text of the prompt. Add some logging printfs.
4993 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4995 2014-09-12 Pedro Alves <palves@redhat.com>
4997 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4998 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4999 * gdb.arch/i386-size-overlap.exp: Likewise.
5000 * gdb.arch/i386-size.exp: Likewise.
5001 * gdb.arch/i386-unwind.exp: Likewise.
5002 * gdb.base/a2-run.exp: Likewise.
5003 * gdb.base/break.exp: Likewise.
5004 * gdb.base/charset.exp: Likewise.
5005 * gdb.base/chng-syms.exp: Likewise.
5006 * gdb.base/commands.exp: Likewise.
5007 * gdb.base/dbx.exp: Likewise.
5008 * gdb.base/find.exp: Likewise.
5009 * gdb.base/funcargs.exp: Likewise.
5010 * gdb.base/jit-simple.exp: Likewise.
5011 * gdb.base/reread.exp: Likewise.
5012 * gdb.base/sepdebug.exp: Likewise.
5013 * gdb.base/step-bt.exp: Likewise.
5014 * gdb.cp/mb-inline.exp: Likewise.
5015 * gdb.cp/mb-templates.exp: Likewise.
5016 * gdb.objc/basicclass.exp: Likewise.
5017 * gdb.threads/killed.exp: Likewise.
5019 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5022 * gdb.arch/powerpc-stackless.S: New file.
5023 * gdb.arch/powerpc-stackless.exp: New file.
5025 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5027 * gdb.base/attach.c: Include unistd.h.
5028 (main): Call alarm. Add label postloop.
5029 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5030 gdb_breakpoint, gdb_continue_to_breakpoint.
5031 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5033 2014-09-11 Pedro Alves <palves@redhat.com>
5036 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5037 * gdb.base/attach.exp (test_command_line_attach_run): New
5039 (top level): Call it.
5041 2014-09-11 Pedro Alves <palves@redhat.com>
5043 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5044 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5045 (do_command_attach_tests): Use spawn_wait_for_attach.
5046 * gdb.base/solib-overlap.exp: Likewise.
5047 * gdb.multi/multi-attach.exp: Likewise.
5048 * gdb.python/py-prompt.exp: Likewise.
5049 * gdb.python/py-sync-interp.exp: Likewise.
5050 * gdb.server/ext-attach.exp: Likewise.
5052 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5054 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5055 command in testcase. Simplify testcase.
5057 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5059 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5061 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5063 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5065 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5067 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5069 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5071 * gdb.dwarf2/dynarr-ptr.c: New file.
5072 * gdb.dwarf2/dynarr-ptr.exp: New file.
5074 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5076 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5077 of 30 rather than hardcoding 120 for a slow test case. Take the
5078 `gdb,timeout' target setting into account for this calculation.
5079 Don't extend the timeout for the test cases that don't need it.
5081 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5083 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5084 a factor of 2 for a slow test case. Take the `gdb,timeout'
5085 target setting into account for this calculation.
5086 * gdb.reverse/until-precsave.exp: Increase the timeout by
5087 a factor of 15 and 3 respectively rather than adding 120
5088 for a pair of slow test cases. Take the `gdb,timeout'
5089 target setting into account for this calculation.
5091 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5093 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5094 timeout, don't pass one down to gdb_expect.
5095 (gdb_expect): Rework timeout selection.
5097 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5099 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5100 exception on timeout.
5101 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5102 (gdbserver_start_extended): Catch any `gdbserver_start' error
5104 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5105 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5106 `gdbserver_gdb_load' error exceptions.
5108 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5110 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5111 120 on waiting for the TCP socket to open.
5113 2014-09-09 Doug Evans <xdje42@gmail.com>
5115 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5116 _caller_matches, _any_caller_is, _any_caller_matches.
5118 2014-09-09 Doug Evans <xdje42@gmail.com>
5120 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5122 2014-09-09 Yao Qi <yao@codesourcery.com>
5124 * gdb.mi/mi-var-display.exp: Set print symbol off.
5126 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5129 * gdb.base/commands.exp: Add tests to verify user-defined
5130 commands with empty bodies.
5131 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5132 python commands in `show user command`.
5133 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5134 scheme commands in `show user command`.
5136 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5139 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5140 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5141 * gdb.python/py-framefilter-invalidarg.exp: New file.
5142 * gdb.python/py-framefilter-invalidarg.py: New file.
5144 2014-09-06 Doug Evans <xdje42@gmail.com>
5147 * gdb.python/py-caller-is.c: New file.
5148 * gdb.python/py-caller-is.exp: New file.
5150 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5153 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5154 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5156 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5159 * gdb.fortran/print-formatted.exp: New file.
5160 * gdb.fortran/print-formatted.f90: Likewise.
5162 2014-09-03 Sasha Smundak <asmundak@google.com>
5164 * gdb.python/py-frame.exp: Test Frame.read_register.
5166 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5169 * gdb.python/py-completion.exp: New file.
5170 * gdb.python/py-completion.py: Likewise.
5172 2014-08-28 Doug Evans <dje@google.com>
5174 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5175 eax,etc. are live with values set by gdb and thus the compiler can't
5177 * gdb.arch/i386-pseudo.c (main): Ditto.
5179 2014-08-27 Doug Evans <dje@google.com>
5181 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5183 2014-08-25 Doug Evans <dje@google.com>
5185 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5188 2014-08-25 Doug Evans <dje@google.com>
5190 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5192 2014-08-24 Yao Qi <yao@codesourcery.com>
5194 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5196 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5198 2014-08-22 Doug Evans <dje@google.com>
5201 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5202 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5203 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5205 2014-08-22 Yao Qi <yao@codesourcery.com>
5207 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5208 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5209 * gdb.python/python.exp: Likewise. Use .py file on the host
5210 instead of the build.
5212 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5214 * gdb.threads/gcore-stale-thread.c: New file.
5215 * gdb.threads/gcore-stale-thread.exp: New file.
5217 2014-08-21 Pedro Alves <palves@redhat.com>
5219 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5220 * gdb.base/gcore-relro-pie.exp: Likewise.
5221 * gdb.base/gcore-relro.exp: Likewise.
5222 * gdb.base/gcore.exp: Likewise.
5223 * gdb.base/print-symbol-loading.exp: Likewise.
5224 * gdb.threads/gcore-thread.exp: Likewise.
5225 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5227 2014-08-20 Pedro Alves <palves@redhat.com>
5228 Jan Kratochvil <jan.kratochvil@redhat.com>
5230 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5232 (EXPECT): Handle READ1 being set.
5233 (all): Depend on EXTRA_RULES.
5234 (check-read1, expect-read1, read1.so, read1): New rules.
5235 * README (Testsuite Parameters): Document the READ1 make variable.
5236 (Race detection): New section.
5237 * configure: Regenerate.
5238 * configure.ac: If build==host==target, and running under a
5239 GNU/glibc system, add read1 to the extra Makefile rules.
5240 (EXTRA_RULES): AC_SUBST it.
5241 * lib/read1.c: New file.
5243 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5245 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5246 the handling of variables declared as a typedef to an array
5247 which a DW_AT_data_location attribute.
5249 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5250 Pedro Alves <palves@redhat.com>
5254 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5257 2014-08-19 Pedro Alves <palves@redhat.com>
5259 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5261 2014-08-19 Yao Qi <yao@codesourcery.com>
5263 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5266 2014-08-18 David Blaikie <dblaikie@gmail.com>
5268 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5270 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5272 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5273 attribute in array range.
5275 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5277 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5279 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5282 * gdb.cp/pr17132.cc: New file.
5283 * gdb.cp/pr17132.exp: New file.
5285 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5287 * gdb.python/py-xmethods.py (A_getarrayind)
5288 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5289 Use 'print' with function call syntax.
5290 (E_method_matcher.match): Fix tab vs space indentation mixup.
5292 2014-08-15 Yao Qi <yao@codesourcery.com>
5294 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5297 2014-08-15 Yao Qi <yao@codesourcery.com>
5299 * gdb.cp/casts.exp: Set print symbol off.
5300 * gdb.cp/class2.exp: Likewise.
5301 * gdb.cp/overload.exp: Likewise.
5302 * gdb.cp/templates.exp: Likewise.
5304 2014-08-11 Doug Evans <dje@google.com>
5306 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5307 (test_load_shlib): Update.
5309 2014-08-09 Yao Qi <yao@codesourcery.com>
5311 * gdb.base/display.exp: Invoke is_address_zero_readable.
5312 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5313 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5314 * gdb.base/hbreak-unmapped.exp: Return if
5315 is_address_zero_readable returns true.
5316 * gdb.base/signest.exp: Likewise.
5317 * gdb.base/signull.exp: Likewise.
5318 * gdb.base/sigbpt.exp: Likewise.
5319 * gdb.guile/scm-disasm.exp: Do the test if
5320 is_address_zero_readable returns false.
5321 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5322 * gdb.python/py-arch.exp: Likewise.
5323 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5324 * lib/gdb.exp (is_address_zero_readable): New proc.
5326 2014-08-09 Yao Qi <yao@codesourcery.com>
5329 * gdb.mi/mi-var-display.exp: Make test messages unique.
5331 2014-08-04 Tom Tromey <tromey@redhat.com>
5333 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5336 2014-08-04 Tom Tromey <tromey@redhat.com>
5338 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5341 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5343 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5344 inner_vla_struct_object_size.
5345 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5348 2014-07-30 Pedro Alves <palves@redhat.com>
5350 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5353 2014-07-29 Yao Qi <yao@codesourcery.com>
5356 * gdb.base/until-nodebug.exp: New.
5358 2014-07-28 Doug Evans <xdje42@gmail.com>
5361 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5362 previously existing parameter, and previously ambiguously spelled
5365 2014-07-28 Will Newton <will.newton@linaro.org>
5367 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5369 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5370 Doug Evans <xdje42@gmail.com>
5373 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5375 2014-07-25 Pedro Alves <palves@redhat.com>
5377 * gdb.threads/signal-command-handle-nopass.c: New file.
5378 * gdb.threads/signal-command-handle-nopass.exp: New file.
5379 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5380 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5381 * gdb.threads/signal-delivered-right-thread.c: New file.
5382 * gdb.threads/signal-delivered-right-thread.exp: New file.
5384 2014-07-25 Pedro Alves <palves@redhat.com>
5386 * gdb.base/double-prompt-target-event-error.exp
5387 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5389 (cancel_pagination_in_target_event): Rework double prompt
5391 * gdb.base/paginate-after-ctrl-c-running.exp
5392 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5394 * gdb.base/paginate-bg-execution.exp
5395 (test_bg_execution_pagination_return)
5396 (test_bg_execution_pagination_cancel): Remove '-notransfer
5398 * gdb.base/paginate-execution-startup.exp
5399 (test_fg_execution_pagination_return)
5400 (test_fg_execution_pagination_cancel): Remove '-notransfer
5402 * gdb.base/paginate-inferior-exit.exp
5403 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5405 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5406 * lib/gdb.exp (pagination_prompt): Run text through
5408 (gdb_test_multiple): Match $pagination_prompt instead of
5410 (string_to_regexp): Move to lib/gdb-utils.exp.
5412 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5414 * gdb.arch/amd64-entry-value-paramref.S: New file.
5415 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5416 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5417 * gdb.arch/amd64-optimout-repeat.S: New file.
5418 * gdb.arch/amd64-optimout-repeat.c: New file.
5419 * gdb.arch/amd64-optimout-repeat.exp: New file.
5421 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5424 * gdb.base/statistics.exp: New file.
5426 2014-07-17 Doug Evans <dje@google.com>
5429 * gdb.base/maint.exp: Update testing of per-command stats.
5431 2014-07-16 Pedro Alves <palves@redhat.com>
5433 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5434 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5435 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5436 (tfile_write_buf): New functions.
5437 (add_memory_block): Rewrite using the above.
5438 (adjust_function_address): New function.
5439 (FUNCTION_ADDRESS): New macro.
5440 (write_basic_trace_file): Remove short_x local, and use
5441 tfile_write_16. Change type of func_addr local to unsigned long
5442 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5443 here. Cast argument of add_memory_block to char pointer.
5444 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5445 (main): Remove parameters.
5446 * gdb.trace/tfile.exp: Remove nowarnings.
5448 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5450 * gdb.base/debug-expr.exp: Test string evaluation with
5451 "debug expression" on.
5453 2014-07-15 Pedro Alves <palves@redhat.com>
5455 * gdb.base/reread.exp: Use clean_restart.
5457 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5459 * gdb.arch/avr-flash-qualifer.c: New.
5460 * gdb.arch/avr-flash-qualifer.exp: New.
5462 2014-07-14 Pedro Alves <palves@redhat.com>
5464 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5465 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5467 2014-07-14 Pedro Alves <palves@redhat.com>
5469 * gdb.base/double-prompt-target-event-error.c: New file.
5470 * gdb.base/double-prompt-target-event-error.exp: New file.
5472 2014-07-14 Pedro Alves <palves@redhat.com>
5475 * gdb.base/paginate-inferior-exit.c: New file.
5476 * gdb.base/paginate-inferior-exit.exp: New file.
5478 2014-07-14 Pedro Alves <palves@redhat.com>
5481 * gdb.base/paginate-bg-execution.c: New file.
5482 * gdb.base/paginate-bg-execution.exp: New file.
5484 2014-07-14 Pedro Alves <palves@redhat.com>
5487 * gdb.base/paginate-execution-startup.c: New file.
5488 * gdb.base/paginate-execution-startup.exp: New file.
5489 * lib/gdb.exp (pagination_prompt): New global.
5490 (default_gdb_spawn): New procedure, factored out from
5492 (default_gdb_start): Adjust to call default_gdb_spawn.
5493 (gdb_spawn): New procedure.
5495 2014-07-14 Pedro Alves <palves@redhat.com>
5497 * lib/gdb.exp (gdb_assert): New procedure.
5498 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5500 2014-07-14 Pedro Alves <palves@redhat.com>
5502 * gdb.base/execution-termios.c: New file.
5503 * gdb.base/execution-termios.exp: New file.
5505 2014-07-14 Tom Tromey <tromey@redhat.com>
5507 * gdb.cp/vla-cxx.cc: New file.
5508 * gdb.cp/vla-cxx.exp: New file.
5510 2014-07-14 Tom Tromey <tromey@redhat.com>
5512 * gdb.reverse/rerun-prec.c: New file.
5513 * gdb.reverse/rerun-prec.exp: New file.
5515 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5516 Maciej W. Rozycki <macro@codesourcery.com>
5518 * lib/gdb-utils.exp: New file.
5519 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5520 inline `gdb_init_command' processing.
5521 (gdb_start_cmd): Likewise.
5522 * lib/mi-support.exp (mi_run_cmd): Likewise.
5523 * README: Document `gdb_init_command' and `gdb_init_commands'.
5525 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5527 Fix false FAIL running under a very long directory name.
5528 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5529 and "set print elements 10000". Twice.
5531 2014-07-11 Yao Qi <yao@codesourcery.com>
5533 * gdb.base/exprs.exp: "set print symbol off".
5535 2014-07-11 Pedro Alves <palves@redhat.com>
5537 * gdb.threads/kill.c: New file.
5538 * gdb.threads/kill.exp: New file.
5540 2014-07-10 Yao Qi <yao@codesourcery.com>
5542 * gdb.trace/tfile.c (write_basic_trace_file)
5543 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5544 address written to trace file.
5546 2014-07-09 Pedro Alves <palves@redhat.com>
5548 * gdb.base/attach-wait-input.exp: New file.
5549 * gdb.base/attach-wait-input.c: New file.
5551 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5553 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5554 setting up test structures.
5555 (main): Call new test function.
5556 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5557 test function, continue into test function and walk test
5560 2014-07-02 Yao Qi <yao@codesourcery.com>
5562 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5563 'bar_start' at the beginning of functions 'foo' and 'bar'
5565 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5566 instead of 'foo' and 'bar'.
5568 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5570 * gdb.btrace/segv.exp: New.
5571 * gdb.btrace/segv.c: New.
5573 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5575 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5578 2014-06-30 Mark Wielaard <mjw@redhat.com>
5580 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5581 vulture, vilify, villar): New volatile array constants.
5582 (vindictive, vegetation): New const volatile array constants.
5583 * gdb.base/volatile.exp: Test volatile and const volatile array
5586 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5589 target lacks support for awatch, rwatch, or hbreak.
5591 2014-06-27 Yao Qi <yao@codesourcery.com>
5593 * gdb.multi/dummy-frame-restore.exp: New.
5594 * gdb.multi/dummy-frame-restore.c: New.
5596 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5598 * gdb.btrace/gcore.exp: New.
5600 2014-06-23 Pedro Alves <palves@redhat.com>
5602 * gdb.base/watchpoint-reuse-slot.c: New file.
5603 * gdb.base/watchpoint-reuse-slot.exp: New file.
5605 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5607 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5608 progspace's filename in 'info', 'enable' and 'disable' command
5611 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5613 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5614 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5615 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5617 2014-06-20 Gary Benson <gbenson@redhat.com>
5619 * gdb.arch/i386-avx.exp: Fix include file location.
5620 * gdb.arch/i386-sse.exp: Likewise.
5622 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5624 * gdb.dlang/expression.exp: New file.
5626 2014-06-19 Pedro Alves <palves@redhat.com>
5628 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5630 (top level): ... here. Iterate running tests under different
5631 scheduler-locking settings.
5633 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5635 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5636 to DW_FORM_addr and use non-zero addresses.
5638 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5641 * gdb.python/py-xmethods.cc: Add global function call counters and
5642 increment them in their respective functions. Remove "cout"
5644 * gdb.python/py-xmethods.exp: Make tests check the global function
5645 call counters instead of depending on inferior IO.
5647 2014-06-18 Don Breazeal <donb@codesourcery.com>
5649 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5651 (explicit_fork_parent_follow): Deleted procedure.
5652 (explicit_fork_child_follow): Deleted procedure.
5653 (test_follow_fork): New procedure.
5654 (do_fork_tests): Replace calls to deleted procedures with
5655 calls to test_follow_fork and reset GDB for subsequent
5658 2014-06-17 Yao Qi <yao@codesourcery.com>
5660 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5663 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5665 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5666 Initialize ptr and S explicitly.
5667 (skip_type_update_when_not_use_rtti_test): Likewise.
5669 2014-06-16 Keith Seitz <keiths@redhat.com>
5672 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5673 the inferior is started.
5675 2014-06-16 Pedro Alves <palves@redhat.com>
5677 * gdb.base/break-main-file-remove-fail.c: New file.
5678 * gdb.base/break-main-file-remove-fail.exp: New file.
5679 * gdb.base/break-unload-file.exp: Use build_executable instead of
5680 prepare_for_testing.
5681 (test_break): New parameter "initial_load". Handle it.
5682 (top level): Add initial_load cmdline/file axis.
5684 2014-06-12 Tom Tromey <tromey@redhat.com>
5686 * gdb.base/completion.exp: Don't use directory name in test.
5688 2014-06-09 Gary Benson <gbenson@redhat.com>
5690 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5691 separate the always-available ANSI-standard signals from the
5692 signals that require checking.
5694 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5698 2014-06-07 Keith Seitz <keiths@redhat.com>
5702 * gdb.cp/var-tag.cc: New file.
5703 * gdb.cp/var-tag.exp: New file.
5704 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5705 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5706 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5707 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5709 2014-06-06 Doug Evans <xdje42@gmail.com>
5711 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5713 2014-06-06 Pedro Alves <palves@redhat.com>
5715 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5716 in target debug output instead of looking at RSP packets,
5717 disabling the test on any target that uses hardware stepping.
5720 2014-06-06 Pedro Alves <palves@redhat.com>
5722 * gdb.base/break-unload-file.exp: Fix typo.
5724 2014-06-06 Yao Qi <yao@codesourcery.com>
5726 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5727 from "jit_function" to "^jit_function".
5729 2014-06-06 Yao Qi <yao@codesourcery.com>
5731 * gdb.base/async.c (foo): Add one statement.
5732 * gdb.base/async.exp: Get the next instruction address and
5733 match the output of "nexti" by instruction address. Match
5734 the hex address in the output of "finish".
5736 2014-06-06 Gary Benson <gbenson@redhat.com>
5738 * gdb.base/call-signals.c: Remove preprocessor conditionals
5739 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5740 SIGSEGV and SIGTERM.
5741 * gdb.base/sigall.c: Likewise.
5742 * gdb.base/unwindonsignal.c: Likewise.
5743 * gdb.reverse/sigall-reverse.c: Likewise.
5745 2014-06-06 Yao Qi <yao@codesourcery.com>
5747 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5748 readable, skip the test.
5750 2014-06-06 Yao Qi <yao@codesourcery.com>
5752 * gdb.threads/staticthreads.c (thread_function): Move the line
5753 setting breakpoint on forward.
5754 * gdb.threads/staticthreads.exp: Update comments.
5756 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
5758 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5759 "history-append! type error".
5761 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5763 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5764 erroneous dprintf expected input.
5766 2014-06-04 Doug Evans <xdje42@gmail.com>
5768 * gdb.guile/scm-generics.exp: Delete.
5770 2014-06-04 Doug Evans <xdje42@gmail.com>
5772 * gdb.guile/scm-breakpoint.exp: Update.
5773 Add tests for breakpoint registration.
5775 2014-06-04 Tom Tromey <tromey@redhat.com>
5777 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5779 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5780 inner_vla_struct, vla_union types. Initialize objects of those
5781 types and compute their sizes.
5783 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5784 Hui Zhu <hui@codesourcery.com>
5786 * gdb.base/fileio.exp: Add test for shell not available as well as
5788 * gdb.base/fileio.c (test_system): Check for shell twice.
5790 2014-06-04 Yao Qi <yao@codesourcery.com>
5792 * gdb.base/auto-connect-native-target.exp: Remove redundant
5793 space from the regexp pattern.
5795 2014-06-04 Yao Qi <yao@codesourcery.com>
5797 * gdb.base/default.exp: Replace "child" with "native" in
5800 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5802 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5803 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5804 * gdb.python/py-xmethods.py: Python script supporting the
5805 new testcase and tests.
5807 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5808 Pedro Alves <palves@redhat.com>
5810 PR breakpoints/17000
5811 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5812 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5814 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5816 * gdb.base/subst.exp: Add tests to verify partial path matching
5819 2014-06-03 Pedro Alves <palves@redhat.com>
5821 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5822 target that doesn't use software single-stepping.
5824 2014-06-03 Pedro Alves <palves@redhat.com>
5826 PR breakpoints/17000
5827 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5828 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5830 2014-06-02 Doug Evans <xdje42@gmail.com>
5832 * gdb.guile/scm-parameter.exp: New file.
5834 2014-06-02 Doug Evans <xdje42@gmail.com>
5836 * gdb.guile/scm-cmd.c: New file.
5837 * gdb.guile/scm-cmd.exp: New file.
5839 2014-06-02 Doug Evans <xdje42@gmail.com>
5841 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5842 pretty-printer lookup.
5843 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5844 (make-pp_s-printer): Call it.
5845 (make-pretty-printer-from-dict): New function.
5846 (lookup-pretty-printer-maker-from-dict): New function.
5847 (*pretty-printer*): Simplify.
5848 (make-objfile-pp_s-printer): New function.
5849 (install-objfile-pretty-printers!): New function.
5850 (make-progspace-pp_s-printer): New function.
5851 (install-progspace-pretty-printers!): New function.
5852 * gdb.guile/scm-progspace.c: New file.
5853 * gdb.guile/scm-progspace.exp: New file.
5855 2014-06-02 Pedro Alves <palves@redhat.com>
5857 * gdb.base/dprintf-bp-same-addr.c: New file.
5858 * gdb.base/dprintf-bp-same-addr.exp: New file.
5860 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5862 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5863 * gdb.arch/powerpc-power.s: Likewise.
5865 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5867 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5869 2014-06-01 Yao Qi <yao@codesourcery.com>
5871 * gdb.base/watchpoint.exp (test_watch_location): Check null
5872 pointer can be dereferenced. If not, do the test, otherwise
5875 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5877 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5879 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5881 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5883 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5884 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5885 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5886 * gdb.arch/amd64-invalid-stack-top.c: New file.
5887 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5889 2014-05-30 Pedro Alves <palves@redhat.com>
5891 PR breakpoints/17000
5892 * gdb.base/sss-bp-on-user-bp.c: New file.
5893 * gdb.base/sss-bp-on-user-bp.exp: New file.
5895 2014-05-30 David Blaikie <dblaikie@gmail.com>
5897 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5898 gnu_inline semantics via attribute.
5899 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5900 source explicitly specifies the required semantics.
5902 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5904 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5906 2014-05-29 Pedro Alves <palves@redhat.com>
5907 Tom Tromey <tromey@redhat.com>
5909 * gdb.base/async-shell.exp: Don't enable target-async.
5910 * gdb.base/async.exp
5911 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5913 (top level): Don't test with "target-async".
5914 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5915 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5916 * gdb.base/inferior-died.exp: Don't enable target-async.
5917 * gdb.base/interrupt-noterm.exp: Likewise.
5918 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5919 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5920 * gdb.mi/mi-nonstop.exp: Likewise.
5921 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5922 * gdb.mi/mi-nsintrall.exp: Likewise.
5923 * gdb.mi/mi-nsmoribund.exp: Likewise.
5924 * gdb.mi/mi-nsthrexec.exp: Likewise.
5925 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5926 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5927 * gdb.python/py-evsignal.exp: Don't enable target-async.
5928 * gdb.python/py-evthreads.exp: Likewise.
5929 * gdb.python/py-prompt.exp: Likewise.
5930 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5931 * gdb.server/solib-list.exp: Don't enable target-async.
5932 * gdb.threads/thread-specific-bp.exp: Likewise.
5933 * lib/mi-support.exp: Adjust to use mi-async.
5935 2014-05-29 Pedro Alves <palves@redhat.com>
5938 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5939 reason, even in sync mode.
5941 2014-05-29 Pedro Alves <palves@redhat.com>
5942 Hui Zhu <hui@codesourcery.com>
5945 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5946 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5947 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5948 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5950 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5952 * config/monitor.exp (gdb_target_monitor): Replace use of
5953 "set remotebaud" by "set serial baud".
5955 2014-05-26 Andy Wingo <wingo@igalia.com>
5957 * gdb.guile/scm-breakpoint.exp:
5958 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5959 properties instead of gdb-object-properties.
5961 2014-05-26 Yao Qi <yao@codesourcery.com>
5963 * gdb.server/no-thread-db.exp: Specify source file name
5964 explicitly when setting a breakpoint.
5966 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5968 * gdb.btrace/vdso.c: New.
5969 * gdb.btrace/vdso.exp: New.
5971 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5973 * gdb.base/gcore.exp (capture_command_output): Move ...
5974 * lib/gdb.exp (capture_command_output): ... here.
5976 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5978 * gdb.btrace/data.exp: Test memory access during btrace replay.
5980 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5982 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5984 2014-05-21 Pedro Alves <palves@redhat.com>
5987 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5988 (top level): Test that output related to execution commands is
5989 sent to the console with CLI commands, but not with MI commands.
5990 Test that breakpoint events are always mirrored to the console.
5991 Also expect the new source line to be output after a "next" in
5992 async mode too. Make it a pass/fail test.
5993 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5995 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5997 2014-05-21 Pedro Alves <palves@redhat.com>
5999 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6000 Use them to test variations of "list" after reaching a breakpoint.
6001 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6002 Test "list" with listsize 10 after reaching a breakpoint.
6003 * gdb.python/python.exp (decode_line current location line
6004 number): Adjust expected line number.
6006 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6008 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6009 behavior for $args, pass it directly to "run".
6011 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6013 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6016 2014-05-21 Pedro Alves <palves@redhat.com>
6018 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6019 auto-connect-native-target off".
6020 * gdb.base/auto-connect-native-target.c: New file.
6021 * gdb.base/auto-connect-native-target.exp: New file.
6023 2014-05-21 Pedro Alves <palves@redhat.com>
6025 * gdb.base/default.exp: Test "target native" instead of "target
6028 2014-05-21 Mark Wielaard <mjw@redhat.com>
6030 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6032 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6034 Fix TLS access for -static -pthread.
6035 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6036 <HAVE_TLS> (thread_function, main): Initialize it.
6037 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6039 <$have_tls != "">: Check TLSVAR.
6041 2014-05-21 Pedro Alves <palves@redhat.com>
6043 * gdb.base/dcache-line-read-error.c: New.
6044 * gdb.base/dcache-line-read-error.exp: New.
6046 2014-05-20 Pedro Alves <palves@redhat.com>
6048 * gdb.base/compare-sections.c: New file.
6049 * gdb.base/compare-sections.exp: New file.
6051 2014-05-20 Pedro Alves <palves@redhat.com>
6053 * gdb.base/break-idempotent.c: New file.
6054 * gdb.base/break-idempotent.exp: New file.
6056 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6058 * gdb.btrace/nohist.exp: New.
6060 2014-05-20 Yao Qi <yao@codesourcery.com>
6062 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6063 gdb.reverse directory and gdb_reverse_timeout exists in board
6065 * README: Document gdb_reverse_timeout.
6067 2014-05-20 Yao Qi <yao@codesourcery.com>
6069 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6070 'test_file_name'. Treat args as a string instead of a list.
6071 (gdb_init): Rename argument 'args' by 'test_file_name'.
6073 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6075 * gdb.arch/powerpc-power.exp: New file.
6076 * gdb.arch/powerpc-power.s: New file.
6078 2014-05-16 Doug Evans <dje@google.com>
6080 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6081 * gdb.base/completion.exp: Check that all expected files exist
6082 before doing file completion.
6084 2014-05-16 Doug Evans <dje@google.com>
6086 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6088 (do_syscall_tests_without_xml): Update.
6090 2014-05-16 Pedro Alves <palves@redhat.com>
6092 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6093 instead of "unknown output after running".
6095 2014-05-16 Yao Qi <yao@codesourcery.com>
6097 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6098 file1.txt from host at the end.
6099 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6101 2014-05-15 Doug Evans <dje@google.com>
6103 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6104 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6105 loading file. Add test for TU lookup.
6107 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6109 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6110 calling "-exec-arguments" or "set args" before running the
6113 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6115 * lib/mi-support.exp (mi_expect_stop): Expect message for
6116 inferiors that exit with non-zero exit code.
6118 2014-05-14 Yao Qi <yao@codesourcery.com>
6120 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6121 match absolute path on remote host.
6122 (test_file_list_exec_source_files): Remove "/" from the
6125 2014-05-14 Yao Qi <yao@codesourcery.com>
6127 * boards/local-remote-host-notty.exp (${board}_file): New
6130 2014-05-07 Kyle McMartin <kyle@redhat.com>
6132 Pushed by Joel Brobecker <brobecker@adacore.com>.
6133 * gdb.arch/aarch64-atomic-inst.c: New file.
6134 * gdb.arch/aarch64-atomic-inst.exp: New file.
6136 2014-05-07 Yao Qi <yao@codesourcery.com>
6138 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6139 in current context" too.
6141 2014-05-05 Keith Seitz <keiths@redhat.com>
6143 * gdb.linespec/ls-dollar.exp: Add test for linespec
6144 file:convenience_variable.
6146 2014-05-05 Yao Qi <yao@codesourcery.com>
6148 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6149 traceframes into tfile and ctf trace files. Read data from
6150 trace file and test collected data.
6151 (gdb_collect_locals_test): Likewise.
6152 (gdb_unavailable_registers_test): Likewise.
6153 (gdb_unavailable_floats): Likewise.
6154 (gdb_collect_globals_test): Likewise.
6155 (top-level): Append "ctf" to trace_file_targets if GDB
6158 2014-05-05 Yao Qi <yao@codesourcery.com>
6160 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6162 (gdb_collect_args_test_1): ... it. New proc.
6163 (gdb_collect_locals_test): Move some code to ...
6164 (gdb_collect_locals_test_1): ... it. New proc.
6165 (gdb_unavailable_registers_test): Move some code to ...
6166 (gdb_unavailable_registers_test_1): ... it. New proc.
6167 (gdb_unavailable_floats): Move some code to ...
6168 (gdb_unavailable_floats_1): ... it. New proc.
6170 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6172 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6173 probes to test for bitness recognition.
6174 * gdb.arch/amd64-stap-optional-prefix.exp
6175 (test_probe_value_without_reg): New procedure.
6176 Add code to test for different kinds of bitness.
6178 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6180 PR breakpoints/16889
6181 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6182 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6184 2014-05-01 Pedro Alves <palves@redhat.com>
6186 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6187 gdb_file_cmd if no file is specified.
6188 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6189 last_loaded_file to set the remote exec-file.
6191 2014-05-01 Pedro Alves <palves@redhat.com>
6193 * boards/local-remote-host.exp: New file.
6195 2014-05-01 Pedro Alves <palves@redhat.com>
6197 * boards/local-remote-host.exp: Rename to ...
6198 * boards/local-remote-host-notty.exp: ... this.
6200 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6202 * gdb.ada/dyn_arrayidx: New testcase.
6204 2014-04-26 Yao Qi <yao@codesourcery.com>
6206 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6207 and compute the length of function main. Save it in
6209 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6210 (top-level): Use gdb_compile to compile objects into
6211 executable and restart GDB. Remove invocation to
6212 prepare_for_testing.
6214 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6215 Pedro Alves <palves@redhat.com>
6218 * gdb.multi/multi-attach.c: New file.
6219 * gdb.multi/multi-attach.exp: New file.
6221 2014-04-25 Pedro Alves <palves@redhat.com>
6223 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6225 (top level): Test that "set remote conditional-breakpoints-packet
6226 off" works as intended.
6227 * gdb.base/dprintf.exp: Test that "set remote
6228 breakpoint-commands-packet off" works as intended.
6229 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6231 (top level): Call it.
6232 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6233 remote fast-tracepoints-packet off" works as intended.
6234 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6235 * lib/gdb.exp (gdb_is_target_remote): ... here.
6237 2014-04-24 David Blaikie <dblaikie@gmail.com>
6239 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6240 ensure clang would not discard them.
6241 * gdb.base/gdbvars.c: Ditto.
6242 * gdb.base/memattr.c: Ditto.
6243 * gdb.base/whatis.c: Ditto.
6244 * gdb.python/py-prettyprint.c: Ditto.
6245 * gdb.trace/actions.c: Ditto.
6246 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6247 ensure clang would not discard it.
6249 2014-04-24 David Blaikie <dblaikie@gmail.com>
6251 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6252 clang to emit the full definition of type required by the test
6253 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6255 2014-04-24 David Blaikie <dblaikie@gmail.com>
6257 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6258 coax Clang into emitting the definition of the type.
6259 * gdb.cp/pr10728-x.h (y): Ditto.
6260 * gdb.cp/pr10728-y.cc (y): Ditto.
6262 2014-04-24 David Blaikie <dblaikie@gmail.com>
6264 * gdb.base/label.exp: XFAIL label related tests under Clang.
6265 * gdb.cp/cplabel.exp: Ditto.
6266 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6267 under Clang those using labels.
6269 2014-04-25 Yao Qi <yao@codesourcery.com>
6271 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6273 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6274 partial_label and double_label.
6276 2014-04-24 David Blaikie <dblaikie@gmail.com>
6278 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6280 2014-04-24 David Blaikie <dblaikie@gmail.com>
6282 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6283 of the function to work across GCC and Clang.
6284 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6285 pointer types (const void ** const V void **).
6287 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6288 Walfred Tedeschi <walfred.tedeschi@intel.com>
6290 * Makefile.in (EXECUTABLES): Added i386-avx512.
6291 * gdb.arch/i386-avx512.c: New file.
6292 * gdb.arch/i386-avx512.exp: Likewise.
6294 2014-04-23 Keith Seitz <keiths@redhat.com>
6296 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6297 (mi_make_breakpoint_table): New procedure.
6298 (mi_create_breakpoint): Use mi_make_breakpoint
6299 and return the result.
6300 (mi_make_breakpoint): New procedure.
6301 (mi_build_kv_pairs): New procedure.
6303 * gdb.mi/mi-break.exp: Remove unused globals,
6304 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6305 All callers updated.
6306 * gdb.mi/mi-dprintf.exp: Use variable to track command
6308 Update all callers of mi_create_breakpoint and use
6309 mi_make_breakpoint_table.
6310 Remove any unused global variables.
6311 * gdb.mi/mi-nonstop.exp: Likewise.
6312 * gdb.mi/mi-nsintrall.exp: Likewise.
6313 * gdb.mi/mi-nsmoribund.exp: Likewise.
6314 * gdb.mi/mi-nsthrexec.exp: Likewise.
6315 * gdb.mi/mi-reverse.exp: Likewise.
6316 * gdb.mi/mi-simplerun.exp: Likewise.
6317 * gdb.mi/mi-stepn.exp: Likewise.
6318 * gdb.mi/mi-syn-frame.exp: Likewise.
6319 * gdb.mi/mi-until.exp: Likewise.
6320 * gdb.mi/mi-var-cp.exp: Likewise.
6321 * gdb.mi/mi-var-display.exp: Likewise.
6322 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6323 * gdb.mi/mi2-var-child.exp: Likewise.
6324 * gdb.mi/mi-vla-c99.exp: Likewise.
6325 * lib/mi-support.exp: Likewise.
6327 From Ian Lance Taylor <iant@cygnus.com>:
6328 * lib/gdb.exp (parse_args): New procedure.
6330 2014-04-23 Pedro Alves <palves@redhat.com>
6332 * gdb.base/break-unload-file.c: New file.
6333 * gdb.base/break-unload-file.exp: New file.
6334 * gdb.base/sym-file-lib.c (baz): New function.
6335 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6337 (load): Store the segment's mapped size.
6338 (unload): New function.
6339 (unload_shlib): New function.
6340 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6341 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6342 set a breakpoint at baz, and call it.
6343 * gdb.base/sym-file.exp: New tests for stale breakpoint
6346 2014-04-23 Pedro Alves <palves@redhat.com>
6348 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6349 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6350 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6351 * gdb.base/hbreak-unmapped.c: New file.
6352 * gdb.base/hbreak-unmapped.exp: New file.
6353 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6354 * lib/gdb.exp (gdb_is_target_remote): ... here.
6356 2014-04-22 Pedro Alves <palves@redhat.com>
6358 * gdb.base/consecutive-step-over.c: New file.
6359 * gdb.base/consecutive-step-over.exp: New file.
6361 2014-04-22 Pedro Alves <palves@redhat.com>
6363 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6364 instead of send_gdb/gdb_expect.
6366 2014-04-22 Yao Qi <yao@codesourcery.com>
6368 * lib/trace-support.exp (generate_tracefile): New procedure.
6369 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6371 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6372 if generate_tracefile returns 1.
6374 2014-04-18 Tom Tromey <palves@redhat.com>
6375 Pedro alves <tromey@redhat.com>
6378 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6379 with a backtrace limit.
6380 * gdb.python/py-frame-inline.exp: Test running to an inline
6381 function with a backtrace limit, and printing the newest frame.
6382 * gdb.python/py-frame-inline.c (main): Call f.
6384 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6386 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6388 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6390 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6391 Drop prefix from unsupported source file path.
6393 2014-04-17 Yao Qi <yao@codesourcery.com>
6395 * lib/gdb.exp (with_target_charset): New proc.
6396 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6397 with_target_charset.
6398 (test_print_strings): Likewise.
6399 (test_repeat_bytes): Likewise.
6400 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6403 2014-04-16 Keith Seitz <keiths@redhat.com>
6406 * gdb.dwarf2/corrupt.c: New file.
6407 * gdb.dwarf2/corrupt.exp: New file.
6409 2014-04-16 Keith Seitz <keiths@redhat.com>
6412 * gdb.cp/namelessclass.cc: New file.
6413 * gdb.cp/namelessclass.exp: New file.
6414 * gdb.cp/namelessclass.S: New file.
6416 2014-04-16 Doug Evans <dje@google.com>
6418 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6420 (gdbserver_default_get_comm_port): New function.
6421 (gdbserver_start): Check if board file provided
6422 "gdbserver,get_comm_port" and use it if so.
6423 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6424 (gdb,socketport): Set to "stdio".
6425 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6426 (stdio_gdbserver_template): Delete.
6427 (${board}_get_remote_address): Update.
6428 (${board}_build_remote_cmd): Delete.
6429 (${board}_get_comm_port): New function.
6430 (${board}_spawn): Update.
6431 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6433 (${board}_get_remote_address): Update.
6434 (${board}_get_comm_port): New function.
6436 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6438 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6439 appearing in any order.
6441 2014-04-15 Doug Evans <dje@google.com>
6443 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6444 uninitialized value of "description".
6446 2014-04-15 Keith Seitz <keiths@redhat.com>
6448 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6449 Remove unused globals.
6450 (test_running_the_program): Likewise.
6451 (test_controlled_execution): Likewise.
6452 (test_controlling_breakpoints): Likewise.
6453 (test_program_termination): Likewise.
6455 2014-04-15 Keith Seitz <keiths@redhat.com>
6457 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6459 (test_rbreak_creation_and_listing): Likewise.
6460 (test_ignore_count): Likewise.
6461 (test_error): Likewise.
6463 2014-04-15 Pedro Alves <palves@redhat.com>
6465 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6466 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6468 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6469 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6470 to sym-file-loader.c.
6471 (struct library): Forward declare.
6472 (load_shlib, lookup_function): Change prototypes.
6473 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6474 (translate_offset): Remove declarations.
6475 (get_text_addr): New declaration.
6476 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6477 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6479 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6480 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6481 here from sym-file-loader.h.
6482 (struct library): New structure.
6483 (load_shlib, lookup_function): Change prototypes and adjust to
6484 work with a struct library.
6485 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6486 (translate_offset): Make static.
6487 (get_text_addr): New function.
6488 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6490 2014-04-15 Pedro Alves <palves@redhat.com>
6492 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6494 2014-04-15 Pedro Alves <palves@redhat.com>
6496 * gdb.base/sym-file-loader.c: Include <limits.h>.
6497 (SELF_LINK): New define.
6498 (get_origin): New function.
6499 (load_shlib): Use it.
6500 * gdb.base/sym-file.exp: Don't early return if the target is
6501 remote. Use runto_main, and issue fail is that fails. Use
6503 (shlib_name): Delete.
6504 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6506 2014-04-15 Pedro Alves <palves@redhat.com>
6508 * gdb.base/sym-file.exp: Remove regex characters from test
6509 message. Don't refer to breakpoint numbers in test messages.
6511 2014-04-14 Keith Seitz <keiths@redhat.com>
6514 * gdb.cp/var-tag.cc: New file.
6515 * gdb.cp/var-tag.exp: New file.
6516 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6517 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6518 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6519 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6521 2014-04-14 Tom Tromey <tromey@redhat.com>
6523 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6524 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6526 * gdb.cp/enum-class.exp: New file.
6527 * gdb.cp/enum-class.cc: New file.
6529 2014-04-14 Tom Tromey <tromey@redhat.com>
6531 * gdb.dwarf2/enum-type.exp: New file.
6533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6535 * gdb.mi/mi-vla-c99.exp: New file.
6536 * gdb.mi/vla.c: New file.
6538 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6540 * gdb.base/vla-datatypes.c: New file.
6541 * gdb.base/vla-datatypes.exp: New file.
6543 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6545 * gdb.base/vla-ptr.c: New file.
6546 * gdb.base/vla-ptr.exp: New file.
6548 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6550 * gdb.dwarf2/count.exp: New file.
6552 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6554 * gdb.base/vla-sideeffect.c: New file.
6555 * gdb.base/vla-sideeffect.exp: New file.
6557 2014-04-14 David Blaikie <dblaikie@gmail.com>
6559 * gdb.mi/non-stop.c: Add return value for non-void function return
6561 * gdb.threads/staticthreads.c: Ditto.
6563 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6564 Doug Evans <xdje42@gmail.com>
6566 * gdb.guile/scm-value.c: Improve test case.
6567 * gdb.guile/scm-value.exp: Add new test.
6569 2014-04-11 David Blaikie <dblaikie@gmail.com>
6571 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6572 override Clang's default.
6574 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6576 Revert the following changes (regressions):
6578 * gdb.base/vla-sideeffect.c: New file.
6579 * gdb.base/vla-sideeffect.exp: New file.
6581 * gdb.dwarf2/count.exp: New file.
6583 * gdb.base/vla-multi.c: New file.
6584 * gdb.base/vla-multi.exp: New file.
6586 * gdb.base/vla-ptr.c: New file.
6587 * gdb.base/vla-ptr.exp: New file.
6589 * gdb.base/vla-datatypes.c: New file.
6590 * gdb.base/vla-datatypes.exp: New file.
6592 * gdb.mi/mi-vla-c99.exp: New file.
6593 * gdb.mi/vla.c: New file.
6595 2014-04-11 Keith Seitz <keiths@redhat.com>
6598 * gdb.cp/cpsizeof.exp: New file.
6599 * gdb.cp/cpsizeof.cc: New file.
6601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6603 * gdb.mi/mi-vla-c99.exp: New file.
6604 * gdb.mi/vla.c: New file.
6606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6608 * gdb.base/vla-datatypes.c: New file.
6609 * gdb.base/vla-datatypes.exp: New file.
6611 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6613 * gdb.base/vla-ptr.c: New file.
6614 * gdb.base/vla-ptr.exp: New file.
6616 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6618 * gdb.base/vla-multi.c: New file.
6619 * gdb.base/vla-multi.exp: New file.
6621 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6623 * gdb.dwarf2/count.exp: New file.
6625 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6627 * gdb.base/vla-sideeffect.c: New file.
6628 * gdb.base/vla-sideeffect.exp: New file.
6630 2014-04-11 Yao Qi <yao@codesourcery.com>
6632 * gdb.base/completion.exp: Check file exists before running tests
6635 2014-04-10 Pedro Alves <palves@redhat.com>
6637 * gdb.base/cond-eval-mode.c: New file.
6638 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6639 prepare_for_testing to build the new file. Check result of
6641 (test_break, test_watch): New procedures.
6642 (top level): Use them.
6644 2014-04-08 Pierre Muller <muller@sourceware.org>
6646 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6647 Ctrl-V use for mingw hosts.
6649 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6651 * gdb.python/py-value.c: Improve test case.
6652 * gdb.python/py-value.exp: Add new test.
6654 2014-04-07 David Blaikie <dblaikie@gmail.com>
6656 * lib/compiler.c: Identify the clang compiler.
6657 * lib/compiler.cc: Ditto.
6659 2014-04-03 Yao Qi <yao@codesourcery.com>
6661 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6663 2014-04-01 Anton Blanchard <anton@samba.org>
6665 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6668 2014-04-01 Anton Blanchard <anton@samba.org>
6670 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6671 prepare_for_testing.
6673 2014-04-01 Anton Blanchard <anton@samba.org>
6675 * gdb.arch/ppc64-atomic-inst.c: Remove.
6676 * gdb.arch/ppc64-atomic-inst.S: New file.
6677 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6679 2014-03-31 Doug Evans <dje@google.com>
6681 * gdb.base/print-symbol-loading-lib.c: New file.
6682 * gdb.base/print-symbol-loading-main.c: New file.
6683 * gdb.base/print-symbol-loading.exp: New file.
6685 2014-03-31 Yao Qi <yao@codesourcery.com>
6687 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6689 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6691 * gdb.ada/mi_dyn_arr: New testcase.
6693 2014-03-27 Doug Evans <dje@google.com>
6695 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6697 2014-03-27 Yao Qi <yao@codesourcery.com>
6699 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6700 if target is nios2-*-*.
6702 2014-03-26 Yao Qi <yao@codesourcery.com>
6704 * lib/gdb.exp (readline_is_used): New proc.
6705 * gdb.base/completion.exp: Move tests on command complete up.
6706 Skip the rest of tests if readline is not used.
6707 * gdb.ada/complete.exp: Skp the test if readline is not
6709 * gdb.base/filesym.exp: Likewise.
6710 * gdb.base/macscp.exp: Likewise.
6711 * gdb.base/readline-ask.exp: Likewise.
6712 * gdb.base/readline.exp: Likewise.
6713 * gdb.python/py-cmd.exp: Likewise.
6714 * gdb.trace/tfile.exp: Likewise.
6716 2014-03-26 Yao Qi <yao@codesourcery.com>
6718 * gdb.base/macscp.exp: Fix code format issues.
6720 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6722 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6723 * gdb.asm/powerpc64le.inc: New file.
6725 2014-03-25 Pedro Alves <palves@redhat.com>
6726 Doug Evans <dje@google.com>
6728 * gdb.base/source-execution.c: New file.
6729 * gdb.base/source-execution.exp: New file.
6730 * gdb.base/source-execution.gdb: New file.
6732 2014-03-24 Doug Evans <dje@google.com>
6734 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6737 2014-03-24 Hui Zhu <hui@codesourcery.com>
6738 Pedro Alves <palves@redhat.com>
6740 PR breakpoints/16101
6741 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6742 test pass/fail messages. Detect missing support for dprintf when
6743 breakpoints are actually inserted.
6744 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6745 breakpoints are actually inserted.
6746 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6749 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6751 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6753 2014-03-22 Doug Evans <xdje42@gmail.com>
6755 * gdb.python/python.exp (python not supported): Verify multi-line
6756 python command issues an error.
6757 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6758 guile command issues an error.
6760 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6762 * gdb.threads/thread-specific.exp: Handle the lack of usable
6763 $this_breakpoint and $this_thread.
6765 2014-03-21 Hui Zhu <hui@codesourcery.com>
6767 * gdb.base/attach.exp (do_command_attach_tests): New.
6769 2014-03-20 Tom Tromey <tromey@redhat.com>
6770 Pedro Alves <palves@redhat.com>
6773 * gdb.base/condbreak-call-false.c: New file.
6774 * gdb.base/condbreak-call-false.exp: New file.
6776 2014-03-20 Pedro Alves <palves@redhat.com>
6778 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6780 (block_signals, unblock_signals): Delete.
6781 (child_function_2, main): Remove references to deleted variable
6784 2014-03-20 Pedro Alves <palves@redhat.com>
6786 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6787 Use pthread_kill to signal thread 2.
6788 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6789 Adjust to make the test send itself a signal rather than using the
6790 host's "kill" command.
6792 2014-03-20 Pedro Alves <palves@redhat.com>
6794 * gdb.threads/multiple-step-overs.c: New file.
6795 * gdb.threads/multiple-step-overs.exp: New file.
6796 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6797 Adjust expected infrun debug output.
6799 2014-03-20 Pedro Alves <palves@redhat.com>
6801 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6802 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6804 2014-03-20 Pedro Alves <palves@redhat.com>
6807 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6808 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6809 of gdb_test_multiple.
6810 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6811 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6813 2014-03-20 Pedro Alves <palves@redhat.com>
6815 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6816 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6818 2014-03-19 Pedro Alves <palves@redhat.com>
6820 * gdb.base/async.exp: Remove early return.
6822 2014-03-19 Pedro Alves <palves@redhat.com>
6824 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6826 2014-03-19 Pedro Alves <palves@redhat.com>
6828 * gdb.base/async.exp (test_background): Expect \r\n after
6829 "completed." in the fail pattern.
6831 2014-03-19 Pedro Alves <palves@redhat.com>
6833 * gdb.base/async.exp (test_background): New procedure.
6834 Use it for all background execution command tests.
6836 2014-03-19 Pedro Alves <palves@redhat.com>
6838 * gdb.base/async.exp: Use prepare_for_testing.
6840 2014-03-19 Pedro Alves <palves@redhat.com>
6842 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6845 2014-03-19 Pedro Alves <palves@redhat.com>
6847 * gdb.base/async.c (main): Add "jump here" and "until here" line
6849 * gdb.base/async.exp (jump_here): New global.
6850 (jump& test): Use it.
6851 (until_here): New global.
6852 (until& test): Use it.
6854 2014-03-19 Pedro Alves <palves@redhat.com>
6856 * gdb.base/async.exp: Don't frob gdb_protocol.
6858 2014-03-18 Doug Evans <xdje42@gmail.com>
6860 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6861 Fix spelling of exec-done-display.
6863 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6866 * gdb.base/gdb-sigterm.c: New file.
6867 * gdb.base/gdb-sigterm.exp: New file.
6869 2014-03-18 Pedro Alves <palves@redhat.com>
6872 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6873 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6876 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6878 * gdb.ada/pckd_arr_ren: New testcase.
6880 2014-03-13 Doug Evans <xdje42@gmail.com>
6883 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6884 collect after discarding symbols.
6886 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
6887 Doug Evans <xdje42@gmail.com>
6889 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6890 to history survives a gc.
6892 2014-03-13 Pedro Alves <palves@redhat.com>
6894 * gdb.base/default.exp: Don't test "target procfs".
6896 2014-03-13 Pedro Alves <palves@redhat.com>
6898 * gdb.base/default.exp: Update "target child" and "target procfs"
6899 tests to not expect "Unix".
6901 2014-03-12 Tom Tromey <tromey@redhat.com>
6903 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6904 New procs. Add target-async tests.
6905 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6906 Add target-async tests.
6908 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6910 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6911 'func_start' and 'func_end' for the beginning and end of the
6912 function code, respectively.
6913 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6914 'func_end' instead of 'func' and 'main'.
6916 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6918 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6919 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6920 generate the debug info assembler source.
6922 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6924 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6925 * gdb.dwarf2/arr-subrange.exp: Likewise.
6926 * gdb.dwarf2/dwz.exp: Likewise.
6927 * gdb.dwarf2/method-ptr.exp: Likewise.
6928 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6929 * gdb.dwarf2/subrange.exp: Likewise.
6930 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6931 * gdb.dwarf2/implptrpiece.exp: Likewise.
6932 * gdb.dwarf2/nostaticblock.exp: Likewise.
6934 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6936 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6937 directory to absolute path name arguments.
6939 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6941 * gdb.ada/tagged_access: New testcase.
6943 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6945 * gdb.btrace/data.exp: Update expected output.
6947 2014-03-06 Yao Qi <yao@codesourcery.com>
6949 * gdb.trace/pr16508.exp: New file.
6951 2014-03-05 Pedro Alves <palves@redhat.com>
6954 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6956 (top level): Adjust to use it. Add tests that exercise breakpoint
6957 interaction with the code-cache.
6959 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
6961 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6962 test for 'history-append!'.
6964 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6966 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6967 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6968 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6969 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6970 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6971 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6973 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6975 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6976 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6977 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6979 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6981 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6983 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6985 * gdb.dwarf2/arr-stride.c: New file.
6986 * gdb.dwarf2/arr-stride.exp: New file.
6988 2014-02-26 Pedro Alves <palves@redhat.com>
6990 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6991 that won't ever trigger. Make sure that GDB reports the correct
6992 breakpoint that caused the stop.
6994 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6997 * gdb.base/auto-load-script: New file.
6998 * gdb.base/auto-load.c: New file.
6999 * gdb.base/auto-load.exp: New file.
7002 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7004 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7006 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7007 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7009 2014-02-24 Doug Evans <dje@google.com>
7011 * lib/gdb.exp (run_on_host): Log error output if program fails.
7013 2014-02-21 Pedro Alves <palves@redhat.com>
7015 * gdb.threads/step-after-sr-lock.c: Rename to ...
7016 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7017 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7018 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7021 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7024 * gdb.arch/amd64-stap-special-operands.exp: New file.
7025 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7026 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7027 * gdb.arch/amd64-stap-triplet.S: Likewise.
7028 * gdb.arch/amd64-stap-triplet.c: Likewise.
7030 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7032 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7033 in .section pseudo-op.
7035 2014-02-20 lin zuojian <manjian2006@gmail.com>
7036 Joel Brobecker <brobecker@adacore.com>
7037 Doug Evans <xdje42@gmail.com>
7040 * gdb.dwarf2/dw2-icycle.S: New file.
7041 * gdb.dwarf2/dw2-icycle.c: New file.
7042 * gdb.dwarf2/dw2-icycle.exp: New file.
7044 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7046 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7047 operations on gdb.Value objects.
7048 * gdb.python/py-value-cc.exp: Add new test to test operations on
7051 2014-02-18 Doug Evans <dje@google.com>
7053 * Makefile.in (TESTS): New variable.
7054 (expanded_tests, expanded_tests_or_none): New variables
7055 (check-single): Pass $(expanded_tests_or_none) to runtest.
7056 (check-parallel): Only run tests in $(TESTS) if non-empty.
7057 (check/no-matching-tests-found): New rule.
7058 * README: Document TESTS makefile variable.
7060 2014-02-18 Doug Evans <dje@google.com>
7062 * Makefile.in (check-parallel): rm -rf outputs temp.
7064 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7066 Fix "ERROR: no fileid for" in the testsuite.
7067 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7069 2014-02-12 Doug Evans <dje@google.com>
7071 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7072 (MISCELLANEOUS): New variable.
7073 (clean): rm -rf $(MISCELLANEOUS).
7074 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7075 dwp live in the same directory as symlinks, with each symlink pointed
7076 to a differently named file in a different directory.
7078 2014-02-11 Doug Evans <dje@google.com>
7080 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7081 of Tcl file commands.
7083 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7085 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7088 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7090 * gdb.ada/tick_length_array_enum_idx: New testcase.
7092 2014-02-10 Doug Evans <xdje42@gmail.com>
7094 * configure.ac (AC_OUTPUT): Add gdb.guile.
7095 * configure: Regenerate.
7096 * lib/gdb-guile.exp: New file.
7097 * lib/gdb.exp (get_target_charset): New function.
7098 * gdb.base/help.exp: Update expected output from "apropos apropos".
7099 * gdb.guile/Makefile.in: New file.
7100 * gdb.guile/guile.exp: New file.
7101 * gdb.guile/scm-arch.c: New file.
7102 * gdb.guile/scm-arch.exp: New file.
7103 * gdb.guile/scm-block.c: New file.
7104 * gdb.guile/scm-block.exp: New file.
7105 * gdb.guile/scm-breakpoint.c: New file.
7106 * gdb.guile/scm-breakpoint.exp: New file.
7107 * gdb.guile/scm-disasm.c: New file.
7108 * gdb.guile/scm-disasm.exp: New file.
7109 * gdb.guile/scm-equal.c: New file.
7110 * gdb.guile/scm-equal.exp: New file.
7111 * gdb.guile/scm-error.exp: New file.
7112 * gdb.guile/scm-error.scm: New file.
7113 * gdb.guile/scm-frame-args.c: New file.
7114 * gdb.guile/scm-frame-args.exp: New file.
7115 * gdb.guile/scm-frame-args.scm: New file.
7116 * gdb.guile/scm-frame-inline.c: New file.
7117 * gdb.guile/scm-frame-inline.exp: New file.
7118 * gdb.guile/scm-frame.c: New file.
7119 * gdb.guile/scm-frame.exp: New file.
7120 * gdb.guile/scm-generics.exp: New file.
7121 * gdb.guile/scm-gsmob.exp: New file.
7122 * gdb.guile/scm-iterator.c: New file.
7123 * gdb.guile/scm-iterator.exp: New file.
7124 * gdb.guile/scm-math.c: New file.
7125 * gdb.guile/scm-math.exp: New file.
7126 * gdb.guile/scm-objfile-script-gdb.in: New file.
7127 * gdb.guile/scm-objfile-script.c: New file.
7128 * gdb.guile/scm-objfile-script.exp: New file.
7129 * gdb.guile/scm-objfile.c: New file.
7130 * gdb.guile/scm-objfile.exp: New file.
7131 * gdb.guile/scm-ports.exp: New file.
7132 * gdb.guile/scm-pretty-print.c: New file.
7133 * gdb.guile/scm-pretty-print.exp: New file.
7134 * gdb.guile/scm-pretty-print.scm: New file.
7135 * gdb.guile/scm-section-script.c: New file.
7136 * gdb.guile/scm-section-script.exp: New file.
7137 * gdb.guile/scm-section-script.scm: New file.
7138 * gdb.guile/scm-symbol.c: New file.
7139 * gdb.guile/scm-symbol.exp: New file.
7140 * gdb.guile/scm-symtab-2.c: New file.
7141 * gdb.guile/scm-symtab.c: New file.
7142 * gdb.guile/scm-symtab.exp: New file.
7143 * gdb.guile/scm-type.c: New file.
7144 * gdb.guile/scm-type.exp: New file.
7145 * gdb.guile/scm-value-cc.cc: New file.
7146 * gdb.guile/scm-value-cc.exp: New file.
7147 * gdb.guile/scm-value.c: New file.
7148 * gdb.guile/scm-value.exp: New file.
7149 * gdb.guile/source2.scm: New file.
7150 * gdb.guile/types-module.cc: New file.
7151 * gdb.guile/types-module.exp: New file.
7153 2014-02-10 Yao Qi <yao@codesourcery.com>
7156 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7157 * configure: Regenerated.
7158 * Makefile.in: New file.
7160 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7162 * gdb.python/py-framefilter.exp: Fix typo.
7164 2014-02-08 Yao Qi <yao@codesourcery.com>
7166 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7167 that no =breakpoint-modified is emitted when breakpoints are
7168 modified through MI commands.
7170 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7171 Pedro Alves <palves@redhat.com>
7173 * gdb.threads/step-after-sr-lock.c: New file.
7174 * gdb.threads/step-after-sr-lock.exp: New file.
7176 2014-02-07 Pedro Alves <palves@redhat.com>
7178 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7180 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7182 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7183 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7185 2014-02-06 Doug Evans <xdje42@gmail.com>
7187 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7190 * gdb.gdb/python-interrupts.exp: New file.
7192 2014-02-05 Yao Qi <yao@codesourcery.com>
7194 * gdb.trace/report.exp (use_collected_data): Test the output
7195 of "info threads" and "info inferiors".
7197 2014-02-05 Yao Qi <yao@codesourcery.com>
7201 2013-05-24 Yao Qi <yao@codesourcery.com>
7203 * gdb.trace/tfile.exp: Test inferior and thread.
7205 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7207 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7209 * gdb.base/step-bt.c: Call hello via function pointer to make
7210 sure its first instruction is executed on powerpc64le-linux.
7212 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7214 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7216 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7218 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7219 of the test patterns for use on little-endian systems.
7221 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7223 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7224 (decimal_vector): Fix for little-endian.
7226 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7228 * gdb.arch/sparc-sysstep.exp: New file.
7229 * gdb.arch/sparc-sysstep.c: Likewise.
7231 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7233 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7235 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7237 2014-01-23 Tom Tromey <tromey@redhat.com>
7239 * gdb.ada/array_char_idx: New testcase.
7241 2014-01-23 Tom Tromey <tromey@redhat.com>
7244 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7245 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7248 2014-01-23 Tom Tromey <tromey@redhat.com>
7251 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7252 string from an inferior frame.
7253 * gdb.python/py-framefilter-mi.exp: Update.
7255 2014-01-22 Doug Evans <dje@google.com>
7257 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7259 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7261 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7263 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7265 * gdb.trace/entry-values.exp: Remove excess space character from
7266 regex patterns. Handle s390 call instruction.
7268 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7270 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7271 define "*_start" label. Make "name" static.
7272 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7273 ${name} by references to ${name}_start.
7275 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7277 * gdb.base/info-macros.exp: Remove "debug" from the compile
7280 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7282 * gdb.dlang/demangle.exp: New file.
7284 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7286 * gdb.dlang/primitive-types.exp: New file.
7288 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7290 * configure.ac: Create gdb.dlang/Makefile.
7291 * configure: Regenerate.
7292 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7293 * gdb.dlang/Makefile.in: New file.
7294 * lib/d-support.exp: New file.
7295 * lib/gdb.exp (skip_d_tests): New proc.
7297 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7299 * gdb.btrace/delta.exp: Check reverse stepi.
7300 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7301 * gdb.btrace/finish.exp: New.
7302 * gdb.btrace/next.exp: New.
7303 * gdb.btrace/nexti.exp: New.
7304 * gdb.btrace/record_goto.c: Add comments.
7305 * gdb.btrace/step.exp: New.
7306 * gdb.btrace/stepi.exp: New.
7307 * gdb.btrace/multi-thread-step.c: New.
7308 * gdb.btrace/multi-thread-step.exp: New.
7309 * gdb.btrace/rn-dl-bind.c: New.
7310 * gdb.btrace/rn-dl-bind.exp: New.
7311 * gdb.btrace/data.c: New.
7312 * gdb.btrace/data.exp: New.
7313 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7317 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7318 * gdb.btrace/exception.exp: Update.
7319 * gdb.btrace/instruction_history.exp: Update.
7320 * gdb.btrace/record_goto.exp: Update.
7321 * gdb.btrace/tailcall.exp: Update.
7322 * gdb.btrace/unknown_functions.exp: Update.
7323 * gdb.btrace/delta.exp: New.
7325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7327 * gdb.btrace/record_goto.exp: Add backtrace test.
7328 * gdb.btrace/tailcall.exp: Add backtrace test.
7330 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7332 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7333 * gdb.btrace/record_goto.c: New.
7334 * gdb.btrace/record_goto.exp: New.
7335 * gdb.btrace/x86-record_goto.S: New.
7337 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7339 * gdb.btrace/function_call_history.exp: Update tests.
7340 * gdb.btrace/instruction_history.exp: Update tests.
7342 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7344 * gdb.btrace/function_call_history.exp: Fix expected field
7345 order for "record function-call-history".
7346 Add new tests for "record function-call-history /c".
7347 * gdb.btrace/exception.cc: New.
7348 * gdb.btrace/exception.exp: New.
7349 * gdb.btrace/tailcall.exp: New.
7350 * gdb.btrace/x86-tailcall.S: New.
7351 * gdb.btrace/x86-tailcall.c: New.
7352 * gdb.btrace/unknown_functions.c: New.
7353 * gdb.btrace/unknown_functions.exp: New.
7354 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7358 * gdb.btrace/instruction_history.exp: Update.
7359 * gdb.btrace/function_call_history.exp: Update.
7361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7363 * gdb.btrace/function_call_history.exp: Fix expected function
7365 * gdb.btrace/instruction_history.exp: Initialize traced.
7366 Remove traced_functions.
7368 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7370 * gdb.btrace/function_call_history.exp: Update
7371 * gdb.btrace/instruction_history.exp: Update.
7373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7375 * gdb.btrace/enable.exp: Update expected text.
7377 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7379 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7382 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7384 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7386 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7388 * lib/gdb.exp (supports_process_record): Return true for
7389 arm*-linux*. (supports_reverse): Likewise.
7391 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7395 * gdb.python/py-type.c: Enhance test case.
7396 * gdb.python/py-value-cc.cc: Likewise
7397 * gdb.python/py-type.exp: Add new tests.
7398 * gdb.python/py-value-cc.exp: Likewise
7400 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7401 Pedro Alves <palves@redhat.com>
7403 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7405 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7406 references to ${name}_start by references to ${name}.
7408 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7410 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7412 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7414 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7416 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7417 Pedro Alves <palves@redhat.com>
7419 * gdb.mi/mi-info-os.exp: Connect to the target with
7422 2014-01-08 Pedro Alves <palves@redhat.com>
7424 * gdb.threads/reconnect-signal.c: New file.
7425 * gdb.threads/reconnect-signal.exp: New file.
7427 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7429 * gdb.base/source-dir.exp: New file.
7431 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7433 * gdb.ada/mi_interface: New testcase.
7435 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7437 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7438 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7439 gdb.ada/pp-rec-component/pck.ads: New files.
7441 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7443 * gdb.python/py-pp-integral.c: New file.
7444 * gdb.python/py-pp-integral.py: New file.
7445 * gdb.python/py-pp-integral.exp: New file.
7447 For older changes see ChangeLog-1993-2013.
7453 ;; version-control: never
7456 Copyright 2014-2016 Free Software Foundation, Inc.
7457 Copying and distribution of this file, with or without modification,
7458 are permitted provided the copyright notice and this notice are preserved.